diff options
author | Nick Clifton <nickc@redhat.com> | 2016-02-04 11:57:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-04 11:57:57 +0000 |
commit | 39306124611b7c5a0bb12cba253364723fc1c5ee (patch) | |
tree | 1aad570b183728f02185cf0bd524578520c26169 /gas/config/obj-elf.c | |
parent | c1d9289fef41b82aa22f63f74aa8e730ec898d3c (diff) | |
download | gdb-39306124611b7c5a0bb12cba253364723fc1c5ee.zip gdb-39306124611b7c5a0bb12cba253364723fc1c5ee.tar.gz gdb-39306124611b7c5a0bb12cba253364723fc1c5ee.tar.bz2 |
Remove support for creating ARM NOREAD sections.
gas * config/obj-elf.c (obj_elf_change_section): Remove support for
ARM NOREAD sections.
* config/tc-arm.c (arm_elf_section_letter): Delete.
* config/tc-arm.h (md_elf_section_letter): Delete.
* doc/c-arm.texi (ARM Section Attribute): Delete section.
* testsuite/gas/arm/section-execute-only.d: Delete.
* testsuite/gas/arm/section-execute-only.s: Delete.
ld * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
* testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
* testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
* testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
* testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
* testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
* testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
* testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
* testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 6d6d5f3..f4726ff 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -64,10 +64,6 @@ #include "elf/nios2.h" #endif -#ifdef TC_ARM -#include "elf/arm.h" -#endif - static void obj_elf_line (int); static void obj_elf_size (int); static void obj_elf_type (int); @@ -678,11 +674,6 @@ obj_elf_change_section (const char *name, /* RX init/fini arrays can and should have the "awx" attributes set. */ ; #endif -#ifdef TC_ARM - else if (attr == (SHF_EXECINSTR | SHF_ARM_NOREAD | SHF_ALLOC)) - /* ARM can have code section with SHF_ARM_NOREAD attribute. */ - ; -#endif else { if (group_name == NULL) |