[PATCH v1 1/1] bfd: add a mean to programatically detect a release version
Matthieu Longo
matthieu.longo@arm.com
Thu Aug 14 15:48:01 GMT 2025
On 2025-08-14 16:16, Matthieu Longo wrote:
> In a recent discussion around Object Attributes v2, it appeared that we
> needed a way to detect whether a tool was built as a release version,
> or development version.
>
> A previous patch (7b40f4c6587c) introduced this detection in gas.
> This patch reuses the same principle but moved the code into a utility
> function in bsd, so that gas, ld, and others can rely on it. It also
> adds a Tcl function 'is_release' that can be used with a '#target: '
> directive to disable some tests relying on development-only features.
Fixed bsd --> bfd
Sorry for the typo.
Thanks to Christophe Lyon for spotting this.
Matthieu
More information about the Binutils
mailing list