[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ELF / weakref-reloc.s
blobf82c29b2fbfc6ec1d0b7b26868a26c6086236c35
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
3 // Test that the relocations point to the correct symbols.
5 .weakref bar,foo
6 call zed@PLT
7 call bar
9 // CHECK: Relocations [
10 // CHECK-NEXT: Section ({{[0-9]+}}) {{[^ ]+}} {
11 // CHECK-NEXT: 0x1 R_X86_64_PLT32 zed 0xFFFFFFFFFFFFFFFC
12 // CHECK-NEXT: 0x6 R_X86_64_PLT32 foo 0xFFFFFFFFFFFFFFFC
13 // CHECK-NEXT: }
14 // CHECK-NEXT: ]