mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[Object][test] - Remove readobj-elf-versioning.test and support files.
`readobj-elf-versioning.test` was added in rL152436 and checks how llvm-readobj --dyn-syms prints versioned symbols. We test the same in `llvm-readobj\ELF\dyn-symbols.test` currently. This patch removes the test and 4 more support files from Inputs. Differential revision: https://reviews.llvm.org/D73163
This commit is contained in:
parent
950913020f
commit
fe807854dd
Binary file not shown.
Binary file not shown.
@ -1,31 +0,0 @@
|
||||
# Compile with:
|
||||
# ARGS="-shared -nostdlib -Wl,--version-script=elfver.script"
|
||||
# clang $ARGS -m32 elfver.S -lc -o elf-versioning-test.i386
|
||||
# clang $ARGS -m64 elfver.S -lc -o elf-versioning-test.x86_64
|
||||
|
||||
# Also, strip off non-dynamic symbols:
|
||||
# strip elf-versioning-test.i386
|
||||
# strip elf-versioning-test.x86_64
|
||||
|
||||
#ifdef __i386__
|
||||
.symver _puts, puts@GLIBC_2.0
|
||||
#else
|
||||
.symver _puts, puts@GLIBC_2.2.5
|
||||
#endif
|
||||
call _puts@PLT
|
||||
|
||||
.symver foo1, foo@VER1
|
||||
.globl foo1
|
||||
.type foo1, @function
|
||||
foo1:
|
||||
ret
|
||||
|
||||
.symver foo2, foo@@VER2
|
||||
.globl foo2
|
||||
.type foo2, @function
|
||||
foo2:
|
||||
ret
|
||||
|
||||
.globl unversioned_define
|
||||
.type unversioned_define, @function
|
||||
unversioned_define:
|
@ -1,10 +0,0 @@
|
||||
VER1 {
|
||||
global:
|
||||
foo;
|
||||
};
|
||||
|
||||
VER2 {
|
||||
global:
|
||||
foo;
|
||||
} VER1;
|
||||
|
@ -1,46 +0,0 @@
|
||||
RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.i386 \
|
||||
RUN: | FileCheck %s -check-prefix ELF
|
||||
RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.i386 \
|
||||
RUN: | FileCheck %s -check-prefix ELF32
|
||||
RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.x86_64 \
|
||||
RUN: | FileCheck %s -check-prefix ELF
|
||||
RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.x86_64 \
|
||||
RUN: | FileCheck %s -check-prefix ELF64
|
||||
|
||||
ELF: DynamicSymbols [
|
||||
ELF: Symbol {
|
||||
ELF: Name: foo@@VER2
|
||||
ELF: Binding: Global
|
||||
ELF: Type: Function
|
||||
ELF: Section: .text
|
||||
ELF: }
|
||||
ELF: Symbol {
|
||||
ELF: Name: foo@VER1
|
||||
ELF: Binding: Global
|
||||
ELF: Type: Function
|
||||
ELF: Section: .text
|
||||
ELF: }
|
||||
ELF: Symbol {
|
||||
ELF: Name: unversioned_define
|
||||
ELF: Binding: Global
|
||||
ELF: Type: Function
|
||||
ELF: Section: .text
|
||||
ELF: }
|
||||
ELF: ]
|
||||
|
||||
ELF32: DynamicSymbols [
|
||||
ELF32: Symbol {
|
||||
ELF32: Name: puts@GLIBC_2.0
|
||||
ELF32: Binding: Global
|
||||
ELF32: Type: Function
|
||||
ELF32: Section: Undefined (0x0)
|
||||
ELF32: }
|
||||
ELF32: ]
|
||||
ELF64: DynamicSymbols [
|
||||
ELF64: Symbol {
|
||||
ELF64: Name: puts@GLIBC_2.2.5
|
||||
ELF64: Binding: Global
|
||||
ELF64: Type: Function
|
||||
ELF64: Section: Undefined (0x0)
|
||||
ELF64: }
|
||||
ELF64: ]
|
Loading…
x
Reference in New Issue
Block a user