summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test
diff options
context:
space:
mode:
authorJake Ehrlich <jakehehrlich@google.com>2017-10-10 18:32:22 +0000
committerJake Ehrlich <jakehehrlich@google.com>2017-10-10 18:32:22 +0000
commitc5ff72708d232079e1c2099165584cf8d03e1c7e (patch)
tree8271c157e974cec8a6b0ba96696b6781f68db83e /llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test
parent77ec1ffe5c8046e24e3cd2a5d27f7497badea741 (diff)
downloadbcm5719-llvm-c5ff72708d232079e1c2099165584cf8d03e1c7e.tar.gz
bcm5719-llvm-c5ff72708d232079e1c2099165584cf8d03e1c7e.zip
Revert "temporary"
I forgot to add a proper commit message. I'm reverting this to fix that. This reverts commit r315344. llvm-svn: 315345
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test54
1 files changed, 0 insertions, 54 deletions
diff --git a/llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test b/llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test
deleted file mode 100644
index 5695abd3388..00000000000
--- a/llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test
+++ /dev/null
@@ -1,54 +0,0 @@
-# RUN: yaml2obj %s > %t
-# RUN: llvm-objcopy -R .test %t %t2
-# RUN: llvm-readobj -file-headers -symbols %t2 | FileCheck %s
-
-!ELF
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .test
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC ]
- - Name: .test2
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC ]
-Symbols:
- Global:
- - Name: test
- Type: STT_FUNC
- Section: .test
- Value: 0x1000
- Size: 4
- - Name: test2
- Type: STT_FUNC
- Section: .test2
- Value: 0x1000
- Size: 4
-
-# The remianing sections should be the null section, .test2, .symtab, .strtab,
-# and .shstrtab.
-#CHECK: SectionHeaderCount: 5
-
-#CHECK: Symbols [
-#CHECK-NEXT: Symbol {
-#CHECK-NEXT: Name:
-#CHECK-NEXT: Value: 0x0
-#CHECK-NEXT: Size: 0
-#CHECK-NEXT: Binding: Local
-#CHECK-NEXT: Type: None
-#CHECK-NEXT: Other: 0
-#CHECK-NEXT: Section: Undefined
-#CHECK-NEXT: }
-#CHECK-NEXT: Symbol {
-#CHECK-NEXT: Name: test2
-#CHECK-NEXT: Value: 0x1000
-#CHECK-NEXT: Size: 4
-#CHECK-NEXT: Binding: Global
-#CHECK-NEXT: Type: Function
-#CHECK-NEXT: Other: 0
-#CHECK-NEXT: Section: .test2
-#CHECK-NEXT: }
-#CHECK-NEXT:]
OpenPOWER on IntegriCloud