diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5b21f2b1b..7ef714c77 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2010-01-29 Jeff Johnston + + * libc/search/Makefile.am: Create .def files for bsearch and qsort. + * libc/search/Makefile.in: Regenerated. + * libc/stdlib/stdlib.tex: Add bsearch and qsort. + 2010-01-24 Corinna Vinschen * libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when using diff --git a/newlib/libc/search/Makefile.am b/newlib/libc/search/Makefile.am index 098be35ba..27726fd4c 100644 --- a/newlib/libc/search/Makefile.am +++ b/newlib/libc/search/Makefile.am @@ -47,7 +47,9 @@ endif # USE_LIBTOOL SUFFIXES = .def -CHEWOUT_FILES = +CHEWOUT_FILES = \ + bsearch.def \ + qsort.def CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str diff --git a/newlib/libc/search/Makefile.in b/newlib/libc/search/Makefile.in index ae8862d8d..e9354647b 100644 --- a/newlib/libc/search/Makefile.in +++ b/newlib/libc/search/Makefile.in @@ -277,7 +277,10 @@ libsearch_la_LDFLAGS = -Xcompiler -nostdlib @USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES) @USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS) SUFFIXES = .def -CHEWOUT_FILES = +CHEWOUT_FILES = \ + bsearch.def \ + qsort.def + CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str TARGETDOC = ../tmp.texi CLEANFILES = $(CHEWOUT_FILES) *.ref diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index b227d13e9..4f7bc59ae 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -14,6 +14,7 @@ The corresponding declarations are in the header file @file{stdlib.h}. * atof:: String to double or float * atoi:: String to integer * atoll:: String to long long +* bsearch:: Binary search * calloc:: Allocate space for arrays * div:: Divide two integers * ecvtbuf:: Double or float to string of digits @@ -34,6 +35,7 @@ The corresponding declarations are in the header file @file{stdlib.h}. * mblen:: Minimal multibyte length * mbtowc:: Minimal multibyte to wide character converter * on_exit:: Request execution of functions at program exit +* qsort:: Array sort * rand:: Pseudo-random numbers * rand48:: Uniformly distributed pseudo-random numbers * strtod:: String to double or float @@ -79,6 +81,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/atoll.def +@page +@include search/bsearch.def + @page @include stdlib/calloc.def @@ -136,6 +141,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/on_exit.def +@page +@include search/qsort.def + @page @include stdlib/rand.def