diff options
Diffstat (limited to 'test/ELF/relocation-copy-alias.s')
-rw-r--r-- | test/ELF/relocation-copy-alias.s | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/ELF/relocation-copy-alias.s b/test/ELF/relocation-copy-alias.s index 15712e39bc93..f2251bbeefc2 100644 --- a/test/ELF/relocation-copy-alias.s +++ b/test/ELF/relocation-copy-alias.s @@ -1,8 +1,10 @@ // REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/relocation-copy-alias.s -o %t2.o -// RUN: ld.lld -shared %t2.o -o %t.so -// RUN: ld.lld %t.o %t.so -o %t3 +// RUN: ld.lld --hash-style=sysv -shared %t2.o -o %t.so +// RUN: ld.lld --hash-style=sysv %t.o %t.so -o %t3 +// RUN: llvm-readobj --dyn-symbols -r --expand-relocs %t3 | FileCheck %s +// RUN: ld.lld --hash-style=sysv --gc-sections %t.o %t.so -o %t3 // RUN: llvm-readobj --dyn-symbols -r --expand-relocs %t3 | FileCheck %s .global _start @@ -61,7 +63,7 @@ movl $5, b2 // CHECK: Name: b3 // CHECK-NEXT: Value: [[B]] // CHECK-NEXT: Size: 1 -// CHECK-NEXT: Binding: Weak +// CHECK-NEXT: Binding: Global // CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Other: 0 // CHECK-NEXT: Section: .bss |