diff options
author | Alan Modra <amodra@gmail.com> | 2003-07-10 00:38:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-07-10 00:38:19 +0000 |
commit | 68f8ff14d1fb0bd1254ca950188a8aadc8104de4 (patch) | |
tree | f722d16b601da9b59743731ba88d35e527f12cb3 /ld/emulparams | |
parent | e717da7ead54704139ab3c160e95ed3db479d871 (diff) | |
download | gdb-68f8ff14d1fb0bd1254ca950188a8aadc8104de4.zip gdb-68f8ff14d1fb0bd1254ca950188a8aadc8104de4.tar.gz gdb-68f8ff14d1fb0bd1254ca950188a8aadc8104de4.tar.bz2 |
* emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
(GOT): Define.
* emultempl/ppc64elf.em (stub_added): New static var.
(ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
(ppc_add_stub_section): Set stub_added.
(gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
ppc64_elf_size_stubs call and test for stubs.
* scripttempl/elf.sc (GOT): Define and use.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf64ppc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emulparams/elf64ppc.sh b/ld/emulparams/elf64ppc.sh index 5f812f6..e1d9e1d 100644 --- a/ld/emulparams/elf64ppc.sh +++ b/ld/emulparams/elf64ppc.sh @@ -18,8 +18,8 @@ OTHER_BSS_SYMBOLS=" .tocbss ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}" OTHER_PLT_RELOC_SECTIONS=" .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" -OTHER_GOT_SECTIONS=" - .toc ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc) }" +GOT=" + .got ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.got .toc) }" OTHER_GOT_RELOC_SECTIONS=" .rela.toc ${RELOCATING-0} : { *(.rela.toc) }" OTHER_READWRITE_SECTIONS=" |