Add all interrupt/exception handlers with default alias

This commit is contained in:
Alexander Heldt
2024-07-28 11:38:02 +02:00
parent d23cb54d58
commit 11d10f41c2
6 changed files with 715 additions and 89 deletions

View File

@@ -36,7 +36,7 @@ LOAD build/startup.o
0x08000000 interrupt_vector_table
0x08000198 . = ALIGN (0x4)
.text 0x08000198 0x84
.text 0x08000198 0x8c
0x08000198 . = ALIGN (0x4)
*(.text)
*(.text.*)
@@ -47,30 +47,100 @@ LOAD build/startup.o
0x080001a8 init_memory
.text.reset 0x0800020c 0x10 build/startup.o
0x0800020c reset
.text.default_handler
0x0800021c 0x8 build/startup.o
0x0800021c exti0
0x0800021c debug_monitor
0x0800021c rcc
0x0800021c x
0x0800021c sdio
0x0800021c usage_fault
0x0800021c tim1_up_tim10
0x0800021c usart1
0x0800021c i2c3_er
0x0800021c spi2
0x0800021c dma1_stream1
0x0800021c bus_fault
0x0800021c spi5
0x0800021c exti3
0x0800021c dma2_stream5
0x0800021c tim2
0x0800021c dma1_stream6
0x0800021c default_handler
0x0800021c i2c1_er
0x0800021c hard_fault
0x0800021c usart6
0x0800021c exti15_10
0x0800021c usart2
0x0800021c pend_sv
0x0800021c i2c1_ev
0x0800021c wwdg
0x0800021c adc
0x0800021c rtc_alarm
0x0800021c spi3
0x0800021c exti1
0x0800021c mem_manage
0x0800021c dma2_stream1
0x0800021c dma1_stream2
0x0800021c dma2_stream3
0x0800021c sv_call
0x0800021c tim3
0x0800021c otg_fs
0x0800021c dma1_stream5
0x0800021c dma2_stream6
0x0800021c flash
0x0800021c tamp_stamp
0x0800021c i2c3_ev
0x0800021c rtc_wkup
0x0800021c dma2_stream0
0x0800021c pvd
0x0800021c fpu
0x0800021c exti4
0x0800021c exti2
0x0800021c spi1
0x0800021c dma1_stream0
0x0800021c tim1_brk_tim9
0x0800021c i2c2_ev
0x0800021c otg_fs_wkup
0x0800021c spi4
0x0800021c dma2_stream2
0x0800021c tim1_cc
0x0800021c tim1_trg_com_tim11
0x0800021c exti9_5
0x0800021c dma1_stream3
0x0800021c dma2_stream4
0x0800021c i2c2_er
0x0800021c dma2_stream7
0x0800021c dma1_stream7
0x0800021c nmi
0x0800021c systick
0x0800021c tim4
0x0800021c tim5
0x0800021c dma1_stream4
*(.rodata)
*(.rodata.*)
0x0800021c . = ALIGN (0x4)
0x0800021c _data_addr = LOADADDR (.data)
0x08000224 . = ALIGN (0x4)
0x08000224 _data_addr = LOADADDR (.data)
.glue_7 0x0800021c 0x0
.glue_7 0x0800021c 0x0 linker stubs
.glue_7 0x08000224 0x0
.glue_7 0x08000224 0x0 linker stubs
.glue_7t 0x0800021c 0x0
.glue_7t 0x0800021c 0x0 linker stubs
.glue_7t 0x08000224 0x0
.glue_7t 0x08000224 0x0 linker stubs
.vfp11_veneer 0x0800021c 0x0
.vfp11_veneer 0x0800021c 0x0 linker stubs
.vfp11_veneer 0x08000224 0x0
.vfp11_veneer 0x08000224 0x0 linker stubs
.v4_bx 0x0800021c 0x0
.v4_bx 0x0800021c 0x0 linker stubs
.v4_bx 0x08000224 0x0
.v4_bx 0x08000224 0x0 linker stubs
.iplt 0x0800021c 0x0
.iplt 0x0800021c 0x0 build/startup.o
.iplt 0x08000224 0x0
.iplt 0x08000224 0x0 build/startup.o
.rel.dyn 0x0800021c 0x0
.rel.iplt 0x0800021c 0x0 build/startup.o
.rel.dyn 0x08000224 0x0
.rel.iplt 0x08000224 0x0 build/startup.o
.data 0x20000000 0x0 load address 0x0800021c
.data 0x20000000 0x0 load address 0x08000224
0x20000000 . = ALIGN (0x4)
0x20000000 _data_start = .
*(.data)
@@ -78,10 +148,10 @@ LOAD build/startup.o
0x20000000 . = ALIGN (0x4)
0x20000000 _data_end = .
.igot.plt 0x20000000 0x0 load address 0x0800021c
.igot.plt 0x20000000 0x0 load address 0x08000224
.igot.plt 0x20000000 0x0 build/startup.o
.bss 0x20000000 0x0 load address 0x0800021c
.bss 0x20000000 0x0 load address 0x08000224
0x20000000 . = ALIGN (0x4)
0x20000000 _bss_start = .
*(.bss)
@@ -91,26 +161,26 @@ LOAD build/startup.o
OUTPUT(build/final.elf elf32-littlearm)
LOAD linker stubs
.debug_info 0x00000000 0x1be
.debug_info 0x00000000 0x1d0
.debug_info 0x00000000 0x48 build/main.o
.debug_info 0x00000048 0x176 build/startup.o
.debug_info 0x00000048 0x188 build/startup.o
.debug_abbrev 0x00000000 0x14a
.debug_abbrev 0x00000000 0x163
.debug_abbrev 0x00000000 0x3c build/main.o
.debug_abbrev 0x0000003c 0x10e build/startup.o
.debug_abbrev 0x0000003c 0x127 build/startup.o
.debug_aranges 0x00000000 0x48
.debug_aranges 0x00000000 0x50
.debug_aranges
0x00000000 0x20 build/main.o
.debug_aranges
0x00000020 0x28 build/startup.o
0x00000020 0x30 build/startup.o
.debug_rnglists
0x00000000 0x2c
0x00000000 0x32
.debug_rnglists
0x00000000 0x13 build/main.o
.debug_rnglists
0x00000013 0x19 build/startup.o
0x00000013 0x1f build/startup.o
.debug_macro 0x00000000 0x19f9
.debug_macro 0x00000000 0xab0 build/main.o
@@ -122,14 +192,14 @@ LOAD linker stubs
.debug_macro 0x000017b0 0x6a build/startup.o
.debug_macro 0x0000181a 0x1df build/startup.o
.debug_line 0x00000000 0x120
.debug_line 0x00000000 0x139
.debug_line 0x00000000 0x4f build/main.o
.debug_line 0x0000004f 0xd1 build/startup.o
.debug_line 0x0000004f 0xea build/startup.o
.debug_str 0x00000000 0x3bf0
.debug_str 0x00000000 0x3c00
.debug_str 0x00000000 0x2db0 build/main.o
.debug_str 0x00002db0 0xe40 build/startup.o
0x3d41 (size before relaxing)
.debug_str 0x00002db0 0xe50 build/startup.o
0x3d51 (size before relaxing)
.comment 0x00000000 0x45
.comment 0x00000000 0x45 build/main.o
@@ -151,6 +221,6 @@ LOAD linker stubs
0x00000035 0x1db build/startup.o
0x21b (size before relaxing)
.debug_frame 0x00000000 0x84
.debug_frame 0x00000000 0x9c
.debug_frame 0x00000000 0x30 build/main.o
.debug_frame 0x00000030 0x54 build/startup.o
.debug_frame 0x00000030 0x6c build/startup.o