File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
# RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/shared2.s -o %t.so.o
4
4
# RUN: ld.lld -shared %t.so.o -soname=so -o %t.so
5
5
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
6
- # RUN: not ld.lld -pie %t.o %t.so -o %t2 2>&1 | FileCheck -DFILE=%t %s
6
+ # RUN: not ld.lld -pie %t.o %t.so -o %t2 2>&1 | FileCheck -DFILE=%t %s --implicit-check-not=error:
7
7
8
8
# CHECK: error: relocation R_AARCH64_AUTH_ABS64 cannot be used against symbol 'zed2'; recompile with -fPIC
9
9
# CHECK-NEXT: >>> defined in [[FILE]].so
Original file line number Diff line number Diff line change 43
43
44
44
# PIE: Section Headers:
45
45
# PIE-NEXT: Name Type Address Off Size ES Flg Lk Inf Al
46
- # PIE: .rela.dyn RELA {{0*}}[[ADDR1:.*]] {{0*}}[[ADDR1]] 000108 18 A 1 0 8
46
+ # PIE: .rela.dyn RELA {{0*}}[[#%x,ADDR1:]]
47
+ # PIE-SAME: {{0*}}[[#ADDR1]] 000108 18 A 1 0 8
47
48
48
- # PIE: Relocation section '.rela.dyn' at offset 0x[[ADDR1]] contains 11 entries:
49
+ # PIE: Relocation section '.rela.dyn' at offset 0x[[# ADDR1]] contains 11 entries:
49
50
# PIE-NEXT: Offset Info Type Symbol's Value Symbol's Name + Addend
50
51
# PIE-NEXT: 0000000000030470 0000000000000411 R_AARCH64_AUTH_RELATIVE 1
51
52
# PIE-NEXT: 0000000000030478 0000000000000411 R_AARCH64_AUTH_RELATIVE 30472
You can’t perform that action at this time.
0 commit comments