Differential D36495 Diff 110299 test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_PIC_relocations.s
Changeset View
Changeset View
Standalone View
Standalone View
test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_PIC_relocations.s
# RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o %T/pic-reloc.o %s | # RUN: rm -rf %t && mkdir -p %t | ||||
# RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -check=%s %T/pic-reloc.o \ | # RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o %t/pic-reloc.o %s | ||||
# RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -check=%s %t/pic-reloc.o \ | |||||
# RUN: -map-section pic-reloc.o,.got=0x20000 -dummy-extern f=0x1234 -dummy-extern g=0x5678 | # RUN: -map-section pic-reloc.o,.got=0x20000 -dummy-extern f=0x1234 -dummy-extern g=0x5678 | ||||
_s: | _s: | ||||
nop | nop | ||||
_a1: | _a1: | ||||
adrp x8, :got:f | adrp x8, :got:f | ||||
_a2: | _a2: | ||||
adrp x9, :got:g | adrp x9, :got:g | ||||
Show All 36 Lines |