diff options
Diffstat (limited to 'ld/ld.texi')
-rw-r--r-- | ld/ld.texi | 62 |
1 files changed, 23 insertions, 39 deletions
@@ -3571,11 +3571,6 @@ can be used to insert a zero value for the timestamp, this ensuring that binaries produced from identical sources will compare identically. -If @option{--insert-timestamp} is active then the time inserted is -either the time that the linking takes place or, if the -@code{SOURCE_DATE_EPOCH} environment variable is defined, the number -of seconds since Unix epoch as specified by that variable. - @kindex --enable-reloc-section @item --enable-reloc-section @itemx --disable-reloc-section @@ -6823,21 +6818,19 @@ the standard bindings and precedence levels: @ifnottex @c END TEXI2ROFF-KILL @smallexample -precedence associativity Operators Notes +precedence associativity Operators Notes (highest) -1 left ! - ~ (1) +1 left ! - ~ (1) 2 left * / % 3 left + - 4 left >> << -5 left > < <= >= -6 left == != -7 left & -8 left ^ -9 left | -10 left && -11 left || -12 right ? : -13 right += -= *= /= <<= >>= &= |= ^= (2) +5 left == != > < <= >= +6 left & +7 left | +8 left && +9 left || +10 right ? : +11 right &= += -= *= /= (2) (lowest) @end smallexample Notes: @@ -6863,15 +6856,13 @@ height2pt&\omit&&\omit&&\omit&\cr &2&&left&&* / \%&\cr &3&&left&&+ -&\cr &4&&left&&>> <<&\cr -&5&&left&& > < <= >=&\cr -&6&&left&&== !=&\cr -&7&&left&&\&&\cr -&8&&left&&\^{}&\cr -&9&&left&&|&\cr -&10&&left&&{\&\&}&\cr -&11&&left&&||&\cr -&12&&right&&? :&\cr -&13&&right&&\qquad += -= *= /= <<= >>= \&= |= \^{}=\qquad\ddag&\cr +&5&&left&&== != > < <= >=&\cr +&6&&left&&\&&\cr +&7&&left&&|&\cr +&8&&left&&{\&\&}&\cr +&9&&left&&||&\cr +&10&&right&&? :&\cr +&11&&right&&\qquad\&= += -= *= /=\qquad\ddag&\cr &lowest&&&&&\cr height2pt&\omit&&\omit&&\omit&\cr} \hrule} @@ -7119,13 +7110,10 @@ The builtin function @code{NEXT} is closely related to @code{ALIGN}. @kindex ALIGNOF(@var{section}) @cindex section alignment Return the alignment in bytes of the named @var{section}, if that section has -been allocated, or zero if the section has not been allocated. If the -section does not exist in the linker script the linker will report an -error. If @var{section} is @code{NEXT_SECTION} then @code{ALIGNOF} will -return the alignment of the next allocated section specified in the -linker script, or zero if there is no such section. In the following -example, the alignment of the @code{.output} section is stored as the -first value in that section. +been allocated. If the section has not been allocated when this is +evaluated, the linker will report an error. In the following example, +the alignment of the @code{.output} section is stored as the first +value in that section. @smallexample @group SECTIONS@{ @dots{} @@ -7274,13 +7262,9 @@ name. @kindex SIZEOF(@var{section}) @cindex section size Return the size in bytes of the named @var{section}, if that section has -been allocated, or zero if the section has not been allocated. If the -section does not exist in the linker script the linker will report an -error. If @var{section} is @code{NEXT_SECTION} then @code{SIZEOF} will -return the alignment of the next allocated section specified in the -linker script, or zero if there is no such section. In the following -example, @code{symbol_1} and @code{symbol_2} are assigned identical -values: +been allocated. If the section has not been allocated when this is +evaluated, the linker will report an error. In the following example, +@code{symbol_1} and @code{symbol_2} are assigned identical values: @smallexample @group SECTIONS@{ @dots{} |