[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
This commit is contained in:
Iain Sandoe 2019-07-21 20:15:00 +00:00 committed by Iain Sandoe
parent c37b0163fe
commit 48df93911a
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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>
* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile

View File

@ -86,6 +86,10 @@
# endif
#endif
#ifndef TARGET_NO_PROTOTYPE
#define TARGET_NO_PROTOTYPE 0
#endif
struct builtin_description
{
const HOST_WIDE_INT mask;

View File

@ -84,10 +84,6 @@
/* This file should be included last. */
#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
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