gcc/libstdc++-v3/libsupc++
Paul Brook 46e995e0e4 target-def.h (TARGET_CXX_GET_COOKIE_SIZE, [...]): Define.
gcc/
	* target-def.h (TARGET_CXX_GET_COOKIE_SIZE,
	TARGET_CXX_COOKIE_HAS_SIZE): Define.
	(TARGET_CXX): Use them.
	* target.h (struct gcc_target): Add cxx.get_cookie_size and
	cxx.cookie_has_size.
	* targhooks.c (default_cxx_get_cookie_size): New fucntion.
	* targhooks.h (default_cxx_get_cookie_size): Add prototype.
	* config/arm/arm.c (TARGET_CXX_GET_COOKIE_SIZE,
	TARGET_CXX_COOKIE_HAS_SIZE): Define.
	(arm_get_cookie_size, arm_cookie_has_size): New functions.
	* Make-lang.in (cp/init.o): Add dependency on $(TARGET_H).
	* doc/tm.texi: Document TARGET_CXX_GET_COOKIE_SIZE and
	TARGET_CXX_COOKIE_HAS_SIZE.
gcc/cp/
	* init.c: Include target.h.
	(get_cookie_size): Remove and replace with target hook.
	Update callers.
	(build_new_1): Store the element size in the cookie.
libstdc++-v3/
	* libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
	element size in the cookie.
testsuite/
	* g++.old-deja/g++.abi/arraynew.C: Handle ARM EABI cookies.
	* g++.old-deja/g++.abi/cxa_vec.C: Allocate larger cookies for AEABI.

From-SVN: r83854
2004-06-29 14:50:35 +00:00
..
Makefile.am [multiple changes] 2004-02-27 03:21:16 +00:00
Makefile.in Makefile.in: Regenerate with automake 1.8.5. 2004-06-14 17:49:30 +00:00
cxxabi.h target-def.h (TARGET_CXX_GUARD_TYPE, [...]): Define. 2004-06-25 17:15:46 +00:00
del_op.cc Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
del_opnt.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
del_opv.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
del_opvnt.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
eh_alloc.cc Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
eh_aux_runtime.cc Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
eh_catch.cc Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
eh_exception.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
eh_globals.cc Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
eh_personality.cc re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips) 2004-02-09 13:20:33 -08:00
eh_term_handler.cc acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED appropriately. 2003-09-02 18:46:54 +00:00
eh_terminate.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
eh_throw.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
eh_type.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
eh_unex_handler.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
exception Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
exception_defines.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
guard.cc target-def.h (TARGET_CXX_GUARD_TYPE, [...]): Define. 2004-06-25 17:15:46 +00:00
new Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
new_handler.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
new_op.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
new_opnt.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
new_opv.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
new_opvnt.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
pure.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
tinfo.cc safe_base.h (__gnu_debug::_Safe_sequence_base): Revert -Weffc++ changes that defined copy ctory and or assignment operator. 2004-06-28 18:31:18 +00:00
tinfo.h iterator.h: Add GPL copyright info, with exception clause. 2004-05-06 22:02:05 +00:00
tinfo2.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
typeinfo Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
unwind-cxx.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
vec.cc target-def.h (TARGET_CXX_GET_COOKIE_SIZE, [...]): Define. 2004-06-29 14:50:35 +00:00
vterminate.cc vterminate.cc (__gnu_cxx::__verbose_terminate_handler): Only use fputs, not write. 2004-02-23 19:17:06 +00:00