gcc/libstdc++-v3/libsupc++
Geoffrey Keating f1a6626519 Index: gcc/gcc/ChangeLog
2004-10-25  Geoffrey Keating  <geoffk@apple.com>

	* config/darwin.h (LINK_SPEC): Default weak_reference_mismatches
	to 'non-weak'.
	(MAKE_DECL_ONE_ONLY): Set DECL_WEAK.
	(ASM_MAKE_LABEL_LINKONCE): Delete.
	(ASM_WEAKEN_DECL): New.
	(ASM_DECLARE_OBJECT_NAME): Look at DECL_WEAK not DECL_ONE_ONLY.
	(ASM_DECLARE_FUNCTION_NAME): Likewise.
	(TEXT_SECTION_ASM_OP): Add a tab.
	(DATA_SECTION_ASM_OP): Likewise.
	(SECTION_FUNCTION): Add a tab.  Use fputs.  Don't call
	data_section on every section change.
	(EXTRA_SECTIONS): Add a bunch of new extra sections.
	(EXTRA_SECTION_FUNCTIONS): Likewise.
	(USE_SELECT_SECTION_FOR_FUNCTIONS): Define.
	(JCR_SECTION_NAME): Define.
	(TARGET_SECTION_TYPE_FLAGS): Don't define.
	* config/darwin.c (darwin_encode_section_info): A symbol is defined
	in this file if it is not weak.
	(textcoal_section): Delete.
	(datacoal_section): Delete.
	(darwin_make_decl_one_only): Delete.
	(machopic_select_section): Handle functions.
	(darwin_asm_named_section): Add a tab.
	(darwin_section_type_flags): Delete.
	(darwin_unique_section): Delete contents.
	(darwin_emit_unwind_label): Add a tab.  Make decls weak if
	DECL_WEAK is set.
	* config/darwin-protos.h (darwin_section_type_flags): Delete.
	(darwin_make_decl_one_only): Delete.
	(text_coal_section): New.
	(text_unlikely_section): New.
	(text_unlikely_coal_section): New.
	(const_coal_section): New.
	(data_coal_section): New.
	(const_data_coal_section): New.
	* varasm.c (function_section): Honour
	USE_SELECT_SECTION_FOR_FUNCTIONS.
	* dwarf2out.c (output_call_frame_info): Look at DECL_WEAK when
	TARGET_USES_WEAK_UNWIND_INFO is in effect.
	* dbxout.c (dbxout_source_file): Don't change sections while
	a function is being output.

Index: gcc/testsuite/ChangeLog
2004-10-25  Geoffrey Keating  <geoffk@apple.com>

	* objc.dg/image-info.m: Update for changes to section selection.

Index: libjava/ChangeLog
2004-10-25  Geoffrey Keating  <geoffk@apple.com>

	* Makefile.am (DARWIN_CRT_SRC): New.
	(libgcj_la_SOURCES): Use it.
	* configure.ac: Define USING_DARWIN_CRT when on Darwin.
	* darwin.cc: New file.
	* include/jvm.h (_Jv_RegisterClasses): Constify.
	(_Jv_RegisterClasses_Counted): New prototype.
	* java/lang/Class.h: Include stddef.h.
	(_Jv_RegisterClasses): Constify.
	(_Jv_RegisterClasses_Counted): New prototype.
	(Object): Make '_Jv_RegisterClasses_Counted' a friend.
	* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
	(_Jv_RegisterClasses_Counted): New function.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
	* gcj/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

Index: libstdc++-v3/ChangeLog
2004-10-25  Geoffrey Keating  <geoffk@apple.com>

	* libsupc++/new_op.cc (new): Make weak.
	* libsupc++/new_opnt.cc (new): Make weak.
	* libsupc++/new_opv.cc (new): Make weak.
	* libsupc++/new_opvnt.cc (new): Make weak.
	* libsupc++/delete_op.cc (delete): Make weak.
	* libsupc++/delete_opnt.cc (delete): Make weak.
	* libsupc++/delete_opv.cc (delete): Make weak.
	* libsupc++/delete_opvnt.cc (delete): Make weak.

From-SVN: r89572
2004-10-26 06:09:05 +00:00
..
Makefile.am Makefile.am (hosted_source): Add libmath and testsuite. 2004-08-02 20:28:22 +00:00
Makefile.in acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. 2004-10-06 22:12:34 +00:00
cxxabi.h cxxabi_tweaks.h (__cxa_cdtor_return_type): Define. 2004-09-16 03:41:19 +00:00
del_op.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
del_opnt.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
del_opv.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
del_opvnt.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
eh_alloc.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
eh_aux_runtime.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
eh_catch.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
eh_exception.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
eh_globals.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +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 cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
eh_type.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
eh_unex_handler.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
exception cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
exception_defines.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
guard.cc re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
new cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
new_handler.cc Makefile.am, [...]: Replace "GNU CC" with "GCC". 2003-05-24 16:22:03 +00:00
new_op.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
new_opnt.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
new_opv.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
new_opvnt.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
pure.cc cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +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 bpabi.h (TARGET_BPABI_CPP_BUILTINS): Define. 2004-09-03 00:43:59 +00:00
unwind-cxx.h cxxabi.h: Make all declarations have default visibility. 2004-08-03 06:45:54 +00:00
vec.cc cxxabi_tweaks.h (__cxa_cdtor_return_type): Define. 2004-09-16 03:41:19 +00:00
vterminate.cc Makefile.am (hosted_source): Add libmath and testsuite. 2004-08-02 20:28:22 +00:00