diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-09 03:14:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-09 03:14:12 +0000 |
commit | ccfa59eaa0952fc0b0476fd3ab2e9e0ccd4c799e (patch) | |
tree | 6c0fd787b2ef898e452318f07d4cf7f36b0ef8c7 /ld | |
parent | f2420beaba740ef570477bd4c95739fd30978aee (diff) | |
download | gdb-ccfa59eaa0952fc0b0476fd3ab2e9e0ccd4c799e.zip gdb-ccfa59eaa0952fc0b0476fd3ab2e9e0ccd4c799e.tar.gz gdb-ccfa59eaa0952fc0b0476fd3ab2e9e0ccd4c799e.tar.bz2 |
bfd/
* elf-bfd.h (_bfd_elf_gc_mark): Declare.
* elflink.c (elf_link_input_bfd): Formatting.
(_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust
all callers.
* elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry.
(link_hash_newfunc): Don't set it.
(ppc64_elf_copy_indirect_symbol): Nor copy it.
(ppc64_elf_mark_entry_syms): Delete.
(ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd
sections. Use get_opd_info.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete.
ld/
* emultempl/ppc64elf.em (ppc_after_open): Delete.
(LDEMUL_AFTER_OPEN): Don't define.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/ppc64elf.em | 13 |
2 files changed, 5 insertions, 13 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 64fb113..f1f45d8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_after_open): Delete. + (LDEMUL_AFTER_OPEN): Don't define. + 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 6a60f0c..3ddf941 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -85,18 +85,6 @@ ppc_create_output_section_statements (void) } static void -ppc_after_open (void) -{ - if (!ppc64_elf_mark_entry_syms (&link_info)) - { - einfo ("%X%P: can not mark entry symbols %E\n"); - return; - } - - gld${EMULATION_NAME}_after_open (); -} - -static void ppc_before_allocation (void) { if (stub_file != NULL) @@ -523,7 +511,6 @@ PARSE_AND_LIST_ARGS_CASES=' # Put these extra ppc64elf routines in ld_${EMULATION_NAME}_emulation # -LDEMUL_AFTER_OPEN=ppc_after_open LDEMUL_BEFORE_ALLOCATION=ppc_before_allocation LDEMUL_AFTER_ALLOCATION=gld${EMULATION_NAME}_after_allocation LDEMUL_FINISH=gld${EMULATION_NAME}_finish |