binutils-gdb/ld/testsuite/ld-aarch64/gc-plt1.s
Marcus Shawcroft edb2fa9a96 2013-04-10 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
* ld-aarch64/gc-plt1.s: New file.
        * ld-aarch64/gc-plt2.s: Likewise.
        * ld-aarch64/gc-plt-hidden.s: Likewise.
        * ld-aarch64/gc-plt-main.s: Likewise.
        * ld-aarch64/gc-relocs-257.s: Likewise.
        * ld-aarch64/gc-plt-relocs.d: Update expected objdump.
        * ld-aarch64/gc-relocs-257.d: Likewise.
        * ld-aarch64/gc-relocs-257-dyn.d: Likewise.
        * ld-aarch64/aarch64-elf.exp: Add test.
2013-04-10 12:00:14 +00:00

10 lines
130 B
ArmAsm

plt_relocs:
adrp x0, :pg_hi21:var
ldr x0, [x0, :lo12:var]
adrp x1, :pg_hi21_nc:var
ldr x1, [x1, :lo12:var]
b bar
bl foo