source: rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.11-20101004.diff @ 543405e1

4.115
Last change on this file since 543405e1 was 543405e1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/04/10 at 12:16:35

New.

  • Property mode set to 100644
File size: 56.8 KB
  • newlib/ChangeLog.rtems

    diff -Naur newlib-1.18.0.orig/newlib/ChangeLog.rtems newlib-1.18.0/newlib/ChangeLog.rtems
    old new  
     12010-09-21  Craig Howland <howland@LGSInnovations.com>
     2
     3        * libc/string/memcpy.c: Do not assign size_t parameter to int.
     4        Use parameter directly, instead.
     5        * libc/string/memccpy.c:  Likewise.
     6        * libc/string/mempcpy.c:  Likewise.
     7        * libc/string/memmove.c:  Likewise.
     8
     92010-09-04      Joel Sherrill <joel@OARcorp.com>
     10
     11        * include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
     12        pthread_attr_getguardsize, pthread_attr_setguardsize.
     13        * sys/types.h (pthread_attr_t): Add guardsize.
     14
     152010-08-24  Sebastian Huber <sebastian.huber@embedded-brains.de>
     16
     17        * libc/posix/opendir.c: Added missing memory free.
     18
     192010-08-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     20
     21        PR 1475/newlib:
     22        * libc/include/stdint.h: Fall back to compute SIZE_MAX based on
     23        __SIZEOF_SIZE_T__ and __CHAR_BIT__ if available.
     24
     252010-08-04      Ralf Corsépius <ralf.corsepius@rtems.org>
     26
     27        * libc/string/strcat.c:
     28        Include <stdint.h>. Use uintptr_t instead of long in ALIGNED.
     29        * libc/string/strchr.c, libc/string/strcmp.c, libc/string/strncmp.c:
     30        Include <stdint.h>. Use uintptr_t instead of long in UNALIGNED.
     31        * libc/include/sys/unistd.h: Activate decls for
     32        getsid, setegid, seteuid.
     33
     342010-07-08      Ralf Corsépius <ralf.corsepius@rtems.org>
     35
     36        * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
     37        * libc/string/index.c, libc/string/rindex.c: Include <string.h>.
     38        * libc/stdlib/putenv_r.c: Include <strings.h>
     39
     402010-07-06  Corinna Vinschen  <corinna@vinschen.de>
     41
     42        * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
     43        * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
     44        * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
     45        rather than off_t.
     46
     472010-06-17      Ralf Corsépius <ralf.corsepius@rtems.org>
     48
     49        * libc/sys/rtems/machine/_types.h: Special case for sparc64.
     50
     512010-04-23      Ralf Corsépius <ralf.corsepius@rtems.org>
     52
     53        * libc/sys/rtems/machine/_types.h: Add _mode_t.
     54        * libc/include/sys/types.h: Derive mode_t from  _mode_t.
     55
     562010-04-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     57
     58        * libc/include/sched.h, libc/include/sys/sched.h:
     59        Adopt newlib-cvs's versions.
     60
     612010-03-25      Ralf Corsépius <ralf.corsepius@rtems.org>
     62
     63        * libc/include/strings.h: New (split-out from string.h).
     64        * libc/include/string.h: Remove bcmp, bcopy, bzero, ffs, index, rindex,
     65        strcasecmp, strncasecmp (Moved to strings.h).
     66        Remove strcmpi, stricmp, strncmpi, strnicmp.
     67        * libc/misc/ffs.c: Use <strings.h> instead of <string.h>.
     68        * libc/string/bcmp.c: Use <strings.h> instead of <string.h>.
     69        * libc/string/bzero.c: Use <strings.h> instead of <string.h>.
     70        * libc/string/rindex.c: Use <strings.h> instead of <string.h>.
     71        * libc/string/strcasecmp.c: Use <strings.h> instead of <string.h>.
     72        * libc/string/strcasecmp.c: Use <strings.h> instead of <string.h>.
     73
     742010-03-23      Ralf Corsépius <ralf.corsepius@rtems.org>
     75
     76        * libc/sys/rtems/machine/_types.h: Add i386 to 64bit off_t targets.
     77
     782010-03-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     79
     80        * libc/posix/telldir.c: Adopt newlib-cvs's telldir.c
     81
     822010-02-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     83
     84        * libc/sys/rtems/machine/_types.h: Use __int64_t for _off_t, fpos_t for
     85        selected targets.
     86
     872010-02-05      Ralf Corsépius <ralf.corsepius@rtems.org>
     88
     89        * libc/posix/telldir.c: Remove bogus nested prototype of lseek().
     90
     912010-01-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
     92
     93        * libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.
     94
     952009-12-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     96
     97        * libc/search/db_local.h:
     98        Use __uint32_t instead of u_int (prototype mismatches).
     99        * libc/search/extern.h (__buf_init):
     100        Use __uint32_t instead of int (16 bit target portability).
     101        * libc/search/hash_buf.c: Use ptrdiff_t instead of __uint32_t,
     102        use __uint32_t instead of int (16 bit target portability).
     103        * libc/search/hash.h: Use __uint32_it instead of int
     104        (16 bit target portability).
     105        * libm/common/modfl.c: Add cast to (double*) to avoid GCC warning.
     106        * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit
     107        casts to __uint32_t to avoid overflows on implicit casts.
     108
     1092009-12-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     110
     111        Merger with newlib-1.18.0.
     112
     1132009-10-29      Ralf Corsépius <ralf.corsepius@rtems.org>
     114
     115        * libc/sys/rtems/machine/_types.h: Rework.
     116        * libc/sys/rtems/machine/stdint.h: Remove.
     117        * libc/include/inttypes.h:
     118        Rework logic to determine PRI*PTR.
     119        Prefer long64 over longlong64.
     120        * libc/include/machine/_default_types.h:
     121        Sync logic for __int32 with stdint.h (Prefer long over int).
     122        * libc/include/stdint.h:
     123        Remove __SPU__ hack.
     124        Prefer int for int16_t (sync with _default_types.h).
     125        Rework intptr_t determination.
     126
     1272009-10-28      Ralf Corsépius <ralf.corsepius@rtems.org>
     128
     129        * libc/sys/rtems/machine/_types.h: New.
     130        Add custom time for _ssize_t.
     131        * libc/stdlib/assert.c: Sync with newlib-CVS.
     132        * configure.host: Add -DHAVE_ASSERT_FUNC to newlib_cflags.
     133
     1342009-10-27      Ralf Corsépius <ralf.corsepius@rtems.org>
     135
     136        * libc/include/sys/pthread.h:
     137        Add pthread_atfork (Mandated by IEEE Std 1003.1-2008).
     138        Add pthread_rwlock_unlock (Formerly missing)
     139
     1402009-10-26      Ralf Corsépius <ralf.corsepius@rtems.org>
     141
     142        * libc/include/sys/signal.h: Sync with newlib-CVS.
     143
     1442009-10-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     145
     146        * libc/include/sys/signal.h: Use pid_t as 1st arg to kill()
     147        (mandated by POSIX).
     148
     1492009-09-22      Ralf Corsépius <ralf.corsepius@rtems.org>
     150
     151        * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
     152        Remove CIRCLEQ_*.
     153        * libc/search/hcreate.c: Don't include sys/queue.h.
     154
     1552009-09-18  Christopher Faylor  <me+cygwin@cgf.cx>
     156
     157        * libc/include/sys/unistd.h: Declare getpagesize as returning
     158        POSIX-mandated int.
     159
     1602009-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
     161
     162        * libc/sys/rtems/crt0.c: Use while(1) in _exit stub to silence GCC "noreturn"
     163        warning.
     164
     1652009-09-15      Ralf Corsépius <ralf.corsepius@rtems.org>
     166
     167        * libc/include/stdlib.h: Add posix_memalign.
     168
     1692009-09-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     170
     171        * configure.host (m32c): Remove -D_ABORT_PROVIDED.
     172
     1732009-09-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     174
     175        * configure.host: Add -D_NO_POPEN.
     176        * libc/sys/rtems/crt0.c: Don't provide waitpid unless used.
     177
     1782009-09-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     179
     180        * configure.host: Add -D_NO_WORDEXP.
     181
     1822009-09-06      Ralf Corsépius <ralf.corsepius@rtems.org>
     183
     184        * libc/sys/rtems/crt0.c: Add issetugid.
     185
     1862009-09-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     187
     188        * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
     189
     1902009-07-27      Ralf Corsépius <ralf.corsepius@rtems.org>
     191
     192        * libc/sys/rtems/crt0.c: Add _isatty_r.
     193
     1942009-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     195
     196        * libc/include/sys/features.h: Define _UNIX98_THREAD_MUTEX_ATTRIBUTES.
     197
     1982009-05-05      Ralf Corsépius <ralf.corsepius@rtems.org>
     199
     200        * configure.host: Remove -DMISSING_SYSCALL_NAMES.
     201
     2022009-03-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     203
     204        * libc/stdlib/assert.c: Don't build __assert_func.
     205        * libc/sys/rtems/crt0.c: Add __assert_func.
     206
     2072009-03-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     208
     209        * libc/machine/powerpc/times.c: Remove.
     210        * libc/machine/powerpc/Makefile.am: Remove times.c.
     211        * libc/machine/powerpc/Makefile.in: Regenerate.
     212
     2132009-02-24      Ralf Corsépius <ralf.corsepius@rtems.org>
     214
     215        * libc/unix/ttyname.c: Sync with newlib-cvs.
     216        * configure.host: Add -DHAVE_BLKSIZE to newlib_cflags.
     217
     2182009-02-22      Ralf Corsépius <ralf.corsepius@rtems.org>
     219
     220        * libc/sys/rtems/machine/stdint.h: Add __lm32__.
     221        * libc/machine/lm32/configure.in: Set AC_CONFIG_SRC to setjmp.S.
     222        * libc/machine/lm32/configure: Regenerate.
     223
     2242009-02-20      Ralf Corsépius <ralf.corsepius@rtems.org>
     225
     226        * libc/unix/Makefile.in: Regenerate.
     227
     2282009-02-20  Craig Howland <howland@LGSInnovations.com> on behalf of
     229        Sebastian Huber <sebastian.huber@embedded-brains.de>
     230
     231        * libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
     232        coupling ttyname_r() and ttyname() due to the latter's large buffer).
     233        * libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
     234        ttyname.c.
     235        * libc/unix/ttyname.h:  New file (common size definition for the 2
     236        ttyname*c files that are now split).
     237        * libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
     238
     2392009-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
     240
     241        * libc/sys/rtems/sys/param.h:
     242        Update copyright notice from FreeBSD.
     243        Remove HZ.
     244        Add #include <sys/priority.h>
     245        Remove priority handling (moved to sys/priority.h).
     246        Remove CLBYTES (Unused, abandoned in BSD).
     247
     2482009-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
     249
     250        * libc/include/sched.h:
     251        Remove (collides with RTEMS's schedul.h).
     252
  • newlib/configure.host

    diff -Naur newlib-1.18.0.orig/newlib/configure.host newlib-1.18.0/newlib/configure.host
    old new  
    556556  *-*-rtems*)
    557557        default_newlib_io_long_long="yes"
    558558        default_newlib_io_c99_formats="yes"
     559        newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
    559560        newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC"
    560561        # turn off unsupported items in posix directory
    561562        newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN"
  • newlib/libc/include/inttypes.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/inttypes.h newlib-1.18.0/newlib/libc/include/inttypes.h
    old new  
    242242#define SCNxMAX         __SCNMAX(x)
    243243
    244244/* ptr types */
     245#if INTPTR_MAX == INT64_MAX
     246#define __PRIPTR(x) __PRI64(x)
     247#define __SCNPTR(x) __SCN64(x)
     248#elif INTPTR_MAX == INT32_MAX
     249#define __PRIPTR(x) __PRI32(x)
     250#define __SCNPTR(x) __SCN32(x)
     251#elif INTPTR_MAX == INT16_MAX
     252#define __PRIPTR(x) __PRI16(x)
     253#define __SCNPTR(x) __SCN16(x)
     254#else
     255#error cannot determine PRI*PTR
     256#endif
     257
     258#if 0
    245259#if __have_long64
    246260#define __PRIPTR(x) __STRINGIFY(l##x)
    247261#define __SCNPTR(x) __STRINGIFY(l##x)
     
    252266#define __PRIPTR(x) __STRINGIFY(x)
    253267#define __SCNPTR(x) __STRINGIFY(x)
    254268#endif
     269#endif
    255270
    256271#define PRIdPTR         __PRIPTR(d)
    257272#define PRIiPTR         __PRIPTR(i)
  • newlib/libc/include/machine/_default_types.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/machine/_default_types.h newlib-1.18.0/newlib/libc/include/machine/_default_types.h
    old new  
    5454#endif
    5555#endif
    5656
    57 #if __EXP(INT_MAX) == 0x7fffffffL
    58 typedef signed int __int32_t;
    59 typedef unsigned int __uint32_t;
    60 #define ___int32_t_defined 1
    61 #elif __EXP(LONG_MAX) == 0x7fffffffL
     57#if __EXP(LONG_MAX) == 0x7fffffffL
    6258typedef signed long __int32_t;
    6359typedef unsigned long __uint32_t;
    6460#define ___int32_t_defined 1
     61#elif __EXP(INT_MAX) == 0x7fffffffL
     62typedef signed int __int32_t;
     63typedef unsigned int __uint32_t;
     64#define ___int32_t_defined 1
    6565#elif __EXP(SHRT_MAX) == 0x7fffffffL
    6666typedef signed short __int32_t;
    6767typedef unsigned short __uint32_t;
  • newlib/libc/include/pthread.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/pthread.h newlib-1.18.0/newlib/libc/include/pthread.h
    old new  
    22 *
    33 *  Written by Joel Sherrill <joel@OARcorp.com>.
    44 *
    5  *  COPYRIGHT (c) 1989-2000.
     5 *  COPYRIGHT (c) 1989-2010.
    66 *  On-Line Applications Research Corporation (OAR).
    77 *
    88 *  Permission to use, copy, modify, and distribute this software for any
     
    185185
    186186int     _EXFUN(pthread_attr_init, (pthread_attr_t *__attr));
    187187int     _EXFUN(pthread_attr_destroy, (pthread_attr_t *__attr));
     188int     _EXFUN(pthread_attr_setstack, (pthread_attr_t *attr,
     189        void *__stackaddr, size_t __stacksize));
     190int     _EXFUN(pthread_attr_getstack, (_CONST pthread_attr_t *attr,
     191        void **__stackaddr, size_t *__stacksize));
    188192int     _EXFUN(pthread_attr_getstacksize,
    189193        (_CONST pthread_attr_t *__attr, size_t *__stacksize));
    190194int     _EXFUN(pthread_attr_setstacksize,
    191         (pthread_attr_t *__attr, size_t stacksize));
     195        (pthread_attr_t *__attr, size_t __stacksize));
    192196int     _EXFUN(pthread_attr_getstackaddr,
    193197        (_CONST pthread_attr_t *__attr, void **__stackaddr));
    194198int     _EXFUN(pthread_attr_setstackaddr,
     
    197201        (_CONST pthread_attr_t *__attr, int *__detachstate));
    198202int     _EXFUN(pthread_attr_setdetachstate,
    199203        (pthread_attr_t *__attr, int __detachstate));
     204int     _EXFUN(pthread_attr_getguardsize,
     205        (_CONST pthread_attr_t *__attr, size_t *__guardsize));
     206int     _EXFUN(pthread_attr_setguardsize,
     207        (pthread_attr_t *__attr, size_t __guardsize));
    200208
    201209/* Thread Creation, P1003.1c/Draft 10, p. 144 */
    202210
  • newlib/libc/include/sched.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/sched.h newlib-1.18.0/newlib/libc/include/sched.h
    old new  
     1/*
     2 *  Written by Joel Sherrill <joel@OARcorp.com>.
     3 *
     4 *  COPYRIGHT (c) 1989-2010.
     5 *  On-Line Applications Research Corporation (OAR).
     6 *
     7 *  Permission to use, copy, modify, and distribute this software for any
     8 *  purpose without fee is hereby granted, provided that this entire notice
     9 *  is included in all copies of any software which is or includes a copy
     10 *  or modification of this software.
     11 *
     12 *  THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
     13 *  WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
     14 *  OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
     15 *  SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
     16 *
     17 *  $Id$
     18 */
     19
    120#ifndef _SCHED_H_
    221#define _SCHED_H_
    322
     23#include <sys/types.h>
     24#include <sys/sched.h>
     25
    426#ifdef __cplusplus
    527extern "C" {
    628#endif
    729
    8 #include <sys/sched.h>
     30#if defined(_POSIX_PRIORITY_SCHEDULING)
     31/*
     32 *  XBD 13 - Set Scheduling Parameters, P1003.1b-2008, p. 1803
     33 */
     34int sched_setparam(
     35  pid_t                     __pid,
     36  const struct sched_param *__param
     37);
     38
     39/*
     40 *  XBD 13 - Set Scheduling Parameters, P1003.1b-2008, p. 1800
     41 */
     42int sched_getparam(
     43  pid_t                     __pid,
     44  struct sched_param       *__param
     45);
     46
     47/*
     48 *  XBD 13 - Set Scheduling Policy and Scheduling Parameters,
     49 *         P1003.1b-2008, p. 1805
     50 */
     51int sched_setscheduler(
     52  pid_t                     __pid,
     53  int                       __policy,
     54  const struct sched_param *__param
     55);
     56
     57/*
     58 *  XBD 13 - Get Scheduling Policy, P1003.1b-2008, p. 1801
     59 */
     60int sched_getscheduler(
     61  pid_t                     __pid
     62);
     63
     64/*
     65 *  XBD 13 - Get Scheduling Parameter Limits, P1003.1b-2008, p. 1799
     66 */
     67int sched_get_priority_max(
     68  int __policy
     69);
     70
     71int sched_get_priority_min(
     72  int  __policy
     73);
     74
     75/*
     76 *  XBD 13 - Get Scheduling Parameter Limits, P1003.1b-2008, p. 1802
     77 */
     78int sched_rr_get_interval(
     79  pid_t             __pid,
     80  struct timespec  *__interval
     81);
     82#endif /* _POSIX_PRIORITY_SCHEDULING */
     83
     84#if defined(_POSIX_THREADS) || defined(_POSIX_PRIORITY_SCHEDULING)
     85
     86/*
     87 *  XBD 13 - Yield Processor, P1003.1b-2008, p. 1807
     88 */
     89int sched_yield( void );
     90
     91#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
    992
    1093#ifdef __cplusplus
    1194}
  • newlib/libc/include/stdint.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/stdint.h newlib-1.18.0/newlib/libc/include/stdint.h
    old new  
    3333/* Check if "long" is 64bit or 32bit wide */
    3434#if __STDINT_EXP(LONG_MAX) > 0x7fffffff
    3535#define __have_long64 1
    36 #elif __STDINT_EXP(LONG_MAX) == 0x7fffffff && !defined(__SPU__)
     36#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff
    3737#define __have_long32 1
    3838#endif
    3939
     
    4949#define __int_least8_t_defined 1
    5050#endif
    5151
    52 #if __STDINT_EXP(SHRT_MAX) == 0x7fff
    53 typedef signed short int16_t;
    54 typedef unsigned short uint16_t;
    55 #define __int16_t_defined 1
    56 #elif __STDINT_EXP(INT_MAX) == 0x7fff
     52#if __STDINT_EXP(INT_MAX) == 0x7fff
    5753typedef signed int int16_t;
    5854typedef unsigned int uint16_t;
    5955#define __int16_t_defined 1
     56#elif __STDINT_EXP(SHRT_MAX) == 0x7fff
     57typedef signed short int16_t;
     58typedef unsigned short uint16_t;
     59#define __int16_t_defined 1
    6060#elif __STDINT_EXP(SCHAR_MAX) == 0x7fff
    6161typedef signed char int16_t;
    6262typedef unsigned char uint16_t;
     
    239239 * GCC doesn't provide an appropriate macro for [u]intptr_t
    240240 * For now, use __PTRDIFF_TYPE__
    241241 */
     242#if defined(__SIZEOF_POINTER__)
     243#if __SIZEOF_POINTER__ == 8
     244  typedef int64_t intptr_t;
     245  typedef uint64_t uintptr_t;
     246#define INTPTR_MAX INT64_MAX
     247#define INTPTR_MIN INT64_MIN
     248#define UINTPTR_MAX UINT64_MAX
     249#elif __SIZEOF_POINTER__ == 4
     250  typedef int32_t intptr_t;
     251  typedef uint32_t uintptr_t;
     252#define INTPTR_MAX INT32_MAX
     253#define INTPTR_MIN INT32_MIN
     254#define UINTPTR_MAX UINT32_MAX
     255#elif __SIZEOF_POINTER__ == 2
     256  typedef int16_t intptr_t;
     257  typedef uint16_t uintptr_t;
     258#define INTPTR_MAX INT16_MAX
     259#define INTPTR_MIN INT16_MIN
     260#define UINTPTR_MAX UINT16_MAX
     261#else
     262#error cannot determine intptr_t
     263#endif
     264#else
    242265#if defined(__PTRDIFF_TYPE__)
    243266typedef signed __PTRDIFF_TYPE__ intptr_t;
    244267typedef unsigned __PTRDIFF_TYPE__ uintptr_t;
     
    260283#define INTPTR_MIN (-__STDINT_EXP(LONG_MAX) - 1)
    261284#define UINTPTR_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
    262285#endif
     286#endif
    263287
    264288/* Limits of Specified-Width Integer Types */
    265289
     
    408432/* This must match size_t in stddef.h, currently long unsigned int */
    409433#ifdef __SIZE_MAX__
    410434#define SIZE_MAX __SIZE_MAX__
     435#elif defined(__SIZEOF_SIZE_T__) && defined(__CHAR_BIT__)
     436#define SIZE_MAX (__SIZEOF_SIZE_T__ * __CHAR_BIT__)
    411437#else
    412438#define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
    413439#endif
  • newlib/libc/include/string.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/string.h newlib-1.18.0/newlib/libc/include/string.h
    old new  
    4949#ifndef __STRICT_ANSI__
    5050char    *_EXFUN(strtok_r,(char *, const char *, char **));
    5151
    52 int      _EXFUN(bcmp,(const void *, const void *, size_t));
    53 void     _EXFUN(bcopy,(const void *, void *, size_t));
    54 void     _EXFUN(bzero,(void *, size_t));
    55 int      _EXFUN(ffs,(int));
    56 char    *_EXFUN(index,(const char *, int));
    5752_PTR     _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
    5853_PTR     _EXFUN(mempcpy,(_PTR, const _PTR, size_t));
    5954_PTR     _EXFUN(memmem, (const _PTR, size_t, const _PTR, size_t));
    60 char    *_EXFUN(rindex,(const char *, int));
    6155char    *_EXFUN(stpcpy,(char *, const char *));
    6256char    *_EXFUN(stpncpy,(char *, const char *, size_t));
    63 int      _EXFUN(strcasecmp,(const char *, const char *));
    6457char    *_EXFUN(strcasestr,(const char *, const char *));
    6558char    *_EXFUN(strdup,(const char *));
    6659char    *_EXFUN(_strdup_r,(struct _reent *, const char *));
     
    6962char    *_EXFUN(strerror_r,(int, char *, size_t));
    7063size_t   _EXFUN(strlcat,(char *, const char *, size_t));
    7164size_t   _EXFUN(strlcpy,(char *, const char *, size_t));
    72 int      _EXFUN(strncasecmp,(const char *, const char *, size_t));
    7365size_t   _EXFUN(strnlen,(const char *, size_t));
    7466char    *_EXFUN(strsep,(char **, const char *));
    7567char    *_EXFUN(strlwr,(char *));
     
    8173int     _EXFUN(strtosigno, (const char *__name));
    8274#endif
    8375
    84 /* These function names are used on Windows and perhaps other systems.  */
    85 #ifndef strcmpi
    86 #define strcmpi strcasecmp
    87 #endif
    88 #ifndef stricmp
    89 #define stricmp strcasecmp
    90 #endif
    91 #ifndef strncmpi
    92 #define strncmpi strncasecmp
    93 #endif
    94 #ifndef strnicmp
    95 #define strnicmp strncasecmp
    96 #endif
    97 
    9876#endif /* ! __STRICT_ANSI__ */
    9977
    10078#include <sys/string.h>
  • newlib/libc/include/strings.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/strings.h newlib-1.18.0/newlib/libc/include/strings.h
    old new  
     1/*
     2 * strings.h
     3 *
     4 * Definitions for string operations.
     5 */
     6
     7#ifndef _STRINGS_H_
     8#define _STRINGS_H_
     9
     10#include "_ansi.h"
     11#include <sys/reent.h>
     12
     13#include <sys/types.h> /* for size_t */
     14#include <locale.h> /* for locale_t */
     15
     16_BEGIN_STD_C
     17
     18#ifndef __STRICT_ANSI__
     19/*
     20 * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
     21 * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
     22 */
     23int      _EXFUN(bcmp,(const void *, const void *, size_t));
     24void     _EXFUN(bcopy,(const void *, void *, size_t));
     25void     _EXFUN(bzero,(void *, size_t));
     26char    *_EXFUN(index,(const char *, int));
     27char    *_EXFUN(rindex,(const char *, int));
     28#endif /* ! __STRICT_ANSI__ */
     29
     30int      _EXFUN(ffs,(int));
     31int      _EXFUN(strcasecmp,(const char *, const char *));
     32#if 0
     33/* Not implemented */
     34int      _EXFUN(strcasecmp_l,(const char *, const char *, locale_t));
     35#endif
     36int      _EXFUN(strncasecmp,(const char *, const char *, size_t));
     37#if 0
     38/* Not implemented */
     39int      _EXFUN(strncasecmp_l,(const char *, const char *, size_t, locale_t));
     40#endif
     41
     42_END_STD_C
     43
     44#endif /* _STRINGS_H_ */
  • newlib/libc/include/sys/sched.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/sched.h newlib-1.18.0/newlib/libc/include/sys/sched.h
    old new  
    11/*
    22 *  Written by Joel Sherrill <joel@OARcorp.com>.
    33 *
    4  *  COPYRIGHT (c) 1989-2000.
     4 *  COPYRIGHT (c) 1989-2010.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
    77 *  Permission to use, copy, modify, and distribute this software for any
     
    1414 *  OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
    1515 *  SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
    1616 *
    17  *  $Id$
     17 *  $Id$
    1818 */
    1919
    2020
    21 #ifndef __POSIX_SYS_SCHEDULING_h
    22 #define __POSIX_SYS_SCHEDULING_h
     21#ifndef _SYS_SCHED_H_
     22#define _SYS_SCHED_H_
    2323
    2424#ifdef __cplusplus
    2525extern "C" {
    2626#endif
    2727
    28 #include <sys/unistd.h>
    29 
    30 #include <sys/types.h>
    31 #include <sys/time.h>
    32 
    33 /* Scheduling Policies, P1003.1b-1993, p. 250
    34    NOTE:  SCHED_SPORADIC added by P1003.4b/D8, p. 34.  */
    35 
     28/* Scheduling Policies */
     29/* Open Group Specifications Issue 6 */
     30#if defined(__CYGWIN__)
     31#define SCHED_OTHER    3
     32#else
    3633#define SCHED_OTHER    0
     34#endif
     35
    3736#define SCHED_FIFO     1
    3837#define SCHED_RR       2
    3938
    4039#if defined(_POSIX_SPORADIC_SERVER)
    41 #define SCHED_SPORADIC 3
     40#define SCHED_SPORADIC 4
    4241#endif
    4342
    44 /* Scheduling Parameters, P1003.1b-1993, p. 249
    45    NOTE:  Fields whose name begins with "ss_" added by P1003.4b/D8, p. 33. */
     43/* Scheduling Parameters */
     44/* Open Group Specifications Issue 6 */
    4645
    4746struct sched_param {
    4847  int sched_priority;           /* Process execution scheduling priority */
    4948
    50 #if defined(_POSIX_SPORADIC_SERVER)
    51   int ss_low_priority;          /* Low scheduling priority for sporadic */
     49#if defined(_POSIX_SPORADIC_SERVER) || defined(_POSIX_THREAD_SPORADIC_SERVER)
     50  int sched_ss_low_priority;    /* Low scheduling priority for sporadic */
    5251                                /*   server */
    53   struct timespec ss_replenish_period;
     52  struct timespec sched_ss_repl_period;
    5453                                /* Replenishment period for sporadic server */
    55   struct timespec ss_initial_budget;   /* Initial budget for sporadic server */
     54  struct timespec sched_ss_init_budget;
     55                               /* Initial budget for sporadic server */
     56  int sched_ss_max_repl;       /* Maximum pending replenishments for */
     57                               /* sporadic server */
    5658#endif
    5759};
    5860
    5961#ifdef __cplusplus
    6062}
    61 #endif 
     63#endif
    6264
    6365#endif
    6466/* end of include file */
  • newlib/libc/include/sys/types.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/types.h newlib-1.18.0/newlib/libc/include/sys/types.h
    old new  
    176176#endif
    177177typedef _ssize_t ssize_t;
    178178
    179 #ifndef __CYGWIN__
     179#if defined(__rtems__)
     180typedef _mode_t mode_t;
     181#endif
     182
     183#if !defined(__CYGWIN__) && !defined(__rtems__)
    180184#ifdef __MS_types__
    181185typedef char *  addr_t;
    182186typedef int mode_t;
     
    349353  int inheritsched;
    350354  int schedpolicy;
    351355  struct sched_param schedparam;
     356  size_t guardsize;
    352357#endif /* !defined(__XMK__) */
    353358
    354359  /* P1003.4b/D8, p. 54 adds cputime_clock_allowed attribute.  */
  • newlib/libc/include/sys/unistd.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/unistd.h newlib-1.18.0/newlib/libc/include/sys/unistd.h
    old new  
    9393pid_t   _EXFUN(getpgrp, (void ));
    9494pid_t   _EXFUN(getpid, (void ));
    9595pid_t   _EXFUN(getppid, (void ));
    96 #ifdef __CYGWIN__
     96#if defined(__CYGWIN__) || defined(__rtems__)
    9797pid_t   _EXFUN(getsid, (pid_t));
    9898#endif
    9999#if !defined(__INSIDE_CYGWIN__)
     
    142142#endif
    143143void *  _EXFUN(sbrk,  (ptrdiff_t __incr));
    144144#if !defined(__INSIDE_CYGWIN__)
    145 #if defined(__CYGWIN__)
     145#if defined(__CYGWIN__) || defined(__rtems__)
    146146int     _EXFUN(setegid, (gid_t __gid ));
    147147int     _EXFUN(seteuid, (uid_t __uid ));
    148148#endif
  • newlib/libc/machine/powerpc/Makefile.am

    diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.am newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.am
    old new  
    1010
    1111AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
    1212
    13 lib_a_SOURCES = setjmp.S times.c
     13lib_a_SOURCES = setjmp.S
    1414lib_a_CCASFLAGS=$(AM_CCASFLAGS)
    1515lib_a_CFLAGS=$(AM_CFLAGS)
    1616lib_a_LIBADD = @extra_objs@
  • newlib/libc/machine/powerpc/Makefile.in

    diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.in newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.in
    old new  
    5151LIBRARIES = $(noinst_LIBRARIES)
    5252ARFLAGS = cru
    5353lib_a_AR = $(AR) $(ARFLAGS)
    54 am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-times.$(OBJEXT)
     54am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
    5555lib_a_OBJECTS = $(am_lib_a_OBJECTS)
    5656DEFAULT_INCLUDES = -I.@am__isrc@
    5757depcomp =
     
    173173AM_CCASFLAGS = $(INCLUDES)
    174174noinst_LIBRARIES = lib.a
    175175AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
    176 lib_a_SOURCES = setjmp.S times.c
     176lib_a_SOURCES = setjmp.S
    177177lib_a_CCASFLAGS = $(AM_CCASFLAGS)
    178178lib_a_CFLAGS = $(AM_CFLAGS)
    179179lib_a_LIBADD = @extra_objs@
     
    184184all: all-am
    185185
    186186.SUFFIXES:
    187 .SUFFIXES: .S .c .o .obj
     187.SUFFIXES: .S .o .obj
    188188am--refresh:
    189189        @:
    190190$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
     
    245245lib_a-setjmp.obj: setjmp.S
    246246        $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
    247247
    248 .c.o:
    249         $(COMPILE) -c $<
    250 
    251 .c.obj:
    252         $(COMPILE) -c `$(CYGPATH_W) '$<'`
    253 
    254 lib_a-times.o: times.c
    255         $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.o `test -f 'times.c' || echo '$(srcdir)/'`times.c
    256 
    257 lib_a-times.obj: times.c
    258         $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.obj `if test -f 'times.c'; then $(CYGPATH_W) 'times.c'; else $(CYGPATH_W) '$(srcdir)/times.c'; fi`
    259 
    260248ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    261249        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    262250        unique=`for i in $$list; do \
  • newlib/libc/machine/powerpc/times.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/times.c newlib-1.18.0/newlib/libc/machine/powerpc/times.c
    old new  
    1 /* Time support routines for PowerPC.
    2  *
    3  * Written by Aldy Hernandez.
    4  */
    5 
    6 #include <_ansi.h>
    7 #include <reent.h>
    8 #include <sys/time.h>
    9 #include <sys/times.h>
    10 #include <sys/resource.h>
    11 
    12 clock_t
    13 times (struct tms *tp)
    14 {
    15   struct rusage usage;
    16   union {
    17     struct rusage r;
    18     /* Newlib's rusage has only 2 fields.  We need to make room for
    19        when we call the system's rusage.  This should be enough.  */
    20     int filler[32];
    21   } host_ru;
    22 
    23   getrusage (RUSAGE_SELF, (void *)&host_ru);
    24 
    25   if (tp)
    26     {
    27       tp->tms_utime = host_ru.r.ru_utime.tv_sec * 1000
    28         + host_ru.r.ru_utime.tv_usec;
    29       tp->tms_stime = host_ru.r.ru_stime.tv_sec * 1000
    30         + host_ru.r.ru_stime.tv_usec;
    31       tp->tms_cutime = 0;       /* user time, children */
    32       tp->tms_cstime = 0;       /* system time, children */
    33     }
    34 
    35   return tp->tms_utime;
    36 }
  • newlib/libc/misc/ffs.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/misc/ffs.c newlib-1.18.0/newlib/libc/misc/ffs.c
    old new  
    2424
    2525No supporting OS subroutines are required.  */
    2626
    27 #include <_ansi.h>
     27#include <strings.h>
    2828
    2929int
    3030_DEFUN(ffs, (word),
  • newlib/libc/posix/opendir.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/posix/opendir.c newlib-1.18.0/newlib/libc/posix/opendir.c
    old new  
    7474        dirp->dd_len = 512;
    7575
    7676        if (dirp->dd_buf == NULL) {
     77                free(dirp);
    7778                close (fd);
    7879                return NULL;
    7980        }
  • newlib/libc/posix/rewinddir.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/posix/rewinddir.c newlib-1.18.0/newlib/libc/posix/rewinddir.c
    old new  
    4848#ifdef HAVE_DD_LOCK
    4949        __lock_acquire_recursive(dirp->dd_lock);
    5050#endif
    51         _seekdir((dirp), (off_t)0);
     51        _seekdir((dirp), 0L);
    5252#ifdef HAVE_DD_LOCK
    5353        __lock_release_recursive(dirp->dd_lock);
    5454#endif
  • newlib/libc/posix/telldir.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/posix/telldir.c newlib-1.18.0/newlib/libc/posix/telldir.c
    old new  
    6767#define NDIRHASH        32      /* Num of hash lists, must be a power of 2 */
    6868#define LOCHASH(i)      ((i)&(NDIRHASH-1))
    6969
    70 static long     dd_loccnt;      /* Index of entry for sequential readdir's */
     70static long     dd_loccnt = 1;  /* Index of entry for sequential readdir's */
    7171static struct   ddloc *dd_hash[NDIRHASH];   /* Hash list heads for ddlocs */
    7272__LOCK_INIT(static, dd_hash_lock);
    7373
     
    119119        register struct ddloc *lp;
    120120        register struct ddloc **prevlp;
    121121        struct dirent *dp;
    122         extern long lseek();
    123122
    124123#ifdef HAVE_DD_LOCK
    125124        __lock_acquire(dd_hash_lock);
    126125#endif
    127         prevlp = &dd_hash[LOCHASH(loc)];
    128         lp = *prevlp;
    129         while (lp != NULL) {
    130                 if (lp->loc_index == loc)
    131                         break;
    132                 prevlp = &lp->loc_next;
    133                 lp = lp->loc_next;
    134         }
    135         if (lp == NULL) {
     126        if (loc != 0) {
     127                prevlp = &dd_hash[LOCHASH(loc)];
     128                lp = *prevlp;
     129                while (lp != NULL) {
     130                        if (lp->loc_index == loc)
     131                                break;
     132                        prevlp = &lp->loc_next;
     133                        lp = lp->loc_next;
     134                }
     135                if (lp == NULL) {
    136136#ifdef HAVE_DD_LOCK
    137                 __lock_release(dd_hash_lock);
     137                        __lock_release(dd_hash_lock);
    138138#endif
    139                 return;
    140         }
    141         if (lp->loc_loc == dirp->dd_loc && lp->loc_seek == dirp->dd_seek)
    142                 goto found;
    143         (void) lseek(dirp->dd_fd, lp->loc_seek, 0);
    144         dirp->dd_seek = lp->loc_seek;
    145         dirp->dd_loc = 0;
    146         while (dirp->dd_loc < lp->loc_loc) {
    147                 dp = readdir(dirp);
    148                 if (dp == NULL)
    149                         break;
    150         }
     139                        return;
     140                }
     141                if (lp->loc_loc == dirp->dd_loc && lp->loc_seek == dirp->dd_seek)
     142                        goto found;
     143                (void) lseek(dirp->dd_fd, lp->loc_seek, 0);
     144                dirp->dd_seek = lp->loc_seek;
     145                dirp->dd_loc = 0;
     146                while (dirp->dd_loc < lp->loc_loc) {
     147                        dp = readdir(dirp);
     148                        if (dp == NULL)
     149                                break;
     150                }
    151151found:
    152152#ifdef SINGLEUSE
    153         *prevlp = lp->loc_next;
    154         free((caddr_t)lp);
     153                *prevlp = lp->loc_next;
     154                free((caddr_t)lp);
    155155#endif
     156        } else {
     157                // loc 0 means rewinding
     158                (void) lseek(dirp->dd_fd, 0, 0);
     159                dirp->dd_seek = 0;
     160                dirp->dd_loc = 0;
     161        }
    156162#ifdef HAVE_DD_LOCK
    157163        __lock_release(dd_hash_lock);
    158164#endif
     
    169175        __lock_acquire(dd_hash_lock);
    170176#endif
    171177        for (i = 0; i < NDIRHASH; ++i) {
     178                struct ddloc head;
    172179                register struct ddloc *lp;
    173180                register struct ddloc *prevlp;
     181
    174182                lp = dd_hash[i];
    175                 while (lp != NULL && lp->loc_dirp == dirp) {
    176                         dd_hash[i] = lp->loc_next;
    177                         prevlp = lp;
    178                         free((caddr_t)lp);
    179                         lp = prevlp->loc_next;
    180                 }
    181                 prevlp = lp;
     183                head.loc_next = lp;
     184                prevlp = &head;
    182185                while (lp != NULL) {
    183                         lp = lp->loc_next;
    184                         if (lp != NULL && lp->loc_dirp == dirp) {
    185                                 prevlp->loc_next = lp->loc_next;
     186                        struct ddloc *nextlp;
     187
     188                        nextlp = lp->loc_next;
     189                        if (lp->loc_dirp == dirp) {
     190                                prevlp->loc_next = nextlp;
    186191                                free((caddr_t)lp);
    187                                 lp = prevlp;
    188192                        }
    189193                        else
    190194                                prevlp = lp;
     195                        lp = nextlp;
    191196                }
     197                dd_hash[i] = head.loc_next;
    192198        }
    193199#ifdef HAVE_DD_LOCK
    194200        __lock_release(dd_hash_lock);
  • newlib/libc/search/db_local.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/search/db_local.h newlib-1.18.0/newlib/libc/search/db_local.h
    old new  
    102102typedef struct __db {
    103103        DBTYPE type;                    /* Underlying db type. */
    104104        int (*close)(struct __db *);
    105         int (*del)(const struct __db *, const DBT *, u_int);
    106         int (*get)(const struct __db *, const DBT *, DBT *, u_int);
    107         int (*put)(const struct __db *, DBT *, const DBT *, u_int);
    108         int (*seq)(const struct __db *, DBT *, DBT *, u_int);
    109         int (*sync)(const struct __db *, u_int);
     105        int (*del)(const struct __db *, const DBT *, __uint32_t);
     106        int (*get)(const struct __db *, const DBT *, DBT *, __uint32_t);
     107        int (*put)(const struct __db *, DBT *, const DBT *, __uint32_t);
     108        int (*seq)(const struct __db *, DBT *, DBT *, __uint32_t);
     109        int (*sync)(const struct __db *, __uint32_t);
    110110        void *internal;                 /* Access method private. */
    111111        int (*fd)(const struct __db *);
    112112} DB;
  • newlib/libc/search/extern.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/search/extern.h newlib-1.18.0/newlib/libc/search/extern.h
    old new  
    4343int      __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
    4444                int, __uint32_t, SPLIT_RETURN *);
    4545int      __buf_free(HTAB *, int, int);
    46 void     __buf_init(HTAB *, int);
     46void     __buf_init(HTAB *, __uint32_t);
    4747__uint32_t       __call_hash(HTAB *, char *, int);
    4848int      __delpair(HTAB *, BUFHEAD *, int);
    4949int      __expand_table(HTAB *);
  • newlib/libc/search/hash_buf.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/search/hash_buf.c newlib-1.18.0/newlib/libc/search/hash_buf.c
    old new  
    118118        int newpage;    /* If prev_bp set, indicates a new overflow page. */
    119119{
    120120        BUFHEAD *bp;
    121         __uint32_t is_disk_mask;
     121        ptrdiff_t is_disk_mask;
    122122        int is_disk, segment_ndx;
    123123        SEGMENT segp;
    124124
     
    298298extern void
    299299__buf_init(hashp, nbytes)
    300300        HTAB *hashp;
    301         int nbytes;
     301        __uint32_t nbytes;
    302302{
    303303        BUFHEAD *bfp;
    304304        int npages;
  • newlib/libc/search/hash.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/search/hash.h newlib-1.18.0/newlib/libc/search/hash.h
    old new  
    8282
    8383/* Hash Table Information */
    8484typedef struct hashhdr {                /* Disk resident portion */
    85         int             magic;          /* Magic NO for hash tables */
     85        __uint32_t      magic;          /* Magic NO for hash tables */
    8686        int             version;        /* Version ID */
    8787        __uint32_t      lorder;         /* Byte Order */
    8888        int             bsize;          /* Bucket/Page Size */
     
    9797        int             high_mask;      /* Mask to modulo into entire table */
    9898        int             low_mask;       /* Mask to modulo into lower half of
    9999                                         * table */
    100         int             ffactor;        /* Fill factor */
     100        __uint32_t      ffactor;        /* Fill factor */
    101101        int             nkeys;          /* Number of keys in hash table */
    102102        int             hdrpages;       /* Size of table header */
    103103        int             h_charkey;      /* value of hash(CHARKEY) */
  • newlib/libc/stdlib/putenv_r.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/stdlib/putenv_r.c newlib-1.18.0/newlib/libc/stdlib/putenv_r.c
    old new  
    2424#include <reent.h>
    2525#include <stdlib.h>
    2626#include <string.h>
     27#include <strings.h>
    2728
    2829#include "envlock.h"
    2930
  • newlib/libc/string/bcmp.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/bcmp.c newlib-1.18.0/newlib/libc/string/bcmp.c
    old new  
    66        bcmp
    77
    88ANSI_SYNOPSIS
    9         #include <string.h>
     9        #include <strings.h>
    1010        int bcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>);
    1111
    1212TRAD_SYNOPSIS
    13         #include <string.h>
     13        #include <strings.h>
    1414        int bcmp(<[s1]>, <[s2]>, <[n]>)
    1515        const void *<[s1]>;
    1616        const void *<[s2]>;
     
    3535        bcmp ansi pure
    3636*/
    3737
    38 #include <string.h>
     38#include <strings.h>
    3939
    4040int
    4141_DEFUN (bcmp, (m1, m2, n),
  • newlib/libc/string/bcopy.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/bcopy.c newlib-1.18.0/newlib/libc/string/bcopy.c
    old new  
    33        <<bcopy>>---copy memory regions
    44
    55ANSI_SYNOPSIS
    6         #include <string.h>
     6        #include <strings.h>
    77        void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>);
    88
    99TRAD_SYNOPSIS
     
    2626        bcopy - pure
    2727*/
    2828
    29 #include <string.h>
     29#include <strings.h>
    3030
    3131void
    3232_DEFUN (bcopy, (b1, b2, length),
  • newlib/libc/string/bzero.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/bzero.c newlib-1.18.0/newlib/libc/string/bzero.c
    old new  
    66        bzero
    77
    88ANSI_SYNOPSIS
    9         #include <string.h>
     9        #include <strings.h>
    1010        void bzero(void *<[b]>, size_t <[length]>);
    1111
    1212TRAD_SYNOPSIS
    13         #include <string.h>
     13        #include <strings.h>
    1414        void bzero(<[b]>, <[length]>)
    1515        void *<[b]>;
    1616        size_t <[length]>;
     
    3030<<bzero>> requires no supporting OS subroutines.
    3131*/
    3232
    33 #include <string.h>
     33#include <strings.h>
    3434
    3535_VOID
    3636_DEFUN (bzero, (b, length),
  • newlib/libc/string/index.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/index.c newlib-1.18.0/newlib/libc/string/index.c
    old new  
    1010        char * index(const char *<[string]>, int <[c]>);
    1111
    1212TRAD_SYNOPSIS
    13         #include <string.h>
     13        #include <strings.h>
    1414        char * index(<[string]>, <[c]>);
    1515        char *<[string]>;
    1616        int *<[c]>;
     
    3333        index - pure
    3434*/
    3535
    36 #include <string.h>
     36#include <strings.h>
     37#include <string.h> /* strchr */
    3738
    3839char *
    3940_DEFUN (index, (s, c),
  • newlib/libc/string/memccpy.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/memccpy.c newlib-1.18.0/newlib/libc/string/memccpy.c
    old new  
    9292  _CONST char *src = src0;
    9393  long *aligned_dst;
    9494  _CONST long *aligned_src;
    95   int   len =  len0;
    9695  char endchar = endchar0 & 0xff;
    9796
    9897  /* If the size is small, or either SRC or DST is unaligned,
    9998     then punt into the byte copy loop.  This should be rare.  */
    100   if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
     99  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
    101100    {
    102101      int i;
    103102      unsigned long mask = 0;
     
    116115
    117116
    118117      /* Copy one long word at a time if possible.  */
    119       while (len >= LITTLEBLOCKSIZE)
     118      while (len0 >= LITTLEBLOCKSIZE)
    120119        {
    121120          unsigned long buffer = (unsigned long)(*aligned_src);
    122121          buffer ^=  mask;
    123122          if (DETECTNULL (buffer))
    124123            break; /* endchar is found, go byte by byte from here */
    125124          *aligned_dst++ = *aligned_src++;
    126           len -= LITTLEBLOCKSIZE;
     125          len0 -= LITTLEBLOCKSIZE;
    127126        }
    128127
    129128       /* Pick up any residual with a byte copier.  */
     
    131130      src = (char*)aligned_src;
    132131    }
    133132
    134   while (len--)
     133  while (len0--)
    135134    {
    136135      if ((*dst++ = *src++) == endchar)
    137136        {
  • newlib/libc/string/memcpy.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/memcpy.c newlib-1.18.0/newlib/libc/string/memcpy.c
    old new  
    7272  _CONST char *src = src0;
    7373  long *aligned_dst;
    7474  _CONST long *aligned_src;
    75   int   len =  len0;
    7675
    7776  /* If the size is small, or either SRC or DST is unaligned,
    7877     then punt into the byte copy loop.  This should be rare.  */
    79   if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
     78  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
    8079    {
    8180      aligned_dst = (long*)dst;
    8281      aligned_src = (long*)src;
    8382
    8483      /* Copy 4X long words at a time if possible.  */
    85       while (len >= BIGBLOCKSIZE)
     84      while (len0 >= BIGBLOCKSIZE)
    8685        {
    8786          *aligned_dst++ = *aligned_src++;
    8887          *aligned_dst++ = *aligned_src++;
    8988          *aligned_dst++ = *aligned_src++;
    9089          *aligned_dst++ = *aligned_src++;
    91           len -= BIGBLOCKSIZE;
     90          len0 -= BIGBLOCKSIZE;
    9291        }
    9392
    9493      /* Copy one long word at a time if possible.  */
    95       while (len >= LITTLEBLOCKSIZE)
     94      while (len0 >= LITTLEBLOCKSIZE)
    9695        {
    9796          *aligned_dst++ = *aligned_src++;
    98           len -= LITTLEBLOCKSIZE;
     97          len0 -= LITTLEBLOCKSIZE;
    9998        }
    10099
    101100       /* Pick up any residual with a byte copier.  */
     
    103102      src = (char*)aligned_src;
    104103    }
    105104
    106   while (len--)
     105  while (len0--)
    107106    *dst++ = *src++;
    108107
    109108  return dst0;
  • newlib/libc/string/memmove.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/memmove.c newlib-1.18.0/newlib/libc/string/memmove.c
    old new  
    8888  _CONST char *src = src_void;
    8989  long *aligned_dst;
    9090  _CONST long *aligned_src;
    91   int   len =  length;
    9291
    93   if (src < dst && dst < src + len)
     92  if (src < dst && dst < src + length)
    9493    {
    9594      /* Destructive overlap...have to copy backwards */
    96       src += len;
    97       dst += len;
    98       while (len--)
     95      src += length;
     96      dst += length;
     97      while (length--)
    9998        {
    10099          *--dst = *--src;
    101100        }
     
    105104      /* Use optimizing algorithm for a non-destructive copy to closely
    106105         match memcpy. If the size is small or either SRC or DST is unaligned,
    107106         then punt into the byte copy loop.  This should be rare.  */
    108       if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
     107      if (!TOO_SMALL(length) && !UNALIGNED (src, dst))
    109108        {
    110109          aligned_dst = (long*)dst;
    111110          aligned_src = (long*)src;
    112111
    113112          /* Copy 4X long words at a time if possible.  */
    114           while (len >= BIGBLOCKSIZE)
     113          while (length >= BIGBLOCKSIZE)
    115114            {
    116115              *aligned_dst++ = *aligned_src++;
    117116              *aligned_dst++ = *aligned_src++;
    118117              *aligned_dst++ = *aligned_src++;
    119118              *aligned_dst++ = *aligned_src++;
    120               len -= BIGBLOCKSIZE;
     119              length -= BIGBLOCKSIZE;
    121120            }
    122121
    123122          /* Copy one long word at a time if possible.  */
    124           while (len >= LITTLEBLOCKSIZE)
     123          while (length >= LITTLEBLOCKSIZE)
    125124            {
    126125              *aligned_dst++ = *aligned_src++;
    127               len -= LITTLEBLOCKSIZE;
     126              length -= LITTLEBLOCKSIZE;
    128127            }
    129128
    130129          /* Pick up any residual with a byte copier.  */
     
    132131          src = (char*)aligned_src;
    133132        }
    134133
    135       while (len--)
     134      while (length--)
    136135        {
    137136          *dst++ = *src++;
    138137        }
  • newlib/libc/string/mempcpy.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/mempcpy.c newlib-1.18.0/newlib/libc/string/mempcpy.c
    old new  
    6969  _CONST char *src = src0;
    7070  long *aligned_dst;
    7171  _CONST long *aligned_src;
    72   int   len =  len0;
    7372
    7473  /* If the size is small, or either SRC or DST is unaligned,
    7574     then punt into the byte copy loop.  This should be rare.  */
    76   if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
     75  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
    7776    {
    7877      aligned_dst = (long*)dst;
    7978      aligned_src = (long*)src;
    8079
    8180      /* Copy 4X long words at a time if possible.  */
    82       while (len >= BIGBLOCKSIZE)
     81      while (len0 >= BIGBLOCKSIZE)
    8382        {
    8483          *aligned_dst++ = *aligned_src++;
    8584          *aligned_dst++ = *aligned_src++;
    8685          *aligned_dst++ = *aligned_src++;
    8786          *aligned_dst++ = *aligned_src++;
    88           len -= BIGBLOCKSIZE;
     87          len0 -= BIGBLOCKSIZE;
    8988        }
    9089
    9190      /* Copy one long word at a time if possible.  */
    92       while (len >= LITTLEBLOCKSIZE)
     91      while (len0 >= LITTLEBLOCKSIZE)
    9392        {
    9493          *aligned_dst++ = *aligned_src++;
    95           len -= LITTLEBLOCKSIZE;
     94          len0 -= LITTLEBLOCKSIZE;
    9695        }
    9796
    9897       /* Pick up any residual with a byte copier.  */
     
    10099      src = (char*)aligned_src;
    101100    }
    102101
    103   while (len--)
     102  while (len0--)
    104103    *dst++ = *src++;
    105104
    106105  return dst;
  • newlib/libc/string/rindex.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/rindex.c newlib-1.18.0/newlib/libc/string/rindex.c
    old new  
    1010        char * rindex(const char *<[string]>, int <[c]>);
    1111
    1212TRAD_SYNOPSIS
    13         #include <string.h>
     13        #include <strings.h>
    1414        char * rindex(<[string]>, <[c]>);
    1515        char *<[string]>;
    1616        int *<[c]>;
     
    3333        rindex - pure
    3434*/
    3535
    36 #include <string.h>
     36#include <strings.h>
     37#include <string.h> /* strchr */
    3738
    3839char *
    3940_DEFUN (rindex, (s, c),
  • newlib/libc/string/strcasecmp.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcasecmp.c newlib-1.18.0/newlib/libc/string/strcasecmp.c
    old new  
    3838        strcasecmp
    3939*/
    4040
    41 #include <string.h>
     41#include <strings.h>
    4242#include <ctype.h>
    4343
    4444int
  • newlib/libc/string/strcat.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcat.c newlib-1.18.0/newlib/libc/string/strcat.c
    old new  
    3333        strcat ansi pure
    3434*/
    3535
     36#include <stdint.h>
    3637#include <string.h>
    3738#include <limits.h>
    3839
    3940/* Nonzero if X is aligned on a "long" boundary.  */
    4041#define ALIGNED(X) \
    41   (((long)X & (sizeof (long) - 1)) == 0)
     42  (((uintptr_t)X & (sizeof (long) - 1)) == 0)
    4243
    4344#if LONG_MAX == 2147483647L
    4445#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
  • newlib/libc/string/strchr.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strchr.c newlib-1.18.0/newlib/libc/string/strchr.c
    old new  
    3333        strchr ansi pure
    3434*/
    3535
     36#include <stdint.h>
    3637#include <string.h>
    3738#include <limits.h>
    3839
    3940/* Nonzero if X is not aligned on a "long" boundary.  */
    40 #define UNALIGNED(X) ((long)X & (sizeof (long) - 1))
     41#define UNALIGNED(X) ((uintptr_t)X & (sizeof (long) - 1))
    4142
    4243/* How many bytes are loaded each iteration of the word copy loop.  */
    4344#define LBLOCKSIZE (sizeof (long))
  • newlib/libc/string/strcmp.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcmp.c newlib-1.18.0/newlib/libc/string/strcmp.c
    old new  
    3535        strcmp ansi pure
    3636*/
    3737
     38#include <stdint.h>
    3839#include <string.h>
    3940#include <limits.h>
    4041
    4142/* Nonzero if either X or Y is not aligned on a "long" boundary.  */
    4243#define UNALIGNED(X, Y) \
    43   (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
     44  (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
    4445
    4546/* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
    4647#if LONG_MAX == 2147483647L
  • newlib/libc/string/strncasecmp.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strncasecmp.c newlib-1.18.0/newlib/libc/string/strncasecmp.c
    old new  
    66        strncasecmp
    77
    88ANSI_SYNOPSIS
    9         #include <string.h>
     9        #include <strings.h>
    1010        int strncasecmp(const char *<[a]>, const char * <[b]>, size_t <[length]>);
    1111
    1212TRAD_SYNOPSIS
    13         #include <string.h>
     13        #include <strings.h>
    1414        int strncasecmp(<[a]>, <[b]>, <[length]>)
    1515        char *<[a]>;
    1616        char *<[b]>;
     
    4040        strncasecmp
    4141*/
    4242
    43 #include <string.h>
     43#include <strings.h>
    4444#include <ctype.h>
    4545
    4646int
  • newlib/libc/string/strncmp.c

    diff -Naur newlib-1.18.0.orig/newlib/libc/string/strncmp.c newlib-1.18.0/newlib/libc/string/strncmp.c
    old new  
    3636        strncmp ansi pure
    3737*/
    3838
     39#include <stdint.h>
    3940#include <string.h>
    4041#include <limits.h>
    4142
    4243/* Nonzero if either X or Y is not aligned on a "long" boundary.  */
    4344#define UNALIGNED(X, Y) \
    44   (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
     45  (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
    4546
    4647/* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
    4748#if LONG_MAX == 2147483647L
  • newlib/libc/sys/linux/sys/dirent.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/sys/linux/sys/dirent.h newlib-1.18.0/newlib/libc/sys/linux/sys/dirent.h
    old new  
    4040int closedir(DIR *);
    4141
    4242/* internal prototype */
    43 void _seekdir(DIR *dir,off_t offset);
     43void _seekdir(DIR *dir, long offset);
    4444DIR *_opendir(const char *);
    4545
    4646#ifndef _POSIX_SOURCE
  • newlib/libc/sys/rtems/machine/_types.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/sys/rtems/machine/_types.h newlib-1.18.0/newlib/libc/sys/rtems/machine/_types.h
    old new  
    2020typedef long signed int _ssize_t;
    2121#endif
    2222#define __ssize_t_defined 1
     23#elif defined(__sparc__) && defined(__LP64__)
     24typedef long signed int _ssize_t;
     25#define __ssize_t_defined 1
    2326#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__)
    2427typedef signed int _ssize_t;
    2528#define __ssize_t_defined 1
     
    3134
    3235typedef __int32_t blksize_t;
    3336typedef __int32_t blkcnt_t;
     37
     38/* EXPERIMENTAL: Use 64bit types */
     39#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__)
     40/* Use 64bit types */
     41typedef __int64_t _off_t;
     42#define __off_t_defined 1
     43
     44typedef __int64_t _fpos_t;
     45#define __fpos_t_defined 1
     46#else
     47/* Use 32bit types */
     48typedef __int32_t _off_t;
     49#define __off_t_defined 1
     50
     51typedef __int32_t _fpos_t;
     52#define __fpos_t_defined 1
     53#endif
     54
     55typedef __uint32_t _mode_t;
     56#define __mode_t_defined 1
     57
    3458#endif
  • newlib/libc/sys/rtems/sys/dirent.h

    diff -Naur newlib-1.18.0.orig/newlib/libc/sys/rtems/sys/dirent.h newlib-1.18.0/newlib/libc/sys/rtems/sys/dirent.h
    old new  
    3131void seekdir(DIR *dir, long loc);
    3232long telldir(DIR *dir);
    3333
     34#ifdef _COMPILING_NEWLIB
     35void _seekdir(DIR *dir, long offset);
     36#endif
     37
    3438#include <sys/types.h>
    3539
    3640#include <limits.h>
  • newlib/libm/common/modfl.c

    diff -Naur newlib-1.18.0.orig/newlib/libm/common/modfl.c newlib-1.18.0/newlib/libm/common/modfl.c
    old new  
    3636long double
    3737modfl (long double x, long double *iptr)
    3838{
    39   return modf(x, iptr);
     39  return modf(x, (double*) iptr);
    4040}
    4141#endif
    4242
  • newlib/libm/common/sf_llrint.c

    diff -Naur newlib-1.18.0.orig/newlib/libm/common/sf_llrint.c newlib-1.18.0/newlib/libm/common/sf_llrint.c
    old new  
    7171          GET_FLOAT_WORD (i0, t);
    7272          /* Detect the all-zeros representation of plus and
    7373             minus zero, which fails the calculation below. */
    74           if ((i0 & ~(1 << 31)) == 0)
     74          if ((i0 & ~((__uint32_t)1 << 31)) == 0)
    7575              return 0;
    7676          j0 = ((i0 >> 23) & 0xff) - 0x7f;
    7777          i0 &= 0x7fffff;
  • newlib/libm/common/sf_round.c

    diff -Naur newlib-1.18.0.orig/newlib/libm/common/sf_round.c newlib-1.18.0/newlib/libm/common/sf_round.c
    old new  
    3838          w &= 0x80000000;
    3939          if (exponent_less_127 == -1)
    4040            /* Result is +1.0 or -1.0. */
    41             w |= (127 << 23);
     41            w |= ((__uint32_t)127 << 23);
    4242        }
    4343      else
    4444        {
  • newlib/Makefile.am

    diff -Naur newlib-1.18.0.orig/newlib/Makefile.am newlib-1.18.0/newlib/Makefile.am
    old new  
    8181        libc.a
    8282endif
    8383
    84 noinst_DATA = stmp-targ-include
     84BUILT_SOURCES = stmp-targ-include
    8585
    8686toollib_DATA = $(CRT0) $(CRT1)
    8787
  • newlib/Makefile.in

    diff -Naur newlib-1.18.0.orig/newlib/Makefile.in newlib-1.18.0/newlib/Makefile.in
    old new  
    122122        install-pdf-recursive install-ps-recursive install-recursive \
    123123        installcheck-recursive installdirs-recursive pdf-recursive \
    124124        ps-recursive uninstall-recursive
    125 DATA = $(noinst_DATA) $(toollib_DATA)
     125DATA = $(toollib_DATA)
    126126RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
    127127  distclean-recursive maintainer-clean-recursive
    128128AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
     
    351351@USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
    352352@USE_LIBTOOL_FALSE@     libc.a
    353353
    354 noinst_DATA = stmp-targ-include
     354BUILT_SOURCES = stmp-targ-include
    355355toollib_DATA = $(CRT0) $(CRT1)
    356356
    357357# The functions ldexp, frexp and modf are traditionally supplied in
     
    411411
    412412# dejagnu support
    413413RUNTESTFLAGS =
    414 all: newlib.h
     414all: $(BUILT_SOURCES) newlib.h
    415415        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    416416
    417417.SUFFIXES:
     
    725725        done
    726726check-am:
    727727        $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
    728 check: check-recursive
     728check: $(BUILT_SOURCES)
     729        $(MAKE) $(AM_MAKEFLAGS) check-recursive
    729730all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
    730731installdirs: installdirs-recursive
    731732installdirs-am:
    732733        for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
    733734          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
    734735        done
    735 install: install-recursive
     736install: $(BUILT_SOURCES)
     737        $(MAKE) $(AM_MAKEFLAGS) install-recursive
    736738install-exec: install-exec-recursive
    737739install-data: install-data-recursive
    738740uninstall: uninstall-recursive
     
    758760maintainer-clean-generic:
    759761        @echo "This command is intended for maintainers to use"
    760762        @echo "it deletes files that may require special tools to rebuild."
     763        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
    761764clean: clean-recursive
    762765
    763766clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
     
    833836uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
    834837        uninstall-toollibLTLIBRARIES
    835838
    836 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
    837         ctags-recursive install-am install-strip tags-recursive
     839.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
     840        check-am ctags-recursive install install-am install-strip \
     841        tags-recursive
    838842
    839843.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
    840844        all all-am am--refresh check check-DEJAGNU check-am clean \
Note: See TracBrowser for help on using the repository browser.