Make it possible for the MCObjectWriter to decide if a given fixup is fully
[oota-llvm.git] / test / MC / ELF / relocation.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  --dump-section-data | FileCheck  %s
2
3 // Test that we produce a R_X86_64_32.
4
5         .long   Lset1
6
7
8 // CHECK: # Relocation 0
9 // CHECK-NEXT:  (('r_offset', 0)
10 // CHECK-NEXT:   ('r_sym', 4)
11 // CHECK-NEXT:   ('r_type', 10)
12 // CHECK-NEXT:   ('r_addend', 0)