[lld] r265784 - [lld] [ELF/AARCH64] Fix dynamic relocation from PIC GOT access

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 15:14:52 PDT 2016


> +.globl _start
> +_start:
> +  adrp x0, :got:bar
> +  ldr  x0, [x0, :got_lo12:bar]

nit: you don't need the _start since you are using -shared.

Cheers,
Rafael


More information about the llvm-commits mailing list