]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RS6000] PR91135, __linux__ not defined with -mcall-aixdesc on 9.x and ppc64
authorAlan Modra <amodra@gmail.com>
Thu, 1 Aug 2019 05:57:12 +0000 (15:27 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 1 Aug 2019 05:57:12 +0000 (15:27 +0930)
commitd35a5e72590d4bdda59382519d3dc76b5b188e7a
tree60569311d1a7e4c5fbc75939e13a36c7bb4c2ad8
parent9e361dc6c1cfce20d260e5a9378b0ac37c8cdef5
[RS6000] PR91135, __linux__ not defined with -mcall-aixdesc on 9.x and ppc64

This patch makes the obvious fix for PR91135, and deletes extraneous
copies of GNU_USER_TARGET_D_OS_VERSIONS that appear in rs6000/linux.h
and rs6000/linux64.h.  Since all configurations using either of these
files also include linux.h there is no need to duplicate the macro.

PR target/91135
* config/rs6000/linux.h (GNU_USER_TARGET_D_OS_VERSIONS): Don't
define.
* config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Invoke
GNU_USER_TARGET_OS_CPP_BUILTINS for aixdesc abi.
(GNU_USER_TARGET_D_OS_VERSIONS): Don't define.

From-SVN: r273962
gcc/ChangeLog
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h