Displaying 1 result from an estimated 1 matches for "abs_g3".
2014 Jun 20
2
[LLVMdev] [AArch64] Question about far call
...error from ld:
a.c:(.text+0x8): relocation truncated to fit: R_AARCH64_CALL26 against
symbol `foo' define in *ABS* section in a.exe
The question is: do I miss some options or pragmas during compilation ?
Should I expect llvm to emit the following code?
movz x8, #:abs_g3:foo
movk x8, #:abs_g2_nc:foo
movk x8, #:abs_g1_nc:foo
movk x8, #:abs_g0_nc:foo
ldr x8, [x8]
blr x8
or I miss some flag during linking?
PS. The above test works fine with arm v7...