aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-11-27 10:23:56 +1030
committerAlan Modra <amodra@gcc.gnu.org>2018-11-27 10:23:56 +1030
commit426a04b84f4fed696149d8ba980dd48c6eb49de7 (patch)
tree6abb571436a639bca50edc790eb111d91f0a0329 /gcc/expr.c
parent2426ee774baaea8d4a447229830ac0f31c69ab25 (diff)
downloadgcc-426a04b84f4fed696149d8ba980dd48c6eb49de7.zip
gcc-426a04b84f4fed696149d8ba980dd48c6eb49de7.tar.gz
gcc-426a04b84f4fed696149d8ba980dd48c6eb49de7.tar.bz2
[RS6000] Use config/linux.h for powerpc*-*-linux*
Using the macros in config/linux.h rather than duplicating them helps stop future bitrot, and repairs existing bitrot (4 choices for libc in linux.h, fewer in the rs6000 files not that it matters much). Also fixes the fact that __gnu_linux__ was always defined rather than just when glibc was the libc of choice. * config.gcc (powerpc*-*-linux*): Add linux.h to tm_file. * config/rs6000/linux.h (TARGET_OS_CPP_BUILTINS): Use GNU_USER_TARGET_OS_CPP_BUILTINS. (RS6000_ABI_NAME): Define. * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Use GNU_USER_TARGET_OS_CPP_BUILTINS. (MUSL_DYNAMIC_LINKER32): Undef before defining. (UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64): Don't define. (CHOOSE_DYNAMIC_LINKER): Don't define. (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Don't define. * config/rs6000/sysv4.h (MUSL_DYNAMIC_LINKER): Undef before defining. (CHOOSE_DYNAMIC_LINKER, GNU_USER_DYNAMIC_LINKER): Only define when not already defined. (CPP_OS_LINUX_SPEC): Remove defines and asserts handled by TARGET_OS_CPP_BUILTINS. From-SVN: r266493
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions