From: Iain Sandoe Date: Wed, 26 Jun 2019 19:00:16 +0000 (+0000) Subject: [PATCH, PPC 1/2] Make sure the gt- files are built for all sub-targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b011221fd1dc2b4a7fd57ea1c98a69223524f54;p=gcc.git [PATCH, PPC 1/2] Make sure the gt- files are built for all sub-targets. The new gt-rs6000-logue.h is common to all sub-targets in the port, so it needs to be added for them. It seems better to place the common target_gtfiles in the powerpc*-*-* section, rather than duplicating them in sub-targets. This would make it less likely that a sub-target would be overlooked in any future file introductions. 2019-06-26 Iain Sandoe * config.gcc (powerpc*-*-linux*): Move target_gtfiles from here.. (powerpc*-*-*) ... to here. From-SVN: r272708 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af5afa638b6..8ee162b5f2c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-26 Iain Sandoe + + * config.gcc (powerpc*-*-linux*): Move target_gtfiles from here.. + (powerpc*-*-*) ... to here. + 2019-06-26 Jeff Law * tree-ssa-dse.c (initialize_ao_ref_for_dse): Handle _chk variants of diff --git a/gcc/config.gcc b/gcc/config.gcc index c9939b86846..062ed8cc1b6 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -513,6 +513,7 @@ powerpc*-*-*) ;; esac extra_options="${extra_options} g.opt fused-madd.opt rs6000/rs6000-tables.opt" + target_gtfiles="$target_gtfiles \$(srcdir)/config/rs6000/rs6000-logue.c" ;; pru-*-*) cpu_type=pru @@ -2693,7 +2694,6 @@ powerpc*-*-linux*) extra_options="${extra_options} rs6000/sysv4.opt" tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm" extra_objs="$extra_objs rs6000-linux.o" - target_gtfiles="$target_gtfiles \$(srcdir)/config/rs6000/rs6000-logue.c" case ${target} in powerpc*le-*-*) tm_file="${tm_file} rs6000/sysv4le.h" ;;