2 // RUN
: llvm-mc
-filetype
=obj
-triple
=aarch64-none-linux
%s
-o
%t.o
4 // Creates
a R_AARCH64_ABS64 relocation against foo
and bar
16 // RUN
: ld.lld
-shared
-o
%t.so
%t.o
17 // RUN
: llvm-readobj
--symbols
--dyn-relocations
%t.so | FileCheck
%s
19 // CHECK
: Dynamic Relocations
{
20 // CHECK-NEXT
: {{.*}} R_AARCH64_RELATIVE - [[BAR_ADDR:.*]]
21 // CHECK-NEXT
: {{.*}} R_AARCH64_ABS64 foo 0x0
27 // CHECK-NEXT
: Value
: [[BAR_ADDR
]]