[PATCH v2 00/28] AArch64 AEABI build attributes (a.k.a. object attributes v2)

Jan Beulich jbeulich@suse.com
Fri May 2 13:25:42 GMT 2025
On 02.05.2025 12:32, Matthieu Longo wrote:
> This patch series introduces support for AArch64 AEABI build attributes (that I will refer as Object Attributes V2). Build attributes are metadata embedded in ELF object files, and binaries (executables, and shared linkable libraries) to provide ABI and compatibility information. These attributes help linkers to diagnose incompatibilities and enforce compatibility between the input object files at link time. Additionally, they can offer insights into the targeted processor, or architecture for an object file, or features used in it. More details can be found in [1] and Section 4 of [2].
> This enhancement aligns with the ongoing efforts to improve compatibility and interoperability within the ELF ecosystem for AArch64.
> 
> ## Diff against previous revisions
> 
> ### Revision 1 -> 2:
> Patch series v1: https://inbox.sourceware.org/binutils/20250321171449.132324-1-matthieu.longo@arm.com/
> Diff:
> - Addressed comments from Jan Beulich. The most important ones are:
>   - deserialize heterogeneous set of input objects (=mix of OAv1 and OAv2).
>   - serialize the output object to the default version set by the backend.
>   - move the parsing code of object attributes from obj-elf.c to obj-attr.c

Hmm, one remark here, upon looking more closely: Maybe this would better be
named obj-elf-attr.c, kind of paralleling obj-coff-seh.c? The first name
component after obj- looks to uniformly be the object file flavor. Or is
this intended to be usable with other than ELF?

Jan


More information about the Binutils mailing list