--- gcc/config/rs6000/xm-rs6000.h 2018/04/24 18:10:26 1.1.1.1 +++ gcc/config/rs6000/xm-rs6000.h 2018/04/24 18:30:31 1.1.1.3 @@ -1,6 +1,6 @@ /* Configuration for GNU C-compiler for IBM RS/6000. - Copyright (C) 1990 Free Software Foundation, Inc. - Contributed by Richard Kenner (kenner@nyu.edu). + Copyright (C) 1990, 1993, 1995 Free Software Foundation, Inc. + Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). This file is part of GNU CC. @@ -16,7 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* #defines that need visibility everywhere. */ @@ -38,18 +39,12 @@ the Free Software Foundation, 675 Mass A /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 -#define FAILURE_EXIT_CODE 2 -#define FATAL_EXIT_CODE 3 +#define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#define USE_C_ALLOCA -#endif - -/* If not compiled with GNU C, use only int bitfields. */ +/* If not compiled with GNU C, use the C alloca and use only int bitfields. */ #ifndef __GNUC__ +#define USE_C_ALLOCA +extern char *alloca (); #define ONLY_INT_FIELDS #endif @@ -58,3 +53,9 @@ the Free Software Foundation, 675 Mass A /* Big buffers improve performance. */ #define IO_BUFFER_SIZE (0x8000 - 4096) + +#ifndef CROSS_COMPILE +/* The AIX linker will discard static constructors in object files before + collect has a chance to see them, so scan the object files directly. */ +#define COLLECT_EXPORT_LIST +#endif