source: rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20091218.diff @ 856e6c6a

4.104.115
Last change on this file since 856e6c6a was 856e6c6a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/19/09 at 05:50:05

New.

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

    diff -Naur newlib-1.18.0.orig/newlib/ChangeLog.rtems newlib-1.18.0/newlib/ChangeLog.rtems
    old new  
     12009-12-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libc/search/db_local.h:
     4        Use __uint32_t instead of u_int (prototype mismatches).
     5        * libc/search/extern.h (__buf_init):
     6        Use __uint32_t instead of int (16 bit target portability).
     7        * libc/search/hash_buf.c: Use ptrdiff_t instead of __uint32_t,
     8        use __uint32_t instead of int (16 bit target portability).
     9        * libc/search/hash.h: Use __uint32_it instead of int
     10        (16 bit target portability).
     11        * libm/common/modfl.c: Add cast to (double*) to avoid GCC warning.
     12        * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit
     13        casts to __uint32_t to avoid overflows on implicit casts.
     14
     152009-12-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     16
     17        Merger with newlib-1.18.0.
     18
     192009-10-29      Ralf Corsépius <ralf.corsepius@rtems.org>
     20
     21        * libc/sys/rtems/machine/_types.h: Rework.
     22        * libc/sys/rtems/machine/stdint.h: Remove.
     23        * libc/include/inttypes.h:
     24        Rework logic to determine PRI*PTR.
     25        Prefer long64 over longlong64.
     26        * libc/include/machine/_default_types.h:
     27        Sync logic for __int32 with stdint.h (Prefer long over int).
     28        * libc/include/stdint.h:
     29        Remove __SPU__ hack.
     30        Prefer int for int16_t (sync with _default_types.h).
     31        Rework intptr_t determination.
     32
     332009-10-28      Ralf Corsépius <ralf.corsepius@rtems.org>
     34
     35        * libc/sys/rtems/machine/_types.h: New.
     36        Add custom time for _ssize_t.
     37        * libc/stdlib/assert.c: Sync with newlib-CVS.
     38        * configure.host: Add -DHAVE_ASSERT_FUNC to newlib_cflags.
     39
     402009-10-27      Ralf Corsépius <ralf.corsepius@rtems.org>
     41
     42        * libc/include/sys/pthread.h:
     43        Add pthread_atfork (Mandated by IEEE Std 1003.1-2008).
     44        Add pthread_rwlock_unlock (Formerly missing)
     45
     462009-10-26      Ralf Corsépius <ralf.corsepius@rtems.org>
     47
     48        * libc/include/sys/signal.h: Sync with newlib-CVS.
     49
     502009-10-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     51
     52        * libc/include/sys/signal.h: Use pid_t as 1st arg to kill()
     53        (mandated by POSIX).
     54
     552009-09-22      Ralf Corsépius <ralf.corsepius@rtems.org>
     56
     57        * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
     58        Remove CIRCLEQ_*.
     59        * libc/search/hcreate.c: Don't include sys/queue.h.
     60
     612009-09-18  Christopher Faylor  <me+cygwin@cgf.cx>
     62
     63        * libc/include/sys/unistd.h: Declare getpagesize as returning
     64        POSIX-mandated int.
     65
     662009-09-16      Ralf Corsépius <ralf.corsepius@rtems.org>
     67
     68        * libc/sys/rtems/crt0.c: Use while(1) in _exit stub to silence GCC "noreturn"
     69        warning.
     70
     712009-09-15      Ralf Corsépius <ralf.corsepius@rtems.org>
     72
     73        * libc/include/stdlib.h: Add posix_memalign.
     74
     752009-09-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     76
     77        * configure.host (m32c): Remove -D_ABORT_PROVIDED.
     78
     792009-09-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     80
     81        * configure.host: Add -D_NO_POPEN.
     82        * libc/sys/rtems/crt0.c: Don't provide waitpid unless used.
     83
     842009-09-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     85
     86        * configure.host: Add -D_NO_WORDEXP.
     87
     882009-09-06      Ralf Corsépius <ralf.corsepius@rtems.org>
     89
     90        * libc/sys/rtems/crt0.c: Add issetugid.
     91
     922009-09-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     93
     94        * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
     95
     962009-07-27      Ralf Corsépius <ralf.corsepius@rtems.org>
     97
     98        * libc/sys/rtems/crt0.c: Add _isatty_r.
     99
     1002009-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     101
     102        * libc/include/sys/features.h: Define _UNIX98_THREAD_MUTEX_ATTRIBUTES.
     103
     1042009-05-05      Ralf Corsépius <ralf.corsepius@rtems.org>
     105
     106        * configure.host: Remove -DMISSING_SYSCALL_NAMES.
     107
     1082009-03-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     109
     110        * libc/stdlib/assert.c: Don't build __assert_func.
     111        * libc/sys/rtems/crt0.c: Add __assert_func.
     112
     1132009-03-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     114
     115        * libc/machine/powerpc/times.c: Remove.
     116        * libc/machine/powerpc/Makefile.am: Remove times.c.
     117        * libc/machine/powerpc/Makefile.in: Regenerate.
     118
     1192009-02-24      Ralf Corsépius <ralf.corsepius@rtems.org>
     120
     121        * libc/unix/ttyname.c: Sync with newlib-cvs.
     122        * configure.host: Add -DHAVE_BLKSIZE to newlib_cflags.
     123
     1242009-02-22      Ralf Corsépius <ralf.corsepius@rtems.org>
     125
     126        * libc/sys/rtems/machine/stdint.h: Add __lm32__.
     127        * libc/machine/lm32/configure.in: Set AC_CONFIG_SRC to setjmp.S.
     128        * libc/machine/lm32/configure: Regenerate.
     129
     1302009-02-20      Ralf Corsépius <ralf.corsepius@rtems.org>
     131
     132        * libc/unix/Makefile.in: Regenerate.
     133
     1342009-02-20  Craig Howland <howland@LGSInnovations.com> on behalf of
     135        Sebastian Huber <sebastian.huber@embedded-brains.de>
     136
     137        * libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
     138        coupling ttyname_r() and ttyname() due to the latter's large buffer).
     139        * libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
     140        ttyname.c.
     141        * libc/unix/ttyname.h:  New file (common size definition for the 2
     142        ttyname*c files that are now split).
     143        * libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
     144
     1452009-02-16      Ralf Corsépius <ralf.corsepius@rtems.org>
     146
     147        * libc/sys/rtems/sys/param.h:
     148        Update copyright notice from FreeBSD.
     149        Remove HZ.
     150        Add #include <sys/priority.h>
     151        Remove priority handling (moved to sys/priority.h).
     152        Remove CLBYTES (Unused, abandoned in BSD).
     153
     1542009-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
     155
     156        * libc/include/sched.h:
     157        Remove (collides with RTEMS's schedul.h).
     158
  • 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/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
  • 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/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/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.