aboutsummaryrefslogtreecommitdiff
path: root/ld
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 /ld
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 'ld')
-rw-r--r--ld/ChangeLog12
-rw-r--r--ld/testsuite/ld-arm/arm-elf.exp12
-rw-r--r--ld/testsuite/ld-arm/thumb1-input-section-flag-match.d6
-rw-r--r--ld/testsuite/ld-arm/thumb1-input-section-flag-match.s18
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d5
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s18
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-present-one-section.d5
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-present-one-section.s9
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-present-two-section.d5
-rw-r--r--ld/testsuite/ld-arm/thumb1-noread-present-two-section.s19
10 files changed, 12 insertions, 97 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 54e169b..584a8dd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,15 @@
+2016-02-04 Nick Clifton <nickc@redhat.com>
+
+ * 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.
+
2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/19520
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index 258a3ea..a2082a8 100644
--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -312,18 +312,6 @@ set armelftests_nonacl {
{"TLS shared library gdesc local" "--no-fix-arm1176 -shared -T arm-dyn.ld" "" "" {tls-lib-loc.s}
{{objdump -fdw tls-lib-loc.d} {objdump -Rw tls-lib-loc.r}}
"tls-lib-loc.so"}
- {"PF_R not present when one noread section" "-static -T arm.ld" "" "" {thumb1-noread-present-one-section.s}
- {{readelf -l thumb1-noread-present-one-section.d}}
- "thumb1-noread-present-one-section"}
- {"PF_R not present when two noread sections" "-static -T arm.ld" "" "" {thumb1-noread-present-two-section.s}
- {{readelf -l thumb1-noread-present-two-section.d}}
- "thumb1-noread-present-two-section"}
- {"PF_R present when mixing noread section with read section" "-static -T arm.ld" "" "" {thumb1-noread-not-present-mixing-two-section.s}
- {{readelf -l thumb1-noread-not-present-mixing-two-section.d}}
- "thumb1-noread-not-present-mixing-two-section"}
- {"Match SHF_ARM_NOREAD with INPUT_SECTION_FLAGS directive" "-static -T arm_noread.ld" "" "" {thumb1-input-section-flag-match.s}
- {{readelf -l thumb1-input-section-flag-match.d}}
- "thumb1-noread-not-present-mixing-two-section"}
}
if { ![istarget "arm*-*-nacl*"] } {
diff --git a/ld/testsuite/ld-arm/thumb1-input-section-flag-match.d b/ld/testsuite/ld-arm/thumb1-input-section-flag-match.d
deleted file mode 100644
index e25a4f4..0000000
--- a/ld/testsuite/ld-arm/thumb1-input-section-flag-match.d
+++ /dev/null
@@ -1,6 +0,0 @@
-#...
-Program Headers:
-#...
- LOAD 0x000000 0x00000000 0x00000000 0x08002 0x08002 R E 0x10000
- LOAD 0x010000 0x00800000 0x00800000 0x00002 0x00002 E 0x10000
-#...
diff --git a/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s b/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s
deleted file mode 100644
index 6f1ad62..0000000
--- a/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s
+++ /dev/null
@@ -1,18 +0,0 @@
- .text
- .section .text.fetchonly,"axy",%progbits
- .arch armv6s-m
- .syntax unified
- .global _start
- .thumb_func
- .type _start, %function
-_start:
- bx lr
-
- .text
- .arch armv6s-m
- .syntax unified
- .global foo
- .thumb_func
- .type foo, %function
-foo:
- bx lr
diff --git a/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d b/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d
deleted file mode 100644
index 9150576..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d
+++ /dev/null
@@ -1,5 +0,0 @@
-#...
-Program Headers:
-#...
- LOAD 0x000000 0x00000000 0x00000000 0x08004 0x08004 R E 0x10000
-#...
diff --git a/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s b/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s
deleted file mode 100644
index 5b14873..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s
+++ /dev/null
@@ -1,18 +0,0 @@
- .text
- .section .text.noread,"axy",%progbits
- .arch armv6s-m
- .syntax unified
- .global _start
- .thumb_func
- .type _start, %function
-_start:
- bx lr
-
- .text
- .arch armv6s-m
- .syntax unified
- .global foo
- .thumb_func
- .type foo, %function
-foo:
- bx lr
diff --git a/ld/testsuite/ld-arm/thumb1-noread-present-one-section.d b/ld/testsuite/ld-arm/thumb1-noread-present-one-section.d
deleted file mode 100644
index 1faf40c..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-present-one-section.d
+++ /dev/null
@@ -1,5 +0,0 @@
-#...
-Program Headers:
-#...
- LOAD 0x000000 0x00000000 0x00000000 0x08002 0x08002 E 0x10000
-#...
diff --git a/ld/testsuite/ld-arm/thumb1-noread-present-one-section.s b/ld/testsuite/ld-arm/thumb1-noread-present-one-section.s
deleted file mode 100644
index 203cfd5..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-present-one-section.s
+++ /dev/null
@@ -1,9 +0,0 @@
- .text
- .section .text.fetchonly,"axy",%progbits
- .arch armv6s-m
- .syntax unified
- .global _start
- .thumb_func
- .type _start, %function
-_start:
- bx lr
diff --git a/ld/testsuite/ld-arm/thumb1-noread-present-two-section.d b/ld/testsuite/ld-arm/thumb1-noread-present-two-section.d
deleted file mode 100644
index 365cab0..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-present-two-section.d
+++ /dev/null
@@ -1,5 +0,0 @@
-#...
-Program Headers:
-#...
- LOAD 0x000000 0x00000000 0x00000000 0x08004 0x08004 E 0x10000
-#...
diff --git a/ld/testsuite/ld-arm/thumb1-noread-present-two-section.s b/ld/testsuite/ld-arm/thumb1-noread-present-two-section.s
deleted file mode 100644
index 245ab25..0000000
--- a/ld/testsuite/ld-arm/thumb1-noread-present-two-section.s
+++ /dev/null
@@ -1,19 +0,0 @@
- .text
- .section .text.fetchonly.first,"axy",%progbits
- .arch armv6s-m
- .syntax unified
- .global _start
- .thumb_func
- .type _start, %function
-_start:
- bx lr
-
- .text
- .section .text.fetchonly.second,"axy",%progbits
- .arch armv6s-m
- .syntax unified
- .global foo
- .thumb_func
- .type foo, %function
-foo:
- bx lr