OSDN Git Service

2003-05-27 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Tue, 27 May 2003 19:57:58 +0000 (19:57 +0000)
committerjjohnstn <jjohnstn>
Tue, 27 May 2003 19:57:58 +0000 (19:57 +0000)
        * libnosys/Makefile.in: Add errno.o.
        * libnosys/errno.c: New file to supply errno definition if
        one not provided yet.

libgloss/ChangeLog
libgloss/libnosys/Makefile.in
libgloss/libnosys/errno.c [new file with mode: 0644]

index 7b2ec0e..546bc88 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-27  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libnosys/Makefile.in: Add errno.o.
+       * libnosys/errno.c: New file to supply errno definition if
+       one not provided yet.
+
 2003-05-26  Eric Christopher  <echristo@redhat.com>
 
        * mips/crt0.S: Remove stackbase variable set.
index 4856154..3aaf04d 100644 (file)
@@ -64,8 +64,8 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
 
 # object files needed
-OBJS = close.o environ.o execve.o fork.o fstat.o getpid.o gettod.o isatty.o \
-       kill.o link.o lseek.o open.o read.o sbrk.o stat.o \
+OBJS = close.o environ.o errno.o execve.o fork.o fstat.o getpid.o gettod.o \
+       isatty.o kill.o link.o lseek.o open.o read.o sbrk.o stat.o \
        times.o unlink.o wait.o write.o
 
 # Object files specific to particular targets.
diff --git a/libgloss/libnosys/errno.c b/libgloss/libnosys/errno.c
new file mode 100644 (file)
index 0000000..27d8e3a
--- /dev/null
@@ -0,0 +1,3 @@
+/* Supply a definition of errno if one not already provided.  */
+
+int errno;