  	__lock_acquire(dd_hash_lock);
 diff -uNr newlib-1.17.0.orig/newlib/libc/reent/impure.c newlib-1.17.0/newlib/libc/reent/impure.c
 --- newlib-1.17.0.orig/newlib/libc/reent/impure.c	2004-09-15 23:44:39.000000000 +0200
-+++ newlib-1.17.0/newlib/libc/reent/impure.c	2009-11-25 17:04:28.000000000 +0100
++++ newlib-1.17.0/newlib/libc/reent/impure.c	2009-12-17 13:51:54.000000000 +0100
 @@ -9,9 +9,26 @@
  #define __ATTRIBUTE_IMPURE_DATA__
  #endif

 #endif
diff -uNr newlib-1.17.0.orig/newlib/libc/machine/i386/f_atan2f.S newlib-1.17.0/newlib/libc/machine/i386/f_atan2f.S
--- newlib-1.17.0.orig/newlib/libc/machine/i386/f_atan2f.S	2002-12-20 22:31:19.000000000 +0100
+++ newlib-1.17.0/newlib/libc/machine/i386/f_atan2f.S	2009-11-25 17:04:28.000000000 +0100
@@ -24,6 +24,7 @@
 	.global SYM (_f_atan2f)
        SOTYPE_FUNCTION(_f_atan2f)

+AC_OUTPUT
diff -uNr newlib-1.17.0.orig/newlib/libc/sys/nacl/crt0.c newlib-1.17.0/newlib/libc/sys/nacl/crt0.c
--- newlib-1.17.0.orig/newlib/libc/sys/nacl/crt0.c	1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0/newlib/libc/sys/nacl/crt0.c	2009-12-17 13:51:54.000000000 +0100
@@ -0,0 +1 @@
+void not_a_real_crt0( void ) {}
diff -uNr newlib-1.17.0.orig/newlib/libc/sys/nacl/dummysys.c newlib-1.17.0/newlib/libc/sys/nacl/dummysys.c
--- newlib-1.17.0.orig/newlib/libc/sys/nacl/dummysys.c	1970-01-01 01:00:00.000000000 +0100
+++ newlib-1.17.0/newlib/libc/sys/nacl/dummysys.c	2009-12-17 13:51:54.000000000 +0100
@@ -0,0 +1 @@
+void not_required_by_rtems( void ) {}
diff -uNr newlib-1.17.0.orig/newlib/libm/machine/i386/f_atan2.S newlib-1.17.0/newlib/libm/machine/i386/f_atan2.S
--- newlib-1.17.0.orig/newlib/libm/machine/i386/f_atan2.S	2002-12-20 22:31:20.000000000 +0100
+++ newlib-1.17.0/newlib/libm/machine/i386/f_atan2.S	2009-12-17 13:51:54.000000000 +0100
@@ -24,6 +24,7 @@
 	.global SYM (_f_atan2)
        SOTYPE_FUNCTION(_f_atan2)
