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

--- Comment #3 from Cary Coutant <ccoutant at gmail dot com> ---
We've discussed fixing this before, but we now have legacy scripts that invoke
gold with decimal values, and changing it would break them. We could certainly
peek at the number and treat it as hex if it has any A-F digits, but that still
wouldn't catch options like -Ttext=10000. We could further favor hex over
decimal unless it looks like a power of two when treated as decimal (or an
integer multiple of some large power of two), but that's straying into
dangerously unpredictable territory.

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.

What's difficult about adding the "0x" so that it works with both linkers?

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