Correct .dynbss in script

The only target that renames .bss is tic6x, turning .bss into .far,
and .sbss into .bss.  .dynbss is not renamed to .dynfar by BFD.

	* scripttempl/elf.sc: Don't use $BSS_NAME in .dynbss.
This commit is contained in:
Alan Modra 2016-12-26 09:40:58 +10:30
parent 3bdb50600c
commit 09a1b0e943
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2016-12-26 Alan Modra <amodra@gmail.com>
* scripttempl/elf.sc: Don't use $BSS_NAME in .dynbss.
2016-12-23 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.

View file

@ -620,7 +620,7 @@ cat <<EOF
${BSS_PLT+${PLT}}
.${BSS_NAME} ${RELOCATING-0} :
{
*(.dyn${BSS_NAME})
${RELOCATING+*(.dynbss)}
*(.${BSS_NAME}${RELOCATING+ .${BSS_NAME}.* .gnu.linkonce.b.*})
*(COMMON)
/* Align here to ensure that the .bss section occupies space up to