Changeset 2bf27202 in rtems
- Timestamp:
- 12/22/07 00:29:06 (15 years ago)
- Branches:
- 4.8
- Children:
- e9a9bdd
- Parents:
- 5881d06c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/crossrpms/patches/newlib-1.15.0-rtems4.8-20071221.diff
r5881d06c r2bf27202 1 1 diff -uNr newlib-1.15.0.orig/newlib/libc/include/inttypes.h newlib-1.15.0/newlib/libc/include/inttypes.h 2 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 2007-12-21 1 2:24:11.000000000 +01003 +++ newlib-1.15.0/newlib/libc/include/inttypes.h 2007-12-21 18:01:37.000000000 +0100 4 4 @@ -242,9 +242,12 @@ 5 5 #define SCNxMAX __SCNMAX(x) … … 20 20 diff -uNr newlib-1.15.0.orig/newlib/libc/include/machine/setjmp.h newlib-1.15.0/newlib/libc/include/machine/setjmp.h 21 21 --- newlib-1.15.0.orig/newlib/libc/include/machine/setjmp.h 2006-12-18 17:48:03.000000000 +0100 22 +++ newlib-1.15.0/newlib/libc/include/machine/setjmp.h 2007-12-21 1 2:24:11.000000000 +010022 +++ newlib-1.15.0/newlib/libc/include/machine/setjmp.h 2007-12-21 18:01:37.000000000 +0100 23 23 @@ -27,7 +27,7 @@ 24 24 … … 32 32 diff -uNr newlib-1.15.0.orig/newlib/libc/include/stdint.h newlib-1.15.0/newlib/libc/include/stdint.h 33 33 --- newlib-1.15.0.orig/newlib/libc/include/stdint.h 2006-08-16 23:39:43.000000000 +0200 34 +++ newlib-1.15.0/newlib/libc/include/stdint.h 2007-12-21 1 2:24:11.000000000 +010034 +++ newlib-1.15.0/newlib/libc/include/stdint.h 2007-12-21 18:01:37.000000000 +0100 35 35 @@ -393,6 +393,9 @@ 36 36 #define UINTMAX_C(x) x##UL … … 45 45 diff -uNr newlib-1.15.0.orig/newlib/libc/include/sys/errno.h newlib-1.15.0/newlib/libc/include/sys/errno.h 46 46 --- newlib-1.15.0.orig/newlib/libc/include/sys/errno.h 2002-09-24 16:10:12.000000000 +0200 47 +++ newlib-1.15.0/newlib/libc/include/sys/errno.h 2007-12-21 1 2:24:11.000000000 +010047 +++ newlib-1.15.0/newlib/libc/include/sys/errno.h 2007-12-21 18:01:37.000000000 +0100 48 48 @@ -148,6 +148,7 @@ 49 49 #define ECASECLASH 137 /* Filename exists with different case */ … … 56 56 diff -uNr newlib-1.15.0.orig/newlib/libc/include/sys/features.h newlib-1.15.0/newlib/libc/include/sys/features.h 57 57 --- newlib-1.15.0.orig/newlib/libc/include/sys/features.h 2006-09-14 00:09:27.000000000 +0200 58 +++ newlib-1.15.0/newlib/libc/include/sys/features.h 2007-12-21 1 2:24:11.000000000 +010058 +++ newlib-1.15.0/newlib/libc/include/sys/features.h 2007-12-21 18:01:37.000000000 +0100 59 59 @@ -38,6 +38,7 @@ 60 60 #define _POSIX_MEMLOCK_RANGE 1 … … 176 176 diff -uNr newlib-1.15.0.orig/newlib/libc/include/sys/time.h newlib-1.15.0/newlib/libc/include/sys/time.h 177 177 --- newlib-1.15.0.orig/newlib/libc/include/sys/time.h 2006-02-15 11:26:30.000000000 +0100 178 +++ newlib-1.15.0/newlib/libc/include/sys/time.h 2007-12-21 1 2:24:11.000000000 +0100178 +++ newlib-1.15.0/newlib/libc/include/sys/time.h 2007-12-21 18:01:37.000000000 +0100 179 179 @@ -70,7 +70,7 @@ 180 180 } while (0) … … 188 188 diff -uNr newlib-1.15.0.orig/newlib/libc/include/sys/_types.h newlib-1.15.0/newlib/libc/include/sys/_types.h 189 189 --- newlib-1.15.0.orig/newlib/libc/include/sys/_types.h 2004-06-11 22:37:09.000000000 +0200 190 +++ newlib-1.15.0/newlib/libc/include/sys/_types.h 2007-12-21 1 2:24:11.000000000 +0100190 +++ newlib-1.15.0/newlib/libc/include/sys/_types.h 2007-12-21 18:01:37.000000000 +0100 191 191 @@ -39,4 +39,7 @@ 192 192 /* Iconv descriptor type */ … … 199 199 diff -uNr newlib-1.15.0.orig/newlib/libc/include/sys/unistd.h newlib-1.15.0/newlib/libc/include/sys/unistd.h 200 200 --- newlib-1.15.0.orig/newlib/libc/include/sys/unistd.h 2006-11-07 16:33:40.000000000 +0100 201 +++ newlib-1.15.0/newlib/libc/include/sys/unistd.h 2007-12-21 1 2:24:11.000000000 +0100201 +++ newlib-1.15.0/newlib/libc/include/sys/unistd.h 2007-12-21 18:01:37.000000000 +0100 202 202 @@ -27,6 +27,9 @@ 203 203 int _EXFUN(chroot, (const char *__path )); … … 524 524 #endif 525 525 526 diff -uNr newlib-1.15.0.orig/newlib/libc/include/tar.h newlib-1.15.0/newlib/libc/include/tar.h 527 --- newlib-1.15.0.orig/newlib/libc/include/tar.h 1970-01-01 01:00:00.000000000 +0100 528 +++ newlib-1.15.0/newlib/libc/include/tar.h 2007-12-21 18:01:37.000000000 +0100 529 @@ -0,0 +1,39 @@ 530 +/* 531 + * tar.h 532 + */ 533 + 534 +#ifndef _TAR_H 535 +#define _TAR_H 536 + 537 +/* General definitions */ 538 +#define TMAGIC "ustar" /* ustar plus null byte. */ 539 +#define TMAGLEN 6 /* Length of the above. */ 540 +#define TVERSION "00" /* 00 without a null byte. */ 541 +#define TVERSLEN 2 /* Length of the above. */ 542 + 543 +/* Typeflag field definitions */ 544 +#define REGTYPE '0' /* Regular file. */ 545 +#define AREGTYPE '\0' /* Regular file. */ 546 +#define LNKTYPE '1' /* Link. */ 547 +#define SYMTYPE '2' /* Symbolic link. */ 548 +#define CHRTYPE '3' /* Character special. */ 549 +#define BLKTYPE '4' /* Block special. */ 550 +#define DIRTYPE '5' /* Directory. */ 551 +#define FIFOTYPE '6' /* FIFO special. */ 552 +#define CONTTYPE '7' /* Reserved. */ 553 + 554 +/* Mode field bit definitions (octal) */ 555 +#define TSUID 04000 /* Set UID on execution. */ 556 +#define TSGID 02000 /* Set GID on execution. */ 557 +#define TSVTX 01000 /* On directories, restricted deletion flag. */ 558 +#define TUREAD 00400 /* Read by owner. */ 559 +#define TUWRITE 00200 /* Write by owner. */ 560 +#define TUEXEC 00100 /* Execute/search by owner. */ 561 +#define TGREAD 00040 /* Read by group. */ 562 +#define TGWRITE 00020 /* Write by group. */ 563 +#define TGEXEC 00010 /* Execute/search by group. */ 564 +#define TOREAD 00004 /* Read by other. */ 565 +#define TOWRITE 00002 /* Write by other. */ 566 +#define TOEXEC 00001 /* Execute/search by other. */ 567 + 568 +#endif 526 569 diff -uNr newlib-1.15.0.orig/newlib/libc/include/time.h newlib-1.15.0/newlib/libc/include/time.h 527 570 --- newlib-1.15.0.orig/newlib/libc/include/time.h 2005-11-18 16:57:24.000000000 +0100 528 +++ newlib-1.15.0/newlib/libc/include/time.h 2007-12-21 1 2:24:11.000000000 +0100571 +++ newlib-1.15.0/newlib/libc/include/time.h 2007-12-21 18:01:37.000000000 +0100 529 572 @@ -226,6 +226,16 @@ 530 573 … … 544 587 545 588 /* Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55 */ 589 diff -uNr newlib-1.15.0.orig/newlib/libc/machine/arm/machine/endian.h newlib-1.15.0/newlib/libc/machine/arm/machine/endian.h 590 --- newlib-1.15.0.orig/newlib/libc/machine/arm/machine/endian.h 2004-05-07 22:29:24.000000000 +0200 591 +++ newlib-1.15.0/newlib/libc/machine/arm/machine/endian.h 1970-01-01 01:00:00.000000000 +0100 592 @@ -1,12 +0,0 @@ 593 -/* ARM configuration file */ 594 - 595 -#ifndef _MACHINE_ENDIAN_H 596 -# define _MACHINE_ENDIAN_H 597 - 598 -#ifdef __ARMEB__ 599 -#define BYTE_ORDER BIG_ENDIAN 600 -#else 601 -#define BYTE_ORDER LITTLE_ENDIAN 602 -#endif 603 - 604 -#endif 546 605 diff -uNr newlib-1.15.0.orig/newlib/libc/machine/powerpc/setjmp.S newlib-1.15.0/newlib/libc/machine/powerpc/setjmp.S 547 606 --- newlib-1.15.0.orig/newlib/libc/machine/powerpc/setjmp.S 2002-04-19 21:16:17.000000000 +0200 548 +++ newlib-1.15.0/newlib/libc/machine/powerpc/setjmp.S 2007-12-21 1 2:24:11.000000000 +0100607 +++ newlib-1.15.0/newlib/libc/machine/powerpc/setjmp.S 2007-12-21 18:01:37.000000000 +0100 549 608 @@ -5,13 +5,14 @@ 550 609 #include "ppc-asm.h" … … 680 739 diff -uNr newlib-1.15.0.orig/newlib/libc/search/db_local.h newlib-1.15.0/newlib/libc/search/db_local.h 681 740 --- newlib-1.15.0.orig/newlib/libc/search/db_local.h 2002-06-25 01:05:08.000000000 +0200 682 +++ newlib-1.15.0/newlib/libc/search/db_local.h 2007-12-21 1 2:24:11.000000000 +0100741 +++ newlib-1.15.0/newlib/libc/search/db_local.h 2007-12-21 18:01:37.000000000 +0100 683 742 @@ -50,7 +50,7 @@ 684 743 #define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */ … … 707 766 diff -uNr newlib-1.15.0.orig/newlib/libc/search/extern.h newlib-1.15.0/newlib/libc/search/extern.h 708 767 --- newlib-1.15.0.orig/newlib/libc/search/extern.h 2002-06-20 21:51:31.000000000 +0200 709 +++ newlib-1.15.0/newlib/libc/search/extern.h 2007-12-21 1 2:24:11.000000000 +0100768 +++ newlib-1.15.0/newlib/libc/search/extern.h 2007-12-21 18:01:37.000000000 +0100 710 769 @@ -48,7 +48,7 @@ 711 770 int __delpair(HTAB *, BUFHEAD *, int); … … 719 778 diff -uNr newlib-1.15.0.orig/newlib/libc/search/hash_bigkey.c newlib-1.15.0/newlib/libc/search/hash_bigkey.c 720 779 --- newlib-1.15.0.orig/newlib/libc/search/hash_bigkey.c 2006-06-07 21:22:59.000000000 +0200 721 +++ newlib-1.15.0/newlib/libc/search/hash_bigkey.c 2007-12-21 1 2:24:11.000000000 +0100780 +++ newlib-1.15.0/newlib/libc/search/hash_bigkey.c 2007-12-21 18:01:37.000000000 +0100 722 781 @@ -92,13 +92,13 @@ 723 782 BUFHEAD *bufp; … … 972 1031 diff -uNr newlib-1.15.0.orig/newlib/libc/search/hash_buf.c newlib-1.15.0/newlib/libc/search/hash_buf.c 973 1032 --- newlib-1.15.0.orig/newlib/libc/search/hash_buf.c 2004-05-26 19:57:10.000000000 +0200 974 +++ newlib-1.15.0/newlib/libc/search/hash_buf.c 2007-12-21 1 2:24:11.000000000 +01001033 +++ newlib-1.15.0/newlib/libc/search/hash_buf.c 2007-12-21 18:01:37.000000000 +0100 975 1034 @@ -176,7 +176,7 @@ 976 1035 BUFHEAD *next_xbp; … … 1002 1061 diff -uNr newlib-1.15.0.orig/newlib/libc/search/hash.c newlib-1.15.0/newlib/libc/search/hash.c 1003 1062 --- newlib-1.15.0.orig/newlib/libc/search/hash.c 2004-05-26 19:57:10.000000000 +0200 1004 +++ newlib-1.15.0/newlib/libc/search/hash.c 2007-12-21 1 2:24:11.000000000 +01001063 +++ newlib-1.15.0/newlib/libc/search/hash.c 2007-12-21 18:01:37.000000000 +0100 1005 1064 @@ -628,10 +628,10 @@ 1006 1065 { … … 1090 1149 diff -uNr newlib-1.15.0.orig/newlib/libc/search/hash.h newlib-1.15.0/newlib/libc/search/hash.h 1091 1150 --- newlib-1.15.0.orig/newlib/libc/search/hash.h 2002-07-02 20:18:58.000000000 +0200 1092 +++ newlib-1.15.0/newlib/libc/search/hash.h 2007-12-21 1 2:24:11.000000000 +01001151 +++ newlib-1.15.0/newlib/libc/search/hash.h 2007-12-21 18:01:37.000000000 +0100 1093 1152 @@ -102,7 +102,7 @@ 1094 1153 #define NCACHED 32 /* number of bit maps and spare … … 1102 1161 diff -uNr newlib-1.15.0.orig/newlib/libc/search/hash_page.c newlib-1.15.0/newlib/libc/search/hash_page.c 1103 1162 --- newlib-1.15.0.orig/newlib/libc/search/hash_page.c 2002-09-19 23:28:51.000000000 +0200 1104 +++ newlib-1.15.0/newlib/libc/search/hash_page.c 2007-12-21 1 2:24:11.000000000 +01001163 +++ newlib-1.15.0/newlib/libc/search/hash_page.c 2007-12-21 18:01:37.000000000 +0100 1105 1164 @@ -77,16 +77,16 @@ 1106 1165 static __uint32_t *fetch_bitmap(HTAB *, int); … … 1449 1508 diff -uNr newlib-1.15.0.orig/newlib/libc/search/page.h newlib-1.15.0/newlib/libc/search/page.h 1450 1509 --- newlib-1.15.0.orig/newlib/libc/search/page.h 2002-06-20 21:51:31.000000000 +0200 1451 +++ newlib-1.15.0/newlib/libc/search/page.h 2007-12-21 1 2:24:11.000000000 +01001510 +++ newlib-1.15.0/newlib/libc/search/page.h 2007-12-21 18:01:37.000000000 +0100 1452 1511 @@ -74,20 +74,20 @@ 1453 1512 * You might as well do this up front. … … 1477 1536 + __uint_least16_t next_addr; 1478 1537 } SPLIT_RETURN; 1538 diff -uNr newlib-1.15.0.orig/newlib/libc/sys/rtems/machine/stdint.h newlib-1.15.0/newlib/libc/sys/rtems/machine/stdint.h 1539 --- newlib-1.15.0.orig/newlib/libc/sys/rtems/machine/stdint.h 1970-01-01 01:00:00.000000000 +0100 1540 +++ newlib-1.15.0/newlib/libc/sys/rtems/machine/stdint.h 2007-12-21 18:01:37.000000000 +0100 1541 @@ -0,0 +1,31 @@ 1542 +/* 1543 + * 1544 + */ 1545 +#ifndef _MACHINE_STDINT_H 1546 +#define _MACHINE_STDINT_H 1547 + 1548 +#ifndef _STDINT_H 1549 +#error machine/stdint.h is an internal file and must not be directly included 1550 +#endif 1551 + 1552 +#if defined(__sparc__) \ 1553 + || defined(__powerpc__) || defined(__PPC__) \ 1554 + || defined(__mips__) \ 1555 + || defined(__sh__) \ 1556 + || defined(__AVR__) \ 1557 + || defined(_C4x) || defined(_C3x) \ 1558 + || defined(__H8300__) 1559 +/* PTRDIFF_TYPE = int */ 1560 +#define __ptrint_t_int_defined 1 1561 +#endif 1562 + 1563 +#if defined(__i386__) \ 1564 + || defined(__m68k__) \ 1565 + || defined(__bfin__) \ 1566 + || defined(__arm__) \ 1567 + || defined(__H8300S__) || defined(__H8300H__) 1568 +/* PTRDIFF_TYPE = long */ 1569 +#define __ptrint_t_long_defined 1 1570 +#endif 1571 + 1572 +#endif 1479 1573 diff -uNr newlib-1.15.0.orig/newlib/libc/sys/rtems/sys/param.h newlib-1.15.0/newlib/libc/sys/rtems/sys/param.h 1480 1574 --- newlib-1.15.0.orig/newlib/libc/sys/rtems/sys/param.h 2004-05-07 22:29:24.000000000 +0200 1481 +++ newlib-1.15.0/newlib/libc/sys/rtems/sys/param.h 2007-12-21 1 2:24:11.000000000 +01001575 +++ newlib-1.15.0/newlib/libc/sys/rtems/sys/param.h 2007-12-21 18:01:37.000000000 +0100 1482 1576 @@ -93,7 +93,6 @@ 1483 1577 #include <sys/resource.h> … … 1490 1584 diff -uNr newlib-1.15.0.orig/newlib/Makefile.am newlib-1.15.0/newlib/Makefile.am 1491 1585 --- newlib-1.15.0.orig/newlib/Makefile.am 2006-06-05 19:42:57.000000000 +0200 1492 +++ newlib-1.15.0/newlib/Makefile.am 2007-12-21 1 2:24:11.000000000 +01001586 +++ newlib-1.15.0/newlib/Makefile.am 2007-12-21 18:01:37.000000000 +0100 1493 1587 @@ -81,7 +81,7 @@ 1494 1588 libc.a … … 1512 1606 diff -uNr newlib-1.15.0.orig/newlib/Makefile.in newlib-1.15.0/newlib/Makefile.in 1513 1607 --- newlib-1.15.0.orig/newlib/Makefile.in 2006-12-18 21:32:41.000000000 +0100 1514 +++ newlib-1.15.0/newlib/Makefile.in 2007-12-21 1 2:24:11.000000000 +01001608 +++ newlib-1.15.0/newlib/Makefile.in 2007-12-21 18:01:37.000000000 +0100 1515 1609 @@ -103,7 +103,7 @@ 1516 1610 pdf-recursive ps-recursive uninstall-info-recursive \
Note: See TracChangeset
for help on using the changeset viewer.