* scripttempt/elf.sc (.bss): Align tail in a way that allows
empty section pruning.
This commit is contained in:
parent
bce2b7d072
commit
9d12f64cdc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-06-10 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* scripttempt/elf.sc (.bss): Align tail in a way that allows
|
||||||
|
empty section pruning.
|
||||||
|
|
||||||
2005-06-09 Steve Ellcey <sje@cup.hp.com>
|
2005-06-09 Steve Ellcey <sje@cup.hp.com>
|
||||||
|
|
||||||
* configure.in (AM_BINUTILS_WARNINGS): Add.
|
* configure.in (AM_BINUTILS_WARNINGS): Add.
|
||||||
|
|
|
@ -398,7 +398,7 @@ cat <<EOF
|
||||||
/* Align here to ensure that the .bss section occupies space up to
|
/* Align here to ensure that the .bss section occupies space up to
|
||||||
_end. Align after .bss to ensure correct alignment even if the
|
_end. Align after .bss to ensure correct alignment even if the
|
||||||
.bss section disappears because there are no input sections. */
|
.bss section disappears because there are no input sections. */
|
||||||
${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
${RELOCATING+. = ALIGN(. != 0 ? ${ALIGNMENT} : 1);}
|
||||||
}
|
}
|
||||||
${OTHER_BSS_SECTIONS}
|
${OTHER_BSS_SECTIONS}
|
||||||
${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
||||||
|
|
Loading…
Reference in a new issue