1RUN: llvm-readobj -r %p/Inputs/relocs.obj.elf-i386 --elf-output-style=GNU \ 2RUN: | FileCheck %s -check-prefix ELF32 3RUN: llvm-readobj -r %p/Inputs/relocs.obj.elf-x86_64 --elf-output-style=GNU \ 4RUN: | FileCheck %s -check-prefix ELF64 5 6ELF32: Relocation section '.rel.text' at offset 0x318 contains 41 entries: 7ELF32-NEXT: Offset Info Type Sym. Value Symbol's Name 8ELF32-NEXT: 00000002 00000500 R_386_NONE 00000000 sym 9ELF32-NEXT: 00000008 00000501 R_386_32 00000000 sym 10ELF32-NEXT: 0000000e 00000502 R_386_PC32 00000000 sym 11ELF32-NEXT: 00000014 00000503 R_386_GOT32 00000000 sym 12ELF32-NEXT: 0000001a 00000504 R_386_PLT32 00000000 sym 13ELF32-NEXT: 00000020 00000505 R_386_COPY 00000000 sym 14ELF32-NEXT: 00000026 00000506 R_386_GLOB_DAT 00000000 sym 15ELF32-NEXT: 0000002c 00000507 R_386_JUMP_SLOT 00000000 sym 16ELF32-NEXT: 00000032 00000508 R_386_RELATIVE 00000000 sym 17ELF32-NEXT: 00000038 00000509 R_386_GOTOFF 00000000 sym 18 19ELF64: Relocation section '.rela.text' at offset 0x430 contains 38 entries: 20ELF64-NEXT: Offset Info Type Symbol's Value Symbol's Name + Addend 21ELF64-NEXT: 0000000000000003 0000000500000000 R_X86_64_NONE 0000000000000000 sym - 4 22ELF64-NEXT: 000000000000000a 0000000500000001 R_X86_64_64 0000000000000000 sym - 4 23ELF64-NEXT: 0000000000000011 0000000500000002 R_X86_64_PC32 0000000000000000 sym - 4 24ELF64-NEXT: 0000000000000018 0000000500000003 R_X86_64_GOT32 0000000000000000 sym - 4 25ELF64-NEXT: 000000000000001f 0000000500000004 R_X86_64_PLT32 0000000000000000 sym - 4 26ELF64-NEXT: 0000000000000026 0000000500000005 R_X86_64_COPY 0000000000000000 sym - 4 27ELF64-NEXT: 000000000000002d 0000000500000006 R_X86_64_GLOB_DAT 0000000000000000 sym - 4 28ELF64-NEXT: 0000000000000034 0000000500000007 R_X86_64_JUMP_SLOT 0000000000000000 sym - 4 29