[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x
From: |
ccoutant at gmail dot com |
Subject: |
[Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss |
Date: |
Fri, 28 Aug 2015 03:25:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=14187
--- Comment #12 from Cary Coutant <ccoutant at gmail dot com> ---
> sure, it was first released in binutils-2.19 which was ~Oct 2008 (3 years
> before the grub report), but i don't think people generally started using it
> until later: it required distros to update, and i think we can agree that it
> was another release or two before it could be used as more of a drop in vs
> project specific one-offs.
> Gentoo: May 2009
> Fedora: Nov 2009 (F13)
>
> i don't have an opinion on the various behaviors of -T, but i think the
> number parsing should be the same, and gold should be the one to change
> (even though it kind of sucks). accepting addresses in decimal is just
> weird tbh.
If I remember correctly, there were some legacy uses of gold within Google
that used decimal parameters; those are the users I was concerned about.
Maybe accepting addresses in decimal is weird, but I think it's weirder
that only a few options default to hex. For example, -z max-page-size,
-z stack-size, --image-base (PE) take a (default) decimal value.
These options also don't seem to have a way to specify decimal or octal.
That makes them inconsistent with all other ld options that take a value.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, stsp at users dot sourceforge.net, 2015/08/24
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, ccoutant at gmail dot com, 2015/08/25
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, vapier at gentoo dot org, 2015/08/25
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, stsp at users dot sourceforge.net, 2015/08/26
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, ian at airs dot com, 2015/08/26
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, stsp at users dot sourceforge.net, 2015/08/26
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, vapier at gentoo dot org, 2015/08/26
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, ian at airs dot com, 2015/08/26
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, vapier at gentoo dot org, 2015/08/27
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, ccoutant at gmail dot com, 2015/08/27
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss,
ccoutant at gmail dot com <=
- [Bug gold/14187] gold incorrectly requires hexadecimals to start with 0x with -Ttext/-Tdata/-Tbss, stsp at users dot sourceforge.net, 2015/08/28