From eb69139212f8dc6b3e63403a4060479644b6a8b8 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Tue, 12 Jan 1999 04:16:49 +0000 Subject: [PATCH] mot3300.h (ADD_MISSING_POSIX, [...]): Define to ensure all prototypes necessary for building libio will be available. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to ensure all prototypes necessary for building libio will be available. * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove definitions here as they are not host specific. * m88k/sysv3.h, m88k/xm-sysv3.h: Likewise. From-SVN: r24638 --- gcc/ChangeLog | 8 ++++++++ gcc/config/m68k/mot3300.h | 6 +++++- gcc/config/m68k/xm-mot3300.h | 6 +----- gcc/config/m88k/sysv3.h | 6 +++++- gcc/config/m88k/xm-sysv3.h | 6 +----- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc4996c54063..f2140106ed62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +1999-01-12 Manfred Hollstein + + * m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to + ensure all prototypes necessary for building libio will be available. + * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove + definitions here as they are not host specific. + * m88k/sysv3.h, m88k/xm-sysv3.h: Likewise. + Tue Jan 12 02:53:46 1999 Richard Henderson * cse.c (cse_insn): Never prefer (const (constant_p_rtx)). diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h index e1b406008084..e6eadd1216ab 100644 --- a/gcc/config/m68k/mot3300.h +++ b/gcc/config/m68k/mot3300.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, SysV68 Motorola 3300 Delta Series. - Copyright (C) 1987, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 1987, 93, 94, 95, 96, 1997, 1998, 1999 Free Software Foundation, Inc. Contributed by Abramo and Roberto Bagnara (bagnara@dipisa.di.unipi.it) based on Alex Crain's 3B1 definitions. Maintained by Philippe De Muyter (phdm@info.ucl.ac.be). @@ -97,6 +97,10 @@ Boston, MA 02111-1307, USA. */ #define SIZE_TYPE "unsigned int" +/* We need POSIX/XOPEN symbols; otherwise building libio will fail. */ +#define ADD_MISSING_POSIX 1 +#define ADD_MISSING_XOPEN 1 + /* Every structure or union's size must be a multiple of 2 bytes. */ #define STRUCTURE_SIZE_BOUNDARY 16 diff --git a/gcc/config/m68k/xm-mot3300.h b/gcc/config/m68k/xm-mot3300.h index ea3b5589dbe0..4a949052cefb 100644 --- a/gcc/config/m68k/xm-mot3300.h +++ b/gcc/config/m68k/xm-mot3300.h @@ -1,6 +1,6 @@ /* Configuration for GNU C-compiler for Motorola 68000 family. SysV68 Motorola 3300 Delta Series - Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of GNU CC. @@ -35,7 +35,3 @@ extern char *alloca (); #define __PTR_TO_INT(P) ((int)(P)) #define __INT_TO_PTR(P) ((char *)(P)) - -/* We need POSIX/XOPEN symbols; otherwise make check will fail. */ -#define ADD_MISSING_POSIX 1 -#define ADD_MISSING_XOPEN 1 diff --git a/gcc/config/m88k/sysv3.h b/gcc/config/m88k/sysv3.h index ef3518973980..546b6dfc1a6c 100644 --- a/gcc/config/m88k/sysv3.h +++ b/gcc/config/m88k/sysv3.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Motorola m88100 running the AT&T/Unisoft/Motorola V.3 reference port. - Copyright (C) 1990, 1991, 1997 Free Software Foundation, Inc. + Copyright (C) 1990, 1991, 1997, 1999 Free Software Foundation, Inc. Contributed by Ray Essick (ressick@mot.com) Enhanced by Tom Wood (Tom_Wood@NeXT.com) @@ -44,6 +44,10 @@ Boston, MA 02111-1307, USA. */ #undef LIB_SPEC #define LIB_SPEC "%{p:-L/lib/libp}%{pg:%{!p:-L/lib/libp}} -lg -lc crtend.o%s" +/* We need POSIX/XOPEN symbols; otherwise building libio will fail. */ +#define ADD_MISSING_POSIX 1 +#define ADD_MISSING_XOPEN 1 + /* Hot version of the profiler that uses r10 to pass the address of the counter. the _gcc_mcount routine knows not to screw with the parameter registers. diff --git a/gcc/config/m88k/xm-sysv3.h b/gcc/config/m88k/xm-sysv3.h index 84110d7474da..a15fbbaaa54a 100644 --- a/gcc/config/m88k/xm-sysv3.h +++ b/gcc/config/m88k/xm-sysv3.h @@ -1,6 +1,6 @@ /* Configuration for GNU C-compiler. Motorola m88100 running the AT&T/Unisoft/Motorola V.3 reference port. - Copyright (C) 1990, 1998 Free Software Foundation, Inc. + Copyright (C) 1990, 1998, 1999 Free Software Foundation, Inc. This file is part of GNU CC. @@ -26,7 +26,3 @@ Boston, MA 02111-1307, USA. */ /* for the emacs version of alloca */ #define STACK_DIRECTION -1 - -/* We need POSIX/XOPEN symbols; otherwise make check will fail. */ -#define ADD_MISSING_POSIX 1 -#define ADD_MISSING_XOPEN 1