brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · e55f4e9 Raw
76 lines · yaml
1# RUN: yaml2obj %s | llvm-readobj --sections -r - | FileCheck %s2 3!ELF4FileHeader:        !FielHeader5  Class:           ELFCLASS326  Data:            ELFDATA2LSB7  Type:            ET_REL8  Machine:         EM_ARM9  Flags:           [ EF_ARM_EABI_VER5 ]10Sections:        11  - Name:            .text12    Type:            SHT_PROGBITS13    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]14    AddressAlign:    0x000000000000000415    Content:         03308FE0022093E7000052E31EFF2F0116  - Name:            .rel.text17    Type:            SHT_REL18    Flags:           [ SHF_INFO_LINK ]19    Link:            .symtab20    AddressAlign:    0x000000000000000421    Info:            .text22    Relocations:     23      - Offset:          0x000000000000000C24        Type:            R_ARM_V4BX25  - Name:            .data26    Type:            SHT_PROGBITS27    Flags:           [ SHF_WRITE, SHF_ALLOC ]28    AddressAlign:    0x000000000000000129    Content:         ''30  - Name:            .bss31    Type:            SHT_NOBITS32    Flags:           [ SHF_WRITE, SHF_ALLOC ]33    AddressAlign:    0x000000000000000134    Size:            035  - Name:            .ARM.attributes36    Type:            SHT_ARM_ATTRIBUTES37    AddressAlign:    0x000000000000000138    Content:         4115000000616561626900010B00000006020801090139Symbols:40  - Name:            .text41    Type:            STT_SECTION42    Section:         .text43  - Name:            .data44    Type:            STT_SECTION45    Section:         .data46  - Name:            .bss47    Type:            STT_SECTION48    Section:         .bss49  - Name:            '$a'50    Section:         .text51  - Name:            call_weak_fn52    Type:            STT_FUNC53    Section:         .text54  - Name:            .ARM.attributes55    Type:            STT_SECTION56    Section:         .ARM.attributes57 58# CHECK:        Section {59# CHECK-NEXT:     Index: 060# CHECK:        }61# CHECK:        Section {62# CHECK-NEXT:     Index: 163# CHECK-NEXT:     Name: .text (5)64# CHECK:        }65# CHECK-NEXT:   Section {66# CHECK-NEXT:     Index: 267# CHECK-NEXT:     Name: .rel.text (1)68# CHECK-NEXT:     Type: SHT_REL (0x9)69# CHECK-NEXT:     Flags [ (0x40)70# CHECK:	}71# CHECK:        Relocations [72# CHECK-NEXT:     Section (2) .rel.text {73# CHECK-NEXT:       0xC R_ARM_V4BX -74# CHECK-NEXT:     }75# CHECK-NEXT:   ]76