aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/extract-symbol-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/extract-symbol-1.s')
-rw-r--r--ld/testsuite/ld-elf/extract-symbol-1.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/extract-symbol-1.s b/ld/testsuite/ld-elf/extract-symbol-1.s
new file mode 100644
index 000000000000..0971500413f9
--- /dev/null
+++ b/ld/testsuite/ld-elf/extract-symbol-1.s
@@ -0,0 +1,15 @@
+ .globl B
+ .globl C
+
+ .section .foo,"awx",%progbits
+ .4byte 1,2,3,4
+B:
+ .4byte 5,6,7
+
+ .section .bar,"ax",%nobits
+ .space 0x123
+C:
+ .space 0x302
+
+ .globl D
+ .equ D,0x12345678