diff -ur binutils-2.8/Makefile binutils-2.8-eota/Makefile
--- binutils-2.8/Makefile	Fri Jan 11 13:27:18 2002
+++ binutils-2.8-eota/Makefile	Fri Jan 11 12:49:14 2002
@@ -81,9 +81,11 @@
 HOST_PREFIX = 
 HOST_PREFIX_1 = loser-
 
+NEWLIB        = /home/naniwa/PDS/OS/libc/newlib-1.8.1-eota/eota/newlib
+
 # We don't specify -g -O because many compilers don't support -g -O,
 # and/or -O is broken in and of itself.
-CFLAGS = -g
+CFLAGS = -g -I$(NEWLIB)/targ-include -I$(NEWLIB)/libc/include
 LIBCFLAGS = $(CFLAGS)
 CFLAGS_FOR_TARGET = $(CFLAGS)
 LDFLAGS_FOR_TARGET = 
diff -ur binutils-2.8/bfd/config.h binutils-2.8-eota/bfd/config.h
--- binutils-2.8/bfd/config.h	Fri Jan 11 13:27:31 2002
+++ binutils-2.8-eota/bfd/config.h	Fri Jun 22 11:25:57 2001
@@ -32,7 +32,7 @@
 #define TRAD_HEADER "hosts/i386linux.h"
 
 /* Define only if <sys/procfs.h> is available *and* it defines prstatus_t.  */
-#define HAVE_SYS_PROCFS_H 1
+/*#define HAVE_SYS_PROCFS_H */
 
 /* Do we really want to use mmap if it's available?  */
 /* #undef USE_MMAP */
diff -ur binutils-2.8/gas/Makefile binutils-2.8-eota/gas/Makefile
--- binutils-2.8/gas/Makefile	Fri Jan 11 13:27:45 2002
+++ binutils-2.8-eota/gas/Makefile	Fri Jan 11 13:19:44 2002
@@ -422,7 +422,7 @@
 	ecoff.o \
 	stabs.o \
 	sb.o \
-	macro.o \
+	macro.o
 	
 
 GASPOBJS = \
@@ -478,9 +478,19 @@
 STAGESTUFF = *.o as.new gasp.new
 
 $(OBJS):  ../bfd/bfd.h
+ROOT=../../EOTA-CUR/kernel
+NEWLIB=../../libc/newlib-1.8.1-eota/eota/newlib
+EOBJ=$(NEWLIB)/crt0.o 
+ELIBS=$(NEWLIB)/libc.a $(ROOT)/POSIX/libc/libnative.a #$(ROOT)/ITRON/kernlib/libkernel.a 
+STARTADDR=0x00001000
+ENTRY=_start
+
+OBJ2E = -Bstatic -o $@  -e ${ENTRY} -Ttext=$(STARTADDR)
 
+#	$(HLDENV) $(CC) $(HLDFLAGS) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES)
 as.new: $(OBJS) $(LIBDEPS)
-	$(HLDENV) $(CC) $(HLDFLAGS) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES)
+	ld -o $@ $(OBJ2E) $(EOBJ) $(OBJS) $(LIBS) $(LOADLIBES) $(ELIBS)
+	strip $@
 
 # Stuff that every object file depends upon.  If anything is removed
 # from this list, remove it from dep-in.sed as well.
@@ -488,8 +498,10 @@
 	expr.h struc-symbol.h write.h frags.h hash.h read.h symbols.h tc.h \
 	obj.h listing.h bignum.h bit_fix.h $(INCDIR)/libiberty.h
 
+#	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new $(GASPOBJS) ../libiberty/libiberty.a $(LOADLIBES)
 gasp.new: $(GASPOBJS) ../libiberty/libiberty.a
-	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new $(GASPOBJS) ../libiberty/libiberty.a $(LOADLIBES)
+	ld -o $@ $(OBJ2E) $(EOBJ) $(GASPOBJS) ../libiberty/libiberty.a $(LOADLIBES) $(ELIBS)
+	strip $@
 
 installcheck:
 	@echo No installcheck target is available yet for the GNU assembler.
diff -ur binutils-2.8/ld/Makefile binutils-2.8-eota/ld/Makefile
--- binutils-2.8/ld/Makefile	Fri Jan 11 13:27:39 2002
+++ binutils-2.8-eota/ld/Makefile	Fri Jan 11 13:04:09 2002
@@ -642,8 +642,19 @@
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
 	${GENSCRIPTS} z8002 "$(tdir_z8002)"
 
+ROOT=../../EOTA-CUR/kernel
+NEWLIB=../../libc/newlib-1.8.1-eota/eota/newlib
+EOBJ=$(NEWLIB)/crt0.o 
+ELIBS=$(NEWLIB)/libc.a $(ROOT)/POSIX/libc/libnative.a #$(ROOT)/ITRON/kernlib/libkernel.a 
+STARTADDR=0x00001000
+ENTRY=_start
+
+OBJ2E = -Bstatic -o $@  -e ${ENTRY} -Ttext=$(STARTADDR)
+
 $(LD_PROG): $(OFILES) $(BFDDEP) $(LIBIBERTY)
-	$(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(EXTRALIBS)
+#	$(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(EXTRALIBS)
+	ld $(OBJ2E) $(EOBJ) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(EXTRALIBS) $(ELIBS) 
+	strip $@
 
 # The generated emulation files mostly have the same dependencies.
 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
diff -ur binutils-2.8/libiberty/clock.c binutils-2.8-eota/libiberty/clock.c
--- binutils-2.8/libiberty/clock.c	Thu May  1 01:55:35 1997
+++ binutils-2.8-eota/libiberty/clock.c	Fri Jun 22 11:43:28 2001
@@ -22,6 +22,8 @@
 This exception does not however invalidate any other reasons why
 the executable file might be covered by the GNU General Public License. */
 
+#undef HAVE_GETRUSAGE
+
 #ifdef HAVE_GETRUSAGE
 #include <sys/time.h>
 #include <sys/resource.h>
diff -ur binutils-2.8/libiberty/getruntime.c binutils-2.8-eota/libiberty/getruntime.c
--- binutils-2.8/libiberty/getruntime.c	Thu May  1 01:55:37 1997
+++ binutils-2.8-eota/libiberty/getruntime.c	Fri Jun 22 11:36:44 2001
@@ -48,6 +48,8 @@
 #include <sys/times.h>
 #endif
 
+#undef HAVE_GETRUSAGE
+
 /* This is a fallback; if wrong, it will likely make obviously wrong
    results. */
 
