So any reasons for me not to tweak vectors.S to relocate from ROM to RAM
only for ROM startup? And fix the at91 to be consistent with the other
platforms?
My only concern is that it would break if the DATA segment does
not follow the TEXT segment directly, as is the current case
for these platforms. I don't know if such a layout would ever
make sense, but it could come back to haunt us.
In both cases already they copy from the start of ROM to __rom_data_end.
So the versions in the various hal_platform_setup.h's must be strict
supersets of the stuff in vector.S. So it's fine to trim the one in
vectors.S. If any platform needs more fine-grained handling, well, it's
the platform HAL that is already dealing with the relocation anyway,.