brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.5 KiB · 2661e4e Raw
100 lines · yaml
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.o3# RUN: not %lld -o %t %t.o 2>&1 | FileCheck %s -DFILE=%t.o4#5# CHECK: error: UNSIGNED relocation has invalid width of 2 bytes at offset 1 of __TEXT,__text in [[FILE]]6 7!mach-o8FileHeader:9  magic:           0xFEEDFACF10  cputype:         0x0100000711  cpusubtype:      0x0000000312  filetype:        0x0000000113  ncmds:           414  sizeofcmds:      28015  flags:           0x0000000016  reserved:        0x0000000017LoadCommands:18  - cmd:             LC_SEGMENT_6419    cmdsize:         15220    segname:         ''21    vmaddr:          022    vmsize:          923    fileoff:         31224    filesize:        925    maxprot:         726    initprot:        727    nsects:          128    flags:           029    Sections:30      - sectname:        __text31        segname:         __TEXT32        addr:            0x000000000000000033        size:            934        offset:          0x0000013835        align:           036        reloff:          0x0000014437        nreloc:          138        flags:           0x8000000039        reserved1:       0x0000000040        reserved2:       0x0000000041        reserved3:       0x0000000042        content:         '000000000000000000'43        relocations:44          - address:         0x0000000145            symbolnum:       146            pcrel:           false47            length:          148            extern:          true49            type:            050            scattered:       false51            value:           052  - cmd:             LC_BUILD_VERSION53    cmdsize:         2454    platform:        155    minos:           65920056    sdk:             057    ntools:          058  - cmd:             LC_SYMTAB59    cmdsize:         2460    symoff:          33261    nsyms:           262    stroff:          36463    strsize:         1264  - cmd:             LC_DYSYMTAB65    cmdsize:         8066    ilocalsym:       067    nlocalsym:       068    iextdefsym:      069    nextdefsym:      270    iundefsym:       271    nundefsym:       072    tocoff:          073    ntoc:            074    modtaboff:       075    nmodtab:         076    extrefsymoff:    077    nextrefsyms:     078    indirectsymoff:  079    nindirectsyms:   080    extreloff:       081    nextrel:         082    locreloff:       083    nlocrel:         084LinkEditData:85  NameList:86    - n_strx:          187      n_type:          0x0F88      n_sect:          189      n_desc:          090      n_value:         191    - n_strx:          692      n_type:          0x0F93      n_sect:          194      n_desc:          095      n_value:         996  StringTable:97    - ''98    - _foo99    - _main100