aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-06-26 19:00:16 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-06-26 19:00:16 +0000
commit6b011221fd1dc2b4a7fd57ea1c98a69223524f54 (patch)
tree38070cc77c2cc7f7e48a407553e404e7472d4424 /gcc
parent4a61cf9c62212fd04f21704efc2decffe9544651 (diff)
downloadgcc-6b011221fd1dc2b4a7fd57ea1c98a69223524f54.zip
gcc-6b011221fd1dc2b4a7fd57ea1c98a69223524f54.tar.gz
gcc-6b011221fd1dc2b4a7fd57ea1c98a69223524f54.tar.bz2
[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 <iain@sandoe.co.uk> * config.gcc (powerpc*-*-linux*): Move target_gtfiles from here.. (powerpc*-*-*) ... to here. From-SVN: r272708
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index af5afa6..8ee162b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-26 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config.gcc (powerpc*-*-linux*): Move target_gtfiles from here..
+ (powerpc*-*-*) ... to here.
+
2019-06-26 Jeff Law <law@redhat.com>
* tree-ssa-dse.c (initialize_ao_ref_for_dse): Handle _chk variants of
diff --git a/gcc/config.gcc b/gcc/config.gcc
index c9939b8..062ed8c 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" ;;