1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/MC/ELF/relocation.s
Rafael Espindola 78fc1f7f66 Produce a R_X86_64_32 when the value is >=0.
llvm-svn: 114339
2010-09-20 19:20:47 +00:00

13 lines
332 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck %s
// Test that we produce a R_X86_64_32.
.long Lset1
// CHECK: # Relocation 0
// CHECK-NEXT: (('r_offset', 0)
// CHECK-NEXT: ('r_sym', 4)
// CHECK-NEXT: ('r_type', 10)
// CHECK-NEXT: ('r_addend', 0)