aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-02-04 11:57:57 +0000
committerNick Clifton <nickc@redhat.com>2016-02-04 11:57:57 +0000
commit39306124611b7c5a0bb12cba253364723fc1c5ee (patch)
tree1aad570b183728f02185cf0bd524578520c26169 /gas/testsuite
parentc1d9289fef41b82aa22f63f74aa8e730ec898d3c (diff)
downloadgdb-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/testsuite')
-rw-r--r--gas/testsuite/gas/arm/section-execute-only.d27
-rw-r--r--gas/testsuite/gas/arm/section-execute-only.s30
2 files changed, 0 insertions, 57 deletions
diff --git a/gas/testsuite/gas/arm/section-execute-only.d b/gas/testsuite/gas/arm/section-execute-only.d
deleted file mode 100644
index d45a132..0000000
--- a/gas/testsuite/gas/arm/section-execute-only.d
+++ /dev/null
@@ -1,27 +0,0 @@
-# name: test executable-only section attribute
-# as:
-# readelf: -t
-# This test is only valid on EABI based ports.
-# target: *-*-*eabi* *-*-nacl*
-There are 10 section headers, starting at offset 0x16c:
-
-Section Headers:
- \[Nr\] Name
- Type Addr Off Size ES Lk Inf Al
- Flags
- \[ 0\]
- NULL 00000000 000000 000000 00 0 0 0
- \[00000000\]:
- \[ 1\] .text
- PROGBITS 00000000 000034 000000 00 0 0 2
- \[00000006\]: ALLOC, EXEC
- \[ 2\] .data
- PROGBITS 00000000 000034 000000 00 0 0 1
- \[00000003\]: WRITE, ALLOC
- \[ 3\] .bss
- NOBITS 00000000 000034 000000 00 0 0 1
- \[00000003\]: WRITE, ALLOC
- \[ 4\] .text.foo
- PROGBITS 00000000 000034 000010 00 0 0 4
- \[20000006\]: ALLOC, EXEC, ARM_NOREAD
-#pass
diff --git a/gas/testsuite/gas/arm/section-execute-only.s b/gas/testsuite/gas/arm/section-execute-only.s
deleted file mode 100644
index 9d5ffc6..0000000
--- a/gas/testsuite/gas/arm/section-execute-only.s
+++ /dev/null
@@ -1,30 +0,0 @@
- .syntax unified
- .cpu cortex-m3
- .fpu softvfp
- .eabi_attribute 20, 1
- .eabi_attribute 21, 1
- .eabi_attribute 23, 3
- .eabi_attribute 24, 1
- .eabi_attribute 25, 1
- .eabi_attribute 26, 1
- .eabi_attribute 30, 2
- .eabi_attribute 34, 1
- .eabi_attribute 18, 4
- .thumb
- .section .text.foo,"axy",%progbits
- .align 2
- .global foo
- .thumb
- .thumb_func
- .type foo, %function
-foo:
- @ args = 0, pretend = 0, frame = 0
- @ frame_needed = 0, uses_anonymous_args = 0
- @ link register save eliminated.
- movs r0, #1
- movs r1, #1
- movw r2, #257
- movs r3, #1
- b madd
- .size foo, .-foo
-