1RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-i386 \ 2RUN: | FileCheck %s -check-prefix COFF-i386 3RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-x86-64 \ 4RUN: | FileCheck %s -check-prefix COFF-x86-64 5RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-i386 \ 6RUN: | FileCheck %s -check-prefix ELF-i386 7RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-x86-64 \ 8RUN: | FileCheck %s -check-prefix ELF-x86-64 9RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-hexagon \ 10RUN: | FileCheck %s -check-prefix ELF-hexagon 11RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-mips64el \ 12RUN: | FileCheck %s -check-prefix ELF-MIPS64EL 13RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-mipsel \ 14RUN: | FileCheck %s -check-prefix ELF-MIPSEL 15 16RUN: llvm-objdump -r %p/Inputs/relocations.elf-x86-64 \ 17RUN: | FileCheck %s -check-prefix ELF-complex-x86-64 18 19COFF-i386: .text 20COFF-i386: IMAGE_REL_I386_DIR32 L_.str 21COFF-i386: IMAGE_REL_I386_REL32 _puts 22COFF-i386: IMAGE_REL_I386_REL32 _SomeOtherFunction 23 24COFF-x86-64: .text 25COFF-x86-64: IMAGE_REL_AMD64_REL32 L.str 26COFF-x86-64: IMAGE_REL_AMD64_REL32 puts 27COFF-x86-64: IMAGE_REL_AMD64_REL32 SomeOtherFunction 28 29ELF-i386: .text 30ELF-i386: R_386_32 .rodata.str1.1 31ELF-i386: R_386_PC32 puts 32ELF-i386: R_386_PC32 SomeOtherFunction 33 34ELF-x86-64: .text 35ELF-x86-64: R_X86_64_32S .rodata.str1.1 36ELF-x86-64: R_X86_64_PC32 puts 37ELF-x86-64: R_X86_64_PC32 SomeOtherFunction 38 39ELF-hexagon: .text 40ELF-hexagon: R_HEX_GOTREL_HI16 .main 41ELF-hexagon: R_HEX_GOTREL_LO16 .main 42ELF-hexagon: R_HEX_HI16 puts 43ELF-hexagon: R_HEX_LO16 puts 44ELF-hexagon: R_HEX_B15_PCREL testf 45ELF-hexagon: R_HEX_B22_PCREL puts 46 47// Note: this file was produced with gas to make sure we don't end up in a 48// situation where LLVM produces and accepts a broken file. 49ELF-MIPS64EL: .data 50ELF-MIPS64EL: R_MIPS_64/R_MIPS_NONE/R_MIPS_NONE zed 51 52ELF-MIPSEL: .rel.text 53ELF-MIPSEL: R_MIPS_HI16 _gp_disp 54ELF-MIPSEL: R_MIPS_LO16 _gp_disp 55ELF-MIPSEL: R_MIPS_GOT16 $.str 56ELF-MIPSEL: R_MIPS_LO16 $.str 57ELF-MIPSEL: R_MIPS_CALL16 puts 58ELF-MIPSEL: R_MIPS_CALL16 SomeOtherFunction 59 60ELF-complex-x86-64: .text 61ELF-complex-x86-64-NEXT: R_X86_64_8 .data-4 62ELF-complex-x86-64-NEXT: R_X86_64_16 .data-4 63ELF-complex-x86-64-NEXT: R_X86_64_32 .data-4 64ELF-complex-x86-64-NEXT: R_X86_64_32S .data-4 65ELF-complex-x86-64-NEXT: R_X86_64_64 .data-4 66ELF-complex-x86-64-NEXT: R_X86_64_PC32 .data-4-P 67ELF-complex-x86-64-NEXT: R_X86_64_32 .data+0 68ELF-complex-x86-64-NEXT: R_X86_64_32 .data+4 69