diff options
author | Alan Modra <amodra@gmail.com> | 2005-11-18 04:26:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-11-18 04:26:29 +0000 |
commit | e87deb82ccfa7e978dbbeaa28a503e5474520f0c (patch) | |
tree | e28645ccbc5e8c9819b9aa88f0311ee46ea1d97c /ld | |
parent | 94b50910fb44b8b019b32dba42a22ff2f8fcf6be (diff) | |
download | gdb-e87deb82ccfa7e978dbbeaa28a503e5474520f0c.zip gdb-e87deb82ccfa7e978dbbeaa28a503e5474520f0c.tar.gz gdb-e87deb82ccfa7e978dbbeaa28a503e5474520f0c.tar.bz2 |
* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
(.got, .toc1, .opd): Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emulparams/elf64ppc.sh | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 685bbf3..8a31f7c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2005-11-18 Alan Modra <amodra@bigpond.net.au> + * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. + (.got, .toc1, .opd): Likewise. + +2005-11-18 Alan Modra <amodra@bigpond.net.au> + * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional changes to section alignment. * ldmisc.c (vfinfo): Handle %ld and %lu. diff --git a/ld/emulparams/elf64ppc.sh b/ld/emulparams/elf64ppc.sh index c190b18..8285723 100644 --- a/ld/emulparams/elf64ppc.sh +++ b/ld/emulparams/elf64ppc.sh @@ -15,13 +15,13 @@ NOP=0x60000000 OTHER_TEXT_SECTIONS="*(.sfpr .glink)" BSS_PLT= OTHER_BSS_SYMBOLS=" - .tocbss ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}" + .tocbss ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}" OTHER_PLT_RELOC_SECTIONS=" .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" if test x${RELOCATING+set} = xset; then GOT=" - .got ALIGN(8) : { *(.got .toc) }" + .got : ALIGN(8) { *(.got .toc) }" else GOT=" .got 0 : { *(.got) } @@ -30,8 +30,8 @@ fi OTHER_GOT_RELOC_SECTIONS=" .rela.toc ${RELOCATING-0} : { *(.rela.toc) }" OTHER_READWRITE_SECTIONS=" - .toc1 ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) } - .opd ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { KEEP (*(.opd)) }" + .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) } + .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }" # Treat a host that matches the target with the possible exception of "64" # in the name as if it were native. |