Re 

Not a bug.  objcopy -O binary on a relocatable file loses the relocs.
X86_64 uses rela style relocs where the addend is in the reloc, x86
uses rel where the addend is in the section.  So in the latter case
you get the "+4" from .text+4, in the former you don't.

Phew!
Thanks very much Alan!

Does anyone know what I should use instead of 
"objcopy -O binary a.out a.com"
to stop losing the relocs?



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to