ld uses builtin default despite -Ttext-segment=ORG
John Reiser
jreiser@bitwagon.com
Mon May 24 15:17:00 GMT 2010
ld from binutils-2.20.1 fails to honor -Ttext-segment=ORG
when processing 64-bit binaries on a 32-bit host. Instead
the text segment gets its address PT_LOAD.p_vaddr from the
default builtin linker script, ignoring the comandline parameter.
The bug, including a short testcase, is:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=11628
I'd like to get this fixed, am diving in to investigate,
and probably will discover where the commandline value
was overwritten or ignored. But that might not give a good clue
about the proper fix. Maintainers please comment. Thank you.
--
More information about the Binutils
mailing list