]> git.ipfire.org Git - thirdparty/gcc.git/commit
aix: FAT libraries: test native compiler mode directly
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 13 Jul 2020 18:43:39 +0000 (14:43 -0400)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:17:41 +0000 (13:17 -0300)
commit9d9cbb4d48f4b43b3509715f36a0e869c07dd3a7
tree41f8b372dc06daa7f8bbed3f0baa5109f3dddde1
parent1e442c9bb57408d044bf6bfb3352ed627694479f
aix: FAT libraries: test native compiler mode directly

The FAT libraries config fragments need to know which library is native
and which is a multilib to choose the correct multilib from which to
append the additional object file or shared object file.  Testing the
top-level archive is fragile because it will fail if rebuilding.  This
patch tests the compiler preprocessing macros for the 64 bit AIX specific
__64BIT__ to determine the native mode of the compiler in MULTILIBTOP.

2020-07-14  David Edelsohn  <dje.gcc@gmail.com>

libatomic/ChangeLog

* config/t-aix: Set BITS from compiler cpp macro.

libgcc/ChangeLog

* config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.

libgfortran/ChangeLog

* config/t-aix: Set BITS from compiler cpp macro.

libgomp/ChangeLog

* config/t-aix: Set BITS from compiler cpp macro.

libstdc++-v3/ChangeLog

* config/os/aix/t-aix: Set BITS from compiler cpp macro.
libatomic/config/t-aix
libgcc/config/rs6000/t-slibgcc-aix
libgfortran/config/t-aix
libgomp/config/t-aix
libstdc++-v3/config/os/aix/t-aix