From: zack Date: Sun, 10 Nov 2002 20:47:45 +0000 (+0000) Subject: * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here... X-Git-Tag: upstream/4.9.2~83491 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d6ce59028948ed805198f10b85973ebe9053eda;p=platform%2Fupstream%2Flinaro-gcc.git * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here... * config/rs6000/linux.h, config/rs6000/linux64.h, config/rs6000/windiss.h: ... not here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58989 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 614ccbe..37e04c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-11-10 Zack Weinberg + + * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here... + * config/rs6000/linux.h, config/rs6000/linux64.h, + config/rs6000/windiss.h: ... not here. + 2002-11-10 Jason Thorpe * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define @@ -62,7 +68,7 @@ Sun Nov 10 18:49:21 CET 2002 Jan Hubicka 2002-11-08 Dale Johannesen - * dbxout.c (dbxout_type): Fix stabs info for vector types. + * dbxout.c (dbxout_type): Fix stabs info for vector types. 2002-11-08 Neil Booth @@ -86,25 +92,25 @@ Fri Nov 8 11:20:19 CET 2002 Jan Hubicka 2002-11-07 David Mosberger - * config/ia64/crtend.asm: Include "auto-host.h". - [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array. - * config/ia64/crtbegin.asm: Similarly. - * config/ia64/t-ia64 (crtbegin.o): Include from current directory. - (crtend.o, crtbeginS.o, crtendS.o): Likewise. + * config/ia64/crtend.asm: Include "auto-host.h". + [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array. + * config/ia64/crtbegin.asm: Similarly. + * config/ia64/t-ia64 (crtbegin.o): Include from current directory. + (crtend.o, crtbeginS.o, crtendS.o): Likewise. - * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New. - * configure.in: Use it if --enable-initfini-array not specified. - * doc/install.texi (Configuration): Document --enable-initfini-array. + * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New. + * configure.in: Use it if --enable-initfini-array not specified. + * doc/install.texi (Configuration): Document --enable-initfini-array. * configure, config.in: Rebuild. 2002-11-07 Jason Thorpe - + * config/arm/arm-protos.h (arm_get_frame_size) - (thumb_get_frame_size): New prototypes. + (thumb_get_frame_size): New prototypes. * config/arm/arm.c (arm_get_frame_size) - (thumb_get_frame_size): New functions. - (use_return_insn, arm_output_epilogue, arm_output_function_epilogue) - (arm_compute_initial_elimination_offset, arm_expand_prologue): Use + (thumb_get_frame_size): New functions. + (use_return_insn, arm_output_epilogue, arm_output_function_epilogue) + (arm_compute_initial_elimination_offset, arm_expand_prologue): Use arm_get_frame_size. (thumb_expand_prologue, thumb_expand_epilogue): Use thumb_get_frame_size. @@ -200,8 +206,8 @@ Thu Nov 7 11:18:01 CET 2002 Jan Hubicka 2002-11-04 Dale Johannesen - * doloop.c (doloop_modify_runtime): Fix loop count computation - for unrolled loops. + * doloop.c (doloop_modify_runtime): Fix loop count computation + for unrolled loops. * loop.c (loop_invariant_p): Support calling from unroller. 2002-11-04 Ulrich Weigand @@ -230,7 +236,7 @@ Thu Nov 7 11:18:01 CET 2002 Jan Hubicka * config/pa/pa64-regs.h: Same. * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype. - + * config/sh/sh.c (sh_cannot_change_mode_class): New. * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add @@ -286,7 +292,7 @@ Thu Nov 7 11:18:01 CET 2002 Jan Hubicka (simplify_set): Same. (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove REG_CHANGES_MODE. - + * regs.h: Add extern for subregs_of_mode; Include hard-reg-set and basic-block. (REG_CHANGES_MODE): Delete. @@ -400,7 +406,7 @@ Thu Nov 7 11:18:01 CET 2002 Jan Hubicka (-minline-float-divide-max-throughput): New. (-minline-int-divide-min-latency): New. (-minline-int-divide-max-throughput): New. - + 2002-11-01 Richard Earnshaw (rearnsha@arm.com) PR target/7856 @@ -420,7 +426,7 @@ Fri Nov 1 10:33:15 CET 2002 Jan Hubicka 2002-10-31 Eric Christopher - * explow.c (convert_memory_address): Use shallow_copy_rtx. + * explow.c (convert_memory_address): Use shallow_copy_rtx. 2002-10-31 Steve Ellcey @@ -465,7 +471,7 @@ Thu Oct 31 12:45:55 2002 J"orn Rennecke 2002-10-30 Aldy Hernandez - * c-common.c: Add GTY to vector_type_node_list. + * c-common.c: Add GTY to vector_type_node_list. 2002-10-30 John David Anglin @@ -607,8 +613,8 @@ Tue Oct 29 15:37:39 CET 2002 Jan Hubicka 2002-10-29 Eric Botcazou - * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation; - check for zero operands explicitly. + * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation; + check for zero operands explicitly. 2002-10-29 Richard Sandiford @@ -748,7 +754,7 @@ Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka 2002-10-24 Igor Shevlyakov - * varasm.c (struct rtx_const): Array size 16 for V16QImode. + * varasm.c (struct rtx_const): Array size 16 for V16QImode. 2002-10-24 Richard Henderson diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 95a4dd5..1711354 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -21,9 +21,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Don't assume anything about the header files. */ -#define NO_IMPLICIT_EXTERN_C - #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 77902c8..73fd5be 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -106,9 +106,6 @@ Boston, MA 02111-1307, USA. */ So we have to squirrel it away with this. */ #define SETUP_FRAME_ADDRESSES() rs6000_aix_emit_builtin_unwind_init () -/* Don't assume anything about the header files. */ -#define NO_IMPLICIT_EXTERN_C - /* Override svr4.h */ #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 4ea2c4f..68fa73f 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -21,6 +21,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Header files should be C++ aware in general. */ +#define NO_IMPLICIT_EXTERN_C + /* Yes! We are ELF. */ #define TARGET_OBJECT_FORMAT OBJECT_ELF diff --git a/gcc/config/rs6000/windiss.h b/gcc/config/rs6000/windiss.h index 32f925a..7aacb23 100644 --- a/gcc/config/rs6000/windiss.h +++ b/gcc/config/rs6000/windiss.h @@ -45,5 +45,3 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 16 - -#define NO_IMPLICIT_EXTERN_C