1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -h -s -r -t | FileCheck %s
18 .size main, .Ltmp0-main
20 .type .L.str1,@object # @.str1
21 .section .rodata.str1.1,"aMS",@progbits,1
26 .type .L.str2,@object # @.str2
31 .section .note.GNU-stack,"",@progbits
34 // CHECK: Class: 64-bit
35 // CHECK: DataEncoding: LittleEndian
36 // CHECK: FileVersion: 1
45 // CHECK: Name: .rela.text
47 // CHECK: Relocations [
48 // CHECK: Section {{.*}} .rela.text {
49 // CHECK: 0x5 R_X86_64_32 .rodata.str1.1 0x0
50 // CHECK: 0xA R_X86_64_PC32 puts 0xFFFFFFFFFFFFFFFC
51 // CHECK: 0xF R_X86_64_32 .rodata.str1.1 0x6
52 // CHECK: 0x14 R_X86_64_PC32 puts 0xFFFFFFFFFFFFFFFC
57 // CHECK: Binding: Local
58 // CHECK: Type: Section
62 // CHECK: Binding: Global
63 // CHECK: Type: Function
68 // CHECK: Binding: Global