Skip to content

Commit 41a8d9b

Browse files
[BOLT] Fix typo in adrp/add sequence (#171315)
RHEL-8 fails to link against a non-existing symbol. ld.lld: error: relocation R_AARCH64_ADD_ABS_LO12_NC cannot be used against symbol 'goo'
1 parent 3a81e03 commit 41a8d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/AArch64/safe-icf.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bar:
5252
.type random, %function
5353
random:
5454
adrp x8, foo
55-
add x8, x8, :lo12:goo
55+
add x8, x8, :lo12:foo
5656
br x8
5757
#endif
5858

0 commit comments

Comments
 (0)