diff -u -r src-original/binutils-stable/Makefile.in src-patched/binutils-stable/Makefile.in
--- src-original/binutils-stable/Makefile.in	2008-10-01 05:39:26.000000000 -0700
+++ src-patched/binutils-stable/Makefile.in	2008-10-15 21:27:12.000000000 -0700
@@ -2471,7 +2471,7 @@
 	@r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs \
-	install-host install-target install-html install-pdf
+	install-host install-target
 
 .PHONY: install-host-nogcc
 install-host-nogcc:  \
diff -u -r src-original/binutils-stable/gas/config/tc-arm.c src-patched/binutils-stable/gas/config/tc-arm.c
--- src-original/binutils-stable/gas/config/tc-arm.c	2008-10-01 05:39:06.000000000 -0700
+++ src-patched/binutils-stable/gas/config/tc-arm.c	2008-10-15 21:28:45.000000000 -0700
@@ -5509,7 +5509,7 @@
   unsigned const char *upat = pattern;
   char *backtrack_pos = 0;
   const char *backtrack_error = 0;
-  int i, val, backtrack_index = 0;
+  int i, val = 0, backtrack_index = 0;
   enum arm_reg_type rtype;
   parse_operand_result result;
 
diff -u -r src-original/binutils-stable/gas/dwarf2dbg.h src-patched/binutils-stable/gas/dwarf2dbg.h
--- src-original/binutils-stable/gas/dwarf2dbg.h	2008-10-01 05:39:07.000000000 -0700
+++ src-patched/binutils-stable/gas/dwarf2dbg.h	2008-10-15 21:29:18.000000000 -0700
@@ -81,12 +81,12 @@
 
 /* True when we've seen a .loc directive recently.  Used to avoid
    doing work when there's nothing to do.  */
-bfd_boolean dwarf2_loc_directive_seen;
+extern bfd_boolean dwarf2_loc_directive_seen;
 
 /* True when we're supposed to set the basic block mark whenever a label
    is seen.  Unless the target is doing Something Weird, just call 
    dwarf2_emit_label.  */
-bfd_boolean dwarf2_loc_mark_labels;
+extern bfd_boolean dwarf2_loc_mark_labels;
 
 extern void dwarf2_finish (void);
 
diff -u -r src-original/binutils-stable/gprof/hist.c src-patched/binutils-stable/gprof/hist.c
--- src-original/binutils-stable/gprof/hist.c	2008-10-01 05:39:26.000000000 -0700
+++ src-patched/binutils-stable/gprof/hist.c	2008-10-15 21:30:07.000000000 -0700
@@ -37,6 +37,9 @@
 
 #define UNITS_TO_CODE (offset_to_code / sizeof(UNIT))
 
+histogram *histograms;
+unsigned num_histograms;
+
 static void scale_and_align_entries (void);
 static void print_header (int);
 static void print_line (Sym *, double);
diff -u -r src-original/binutils-stable/gprof/hist.h src-patched/binutils-stable/gprof/hist.h
--- src-original/binutils-stable/gprof/hist.h	2008-10-01 05:39:26.000000000 -0700
+++ src-patched/binutils-stable/gprof/hist.h	2008-10-15 21:29:44.000000000 -0700
@@ -30,8 +30,8 @@
   int *sample;           /* Histogram samples (shorts in the file!).  */
 } histogram;
 
-histogram *histograms;
-unsigned num_histograms;
+extern histogram *histograms;
+extern unsigned num_histograms;
 
 /* Scale factor converting samples to pc values:
    each sample covers HIST_SCALE bytes.  */
diff -u -r src-original/gcc-4.3/Makefile.in src-patched/gcc-4.3/Makefile.in
--- src-original/gcc-4.3/Makefile.in	2008-10-01 05:56:28.000000000 -0700
+++ src-patched/gcc-4.3/Makefile.in	2008-10-15 21:27:13.000000000 -0700
@@ -2456,7 +2456,7 @@
 	@r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs \
-	install-host install-target install-html install-pdf
+	install-host install-target
 
 .PHONY: install-host-nogcc
 install-host-nogcc:  \
diff -u -r src-original/gcc-4.3/gcc/Makefile.in src-patched/gcc-4.3/gcc/Makefile.in
--- src-original/gcc-4.3/gcc/Makefile.in	2008-10-01 05:51:16.000000000 -0700
+++ src-patched/gcc-4.3/gcc/Makefile.in	2008-10-15 21:27:13.000000000 -0700
@@ -3934,7 +3934,7 @@
 # Install the driver last so that the window when things are
 # broken is small.
 install: install-common $(INSTALL_HEADERS) \
-    install-cpp install-man install-info install-html install-pdf \
+    install-cpp install-man install-info \
     install-@POSUB@ install-driver
 
 # Handle cpp installation.
diff -u -r src-original/gcc-4.3/libiberty/physmem.c src-patched/gcc-4.3/libiberty/physmem.c
--- src-original/gcc-4.3/libiberty/physmem.c	2008-10-01 05:53:02.000000000 -0700
+++ src-patched/gcc-4.3/libiberty/physmem.c	2008-10-15 21:27:13.000000000 -0700
@@ -49,7 +49,7 @@
 #endif
 
 #if HAVE_SYS_SYSCTL_H
-# include <sys/sysctl.h>
+/* # include <sys/sysctl.h> */
 #endif
 
 #if HAVE_SYS_SYSTEMCFG_H
diff -u -r src-original/newlib-stable/configure.ac src-patched/newlib-stable/configure.ac
--- src-original/newlib-stable/configure.ac	2008-10-01 05:58:41.000000000 -0700
+++ src-patched/newlib-stable/configure.ac	2008-10-15 21:27:13.000000000 -0700
@@ -349,7 +349,7 @@
 ENABLE_LIBSSP=yes)
 
 # Check whether --enable-libgloss or --disable-libgloss was given.
-AC_ARG_ENABLE (libgloss,
+AC_ARG_ENABLE(libgloss,
 [  --enable-libgloss       build libgloss directory],
 ENABLE_LIBGLOSS=$enableval,
 ENABLE_LIBGLOSS=yes)
@@ -528,7 +528,7 @@
     libgloss_dir=arm
     ;;
   arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
-    noconfigdirs="$noconfigdirs target-libffi target-qthreads"
+    noconfigdirs="$noconfigdirs target-libffi target-qthreads target-libgloss"
     libgloss_dir=arm
     ;;
   arm*-*-linux-gnueabi)
diff -u -r src-original/newlib-stable/newlib/libc/include/stdint.h src-patched/newlib-stable/newlib/libc/include/stdint.h
--- src-original/newlib-stable/newlib/libc/include/stdint.h	2008-10-01 05:58:07.000000000 -0700
+++ src-patched/newlib-stable/newlib/libc/include/stdint.h	2008-10-15 21:27:13.000000000 -0700
@@ -245,7 +245,7 @@
  */
 #if defined(__PTRDIFF_TYPE__)
 typedef signed __PTRDIFF_TYPE__ intptr_t;
-typedef unsigned __PTRDIFF_TYPE__ uintptr_t;
+typedef __PTRDIFF_TYPE__ uintptr_t;
 #else
 /*
  * Fallback to hardcoded values, 
diff -u -r src-original/newlib-stable/newlib/libc/include/sys/types.h src-patched/newlib-stable/newlib/libc/include/sys/types.h
--- src-original/newlib-stable/newlib/libc/include/sys/types.h	2008-10-01 05:58:07.000000000 -0700
+++ src-patched/newlib-stable/newlib/libc/include/sys/types.h	2008-10-15 21:27:13.000000000 -0700
@@ -165,7 +165,9 @@
 typedef __gid_t gid_t;
 #endif
 
+#ifndef pid_t
 typedef int pid_t;
+#endif
 #ifndef __CYGWIN__
 typedef	long key_t;
 #endif
diff -u -r src-original/newlib-stable/newlib/libc/sys/arm/Makefile.in src-patched/newlib-stable/newlib/libc/sys/arm/Makefile.in
--- src-original/newlib-stable/newlib/libc/sys/arm/Makefile.in	2008-10-01 05:58:25.000000000 -0700
+++ src-patched/newlib-stable/newlib/libc/sys/arm/Makefile.in	2008-10-15 21:27:13.000000000 -0700
@@ -90,7 +90,7 @@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
+CPPFLAGS =
 CRT0 = @CRT0@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
