summaryrefslogtreecommitdiff
path: root/test/old-elf/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/old-elf/Inputs')
-rw-r--r--test/old-elf/Inputs/abs-test.i386bin504 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/allowduplicates.objtxt12
-rw-r--r--test/old-elf/Inputs/bar.o.x86-64bin1240 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/branch-test.hexagonbin700 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/branch-test.ppcbin852 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/consecutive-weak-defs.o.yaml65
-rw-r--r--test/old-elf/Inputs/constants-merge.x86-64bin1232 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/constdata.x86-64bin1688 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/foo.o.x86-64bin1240 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/globalconst.c2
-rw-r--r--test/old-elf/Inputs/globalconst.o.x86-64bin1072 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/gotpcrel.S11
-rw-r--r--test/old-elf/Inputs/gotpcrel.x86-64bin904 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/group-cmd-search-1.ls1
-rw-r--r--test/old-elf/Inputs/group-cmd-search-2.ls1
-rw-r--r--test/old-elf/Inputs/group-cmd-search-3.ls1
-rw-r--r--test/old-elf/Inputs/ifunc.S21
-rw-r--r--test/old-elf/Inputs/ifunc.cpp3
-rw-r--r--test/old-elf/Inputs/ifunc.cpp.x86-64bin1224 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/ifunc.x86-64bin912 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/libfnarchive.abin2656 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/libifunc.x86-64.sobin2512 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/libundef.sobin11128 -> 0 bytes
-rwxr-xr-xtest/old-elf/Inputs/libweaksym.sobin2160 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/main-with-global-def.o.yaml55
-rw-r--r--test/old-elf/Inputs/mainobj.x86_64bin1360 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/no-unique-section-names.x86-64bin2128 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/object-test.elf-hexagonbin1532 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/object-test.elf-i386bin1784 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/phdr.i386bin17536 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/quickdata-sort-test.o.elf-hexagonbin1385 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/quickdata-sortcommon-test.o.elf-hexagonbin1469 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/quickdata-test.elf-hexagonbin891 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/reloc-test.elf-i386bin1076 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/reloc-xb.x86bin568 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/reloc-xt.x86bin548 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/relocs-dynamic.x86-64bin864 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/relocs.x86-64bin1536 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/responsefile1
-rw-r--r--test/old-elf/Inputs/rodata-test.hexagonbin669 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/rodata-test.i386bin537 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/rodata.c4
-rw-r--r--test/old-elf/Inputs/rodata.obin1568 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/section-test.i386bin717 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/shared.c16
-rw-r--r--test/old-elf/Inputs/shared.so-x86-64bin7536 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/shndx.o-x86_64bin624 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/stripped-empty.x86_64bin416 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/target-test.hexagonbin676 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/target-test.ppcbin552 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/tls-tbss-size.yaml59
-rw-r--r--test/old-elf/Inputs/tls.S50
-rw-r--r--test/old-elf/Inputs/tls.c11
-rw-r--r--test/old-elf/Inputs/tls.x86-64bin1424 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/tlsAddr.x86-64bin1752 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/tlsaddr.c8
-rw-r--r--test/old-elf/Inputs/undef-from-main-so.c1
-rw-r--r--test/old-elf/Inputs/undef-from-main.c5
-rw-r--r--test/old-elf/Inputs/undef-pc32.obin1248 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/undef.obin1264 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/undef2-so.o.yaml49
-rw-r--r--test/old-elf/Inputs/use-shared-32s.c8
-rw-r--r--test/old-elf/Inputs/use-shared-32s.x86-64bin1336 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/use-shared.c7
-rw-r--r--test/old-elf/Inputs/use-shared.x86-64bin1376 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/weaksym.obin840 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/writersyms.obin868 -> 0 bytes
-rw-r--r--test/old-elf/Inputs/x86-64-relocs.S12
68 files changed, 0 insertions, 403 deletions
diff --git a/test/old-elf/Inputs/abs-test.i386 b/test/old-elf/Inputs/abs-test.i386
deleted file mode 100644
index 8556c24da551..000000000000
--- a/test/old-elf/Inputs/abs-test.i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/allowduplicates.objtxt b/test/old-elf/Inputs/allowduplicates.objtxt
deleted file mode 100644
index 9b8ba8902aba..000000000000
--- a/test/old-elf/Inputs/allowduplicates.objtxt
+++ /dev/null
@@ -1,12 +0,0 @@
-defined-atoms:
- - name: .text
- alignment: 16
- section-choice: custom-required
- section-name: .text
- - name: main
- scope: global
- content: [ B8, 00, 00, 00, 00, C7, 44, 24, FC, 00, 00, 00,
- 00, C3 ]
- alignment: 16
- section-choice: custom-required
- section-name: .text
diff --git a/test/old-elf/Inputs/bar.o.x86-64 b/test/old-elf/Inputs/bar.o.x86-64
deleted file mode 100644
index 467485f0bb96..000000000000
--- a/test/old-elf/Inputs/bar.o.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/branch-test.hexagon b/test/old-elf/Inputs/branch-test.hexagon
deleted file mode 100644
index 1ffb47228e32..000000000000
--- a/test/old-elf/Inputs/branch-test.hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/branch-test.ppc b/test/old-elf/Inputs/branch-test.ppc
deleted file mode 100644
index 4698941e7503..000000000000
--- a/test/old-elf/Inputs/branch-test.ppc
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/consecutive-weak-defs.o.yaml b/test/old-elf/Inputs/consecutive-weak-defs.o.yaml
deleted file mode 100644
index cbd9c665b6d5..000000000000
--- a/test/old-elf/Inputs/consecutive-weak-defs.o.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
----
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- OSABI: ELFOSABI_GNU
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
- AddressAlign: 0x0000000000000004
- Content: 554889E5E8000000005DC3554889E5B8640000005DC3
- - Name: .rela.text
- Type: SHT_RELA
- Link: .symtab
- AddressAlign: 0x0000000000000008
- Info: .text
- Relocations:
- - Offset: 0x0000000000000005
- Symbol: my_weak_func
- Type: R_X86_64_PC32
- Addend: -4
- - Name: .data
- Type: SHT_PROGBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
- Content: ''
- - Name: .bss
- Type: SHT_NOBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
-Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- Global:
- - Name: my_func
- Type: STT_FUNC
- Section: .text
- Size: 0x000000000000000B
- Weak:
- - Name: my_weak_func
- Type: STT_FUNC
- Section: .text
- Value: 0x000000000000000B
- Size: 0x000000000000000B
- - Name: my_weak_func2
- Type: STT_FUNC
- Section: .text
- Value: 0x000000000000000B
- Size: 0x000000000000000B
- - Name: my_weak_func3
- Type: STT_FUNC
- Section: .text
- Value: 0x000000000000000B
- Size: 0x000000000000000B
-...
diff --git a/test/old-elf/Inputs/constants-merge.x86-64 b/test/old-elf/Inputs/constants-merge.x86-64
deleted file mode 100644
index 0087eb8f8cb5..000000000000
--- a/test/old-elf/Inputs/constants-merge.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/constdata.x86-64 b/test/old-elf/Inputs/constdata.x86-64
deleted file mode 100644
index d877a5535357..000000000000
--- a/test/old-elf/Inputs/constdata.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/foo.o.x86-64 b/test/old-elf/Inputs/foo.o.x86-64
deleted file mode 100644
index 72a89eefa8ed..000000000000
--- a/test/old-elf/Inputs/foo.o.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/globalconst.c b/test/old-elf/Inputs/globalconst.c
deleted file mode 100644
index 08395a88e7ca..000000000000
--- a/test/old-elf/Inputs/globalconst.c
+++ /dev/null
@@ -1,2 +0,0 @@
-/* compile the code with -fmerge-all-constants */
-const char mystr[] = "foobar";
diff --git a/test/old-elf/Inputs/globalconst.o.x86-64 b/test/old-elf/Inputs/globalconst.o.x86-64
deleted file mode 100644
index d8e266e76334..000000000000
--- a/test/old-elf/Inputs/globalconst.o.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/gotpcrel.S b/test/old-elf/Inputs/gotpcrel.S
deleted file mode 100644
index 300675f59612..000000000000
--- a/test/old-elf/Inputs/gotpcrel.S
+++ /dev/null
@@ -1,11 +0,0 @@
- .text
- .globl main
- .align 16, 0x90
- .type main,@function
-main: # @main
- movq blah@GOTPCREL(%rip), %rax
- movq main@GOTPCREL(%rip), %rax
- ret
-
- .weak blah
- .type blah,@function
diff --git a/test/old-elf/Inputs/gotpcrel.x86-64 b/test/old-elf/Inputs/gotpcrel.x86-64
deleted file mode 100644
index f9c61d0edf15..000000000000
--- a/test/old-elf/Inputs/gotpcrel.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/group-cmd-search-1.ls b/test/old-elf/Inputs/group-cmd-search-1.ls
deleted file mode 100644
index 965369309a20..000000000000
--- a/test/old-elf/Inputs/group-cmd-search-1.ls
+++ /dev/null
@@ -1 +0,0 @@
-GROUP ( shared.so-x86-64 )
diff --git a/test/old-elf/Inputs/group-cmd-search-2.ls b/test/old-elf/Inputs/group-cmd-search-2.ls
deleted file mode 100644
index f1eee6a35efa..000000000000
--- a/test/old-elf/Inputs/group-cmd-search-2.ls
+++ /dev/null
@@ -1 +0,0 @@
-GROUP ( /shared.so-x86-64 )
diff --git a/test/old-elf/Inputs/group-cmd-search-3.ls b/test/old-elf/Inputs/group-cmd-search-3.ls
deleted file mode 100644
index 83ce0ca62fb1..000000000000
--- a/test/old-elf/Inputs/group-cmd-search-3.ls
+++ /dev/null
@@ -1 +0,0 @@
-GROUP ( -l:shared.so-x86-64 -lfnarchive )
diff --git a/test/old-elf/Inputs/ifunc.S b/test/old-elf/Inputs/ifunc.S
deleted file mode 100644
index 0ac1f5a5b0bb..000000000000
--- a/test/old-elf/Inputs/ifunc.S
+++ /dev/null
@@ -1,21 +0,0 @@
- .text
- .globl hey;
- .type hey, @function;
-hey:
- .type hey, @gnu_indirect_function;
- leaq __hey_1(%rip), %rax
- ret
-
- .text
- .type __hey_1, @function;
- .globl __hey_1;
-__hey_1:
- movq $42, %rax
- ret
-
- .text
- .type plt, @function;
- .globl plt;
-plt:
- call hey@PLT
- ret
diff --git a/test/old-elf/Inputs/ifunc.cpp b/test/old-elf/Inputs/ifunc.cpp
deleted file mode 100644
index 2e520277d36c..000000000000
--- a/test/old-elf/Inputs/ifunc.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-extern "C" int hey();
-
-int main() { return hey(); }
diff --git a/test/old-elf/Inputs/ifunc.cpp.x86-64 b/test/old-elf/Inputs/ifunc.cpp.x86-64
deleted file mode 100644
index 20c812cabd2c..000000000000
--- a/test/old-elf/Inputs/ifunc.cpp.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/ifunc.x86-64 b/test/old-elf/Inputs/ifunc.x86-64
deleted file mode 100644
index 36c8e04ca837..000000000000
--- a/test/old-elf/Inputs/ifunc.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/libfnarchive.a b/test/old-elf/Inputs/libfnarchive.a
deleted file mode 100644
index 753acd6e2c65..000000000000
--- a/test/old-elf/Inputs/libfnarchive.a
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/libifunc.x86-64.so b/test/old-elf/Inputs/libifunc.x86-64.so
deleted file mode 100644
index 0f05b308ce78..000000000000
--- a/test/old-elf/Inputs/libifunc.x86-64.so
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/libundef.so b/test/old-elf/Inputs/libundef.so
deleted file mode 100644
index 41f2a668f360..000000000000
--- a/test/old-elf/Inputs/libundef.so
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/libweaksym.so b/test/old-elf/Inputs/libweaksym.so
deleted file mode 100755
index 7ff4ea56ae60..000000000000
--- a/test/old-elf/Inputs/libweaksym.so
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/main-with-global-def.o.yaml b/test/old-elf/Inputs/main-with-global-def.o.yaml
deleted file mode 100644
index d3eeb8fe24b6..000000000000
--- a/test/old-elf/Inputs/main-with-global-def.o.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
----
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- OSABI: ELFOSABI_GNU
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
- AddressAlign: 0x0000000000000004
- Content: 554889E5B8C80000005DC3554889E54883EC10C745FC00000000B000E8000000004883C4105DC3
- - Name: .rela.text
- Type: SHT_RELA
- Link: .symtab
- AddressAlign: 0x0000000000000008
- Info: .text
- Relocations:
- - Offset: 0x000000000000001D
- Symbol: my_func
- Type: R_X86_64_PC32
- Addend: -4
- - Name: .data
- Type: SHT_PROGBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
- Content: ''
- - Name: .bss
- Type: SHT_NOBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
-Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- Global:
- - Name: main
- Type: STT_FUNC
- Section: .text
- Value: 0x000000000000000B
- Size: 0x000000000000001C
- - Name: my_weak_func2
- Type: STT_FUNC
- Section: .text
- Size: 0x000000000000000B
- - Name: my_func
-...
diff --git a/test/old-elf/Inputs/mainobj.x86_64 b/test/old-elf/Inputs/mainobj.x86_64
deleted file mode 100644
index d0f29418237d..000000000000
--- a/test/old-elf/Inputs/mainobj.x86_64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/no-unique-section-names.x86-64 b/test/old-elf/Inputs/no-unique-section-names.x86-64
deleted file mode 100644
index fd92f5f0c6e7..000000000000
--- a/test/old-elf/Inputs/no-unique-section-names.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/object-test.elf-hexagon b/test/old-elf/Inputs/object-test.elf-hexagon
deleted file mode 100644
index bfc85a7d0b76..000000000000
--- a/test/old-elf/Inputs/object-test.elf-hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/object-test.elf-i386 b/test/old-elf/Inputs/object-test.elf-i386
deleted file mode 100644
index 872684c7fcc1..000000000000
--- a/test/old-elf/Inputs/object-test.elf-i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/phdr.i386 b/test/old-elf/Inputs/phdr.i386
deleted file mode 100644
index 7c83dd314891..000000000000
--- a/test/old-elf/Inputs/phdr.i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/quickdata-sort-test.o.elf-hexagon b/test/old-elf/Inputs/quickdata-sort-test.o.elf-hexagon
deleted file mode 100644
index 03d028707129..000000000000
--- a/test/old-elf/Inputs/quickdata-sort-test.o.elf-hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/quickdata-sortcommon-test.o.elf-hexagon b/test/old-elf/Inputs/quickdata-sortcommon-test.o.elf-hexagon
deleted file mode 100644
index 410a3d47d320..000000000000
--- a/test/old-elf/Inputs/quickdata-sortcommon-test.o.elf-hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/quickdata-test.elf-hexagon b/test/old-elf/Inputs/quickdata-test.elf-hexagon
deleted file mode 100644
index c3ae53a6babe..000000000000
--- a/test/old-elf/Inputs/quickdata-test.elf-hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/reloc-test.elf-i386 b/test/old-elf/Inputs/reloc-test.elf-i386
deleted file mode 100644
index 1a5558131fff..000000000000
--- a/test/old-elf/Inputs/reloc-test.elf-i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/reloc-xb.x86 b/test/old-elf/Inputs/reloc-xb.x86
deleted file mode 100644
index 4d9770aa2356..000000000000
--- a/test/old-elf/Inputs/reloc-xb.x86
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/reloc-xt.x86 b/test/old-elf/Inputs/reloc-xt.x86
deleted file mode 100644
index dcdfbfb09f71..000000000000
--- a/test/old-elf/Inputs/reloc-xt.x86
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/relocs-dynamic.x86-64 b/test/old-elf/Inputs/relocs-dynamic.x86-64
deleted file mode 100644
index 0c44924d18e6..000000000000
--- a/test/old-elf/Inputs/relocs-dynamic.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/relocs.x86-64 b/test/old-elf/Inputs/relocs.x86-64
deleted file mode 100644
index 112dfa733db9..000000000000
--- a/test/old-elf/Inputs/relocs.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/responsefile b/test/old-elf/Inputs/responsefile
deleted file mode 100644
index 2fe657a0e3b0..000000000000
--- a/test/old-elf/Inputs/responsefile
+++ /dev/null
@@ -1 +0,0 @@
---inresponsefile
diff --git a/test/old-elf/Inputs/rodata-test.hexagon b/test/old-elf/Inputs/rodata-test.hexagon
deleted file mode 100644
index f448748e2abe..000000000000
--- a/test/old-elf/Inputs/rodata-test.hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/rodata-test.i386 b/test/old-elf/Inputs/rodata-test.i386
deleted file mode 100644
index 09f71eb59969..000000000000
--- a/test/old-elf/Inputs/rodata-test.i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/rodata.c b/test/old-elf/Inputs/rodata.c
deleted file mode 100644
index b43c9c945898..000000000000
--- a/test/old-elf/Inputs/rodata.c
+++ /dev/null
@@ -1,4 +0,0 @@
-const unsigned char *str = "llvm";
-int foo() {
- return str[0];
-}
diff --git a/test/old-elf/Inputs/rodata.o b/test/old-elf/Inputs/rodata.o
deleted file mode 100644
index f13ddc9bba98..000000000000
--- a/test/old-elf/Inputs/rodata.o
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/section-test.i386 b/test/old-elf/Inputs/section-test.i386
deleted file mode 100644
index 2b447a9f8f5b..000000000000
--- a/test/old-elf/Inputs/section-test.i386
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/shared.c b/test/old-elf/Inputs/shared.c
deleted file mode 100644
index 2be91c4b9e45..000000000000
--- a/test/old-elf/Inputs/shared.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdio.h>
-
-extern int i;
-int i = 42;
-
-// Undefined weak function in a dynamic library.
-__attribute__((weak)) void weakfoo();
-
-// Regular function in a dynamic library.
-void foo() {
- // Try to call weakfoo so that the reference to weekfoo will be included in
- // the resulting .so file.
- if (weakfoo)
- weakfoo();
- puts("Fooo!!");
-}
diff --git a/test/old-elf/Inputs/shared.so-x86-64 b/test/old-elf/Inputs/shared.so-x86-64
deleted file mode 100644
index 0240f0e67431..000000000000
--- a/test/old-elf/Inputs/shared.so-x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/shndx.o-x86_64 b/test/old-elf/Inputs/shndx.o-x86_64
deleted file mode 100644
index 9e3e5d8526d7..000000000000
--- a/test/old-elf/Inputs/shndx.o-x86_64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/stripped-empty.x86_64 b/test/old-elf/Inputs/stripped-empty.x86_64
deleted file mode 100644
index 7368ba280d79..000000000000
--- a/test/old-elf/Inputs/stripped-empty.x86_64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/target-test.hexagon b/test/old-elf/Inputs/target-test.hexagon
deleted file mode 100644
index 7da114561920..000000000000
--- a/test/old-elf/Inputs/target-test.hexagon
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/target-test.ppc b/test/old-elf/Inputs/target-test.ppc
deleted file mode 100644
index 001be338c20d..000000000000
--- a/test/old-elf/Inputs/target-test.ppc
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/tls-tbss-size.yaml b/test/old-elf/Inputs/tls-tbss-size.yaml
deleted file mode 100644
index 0577dd157c6e..000000000000
--- a/test/old-elf/Inputs/tls-tbss-size.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
----
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- OSABI: ELFOSABI_GNU
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
- AddressAlign: 0x0000000000000004
- Content: ''
- - Name: .data
- Type: SHT_PROGBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
- Content: ''
- - Name: .bss
- Type: SHT_NOBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000004
- - Name: .tbss
- Type: SHT_NOBITS
- Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
- AddressAlign: 0x0000000000000004
- Size: 16
- - Name: .note.GNU-stack
- Type: SHT_PROGBITS
- AddressAlign: 0x0000000000000001
- Content: ''
-Symbols:
- Local:
- - Name: t1.c
- Type: STT_FILE
- - Name: .tbss
- Type: STT_TLS
- Section: .tbss
- Global:
- - Name: t0
- Type: STT_TLS
- Section: .tbss
- Size: 0x0000000000000004
- - Name: t1
- Type: STT_TLS
- Section: .tbss
- Value: 0x0000000000000004
- Size: 0x0000000000000004
- - Name: t2
- Type: STT_TLS
- Section: .tbss
- Value: 0x0000000000000008
- Size: 0x0000000000000004
- - Name: t3
- Type: STT_TLS
- Section: .tbss
- Value: 0x000000000000000C
- Size: 0x0000000000000004
-...
diff --git a/test/old-elf/Inputs/tls.S b/test/old-elf/Inputs/tls.S
deleted file mode 100644
index 7d9eab647b53..000000000000
--- a/test/old-elf/Inputs/tls.S
+++ /dev/null
@@ -1,50 +0,0 @@
- .text
- .globl main
- .align 16, 0x90
- .type main,@function
-main: # @main
- callq GOTTPOFF
- addl %fs:tls1@TPOFF, %eax
- addl %fs:tls0@TPOFF, %eax
- addl %fs:tls2@TPOFF, %eax
- ret
-
- .text
- .globl GOTTPOFF
- .type GOTTPOFF,@function
-GOTTPOFF:
- movq tls2@GOTTPOFF(%rip), %rax
- movl %fs:0(%rax), %eax
- ret
-
- .text
- .globl TLSLD
- .type TLSLD,@function
-TLSLD:
- leaq tls0@tlsld(%rip), %rdi
- call __tls_get_addr@plt
- leaq tls0@dtpoff(%rax), %rax
- ret
-
- .type tls0,@object # @tls0
- .section .tbss,"awT",@nobits
- .globl tls0
- .align 4
-tls0:
- .long 0 # 0x0
- .size tls0, 4
-
- .type tls1,@object # @tls1
- .globl tls1
- .align 4
-tls1:
- .long 0 # 0x0
- .size tls1, 4
-
- .type tls2,@object # @tls2
- .section .tdata,"awT",@progbits
- .globl tls2
- .align 4
-tls2:
- .long 1 # 0x1
- .size tls2, 4
diff --git a/test/old-elf/Inputs/tls.c b/test/old-elf/Inputs/tls.c
deleted file mode 100644
index 672350756562..000000000000
--- a/test/old-elf/Inputs/tls.c
+++ /dev/null
@@ -1,11 +0,0 @@
-extern __thread int tls0;
-extern __thread int tls1;
-extern __thread int tls2;
-
-__thread int tls0 = 0;
-__thread int tls1 = 0;
-__thread int tls2 = 1;
-
-int main() {
- return tls0 + tls1 + tls2;
-}
diff --git a/test/old-elf/Inputs/tls.x86-64 b/test/old-elf/Inputs/tls.x86-64
deleted file mode 100644
index b420ce89b19b..000000000000
--- a/test/old-elf/Inputs/tls.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/tlsAddr.x86-64 b/test/old-elf/Inputs/tlsAddr.x86-64
deleted file mode 100644
index 16cc9ab25abf..000000000000
--- a/test/old-elf/Inputs/tlsAddr.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/tlsaddr.c b/test/old-elf/Inputs/tlsaddr.c
deleted file mode 100644
index f62d57b3bfb4..000000000000
--- a/test/old-elf/Inputs/tlsaddr.c
+++ /dev/null
@@ -1,8 +0,0 @@
-__thread int tls0 = 0;
-__thread int tls1 = 0;
-__thread int tls2 = 1;
-__thread int tls3 = 2;
-
-int main() {
- return tls0 + tls1 + tls2;
-}
diff --git a/test/old-elf/Inputs/undef-from-main-so.c b/test/old-elf/Inputs/undef-from-main-so.c
deleted file mode 100644
index f1cb63db7ada..000000000000
--- a/test/old-elf/Inputs/undef-from-main-so.c
+++ /dev/null
@@ -1 +0,0 @@
-int x[2] = {1, 2};
diff --git a/test/old-elf/Inputs/undef-from-main.c b/test/old-elf/Inputs/undef-from-main.c
deleted file mode 100644
index 366d934dd84f..000000000000
--- a/test/old-elf/Inputs/undef-from-main.c
+++ /dev/null
@@ -1,5 +0,0 @@
-extern int x[2];
-
-int main() {
- x[0] = 2;
-}
diff --git a/test/old-elf/Inputs/undef-pc32.o b/test/old-elf/Inputs/undef-pc32.o
deleted file mode 100644
index 954916d59991..000000000000
--- a/test/old-elf/Inputs/undef-pc32.o
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/undef.o b/test/old-elf/Inputs/undef.o
deleted file mode 100644
index 3c9b60c6ca33..000000000000
--- a/test/old-elf/Inputs/undef.o
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/undef2-so.o.yaml b/test/old-elf/Inputs/undef2-so.o.yaml
deleted file mode 100644
index f640cea39a5d..000000000000
--- a/test/old-elf/Inputs/undef2-so.o.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
----
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
- AddressAlign: 0x0000000000000001
- Content: 554889E5488B05000000008B005DC3
- - Name: .rela.text
- Type: SHT_RELA
- Link: .symtab
- AddressAlign: 0x0000000000000008
- Info: .text
- Relocations:
- - Offset: 0x0000000000000007
- Symbol: myexportedsymbol
- Type: R_X86_64_GOTPCREL
- Addend: -4
- - Name: .data
- Type: SHT_PROGBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000001
- Content: ''
- - Name: .bss
- Type: SHT_NOBITS
- Flags: [ SHF_WRITE, SHF_ALLOC ]
- AddressAlign: 0x0000000000000001
-Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- Global:
- - Name: func
- Type: STT_FUNC
- Section: .text
- Size: 0x000000000000000F
- - Name: _GLOBAL_OFFSET_TABLE_
- - Name: myexportedsymbol
diff --git a/test/old-elf/Inputs/use-shared-32s.c b/test/old-elf/Inputs/use-shared-32s.c
deleted file mode 100644
index 63054cb036ea..000000000000
--- a/test/old-elf/Inputs/use-shared-32s.c
+++ /dev/null
@@ -1,8 +0,0 @@
-void foo();
-
-void (*func)();
-
-int main() {
- func = foo;
- func();
-}
diff --git a/test/old-elf/Inputs/use-shared-32s.x86-64 b/test/old-elf/Inputs/use-shared-32s.x86-64
deleted file mode 100644
index 7e223677b93f..000000000000
--- a/test/old-elf/Inputs/use-shared-32s.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/use-shared.c b/test/old-elf/Inputs/use-shared.c
deleted file mode 100644
index b370eaa4fac2..000000000000
--- a/test/old-elf/Inputs/use-shared.c
+++ /dev/null
@@ -1,7 +0,0 @@
-extern int i;
-void foo();
-
-int main() {
- foo();
- return i;
-}
diff --git a/test/old-elf/Inputs/use-shared.x86-64 b/test/old-elf/Inputs/use-shared.x86-64
deleted file mode 100644
index 25e1eb87a2b4..000000000000
--- a/test/old-elf/Inputs/use-shared.x86-64
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/weaksym.o b/test/old-elf/Inputs/weaksym.o
deleted file mode 100644
index 010ce704a313..000000000000
--- a/test/old-elf/Inputs/weaksym.o
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/writersyms.o b/test/old-elf/Inputs/writersyms.o
deleted file mode 100644
index 7cd472d99d77..000000000000
--- a/test/old-elf/Inputs/writersyms.o
+++ /dev/null
Binary files differ
diff --git a/test/old-elf/Inputs/x86-64-relocs.S b/test/old-elf/Inputs/x86-64-relocs.S
deleted file mode 100644
index 2547c0f19bb0..000000000000
--- a/test/old-elf/Inputs/x86-64-relocs.S
+++ /dev/null
@@ -1,12 +0,0 @@
- .text
- .globl main
- .align 16, 0x90
- .type main,@function
-main: # @main
- call foo@PLT
- ret
-
- .globl foo
- .type foo,@function
-foo:
- ret