1 // RUN
: llvm-mc
< %s
-triple
=aarch64-none-linux-gnu
-filetype
=obj | llvm-readobj
-r | FileCheck
%s
3 // External symbols are
a different concept to global variables but should still
4 // get relocations
and so on when used.
9 .type check_extern,@function
10 check_extern
: // @check_extern
16 str x30
, [sp
, #8] // 8-byte Folded Spill
21 ldr x30
, [sp
, #8] // 8-byte Folded Reload
25 .size check_extern, .Ltmp4-check_extern
29 // CHECK
: Relocations
[
30 // CHECK
: Section
{{.*}} .rela.text {
31 // CHECK
: 0x
{{[0-9,A-F
]+}} R_AARCH64_CALL26 memcpy