mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
44b357eb9a
* scripttempl/pru.sc (.pru_irq_map): Define output section. * testsuite/ld-pru/pru_irq_map-1.d: New test. * testsuite/ld-pru/pru_irq_map-2.d: New test. * testsuite/ld-pru/pru_irq_map.s: New test.
21 lines
196 B
ArmAsm
21 lines
196 B
ArmAsm
|
|
.text
|
|
.global _start
|
|
_start:
|
|
nop
|
|
|
|
.data
|
|
my_global_var:
|
|
.byte 10
|
|
.byte 11
|
|
.byte 12
|
|
.byte 13
|
|
|
|
.section .pru_irq_map,"",@progbits
|
|
my_intc_map:
|
|
.byte 0
|
|
.byte 1
|
|
.byte 19
|
|
.byte 1
|
|
.byte 1
|