https://sourceware.org/bugzilla/show_bug.cgi?id=14187

--- Comment #6 from Ian Lance Taylor <ian at airs dot com> ---
The difference in -Ttext behaviour between gold and GNU ld is intentional.  The
-Ttext option in GNU ld is nearly meaningless when using ELF.  Gold's -Ttext
option corresponds to GNU ld's -Ttext-segment option.  The difference in
accepted numbers is not.  For some reason nobody ever noticed that ld defaults
to hex and gold defaults to decimal.

Yes, this means that gold is not a drop-in linker replacement for all uses. 
That is true for several reasons.

As far as I can tell GNU ld does not search /usr/local/lib either, unless
configured with a special --with-lib-path option.  In any case, that should be
a different bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

Reply via email to