aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-09-22 06:57:35 +0000
committerAlan Modra <amodra@gmail.com>2004-09-22 06:57:35 +0000
commit73adb214d0bb463b81ee4aea7e6f801a2835b8ca (patch)
tree427b51166257fbd1cd7abebaa3c8c5a6028811b8
parentb301b24869fffd3b6149f27b3ebadaaf8865e461 (diff)
downloadgdb-73adb214d0bb463b81ee4aea7e6f801a2835b8ca.zip
gdb-73adb214d0bb463b81ee4aea7e6f801a2835b8ca.tar.gz
gdb-73adb214d0bb463b81ee4aea7e6f801a2835b8ca.tar.bz2
* elf32-ppc.c (ppc_elf_modify_segment_map): Delete.
(elf_backend_modify_segment_map): Don't define.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ppc.c10
2 files changed, 5 insertions, 10 deletions
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 <amodra@bigpond.net.au>
+ * elf32-ppc.c (ppc_elf_modify_segment_map): Delete.
+ (elf_backend_modify_segment_map): Don't define.
+
+2004-09-22 Alan Modra <amodra@bigpond.net.au>
+
* 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