File: msp430.yaml

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 (426 lines) | stat: -rw-r--r-- 13,661 bytes parent folder | download | duplicates (10)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
# File test.c, compiled with flags "-O0 -g"
# Source code:
#
# int foo = 0;
#
# int func() {
#     foo = 1234;
#     return foo;
# }
#
# int main() {
#     return func();
# }
#

--- !ELF
FileHeader:
  Class:           ELFCLASS32
  Data:            ELFDATA2LSB
  OSABI:           ELFOSABI_STANDALONE
  Type:            ET_EXEC
  Machine:         EM_MSP430
  Flags:           [  ]
  Entry:           0x500
ProgramHeaders:
  - Type:            PT_LOAD
    Flags:           [ PF_X, PF_R ]
    FirstSec:        .text
    LastSec:         .bss
    VAddr:           0x46C
    Align:           0x4
  - Type:            PT_LOAD
    Flags:           [ PF_W, PF_R ]
    FirstSec:        .data
    LastSec:         .bss
    VAddr:           0x53C
    Align:           0x4
  - Type:            PT_LOAD
    Flags:           [ PF_R ]
    FirstSec:        __interrupt_vector_31
    LastSec:         __interrupt_vector_31
    VAddr:           0xFFFE
    Align:           0x4
Sections:
  - Name:            .text
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
    Address:         0x500
    AddressAlign:    0x4
    Content:         3140C0FF0C43B0121C05B01281010000B240D2043C051C423C0530413180020081430000B01210053150020030411C4330413C402A0030410C433041
  - Name:            .data
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    Address:         0x53C
    AddressAlign:    0x1
  - Name:            .bss
    Type:            SHT_NOBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    Address:         0x53C
    AddressAlign:    0x2
    Size:            0x2
  - Name:            __interrupt_vector_31
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC ]
    Address:         0xFFFE
    AddressAlign:    0x1
    Offset:          0xD2
    Content:         '0005'
  - Name:            .rodata
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    Address:         0x500
    AddressAlign:    0x1
  - Name:            .rodata2
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE ]
    Address:         0x500
    AddressAlign:    0x1
  - Name:            .noinit
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE ]
    Address:         0x53E
    AddressAlign:    0x1
  - Name:            .persistent
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE ]
    Address:         0x53E
    AddressAlign:    0x1
  - Name:            .MSP430.attributes
    Type:            SHT_MSP430_ATTRIBUTES
    AddressAlign:    0x1
    Content:         41160000006D737061626900010B000000040106010801
  - Name:            .comment
    Type:            SHT_PROGBITS
    Flags:           [ SHF_MERGE, SHF_STRINGS ]
    AddressAlign:    0x1
    EntSize:         0x1
    Content:         4743433A20284D6974746F2053797374656D73204C696D69746564202D206D73703433302D67636320392E332E312E31312920392E332E3100636C616E672076657273696F6E2031362E302E30202868747470733A2F2F6769746875622E636F6D2F6163636573732D736F6674656B2F6C6C766D2D70726F6A6563742E67697420373634363331663864643330353231386339613938656165373535353464303436303236343032322900
  - Name:            .debug_info
    Type:            SHT_PROGBITS
    AddressAlign:    0x1
    Content:         4D000000050001040000000001001D0001080000000000000002011E0000000800000002032E000000000202A1000304050204010C00000001510500042E00000004021200000001510600092E00000000
  - Name:            .debug_abbrev
    Type:            SHT_PROGBITS
    AddressAlign:    0x1
    Content:         011101252513050325721710171B25111B120673170000023400032549133F193A0B3B0B0218000003240003253E0B0B0B0000042E00111B1206401803253A0B3B0B49133F19000000
  - Name:            .debug_line
    Type:            SHT_PROGBITS
    AddressAlign:    0x1
    Content:         660000000500040037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E011E000000002C97BF5F43C79BB948A69660B684FF4A0400000502100500001505060A130509670502064A0500063105090A830502060B4A0206000101
  - Name:            .debug_frame
    Type:            SHT_PROGBITS
    AddressAlign:    0x4
    Content:         10000000FFFFFFFF04000400017E000C010280010C00000000000000100500000C00000014000000000000001C05000012000000440E044C0E020000
  - Name:            .debug_str_offsets
    Type:            SHT_PROGBITS
    AddressAlign:    0x1
    Content:         2000000005000000000000007200000079000000970000009B0000009F000000A4000000
  - Name:            .debug_line_str
    Type:            SHT_PROGBITS
    Flags:           [ SHF_MERGE, SHF_STRINGS ]
    AddressAlign:    0x1
    EntSize:         0x1
    Content:         2F686F6D652F757365722F6465762F746573742F6D737034333000746573742E6300
  - Type:            SectionHeaderTable
    Sections:
      - Name:            __interrupt_vector_31
      - Name:            .rodata
      - Name:            .rodata2
      - Name:            .text
      - Name:            .data
      - Name:            .bss
      - Name:            .noinit
      - Name:            .persistent
      - Name:            .MSP430.attributes
      - Name:            .comment
      - Name:            .debug_info
      - Name:            .debug_abbrev
      - Name:            .debug_line
      - Name:            .debug_frame
      - Name:            .debug_str
      - Name:            .debug_str_offsets
      - Name:            .debug_addr
      - Name:            .debug_line_str
      - Name:            .symtab
      - Name:            .strtab
      - Name:            .shstrtab
Symbols:
  - Name:            __interrupt_vector_31
    Type:            STT_SECTION
    Section:         __interrupt_vector_31
    Value:           0xFFFE
  - Name:            .rodata
    Type:            STT_SECTION
    Section:         .rodata
    Value:           0x500
  - Name:            .rodata2
    Type:            STT_SECTION
    Section:         .rodata2
    Value:           0x500
  - Name:            .text
    Type:            STT_SECTION
    Section:         .text
    Value:           0x500
  - Name:            .data
    Type:            STT_SECTION
    Section:         .data
    Value:           0x53C
  - Name:            .bss
    Type:            STT_SECTION
    Section:         .bss
    Value:           0x53C
  - Name:            .noinit
    Type:            STT_SECTION
    Section:         .noinit
    Value:           0x53E
  - Name:            .persistent
    Type:            STT_SECTION
    Section:         .persistent
    Value:           0x53E
  - Name:            .MSP430.attributes
    Type:            STT_SECTION
    Section:         .MSP430.attributes
  - Name:            .comment
    Type:            STT_SECTION
    Section:         .comment
  - Name:            .debug_info
    Type:            STT_SECTION
    Section:         .debug_info
  - Name:            .debug_abbrev
    Type:            STT_SECTION
    Section:         .debug_abbrev
  - Name:            .debug_line
    Type:            STT_SECTION
    Section:         .debug_line
  - Name:            .debug_frame
    Type:            STT_SECTION
    Section:         .debug_frame
  - Name:            .debug_str
    Type:            STT_SECTION
    Section:         .debug_str
  - Name:            .debug_str_offsets
    Type:            STT_SECTION
    Section:         .debug_str_offsets
  - Name:            .debug_addr
    Type:            STT_SECTION
    Section:         .debug_addr
  - Name:            .debug_line_str
    Type:            STT_SECTION
    Section:         .debug_line_str
  - Name:            __msp430_resetvec_hook
    Section:         __interrupt_vector_31
    Value:           0xFFFE
  - Name:            .Loc.58.1
    Section:         .text
    Value:           0x500
  - Name:            "L0\x01"
    Section:         .text
    Value:           0x504
  - Name:            "L0\x01 (1)"
    Section:         .text
    Value:           0x500
  - Name:            "L0\x01 (2)"
    Section:         .text
    Value:           0x504
  - Name:            crt_main.o
    Type:            STT_FILE
    Index:           SHN_ABS
  - Name:            .Loc.253.1
    Section:         .text
    Value:           0x504
  - Name:            .Loc.254.1
    Section:         .text
    Value:           0x506
  - Name:            "L0\x01 (3)"
    Section:         .text
    Value:           0x50A
  - Name:            "L0\x01 (4)"
    Section:         .text
    Value:           0x504
  - Name:            "L0\x01 (5)"
    Section:         .text
    Value:           0x50A
  - Name:            crt_callexit.o
    Type:            STT_FILE
    Index:           SHN_ABS
  - Name:            .Loc.267.1
    Section:         .text
    Value:           0x50A
  - Name:            "L0\x01 (6)"
    Section:         .text
    Value:           0x50E
  - Name:            "L0\x01 (7)"
    Section:         .text
    Value:           0x50A
  - Name:            "L0\x01 (8)"
    Section:         .text
    Value:           0x50E
  - Name:            test.c
    Type:            STT_FILE
    Index:           SHN_ABS
  - Name:            syscalls.o
    Type:            STT_FILE
    Index:           SHN_ABS
  - Name:            .Loc.59.1
    Section:         .text
    Value:           0x52E
  - Name:            .Loc.60.1
    Section:         .text
    Value:           0x530
  - Name:            .Loc.65.1
    Section:         .text
    Value:           0x532
  - Name:            .Loc.66.1
    Section:         .text
    Value:           0x536
  - Name:            .Loc.71.1
    Section:         .text
    Value:           0x538
  - Name:            .Loc.72.1
    Section:         .text
    Value:           0x53A
  - Name:            "L0\x01 (9)"
    Section:         .text
    Value:           0x53C
  - Name:            "L0\x01 (10)"
    Section:         .text
    Value:           0x52E
  - Name:            "L0\x01 (11)"
    Section:         .text
    Value:           0x53C
  - Name:            __crt0_call_exit
    Type:            STT_FUNC
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x50A
    Size:            0x4
  - Name:            getpid
    Section:         .text
    Binding:         STB_WEAK
    Value:           0x532
  - Name:            isatty
    Section:         .text
    Binding:         STB_WEAK
    Value:           0x52E
  - Name:            __crt0_start
    Type:            STT_FUNC
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x500
    Size:            0x4
  - Name:            lseek
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x186
  - Name:            _isatty
    Section:         .text
    Binding:         STB_WEAK
    Value:           0x52E
  - Name:            fstat
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x18A
  - Name:            kill
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x189
  - Name:            _start
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x500
  - Name:            read
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x184
  - Name:            __rom_highdatacopysize
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            gettimeofday
    Section:         .text
    Binding:         STB_WEAK
    Value:           0x538
    Size:            0x4
  - Name:            main
    Type:            STT_FUNC
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x51C
    Size:            0x12
  - Name:            __high_bsssize
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            __rom_highdatastart
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            __high_datastart
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            __upper_data_init
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            func
    Type:            STT_FUNC
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x510
    Size:            0xC
  - Name:            foo
    Type:            STT_OBJECT
    Section:         .bss
    Binding:         STB_GLOBAL
    Value:           0x53C
    Size:            0x2
  - Name:            __stack
    Section:         .persistent
    Binding:         STB_GLOBAL
    Value:           0xFFC0
  - Name:            _edata
    Section:         .data
    Binding:         STB_GLOBAL
    Value:           0x53C
  - Name:            _end
    Section:         .bss
    Binding:         STB_GLOBAL
    Value:           0x53E
  - Name:            exit
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x181
  - Name:            __high_bssstart
    Index:           SHN_ABS
    Binding:         STB_WEAK
  - Name:            __crt0_call_main
    Type:            STT_FUNC
    Section:         .text
    Binding:         STB_GLOBAL
    Value:           0x504
    Size:            0x6
  - Name:            _exit
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x181
  - Name:            open
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x182
  - Name:            close
    Index:           SHN_ABS
    Binding:         STB_WEAK
    Value:           0x183
DWARF:
  debug_str:
    - test.c
    - foo
    - int
    - func
    - main
  debug_addr:
    - Length:          0x10
      Version:         0x5
      AddressSize:     0x4
      Entries:
        - Address:         0x53C
        - Address:         0x510
        - Address:         0x51C
...