Hello,

This change augments the comment attached to the use of auto-host.h
in vxcrtstuff.c to better describe the reason for including it and
for the associated series of #undef directives.

It also augments the comment on dso_handle and removes a redundant
guard on HAVE_INITFINI_ARRAY_SUPPORT for the shared version of the
objects, nested within a section guarded on USE_INITFINI_ARRAY.

We have been using this for a while in gcc-11 based production
toolchains and I have performed a few build+test sanity checks with
gcc-12 for powerpc64-vxworks7r2. This is supposedly a noop.

Will commit to mainline shortly.

Olivier

2022-03-06  Olivier Hainque  <hain...@adacore.com>

libgcc/
        * config/vxcrtstuff.c: Improve the comment attached to the use
        of auto-host.h and of __dso_handle.  Remove redundant guard on
        HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.

Attachment: 0017-Improve-comments-and-INITFINI-macro-use-in-vxcrtsutf.patch
Description: Binary data

Reply via email to