ARM-software / abi-aa

Application Binary Interface for the Arm® Architecture
Other
878 stars 173 forks source link

[PAUTHABIELF64] Remove alternative ELF marking scheme #250

Closed smithp35 closed 2 weeks ago

smithp35 commented 4 months ago

No implementation is using the alternative marking scheme; take the opportunity to remove it, so that toolchains do not need to support it.

The alternative marking scheme started as the default one back when the spec was written. At the time there were only prototype implementations for which signing schema compatibility and versioning weren't important.

Over time Arm's ELF marking for SysV has evolved such that the preference for ELF executables and shared-libraries is to use GNU Program Properties. We intend to migrate to Build Attributes for relocatable objects, but until that change is made GNU Program Properties should be used in relocatable objects too.

The alternative ELF marking scheme was preserved for backwards compatibility, however no current implementation needs that so it can be removed.

asl commented 2 weeks ago

Confirmed, we are not doing any "alternative" bits.

smithp35 commented 2 weeks ago

Thanks for the confirmation. Merging.