[PATCH] Align linkerscript symbols according to ABI

Andreas Krebbel krebbel@linux.ibm.com
Fri Jul 7 09:38:38 GMT 2023


On 7/7/23 05:03, Alan Modra wrote:
> On Wed, Jul 05, 2023 at 11:53:35AM +0200, Andreas Krebbel via Binutils wrote:
>>>> Apply ABI specific alignment to symbols generated in the default
>>>> linker script.
> 
> I think this change is potentially wrong for symbols defined inside an
> output section.  Do you really want symbols marking the start and end
> of a section to disagree with the actual section, if the section
> itself is wrongly aligned?

Hopefully all our output sections are at least aligned to our symbol ABI alignment otherwise that's
what I would fix I guess. You are right that having a gap there would be bad.

Andreas



More information about the Binutils mailing list