Re: [PATCH] armv8: Skip PIE in SPL due to load alignment fault.

2023-08-18 Thread Tom Rini
On Thu, Aug 03, 2023 at 04:12:18PM +0800, Kevin Chen wrote: > When PIE is enabled in start.S, u-boot/-spl use __rel_dyn_start > and _rel_dyn_end symbol to be loaded to and executed at a > different address than it was linked at. > > u-boot-spl.lds is used in SPL build, but relocation information

[PATCH] armv8: Skip PIE in SPL due to load alignment fault.

2023-08-03 Thread Kevin Chen
When PIE is enabled in start.S, u-boot/-spl use __rel_dyn_start and _rel_dyn_end symbol to be loaded to and executed at a different address than it was linked at. u-boot-spl.lds is used in SPL build, but relocation information section(.rela*) were discarded. In line number 80 in