1 2002-08-12 Erik Andersen <andersen@dillweed>
3 * /var/cvs/uClibc/extra/gcc-uClibc/gcc-uClibc.c:
4 Fix the gcc wrapper to include crtbeginS.o and crtendS.o when we are compiling
5 PIC code, and use crtbegin.o and crtend.o when compiling non-pic code. As was
6 caused problems, esp on powerpc...
9 * /var/cvs/uClibc/test/Makefile: Test threads when appropriate
11 * /var/cvs/uClibc/libc/misc/pthread/weaks.c, /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c:
12 Fix use of __pthread_once, and fix rpc usage of thread local
16 * /var/cvs/uClibc/ldso/ldso/arm/resolve.S:
17 Fix alignment, minor cosmetic changes
20 2002-08-12 Manuel Novoa III <mjn3@dillweed>
22 * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h, /var/cvs/uClibc/libc/string/wstring.c, /var/cvs/uClibc/libc/stdlib/stdlib.c, /var/cvs/uClibc/libc/stdio/printf.c, /var/cvs/uClibc/libc/stdio/stdio.c, /var/cvs/uClibc/libc/misc/wchar/wchar.c, /var/cvs/uClibc/libc/misc/time/time.c:
23 Revert commit by davidm to printf.c that initialized conv_num
24 needlessly. To do so increases the generated code size with bcc.
25 Eliminate duplicate define warnings in wstring.c.
26 Fix potentially broken preprocessor comparisons. The preprocessor
27 converts integers to maximal signed type, so inequality comparisons
28 involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX
29 were potentially broken.
31 2002-08-12 Erik Andersen <andersen@dillweed>
33 * /var/cvs/uClibc/libc/stdlib/atexit.c:
34 Geez I'm an idiot some times. I shouldn't code when I'm exhausted.
35 I _totally_ screwed up the locking on exit and atexit such that it
36 didn't do any good at all.
39 2002-08-11 Erik Andersen <andersen@dillweed>
41 * /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c, /var/cvs/uClibc/libpthread/linuxthreads/mutex.c:
42 Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonder
43 if this is serious enough to warrent 0.9.14?
46 2002-08-09 ds <ds@dillweed>
48 * /var/cvs/uClibc/debian/README.Debian, /var/cvs/uClibc/debian/changelog, /var/cvs/uClibc/debian/docs, /var/cvs/uClibc/debian/mksnapshot, /var/cvs/uClibc/debian/rules:
49 update to last Debian upload. Dumbass Debian maintainer forgets to check
52 * /var/cvs/uClibc/debian/README.Debian, /var/cvs/uClibc/debian/changelog, /var/cvs/uClibc/debian/docs, /var/cvs/uClibc/debian/mksnapshot:
53 fix mksnapshot and update documentation.
55 2002-08-09 Erik Andersen <andersen@dillweed>
57 * /var/cvs/uClibc/docs/uclibc.org/uClibc-apps.html: Fix spacing
59 * /var/cvs/uClibc/docs/uclibc.org/index.html: spacing
61 * /var/cvs/uClibc/docs/uclibc.org/index.html, /var/cvs/uClibc/docs/uclibc.org/old-news.html:
62 Move old stuff into old-news
64 * /var/cvs/uClibc/libc/stdlib/atexit.c:
65 Add missing thread-safe locking.
68 * /var/cvs/uClibc/TODO: update todo again
70 * /var/cvs/uClibc/docs/uclibc.org/index.html:
71 Update webpage for release
73 * /var/cvs/uClibc/Changelog.full, /var/cvs/uClibc/Changelog:
74 Update Changelog for release
77 2002-08-09 Manuel Novoa III <mjn3@dillweed>
79 * /var/cvs/uClibc/TODO:
80 Update my TODO list. In particular, breakdown what I'll be working on
81 in the next two months.
83 2002-08-09 Erik Andersen <andersen@dillweed>
85 * /var/cvs/uClibc/TODO: Update todo list a bit
87 * /var/cvs/uClibc/ldso/ldso/arm/ld_sysdep.h:
88 Ok, bad idea. didn't work.
91 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile:
92 Add in __uClibc_syscall
94 * /var/cvs/uClibc/libc/sysdeps/linux/mips/__uClibc_syscall.S:
95 Initial piece of unified syscall support from Brecis Communications
97 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/fork.S:
98 New and improved fork for mips, thanks to the fine folks
99 at Brecis Communications.
101 2002-08-09 davidm <davidm@dillweed>
103 * /var/cvs/uClibc/include/stdio.h:
104 Fix some more warnings for non-thread-enabled compiles.
106 2002-08-09 Erik Andersen <andersen@dillweed>
108 * /var/cvs/uClibc/ldso/ldso/sparc/DEFS.h, /var/cvs/uClibc/ldso/ldso/sparc/ld_sysdep.h, /var/cvs/uClibc/ldso/ldso/sparc/sdiv.S, /var/cvs/uClibc/ldso/ldso/sparc/udiv.S, /var/cvs/uClibc/ldso/ldso/sparc/umul.S, /var/cvs/uClibc/ldso/ldso/sparc/urem.S, /var/cvs/uClibc/ldso/ldso/sh/ld_sysdep.h, /var/cvs/uClibc/ldso/ldso/arm/ld_sysdep.h, /var/cvs/uClibc/ldso/ldso/Makefile:
109 Link ldso vs libgcc.a and eliminate baggage caused by
110 not previously linking vs libgcc
113 2002-08-09 davidm <davidm@dillweed>
115 * /var/cvs/uClibc/libm/e_asin.c, /var/cvs/uClibc/libm/e_exp.c, /var/cvs/uClibc/libm/e_rem_pio2.c, /var/cvs/uClibc/libm/s_expm1.c, /var/cvs/uClibc/libc/sysdeps/linux/sh/longjmp.c, /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c, /var/cvs/uClibc/libc/stdio/printf.c, /var/cvs/uClibc/include/features.h:
116 Fix a number of compile time warnings so that uClibc will build with -Werror using
117 a 3.0.4 version of the sh-linux-gcc compiler.
119 * /var/cvs/uClibc/libc/sysdeps/linux/common/pread_write.c:
120 pread and pwrite were broken in several ways:
122 * pwrite was using the write system call.
124 * SYSCALL_INLINE was only defined for pread and reused by pwrite
125 meaning pwrite did a pread :-).
127 * The kernel pread/pwrite interfaces always take a 64bit value. So
128 the libc versions must do the LONG_LONG_PAIR stuff otherwise the
129 pread/pwrite calls will not work.
131 These guys are working now for SH at least (and I can format my
134 * /var/cvs/uClibc/libc/sysdeps/linux/common/initfini.c:
135 At some stage I was getting conflicts on the SH platform with
136 the two i_am_not_a_leaf functions, changing the name of one is harmless
137 and fixed the problem at the time. Not entirely sure it's still required.
139 * /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c:
140 Changes so that this file builds if we are not using threads.
142 2002-08-09 Erik Andersen <andersen@dillweed>
144 * /var/cvs/uClibc/libc/Makefile: Be more path independent
146 * /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/syscalls.h:
147 Doh! I broke it. oops. Patch from Stefan Allius to fix it.
149 * /var/cvs/uClibc/ldso/ldso/arm/ld_syscalls.h, /var/cvs/uClibc/ldso/ldso/i386/ld_syscalls.h, /var/cvs/uClibc/ldso/ldso/mips/ld_syscalls.h, /var/cvs/uClibc/ldso/ldso/sh/ld_syscalls.h:
150 Patch from Stefan Allius, avoid compiler warnings (unused variable)
152 * /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/syscalls.h:
153 Cleanup error returns to avoid warnings
156 * /var/cvs/uClibc/ldso/util/bswap.h:
157 Patch from Stefan Allius to remove obsolete printfs
159 * /var/cvs/uClibc/ldso/ldso/hash.c:
160 Disable this code for mips, which does things quite differently...
163 * /var/cvs/uClibc/ldso/ldso/ld_syscall.h:
164 Fix a stupid typo messing up powerpc support
167 2002-08-08 Erik Andersen <andersen@dillweed>
169 * /var/cvs/uClibc/ldso/libdl/dlib.c:
170 For some perverse reason we were not registering destructors
171 for dlopen'd libraries. This fixes that.
174 2002-08-08 Manuel Novoa III <mjn3@dillweed>
176 * /var/cvs/uClibc/docs/uclibc.org/FAQ.html:
177 Add an entry regarding localtime(), TZ, and timezone support.
179 2002-08-08 Erik Andersen <andersen@dillweed>
181 * /var/cvs/uClibc/libc/inet/rpc/ruserpass.c: Oops. missed a spot.
184 * /var/cvs/uClibc/ldso/ldso/powerpc/ld_syscalls.h:
185 Make powerpc compile once again
188 * /var/cvs/uClibc/docs/uclibc.org/FAQ.html: Update the FAQ
190 * /var/cvs/uClibc/Rules.mak: Bump version to 0.9.13
192 * /var/cvs/uClibc/ldso/libdl/dlib.c: Move destructor attribute tag
194 * /var/cvs/uClibc/libc/misc/internals/__uClibc_main.c:
195 Shuffle things around a bit. Looks a little cleaner.
198 * /var/cvs/uClibc/test/ldso/Makefile, /var/cvs/uClibc/test/ldso/howdy.c:
199 Add a simple test for shared lib ctor/dtors
202 * /var/cvs/uClibc/libpthread/linuxthreads/errno.c, /var/cvs/uClibc/libpthread/linuxthreads/pthread.c:
203 Patch from Stefan Allius and Edie C. Dost:
204 In linuxthreads/errno.h the functions __errno_location and
205 __h_errno_location wasn't safe against calling before the
206 library is initialized.
208 * /var/cvs/uClibc/ldso/libdl/dlib.c: Missed a spot
211 * /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/sh/crt0.S, /var/cvs/uClibc/libc/sysdeps/linux/sh/crti.S, /var/cvs/uClibc/libc/sysdeps/linux/sh/crtn.S:
212 I reworked syscalls.h to match how I'm doing other arches. Stefan Allius and
213 Edie C. Dost has some concerns about the perl script used to general crti.o and
214 crtn.o and added their own versions. These versions will win since they are
217 * /var/cvs/uClibc/libpthread/pthread.c:
218 Fix license. I meant to say LGPL...
221 * /var/cvs/uClibc/ldso/ldso/sparc/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/sparc/elfinterp.c, /var/cvs/uClibc/ldso/ldso/sh/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/sh/elfinterp.c, /var/cvs/uClibc/ldso/ldso/sh/ld_syscalls.h, /var/cvs/uClibc/ldso/ldso/sh/ld_sysdep.h, /var/cvs/uClibc/ldso/ldso/sh/resolve.S, /var/cvs/uClibc/ldso/ldso/powerpc/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/powerpc/elfinterp.c, /var/cvs/uClibc/ldso/ldso/mips/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/mips/elfinterp.c, /var/cvs/uClibc/ldso/ldso/m68k/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/m68k/elfinterp.c, /var/cvs/uClibc/ldso/ldso/i386/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/i386/elfinterp.c, /var/cvs/uClibc/ldso/ldso/arm/boot1_arch.h, /var/cvs/uClibc/ldso/ldso/arm/elfinterp.c, /var/cvs/uClibc/ldso/ldso/ldso.c, /var/cvs/uClibc/ldso/ldso/readelflib1.c, /var/cvs/uClibc/ldso/ldso/Makefile, /var/cvs/uClibc/ldso/ldso/hash.c, /var/cvs/uClibc/ldso/ldso/ld_hash.h, /var/cvs/uClibc/ldso/ldso/ld_string.h, /var/cvs/uClibc/ldso/ldso/ld_syscall.h:
222 Patch from Stefan Allius and Edie C. Dost to add SuperH
223 shared library support. This also adds some cleaner error
224 handling, which I (Erik) then ported over to x86 and arm.
225 In addition Stefan added the following fixes:
227 - in hash.c was the lvalue handling of global library functions wrong.
228 To fix this I had to change the prototype of _dl_find_hash. (==> TIS and
231 - in ldso.c was the order of the .init sections calls wrong. Before we call
232 the initialization code of a library we have to check that all dependend
233 libraries are already initialized. This can easily made by calling it in the
234 revers loading order. For this I added a previous pointer chain.
236 - in ldso.c the ELF magics wasn't checked fo PPC, MIPS and SH architecture
238 * /var/cvs/uClibc/ldso/util/bswap.h, /var/cvs/uClibc/ldso/util/ldd.c, /var/cvs/uClibc/ldso/util/readelf.c, /var/cvs/uClibc/ldso/util/Makefile:
239 Patch from Stefan Allius and Edie C. Dost to let ldd and
240 readelf compile under solaris.
242 * /var/cvs/uClibc/include/netpacket/packet.h:
243 Make pump happy. Add in this header.
246 * /var/cvs/uClibc/libpthread/linuxthreads_db/td_symbol_list.c, /var/cvs/uClibc/libpthread/linuxthreads_db/Makefile:
249 * /var/cvs/uClibc/libc/inet/rpc/ruserpass.c:
250 Fix a silly bug with using fstat64 instead of just fstat. No
251 reason for 64bit stuff just to check perms.
254 * /var/cvs/uClibc/Makefile:
255 Remove unified syscall support (it should just be a per-arch
256 decision, with syscalls.h adjusted to match). Add symlinks
257 to make tools like mklibs.py be happy.
260 * /var/cvs/uClibc/libc/sysdeps/linux/i960/Makefile:
261 Disable unused unifed stuff
264 * /var/cvs/uClibc/extra/Configs/Config.mipsel, /var/cvs/uClibc/extra/Configs/Config.powerpc, /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/extra/Configs/Config.sparc, /var/cvs/uClibc/extra/Configs/Config.v850e, /var/cvs/uClibc/extra/Configs/Config.alpha, /var/cvs/uClibc/extra/Configs/Config.arm, /var/cvs/uClibc/extra/Configs/Config.cross.arm.uclinux, /var/cvs/uClibc/extra/Configs/Config.h8300, /var/cvs/uClibc/extra/Configs/Config.i386, /var/cvs/uClibc/extra/Configs/Config.i960, /var/cvs/uClibc/extra/Configs/Config.m68k, /var/cvs/uClibc/extra/Configs/Config.m68k.coff, /var/cvs/uClibc/extra/Configs/Config.mips:
265 Update default config files
267 * /var/cvs/uClibc/docs/threads.txt: Update status of reentrance support
269 * /var/cvs/uClibc/ldso/ldso/sparc/elfinterp.c, /var/cvs/uClibc/ldso/ldso/powerpc/elfinterp.c, /var/cvs/uClibc/ldso/ldso/m68k/elfinterp.c, /var/cvs/uClibc/ldso/ldso/arm/elfinterp.c, /var/cvs/uClibc/ldso/ldso/i386/elfinterp.c:
270 Make some strings const
273 * /var/cvs/uClibc/libc/pwd_grp/initgroups.c, /var/cvs/uClibc/libc/pwd_grp/lckpwdf.c, /var/cvs/uClibc/libc/pwd_grp/pwent.c, /var/cvs/uClibc/libc/pwd_grp/sgetspent.c, /var/cvs/uClibc/libc/pwd_grp/spent.c, /var/cvs/uClibc/libc/pwd_grp/__getgrent.c, /var/cvs/uClibc/libc/pwd_grp/__getspent_r.c, /var/cvs/uClibc/libc/pwd_grp/fgetpwent.c, /var/cvs/uClibc/libc/pwd_grp/fgetspent.c, /var/cvs/uClibc/libc/pwd_grp/getpwnam.c, /var/cvs/uClibc/libc/pwd_grp/getpwuid.c, /var/cvs/uClibc/libc/pwd_grp/getspnam.c, /var/cvs/uClibc/libc/pwd_grp/getspuid.c, /var/cvs/uClibc/libc/pwd_grp/grent.c:
277 * /var/cvs/uClibc/libc/stdlib/abort.c: Fix locking
279 * /var/cvs/uClibc/libc/misc/lsearch/lsearch.c:
280 Cleanup warnings and fix prototypes
283 * /var/cvs/uClibc/libc/pwd_grp/initgroups.c: Add missing include file
285 * /var/cvs/uClibc/libc/stdlib/drand48-iter.c, /var/cvs/uClibc/libc/stdlib/erand48_r.c, /var/cvs/uClibc/libc/stdlib/jrand48_r.c, /var/cvs/uClibc/libc/stdlib/nrand48_r.c, /var/cvs/uClibc/libc/stdlib/system.c:
286 Cleanup some silly warnings
288 * /var/cvs/uClibc/libc/unistd/swab.c:
289 Avoid bad things happening on macro expansion...
292 * /var/cvs/uClibc/ldso/libdl/dlib.c:
293 Cleanup to avoid some undefined behavior
296 2002-08-07 sjhill <sjhill@dillweed>
298 * /var/cvs/uClibc/extra/scripts/get-needed-libgcc-objects.sh:
299 Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for
302 2002-08-07 Erik Andersen <andersen@dillweed>
304 * /var/cvs/uClibc/libc/inet/rpc/Makefile:
305 Add getrpcent.c to default rpc build
307 * /var/cvs/uClibc/libcrypt/crypt.c, /var/cvs/uClibc/libcrypt/des.c, /var/cvs/uClibc/libcrypt/md5.c, /var/cvs/uClibc/include/crypt.h:
308 Cleanup crypt and remove the crypt_r stuff, since SuSv3
309 (IEEE Std 1003.1-2001) states that crypt need not be reentrant.
312 * /var/cvs/uClibc/libc/misc/utmp/utent.c: Remove some noise
314 * /var/cvs/uClibc/libc/stdlib/getenv.c:
315 Changed my mind. Keep this separate.
318 * /var/cvs/uClibc/libc/stdlib/getenv.c: Rewrite getenv
320 * /var/cvs/uClibc/libc/unistd/getopt.c, /var/cvs/uClibc/libc/unistd/Makefile:
321 rework getopt. no read need to split this one up since
322 the parts are so tightly coupled.
324 * /var/cvs/uClibc/test/unistd/.cvsignore: missed a file
326 * /var/cvs/uClibc/test/unistd/.cvsignore, /var/cvs/uClibc/test/unistd/Makefile, /var/cvs/uClibc/test/unistd/getopt.c, /var/cvs/uClibc/test/unistd/getopt_long.c:
329 * /var/cvs/uClibc/docs/uclibc.org/uClibc-apps.html:
330 Updates to the working apps list from Kagan Kongar. Thanks!
332 * /var/cvs/uClibc/libc/inet/rpc/xdr_array.c:
333 Apply integer overflow security fix for "CERT Advisory CA-2002-25 Integer
334 Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html
335 Patch from Solar Designer <solar@openwall.com>.
337 * /var/cvs/uClibc/include/libintl.h:
338 Message catalog support for internationalization is not currently
339 provided by uClibc, and here I have added macros to disable it.
342 * /var/cvs/uClibc/libc/stdlib/malloc-930716/Makefile, /var/cvs/uClibc/libc/stdlib/malloc-930716/calloc.c, /var/cvs/uClibc/libc/stdlib/malloc/Makefile, /var/cvs/uClibc/libc/stdlib/Makefile, /var/cvs/uClibc/libc/stdlib/calloc.c:
343 Per suggestion from Miles Bader, move calloc.c to libc/stdlib.
344 Also, Manuel notices that I forgot to check for when nmemb=0,
345 which would result in a segfault, so fix that case as well.
348 2002-08-06 Erik Andersen <andersen@dillweed>
350 * /var/cvs/uClibc/extra/scripts/get-needed-libgcc-objects.sh:
351 When symbols are missing, its supposed to be an error...
354 * /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_getgregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_getxregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_getxregsize.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_set_event.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_setfpregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_setgregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_setprio.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_setsigpending.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_setxregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_sigsetmask.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_tsd.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_validate.c, /var/cvs/uClibc/libpthread/linuxthreads_db/thread_dbP.h, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_new.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_reset_stats.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_set_event.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_setconcurrency.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_thr_iter.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_tsd_iter.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_clear_event.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_dbresume.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_dbsuspend.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_event_enable.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_event_getmsg.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_get_info.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_thr_getfpregs.c, /var/cvs/uClibc/libpthread/linuxthreads_db/Makefile, /var/cvs/uClibc/libpthread/linuxthreads_db/td_init.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_log.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_clear_event.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_delete.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_enable_stats.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_event_addr.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_event_getmsg.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_get_nthreads.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_get_ph.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_get_stats.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_map_id2thr.c, /var/cvs/uClibc/libpthread/linuxthreads_db/td_ta_map_lwp2thr.c, /var/cvs/uClibc/libpthread/linuxthreads/sysdeps/pthread/bits/libc-tsd.h, /var/cvs/uClibc/libpthread/linuxthreads/Makefile, /var/cvs/uClibc/libpthread/linuxthreads/cancel.c, /var/cvs/uClibc/libpthread/linuxthreads/no-tsd.c, /var/cvs/uClibc/libpthread/linuxthreads/specific.c, /var/cvs/uClibc/libpthread/Makefile:
355 Several pthreads updates. Enable linuxthreads_db. Several fixes
356 related to thread local storage.
359 * /var/cvs/uClibc/libc/inet/resolv.c:
360 Fixup the last missing pieces of thread locking
363 * /var/cvs/uClibc/libc/inet/rpc/Makefile, /var/cvs/uClibc/libc/inet/rpc/auth_none.c, /var/cvs/uClibc/libc/inet/rpc/clnt_perror.c, /var/cvs/uClibc/libc/inet/rpc/clnt_raw.c, /var/cvs/uClibc/libc/inet/rpc/clnt_simple.c, /var/cvs/uClibc/libc/inet/rpc/create_xid.c, /var/cvs/uClibc/libc/inet/rpc/rexec.c, /var/cvs/uClibc/libc/inet/rpc/rpc_private.h, /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c, /var/cvs/uClibc/libc/inet/rpc/ruserpass.c, /var/cvs/uClibc/libc/inet/rpc/sa_len.c, /var/cvs/uClibc/libc/inet/rpc/svc.c, /var/cvs/uClibc/libc/inet/rpc/svc_raw.c, /var/cvs/uClibc/libc/inet/rpc/svc_simple.c:
364 Rework RPC code once again. By default, only enable the
365 stuff needed for NFS mounts, rsh, and similar.
368 2002-08-06 Manuel Novoa III <mjn3@dillweed>
370 * /var/cvs/uClibc/include/stdlib.h: Enable getpt prototype.
372 * /var/cvs/uClibc/libc/stdio/stdio.c:
373 Changed fflush() behavior to no-op for r/w streams in read-mode.
374 This falls under undefined behavior wrt ANSI/ISO C99, but
375 SUSv3 seems to treat it as a no-op and it occurs in some apps.
376 Fixed a problem with _stdio_fwrite() not checking for underlying
378 Fixed both _stdio_fwrite() and _stdio_fread() to make sure that
379 the putc and getc macros were disabled if the stream was in
382 The above changes should take care of a problem initially reported
383 by "Steven J. Hill" <sjhill@realitydiluted.com>.
385 2002-08-06 Erik Andersen <andersen@dillweed>
387 * /var/cvs/uClibc/libc/stdlib/malloc-930716/Makefile, /var/cvs/uClibc/libc/stdlib/malloc-930716/calloc.c, /var/cvs/uClibc/libc/stdlib/malloc/Makefile, /var/cvs/uClibc/libc/stdlib/malloc/calloc.c:
388 Unify calloc (its the same thing regardless of the underlying
389 malloc implementation). Fix problem reported to bugtraq about
390 problems with integer overflow that can occur during the
391 computation of the memory region size by calloc (and similar
392 functions) which could result in a subsequent buffer overflow.
395 * /var/cvs/uClibc/libc/sysdeps/linux/i386/crt0.S:
396 Just in case, crash if somehow `exit' returns anyways
399 2002-08-05 Erik Andersen <andersen@dillweed>
401 * /var/cvs/uClibc/Rules.mak: remove BUILDTIME since it is not used
403 2002-08-03 Manuel Novoa III <mjn3@dillweed>
405 * /var/cvs/uClibc/libc/misc/time/Makefile, /var/cvs/uClibc/libc/stdio/stdio.c:
406 A couple of little cleanups I forgot to check in.
408 2002-08-03 Erik Andersen <andersen@dillweed>
410 * /var/cvs/uClibc/libc/misc/wchar/wchar.c:
411 When DODEBUG and HAS_WCHAR were enabled and HAS_LOCALE was disabled,
412 wchar.c wouldn't compile:
413 wchar.c: In function `__mbsnrtowcs':
414 wchar.c:631: `__ctype_encoding_7_bit' undeclared (first use in this function)
415 This fixes it by keeping the locale specific asserts hidden when not relevant.
418 2002-08-01 miles <miles@dillweed>
420 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
421 Use MALLOC_REALLOC_MIN_FREE_SIZE.
423 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.h (MALLOC_REALLOC_MIN_FREE_SIZE):
425 Enable debugging if MALLOC_DEBUGGING is defined.
427 * /var/cvs/uClibc/libc/stdlib/malloc/heap.h (HEAP_MIN_SIZE): New macro.
428 (HEAP_MIN_FREE_AREA_SIZE): Increase size.
429 Enable debugging if HEAP_DEBUGGING is defined.
431 2002-08-01 Erik Andersen <andersen@dillweed>
433 * /var/cvs/uClibc/libc/pwd_grp/initgroups.c:
434 Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!
436 2002-07-31 miles <miles@dillweed>
438 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
439 In the allocate-and-copy case, don't include the malloc header in our
442 2002-07-31 Erik Andersen <andersen@dillweed>
444 * /var/cvs/uClibc/Makefile: Sigh. A bit more cleanup.
446 2002-07-31 miles <miles@dillweed>
448 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
449 Update debugging printfs.
451 2002-07-31 Erik Andersen <andersen@dillweed>
453 * /var/cvs/uClibc/libc/stdio/popen.c, /var/cvs/uClibc/libc/stdlib/system.c, /var/cvs/uClibc/libc/stdlib/unix_grantpt.c:
454 Per discussion on the mailing list, simply vfork -> fork mapping to only apply
455 iff we do not have vfork available, which is simpler and more reasonable.
458 * /var/cvs/uClibc/include/elf.h: More i960 support
460 * /var/cvs/uClibc/libc/sysdeps/linux/common/create_module.c:
461 Patch from Martin Proulx <mproulx@okiok.com> to fix i960
462 create_module() support.
464 * /var/cvs/uClibc/extra/gcc-uClibc/gcc-uClibc.c:
465 Patch from Alexander Pevzner <pzz@pzz.msk.ru> to fixup things when invoked as
466 the C++ compiler to to automagically add include/g++ into the include search
467 path, and automagically add -lstdc++ and -lm into the set of automatically
470 * /var/cvs/uClibc/Makefile: You fool foolish. Goodbye level 2.
472 * /var/cvs/uClibc/Makefile: Always build utils by default
475 2002-07-31 miles <miles@dillweed>
477 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
478 Account for MALLOC_HEADER_SIZE when calculating new size.
480 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.c: Use MALLOC_HEADER_SIZE.
482 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.h (MALLOC_HEADER_SIZE):
484 (MALLOC_BASE, MALLOC_ADDR): Use it.
486 2002-07-30 miles <miles@dillweed>
488 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
489 Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.
490 Calculate amount freed when shrinking correctly.
492 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
493 Update the size of grown/shrunk allocations.
494 MALLOC_SET_SIZE now takes the user-address rather than the base-address.
496 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.c:
497 MALLOC_SET_SIZE now takes the user-address rather than the base-address.
499 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.h:
500 Define MALLOC_SET_SIZE to take the user-address rather than the base-address.
502 * /var/cvs/uClibc/libc/stdlib/malloc/realloc.c: Implement shrinking.
503 Fix bug when growing an allocation.
504 Use new malloc header macros.
506 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c:
507 Use new malloc header macros.
509 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.h:
510 Add macros to abstract the malloc header format a bit.
512 2002-07-27 Erik Andersen <andersen@dillweed>
514 * /var/cvs/uClibc/include/sys/sysinfo.h:
515 Avoid errors in case some loon has explicitly included
516 linux/kernel.h (even though doing so is very dumb).
519 * /var/cvs/uClibc/libc/sysdeps/linux/common/mknod.c:
520 Oops. I accidentally omitted the actual mknod() function.
523 2002-07-26 Erik Andersen <andersen@dillweed>
525 * /var/cvs/uClibc/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile:
526 Ok, I get it. sjhill kept adding the 'find' command since
527 include/sgidefs.h wasn't getting scrubbed. Fix it so this
528 symlink gets properly scrubbed, even for mipsel.
531 * /var/cvs/uClibc/Makefile:
532 Kill ill advised find command that was not doing anything
533 productive, but did annoying things instead.
536 * /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/syscalls.h:
537 The __set_errno macro _must_ match that defined in include/bits/errno.h. We
538 can't tack in the return -1 since then when people include errno.h, the return
539 -1 mysteriously vanishes... Setting the __set_errno back and restoring the
540 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again.
543 2002-07-25 sjhill <sjhill@dillweed>
545 * /var/cvs/uClibc/Makefile:
546 Addition to 'distclean' for little endian MIPS.
548 * /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/syscalls.h, /var/cvs/uClibc/ldso/ldso/mips/README, /var/cvs/uClibc/ldso/ldso/mips/ld_syscalls.h:
549 ldso specific syscalls and userspace syscalls all in one file now.
551 2002-07-25 Erik Andersen <andersen@dillweed>
553 * /var/cvs/uClibc/Rules.mak:
554 Cleanup from Neal Crook fixing some formatting and eliminating
555 some "sh: cd: ./lib: No such file or directory" errors.
557 * /var/cvs/uClibc/ldso/Makefile:
558 Kill cruft. Build ldd for the host system by default.
561 * /var/cvs/uClibc/libc/sysdeps/linux/arm/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/arm/syscall.c:
562 Implement syscall() for arm
565 2002-07-25 miles <miles@dillweed>
567 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c:
570 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c:
571 Miscellaneous tidying-up.
573 2002-07-25 Erik Andersen <andersen@dillweed>
575 * /var/cvs/uClibc/ldso/ldso/i386/ld_syscalls.h, /var/cvs/uClibc/ldso/ldso/arm/ld_syscalls.h:
576 Take advantage of the new syscall stuff on x86 and arm to kill
577 the ldso specific syscalls and use the generic ones instead.
580 2002-07-25 miles <miles@dillweed>
582 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap.h, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc_at.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.h, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
583 Redo the locking, so that it may actually work. Now locking is done at
584 the malloc/free level, not within the heap abstraction, and there's a
585 separate lock to control sbrk access.
587 Also, get rid of the separate `unmap_free_area' function in free.c, and
588 just put the code in the `free' function directly, which saves a bunch
589 of space (even compared to using an inline function) for some reason.
591 2002-07-24 Erik Andersen <andersen@dillweed>
593 * /var/cvs/uClibc/libc/sysdeps/linux/i386/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/i386/__uClibc_syscall.S, /var/cvs/uClibc/libc/sysdeps/linux/i386/syscall.S:
594 Add support for people calling syscall()
597 2002-07-24 sjhill <sjhill@dillweed>
599 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile:
600 Remove source files that, well, no longer exist :).
602 * /var/cvs/uClibc/Makefile:
603 This rule is only necessary for little endian MIPS.
605 2002-07-24 miles <miles@dillweed>
607 * /var/cvs/uClibc/libc/stdlib/malloc/heap.h, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c:
608 Factor out some common code sequences into inline functions.
610 * /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
613 * /var/cvs/uClibc/libc/stdlib/malloc/.indent.pro:
614 Remove, since it's entirely incorrect
616 * /var/cvs/uClibc/include/sys/cdefs.h (__ASMNAME): Use C_SYMBOL_PREFIX.
617 (__ASMNAME2): Macro removed.
619 2002-07-23 miles <miles@dillweed>
621 * /var/cvs/uClibc/libc/stdlib/malloc/Makefile, /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap.h, /var/cvs/uClibc/libc/stdlib/malloc/heap_append_free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.h, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
622 * Automatically try to unmap heap free-areas when they get very big.
624 * Instead of using mmap/munmap directly for large allocations, just use
625 the heap for everything (this is reasonable now that heap memory can
628 * Use sbrk instead of mmap/munmap on systems with an MMU.
630 2002-07-22 Erik Andersen <andersen@dillweed>
632 * /var/cvs/uClibc/libc/sysdeps/linux/common/_exit.c, /var/cvs/uClibc/libc/sysdeps/linux/common/llseek.c, /var/cvs/uClibc/libc/sysdeps/linux/common/mknod.c, /var/cvs/uClibc/libc/sysdeps/linux/common/setuid.c, /var/cvs/uClibc/libc/sysdeps/linux/common/sync.c:
633 Add some syscalls which I moved out of syscalls.c
636 * /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/setjmp_aux.c, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/i960/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/h8300/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/common/ftruncate64.c, /var/cvs/uClibc/libc/sysdeps/linux/common/getcwd.c, /var/cvs/uClibc/libc/sysdeps/linux/common/getpagesize.c, /var/cvs/uClibc/libc/sysdeps/linux/common/pread_write.c, /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c, /var/cvs/uClibc/libc/sysdeps/linux/common/truncate64.c, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/syscalls.h, /var/cvs/uClibc/extra/scripts/gen_bits_syscall_h.sh, /var/cvs/uClibc/include/sys/syscall.h:
637 Rework syscall handling. Rewrite syscall handlers for x86 and ARM.
638 Prepare to kill the UNIFIED_SYSCALL option and instead have it be
639 a per arch thing that is either enabled or not for that arch.
642 2002-07-19 Erik Andersen <andersen@dillweed>
644 * /var/cvs/uClibc/libpthread/linuxthreads/condvar.c: Fix spelling
646 2002-07-19 miles <miles@dillweed>
648 * /var/cvs/uClibc/libc/stdlib/malloc/calloc.c, /var/cvs/uClibc/libc/stdlib/malloc/free.c:
651 * /var/cvs/uClibc/libc/stdlib/malloc/heap.h, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc_at.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_append_free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c:
652 Rename mutex stuff to use heap-specific names.
655 * /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.h, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c:
658 2002-07-18 Erik Andersen <andersen@dillweed>
660 * /var/cvs/uClibc/libc/stdlib/malloc/Makefile, /var/cvs/uClibc/libc/stdlib/malloc/alloc.c, /var/cvs/uClibc/libc/stdlib/malloc/avlmacro.h, /var/cvs/uClibc/libc/stdlib/malloc/calloc.c, /var/cvs/uClibc/libc/stdlib/malloc/free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap.h, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_alloc_at.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_append_free.c, /var/cvs/uClibc/libc/stdlib/malloc/heap_free.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.c, /var/cvs/uClibc/libc/stdlib/malloc/malloc.h, /var/cvs/uClibc/libc/stdlib/malloc/realloc.c, /var/cvs/uClibc/extra/Configs/Config.powerpc, /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/extra/Configs/Config.sparc, /var/cvs/uClibc/extra/Configs/Config.v850e, /var/cvs/uClibc/extra/Configs/Config.alpha, /var/cvs/uClibc/extra/Configs/Config.arm, /var/cvs/uClibc/extra/Configs/Config.cross.arm.uclinux, /var/cvs/uClibc/extra/Configs/Config.h8300, /var/cvs/uClibc/extra/Configs/Config.i386, /var/cvs/uClibc/extra/Configs/Config.i960, /var/cvs/uClibc/extra/Configs/Config.m68k, /var/cvs/uClibc/extra/Configs/Config.m68k.coff, /var/cvs/uClibc/extra/Configs/Config.mips, /var/cvs/uClibc/extra/Configs/Config.mipsel:
661 Miles Bader implemented a new mmap based malloc which is much
662 smarter than the old "malloc-simple", and actually works, unlike
663 the old "malloc". So kill the old "malloc-simple" and the old
664 "malloc" and replace them with Miles' new malloc implementation.
665 Update Config files to match. Thanks Miles!
667 2002-07-16 Erik Andersen <andersen@dillweed>
669 * /var/cvs/uClibc/libc/termios/termios.c:
670 Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> so
671 that cfsetspeed would actually be compiled in.
673 * /var/cvs/uClibc/libc/stdlib/malloc/Makefile:
674 We don't need the debug versions
676 * /var/cvs/uClibc/libc/stdlib/malloc-930716/malloc.c:
677 __morecore need not be a function pointer
679 * /var/cvs/uClibc/libc/stdlib/malloc-930716/malloc.c:
680 Odd. Got a copy of junk in here.
682 * /var/cvs/uClibc/libc/misc/utmp/utent.c:
683 Do not assume NULL termination on the ut_id field. Thanks
684 to mac12@po.cwru.edu for spotting this one.
686 2002-07-15 Manuel Novoa III <mjn3@dillweed>
688 * /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/time.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/time.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/uClibc_clk_tck.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/time.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_clk_tck.h, /var/cvs/uClibc/libc/unistd/sysconf.c, /var/cvs/uClibc/libc/misc/time/time.c:
689 Clean up CLK_TCK situation. clock() and sysconf() now use an
690 arch-specific constant value defined in bits/uClibc_clk_tck.h.
691 Default is 100 (common/bits) but alpha uses 1024 following glibc.
692 Override per arch as necessary.
694 2002-07-15 Erik Andersen <andersen@dillweed>
696 * /var/cvs/uClibc/libc/sysdeps/linux/common/pread_write.c:
697 stupid cut-n-paste bug
700 * /var/cvs/uClibc/libc/sysdeps/linux/powerpc/brk.S:
701 Patch for a silly bug from David Blythe
703 * /var/cvs/uClibc/libc/sysdeps/linux/common/statfix.c, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix64.c:
704 Silence a couple of silly warnings
707 * /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/common/pread_write.c, /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c:
708 Rework pread and pwrite support so it should actually work.
709 Add support for pread64 and pwrite64. Fixup llseek a bit.
712 2002-07-14 Erik Andersen <andersen@dillweed>
714 * /var/cvs/uClibc/libpthread/linuxthreads/mutex.c:
715 Add both pthread_mutexattr_setpshared() and
716 pthread_mutexattr_getpshared(), which were
720 * /var/cvs/uClibc/libpthread/linuxthreads/condvar.c:
721 Add missing pthread_condattr_getpshared and pthread_condattr_setpshared
724 2002-07-11 Erik Andersen <andersen@dillweed>
726 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/fork.S:
729 * /var/cvs/uClibc/docs/uclibc.org/index.html:
730 Note updated toolchains are available
733 2002-07-11 miles <miles@dillweed>
735 * /var/cvs/uClibc/extra/Configs/Config.v850e: Grumble...
737 2002-07-10 Erik Andersen <andersen@dillweed>
739 * /var/cvs/uClibc/extra/Configs/Config.mips, /var/cvs/uClibc/extra/Configs/Config.mipsel:
740 The mips config files were broken, and failed to define NM
743 * /var/cvs/uClibc/libc/misc/syslog/syslog.c:
744 Tobias Anderberg <tobias.anderberg@axis.com> noticed that
745 we were opening the socket() as SOCK_STREAM instead of
746 using SOCK_DGRAM like we should have done.
748 * /var/cvs/uClibc/libc/inet/ntop.c:
749 Per bug report from Ronald Wahl <rwa@peppercon.com>:
750 ...inet_pton breaks since tolower is implemented as
751 a macro and its argument is evaluated more than once:
753 while ((ch = tolower (*src++)) != '\0') {
755 So I fixed it by just undefining tolower() so we use the
756 function version, not the macro.
759 * /var/cvs/uClibc/include/stropts.h: Add missing stropts.h
761 2002-07-08 Erik Andersen <andersen@dillweed>
763 * /var/cvs/uClibc/docs/uclibc.org/index.html: Fix a typo
765 2002-07-08 Manuel Novoa III <mjn3@dillweed>
767 * /var/cvs/uClibc/libc/string/strsignal.c: Remove obsolete code.
769 * /var/cvs/uClibc/libc/string/Makefile, /var/cvs/uClibc/libc/string/wstring.c:
770 Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.
772 2002-07-08 Erik Andersen <andersen@dillweed>
774 * /var/cvs/uClibc/libc/inet/resolv.c:
775 Finer grained locking in __connect_dns() so we don't hold the
776 lock while sending packets out onto the wire.
779 2002-07-07 Manuel Novoa III <mjn3@dillweed>
781 * /var/cvs/uClibc/libc/string/Makefile: Obligatory forgotten file.
783 * /var/cvs/uClibc/libc/stdio/old_vfprintf.c, /var/cvs/uClibc/libc/stdio/printf.c, /var/cvs/uClibc/libc/stdio/stdio.c, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h, /var/cvs/uClibc/libc/string/strerror.c, /var/cvs/uClibc/libc/string/sys_errlist.c, /var/cvs/uClibc/libc/string/wstring.c, /var/cvs/uClibc/include/string.h:
784 Attempt to clean up the strerror_r situation.
786 2002-07-07 Erik Andersen <andersen@dillweed>
788 * /var/cvs/uClibc/libc/inet/Makefile, /var/cvs/uClibc/libc/inet/resolv.c:
789 Doh! search-n-replace strikes again
792 * /var/cvs/uClibc/libc/sysdeps/linux/common/statfix.c, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix.h, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix64.c, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix64.h, /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c:
793 Fix namespace pollution by hiding statfix and statfix64 by
794 prepending an __ to the name. Not perfect but better.
797 * /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c, /var/cvs/uClibc/libc/inet/addr.c, /var/cvs/uClibc/libc/inet/ntop.c, /var/cvs/uClibc/libc/inet/resolv.c, /var/cvs/uClibc/libc/inet/socketcalls.c:
798 Cleanup namespace leaks by prepending __ to global stuff to
799 indicate it is (alledgedly) private.
802 * /var/cvs/uClibc/libc/inet/rpc/getrpcent.c, /var/cvs/uClibc/libc/inet/rpc/rcmd.c, /var/cvs/uClibc/libc/inet/rpc/rpc_commondata.c, /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c:
803 Kill namespace pollution in getrpcent.c. Silence other rpc warnings
804 by fixing prototypes. Fix global stuff so it should behave itself
808 * /var/cvs/uClibc/libc/inet/resolv.c:
809 Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanup
810 connect_dns() and simplify IPV6 support by reducing the number of
811 ifdefs sprinkled about.
813 2002-07-06 Erik Andersen <andersen@dillweed>
815 * /var/cvs/uClibc/libc/termios/ttyname.c:
816 Stupid filesystems like cramfs fail to guarantee that st_ino and st_dev
817 uniquely identify a file, contrary to SuSv3, so we cannot be quite so
818 precise as to require an exact match. Settle for something less...
822 2002-07-05 Erik Andersen <andersen@dillweed>
824 * /var/cvs/uClibc/extra/gcc-uClibc/Makefile, /var/cvs/uClibc/extra/gcc-uClibc/gcc-uClibc.c:
825 Only enable elf2flt support when using elf toolchains
828 2002-07-05 Manuel Novoa III <mjn3@dillweed>
830 * /var/cvs/uClibc/libc/misc/wchar/wstdio.c:
831 Add copyright message and remove dead code.
833 * /var/cvs/uClibc/include/string.h:
834 Update header for strlcat and strlcpy.
836 * /var/cvs/uClibc/libc/string/Makefile, /var/cvs/uClibc/libc/string/wstring.c:
837 Add two missing glibc wide string funcs as well as OpenBSD string funcs
840 * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h:
841 Only define __uwchar_t if wide char support is enabled.
843 2002-07-04 Manuel Novoa III <mjn3@dillweed>
845 * /var/cvs/uClibc/TODO: Update my todo list entries.
847 2002-07-03 Erik Andersen <andersen@dillweed>
849 * /var/cvs/uClibc/libc/string/strsignal.c:
850 Add a weak to make apache happy
853 2002-07-03 Manuel Novoa III <mjn3@dillweed>
855 * /var/cvs/uClibc/Rules.mak:
856 For now, have locale support automaticly enable wide char support.
857 Things currently won't build otherwise.
859 * /var/cvs/uClibc/extra/Configs/Config.mipsel, /var/cvs/uClibc/extra/Configs/Config.powerpc, /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/extra/Configs/Config.sparc, /var/cvs/uClibc/extra/Configs/Config.v850e, /var/cvs/uClibc/extra/Configs/Config.alpha, /var/cvs/uClibc/extra/Configs/Config.arm, /var/cvs/uClibc/extra/Configs/Config.cross.arm.uclinux, /var/cvs/uClibc/extra/Configs/Config.h8300, /var/cvs/uClibc/extra/Configs/Config.i386, /var/cvs/uClibc/extra/Configs/Config.i960, /var/cvs/uClibc/extra/Configs/Config.m68k, /var/cvs/uClibc/extra/Configs/Config.m68k.coff, /var/cvs/uClibc/extra/Configs/Config.mips:
860 Update Config files for current locale and wide char configuration options.
862 * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h, /var/cvs/uClibc/libc/string/wstring.c, /var/cvs/uClibc/libc/string/Makefile, /var/cvs/uClibc/libc/stdlib/stdlib.c, /var/cvs/uClibc/libc/stdio/old_vfprintf.c, /var/cvs/uClibc/libc/stdio/printf.c, /var/cvs/uClibc/libc/stdio/scanf.c, /var/cvs/uClibc/libc/stdio/stdio.c, /var/cvs/uClibc/libc/stdio/Makefile, /var/cvs/uClibc/libc/misc/wctype/wctype.c, /var/cvs/uClibc/libc/misc/wchar/Makefile, /var/cvs/uClibc/libc/misc/wchar/wchar.c, /var/cvs/uClibc/libc/misc/wchar/wstdio.c, /var/cvs/uClibc/libc/misc/time/time.c, /var/cvs/uClibc/libc/misc/locale/locale.c, /var/cvs/uClibc/libc/misc/assert/__assert.c, /var/cvs/uClibc/include/printf.h, /var/cvs/uClibc/include/stdlib.h, /var/cvs/uClibc/Rules.mak:
863 Enable WCHAR support for C/POSIX stub locales.
864 Implemented unformatted wide i/o functions. (ungetwc still needs testing)
865 Fix a few bugs in wchar.c.
866 Modifications for bcc/elks support.
868 2002-07-03 sjhill <sjhill@dillweed>
870 * /var/cvs/uClibc/extra/Configs/Config.mips, /var/cvs/uClibc/extra/Configs/Config.mipsel:
871 Change default config files for MIPS platforms. Nothing major.
873 2002-07-03 Erik Andersen <andersen@dillweed>
875 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/__syscall_error.c:
876 Make clone work, part 2.
879 * /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile, /var/cvs/uClibc/libc/sysdeps/linux/mips/clone.S:
880 Fix clone so it compiles
883 2002-07-02 Erik Andersen <andersen@dillweed>
885 * /var/cvs/uClibc/libc/misc/syslog/syslog.c: Oops. missed a spot
888 * /var/cvs/uClibc/libc/misc/syslog/syslog.c:
889 openlog could deadlock when called from vsyslog, so
890 allow recursive locking,
893 * /var/cvs/uClibc/Makefile: Disable ldconfig.target for now
896 * /var/cvs/uClibc/Rules.mak:
897 Add a bunch of extra pedantic annoyingly strict checks
900 * /var/cvs/uClibc/extra/Configs/Config.arm, /var/cvs/uClibc/extra/Configs/Config.cross.arm.uclinux, /var/cvs/uClibc/extra/Configs/Config.h8300, /var/cvs/uClibc/extra/Configs/Config.i386, /var/cvs/uClibc/extra/Configs/Config.i960, /var/cvs/uClibc/extra/Configs/Config.m68k, /var/cvs/uClibc/extra/Configs/Config.m68k.coff, /var/cvs/uClibc/extra/Configs/Config.mips, /var/cvs/uClibc/extra/Configs/Config.mipsel, /var/cvs/uClibc/extra/Configs/Config.powerpc, /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/extra/Configs/Config.sparc, /var/cvs/uClibc/extra/Configs/Config.v850e, /var/cvs/uClibc/extra/Configs/Config.alpha:
901 Resync the install defines
904 * /var/cvs/uClibc/ldso/ldso/ldso.c: Fixup where locals shadowed globals
907 * /var/cvs/uClibc/include/getopt.h:
908 fix this header so it behaves itself
911 * /var/cvs/uClibc/extra/gcc-uClibc/Makefile, /var/cvs/uClibc/Makefile:
912 Change the default structure of the installed toolchain
915 2002-07-01 Erik Andersen <andersen@dillweed>
917 * /var/cvs/uClibc/include/pthread.h, /var/cvs/uClibc/libpthread/linuxthreads/mutex.c:
918 Patch from Ronald Wahl <rwa@peppercon.com> -- kill references to
919 the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex
922 * /var/cvs/uClibc/libc/stdlib/malloc-930716/malloc.c:
923 This patch, from Ronald Wahl <rwa@peppercon.com>, fixes the
924 spots where I screwed up and forgot to fix realloc to use
925 free_unlocked() instead of free(). Thanks Ronald!
927 2002-06-26 Erik Andersen <andersen@dillweed>
929 * /var/cvs/uClibc/libm/s_log1p.c, /var/cvs/uClibc/libm/e_exp.c, /var/cvs/uClibc/libm/e_j0.c, /var/cvs/uClibc/libm/e_j1.c, /var/cvs/uClibc/libm/e_jn.c, /var/cvs/uClibc/libm/e_lgamma_r.c, /var/cvs/uClibc/libm/e_rem_pio2.c, /var/cvs/uClibc/libm/math_private.h, /var/cvs/uClibc/libm/s_expm1.c, /var/cvs/uClibc/include/regex.h, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix.c, /var/cvs/uClibc/libc/sysdeps/linux/common/statfix64.c, /var/cvs/uClibc/libc/sysdeps/linux/mips/bsd-setjmp.S:
930 Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>
932 2002-06-24 Erik Andersen <andersen@dillweed>
934 * /var/cvs/uClibc/include/paths.h:
935 Per "Marshall M. Midden" <m4@brecis.com>, remove double
936 define of _PATH_LOCALE.
938 2002-06-23 Erik Andersen <andersen@dillweed>
940 * /var/cvs/uClibc/Makefile: Fixup target util handling
943 * /var/cvs/uClibc/ldso/util/Makefile:
944 Don't try to compile the target utils unless told to do so.
947 * /var/cvs/uClibc/Rules.mak:
948 Rework compiler optimization code to be smarter
951 2002-06-21 Erik Andersen <andersen@dillweed>
953 * /var/cvs/uClibc/README: Fix spelling
955 * /var/cvs/uClibc/docs/uclibc.org/index.html: Fix silly spelling error
957 * /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c, /var/cvs/uClibc/ldso/ldso/ld_syscall.h:
958 Fix support for 2.0.x linux kernels. Oops.
961 2002-06-20 Erik Andersen <andersen@dillweed>
963 * /var/cvs/uClibc/docs/uclibc.org/index.html: Fix spelling
965 * /var/cvs/uClibc/docs/uclibc.org/index.html: Remove noise
967 * /var/cvs/uClibc/Changelog: Last Changelog update
969 2002-06-20 Manuel Novoa III <mjn3@dillweed>
971 * /var/cvs/uClibc/TODO: Update my todo list.
974 [---------------The rest has been snipped for brevity---------------------]
975 [---------------Check out the CVS tree if you really----------------------]
976 [---------------really want to know---------------------------------------]