News for hackers. Stuff that matters.
Re:From Zero to Main(): Bare Metal Rust by duskwuff on Tuesday December 17, 2019 @02:57PM (#21818022)
FWIW, this is a pretty unusual way of setting up vectors. A more typical approach in C is to declare the vector table entirely in C or assembly, and only use the linker script to position it:

https://github.com/duskwuff/stm32f103-example/blob/master/ld...

Re:From Zero to Main(): Bare Metal Rust by TickleSteve on Wednesday December 18, 2019 @01:49AM (#21822476)
...and what you're seeing is after the linker has positioned it. that is the defined format of the ARM vector table as it is laid out in memory.
Re:From Zero to Main(): Bare Metal Rust by duskwuff on Wednesday December 18, 2019 @03:48AM (#21823030)
I'm referring to the linker script in kimixa's comment. Explicitly placing each vector table entry in the linker script, as this one does, is unusual.