aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/linkerscript/Inputs')
-rw-r--r--test/ELF/linkerscript/Inputs/addr.s12
-rw-r--r--test/ELF/linkerscript/Inputs/align.s13
-rw-r--r--test/ELF/linkerscript/Inputs/alignof.s15
-rw-r--r--test/ELF/linkerscript/Inputs/at2.s14
-rw-r--r--test/ELF/linkerscript/Inputs/at3.s8
-rw-r--r--test/ELF/linkerscript/Inputs/at6.s11
-rw-r--r--test/ELF/linkerscript/Inputs/at7.s7
-rw-r--r--test/ELF/linkerscript/Inputs/at8.s8
-rw-r--r--test/ELF/linkerscript/Inputs/comdat-gc.s5
-rw-r--r--test/ELF/linkerscript/Inputs/common-filespec1.s2
-rw-r--r--test/ELF/linkerscript/Inputs/common-filespec2.s2
-rw-r--r--test/ELF/linkerscript/Inputs/compress-debug-sections.s3
-rw-r--r--test/ELF/linkerscript/Inputs/copy-rel-symbol-value.s5
-rw-r--r--test/ELF/linkerscript/Inputs/data-commands.s35
-rw-r--r--test/ELF/linkerscript/Inputs/data-segment-relro.s11
-rw-r--r--test/ELF/linkerscript/Inputs/define.s8
-rw-r--r--test/ELF/linkerscript/Inputs/eh-frame-reloc-out-of-range.s11
-rw-r--r--test/ELF/linkerscript/Inputs/exclude-multiple1.s8
-rw-r--r--test/ELF/linkerscript/Inputs/exclude-multiple2.s8
-rw-r--r--test/ELF/linkerscript/Inputs/extend-pt-load.s3
-rw-r--r--test/ELF/linkerscript/Inputs/filename-spec.s2
-rw-r--r--test/ELF/linkerscript/Inputs/fill.s11
-rw-r--r--test/ELF/linkerscript/Inputs/include.s5
-rw-r--r--test/ELF/linkerscript/Inputs/insert-after.s11
-rw-r--r--test/ELF/linkerscript/Inputs/insert-after.script4
-rw-r--r--test/ELF/linkerscript/Inputs/keep.s2
-rw-r--r--test/ELF/linkerscript/Inputs/lazy-symbols.s2
-rw-r--r--test/ELF/linkerscript/Inputs/libsearch-dyn.s3
-rw-r--r--test/ELF/linkerscript/Inputs/libsearch-st.s3
-rw-r--r--test/ELF/linkerscript/Inputs/map-file2.s19
-rw-r--r--test/ELF/linkerscript/Inputs/merge-sections-reloc.s3
-rw-r--r--test/ELF/linkerscript/Inputs/notinclude.s4
-rw-r--r--test/ELF/linkerscript/Inputs/provide-shared.s5
-rw-r--r--test/ELF/linkerscript/Inputs/provide-shared2.s3
-rw-r--r--test/ELF/linkerscript/Inputs/sections-va-overflow.s6
-rw-r--r--test/ELF/linkerscript/Inputs/segment-start.script7
-rw-r--r--test/ELF/linkerscript/Inputs/shared.s10
-rw-r--r--test/ELF/linkerscript/Inputs/sort-nested.s7
-rw-r--r--test/ELF/linkerscript/Inputs/sort.s19
-rw-r--r--test/ELF/linkerscript/Inputs/symbol-reserved.script5
-rw-r--r--test/ELF/linkerscript/Inputs/synthetic-symbols.s16
41 files changed, 0 insertions, 336 deletions
diff --git a/test/ELF/linkerscript/Inputs/addr.s b/test/ELF/linkerscript/Inputs/addr.s
deleted file mode 100644
index 65d99dcf99cd..000000000000
--- a/test/ELF/linkerscript/Inputs/addr.s
+++ /dev/null
@@ -1,12 +0,0 @@
-.text
-.globl _start
-_start:
-
-.section .foo.1,"a"
-.quad 1
-
-.section .foo.2,"a"
-.quad 2
-
-.section .foo.3,"a"
-.quad 3
diff --git a/test/ELF/linkerscript/Inputs/align.s b/test/ELF/linkerscript/Inputs/align.s
deleted file mode 100644
index c804536aa543..000000000000
--- a/test/ELF/linkerscript/Inputs/align.s
+++ /dev/null
@@ -1,13 +0,0 @@
-.global _start
-_start:
- nop
-
-.section .aaa, "a"
-.quad 0
-
-.section .bbb, "a"
-.quad 0
-
-.section .ccc, "a"
-.quad 0
-
diff --git a/test/ELF/linkerscript/Inputs/alignof.s b/test/ELF/linkerscript/Inputs/alignof.s
deleted file mode 100644
index b288f94a12c9..000000000000
--- a/test/ELF/linkerscript/Inputs/alignof.s
+++ /dev/null
@@ -1,15 +0,0 @@
-.global _start
-_start:
- nop
-
-.section .aaa,"a"
- .align 8
- .quad 0
-
-.section .bbb,"a"
- .align 16
- .quad 0
-
-.section .ccc,"a"
- .align 32
- .quad 0
diff --git a/test/ELF/linkerscript/Inputs/at2.s b/test/ELF/linkerscript/Inputs/at2.s
deleted file mode 100644
index 8c6548b53f69..000000000000
--- a/test/ELF/linkerscript/Inputs/at2.s
+++ /dev/null
@@ -1,14 +0,0 @@
-.section .foo1, "ax"
-.quad 0
-
-.section .foo2, "ax"
-.quad 0
-
-.section .bar1, "aw"
-.quad 0
-
-.section .bar2, "aw"
-.quad 0
-
-.section .bar3, "aw"
-.quad 0
diff --git a/test/ELF/linkerscript/Inputs/at3.s b/test/ELF/linkerscript/Inputs/at3.s
deleted file mode 100644
index 8005c75723dd..000000000000
--- a/test/ELF/linkerscript/Inputs/at3.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.section .foo1, "a"
-.quad 0
-
-.section .foo2, "ax"
-.quad 0
-
-.section .foo3, "ax"
-.quad 0
diff --git a/test/ELF/linkerscript/Inputs/at6.s b/test/ELF/linkerscript/Inputs/at6.s
deleted file mode 100644
index 2d22d4d342dd..000000000000
--- a/test/ELF/linkerscript/Inputs/at6.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.global _start
-.text
-_start:
-nop
-
-.section .sec1,"aw",@progbits
-.long 1
-
-.section .sec2,"aw",@progbits
-.long 2
-
diff --git a/test/ELF/linkerscript/Inputs/at7.s b/test/ELF/linkerscript/Inputs/at7.s
deleted file mode 100644
index 29d29635963b..000000000000
--- a/test/ELF/linkerscript/Inputs/at7.s
+++ /dev/null
@@ -1,7 +0,0 @@
-.global _start
-.text
-_start:
-nop
-
-.section .sec, "aw"
-.word 4
diff --git a/test/ELF/linkerscript/Inputs/at8.s b/test/ELF/linkerscript/Inputs/at8.s
deleted file mode 100644
index e15e4cd3b77f..000000000000
--- a/test/ELF/linkerscript/Inputs/at8.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.section .sec1,"aw",@progbits
-.quad 1
-
-.section .sec2,"aw",@progbits
-.quad 2
-
-.section .sec3,"aw",@progbits
-.quad 3
diff --git a/test/ELF/linkerscript/Inputs/comdat-gc.s b/test/ELF/linkerscript/Inputs/comdat-gc.s
deleted file mode 100644
index da29d5b3830b..000000000000
--- a/test/ELF/linkerscript/Inputs/comdat-gc.s
+++ /dev/null
@@ -1,5 +0,0 @@
-.file 1 "test/ELF/linkerscript/Inputs/comdat_gc.s"
-
-.section .text._Z3fooIiEvv,"axG",@progbits,_Z3fooIiEvv,comdat
-.loc 1 5
- ret
diff --git a/test/ELF/linkerscript/Inputs/common-filespec1.s b/test/ELF/linkerscript/Inputs/common-filespec1.s
deleted file mode 100644
index 9e25d1291354..000000000000
--- a/test/ELF/linkerscript/Inputs/common-filespec1.s
+++ /dev/null
@@ -1,2 +0,0 @@
-.comm common_uniq_1,8,8
-.comm common_multiple,16,8
diff --git a/test/ELF/linkerscript/Inputs/common-filespec2.s b/test/ELF/linkerscript/Inputs/common-filespec2.s
deleted file mode 100644
index ceac01793599..000000000000
--- a/test/ELF/linkerscript/Inputs/common-filespec2.s
+++ /dev/null
@@ -1,2 +0,0 @@
-.comm common_uniq_2,16,16
-.comm common_multiple,32,8
diff --git a/test/ELF/linkerscript/Inputs/compress-debug-sections.s b/test/ELF/linkerscript/Inputs/compress-debug-sections.s
deleted file mode 100644
index 703be5949e0d..000000000000
--- a/test/ELF/linkerscript/Inputs/compress-debug-sections.s
+++ /dev/null
@@ -1,3 +0,0 @@
-.section .debug_str
- .asciz "CCC"
- .asciz "DDD"
diff --git a/test/ELF/linkerscript/Inputs/copy-rel-symbol-value.s b/test/ELF/linkerscript/Inputs/copy-rel-symbol-value.s
deleted file mode 100644
index b10a698eac18..000000000000
--- a/test/ELF/linkerscript/Inputs/copy-rel-symbol-value.s
+++ /dev/null
@@ -1,5 +0,0 @@
- .global bar
- .type bar, @object
- .size bar, 8
-bar:
- .quad 0
diff --git a/test/ELF/linkerscript/Inputs/data-commands.s b/test/ELF/linkerscript/Inputs/data-commands.s
deleted file mode 100644
index d5d78cfd9beb..000000000000
--- a/test/ELF/linkerscript/Inputs/data-commands.s
+++ /dev/null
@@ -1,35 +0,0 @@
-.global a
-a = 0x11
-
-.global b
-b = 0x1122
-
-.global c
-c = 0x11223344
-
-.global d
-d = 0x1122334455667788
-
-.section .foo.1, "a"
- .byte 0xFF
-
-.section .foo.2, "a"
- .byte 0xFF
-
-.section .foo.3, "a"
- .byte 0xFF
-
-.section .foo.4, "a"
- .byte 0xFF
-
-.section .bar.1, "a"
- .byte 0xFF
-
-.section .bar.2, "a"
- .byte 0xFF
-
-.section .bar.3, "a"
- .byte 0xFF
-
-.section .bar.4, "a"
- .byte 0xFF
diff --git a/test/ELF/linkerscript/Inputs/data-segment-relro.s b/test/ELF/linkerscript/Inputs/data-segment-relro.s
deleted file mode 100644
index 668a2e2ca2a4..000000000000
--- a/test/ELF/linkerscript/Inputs/data-segment-relro.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.global _start
-_start:
- .long bar
- jmp *bar2@GOTPCREL(%rip)
-
-.section .data,"aw"
-.quad 0
-
-.zero 4
-.section .foo,"aw"
-.section .bss,"",@nobits
diff --git a/test/ELF/linkerscript/Inputs/define.s b/test/ELF/linkerscript/Inputs/define.s
deleted file mode 100644
index bc60a233dcb4..000000000000
--- a/test/ELF/linkerscript/Inputs/define.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.global defined
-defined = 0
-
-.section .foo,"a"
-.quad 1
-
-.section .bar,"a"
-.quad 1
diff --git a/test/ELF/linkerscript/Inputs/eh-frame-reloc-out-of-range.s b/test/ELF/linkerscript/Inputs/eh-frame-reloc-out-of-range.s
deleted file mode 100644
index 19e50488050e..000000000000
--- a/test/ELF/linkerscript/Inputs/eh-frame-reloc-out-of-range.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.text
-.globl _start
-_start:
- .cfi_startproc
- .cfi_lsda 0, _ex
- nop
- .cfi_endproc
-
-.data
-_ex:
- .word 0
diff --git a/test/ELF/linkerscript/Inputs/exclude-multiple1.s b/test/ELF/linkerscript/Inputs/exclude-multiple1.s
deleted file mode 100644
index 1e0f741df40f..000000000000
--- a/test/ELF/linkerscript/Inputs/exclude-multiple1.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.section .foo.1,"a"
- .quad 4
-
-.section .foo.2,"a"
- .quad 5
-
-.section .foo.3,"a"
- .quad 6
diff --git a/test/ELF/linkerscript/Inputs/exclude-multiple2.s b/test/ELF/linkerscript/Inputs/exclude-multiple2.s
deleted file mode 100644
index 60f790fa2356..000000000000
--- a/test/ELF/linkerscript/Inputs/exclude-multiple2.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.section .foo.1,"a"
- .quad 7
-
-.section .foo.2,"a"
- .quad 8
-
-.section .foo.3,"a"
- .quad 9
diff --git a/test/ELF/linkerscript/Inputs/extend-pt-load.s b/test/ELF/linkerscript/Inputs/extend-pt-load.s
deleted file mode 100644
index 8993fb163346..000000000000
--- a/test/ELF/linkerscript/Inputs/extend-pt-load.s
+++ /dev/null
@@ -1,3 +0,0 @@
-nop
-.section .data.rel.ro, "aw"
-.byte 0
diff --git a/test/ELF/linkerscript/Inputs/filename-spec.s b/test/ELF/linkerscript/Inputs/filename-spec.s
deleted file mode 100644
index a688b4db4b60..000000000000
--- a/test/ELF/linkerscript/Inputs/filename-spec.s
+++ /dev/null
@@ -1,2 +0,0 @@
-.section .foo,"a"
- .quad 0x11
diff --git a/test/ELF/linkerscript/Inputs/fill.s b/test/ELF/linkerscript/Inputs/fill.s
deleted file mode 100644
index b8eed890601b..000000000000
--- a/test/ELF/linkerscript/Inputs/fill.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.text
-.globl _start
-_start:
-
-.section .aaa, "a"
-.align 1
-.byte 0xAA
-
-.section .bbb, "a"
-.align 1
-.byte 0xBB
diff --git a/test/ELF/linkerscript/Inputs/include.s b/test/ELF/linkerscript/Inputs/include.s
deleted file mode 100644
index a2f809b522f3..000000000000
--- a/test/ELF/linkerscript/Inputs/include.s
+++ /dev/null
@@ -1,5 +0,0 @@
-.section .text
-.globl _potato
-_potato:
- nop
- nop
diff --git a/test/ELF/linkerscript/Inputs/insert-after.s b/test/ELF/linkerscript/Inputs/insert-after.s
deleted file mode 100644
index 88a6044cc968..000000000000
--- a/test/ELF/linkerscript/Inputs/insert-after.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.section .foo.text,"ax"
-.quad 0
-
-.section .foo.data,"aw"
-.quad 0
-
-.section .text.1,"ax"
-.quad 0
-
-.section .data.1,"aw"
-.quad 0
diff --git a/test/ELF/linkerscript/Inputs/insert-after.script b/test/ELF/linkerscript/Inputs/insert-after.script
deleted file mode 100644
index cb95878bc5cf..000000000000
--- a/test/ELF/linkerscript/Inputs/insert-after.script
+++ /dev/null
@@ -1,4 +0,0 @@
-SECTIONS {
- .text : { *(.text.*) }
- .data : { *(.data.*) }
-}
diff --git a/test/ELF/linkerscript/Inputs/keep.s b/test/ELF/linkerscript/Inputs/keep.s
deleted file mode 100644
index 20fa41c1adff..000000000000
--- a/test/ELF/linkerscript/Inputs/keep.s
+++ /dev/null
@@ -1,2 +0,0 @@
-.section .keep, "a"
- .long 0x41414141
diff --git a/test/ELF/linkerscript/Inputs/lazy-symbols.s b/test/ELF/linkerscript/Inputs/lazy-symbols.s
deleted file mode 100644
index dd28fcbd5255..000000000000
--- a/test/ELF/linkerscript/Inputs/lazy-symbols.s
+++ /dev/null
@@ -1,2 +0,0 @@
-.globl foo
-foo:
diff --git a/test/ELF/linkerscript/Inputs/libsearch-dyn.s b/test/ELF/linkerscript/Inputs/libsearch-dyn.s
deleted file mode 100644
index 091b3b9b6ece..000000000000
--- a/test/ELF/linkerscript/Inputs/libsearch-dyn.s
+++ /dev/null
@@ -1,3 +0,0 @@
-.globl _bar,_dynamic
-_bar:
-_dynamic:
diff --git a/test/ELF/linkerscript/Inputs/libsearch-st.s b/test/ELF/linkerscript/Inputs/libsearch-st.s
deleted file mode 100644
index 6da62f79d52f..000000000000
--- a/test/ELF/linkerscript/Inputs/libsearch-st.s
+++ /dev/null
@@ -1,3 +0,0 @@
-.globl _bar,_static
-_bar:
-_static:
diff --git a/test/ELF/linkerscript/Inputs/map-file2.s b/test/ELF/linkerscript/Inputs/map-file2.s
deleted file mode 100644
index daf994eca172..000000000000
--- a/test/ELF/linkerscript/Inputs/map-file2.s
+++ /dev/null
@@ -1,19 +0,0 @@
-.global _start
-_start:
-.global _Z1fi
-_Z1fi:
-.cfi_startproc
-nop
-.cfi_endproc
-
-.section .aaa, "a";
-.quad 1;
-
-.section .bbb, "a";
-.quad 2;
-
-.section .ccc, "a";
-.quad 3;
-
-.section .ddd, "a";
-.quad 4
diff --git a/test/ELF/linkerscript/Inputs/merge-sections-reloc.s b/test/ELF/linkerscript/Inputs/merge-sections-reloc.s
deleted file mode 100644
index 07e599b2820f..000000000000
--- a/test/ELF/linkerscript/Inputs/merge-sections-reloc.s
+++ /dev/null
@@ -1,3 +0,0 @@
-.globl _start
-_start:
- .quad 0x11223344
diff --git a/test/ELF/linkerscript/Inputs/notinclude.s b/test/ELF/linkerscript/Inputs/notinclude.s
deleted file mode 100644
index 46c0509b56cc..000000000000
--- a/test/ELF/linkerscript/Inputs/notinclude.s
+++ /dev/null
@@ -1,4 +0,0 @@
-.section .text
-.globl tomato
-tomato:
- movl $1, %eax
diff --git a/test/ELF/linkerscript/Inputs/provide-shared.s b/test/ELF/linkerscript/Inputs/provide-shared.s
deleted file mode 100644
index 5ea4e952a766..000000000000
--- a/test/ELF/linkerscript/Inputs/provide-shared.s
+++ /dev/null
@@ -1,5 +0,0 @@
- .global foo
- .size foo, 8
- .type foo, @object
-foo:
- .quad 42
diff --git a/test/ELF/linkerscript/Inputs/provide-shared2.s b/test/ELF/linkerscript/Inputs/provide-shared2.s
deleted file mode 100644
index f02fd650106a..000000000000
--- a/test/ELF/linkerscript/Inputs/provide-shared2.s
+++ /dev/null
@@ -1,3 +0,0 @@
-.global foo
-.data
-.dc.a foo
diff --git a/test/ELF/linkerscript/Inputs/sections-va-overflow.s b/test/ELF/linkerscript/Inputs/sections-va-overflow.s
deleted file mode 100644
index 6bb049031c7d..000000000000
--- a/test/ELF/linkerscript/Inputs/sections-va-overflow.s
+++ /dev/null
@@ -1,6 +0,0 @@
-.global _start
-_start:
- retq
-
-.bss
-.space 0x2000
diff --git a/test/ELF/linkerscript/Inputs/segment-start.script b/test/ELF/linkerscript/Inputs/segment-start.script
deleted file mode 100644
index 9f1a59360105..000000000000
--- a/test/ELF/linkerscript/Inputs/segment-start.script
+++ /dev/null
@@ -1,7 +0,0 @@
-SECTIONS
-{
- PROVIDE (foobar1 = SEGMENT_START("text-segment", 0x8001));
- PROVIDE (foobar2 = SEGMENT_START("data-segment", 0x8002));
- PROVIDE (foobar3 = SEGMENT_START("bss-segment", 0x8000 + (4 - 1)));
- PROVIDE (foobar4 = SEGMENT_START("abc-segment", 0x8004));
-}
diff --git a/test/ELF/linkerscript/Inputs/shared.s b/test/ELF/linkerscript/Inputs/shared.s
deleted file mode 100644
index c3c22fe4b4fb..000000000000
--- a/test/ELF/linkerscript/Inputs/shared.s
+++ /dev/null
@@ -1,10 +0,0 @@
-.global bar
-.type bar, @function
-bar:
-
-.global bar2
-.type bar2, @function
-bar2:
-
-.global zed
-zed:
diff --git a/test/ELF/linkerscript/Inputs/sort-nested.s b/test/ELF/linkerscript/Inputs/sort-nested.s
deleted file mode 100644
index c42fa9cd7ed8..000000000000
--- a/test/ELF/linkerscript/Inputs/sort-nested.s
+++ /dev/null
@@ -1,7 +0,0 @@
-.section .aaa.1, "a"
-.align 16
-.quad 0x11
-
-.section .aaa.2, "a"
-.align 4
-.quad 0x22
diff --git a/test/ELF/linkerscript/Inputs/sort.s b/test/ELF/linkerscript/Inputs/sort.s
deleted file mode 100644
index 22e65ad19e1e..000000000000
--- a/test/ELF/linkerscript/Inputs/sort.s
+++ /dev/null
@@ -1,19 +0,0 @@
-.section .aaa.5, "a"
-.align 2
-.quad 0x55
-
-.section .aaa.1, "a"
-.align 32
-.quad 0x11
-
-.section .aaa.3, "a"
-.align 8
-.quad 0x33
-
-.section .aaa.2, "a"
-.align 16
-.quad 0x22
-
-.section .aaa.4, "a"
-.align 4
-.quad 0x44
diff --git a/test/ELF/linkerscript/Inputs/symbol-reserved.script b/test/ELF/linkerscript/Inputs/symbol-reserved.script
deleted file mode 100644
index 269bb120de95..000000000000
--- a/test/ELF/linkerscript/Inputs/symbol-reserved.script
+++ /dev/null
@@ -1,5 +0,0 @@
-SECTIONS
-{
- .text : { *(.text) }
- PROVIDE_HIDDEN(_end = .);
-}
diff --git a/test/ELF/linkerscript/Inputs/synthetic-symbols.s b/test/ELF/linkerscript/Inputs/synthetic-symbols.s
deleted file mode 100644
index 670e65cb80f4..000000000000
--- a/test/ELF/linkerscript/Inputs/synthetic-symbols.s
+++ /dev/null
@@ -1,16 +0,0 @@
-.global _start
-_start:
- nop
-
-.section .foo,"a"
- .quad 0
-
-.section .bar,"a"
- .long 0
-
-.section .dah,"ax",@progbits
- .cfi_startproc
- nop
- .cfi_endproc
-
-.global _begin_sec, _end_sec, _end_sec_abs