• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r | FileCheck %s
2        .global sym
3        .type sym, @gnu_indirect_function
4alias:
5        .global alias
6        .type alias, @function
7        .set sym, alias
8
9
10        callq sym
11
12// CHECK: Relocations [
13// CHECK-NEXT:   Section {{.*}} .rela.text {
14// CHECK-NEXT:     0x1 R_X86_64_PC32 sym 0xFFFFFFFFFFFFFFFC
15// CHECK-NEXT:   }
16// CHECK-NEXT: ]
17