aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/thumb1-input-section-flag-match.s')
-rw-r--r--ld/testsuite/ld-arm/thumb1-input-section-flag-match.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s b/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s
new file mode 100644
index 0000000..ac7c89f
--- /dev/null
+++ b/ld/testsuite/ld-arm/thumb1-input-section-flag-match.s
@@ -0,0 +1,18 @@
+ .text
+ .section .text.noread
+ .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