aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/arm-target1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/arm-target1.s')
-rw-r--r--ld/testsuite/ld-arm/arm-target1.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-target1.s b/ld/testsuite/ld-arm/arm-target1.s
new file mode 100644
index 0000000..5a7ba91
--- /dev/null
+++ b/ld/testsuite/ld-arm/arm-target1.s
@@ -0,0 +1,6 @@
+# Test the R_ARM_TARGET1 relocation
+ .text
+ .global _start
+_start:
+ .word foo(target1)
+foo: