summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/orphan.ld')
-rw-r--r--ld/testsuite/ld-elf/orphan.ld7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/orphan.ld b/ld/testsuite/ld-elf/orphan.ld
new file mode 100644
index 00000000000..e3d7303316a
--- /dev/null
+++ b/ld/testsuite/ld-elf/orphan.ld
@@ -0,0 +1,7 @@
+SECTIONS
+{
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .bss : { *(.bss) *(COMMON) }
+ .note : { *(.note) }
+}