gcc/libjava/java/lang
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
..
ref re PR libgcj/10596 (Reference and String.intern don't work together) 2003-09-29 21:13:55 +00:00
reflect [multiple changes] 2004-10-18 09:46:48 +00:00
AbstractMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArithmeticException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayStoreException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
AssertionError.java AssertionError.java: Merge with classpath, fixes HTML. 2002-09-16 09:46:37 +00:00
Boolean.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Byte.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
CharSequence.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
Character.java * java/lang/Character.java (forDigit): Formatting fix. 2002-12-03 20:13:43 +00:00
Class.h Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
Class.java 2004-01-27 Michael Koch <konqueror@gmx.de> 2004-01-27 21:00:19 +00:00
ClassCastException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassCircularityError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassFormatError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassLoader.java ClassLoader.java (loadedClasses): Declare as HashMap. 2004-09-24 11:25:42 +00:00
ClassNotFoundException.java ClassNotFoundException.java: New Classpath version. 2002-06-17 19:15:22 +00:00
CloneNotSupportedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Cloneable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Comparable.java [multiple changes] 2004-09-09 21:44:07 +02:00
Compiler.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
Double.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
EcosProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Error.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Exception.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
ExceptionInInitializerError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Float.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
IllegalAccessError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalAccessException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalArgumentException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalMonitorStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalThreadStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IncompatibleClassChangeError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InheritableThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
InstantiationError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Integer.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
InternalError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InterruptedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
LinkageError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Long.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
Math.java 2004-10-22 Michael Koch <konqueror@gmx.de> 2004-10-22 17:14:29 +00:00
NegativeArraySizeException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoClassDefFoundError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NullPointerException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Number.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
NumberFormatException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Object.h posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
Object.java Class.java, [...]: Merged copyright with classpath. 2004-01-23 11:56:48 +00:00
OutOfMemoryError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Package.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
PosixProcess.java re PR libgcj/11801 (Problems with Process.waitFor() and exitValue()) 2004-08-12 16:20:11 +00:00
Process.java Process.java: Merged from classpath. 2003-03-19 12:15:04 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
RuntimeException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
RuntimePermission.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
SecurityException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityManager.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
Short.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
StackOverflowError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackTraceElement.java 2004-10-22 Michael Koch <konqueror@gmx.de> 2004-10-22 17:14:29 +00:00
StrictMath.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
String.java String.java: Fixed javadocs all over. 2004-07-17 14:04:45 +00:00
StringBuffer.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
System.java System.java: Revert accidential change. 2004-10-18 11:09:11 +00:00
Thread.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java Byte.java, [...]: Fixed javadocs, coding style and argument names all over. 2004-04-20 12:30:19 +00:00
ThreadLocal.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
Throwable.java System.java (properties): Make package private. 2004-09-26 17:11:14 +00:00
UnknownError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsatisfiedLinkError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedClassVersionError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedOperationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VMClassLoader.java VMClassLoader.java: Reworked imports. 2004-01-23 15:29:38 +00:00
VMSecurityManager.java Makefile.in: Rebuilt. 2002-12-05 00:49:30 +00:00
VMThrowable.java VMThrowable.java (getStackTrace): Pass trace as-is to modified lookup(). 2004-04-09 04:39:24 +00:00
VerifyError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VirtualMachineError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Void.java Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders. 2004-10-18 10:41:56 +00:00
Win32Process.java re PR libgcj/12231 ([win32] Console applications spawned via Runtime.exec( ) in a GUI application flash console window) 2003-11-07 03:16:49 +00:00
dtoa.c natMath.cc: Declare fabsf() function. 2000-12-02 00:28:44 +00:00
e_acos.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_asin.c [multiple changes] 1999-06-24 20:41:47 +00:00
e_atan2.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_exp.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_fmod.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_log.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_pow.c cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
e_rem_pio2.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_remainder.c [multiple changes] 1999-06-24 20:06:09 +00:00
e_scalb.c
e_sqrt.c [multiple changes] 1999-06-24 20:06:09 +00:00
fdlibm.h cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
ieeefp.h Add m32r support. 2004-10-21 09:36:47 +00:00
k_cos.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_rem_pio2.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_sin.c [multiple changes] 1999-06-24 20:06:09 +00:00
k_tan.c [multiple changes] 1999-06-24 20:06:09 +00:00
mprec.c no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments. 2001-09-21 00:46:32 -07:00
mprec.h * java/lang/mprec.h: Change C9X reference to refer to C99. 2000-12-23 23:38:51 +00:00
natCharacter.cc unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
natClass.cc natClass.cc (_Jv_LayoutVTableMethods): Cast pointers to uaddr, not int. 2004-10-20 21:42:33 +00:00
natClassLoader.cc Index: gcc/gcc/ChangeLog 2004-10-26 06:09:05 +00:00
natDouble.cc natDouble.cc (parseDouble): Reverted patch of 2003-11-13. 2003-11-26 18:02:34 +00:00
natEcosProcess.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
natFloat.cc Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +00:00
natMath.cc Makefile.in: Rebuilt with Eric's change below. 2002-02-15 05:53:29 +00:00
natObject.cc configure.ac: Handle --enable-gc-debug. 2004-08-28 00:45:56 +00:00
natPosixProcess.cc natPosixProcess.cc (waitForSignal): Ignore return value of sigsuspend. 2004-09-14 13:09:31 -07:00
natRuntime.cc Fix typo in last commit. 2004-05-19 21:49:40 +00:00
natString.cc prims.cc (_Jv_AllocObject): Remove `size' argument. 2004-04-16 17:27:19 +01:00
natStringBuffer.cc natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
natSystem.cc natSystem.cc (getenv0): Don't assume environment variable is Latin 1 coded. 2004-06-15 13:43:33 +00:00
natThread.cc natThread.cc (finalize_native): Destroy join conditional variable and mutex if... 2004-09-11 19:10:44 +00:00
natVMClassLoader.cc class.c (make_class_data): Add new field aux_info. 2004-04-20 02:38:46 +01:00
natVMSecurityManager.cc natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound. 2003-06-18 14:13:59 +00:00
natWin32Process.cc natPosixProcess.cc (startProcess): Implement standard streams using FileChannelImpl, not FileDescriptor. 2004-02-29 11:14:20 -08:00
s_atan.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_ceil.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_copysign.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_cos.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_fabs.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_floor.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_rint.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_scalbn.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_sin.c [multiple changes] 1999-06-24 20:06:09 +00:00
s_tan.c [multiple changes] 1999-06-24 20:06:09 +00:00
sf_fabs.c * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t. 2001-01-25 19:07:18 +00:00
sf_rint.c [multiple changes] 1999-06-24 20:06:09 +00:00
strtod.c strtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else' attached to wrong 'if'. 2001-10-09 15:54:26 -07:00
w_acos.c
w_asin.c
w_atan2.c
w_exp.c w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined. 2003-06-06 03:34:36 +00:00
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c