Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bcea722

Browse files
[BOLT] Fix label in epilogue-determination.s test (#174960)
On RHEL8 we get the following error that may originate from the changed typo: ``` clang: warning: argument unused during compilation: '-ffreestanding' [-Wunused-command-line-argument] ld.lld: error: relocation R_AARCH64_ADR_PREL_LO21 cannot be used against symbol '_jmptbl2'; recompile with -fPIC >>> defined in /tmp/epilogue-determination-7bd9d4.o >>> referenced by /tmp/epilogue-determination-7bd9d4.o:(.text+0x54) clang: error: linker command failed with exit code 1 (use -v to see invocation) ```
1 parent d6d5c5f commit bcea722

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bolt/test/AArch64/epilogue-determination.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ _L2:
4848
.type _goo, %function
4949
_goo:
5050
ldr w8, [sp]
51-
adr x10, _jmptbl2
51+
adr x10, _jmptbl
5252
ldrsw x9, [x10, x9, lsl #2]
5353
add x10, x10, x9
5454
str x30, [sp, #-0x10]!

0 commit comments

Comments
 (0)