Re: [PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-27 Thread Leo Liang
Leo Yu-Chi Liang(梁育齊) > > > ; Rick Jian-Zhi Chen(陳建志) ; > > > Simon Glass > > > Subject: [PATCH] riscv: Fix alignment of RELA sections in the linker > > > scripts > > > > > > In current linker script both .efi_runtime_rel and .rela.dyn

Re: [PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-26 Thread Bin Meng
On Tue, Jun 27, 2023 at 8:50 AM Rick Chen wrote: > > > From: Bin Meng > > Sent: Wednesday, June 21, 2023 11:07 PM > > To: u-boot@lists.denx.de > > Cc: Andrew Scull ; Leo Yu-Chi Liang(梁育齊) > > ; Rick Jian-Zhi Chen(陳建志) ; > > Simon Glass > >

Re: [PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-26 Thread Rick Chen
> From: Bin Meng > Sent: Wednesday, June 21, 2023 11:07 PM > To: u-boot@lists.denx.de > Cc: Andrew Scull ; Leo Yu-Chi Liang(梁育齊) > ; Rick Jian-Zhi Chen(陳建志) ; Simon > Glass > Subject: [PATCH] riscv: Fix alignment of RELA sections in the linker scripts > > In

Re: [PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-26 Thread Bin Meng
On Wed, Jun 21, 2023 at 11:07 PM Bin Meng wrote: > > In current linker script both .efi_runtime_rel and .rela.dyn sections > are of RELA type whose entry size is either 12 (RV32) or 24 (RV64). > These two are arranged as an continuous region on purpose so that the a continuous > prelink-riscv

[PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-21 Thread Bin Meng
In current linker script both .efi_runtime_rel and .rela.dyn sections are of RELA type whose entry size is either 12 (RV32) or 24 (RV64). These two are arranged as an continuous region on purpose so that the prelink-riscv executable can fix up the PIE addresses in one loop. However there is an