From: Alan Modra Date: Wed, 22 Sep 2004 06:57:35 +0000 (+0000) Subject: * elf32-ppc.c (ppc_elf_modify_segment_map): Delete. X-Git-Tag: csl-arm-2004-q3~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73adb214d0bb463b81ee4aea7e6f801a2835b8ca;p=external%2Fbinutils.git * elf32-ppc.c (ppc_elf_modify_segment_map): Delete. (elf_backend_modify_segment_map): Don't define. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e3c341b..5623154 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2004-09-22 Alan Modra + * elf32-ppc.c (ppc_elf_modify_segment_map): Delete. + (elf_backend_modify_segment_map): Don't define. + +2004-09-22 Alan Modra + * elf.c (IS_LOADED): Define. (assign_file_positions_for_segments): Don't round up file offset of PT_LOAD segments containing no SEC_LOAD sections, instead round down. diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 50cb3a4..a9a246d 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -2759,15 +2759,6 @@ ppc_elf_additional_program_headers (bfd *abfd) return ret; } - -/* Modify the segment map if needed. */ - -static bfd_boolean -ppc_elf_modify_segment_map (bfd *abfd ATTRIBUTE_UNUSED, - struct bfd_link_info *info ATTRIBUTE_UNUSED) -{ - return TRUE; -} /* The powerpc .got has a blrl instruction in it. Mark it executable. */ @@ -6223,7 +6214,6 @@ static struct bfd_elf_special_section const ppc_elf_special_sections[]= #define elf_backend_finish_dynamic_sections ppc_elf_finish_dynamic_sections #define elf_backend_fake_sections ppc_elf_fake_sections #define elf_backend_additional_program_headers ppc_elf_additional_program_headers -#define elf_backend_modify_segment_map ppc_elf_modify_segment_map #define elf_backend_grok_prstatus ppc_elf_grok_prstatus #define elf_backend_grok_psinfo ppc_elf_grok_psinfo #define elf_backend_reloc_type_class ppc_elf_reloc_type_class