reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
## Test that hexagon machine-specific tags can be dumped.
# RUN: yaml2obj --docnum=1 -o %t.hex \
# RUN:          %S/../llvm-readobj/Inputs/elf-dynamic-tags-machine-specific.yaml
# RUN: llvm-objdump -p %t.hex | FileCheck %s --check-prefix=HEXAGON

# HEXAGON:      Dynamic Section:
# HEXAGON-NEXT:   HASH                 0x0000000000001000
# HEXAGON-NEXT:   HEXAGON_SYMSZ        0x0000000000000010
# HEXAGON-NEXT:   HEXAGON_VER          0x0000000000001000
# HEXAGON-NEXT:   HEXAGON_PLT          0x0000000000001000
# HEXAGON-NEXT:   <unknown:>0x1234abcd 0x0000000000000001


## Test that MIPS machine-specific tags can be dumped.
# RUN: yaml2obj --docnum=2 -o %t.mips \
# RUN:          %S/../llvm-readobj/Inputs/elf-dynamic-tags-machine-specific.yaml
# RUN: llvm-objdump -p %t.mips | FileCheck %s --check-prefix=MIPS

# MIPS:      Dynamic Section:
# MIPS-NEXT:   HASH                 0x0000000000001000
# MIPS-NEXT:   MIPS_RLD_VERSION     0x0000000012345678
# MIPS-NEXT:   MIPS_TIME_STAMP      0x0000000011223344
# MIPS-NEXT:   MIPS_ICHECKSUM       0x0000000011112222
# MIPS-NEXT:   MIPS_IVERSION        0x0000000000000001
# MIPS-NEXT:   MIPS_FLAGS           0x0000000011111111
# MIPS-NEXT:   MIPS_BASE_ADDRESS    0x0000000087654321
# MIPS-NEXT:   MIPS_MSYM            0x0000000000001000
# MIPS-NEXT:   MIPS_CONFLICT        0x0000000000001000
# MIPS-NEXT:   MIPS_LIBLIST         0x0000000000001000
# MIPS-NEXT:   MIPS_LOCAL_GOTNO     0x0000000000000001
# MIPS-NEXT:   MIPS_CONFLICTNO      0x0000000000000001
# MIPS-NEXT:   MIPS_LIBLISTNO       0x0000000000000001
# MIPS-NEXT:   MIPS_SYMTABNO        0x0000000000000001
# MIPS-NEXT:   MIPS_UNREFEXTNO      0x0000000000000000
# MIPS-NEXT:   MIPS_GOTSYM          0x0000000000000000
# MIPS-NEXT:   MIPS_HIPAGENO        0x0000000088776655
# MIPS-NEXT:   MIPS_RLD_MAP         0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_CLASS     0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_CLASS_NO  0x0000000000000001
# MIPS-NEXT:   MIPS_DELTA_INSTANCE  0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_INSTANCE_NO0x0000000000000001
# MIPS-NEXT:   MIPS_DELTA_RELOC     0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_RELOC_NO  0x0000000000000001
# MIPS-NEXT:   MIPS_DELTA_SYM       0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_SYM_NO    0x0000000000000001
# MIPS-NEXT:   MIPS_DELTA_CLASSSYM  0x0000000000001000
# MIPS-NEXT:   MIPS_DELTA_CLASSSYM_NO0x0000000000000001
# MIPS-NEXT:   MIPS_CXX_FLAGS       0x0000000088887777
# MIPS-NEXT:   MIPS_PIXIE_INIT      0x0000000000001000
# MIPS-NEXT:   MIPS_LOCALPAGE_GOTIDX0x0000000000000001
# MIPS-NEXT:   MIPS_LOCAL_GOTIDX    0x0000000000000001
# MIPS-NEXT:   MIPS_HIDDEN_GOTIDX   0x0000000000000001
# MIPS-NEXT:   MIPS_PROTECTED_GOTIDX0x0000000000000001
# MIPS-NEXT:   MIPS_OPTIONS         0x0000000000001000
# MIPS-NEXT:   MIPS_INTERFACE       0x0000000000001000
# MIPS-NEXT:   MIPS_DYNSTR_ALIGN    0x0000000088888888
# MIPS-NEXT:   MIPS_INTERFACE_SIZE  0x0000000000000010
# MIPS-NEXT:   MIPS_RLD_TEXT_RESOLVE_ADDR0x0000000000000008
# MIPS-NEXT:   MIPS_PERF_SUFFIX     0x0000000000000000
# MIPS-NEXT:   MIPS_COMPACT_SIZE    0x0000000000000010
# MIPS-NEXT:   MIPS_GP_VALUE        0x0000000000000001
# MIPS-NEXT:   MIPS_AUX_DYNAMIC     0x0000000000001000
# MIPS-NEXT:   MIPS_PLTGOT          0x0000000000001000
# MIPS-NEXT:   MIPS_RWPLT           0x0000000000001000
# MIPS-NEXT:   MIPS_RLD_MAP_REL     0x0000000000001000
# MIPS-NEXT:   <unknown:>0x1234abcd 0x0000000000000001


## Test that PPC machine-specific tags can be dumped.
# RUN: yaml2obj --docnum=3 -o %t.ppc \
# RUN:          %S/../llvm-readobj/Inputs/elf-dynamic-tags-machine-specific.yaml
# RUN: llvm-objdump -p %t.ppc | FileCheck %s --check-prefix=PPC

# PPC:      Dynamic Section:
# PPC-NEXT:   PPC_GOT              0x000200c0
# PPC-NEXT:   PPC_OPT              0x00000001
# PPC-NEXT:   <unknown:>0x1234abcd 0x00000001


## Test that PPC64 machine-specific tags can be dumped.
# RUN: yaml2obj --docnum=4 -o %t.ppc64 \
# RUN:          %S/../llvm-readobj/Inputs/elf-dynamic-tags-machine-specific.yaml
# RUN: llvm-objdump -p %t.ppc64 | FileCheck %s --check-prefix=PPC64

# PPC64:      Dynamic Section:
# PPC64-NEXT:   HASH                 0x0000000000001000
# PPC64-NEXT:   PPC64_GLINK          0x0000000000001000
# PPC64-NEXT:   <unknown:>0x1234abcd 0x0000000000000001