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

--- Comment #5 from Stas Sergeev <stsp at users dot sourceforge.net> ---
(In reply to Cary Coutant from comment #3)
> The bottom line is that I don't have a good idea for how to fix this to
> match the Gnu ld documentation without breaking something.
You had to add an option for enabling the gold-specific
extensions. Maybe its still not too late? Who knows...

> What's difficult about adding the "0x" so that it works with both linkers?
It doesn't. Even adding 0x doesn't help because -Ttext
in gold means something completely different than in bfd.
What works in all cases is only
--section-start=.text=0xaddr

Its not something that can't be done.
But you must be aware that gold being used as a drop-in
replacement for ld.bfd results in a broken builds.
It also appears to me that gold doesn't search /usr/local/lib
by default, so even many autoconf scripts fail.

-- 
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