aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-12 15:17:43 +0000
committerNick Clifton <nickc@redhat.com>2011-07-12 15:17:43 +0000
commit8de863a55d7905566f2d426871641f1163c3bd61 (patch)
treeca714109c8642fabe68e5f0724805e7f25ed8f53 /bfd/elf32-arm.c
parent1b93226d6365b7447bbf76aa21db61326fb63851 (diff)
downloadgdb-8de863a55d7905566f2d426871641f1163c3bd61.zip
gdb-8de863a55d7905566f2d426871641f1163c3bd61.tar.gz
gdb-8de863a55d7905566f2d426871641f1163c3bd61.tar.bz2
* elf32-arm.c (elf32_arm_section_flags): Delete.
(elf_backend_section_flags): Remove.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 257f7a5..0ddd0cf 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -14101,17 +14101,6 @@ elf32_arm_reloc_type_class (const Elf_Internal_Rela *rela)
}
}
-/* Set the right machine number for an Arm ELF file. */
-
-static bfd_boolean
-elf32_arm_section_flags (flagword *flags, const Elf_Internal_Shdr *hdr)
-{
- if (hdr->sh_type == SHT_NOTE)
- *flags |= SEC_LINK_ONCE | SEC_LINK_DUPLICATES_SAME_CONTENTS;
-
- return TRUE;
-}
-
static void
elf32_arm_final_write_processing (bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED)
{
@@ -15337,7 +15326,6 @@ const struct elf_size_info elf32_arm_size_info =
#define elf_backend_post_process_headers elf32_arm_post_process_headers
#define elf_backend_reloc_type_class elf32_arm_reloc_type_class
#define elf_backend_object_p elf32_arm_object_p
-#define elf_backend_section_flags elf32_arm_section_flags
#define elf_backend_fake_sections elf32_arm_fake_sections
#define elf_backend_section_from_shdr elf32_arm_section_from_shdr
#define elf_backend_final_write_processing elf32_arm_final_write_processing