source:
rtems/contrib/crossrpms/patches/newlib-1.16.0.cvs.20081124-rtems4.10-20081124.diff
@
ecf1de97
Last change on this file since ecf1de97 was ecf1de97, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/24/08 at 08:18:34 | |
---|---|
|
|
File size: 13.4 KB |
-
newlib/acinclude.m4
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/acinclude.m4 newlib-1.16.0/newlib/acinclude.m4
old new 2 2 dnl configure.in files. 3 3 4 4 AC_DEFUN([DEF_NEWLIB_VERSION], 5 m4_define([NEWLIB_VERSION],[1.1 6.0]))5 m4_define([NEWLIB_VERSION],[1.17.0])) 6 6 7 7 dnl Basic newlib configury. This calls basic introductory stuff, 8 8 dnl including AM_INIT_AUTOMAKE and AC_CANONICAL_HOST. It also runs -
newlib/configure
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/configure newlib-1.16.0/newlib/configure
old new 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for newlib 1.1 6.0.3 # Generated by GNU Autoconf 2.59 for newlib 1.17.0. 4 4 # 5 5 # Copyright (C) 2003 Free Software Foundation, Inc. 6 6 # This configure script is free software; the Free Software Foundation … … 416 416 # Identity of this package. 417 417 PACKAGE_NAME='newlib' 418 418 PACKAGE_TARNAME='newlib' 419 PACKAGE_VERSION='1.1 6.0'420 PACKAGE_STRING='newlib 1.1 6.0'419 PACKAGE_VERSION='1.17.0' 420 PACKAGE_STRING='newlib 1.17.0' 421 421 PACKAGE_BUGREPORT='' 422 422 423 423 ac_unique_file="libc" … … 939 939 # Omit some internal or obsolete options to make the list less imposing. 940 940 # This message is too long to be a string in the A/UX 3.1 sh. 941 941 cat <<_ACEOF 942 \`configure' configures newlib 1.1 6.0 to adapt to many kinds of systems.942 \`configure' configures newlib 1.17.0 to adapt to many kinds of systems. 943 943 944 944 Usage: $0 [OPTION]... [VAR=VALUE]... 945 945 … … 1005 1005 1006 1006 if test -n "$ac_init_help"; then 1007 1007 case $ac_init_help in 1008 short | recursive ) echo "Configuration of newlib 1.1 6.0:";;1008 short | recursive ) echo "Configuration of newlib 1.17.0:";; 1009 1009 esac 1010 1010 cat <<\_ACEOF 1011 1011 … … 1160 1160 test -n "$ac_init_help" && exit 0 1161 1161 if $ac_init_version; then 1162 1162 cat <<\_ACEOF 1163 newlib configure 1.1 6.01163 newlib configure 1.17.0 1164 1164 generated by GNU Autoconf 2.59 1165 1165 1166 1166 Copyright (C) 2003 Free Software Foundation, Inc. … … 1174 1174 This file contains any messages produced by compilers while 1175 1175 running configure, to aid debugging if configure makes a mistake. 1176 1176 1177 It was created by newlib $as_me 1.1 6.0, which was1177 It was created by newlib $as_me 1.17.0, which was 1178 1178 generated by GNU Autoconf 2.59. Invocation command line was 1179 1179 1180 1180 $ $0 $@ … … 2225 2225 2226 2226 # Define the identity of the package. 2227 2227 PACKAGE='newlib' 2228 VERSION='1.1 6.0'2228 VERSION='1.17.0' 2229 2229 2230 2230 2231 2231 # Some tools Automake needs. … … 11744 11744 fi 11745 11745 11746 11746 cat >>confdefs.h <<_ACEOF 11747 #define _NEWLIB_VERSION "1.1 6.0"11747 #define _NEWLIB_VERSION "1.17.0" 11748 11748 _ACEOF 11749 11749 11750 11750 … … 12390 12390 } >&5 12391 12391 cat >&5 <<_CSEOF 12392 12392 12393 This file was extended by newlib $as_me 1.1 6.0, which was12393 This file was extended by newlib $as_me 1.17.0, which was 12394 12394 generated by GNU Autoconf 2.59. Invocation command line was 12395 12395 12396 12396 CONFIG_FILES = $CONFIG_FILES … … 12453 12453 12454 12454 cat >>$CONFIG_STATUS <<_ACEOF 12455 12455 ac_cs_version="\\ 12456 newlib config.status 1.1 6.012456 newlib config.status 1.17.0 12457 12457 configured by $0, generated by GNU Autoconf 2.59, 12458 12458 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 12459 12459 -
newlib/configure.host
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/configure.host newlib-1.16.0/newlib/configure.host
old new 341 341 *-*-rtems*) # generic RTEMS support 342 342 sys_dir=rtems 343 343 posix_dir=posix 344 unix_dir=unix 344 345 ;; 345 346 a29k-*-*) 346 347 sys_dir=a29khif … … 532 533 # NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. 533 534 *-*-rtems*) 534 535 default_newlib_io_long_long="yes" 536 default_newlib_io_c99_formats="yes" 535 537 newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL" 538 # turn off items in posix directory 539 newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET" 536 540 ;; 537 541 # VxWorks supplies its own version of malloc, and the newlib one 538 542 # doesn't work because VxWorks does not have sbrk. -
newlib/libc/include/inttypes.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/inttypes.h newlib-1.16.0/newlib/libc/include/inttypes.h
old new 242 242 #define SCNxMAX __SCNMAX(x) 243 243 244 244 /* ptr types */ 245 #if __have_longlong64 246 #define __PRIPTR(x) __STRINGIFY(ll##x) 247 #define __SCNPTR(x) __STRINGIFY(ll##x) 245 #if __ptrint_t_long_defined 246 #define __PRIPTR(x) __STRINGIFY(l##x) 247 #define __SCNPTR(x) __STRINGIFY(l##x) 248 #elif __ptrint_t_int_defined 249 #define __PRIPTR(x) __STRINGIFY(x) 250 #define __SCNPTR(x) __STRINGIFY(x) 248 251 #elif __have_long64 249 252 #define __PRIPTR(x) __STRINGIFY(l##x) 250 253 #define __SCNPTR(x) __STRINGIFY(l##x) -
newlib/libc/include/machine/ieeefp.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/machine/ieeefp.h newlib-1.16.0/newlib/libc/include/machine/ieeefp.h
old new 62 62 # define __IEEE_BIG_ENDIAN 63 63 # endif 64 64 #else 65 # define __IEEE_BIG_ENDIAN66 65 # ifdef __ARMEL__ 66 # define __IEEE_LITTLE_ENDIAN 67 # else 68 # define __IEEE_BIG_ENDIAN 69 # endif 70 # ifdef __ARMWEL__ 67 71 # define __IEEE_BYTES_LITTLE_ENDIAN 68 72 # endif 69 73 #endif -
newlib/libc/include/machine/setjmp.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/machine/setjmp.h newlib-1.16.0/newlib/libc/include/machine/setjmp.h
old new 27 27 28 28 /* necv70 was 9 as well. */ 29 29 30 #if def __mc68000__30 #if defined(__m68k__) || defined(__mc68000__) 31 31 /* 32 32 * onsstack,sigmask,sp,pc,psl,d2-d7,a2-a6, 33 33 * fp2-fp7 for 68881. -
newlib/libc/include/stdint.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/stdint.h newlib-1.16.0/newlib/libc/include/stdint.h
old new 392 392 #define UINTMAX_C(x) x##UL 393 393 #endif 394 394 395 #ifdef __rtems__ 396 #include <machine/stdint.h> 397 #endif 395 398 396 399 #ifdef __cplusplus 397 400 } -
newlib/libc/include/sys/features.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/sys/features.h newlib-1.16.0/newlib/libc/include/sys/features.h
old new 38 38 #define _POSIX_MEMLOCK_RANGE 1 39 39 #define _POSIX_MEMORY_PROTECTION 1 40 40 #define _POSIX_MESSAGE_PASSING 1 41 #define _POSIX_MONOTONIC_CLOCK 141 #define _POSIX_MONOTONIC_CLOCK 200112L 42 42 #define _POSIX_PRIORITIZED_IO 1 43 43 #define _POSIX_PRIORITY_SCHEDULING 1 44 44 #define _POSIX_REALTIME_SIGNALS 1 45 45 #define _POSIX_SEMAPHORES 1 46 #define _POSIX_SHARED_MEMORY_OBJECTS 1 46 /* #define _POSIX_SHARED_MEMORY_OBJECTS 1 */ 47 47 #define _POSIX_SYNCHRONIZED_IO 1 48 48 #define _POSIX_TIMERS 1 49 49 #define _POSIX_BARRIERS 200112L -
newlib/libc/include/sys/_types.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/include/sys/_types.h newlib-1.16.0/newlib/libc/include/sys/_types.h
old new 84 84 typedef void *_iconv_t; 85 85 #endif 86 86 87 typedef long * __intptr_t; 88 typedef unsigned long* __uintptr_t; 89 87 90 #endif /* _SYS__TYPES_H */ -
newlib/libc/machine/arm/machine/endian.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/machine/arm/machine/endian.h newlib-1.16.0/newlib/libc/machine/arm/machine/endian.h
old new 1 /* ARM configuration file */2 3 #ifndef _MACHINE_ENDIAN_H4 # define _MACHINE_ENDIAN_H5 6 #ifdef __ARMEB__7 #define BYTE_ORDER BIG_ENDIAN8 #else9 #define BYTE_ORDER LITTLE_ENDIAN10 #endif11 12 #endif -
newlib/libc/sys/rtems/crt0.c
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/sys/rtems/crt0.c newlib-1.16.0/newlib/libc/sys/rtems/crt0.c
old new 77 77 _malloc_r() {} 78 78 _free_r() {} 79 79 80 /* stub for libc/posix/readdir.c libc/posix/readdir_r.c */ 81 int getdents(int fd, void *dp, int count) { return -1; } 82 80 83 /* gcc can implicitly generate references to these */ 81 84 /* strcmp() {} */ 82 85 /* strcpy() {} */ -
newlib/libc/sys/rtems/machine/stdint.h
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/sys/rtems/machine/stdint.h newlib-1.16.0/newlib/libc/sys/rtems/machine/stdint.h
old new 1 /* 2 * 3 */ 4 #ifndef _MACHINE_STDINT_H 5 #define _MACHINE_STDINT_H 6 7 #ifndef _STDINT_H 8 #error machine/stdint.h is an internal file and must not be directly included 9 #endif 10 11 #ifndef __rtems__ 12 #error machine/stdint.h is an RTEMS specific internal file and must not be used otherwise 13 #endif 14 15 #if defined(__sparc__) \ 16 || defined(__powerpc__) || defined(__PPC__) \ 17 || defined(__mips__) \ 18 || defined(__sh__) \ 19 || defined(__AVR__) \ 20 || defined(_C4x) || defined(_C3x) \ 21 || defined(__H8300__) 22 /* PTRDIFF_TYPE = int */ 23 #define __ptrint_t_int_defined 1 24 #endif 25 26 #if defined(__i386__) \ 27 || defined(__m68k__) \ 28 || defined(__bfin__) \ 29 || defined(__arm__) \ 30 || defined(__H8300S__) || defined(__H8300H__) 31 /* PTRDIFF_TYPE = long */ 32 #define __ptrint_t_long_defined 1 33 #endif 34 35 #endif -
newlib/Makefile.am
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/Makefile.am newlib-1.16.0/newlib/Makefile.am
old new 81 81 libc.a 82 82 endif 83 83 84 noinst_DATA= stmp-targ-include84 BUILT_SOURCES = stmp-targ-include 85 85 86 86 toollib_DATA = $(CRT0) $(CRT1) 87 87 … … 186 186 187 187 $(CRT1_DIR)$(CRT1): ; @true 188 188 189 190 all-recursive: stmp-targ-include191 192 189 # The targ-include directory just holds the includes files for the 193 190 # particular system and machine we have been configured for. It is 194 191 # used while building. -
newlib/Makefile.in
diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/Makefile.in newlib-1.16.0/newlib/Makefile.in
old new 106 106 pdf-recursive ps-recursive uninstall-info-recursive \ 107 107 uninstall-recursive 108 108 toollibDATA_INSTALL = $(INSTALL_DATA) 109 DATA = $( noinst_DATA) $(toollib_DATA)109 DATA = $(toollib_DATA) 110 110 ETAGS = etags 111 111 CTAGS = ctags 112 112 DEJATOOL = $(PACKAGE) … … 350 350 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \ 351 351 @USE_LIBTOOL_FALSE@ libc.a 352 352 353 noinst_DATA= stmp-targ-include353 BUILT_SOURCES = stmp-targ-include 354 354 toollib_DATA = $(CRT0) $(CRT1) 355 355 356 356 # The functions ldexp, frexp and modf are traditionally supplied in … … 409 409 410 410 # dejagnu support 411 411 RUNTESTFLAGS = 412 all: newlib.h412 all: $(BUILT_SOURCES) newlib.h 413 413 $(MAKE) $(AM_MAKEFLAGS) all-recursive 414 414 415 415 .SUFFIXES: … … 714 714 done 715 715 check-am: 716 716 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU 717 check: check-recursive 717 check: $(BUILT_SOURCES) 718 $(MAKE) $(AM_MAKEFLAGS) check-recursive 718 719 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h 719 720 installdirs: installdirs-recursive 720 721 installdirs-am: 721 722 for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \ 722 723 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 723 724 done 724 install: install-recursive 725 install: $(BUILT_SOURCES) 726 $(MAKE) $(AM_MAKEFLAGS) install-recursive 725 727 install-exec: install-exec-recursive 726 728 install-data: install-data-recursive 727 729 uninstall: uninstall-recursive … … 746 748 maintainer-clean-generic: 747 749 @echo "This command is intended for maintainers to use" 748 750 @echo "it deletes files that may require special tools to rebuild." 751 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 749 752 clean: clean-recursive 750 753 751 754 clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \ … … 864 867 865 868 $(CRT1_DIR)$(CRT1): ; @true 866 869 867 all-recursive: stmp-targ-include868 869 870 # The targ-include directory just holds the includes files for the 870 871 # particular system and machine we have been configured for. It is 871 872 # used while building.
Note: See TracBrowser
for help on using the repository browser.