[RS6000] PR91135, __linux__ not defined with -mcall-aixdesc on 9.x and ppc64
commit295ac7c79ebe8ec1dec799c748c49e44fd6b4b47
authorAlan Modra <amodra@gmail.com>
Sun, 28 Jul 2019 09:29:11 +0000 (28 18:59 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Sun, 28 Jul 2019 09:29:11 +0000 (28 18:59 +0930)
tree0ffe169a6e3bd1aaf5ef04ca3f91529fab315eee
parent8d852645145d10bbf72cbd82ef080a0057eb9c0e
[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: r273854
gcc/ChangeLog
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h