1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that this produces a R_X86_64_PLT32 with bar.
8 .section zed, "", @progbits
11 // CHECK: # Symbol 0x00000001
12 // CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
13 // CHECK-NEXT: ('st_bind', 0x00000000)
14 // CHECK-NEXT: ('st_type', 0x00000000)
15 // CHECK-NEXT: ('st_other', 0x00000000)
16 // CHECK-NEXT: ('st_shndx', 0x00000001)
17 // CHECK-NEXT: ('st_value', 0x00000000)
18 // CHECK-NEXT: ('st_size', 0x00000000)
21 // CHECK: # Relocation 0x00000000
22 // CHECK-NEXT: (('r_offset', 0x00000001)
23 // CHECK-NEXT: ('r_sym', 0x00000001)
24 // CHECK-NEXT: ('r_type', 0x00000004)
25 // CHECK-NEXT: ('r_addend', 0xfffffffc)