[PowerPC] Eliminate compares - add i32 sext/zext handling for SETULT/SETUGT
[llvm-core.git] / test / MC / ELF / weakref-reloc.s
blobbaf80060c433629b010a140390e1ff9113d4f252
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | 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_PC32 foo 0xFFFFFFFFFFFFFFFC
13 // CHECK-NEXT: }
14 // CHECK-NEXT: ]