[PATCH v4 17/22] gnu directives: add support for gnu_attribute and gnu_subsection in OAv2 context
Matthieu Longo
matthieu.longo@arm.com
Fri Jul 4 14:28:54 GMT 2025
On 2025-07-04 11:38, Richard Earnshaw (lists) wrote:
> On 04/07/2025 10:39, Jan Beulich wrote:
>> Further, why (having looked at the later patch) overall three #define-s when one
>> (TC_OBJ_ATTR) could do (expanding to 0 or the desired version)? Unless of course
>> you expect targets might want support for multiple versions.
>
> It's certainly plausible.
>
> R.
Yes, one target should be able to support multiple versions of OAs, so
we need more than one define.
If I follow your idea, you would like HAVE_OBJ_ATTR to become
TC_OBJ_ATTR. How would you name the existing HAVE_OBJ_ATTR_v1 and
HAVE_OBJ_ATTR_v2 ? TC_OBJ_ATTR_v1 and TC_OBJ_ATTR_v2 ?
Matthieu.
More information about the Binutils
mailing list