brintos

brintos / llvm-project-archived public Read only

0
0
Text · 953 B · ff46727 Raw
37 lines · plain
1# REQUIRES: arm2# RUN: yaml2obj %s -o %t.o3# RUN: ld.lld %t.o -o %t4# RUN: llvm-readelf -S %t | FileCheck %s5# RUN: ld.lld -shared %t.o -o %t6# RUN: llvm-readelf -S %t | FileCheck %s7 8# CHECK: .text9 10--- !ELF11FileHeader:12  Class:           ELFCLASS3213  Data:            ELFDATA2LSB14  Type:            ET_REL15  Machine:         EM_ARM16  Flags:           [ EF_ARM_EABI_VER5 ]17Sections:18  - Name:            .text19    Type:            SHT_PROGBITS20    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]21    AddressAlign:    0x000000000000000422    Content:         1EFF2F0123  - Name:            .rel.text24    Type:            SHT_REL25    Link:            .symtab26    AddressAlign:    0x000000000000000427    Info:            .text28    Relocations:29      - Type:        R_ARM_V4BX30Symbols:31  - Name:            .text32    Type:            STT_SECTION33    Section:         .text34  - Name:            _start35    Section:         .text36    Binding:         STB_GLOBAL37