Re: [PATCH] linker_list: Fix ll_entry_get alignment

2023-10-03 Thread Simon Glass
Hi Sean, On Sun, 1 Oct 2023 at 19:43, Sean Anderson wrote: > > On 10/1/23 21:16, Simon Glass wrote: > > Hi Sean, > > > > On Sat, 30 Sept 2023 at 09:23, Sean Anderson wrote: > >> > >> On 9/30/23 10:36, Sean Anderson wrote: > >>> When ll_entry_get is used on a list entry ll_entry_declare'd in the

Re: [PATCH] linker_list: Fix ll_entry_get alignment

2023-10-01 Thread Sean Anderson
On 10/1/23 21:16, Simon Glass wrote: Hi Sean, On Sat, 30 Sept 2023 at 09:23, Sean Anderson wrote: On 9/30/23 10:36, Sean Anderson wrote: When ll_entry_get is used on a list entry ll_entry_declare'd in the same file, the lack of alignment on the access will override the ll_entry_declare

Re: [PATCH] linker_list: Fix ll_entry_get alignment

2023-10-01 Thread Simon Glass
Hi Sean, On Sat, 30 Sept 2023 at 09:23, Sean Anderson wrote: > > On 9/30/23 10:36, Sean Anderson wrote: > > When ll_entry_get is used on a list entry ll_entry_declare'd in the same > > file, the lack of alignment on the access will override the > > ll_entry_declare alignment. This causes GCC to

Re: [PATCH] linker_list: Fix ll_entry_get alignment

2023-09-30 Thread Sean Anderson
On 9/30/23 10:36, Sean Anderson wrote: When ll_entry_get is used on a list entry ll_entry_declare'd in the same file, the lack of alignment on the access will override the ll_entry_declare alignment. This causes GCC to use the default section alignment of 32 bytes. As list entries are not

[PATCH] linker_list: Fix ll_entry_get alignment

2023-09-30 Thread Sean Anderson
When ll_entry_get is used on a list entry ll_entry_declare'd in the same file, the lack of alignment on the access will override the ll_entry_declare alignment. This causes GCC to use the default section alignment of 32 bytes. As list entries are not necessarily 32-byte aligned, this will cause a