brintos

brintos / llvm-project-archived public Read only

0
0
Text · 814 B · 8921fbd Raw
30 lines · plain
1# REQUIRES: aarch642# RUN: yaml2obj %s -o %t.o3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s4# CHECK: error: unknown relocation (1024) against symbol foo5# CHECK: error: unknown relocation (1025) against symbol foo6 7!ELF8FileHeader:9  Class:           ELFCLASS6410  Data:            ELFDATA2LSB11  Type:            ET_REL12  Machine:         EM_AARCH6413Sections:14  - Name:            .text15    Type:            SHT_PROGBITS16    Flags:           [ SHF_ALLOC ]17  - Name:            .rela.text18    Type:            SHT_RELA19    Link:            .symtab20    Info:            .text21    Relocations:22      - Symbol:          foo23        Type:            0x40024      - Symbol:          foo25        Type:            0x40126Symbols:27  - Name:            foo28    Section:         .text29    Binding:         STB_GLOBAL30