aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/linkonce1b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/linkonce1b.s')
-rw-r--r--ld/testsuite/ld-elf/linkonce1b.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/linkonce1b.s b/ld/testsuite/ld-elf/linkonce1b.s
new file mode 100644
index 0000000..fd45cec
--- /dev/null
+++ b/ld/testsuite/ld-elf/linkonce1b.s
@@ -0,0 +1,17 @@
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+ .text
+main:
+start:
+_start:
+__start:
+ .long 0
+
+ .section .gnu.linkonce.d.dummy,"aw"
+ .long 0
+foo:
+ .long 0
+ .section .debug_frame,"",%progbits
+ .long foo