summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/orphan-11.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/orphan-11.ld')
-rw-r--r--ld/testsuite/ld-elf/orphan-11.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/orphan-11.ld b/ld/testsuite/ld-elf/orphan-11.ld
new file mode 100644
index 00000000000..74c77894570
--- /dev/null
+++ b/ld/testsuite/ld-elf/orphan-11.ld
@@ -0,0 +1,16 @@
+SECTIONS
+{
+ . = SIZEOF_HEADERS;
+ .text : { *(.text .text.*) }
+ .data : { *(.data .data.*) }
+ .bss : { *(.bss .bss.*) *(COMMON) }
+ .sbss : { *(.sbss .sbss.*) }
+ .note : { *(.note .note.*) }
+ .rela : { *(.rela .rela.*) }
+ .rel : { *(.rel .rel.*) }
+
+ /DISCARD/ : {
+ *(.reginfo) *(.MIPS.abiflags) *(.trampolines) *(.iplt*)
+ *(.note*) *(.got*) *(.igot*) *(.*.attributes) *(.*.info)
+ *(.pdr) "linker stubs*"(*) }
+}