diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-06-06 00:19:55 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-06-06 00:19:55 +0400 |
commit | 512c2879a4af0ddf31207450fb4a2173220081e0 (patch) | |
tree | e4bc72404c24e362ec3f04250d939a05bce23f97 | |
parent | 986b5d2246db33a33c97316238c89d12dee01b5e (diff) |
2006-06-05 Shaun Jackman <sjackman@gmail.com>
* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
usleep.c.
* libc/posix/Makefile.in: Regenerate.
* libc/posix/sleep.c: New file.
* libc/posix/usleep.c: Ditto.
-rw-r--r-- | newlib/ChangeLog | 8 | ||||
-rw-r--r-- | newlib/libc/posix/Makefile.am | 3 | ||||
-rw-r--r-- | newlib/libc/posix/Makefile.in | 20 |
3 files changed, 27 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6e38e9d1f..2d8911a84 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,13 @@ 2006-06-05 Shaun Jackman <sjackman@gmail.com> + * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and + usleep.c. + * libc/posix/Makefile.in: Regenerate. + * libc/posix/sleep.c: New file. + * libc/posix/usleep.c: Ditto. + +2006-06-05 Shaun Jackman <sjackman@gmail.com> + * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove -DABORT_PROVIDED flag. * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss. diff --git a/newlib/libc/posix/Makefile.am b/newlib/libc/posix/Makefile.am index f63dc8822..649451645 100644 --- a/newlib/libc/posix/Makefile.am +++ b/newlib/libc/posix/Makefile.am @@ -7,7 +7,8 @@ INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) GENERAL_SOURCES = \ closedir.c creat.c isatty.c \ opendir.c readdir.c \ - readdir_r.c rewinddir.c telldir.c + readdir_r.c rewinddir.c sleep.c usleep.c \ + telldir.c ELIX_2_SOURCES = \ scandir.c seekdir.c diff --git a/newlib/libc/posix/Makefile.in b/newlib/libc/posix/Makefile.in index 1bc23a98b..24a6d4e5f 100644 --- a/newlib/libc/posix/Makefile.in +++ b/newlib/libc/posix/Makefile.in @@ -57,7 +57,8 @@ lib_a_LIBADD = am__objects_1 = lib_a-closedir.$(OBJEXT) lib_a-creat.$(OBJEXT) \ lib_a-isatty.$(OBJEXT) lib_a-opendir.$(OBJEXT) \ lib_a-readdir.$(OBJEXT) lib_a-readdir_r.$(OBJEXT) \ - lib_a-rewinddir.$(OBJEXT) lib_a-telldir.$(OBJEXT) + lib_a-rewinddir.$(OBJEXT) lib_a-sleep.$(OBJEXT) \ + lib_a-usleep.$(OBJEXT) lib_a-telldir.$(OBJEXT) am__objects_2 = lib_a-scandir.$(OBJEXT) lib_a-seekdir.$(OBJEXT) am__objects_3 = lib_a-execl.$(OBJEXT) lib_a-execle.$(OBJEXT) \ lib_a-execlp.$(OBJEXT) lib_a-execv.$(OBJEXT) \ @@ -76,7 +77,7 @@ lib_a_OBJECTS = $(am_lib_a_OBJECTS) LTLIBRARIES = $(noinst_LTLIBRARIES) libposix_la_LIBADD = am__objects_6 = closedir.lo creat.lo isatty.lo opendir.lo readdir.lo \ - readdir_r.lo rewinddir.lo telldir.lo + readdir_r.lo rewinddir.lo sleep.lo usleep.lo telldir.lo am__objects_7 = scandir.lo seekdir.lo am__objects_8 = execl.lo execle.lo execlp.lo execv.lo execve.lo \ execvp.lo @@ -250,7 +251,8 @@ INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) GENERAL_SOURCES = \ closedir.c creat.c isatty.c \ opendir.c readdir.c \ - readdir_r.c rewinddir.c telldir.c + readdir_r.c rewinddir.c sleep.c usleep.c \ + telldir.c ELIX_2_SOURCES = \ scandir.c seekdir.c @@ -388,6 +390,18 @@ lib_a-rewinddir.o: rewinddir.c lib_a-rewinddir.obj: rewinddir.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-rewinddir.obj `if test -f 'rewinddir.c'; then $(CYGPATH_W) 'rewinddir.c'; else $(CYGPATH_W) '$(srcdir)/rewinddir.c'; fi` +lib_a-sleep.o: sleep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sleep.o `test -f 'sleep.c' || echo '$(srcdir)/'`sleep.c + +lib_a-sleep.obj: sleep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-sleep.obj `if test -f 'sleep.c'; then $(CYGPATH_W) 'sleep.c'; else $(CYGPATH_W) '$(srcdir)/sleep.c'; fi` + +lib_a-usleep.o: usleep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-usleep.o `test -f 'usleep.c' || echo '$(srcdir)/'`usleep.c + +lib_a-usleep.obj: usleep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-usleep.obj `if test -f 'usleep.c'; then $(CYGPATH_W) 'usleep.c'; else $(CYGPATH_W) '$(srcdir)/usleep.c'; fi` + lib_a-telldir.o: telldir.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-telldir.o `test -f 'telldir.c' || echo '$(srcdir)/'`telldir.c |