On Mon, Jan 05, 2026 at 12:44:13PM +0100, Ahmad Fatoum wrote: > Hello Sascha, > > On 1/5/26 12:26 PM, Sascha Hauer wrote: > > Create position-independent exception vectors using relative branches > > instead of absolute addresses. This works on ARMv7 onwards which > > supports setting the address of the exception vectors. > > > > New .text_inplace_exceptions section contains PC-relative branches, > > enabling barebox proper to start with MMU already configured using > > ELF segment addresses. > > > > Signed-off-by: Sascha Hauer <[email protected]> > > Why do we even need arm_fixup_vectors? There should already be > relocation entries emitted for .word symbol lines, so given that we only > install the vector table after relocation, it should be possible to > simply drop arm_fixup_vectors?
No, just verified that there are no relocation entries. I don't know if there's some other trick to get them relocated. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
