Files
clang-p2996/lld/test/ELF/version-script-twice.s
Fangrui Song 4672e52e22 [llvm-readobj] llvm-readobj --elf-output-style=GNU => llvm-readelf
While updating the test, change -l -S to -S -l as the output of -S goes
before -l.

llvm-svn: 359653
2019-05-01 06:02:16 +00:00

19 lines
454 B
ArmAsm

# REQUIRES: x86
# RUN: echo "FBSD_1.1 {}; FBSD_1.2 {};" > %t.ver
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t.so --version-script=%t.ver
# RUN: llvm-readelf --dyn-symbols %t.so | FileCheck %s
.weak openat
openat:
.global openat@FBSD_1.1
openat@FBSD_1.1 = openat
.global openat@@FBSD_1.2
openat@@FBSD_1.2 = openat
# CHECK-DAG: openat@FBSD_1.1
# CHECK-DAG: openat@@FBSD_1.2