Commit 48df9391 by Iain Sandoe Committed by Iain Sandoe

[PPC] Fix bootstrap for non-SVR4 targets.

The recent change to move code into the new rs6000-call.c file is missing a
default value for the TARGET_NO_PROTOTYPE value (which only affects targets
that don’t include svr4.h).  Fixed by moving the fallback setting from
rs6000.c (which has no uses now) to rs6000-call.c.

2019-07-21  Iain Sandoe  <iain@sandoe.co.uk>

	* config/rs6000/rs6000.c (TARGET_NO_PROTOTYPE): Move from here...
	* config/rs6000/rs6000-call.c: ... to here.

From-SVN: r273646
parent c37b0163
2019-07-21 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/rs6000.c (TARGET_NO_PROTOTYPE): Move from here...
* config/rs6000/rs6000-call.c: ... to here.
2019-07-20 Segher Boessenkool <segher@kernel.crashing.org> 2019-07-20 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile * config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile
......
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
# endif # endif
#endif #endif
#ifndef TARGET_NO_PROTOTYPE
#define TARGET_NO_PROTOTYPE 0
#endif
struct builtin_description struct builtin_description
{ {
const HOST_WIDE_INT mask; const HOST_WIDE_INT mask;
......
...@@ -84,10 +84,6 @@ ...@@ -84,10 +84,6 @@
/* This file should be included last. */ /* This file should be included last. */
#include "target-def.h" #include "target-def.h"
#ifndef TARGET_NO_PROTOTYPE
#define TARGET_NO_PROTOTYPE 0
#endif
/* Set -mabi=ieeelongdouble on some old targets. In the future, power server /* Set -mabi=ieeelongdouble on some old targets. In the future, power server
systems will also set long double to be IEEE 128-bit. AIX and Darwin systems will also set long double to be IEEE 128-bit. AIX and Darwin
explicitly redefine TARGET_IEEEQUAD and TARGET_IEEEQUAD_DEFAULT to 0, so explicitly redefine TARGET_IEEEQUAD and TARGET_IEEEQUAD_DEFAULT to 0, so
......
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