]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
jawt.c: Remove malloc.h, covered by stdlib.h.
authorAndreas Tobler <a.tobler@schweiz.ch>
Thu, 2 Jun 2005 18:12:47 +0000 (20:12 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Thu, 2 Jun 2005 18:12:47 +0000 (20:12 +0200)
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

libjava/ChangeLog
libjava/jawt.c
libjava/testsuite/libjava.jni/jni.exp

index 44df2319469c7d114b7b5637a60c04f422d8d2c7..a98920a7dd5191d6792643b84f6747ab0d2ffd10 100644 (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.
index bb03c638e55ffd763cbca16f6cf61a1ba7829b40..ad5284d4b132f7a8d0f89fd80cd83e4cf941d732 100644 (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);
index 201daaca71336600cefd147a733a27d624ffd250..84614260b0b753e97d518f0dc8f12187d38ff654 100644 (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.."