File: elf_header.s

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (74 lines) | stat: -rw-r--r-- 2,913 bytes parent folder | download | duplicates (12)
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
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=at90s8515 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR2 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=attiny13a %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR25 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=attiny167 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR35 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=atmega88 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR4 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=atmega16 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR5 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=atmega128 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,AVR51 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=attiny817 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,XM3 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=atxmega256a3u %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,XM6 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=atxmega256a3u %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,XM6 %s
; RUN: llvm-mc -filetype=obj -triple avr -mcpu=attiny10 %s -o - \
; RUN:     | llvm-readobj -h - | FileCheck --check-prefixes=ALL,TINY %s

; ALL:       ElfHeader {
; ALL-NEXT:    Ident {
; ALL-NEXT:      Magic: (7F 45 4C 46)
; ALL-NEXT:      Class: 32-bit (0x1)
; ALL-NEXT:      DataEncoding: LittleEndian (0x1)
; ALL-NEXT:      FileVersion: 1
; ALL-NEXT:      OS/ABI: SystemV (0x0)
; ALL-NEXT:      ABIVersion: 0
; ALL-NEXT:      Unused: (00 00 00 00 00 00 00)
; ALL-NEXT:    }
; ALL-NEXT:    Type: Relocatable (0x1)
; ALL-NEXT:    Machine: EM_AVR (0x53)
; ALL-NEXT:    Version: 1
; ALL-NEXT:    Entry: 0x0
; ALL-NEXT:    ProgramHeaderOffset: 0x0
; ALL-NEXT:    SectionHeaderOffset: 0x5C

; AVR2:        Flags [ (0x82)
; AVR2-NEXT:     EF_AVR_ARCH_AVR2 (0x2)

; AVR25:       Flags [ (0x99)
; AVR25-NEXT:    EF_AVR_ARCH_AVR25 (0x19)

; AVR35:       Flags [ (0xA3)
; AVR35-NEXT:    EF_AVR_ARCH_AVR35 (0x23)

; AVR4:        Flags [ (0x84)
; AVR4-NEXT:     EF_AVR_ARCH_AVR4 (0x4)

; AVR5:        Flags [ (0x85)
; AVR5-NEXT:     EF_AVR_ARCH_AVR5 (0x5)

; AVR51:       Flags [ (0xB3)
; AVR51-NEXT:    EF_AVR_ARCH_AVR51 (0x33)

; XM3:         Flags [ (0xE7)
; XM3-NEXT:      EF_AVR_ARCH_XMEGA3 (0x67)

; XM6:         Flags [ (0xEA)
; XM6-NEXT:      EF_AVR_ARCH_XMEGA6 (0x6A)

; TINY:        Flags [ (0xE4)
; TINY-NEXT:     EF_AVR_ARCH_AVRTINY (0x64)

; ALL:           EF_AVR_LINKRELAX_PREPARED (0x80)
; ALL-NEXT:    ]
; ALL-NEXT:    HeaderSize: 52
; ALL-NEXT:    ProgramHeaderEntrySize: 0
; ALL-NEXT:    ProgramHeaderCount: 0
; ALL-NEXT:    SectionHeaderEntrySize: 40
; ALL-NEXT:    SectionHeaderCount: 4
; ALL-NEXT:    StringTableSectionIndex: 1
; ALL-NEXT:  }