source: rtems/contrib/crossrpms/patches/newlib-1.15.0-rtems4.8-20080903.diff @ 15e12bf6

4.8
Last change on this file since 15e12bf6 was e5bbe57, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/03/08 at 09:26:39

Remove support for c4x.
Backport arm-endianness hack from rtems-4.10.

  • Property mode set to 100644
File size: 33.9 KB
RevLine 
[e5bbe57]1diff -Naur newlib-1.15.0.orig/newlib/libc/include/inttypes.h newlib-1.15.0/newlib/libc/include/inttypes.h
2--- newlib-1.15.0.orig/newlib/libc/include/inttypes.h   2005-12-16 20:03:12.000000000 +0100
3+++ newlib-1.15.0/newlib/libc/include/inttypes.h        2008-09-03 10:27:41.000000000 +0200
4@@ -242,9 +242,12 @@
5 #define SCNxMAX                __SCNMAX(x)
6 
7 /* ptr types */
8-#if __have_longlong64
9-#define __PRIPTR(x) __STRINGIFY(ll##x)
10-#define __SCNPTR(x) __STRINGIFY(ll##x)
11+#if __ptrint_t_long_defined
12+#define __PRIPTR(x) __STRINGIFY(l##x)
13+#define __SCNPTR(x) __STRINGIFY(l##x)
14+#elif __ptrint_t_int_defined
15+#define __PRIPTR(x) __STRINGIFY(x)
16+#define __SCNPTR(x) __STRINGIFY(x)
17 #elif __have_long64
18 #define __PRIPTR(x) __STRINGIFY(l##x)
19 #define __SCNPTR(x) __STRINGIFY(l##x)
20diff -Naur newlib-1.15.0.orig/newlib/libc/include/machine/ieeefp.h newlib-1.15.0/newlib/libc/include/machine/ieeefp.h
21--- newlib-1.15.0.orig/newlib/libc/include/machine/ieeefp.h     2006-11-08 20:26:43.000000000 +0100
22+++ newlib-1.15.0/newlib/libc/include/machine/ieeefp.h  2008-09-03 10:29:27.000000000 +0200
23@@ -62,8 +62,12 @@
24 #  define __IEEE_BIG_ENDIAN
25 # endif
26 #else
27-# define __IEEE_BIG_ENDIAN
28 # ifdef __ARMEL__
29+#  define __IEEE_LITTLE_ENDIAN
30+# else
31+#  define __IEEE_BIG_ENDIAN
32+# endif
33+# ifdef __ARMWEL__
34 #  define __IEEE_BYTES_LITTLE_ENDIAN
35 # endif
36 #endif
37diff -Naur newlib-1.15.0.orig/newlib/libc/include/machine/setjmp.h newlib-1.15.0/newlib/libc/include/machine/setjmp.h
38--- newlib-1.15.0.orig/newlib/libc/include/machine/setjmp.h     2006-12-18 17:48:03.000000000 +0100
39+++ newlib-1.15.0/newlib/libc/include/machine/setjmp.h  2008-09-03 10:27:41.000000000 +0200
40@@ -27,7 +27,7 @@
41 
42 /* necv70 was 9 as well. */
43 
44-#ifdef __mc68000__
45+#if defined(__m68k__) || defined(__mc68000__)
46 /*
47  * onsstack,sigmask,sp,pc,psl,d2-d7,a2-a6,
48  * fp2-fp7     for 68881.
49diff -Naur newlib-1.15.0.orig/newlib/libc/include/stdint.h newlib-1.15.0/newlib/libc/include/stdint.h
50--- newlib-1.15.0.orig/newlib/libc/include/stdint.h     2006-08-16 23:39:43.000000000 +0200
51+++ newlib-1.15.0/newlib/libc/include/stdint.h  2008-09-03 10:27:41.000000000 +0200
52@@ -348,8 +348,7 @@
53 #endif
54 
55 /* This must match size_t in stddef.h, currently long unsigned int */
56-#define SIZE_MIN (-__STDINT_EXP(LONG_MAX) - 1L)
57-#define SIZE_MAX __STDINT_EXP(LONG_MAX)
58+#define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
59 
60 /* This must match sig_atomic_t in <signal.h> (currently int) */
61 #define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1)
62@@ -393,6 +392,9 @@
63 #define UINTMAX_C(x)   x##UL
64 #endif
65 
66+#ifdef __rtems__
67+#include <machine/stdint.h>
68+#endif
69 
70 #ifdef __cplusplus
71 }
72diff -Naur newlib-1.15.0.orig/newlib/libc/include/sys/errno.h newlib-1.15.0/newlib/libc/include/sys/errno.h
73--- newlib-1.15.0.orig/newlib/libc/include/sys/errno.h  2002-09-24 16:10:12.000000000 +0200
74+++ newlib-1.15.0/newlib/libc/include/sys/errno.h       2008-09-03 10:27:41.000000000 +0200
75@@ -148,6 +148,7 @@
76 #define ECASECLASH 137  /* Filename exists with different case */
77 #define EILSEQ 138
78 #define EOVERFLOW 139  /* Value too large for defined data type */
79+#define ECANCELED 140  /* Operation canceled. */
80 
81 /* From cygwin32.  */
82 #define EWOULDBLOCK EAGAIN     /* Operation would block */
83diff -Naur newlib-1.15.0.orig/newlib/libc/include/sys/features.h newlib-1.15.0/newlib/libc/include/sys/features.h
84--- newlib-1.15.0.orig/newlib/libc/include/sys/features.h       2006-09-14 00:09:27.000000000 +0200
85+++ newlib-1.15.0/newlib/libc/include/sys/features.h    2008-09-03 10:27:41.000000000 +0200
86@@ -38,6 +38,7 @@
87 #define _POSIX_MEMLOCK_RANGE           1
88 #define _POSIX_MEMORY_PROTECTION       1
89 #define _POSIX_MESSAGE_PASSING         1
90+#define _POSIX_MONOTONIC_CLOCK         200112L
91 #define _POSIX_PRIORITIZED_IO          1
92 #define _POSIX_PRIORITY_SCHEDULING     1
93 #define _POSIX_REALTIME_SIGNALS                1
94@@ -81,17 +82,97 @@
95 #endif
96 
97 #ifdef __CYGWIN__
98-# define _POSIX_JOB_CONTROL                    1
99-# define _POSIX_SAVED_IDS                      0
100-# define _POSIX_VERSION                                199009L
101-# define _POSIX_THREADS                         1
102-# define _POSIX_THREAD_PROCESS_SHARED           1
103-# define _POSIX_THREAD_SAFE_FUNCTIONS           1
104-# define _POSIX_THREAD_PRIORITY_SCHEDULING      1
105-# define _POSIX_THREAD_ATTR_STACKSIZE           1
106-# define _POSIX_SEMAPHORES                      1
107-# define _POSIX_TIMERS                         1
108-# define _POSIX_MEMLOCK_RANGE                  1
109+
110+#if !defined(__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L
111+#define _POSIX_VERSION                         200112L
112+#define _POSIX2_VERSION                                200112L
113+#define _XOPEN_VERSION                            600
114+
115+#define _POSIX_ADVISORY_INFO                   200112L
116+/* #define _POSIX_ASYNCHRONOUS_IO                  -1 */
117+/* #define _POSIX_BARRIERS                         -1 */
118+#define _POSIX_CHOWN_RESTRICTED                             1
119+/* #define _POSIX_CLOCK_SELECTION                  -1 */
120+/* #define _POSIX_CPUTIME                          -1 */
121+#define _POSIX_FSYNC                           200112L
122+#define _POSIX_IPV6                            200112L
123+#define _POSIX_JOB_CONTROL                          1
124+#define _POSIX_MAPPED_FILES                    200112L
125+/* #define _POSIX_MEMLOCK                          -1 */
126+#define _POSIX_MEMLOCK_RANGE                   200112L
127+#define _POSIX_MEMORY_PROTECTION               200112L
128+#define _POSIX_MESSAGE_PASSING                 200112L
129+/* #define _POSIX_MONOTONIC_CLOCK                  -1 */
130+#define _POSIX_NO_TRUNC                                     1
131+/* #define _POSIX_PRIORITIZED_IO                   -1 */
132+#define _POSIX_PRIORITY_SCHEDULING             200112L
133+#define _POSIX_RAW_SOCKETS                     200112L
134+#define _POSIX_READER_WRITER_LOCKS             200112L
135+#define _POSIX_REALTIME_SIGNALS                        200112L
136+#define _POSIX_REGEXP                               1
137+#define _POSIX_SAVED_IDS                            1
138+#define _POSIX_SEMAPHORES                      200112L
139+#define _POSIX_SHARED_MEMORY_OBJECTS           200112L
140+#define _POSIX_SHELL                                1
141+/* #define _POSIX_SPAWN                                    -1 */
142+/* #define _POSIX_SPIN_LOCKS                       -1 */
143+/* #define _POSIX_SPORADIC_SERVER                  -1 */
144+#define _POSIX_SYNCHRONIZED_IO                 200112L
145+/* #define _POSIX_THREAD_ATTR_STACKADDR                    -1 */
146+#define _POSIX_THREAD_ATTR_STACKSIZE           200112L
147+/* #define _POSIX_THREAD_CPUTIME                   -1 */
148+/* #define _POSIX_THREAD_PRIO_INHERIT              -1 */
149+/* #define _POSIX_THREAD_PRIO_PROTECT              -1 */
150+#define _POSIX_THREAD_PRIORITY_SCHEDULING      200112L
151+#define _POSIX_THREAD_PROCESS_SHARED           200112L
152+#define _POSIX_THREAD_SAFE_FUNCTIONS           200112L
153+/* #define _POSIX_THREAD_SPORADIC_SERVER           -1 */
154+#define _POSIX_THREADS                         200112L
155+/* #define _POSIX_TIMEOUTS                         -1 */
156+#define _POSIX_TIMERS                               1
157+/* #define _POSIX_TRACE                                    -1 */
158+/* #define _POSIX_TRACE_EVENT_FILTER               -1 */
159+/* #define _POSIX_TRACE_INHERIT                            -1 */
160+/* #define _POSIX_TRACE_LOG                        -1 */
161+/* #define _POSIX_TYPED_MEMORY_OBJECTS             -1 */
162+#define _POSIX_VDISABLE                                   '\0'
163+#define _POSIX2_C_BIND                         200112L
164+#define _POSIX2_C_DEV                          200112L
165+#define _POSIX2_CHAR_TERM                      200112L
166+/* #define _POSIX2_FORT_DEV                        -1 */
167+/* #define _POSIX2_FORT_RUN                        -1 */
168+/* #define _POSIX2_LOCALEDEF                       -1 */
169+/* #define _POSIX2_PBS                             -1 */
170+/* #define _POSIX2_PBS_ACCOUNTING                  -1 */
171+/* #define _POSIX2_PBS_CHECKPOINT                  -1 */
172+/* #define _POSIX2_PBS_LOCATE                      -1 */
173+/* #define _POSIX2_PBS_MESSAGE                     -1 */
174+/* #define _POSIX2_PBS_TRACK                       -1 */
175+#define _POSIX2_SW_DEV                         200112L
176+#define _POSIX2_UPE                            200112L
177+/* #define _POSIX_V6_ILP32_OFF32                   -1 */
178+#define _XBS5_ILP32_OFF32                      _POSIX_V6_ILP32_OFF32
179+#define _POSIX_V6_ILP32_OFFBIG                      1
180+#define _XBS5_ILP32_OFFBIG                     _POSIX_V6_ILP32_OFFBIG
181+/* #define _POSIX_V6_LP64_OFF64                            -1 */
182+#define _XBS5_LP64_OFF64                       _POSIX_V6_LP64_OFF64
183+/* #define _POSIX_V6_LPBIG_OFFBIG                  -1 */
184+#define _XBS5_LPBIG_OFFBIG                     _POSIX_V6_LPBIG_OFFBIG
185+#define _XOPEN_CRYPT                                1
186+#define _XOPEN_ENH_I18N                                     1
187+/* #define _XOPEN_LEGACY                           -1 */
188+/* #define _XOPEN_REALTIME                         -1 */
189+/* #define _XOPEN_REALTIME_THREADS                 -1 */
190+#define _XOPEN_SHM                                  1
191+/* #define _XOPEN_STREAMS                          -1 */
192+/* #define _XOPEN_UNIX                             -1 */
193+
194+#endif /* !__STRICT_ANSI__ || __cplusplus || __STDC_VERSION__ >= 199901L */
195+#endif /* __CYGWIN__ */
196+
197+#ifdef __SPU__
198+/* Not much for now! */
199+#define _POSIX_TIMERS                               1
200 #endif
201 
202 #ifdef __cplusplus
203diff -Naur newlib-1.15.0.orig/newlib/libc/include/sys/time.h newlib-1.15.0/newlib/libc/include/sys/time.h
204--- newlib-1.15.0.orig/newlib/libc/include/sys/time.h   2006-02-15 11:26:30.000000000 +0100
205+++ newlib-1.15.0/newlib/libc/include/sys/time.h        2008-09-03 10:27:41.000000000 +0200
206@@ -70,7 +70,7 @@
207   } while (0)
208 #endif /* defined (__rtems__) || defined (__CYGWIN__) */
209 
210-int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
211+int _EXFUN(gettimeofday, (struct timeval *__p, void *__tz));
212 int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
213 int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
214 int _EXFUN(getitimer, (int __which, struct itimerval *__value));
215diff -Naur newlib-1.15.0.orig/newlib/libc/include/sys/_types.h newlib-1.15.0/newlib/libc/include/sys/_types.h
216--- newlib-1.15.0.orig/newlib/libc/include/sys/_types.h 2004-06-11 22:37:09.000000000 +0200
217+++ newlib-1.15.0/newlib/libc/include/sys/_types.h      2008-09-03 10:27:41.000000000 +0200
218@@ -39,4 +39,7 @@
219 /* Iconv descriptor type */
220 typedef void *_iconv_t;
221 
222+typedef long * __intptr_t;
223+typedef unsigned long* __uintptr_t;
224+
225 #endif /* _SYS__TYPES_H */
226diff -Naur newlib-1.15.0.orig/newlib/libc/include/sys/unistd.h newlib-1.15.0/newlib/libc/include/sys/unistd.h
227--- newlib-1.15.0.orig/newlib/libc/include/sys/unistd.h 2006-11-07 16:33:40.000000000 +0100
228+++ newlib-1.15.0/newlib/libc/include/sys/unistd.h      2008-09-03 10:27:41.000000000 +0200
229@@ -27,6 +27,9 @@
230 int     _EXFUN(chroot, (const char *__path ));
231 #endif
232 int     _EXFUN(close, (int __fildes ));
233+#if defined(__CYGWIN__)
234+size_t _EXFUN(confstr, (int __name, char *__buf, size_t __len));
235+#endif
236 char    _EXFUN(*ctermid, (char *__s ));
237 char    _EXFUN(*cuserid, (char *__s ));
238 #if defined(__CYGWIN__)
239@@ -151,6 +154,7 @@
240 int     _EXFUN(ttyname_r, (int, char *, size_t));
241 #endif
242 int     _EXFUN(unlink, (const char *__path ));
243+int    _EXFUN(usleep, (useconds_t __useconds));
244 int     _EXFUN(vhangup, (void ));
245 _READ_WRITE_RETURN_TYPE _EXFUN(write, (int __fd, const void *__buf, size_t __nbyte ));
246 
247@@ -196,23 +200,21 @@
248 int     _EXFUN(truncate, (const char *, off_t __length));
249 #endif
250 #endif
251+
252 #if defined(__CYGWIN__) || defined(__rtems__)
253 int    _EXFUN(getdtablesize, (void));
254 int    _EXFUN(setdtablesize, (int));
255 useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
256-unsigned _EXFUN(usleep, (unsigned int __useconds));
257 #if !(defined  (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
258 /* winsock[2].h defines as __stdcall, and with int as 2nd arg */
259  int   _EXFUN(gethostname, (char *__name, size_t __len));
260 #endif
261 char * _EXFUN(mktemp, (char *));
262-#if defined(__CYGWIN__)
263+#if defined(__CYGWIN__) || defined(__rtems__)
264 void    _EXFUN(sync, (void));
265-#else /* defined(__rtems__) */
266-int     _EXFUN(sync, (void));
267 #endif
268 #endif
269-int     _EXFUN(readlink, (const char *__path, char *__buf, int __buflen));
270+ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen));
271 int     _EXFUN(symlink, (const char *__name1, const char *__name2));
272 
273 #define        F_OK    0
274@@ -231,63 +233,55 @@
275 #define STDERR_FILENO   2       /* standard error file descriptor */
276 
277 /*
278- *  4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 96
279- *
280- *  NOTE: Table 4-2, Configurable System Variables, p. 96
281- */
282-
283-#define _SC_ARG_MAX                 0
284-#define _SC_CHILD_MAX               1
285-#define _SC_CLK_TCK                 2
286-#define _SC_NGROUPS_MAX             3
287-#define _SC_OPEN_MAX                4
288-  /* no _SC_STREAM_MAX */
289-#define _SC_JOB_CONTROL             5
290-#define _SC_SAVED_IDS               6
291-#define _SC_VERSION                 7
292-#define _SC_PAGESIZE                8
293-/* CYGWIN-specific values .. do not touch */
294-#define _SC_NPROCESSORS_CONF        9
295-#define _SC_NPROCESSORS_ONLN       10
296-#define _SC_PHYS_PAGES             11
297-#define _SC_AVPHYS_PAGES           12
298-/* end of CYGWIN-specific values */
299-#define _SC_MQ_OPEN_MAX            13
300-#define _SC_MQ_PRIO_MAX            14
301-#define _SC_RTSIG_MAX              15
302-#define _SC_SEM_NSEMS_MAX          16
303-#define _SC_SEM_VALUE_MAX          17
304-#define _SC_SIGQUEUE_MAX           18
305-#define _SC_TIMER_MAX              19
306-#define _SC_TZNAME_MAX             20
307-
308-#define _SC_ASYNCHRONOUS_IO        21
309-#define _SC_FSYNC                  22
310-#define _SC_MAPPED_FILES           23
311-#define _SC_MEMLOCK                24
312-#define _SC_MEMLOCK_RANGE          25
313-#define _SC_MEMORY_PROTECTION      26
314-#define _SC_MESSAGE_PASSING        27
315-#define _SC_PRIORITIZED_IO         28
316-#define _SC_REALTIME_SIGNALS       29
317-#define _SC_SEMAPHORES             30
318-#define _SC_SHARED_MEMORY_OBJECTS  31
319-#define _SC_SYNCHRONIZED_IO        32
320-#define _SC_TIMERS                 33
321-#define _SC_AIO_LISTIO_MAX         34
322-#define _SC_AIO_MAX                35
323-#define _SC_AIO_PRIO_DELTA_MAX     36
324-#define _SC_DELAYTIMER_MAX         37
325-
326-/*
327- *  P1003.1c/D10, p. 52 adds the following.
328+ *  sysconf values per IEEE Std 1003.1, 2004 Edition
329  */
330 
331+#define _SC_ARG_MAX                       0
332+#define _SC_CHILD_MAX                     1
333+#define _SC_CLK_TCK                       2
334+#define _SC_NGROUPS_MAX                   3
335+#define _SC_OPEN_MAX                      4
336+#define _SC_JOB_CONTROL                   5
337+#define _SC_SAVED_IDS                     6
338+#define _SC_VERSION                       7
339+#define _SC_PAGESIZE                      8
340+#define _SC_PAGE_SIZE                     _SC_PAGESIZE
341+/* These are non-POSIX values we accidentally introduced in 2000 without
342+   guarding them.  Keeping them unguarded for backward compatibility. */
343+#define _SC_NPROCESSORS_CONF              9
344+#define _SC_NPROCESSORS_ONLN             10
345+#define _SC_PHYS_PAGES                   11
346+#define _SC_AVPHYS_PAGES                 12
347+/* End of non-POSIX values. */
348+#define _SC_MQ_OPEN_MAX                  13
349+#define _SC_MQ_PRIO_MAX                  14
350+#define _SC_RTSIG_MAX                    15
351+#define _SC_SEM_NSEMS_MAX                16
352+#define _SC_SEM_VALUE_MAX                17
353+#define _SC_SIGQUEUE_MAX                 18
354+#define _SC_TIMER_MAX                    19
355+#define _SC_TZNAME_MAX                   20
356+#define _SC_ASYNCHRONOUS_IO              21
357+#define _SC_FSYNC                        22
358+#define _SC_MAPPED_FILES                 23
359+#define _SC_MEMLOCK                      24
360+#define _SC_MEMLOCK_RANGE                25
361+#define _SC_MEMORY_PROTECTION            26
362+#define _SC_MESSAGE_PASSING              27
363+#define _SC_PRIORITIZED_IO               28
364+#define _SC_REALTIME_SIGNALS             29
365+#define _SC_SEMAPHORES                   30
366+#define _SC_SHARED_MEMORY_OBJECTS        31
367+#define _SC_SYNCHRONIZED_IO              32
368+#define _SC_TIMERS                       33
369+#define _SC_AIO_LISTIO_MAX               34
370+#define _SC_AIO_MAX                      35
371+#define _SC_AIO_PRIO_DELTA_MAX           36
372+#define _SC_DELAYTIMER_MAX               37
373 #define _SC_THREAD_KEYS_MAX              38
374 #define _SC_THREAD_STACK_MIN             39
375 #define _SC_THREAD_THREADS_MAX           40
376 #define _SC_TTY_NAME_MAX                 41
377-
378 #define _SC_THREADS                      42
379 #define _SC_THREAD_ATTR_STACKADDR        43
380 #define _SC_THREAD_ATTR_STACKSIZE        44
381@@ -302,40 +296,143 @@
382 #define _SC_GETPW_R_SIZE_MAX             51
383 #define _SC_LOGIN_NAME_MAX               52
384 #define _SC_THREAD_DESTRUCTOR_ITERATIONS 53
385+#define _SC_ADVISORY_INFO                54
386+#define _SC_ATEXIT_MAX                   55
387+#define _SC_BARRIERS                     56
388+#define _SC_BC_BASE_MAX                  57
389+#define _SC_BC_DIM_MAX                   58
390+#define _SC_BC_SCALE_MAX                 59
391+#define _SC_BC_STRING_MAX                60
392+#define _SC_CLOCK_SELECTION              61
393+#define _SC_COLL_WEIGHTS_MAX             62
394+#define _SC_CPUTIME                      63
395+#define _SC_EXPR_NEST_MAX                64
396+#define _SC_HOST_NAME_MAX                65
397+#define _SC_IOV_MAX                      66
398+#define _SC_IPV6                         67
399+#define _SC_LINE_MAX                     68
400+#define _SC_MONOTONIC_CLOCK              69
401+#define _SC_RAW_SOCKETS                  70
402+#define _SC_READER_WRITER_LOCKS          71
403+#define _SC_REGEXP                       72
404+#define _SC_RE_DUP_MAX                   73
405+#define _SC_SHELL                        74
406+#define _SC_SPAWN                        75
407+#define _SC_SPIN_LOCKS                   76
408+#define _SC_SPORADIC_SERVER              77
409+#define _SC_SS_REPL_MAX                  78
410+#define _SC_SYMLOOP_MAX                  79
411+#define _SC_THREAD_CPUTIME               80
412+#define _SC_THREAD_SPORADIC_SERVER       81
413+#define _SC_TIMEOUTS                     82
414+#define _SC_TRACE                        83
415+#define _SC_TRACE_EVENT_FILTER           84
416+#define _SC_TRACE_EVENT_NAME_MAX         85
417+#define _SC_TRACE_INHERIT                86
418+#define _SC_TRACE_LOG                    87
419+#define _SC_TRACE_NAME_MAX               88
420+#define _SC_TRACE_SYS_MAX                89
421+#define _SC_TRACE_USER_EVENT_MAX         90
422+#define _SC_TYPED_MEMORY_OBJECTS         91
423+#define _SC_V6_ILP32_OFF32               92
424+#define _SC_XBS5_ILP32_OFF32             _SC_V6_ILP32_OFF32
425+#define _SC_V6_ILP32_OFFBIG              93
426+#define _SC_XBS5_ILP32_OFFBIG            _SC_V6_ILP32_OFFBIG
427+#define _SC_V6_LP64_OFF64                94
428+#define _SC_XBS5_LP64_OFF64              _SC_V6_LP64_OFF64
429+#define _SC_V6_LPBIG_OFFBIG              95
430+#define _SC_XBS5_LPBIG_OFFBIG            _SC_V6_LPBIG_OFFBIG
431+#define _SC_XOPEN_CRYPT                  96
432+#define _SC_XOPEN_ENH_I18N               97
433+#define _SC_XOPEN_LEGACY                 98
434+#define _SC_XOPEN_REALTIME               99
435+#define _SC_STREAM_MAX                  100
436+#define _SC_PRIORITY_SCHEDULING         101
437+#define _SC_XOPEN_REALTIME_THREADS      102
438+#define _SC_XOPEN_SHM                   103
439+#define _SC_XOPEN_STREAMS               104
440+#define _SC_XOPEN_UNIX                  105
441+#define _SC_XOPEN_VERSION               106
442+#define _SC_2_CHAR_TERM                 107
443+#define _SC_2_C_BIND                    108
444+#define _SC_2_C_DEV                     109
445+#define _SC_2_FORT_DEV                  110
446+#define _SC_2_FORT_RUN                  111
447+#define _SC_2_LOCALEDEF                 112
448+#define _SC_2_PBS                       113
449+#define _SC_2_PBS_ACCOUNTING            114
450+#define _SC_2_PBS_CHECKPOINT            115
451+#define _SC_2_PBS_LOCATE                116
452+#define _SC_2_PBS_MESSAGE               117
453+#define _SC_2_PBS_TRACK                 118
454+#define _SC_2_SW_DEV                    119
455+#define _SC_2_UPE                       120
456+#define _SC_2_VERSION                   121
457 
458-#if !defined(__rtems__)
459-#define _SC_STREAM_MAX                 100
460-#endif
461-#if !defined(__CYGWIN__) && !defined(__rtems__)
462-#define _SC_PRIORITY_SCHEDULING                101
463-#endif
464
465-# define       _PC_LINK_MAX            0
466-# define       _PC_MAX_CANON           1
467-# define       _PC_MAX_INPUT           2
468-# define       _PC_NAME_MAX            3
469-# define       _PC_PATH_MAX            4
470-# define       _PC_PIPE_BUF            5
471-# define       _PC_CHOWN_RESTRICTED    6
472-# define       _PC_NO_TRUNC            7
473-# define       _PC_VDISABLE            8
474-# define       _PC_ASYNC_IO            9
475-# define       _PC_PRIO_IO            10
476-# define       _PC_SYNC_IO            11
477-# define       _PC_FILESIZEBITS       12
478-# define       _PC_2_SYMLINKS         13
479-# define       _PC_SYMLINK_MAX        14
480+/*
481+ *  pathconf values per IEEE Std 1003.1, 2004 Edition
482+ */
483+
484+#define _PC_LINK_MAX                      0
485+#define _PC_MAX_CANON                     1
486+#define _PC_MAX_INPUT                     2
487+#define _PC_NAME_MAX                      3
488+#define _PC_PATH_MAX                      4
489+#define _PC_PIPE_BUF                      5
490+#define _PC_CHOWN_RESTRICTED              6
491+#define _PC_NO_TRUNC                      7
492+#define _PC_VDISABLE                      8
493+#define _PC_ASYNC_IO                      9
494+#define _PC_PRIO_IO                      10
495+#define _PC_SYNC_IO                      11
496+#define _PC_FILESIZEBITS                 12
497+#define _PC_2_SYMLINKS                   13
498+#define _PC_SYMLINK_MAX                  14
499 #ifdef __CYGWIN__
500 /* Ask for POSIX permission bits support. */
501-# define       _PC_POSIX_PERMISSIONS   90
502+#define _PC_POSIX_PERMISSIONS            90
503 /* Ask for full POSIX permission support including uid/gid settings. */
504-# define       _PC_POSIX_SECURITY     91
505+#define _PC_POSIX_SECURITY               91
506 #endif
507 
508-/* FIXME: This is temporary until winsup gets sorted out.  */
509-#ifdef __CYGWIN__
510-#define MAXPATHLEN (260 - 1 /* NUL */)
511-#else
512+/*
513+ *  confstr values per IEEE Std 1003.1, 2004 Edition
514+ */
515+
516+#ifdef __CYGWIN__      /* Only defined on Cygwin for now. */
517+#define _CS_PATH                               0
518+#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS        1
519+#define _CS_XBS5_ILP32_OFF32_CFLAGS           _CS_POSIX_V6_ILP32_OFF32_CFLAGS
520+#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS       2
521+#define _CS_XBS5_ILP32_OFF32_LDFLAGS          _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
522+#define _CS_POSIX_V6_ILP32_OFF32_LIBS          3
523+#define _CS_XBS5_ILP32_OFF32_LIBS             _CS_POSIX_V6_ILP32_OFF32_LIBS
524+#define _CS_XBS5_ILP32_OFF32_LINTFLAGS         4
525+#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS       5
526+#define _CS_XBS5_ILP32_OFFBIG_CFLAGS          _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
527+#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS      6
528+#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS         _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
529+#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS         7
530+#define _CS_XBS5_ILP32_OFFBIG_LIBS            _CS_POSIX_V6_ILP32_OFFBIG_LIBS
531+#define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS        8
532+#define _CS_POSIX_V6_LP64_OFF64_CFLAGS         9
533+#define _CS_XBS5_LP64_OFF64_CFLAGS            _CS_POSIX_V6_LP64_OFF64_CFLAGS
534+#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS       10
535+#define _CS_XBS5_LP64_OFF64_LDFLAGS           _CS_POSIX_V6_LP64_OFF64_LDFLAGS
536+#define _CS_POSIX_V6_LP64_OFF64_LIBS          11
537+#define _CS_XBS5_LP64_OFF64_LIBS              _CS_POSIX_V6_LP64_OFF64_LIBS
538+#define _CS_XBS5_LP64_OFF64_LINTFLAGS         12
539+#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS      13
540+#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS          _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
541+#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS     14
542+#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS         _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
543+#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS        15
544+#define _CS_XBS5_LPBIG_OFFBIG_LIBS            _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
545+#define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS       16
546+#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS    17
547+#endif
548+
549+#ifndef __CYGWIN__
550 # define       MAXPATHLEN      1024
551 #endif
552 
553diff -Naur newlib-1.15.0.orig/newlib/libc/include/tar.h newlib-1.15.0/newlib/libc/include/tar.h
554--- newlib-1.15.0.orig/newlib/libc/include/tar.h        1970-01-01 01:00:00.000000000 +0100
555+++ newlib-1.15.0/newlib/libc/include/tar.h     2008-09-03 10:27:41.000000000 +0200
556@@ -0,0 +1,39 @@
557+/*
558+ * tar.h
559+ */
560+
561+#ifndef _TAR_H
562+#define _TAR_H
563+
564+/* General definitions */
565+#define TMAGIC                 "ustar" /* ustar plus null byte. */
566+#define TMAGLEN        6       /* Length of the above. */
567+#define TVERSION       "00"    /* 00 without a null byte. */
568+#define TVERSLEN       2       /* Length of the above. */
569+
570+/* Typeflag field definitions */
571+#define REGTYPE        '0'     /* Regular file. */
572+#define AREGTYPE       '\0'    /* Regular file. */
573+#define LNKTYPE                '1'     /* Link. */
574+#define SYMTYPE                '2'     /* Symbolic link. */
575+#define CHRTYPE                '3'     /* Character special. */
576+#define BLKTYPE                '4'     /* Block special. */
577+#define DIRTYPE                '5'     /* Directory. */
578+#define FIFOTYPE       '6'     /* FIFO special. */
579+#define CONTTYPE       '7'     /* Reserved. */
580+
581+/* Mode field bit definitions (octal) */
582+#define        TSUID           04000   /* Set UID on execution. */
583+#define        TSGID           02000   /* Set GID on execution. */
584+#define        TSVTX           01000   /* On directories, restricted deletion flag. */
585+#define        TUREAD          00400   /* Read by owner. */
586+#define        TUWRITE         00200   /* Write by owner. */
587+#define        TUEXEC          00100   /* Execute/search by owner. */
588+#define        TGREAD          00040   /* Read by group. */
589+#define        TGWRITE         00020   /* Write by group. */
590+#define        TGEXEC          00010   /* Execute/search by group. */
591+#define        TOREAD          00004   /* Read by other. */
592+#define        TOWRITE         00002   /* Write by other. */
593+#define        TOEXEC          00001   /* Execute/search by other. */
594+
595+#endif
596diff -Naur newlib-1.15.0.orig/newlib/libc/include/time.h newlib-1.15.0/newlib/libc/include/time.h
597--- newlib-1.15.0.orig/newlib/libc/include/time.h       2005-11-18 16:57:24.000000000 +0100
598+++ newlib-1.15.0/newlib/libc/include/time.h    2008-09-03 10:27:41.000000000 +0200
599@@ -226,6 +226,16 @@
600 
601 #endif
602 
603+#if defined(_POSIX_MONOTONIC_CLOCK)
604+
605+/*  The identifier for the system-wide monotonic clock, which is defined
606+    as a clock whose value cannot be set via clock_settime() and which
607+    cannot have backward clock jumps. */
608+
609+#define CLOCK_MONOTONIC (clockid_t)4
610+
611+#endif
612+
613 #if defined(_POSIX_CPUTIME)
614 
615 /* Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55 */
616diff -Naur newlib-1.15.0.orig/newlib/libc/machine/arm/machine/endian.h newlib-1.15.0/newlib/libc/machine/arm/machine/endian.h
617--- newlib-1.15.0.orig/newlib/libc/machine/arm/machine/endian.h 2004-05-07 22:29:24.000000000 +0200
618+++ newlib-1.15.0/newlib/libc/machine/arm/machine/endian.h      1970-01-01 01:00:00.000000000 +0100
619@@ -1,12 +0,0 @@
620-/* ARM configuration file */
621-
622-#ifndef _MACHINE_ENDIAN_H
623-# define _MACHINE_ENDIAN_H
624-
625-#ifdef __ARMEB__
626-#define BYTE_ORDER BIG_ENDIAN
627-#else
628-#define BYTE_ORDER LITTLE_ENDIAN
629-#endif
630-
631-#endif
632diff -Naur newlib-1.15.0.orig/newlib/libc/machine/powerpc/setjmp.S newlib-1.15.0/newlib/libc/machine/powerpc/setjmp.S
633--- newlib-1.15.0.orig/newlib/libc/machine/powerpc/setjmp.S     2002-04-19 21:16:17.000000000 +0200
634+++ newlib-1.15.0/newlib/libc/machine/powerpc/setjmp.S  2008-09-03 10:27:41.000000000 +0200
635@@ -5,13 +5,14 @@
636 #include "ppc-asm.h"
637 
638 FUNC_START(setjmp)
639-#ifdef __ALTIVEC__
640-       addi    3,3,15          # align Altivec to 16 byte boundary
641+      mfmsr   4
642+      rlwinm. 4,4,0,6,6       # check MSR_VE
643+      addi    3,3,7
644+      rlwinm  3,3,0,0,28  # align to 8 byte boundary
645+      beq             1f
646+    addi      3,3,15          # VE is enabled; align to 16 byte bdry
647        rlwinm  3,3,0,0,27
648-#else
649-       addi    3,3,7           # align to 8 byte boundary
650-       rlwinm  3,3,0,0,28
651-#endif
652+1:
653        stw     1,0(3)          # offset 0
654        stwu    2,4(3)          # offset 4
655        stwu    13,4(3)         # offset 8
656@@ -39,6 +40,12 @@
657        stwu    4,4(3)          # offset 88
658                                # one word pad to get floating point aligned on 8 byte boundary
659 #ifndef _SOFT_FLOAT
660+      mfmsr   4
661+      rlwinm. 4,4,0,18,18
662+      bne             1f                      # only save FPregs if FPU is enabled
663+      addi    3,3,18*8        # skip FPregs
664+      b               2f
665+1:
666        stfdu   14,8(3)         # offset 96
667        stfdu   15,8(3)         # offset 104
668        stfdu   16,8(3)         # offset 112
669@@ -57,12 +64,20 @@
670        stfdu   29,8(3)         # offset 216
671        stfdu   30,8(3)         # offset 224
672        stfdu   31,8(3)         # offset 232
673+2:
674 #endif
675 
676        /* This requires a total of 21 * 4 + 18 * 8 + 4 + 4 + 4
677           bytes == 60 * 4 bytes == 240 bytes.  */
678 
679-#ifdef __ALTIVEC__
680+#if defined(__ALTIVEC__)
681+      /* could reuse r4 but I reload it just in case the code changes... */
682+      mfmsr   4
683+      rlwinm. 4,4,0,6,6       # check MSR_VE
684+      bne             1f                      # only save vector regs if altivec is enabled
685+      addi    3,3,(8 + 12*16) # skip vector regs
686+      b               2f
687+1:
688        /* save Altivec vrsave and vr20-vr31 registers */
689        mfspr   4,256           # vrsave register
690        stwu    4,16(3)         # offset 248
691@@ -90,6 +105,7 @@
692        stvx    30,0,3          # offset 416
693        addi    3,3,16
694        stvx    31,0,3          # offset 432
695+2:
696 
697        /* This requires a total of 240 + 8 + 8 + 12 * 16 == 448 bytes. */
698 #endif
699@@ -99,13 +115,14 @@
700 
701 
702 FUNC_START(longjmp)
703-#ifdef __ALTIVEC__
704-       addi    3,3,15          # align Altivec to 16 byte boundary
705+      mfmsr   4
706+      rlwinm. 4,4,0,6,6       # check MSR_VE
707+      addi    3,3,7
708+      rlwinm  3,3,0,0,28  # align to 8 byte boundary
709+      beq             1f
710+    addi      3,3,15          # VE is enabled; align to 16 byte bdry
711        rlwinm  3,3,0,0,27
712-#else
713-       addi    3,3,7           # align to 8 byte boundary
714-       rlwinm  3,3,0,0,28
715-#endif
716+1:
717        lwz     1,0(3)          # offset 0
718        lwzu    2,4(3)          # offset 4
719        lwzu    13,4(3)         # offset 8
720@@ -129,10 +146,17 @@
721        lwzu    31,4(3)         # offset 80
722        lwzu    5,4(3)          # offset 84
723        mtlr    5
724+#if !defined(_SOFT_FLOAT)
725+      mfmsr   5
726+      rlwinm. 5,5,0,18,18 # is MSR_FP set?
727+#endif
728        lwzu    5,4(3)          # offset 88
729-       mtcrf   255,5
730                                # one word pad to get floating point aligned on 8 byte boundary
731 #ifndef _SOFT_FLOAT
732+      bne             1f
733+      addi    3,3,18*8                # skip FPregs
734+      b               2f
735+1:
736        lfdu    14,8(3)         # offset 96
737        lfdu    15,8(3)         # offset 104
738        lfdu    16,8(3)         # offset 112
739@@ -151,9 +175,17 @@
740        lfdu    29,8(3)         # offset 216
741        lfdu    30,8(3)         # offset 224
742        lfdu    31,8(3)         # offset 232
743+2:
744 #endif
745+      mtcrf   255,5
746 
747-#ifdef __ALTIVEC__
748+#if defined(__ALTIVEC__)
749+      mfmsr   5
750+      rlwinm. 5,5,0,6,6       # is MSR_FP set?
751+      bne             1f
752+      addi    3,3,(8+12*16)   # skip vector regs
753+      b               2f
754+1:
755        /* restore Altivec vrsave and v20-v31 registers */
756        lwzu    5,16(3)         # offset 248
757        mtspr   256,5           # vrsave
758@@ -181,6 +213,7 @@
759        lvx     30,0,3          # offset 416
760        addi    3,3,16
761        lvx     31,0,3          # offset 432
762+2:
763 #endif
764 
765        mr.     3,4
766diff -Naur newlib-1.15.0.orig/newlib/libc/sys/rtems/machine/stdint.h newlib-1.15.0/newlib/libc/sys/rtems/machine/stdint.h
767--- newlib-1.15.0.orig/newlib/libc/sys/rtems/machine/stdint.h   1970-01-01 01:00:00.000000000 +0100
768+++ newlib-1.15.0/newlib/libc/sys/rtems/machine/stdint.h        2008-09-03 10:27:41.000000000 +0200
769@@ -0,0 +1,31 @@
770+/*
771+ *
772+ */
773+#ifndef _MACHINE_STDINT_H
774+#define _MACHINE_STDINT_H
775+
776+#ifndef _STDINT_H
777+#error machine/stdint.h is an internal file and  must not be directly included
778+#endif
779+
780+#if defined(__sparc__) \
781+  || defined(__powerpc__) || defined(__PPC__) \
782+  || defined(__mips__) \
783+  || defined(__sh__) \
784+  || defined(__AVR__) \
785+  || defined(_C4x) || defined(_C3x) \
786+  || defined(__H8300__)
787+/* PTRDIFF_TYPE = int */
788+#define __ptrint_t_int_defined 1
789+#endif
790+
791+#if defined(__i386__) \
792+  || defined(__m68k__) \
793+  || defined(__bfin__) \
794+  || defined(__arm__) \
795+  || defined(__H8300S__) || defined(__H8300H__)
796+/* PTRDIFF_TYPE = long */
797+#define __ptrint_t_long_defined 1
798+#endif
799+
800+#endif
801diff -Naur newlib-1.15.0.orig/newlib/libc/sys/rtems/sys/param.h newlib-1.15.0/newlib/libc/sys/rtems/sys/param.h
802--- newlib-1.15.0.orig/newlib/libc/sys/rtems/sys/param.h        2004-05-07 22:29:24.000000000 +0200
803+++ newlib-1.15.0/newlib/libc/sys/rtems/sys/param.h     2008-09-03 10:27:41.000000000 +0200
804@@ -93,7 +93,6 @@
805 #include <sys/resource.h>
806 #include <sys/ucred.h>
807 #include <sys/uio.h>
808-#include <sys/rtprio.h>
809 
810 #ifndef FALSE
811 #define        FALSE   0
812diff -Naur newlib-1.15.0.orig/newlib/Makefile.am newlib-1.15.0/newlib/Makefile.am
813--- newlib-1.15.0.orig/newlib/Makefile.am       2006-06-05 19:42:57.000000000 +0200
814+++ newlib-1.15.0/newlib/Makefile.am    2008-09-03 10:27:41.000000000 +0200
815@@ -81,7 +81,7 @@
816        libc.a
817 endif
818 
819-noinst_DATA = stmp-targ-include
820+BUILT_SOURCES = stmp-targ-include
821 
822 toollib_DATA = $(CRT0) $(CRT1)
823 
824@@ -186,9 +186,6 @@
825 
826 $(CRT1_DIR)$(CRT1): ; @true
827 
828-
829-all-recursive: stmp-targ-include
830-
831 # The targ-include directory just holds the includes files for the
832 # particular system and machine we have been configured for.  It is
833 # used while building.
834diff -Naur newlib-1.15.0.orig/newlib/Makefile.in newlib-1.15.0/newlib/Makefile.in
835--- newlib-1.15.0.orig/newlib/Makefile.in       2006-12-18 21:32:41.000000000 +0100
836+++ newlib-1.15.0/newlib/Makefile.in    2008-09-03 10:27:41.000000000 +0200
837@@ -103,7 +103,7 @@
838        pdf-recursive ps-recursive uninstall-info-recursive \
839        uninstall-recursive
840 toollibDATA_INSTALL = $(INSTALL_DATA)
841-DATA = $(noinst_DATA) $(toollib_DATA)
842+DATA = $(toollib_DATA)
843 ETAGS = etags
844 CTAGS = ctags
845 DEJATOOL = $(PACKAGE)
846@@ -205,12 +205,7 @@
847 USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
848 USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
849 VERSION = @VERSION@
850-ac_ct_AR = @ac_ct_AR@
851-ac_ct_AS = @ac_ct_AS@
852 ac_ct_CC = @ac_ct_CC@
853-ac_ct_RANLIB = @ac_ct_RANLIB@
854-ac_ct_READELF = @ac_ct_READELF@
855-ac_ct_STRIP = @ac_ct_STRIP@
856 aext = @aext@
857 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
858 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
859@@ -226,12 +221,16 @@
860 build_os = @build_os@
861 build_vendor = @build_vendor@
862 datadir = @datadir@
863+datarootdir = @datarootdir@
864+docdir = @docdir@
865+dvidir = @dvidir@
866 exec_prefix = @exec_prefix@
867 host = @host@
868 host_alias = @host_alias@
869 host_cpu = @host_cpu@
870 host_os = @host_os@
871 host_vendor = @host_vendor@
872+htmldir = @htmldir@
873 includedir = @includedir@
874 infodir = @infodir@
875 install_sh = @install_sh@
876@@ -240,6 +239,7 @@
877 libdir = @libdir@
878 libexecdir = @libexecdir@
879 libm_machine_dir = @libm_machine_dir@
880+localedir = @localedir@
881 localstatedir = @localstatedir@
882 lpfx = @lpfx@
883 machine_dir = @machine_dir@
884@@ -248,8 +248,10 @@
885 newlib_basedir = @newlib_basedir@
886 oext = @oext@
887 oldincludedir = @oldincludedir@
888+pdfdir = @pdfdir@
889 prefix = @prefix@
890 program_transform_name = @program_transform_name@
891+psdir = @psdir@
892 sbindir = @sbindir@
893 sharedstatedir = @sharedstatedir@
894 subdirs = @subdirs@
895@@ -323,7 +325,7 @@
896 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
897 @USE_LIBTOOL_FALSE@    libc.a
898 
899-noinst_DATA = stmp-targ-include
900+BUILT_SOURCES = stmp-targ-include
901 toollib_DATA = $(CRT0) $(CRT1)
902 
903 # The functions ldexp, frexp and modf are traditionally supplied in
904@@ -382,7 +384,7 @@
905 
906 # dejagnu support
907 RUNTESTFLAGS =
908-all: newlib.h
909+all: $(BUILT_SOURCES) newlib.h
910        $(MAKE) $(AM_MAKEFLAGS) all-recursive
911 
912 .SUFFIXES:
913@@ -687,14 +689,16 @@
914        done
915 check-am:
916        $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
917-check: check-recursive
918+check: $(BUILT_SOURCES)
919+       $(MAKE) $(AM_MAKEFLAGS) check-recursive
920 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
921 installdirs: installdirs-recursive
922 installdirs-am:
923        for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
924          test -z "$$dir" || $(mkdir_p) "$$dir"; \
925        done
926-install: install-recursive
927+install: $(BUILT_SOURCES)
928+       $(MAKE) $(AM_MAKEFLAGS) install-recursive
929 install-exec: install-exec-recursive
930 install-data: install-data-recursive
931 uninstall: uninstall-recursive
932@@ -719,6 +723,7 @@
933 maintainer-clean-generic:
934        @echo "This command is intended for maintainers to use"
935        @echo "it deletes files that may require special tools to rebuild."
936+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
937 clean: clean-recursive
938 
939 clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
940@@ -837,8 +842,6 @@
941 
942 $(CRT1_DIR)$(CRT1): ; @true
943 
944-all-recursive: stmp-targ-include
945-
946 # The targ-include directory just holds the includes files for the
947 # particular system and machine we have been configured for.  It is
948 # used while building.
Note: See TracBrowser for help on using the repository browser.