* scripttempt/elf.sc (.bss): Align tail in a way that allows

empty section pruning.
This commit is contained in:
Alan Modra 2005-06-10 00:39:56 +00:00
parent bce2b7d072
commit 9d12f64cdc
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* configure.in (AM_BINUTILS_WARNINGS): Add.

View File

@ -398,7 +398,7 @@ cat <<EOF
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the
.bss section disappears because there are no input sections. */
${RELOCATING+. = ALIGN(${ALIGNMENT});}
${RELOCATING+. = ALIGN(. != 0 ? ${ALIGNMENT} : 1);}
}
${OTHER_BSS_SECTIONS}
${RELOCATING+. = ALIGN(${ALIGNMENT});}