LLVM ARM64 assembly: Getting a symbol/label address?
问题 I am porting some 32-bit ARM code to 64-bit and am having trouble determining the 64-bit version of this instruction: ldr r1, =_fns Where _fns is a symbol defined in some C source file elsewhere in the project. I've tried the below but both give errors: adr x1, _fns <== "error: unknown AArch64 fixup kind!" adrl x1, _fns <== "error: unrecognized instruction mnemonic" The assembler is LLVM in the iOS SDK (XCode 7.1). I've noticed that if _fns is locally defined (i.e. in the same .S file) then