jawt.c: Remove malloc.h, covered by stdlib.h.

2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>

	* jawt.c: Remove malloc.h, covered by stdlib.h.

	* testsuite/libjava.jni/jni.exp
	(gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
	the build process.

From-SVN: r100504
This commit is contained in:
Andreas Tobler 2005-06-02 20:12:47 +02:00 committed by Andreas Tobler
parent c1bd2d6675
commit 423ceeadf1
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
* jawt.c: Remove malloc.h, covered by stdlib.h.
* testsuite/libjava.jni/jni.exp
(gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
the build process.
2005-06-02 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/transport/TransportException.java: New file.

View File

@ -40,7 +40,6 @@
#include <jawt.h>
#include <jawt_md.h>
#include "classpath_jawt.h"
#include <malloc.h>
static jint (JNICALL _Jv_Lock) (JAWT_DrawingSurface* surface);
static void (JNICALL _Jv_Unlock) (JAWT_DrawingSurface* surface);

View File

@ -196,7 +196,7 @@ proc gcj_jni_invocation_compile_c_to_binary {file {options {}}} {
# Set some darwin specific options
if { [istarget "*-*-darwin*"] } {
lappend options "additional_flags=-multiply_defined suppress"
lappend options "additional_flags= -bind_at_load -multiply_defined suppress"
}
# Find the generated header.
lappend options "additional_flags=-I. -I.."