brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 25a6b9e Raw
40 lines · plain
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.o3# RUN: not ld.lld --gdb-index %t.o -o /dev/null 2>&1 | FileCheck %s4 5# CHECK: error: {{.*}}invalid-debug-relocations.test.tmp.o:(.debug_info+0x0): unknown relocation (255) against symbol _start6 7!ELF8FileHeader:9  Class:           ELFCLASS3210  Data:            ELFDATA2LSB11  Type:            ET_REL12  Machine:         EM_38613Sections:14  - Type:            SHT_PROGBITS15    Name:            .text16    Flags:           [ ]17    AddressAlign:    0x0418    Content:         "0000"19  - Type:            SHT_PROGBITS20    Name:            .debug_info21    Flags:           [ ]22    AddressAlign:    0x0423    Content:         "0000"24  - Type:            SHT_REL25    Name:            .rel.debug_info26    Link:            .symtab27    Info:            .debug_info28    Relocations:29      - Symbol:          _start30        Type:            0xFF31      - Offset:          432        Symbol:          _start33        Type:            0xFF34Symbols:35  - Name:     _start36    Type:     STT_FUNC37    Section:  .text38    Value:    0x039    Binding:  STB_GLOBAL40