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