On Thu, Jan 07, 2010 at 08:01:12PM +0000, me wrote: > As such I can't help feeling that all addresses should be based on the > presumption that the start of the file is address 0.
Addresses usually don't start at zero. The start is set by your linker script, which you can see by adding --verbose to the ld command line. You can set the start to zero by adding -Ttext=0 or -Ttext-segment=0 to the linker command line (depending on version of ld). -- Alan Modra Australia Development Lab, IBM _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils