File: yaml2obj-elf-rel-noref.yaml

package info (click to toggle)
llvm-toolchain-19 1%3A19.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,998,520 kB
  • sloc: cpp: 6,951,680; ansic: 1,486,157; asm: 913,598; python: 232,024; f90: 80,126; objc: 75,281; lisp: 37,276; pascal: 16,990; sh: 10,009; ml: 5,058; perl: 4,724; awk: 3,523; makefile: 3,167; javascript: 2,504; xml: 892; fortran: 664; cs: 573
file content (75 lines) | stat: -rw-r--r-- 2,312 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# RUN: yaml2obj %s | llvm-readobj --sections -r - | FileCheck %s

!ELF
FileHeader:        !FielHeader
  Class:           ELFCLASS32
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_ARM
  Flags:           [ EF_ARM_EABI_VER5 ]
Sections:        
  - Name:            .text
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
    AddressAlign:    0x0000000000000004
    Content:         03308FE0022093E7000052E31EFF2F01
  - Name:            .rel.text
    Type:            SHT_REL
    Flags:           [ SHF_INFO_LINK ]
    Link:            .symtab
    AddressAlign:    0x0000000000000004
    Info:            .text
    Relocations:     
      - Offset:          0x000000000000000C
        Type:            R_ARM_V4BX
  - Name:            .data
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    AddressAlign:    0x0000000000000001
    Content:         ''
  - Name:            .bss
    Type:            SHT_NOBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    AddressAlign:    0x0000000000000001
    Size:            0
  - Name:            .ARM.attributes
    Type:            SHT_ARM_ATTRIBUTES
    AddressAlign:    0x0000000000000001
    Content:         4115000000616561626900010B000000060208010901
Symbols:
  - Name:            .text
    Type:            STT_SECTION
    Section:         .text
  - Name:            .data
    Type:            STT_SECTION
    Section:         .data
  - Name:            .bss
    Type:            STT_SECTION
    Section:         .bss
  - Name:            '$a'
    Section:         .text
  - Name:            call_weak_fn
    Type:            STT_FUNC
    Section:         .text
  - Name:            .ARM.attributes
    Type:            STT_SECTION
    Section:         .ARM.attributes

# CHECK:        Section {
# CHECK-NEXT:     Index: 0
# CHECK:        }
# CHECK:        Section {
# CHECK-NEXT:     Index: 1
# CHECK-NEXT:     Name: .text (5)
# CHECK:        }
# CHECK-NEXT:   Section {
# CHECK-NEXT:     Index: 2
# CHECK-NEXT:     Name: .rel.text (1)
# CHECK-NEXT:     Type: SHT_REL (0x9)
# CHECK-NEXT:     Flags [ (0x40)
# CHECK:	}
# CHECK:        Relocations [
# CHECK-NEXT:     Section (2) .rel.text {
# CHECK-NEXT:       0xC R_ARM_V4BX -
# CHECK-NEXT:     }
# CHECK-NEXT:   ]