Commit 6b011221 by Iain Sandoe Committed by Iain Sandoe

[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
parent 4a61cf9c
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> 2019-06-26 Jeff Law <law@redhat.com>
* tree-ssa-dse.c (initialize_ao_ref_for_dse): Handle _chk variants of * tree-ssa-dse.c (initialize_ao_ref_for_dse): Handle _chk variants of
......
...@@ -513,6 +513,7 @@ powerpc*-*-*) ...@@ -513,6 +513,7 @@ powerpc*-*-*)
;; ;;
esac esac
extra_options="${extra_options} g.opt fused-madd.opt rs6000/rs6000-tables.opt" extra_options="${extra_options} g.opt fused-madd.opt rs6000/rs6000-tables.opt"
target_gtfiles="$target_gtfiles \$(srcdir)/config/rs6000/rs6000-logue.c"
;; ;;
pru-*-*) pru-*-*)
cpu_type=pru cpu_type=pru
...@@ -2693,7 +2694,6 @@ powerpc*-*-linux*) ...@@ -2693,7 +2694,6 @@ powerpc*-*-linux*)
extra_options="${extra_options} rs6000/sysv4.opt" extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm" tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm"
extra_objs="$extra_objs rs6000-linux.o" extra_objs="$extra_objs rs6000-linux.o"
target_gtfiles="$target_gtfiles \$(srcdir)/config/rs6000/rs6000-logue.c"
case ${target} in case ${target} in
powerpc*le-*-*) powerpc*le-*-*)
tm_file="${tm_file} rs6000/sysv4le.h" ;; tm_file="${tm_file} rs6000/sysv4le.h" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment