ld: Constants

1 
1 3.10.1 Constants
1 ----------------
1 
1 All constants are integers.
1 
1    As in C, the linker considers an integer beginning with '0' to be
1 octal, and an integer beginning with '0x' or '0X' to be hexadecimal.
1 Alternatively the linker accepts suffixes of 'h' or 'H' for hexadecimal,
1 'o' or 'O' for octal, 'b' or 'B' for binary and 'd' or 'D' for decimal.
1 Any integer value without a prefix or a suffix is considered to be
1 decimal.
1 
1    In addition, you can use the suffixes 'K' and 'M' to scale a constant
1 by '1024' or '1024*1024' respectively.  For example, the following all
1 refer to the same quantity:
1 
1      _fourk_1 = 4K;
1      _fourk_2 = 4096;
1      _fourk_3 = 0x1000;
1      _fourk_4 = 10000o;
1 
1    Note - the 'K' and 'M' suffixes cannot be used in conjunction with
1 the base suffixes mentioned above.
1