From 6e4dc6f23f0e755b29b1e9bba76632a536f5f534 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Fri, 30 Nov 2018 05:43:39 +0000 Subject: [llvm-objcopy] Move elf-specific tests into subfolder In this diff the elf-specific tests are moved into the subfolder llvm-objcopy/ELF (the change was discussed in the comments on https://reviews.llvm.org/D54674). A separate code reivew wasn't sent for this change since Phabricator is failing to create such a large diff. Test plan: make check-all make check-llvm-tools make check-llvm-tools-llvm-objcopy llvm-svn: 347958 --- .../llvm-objcopy/reloc-error-remove-symtab.test | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test (limited to 'llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test') diff --git a/llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test b/llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test deleted file mode 100644 index 539e6ea1ce1..00000000000 --- a/llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test +++ /dev/null @@ -1,32 +0,0 @@ -# RUN: yaml2obj %s > %t -# RUN: not llvm-objcopy -R .symtab %t %t2 2>&1 >/dev/null | FileCheck %s - -!ELF -FileHeader: - Class: ELFCLASS64 - Data: ELFDATA2LSB - Type: ET_REL - Machine: EM_X86_64 -Sections: - - Name: .text - Type: SHT_PROGBITS - Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - Address: 0x1000 - AddressAlign: 0x0000000000000010 - Content: "0000000000000000" - - Name: .rel.text - Type: SHT_REL - Link: .symtab - Info: .text - Relocations: - - Offset: 0x1000 - Symbol: foo - Type: R_X86_64_PC32 - -Symbols: - Global: - - Name: foo - Type: STT_FUNC - Size: 4 - -# CHECK: Symbol table .symtab cannot be removed because it is referenced by the relocation section .rel.text. -- cgit v1.2.3