[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/9797] Simple linker script casues spurious error message
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/9797] Simple linker script casues spurious error message |
Date: |
3 Feb 2009 16:01:06 -0000 |
------- Additional Comments From nickc at redhat dot com 2009-02-03 16:01
-------
Hi Rich,
I think that a slightly more extensive rewording is needed. With the uploaded
patch the text in the 'Constants' section of the linker manual now reads:
"As in C, the linker considers an integer beginning with `0' to be
octal, and an integer beginning with `0x' or `0X' to be hexadecimal.
Alternatively the linker accepts suffixes of `h' or `H' for
hexadeciaml, `o' or `O' for octal, `b' or `B' for binary and `d' or `D'
for decimal. Any integer value without a prefix or a suffix is
considered to be decimal.
In addition, you can use the suffixes `K' and `M' to scale a
constant by `1024' or `1024*1024' respectively. For example, the
following all refer to the same quantity:
_fourk_1 = 4K;
_fourk_2 = 4096;
_fourk_3 = 0x1000;
_fourk_4 = 10000o;
Note - the `K' and `M' suffixes cannot be used in conjunction with
the base suffixes mentioned above."
Are you happy with this ?
Cheers
Nick
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=9797
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.