This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,AIX] Fully enable XCOFF in libbacktrace on AIX


On Wed, Jul 26, 2017 at 12:54 AM, REIX, Tony <tony.reix@atos.net> wrote:
> Description:
>  * This patch fully enables XCOFF in libbacktrace on AIX.
>
> Tests:
>  * Fedora25/x86_64 + GCC v7.1.0 : Configure/Build: SUCCESS
>    - build made by means of gmake.
>
> ChangeLog:
>   * configure.ac, filetype.awk: Separate AIX XCOFF32 and XCOFF64.
>   * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
>   * configure, config.h.in: Regenerate.

Thanks.  That's a lot of work.

#ifdef _AIX is more or less verboten in GCC code, so I rewrote that
into a configure-time test for whether loadquery was available, much
as the ELF code does a configure-time test for dl_iterate_phdr.  I
didn't test it on AIX, so let me know if I messed something up.

Committed as follows.

Ian

2017-07-26  Tony Reix  <tony.reix@atos.net>

* configure.ac: Check for XCOFF32/XCOFF64.  Check for loadquery.
* filetype.awk: Separate AIX XCOFF32 and XCOFF64.
* xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
* configure, config.h.in: Regenerate.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]