]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
590b40f7
UD
12004-09-07 Jakub Jelinek <jakub@redhat.com>
2
3 * sysdeps/powerpc/powerpc64/configure.in: New file.
4 * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add.
5 * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove.
6 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
7 (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX,
8 BODY_PREFIX): Define.
9 (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support
10 HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols,
11 USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries.
12 * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h.
13 (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
14
3655715b
UD
152004-09-07 Ulrich Drepper <drepper@redhat.com>
16
67254a97
UD
17 * malloc/malloc.h: Don't define __THROW if it is already defined.
18
7ba0e52c
UD
19 * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define.
20 (atomic_decrement): Define.
21
22 * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and
23 atomic_decrement_val.
24 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26
27 * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val
28 and atomic_decrement_val.
29
f377d022 30 * include/atomic.h: Define atomic_increment_val, atomic_decrement_val,
f510d815 31 and atomic_delay is not already defined.
f377d022
UD
32 * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay.
33 * sysdeps/x86_64/bits/atomic.h: Likewise.
34
35 * miscd/sys/cdefs.h (__NTH): New macro.
36 (__THROW): Define using nothrow attribute for C code and gcc >= 3.2.
37 (__REDIRECT_NTH): New macro.
38 * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary.
39 * ctype/ctype.h: Likewise.
40 * dirent/dirent.h: Likewise.
41 * io/fcntl.h: Likewise.
42 * io/sys/sendfile.h: Likewise.
43 * io/sys/stat.h: Likewise.
44 * io/sys/statfs.h: Likewise.
45 * io/sys/statvfs.h: Likewise.
46 * libio/bits/stdio.h: Likewise.
47 * misc/sys/mman.h: Likewise.
48 * posix/unistd.h: Likewise.
49 * resource/sys/resource.h: Likewise.
50 * rt/aio.h: Likewise.
51 * signal/signal.h: Likewise.
52 * stdlib/stdlib.h: Likewise.
53 * string/argz.h: Likewise.
54 * string/string.h: Likewise.
55 * sysdeps/generic/inttypes.h: Likewise.
56 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
57 * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
58 * sysdeps/s390/fpu/bits/mathinline.h: Likewise.
59 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61 * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise.
62 * wcsmbs/wchar.h: Likewise.
63
64 * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate.
65
66 * resolv/gethnamaddr.c (getanswer): Remove __P use in variable
67 definition.
68
69 * io/sys/poll.h: Remove __THROW from poll prototype, it's a
70 cancellation point.
71
f863a5a5
UD
72 * io/fts.c (fts_open): Remove uses of __P.
73
3655715b
UD
74 * include/stdlib.h: No need to use __THROW in this header.
75
f2b85a9f
RM
762004-09-06 Roland McGrath <roland@frob.com>
77
78 * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
79 validity, since __assert_fail gets to here anyway. Just fail.
80
415b043d
UD
812004-09-06 Ulrich Drepper <drepper@redhat.com>
82
83 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with
84 AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6
85 addresses.
86
6029b952
RH
872004-09-05 Richard Henderson <rth@redhat.com>
88
89 * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
90 * sysdeps/unix/sysv/linux/kernel-features.h
91 (__ASSUME_IEEE_RAISE_EXCEPTION): New.
92 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
93 * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
94 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
95 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
96
febcd836
RH
972004-09-05 Richard Henderson <rth@redhat.com>
98
99 * sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
100 * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
101 sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,
102 sysdeps/alpha/remqu.S: Likewise.
103 * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.
104
418dfb12
UD
1052004-09-05 Ulrich Drepper <drepper@redhat.com>
106
107 * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and
108 GETHOSTBYADDRv6 requests.
109
03e157d8
UD
1102004-09-04 Ulrich Drepper <drepper@redhat.com>
111
112 * nscd/pwdcache.c (cache_addpw): Use correct key length in
113 cache_add calls.
114 * nscd/grpcache.c (cache_addgr): Likewise.
115
2a254592
RM
1162004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
117
118 * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
119 to `dtv_t *'.
120
ead07d01
UD
1212004-09-03 Ulrich Drepper <drepper@redhat.com>
122
123 * nscd/nscd.c (parse_opt): Use writev instead of two write for
124 invalidate command.
125
1da484d9
UD
1262004-09-02 Ulrich Drepper <drepper@redhat.com>
127
128 * nscd/connections.c (nscd_run): Check early for invalid request types.
129
58c64754
RM
1302004-09-02 Roland McGrath <roland@frob.com>
131
132 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
133 (INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
134 (THREAD_SELF): New macro.
135
73f7c32c
UD
1362004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
137
138 [BZ #357]
139 * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber.
140 (main): Call test_stack.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
142 (__getcontext): Push stack frame then save parms in local frame.
143 Improve instruction scheduling.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
145 (__swapcontext): Likewise.
146
86aca5ac
UD
1472004-09-01 Andreas Schwab <schwab@suse.de>
148
149 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use
150 __builtin_offsetof.
151
aae95a1b
UD
1522004-09-01 Jakub Jelinek <jakub@redhat.com>
153
154 [BZ #361]
155 * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch
156 to normal_bracket after fetching the next character.
157 * posix/tst-fnmatch.input: Add 25 new tests.
158 Reported by Markus Oberhumer <markus@oberhumer.com>.
159
49563939
UD
1602004-09-01 Ulrich Drepper <drepper@redhat.com>
161
162 * elf/rtld.c (dl_main): First check existence of ld.so.preload
163 with access.
164
6698501f
RM
1652004-09-01 Roland McGrath <roland@redhat.com>
166
167 * sysdeps/unix/sysv/linux/bits/waitflags.h
168 (WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
170 New macro.
171 * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when
172 available, or fall back to the waitpid-based generic code.
173
66cc59de
RM
1742004-08-14 Alfred M. Szmidt <ams@kemisten.nu>
175
176 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc
177 clobber the `ebp' register.
178 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
179 Reverts change from 2004-05-07 by Jeroen Dekkers.
180
181 * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
182 NEWSP from `void *' to `int *'. Changed all casts accordingly.
183
c4bb5cd8
RM
1842004-08-31 Jakub Jelinek <jakub@redhat.com>
185
186 * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden
187 before return type.
188 * locale/localename.c (__current_locale_name): Likewise.
189
d2e75f65
RM
1902004-08-30 Roland McGrath <roland@frob.com>
191
192 * scripts/extract-abilist.awk: If `lastversion' variable defined, omit
193 later sets from output.
194 * Makerules (check-abi): Pass option to set that with value of
195 LIB-abi-frozen variable if one is set.
196
197 * abilist/libcidn.abilist: New file (empty).
198
409f7493
UD
1992004-08-30 Jakub Jelinek <jakub@redhat.com>
200
201 * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
202 not __USE_XOPEN2K, use the Unix98 mandated values.
203
619f9448
RM
2042004-08-27 Roland McGrath <roland@redhat.com>
205
206 * configure.in (usetls): Default to yes.
207 * configure: Regenerated.
208
c80e931a
RM
2092004-08-26 Roland McGrath <roland@redhat.com>
210
211 * configure.in (add_ons_automatic): New variable, set to yes or no
212 indicating --enable-add-ons with no explicit list.
213 (running add-on fragments): Allow a fragment to modify $libc_add_on
214 and have that affect its place in the list of add-ons to use.
215 * configure: Regenerated.
216
a95a08b4
UD
2172004-08-26 Ulrich Drepper <drepper@redhat.com>
218
219 * nscd/cache.c: Major rewrite. The data is now optionally kept in
220 a mmaped memory region which is automatically mirrored on disk.
221 This implements persistent data storage. The Memory handled
222 needed to be completely revamped, it now uses a garbage collection
223 mechanism instead of malloc.
224 * nscd/connections.c: Likewise.
225 * nscd/nscd.c: Likewise.
226 * nscd/nscd.h: Likewise.
227 * nscd/nscd_conf.c: Likewise.
228 * nscd/nscd_stat.c: Likewise.
229 * nscd/grpcache.c: Likewise.
230 * nscd/hstcache.c:: Likewise.
231 * nscd/pwdcache.c:: Likewise.
232 * nscd/Makefile: Add rules to build mem.c.
233 * nscd/mem.c: New file.
234 * nscd/nscd.conf: Describe new configuration options.
235
1114ffff
UD
2362004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
237
238 * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
239 NO_SGIDEFS_H isn't defined.
240 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
241 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
242
243 * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
244 _MIPS_SIM.
245 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
246 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
247 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
248
86b2fd6e
UD
2492004-08-26 Ulrich Drepper <drepper@redhat.com>
250
1114ffff
UD
251 * nscd/connections.c (nscd_run): atomic_increment was not missing.
252
86b2fd6e
UD
253 * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
254 Patch by Greg Schafer.
255
effeb660
RH
2562004-08-25 Richard Henderson <rth@redhat.com>
257
258 * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
259 instead of $31. Zero $15.
260 * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
261
d6db0975
UD
2622004-08-25 Ulrich Drepper <drepper@redhat.com>
263
afb24a10
UD
264 * sysdeps/powerpc/powerpc64/bits/atomic.h
265 (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval
266 is negative.
267 (__arch_compare_and_exchange_bool_32_rel): Likewise.
268
d6db0975
UD
269 * nscd/connections.c: Make socket nonblocking so that threads
270 don't get stuck on accept. Fix locking.
271
87329997 272 * nscd/grpcache.c (cache_addgr): Use copy of original key in hash
d6db0975
UD
273 entry with alternative key.
274 * nscd/pwdcache.c (cache_addpw): Likewise.
275
25325c85
AJ
2762004-08-25 Richard Sandiford <rsandifo@redhat.com>
277
278 * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set
279 __libc_stack_end.
280
80af9a48
UD
2812004-08-23 Ulrich Drepper <drepper@redhat.com>
282
283 * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary
284 __BEGIN_DECLS/__END_DECLS.
285
a5590b3a
AJ
2862004-08-23 Andreas Jaeger <aj@suse.de>
287
288 [BZ #341]
289 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define.
290 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise.
291 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise.
292 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise.
293 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise.
294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise.
295 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise.
296 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise.
297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise.
298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise.
299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise.
300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.
302
51ea6fc0
UD
3032004-08-21 Ulrich Drepper <drepper@redhat.com>
304
3e030bd5
UD
305 * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
306 (check_action): Likewise.
307 When printing error messages, use malloc_printf_nc now instead of
308 fiddling with the streams cancellation flag in every place.
309 * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change
310 default to 3.
311 (check_action): New variable.
312 (unlink): Print error message and eventually terminate in case list
313 is corrupted.
314 (malloc_printf_nc): New function. Use it in _int_free.
315 Change proposed by Arjan van de Ven.
316
51ea6fc0
UD
317 * dlfcn/Makefile: Don't build eval.c anymore.
318
f523496b
RM
3192004-08-20 Roland McGrath <roland@frob.com>
320
321 * csu/Makefile ($(objpfx)version-info.h): Use printf in place
322 of echo -e for POSIX.2 portability.
323 Reported by Paul Jarc <prj@po.cwru.edu>.
324
8583671d
UD
3252004-08-19 Ulrich Drepper <drepper@redhat.com>
326
a24c5ac4
UD
327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
328 list generation.
329
afd7b703
UD
330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
331 getcanonname_r function if AI_CANONNAME flag is not set in
332 request.
333
8583671d
UD
334 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
335 Initialize mysize with limits only if latter is >= 0. Use mysize
336 in malloc call.
337
10b71c3d
UD
3382004-08-19 Jakub Jelinek <jakub@redhat.com>
339
340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
341 to avoid warning.
342
343 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
344 status to NSS_STATUS_UNAVAIL.
345
3462004-08-19 Ulrich Drepper <drepper@redhat.com>
347
348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
349 cannoname lookup since it has the FQDN even if the original NAME
350 value has not.
351
b6c0f679
UD
3522004-08-18 Ulrich Drepper <drepper@redhat.com>
353
354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
51ea6fc0 355 pointer in new variable ORIG_NAME and use this pointer when
b6c0f679
UD
356 determination of canonical name failed, not the possibly IDN
357 translated value of NAME.
358
b9343764
UD
3592004-08-17 Ulrich Drepper <drepper@redhat.com>
360
0acb7b83
UD
361 * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT.
362 * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option.
363 Reset RES_NOIP6DOTINT flag in this case..
364
b9343764
UD
365 * sysdeps/posix/getaddrinfo.c: Fix memory handling of
366 ai_canonname.
367
9b63bd4d
UD
3682004-08-16 Ulrich Drepper <drepper@redhat.com>
369
370 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use
371 CNAME records, we better follow the chain of CNAME records which
372 can be accomplished with A/AAAA lookups.
373
a29db458
RM
3742004-08-15 Roland McGrath <roland@redhat.com>
375
376 * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
377 Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
378 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
379 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
380 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
381
92c6ccd1
RM
3822004-08-15 Roland McGrath <roland@frob.com>
383
813d9c0d
RM
384 * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
385 this, not ...
386 (static-only-routines): ... this.
387 * sysdeps/ia64/Makefile: Likewise.
388 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
389 * sysdeps/sparc/sparc64/Makefile: Likewise.
390 * sysdeps/x86_64/Makefile: Likewise.
391 * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
392 * sysdeps/ia64/hp-timing.c: Likewise.
393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
394 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
395
92c6ccd1
RM
396 * csu/elf-init.c: Update copyright terms including special exception
397 for these trivial files, which are statically linked into executables
398 that use dynamic linking for the significant library code.
399 * io/fstat.c: Likewise.
400 * io/fstat64.c: Likewise.
401 * io/lstat.c: Likewise.
402 * io/lstat64.c: Likewise.
403 * io/stat.c: Likewise.
404 * io/stat64.c: Likewise.
405 * stdlib/atexit.c: Likewise.
406 * sysdeps/alpha/elf/initfini.c: Likewise.
407 * sysdeps/alpha/elf/start.S: Likewise.
408 * sysdeps/arm/elf/start.S: Likewise.
409 * sysdeps/cris/elf/start.S: Likewise.
410 * sysdeps/generic/initfini.c: Likewise.
411 * sysdeps/generic/mknod.c: Likewise.
412 * sysdeps/hppa/elf/initfini.c: Likewise.
413 * sysdeps/hppa/elf/start.S: Likewise.
414 * sysdeps/i386/elf/start.S: Likewise.
415 * sysdeps/i386/i686/hp-timing.c: Likewise.
416 * sysdeps/ia64/elf/initfini.c: Likewise.
417 * sysdeps/ia64/elf/start.S: Likewise.
418 * sysdeps/ia64/hp-timing.c: Likewise.
419 * sysdeps/m68k/elf/start.S: Likewise.
420 * sysdeps/mach/start.c: Likewise.
421 * sysdeps/mips/elf/start.S: Likewise.
422 * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
423 * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
424 * sysdeps/s390/s390-32/elf/start.S: Likewise.
425 * sysdeps/s390/s390-32/initfini.c: Likewise.
426 * sysdeps/s390/s390-64/elf/start.S: Likewise.
427 * sysdeps/s390/s390-64/initfini.c: Likewise.
428 * sysdeps/sh/elf/initfini.c: Likewise.
429 * sysdeps/sh/elf/start.S: Likewise.
430 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
431 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
432 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
433 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
434 * sysdeps/standalone/i386/start.S: Likewise.
435 * sysdeps/standalone/i960/start.S: Likewise.
436 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
437 * sysdeps/unix/arm/start.c: Likewise.
438 * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
439 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
440 * sysdeps/unix/sparc/start.c: Likewise.
441 * sysdeps/unix/start.c: Likewise.
442 * sysdeps/unix/sysv/aix/start.s: Likewise.
443 * sysdeps/unix/sysv/irix4/start.c: Likewise.
444 * sysdeps/x86_64/elf/initfini.c: Likewise.
445 * sysdeps/x86_64/elf/start.S: Likewise.
446
7a4b34c9
RM
4472004-08-15 Roland McGrath <roland@redhat.com>
448
449 [BZ #227]
450 * sysdeps/unix/sysv/linux/kernel-features.h
451 (__ASSUME_BRK_PAGE_ROUNDED): New macro.
452 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
453 [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
454 the partial page after the dynamic linker's own data segment.
455
a7d24833
UD
4562004-08-15 Ulrich Drepper <drepper@redhat.com>
457
2d26a717
UD
458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of
459 v4-mapped addresses a bit.
460 (gethosts): Move alloca out of macro, so that it is done only once.
461
28977c2c
UD
462 * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of
463 addr to avoid casts.
464 (gethosts): Removed.
465 (gethosts2): Renamed to gethosts. Make it usable for family !=
466 AF_UNSPEC. Fix AI_V4MAPPED.
467 (gaih_inet): Remove use of old gethosts. Always use what used to be
468 gethosts2. If entry is found, try to use the same NSS module's
469 getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only
470 if getcanonname_r was not available. Fix filtering of AI_V4MAPPED
471 addresses. Numerous cleanups.
472 * resolv/nss_dns/dns-canon.c: New file.
473 * resolv/Makefile (libnss_dns-routines): Add dns-canon.
474 * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r.
475
476 * elf/Makefile: Add rules to build and run tst-dlopenrpath.
477 * elf/tst-dlopenrpath.c: New file.
478 * elf/tst-dlopenrpathmod.c: New file.
479
480 * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
1e6d2101
UD
481 * intl/tst-gettext.c: Likewise.
482
a691b217
UD
483 * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
484
a7d24833
UD
485 * nss/getent.c: Allow queries for getaddrinfo with AF_INET and
486 AF_INET6.
487
06ee3df6
UD
4882004-08-14 Ulrich Drepper <drepper@redhat.com>
489
490 * po/de.po: Update from translation team.
491
e786b793
RM
4922004-08-14 Roland McGrath <roland@frob.com>
493
494 * sysdeps/mach/configure: Regenerated.
495 * sysdeps/mach/hurd/configure: Regenerated.
496
97306b0b
UD
4972004-08-14 Ulrich Drepper <drepper@redhat.com>
498
e786b793
RM
499 * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is
500 performed, make sure it is still the first entry after sorting
501 that has the ai_canonname information.
c7fa647a 502
97306b0b
UD
503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname
504 only in one entry.
505
913e79f5
RM
5062004-08-13 Daniel Jacobowitz <dan@debian.org>
507
508 * scripts/output-format.sed: Handle default case of three-argument
509 OUTPUT_FORMAT.
510
511 * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
512 __attribute_used__.
513
eba19d2b
UD
5142004-08-13 Ulrich Drepper <drepper@redhat.com>
515
5c81b3e1
UD
516 * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the
517 first returned entry. Print name only if not NULL.
518
8500b0ca
UD
519 * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct
520 __netgrent object passed in instead of global variables.
521 Optimize.
522 * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data
523 in struct __netgrent object passed in instead of global variables.
524 * inet/netgroup.h (struct __netgrent): Add service_user field.
525 Move cursor in anonymous union, add new field location to that
526 union.
527 * inet/getnetgrent_r.c: Extensive rewrite to really enable
528 concurrent uset of set/get/endnetgrent and innetgr.
a5753206
UD
529 Reported by Chuck Simmons.
530
2486480e
UD
531 * inet/netgroup.h (struct name_list): Replace name pointer with
532 zero-sized array.
533 * inet/getnetgrent_r.c: Adjust code for change in name_list
534 layout. Numerous strdup and free calls removed.
535
eba19d2b 536 * elf/sprof.c (read_symbols): When comparing aliases, prefer
b8b9340e
UD
537 non-hidden over hidden symbols and strong over weak symbols
538 if both don't start with '_'.
eba19d2b
UD
539
540 * malloc/malloc.c: Use strong_alias instead of weak_alias wherever
541 possible.
542
4d004cfb
UD
5432004-08-12 Jakub Jelinek <jakub@redhat.com>
544
545 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
546 RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly.
547 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
549 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
550 Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros
551 accordingly.
552
770d9b39
UD
5532004-08-11 Andreas Schwab <schwab@suse.de>
554
555 * resolv/res_libc.c: Move definition of __res_initstamp ...
556 * resolv/res_init.c: ... here.
557
644eff0c
UD
5582004-08-10 GOTO Masanori <gotom@debian.or.jp>
559
560 * locale/C-time.c: Change default ERA value from NULL to "".
561 * locale/tst-C-locale.c: Add test case for ERA keywords.
562
30c06335
UD
5632004-08-12 Ulrich Drepper <drepper@redhat.com>
564
565 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
566 RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly.
567 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
569
5702004-08-12 Jakub Jelinek <jakub@redhat.com>
571
572 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING,
573 RLIMIT_MSGQUEUE): Add.
574 (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
575 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING,
576 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
577 (RLIM_NLIMITS): Adjust.
578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING,
579 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
580 (RLIM_NLIMITS): Adjust.
581 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING,
582 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
583 (RLIM_NLIMITS): Adjust.
584
2566e5f3
UD
5852004-08-12 Jakub Jelinek <jakub@redhat.com>
586
587 * resolv/res_query.c (__libc_res_nsearch): Protect the debugging
588 printf with #ifdef DEBUG and RES_DEBUG check.
589
590 * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after
591 __USE_MISC #endif.
592 * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize
593 declaration.
594 * sysdeps/gnu/bits/shm.h: Likewise.
595 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
596 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
597 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
598 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
600
693aa149
UD
6012004-08-12 Ulrich Drepper <drepper@redhat.com>
602
603 * po/ca.po: Update from translation team.
604
2e79a6bf
UD
6052004-08-11 Ulrich Drepper <drepper@redhat.com>
606
607 * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
608 __getpagesize declaration.
609
90595fb6
RM
6102004-08-11 Roland McGrath <roland@redhat.com>
611
6e9a9da6
RM
612 * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
613 commands inside &&.
614 Reported by Andreas Schwab <schwab@suse.de>.
615 * configure: Regenerated.
616
90595fb6
RM
617 * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
618
640b76b7
UD
6192004-08-11 Ulrich Drepper <drepper@redhat.com>
620
621 * time/tzset.c (tzset_internal): Add new parameter which is
622 nonzero if called through tzset. Use TZDEFAULT name including
623 name comparison if the new parameter is zero. This means implicit
624 tzset calls will not cause files to be opened and read by tzfile.c
625 all the time.
626
6272004-08-11 Jakub Jelinek <jakub@redhat.com>
628
0569cbbc
RM
629 * rt/tst-timer2.c (do_test): If timer_create fails, just continue.
630 * rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
631 return 1 immediately.
632
640b76b7
UD
633 * time/tzfile.c (__tzfile_read): Free transitions only if it will
634 not be reused.
635
cc6502dd
RM
636 * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
637 * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.
638
639 * stdio-common/tst-popen.c: Include <string.h>.
640
641 * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
642
3cabdafa
RM
643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
644 attribute. Return NULL instead of calling pthread_exit at the end.
645
304815c6
RM
6462004-08-11 Roland McGrath <roland@redhat.com>
647
648 * iconvdata/testdata/ISO-2022-JP-3: Regenerated.
649
b6cef5b1
RM
6502004-08-10 Alfred M. Szmidt <ams@kemisten.nu>
651
652 * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
653
f98ca075
RM
6542004-08-10 Jakub Jelinek <jakub@redhat.com>
655
656 * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
657 (fwrite_unlocked): When checking if size * n is <= 8, cast each
658 argument to size_t individually. Cast n to (void) instead of
659 (size_t), surround with (), return (size_t) 0 if one of n or size
660 is 0. [BZ #316]
661 * stdio-common/Makefile (tests): Add tst-unlockedio.
662 * stdio-common/tst-unlockedio.c: New test.
663
c0e81b36
RM
6642004-08-09 Roland McGrath <roland@frob.com>
665
666 * manual/install.texi (Supported Configurations): Replace bug-glibc
667 mention with web URL.
668 * INSTALL: Regenerated.
669 * locale/iso-3166.def: Likewise, in comment.
670 * locale/iso-4217.def: Likewise.
671 * locale/iso-639.def: Likewise.
672 * posix/cpio.h: Remove bug reporting comment.
673
28f9ebd7
UD
6742004-08-09 Ulrich Drepper <drepper@redhat.com>
675
8799d935
UD
676 * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
677 casts to handle funny calls with floating point argument values
678 and signed values correctly and without warning.
679 (fwrite_unlocked): Likewise. [BZ #309]
680
19c589d9
UD
681 * malloc/memusage.c (me): Use creat64, not creat.
682 * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285]
683 Patch by Guy Maor <guymaor@yahoo.com>.
684
61c6385d
UD
685 * elf/ldconfig.c (options): Mark parameter option names as
686 translatable. [BZ #253] Patch by Jakub Bogusz <qboosh@pld-linux.org>.
687
28f9ebd7
UD
688 * iconv/gconv_charset.h (strip): Also allow comma which is what is
689 used to separate options. [BZ #194]
690
d09ca7fa
RM
6912004-08-09 Roland McGrath <roland@redhat.com>
692
5ce59aa6 693 * FAQ.in: Refer to web pages instead of bug-glibc.
65903cc5 694 * FAQ: Regenerated.
5ce59aa6 695
d09ca7fa
RM
696 * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
697
fe6cc2ae
UD
6982004-08-09 Ulrich Drepper <drepper@redhat.com>
699
700 * time/tzset.c (tzset_internal): If TZ is not set do not compare
701 old and new tz value since it might be /etc/localtime in both
702 cases although the file changed. [BZ #154]
703 Patch by Christian Franke <franke@computer.org>.
704
705 * time/tzfile.c (__tzfile_read): Determine dev/ino of file.
706 Compare with values of previously opened file. Don't do anything
707 is they match.
708
0a1be815
UD
7092004-08-08 Ulrich Drepper <drepper@redhat.com>
710
c14e9135
UD
711 * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
712 reset loader before the actual loading.
713 * elf/dl-open.c (dl_open_worker): If file name contains no path
714 element determine map of caller. Pass caller map in this case to
715 _dl_map_object. Set __RTLD_CALLMAP in mode.
716 * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116]
717 Patch by Greg Wolodkin <greg@mathworks.com>.
718
807645d7
UD
719 * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
720 [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
721
0b755dc4
UD
722 * configure.in: Also recognize i786. [BZ #106]
723 Patch by <pluto@pld-linux.org>.
724
78512c00
UD
725 * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
726 name contains any dots. [BZ #95]
727
020a9a23
UD
728 * resolv/res_send.c: Compiling with DEBUG defined works again.
729 * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all
730 callers.
731
0b3cce31
UD
732 * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
733 available the process is not killed. [BZ #41]
734
f58dc022
UD
735 * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
736
1750bc8d
UD
737 * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
738 [BZ #28]
739
0a1be815
UD
740 * po/sv.po: Update from translation team.
741
65e70412
UD
7422004-08-07 Ulrich Drepper <drepper@redhat.com>
743
d3c99ad1
UD
744 * inet/netinet/in.h: Add more const to the setipv4soucefilter,
745 getsourcefilter, and setsourcefilter parameter list.
746 * sysdeps/generic/setipv4sourcefilter.c: Likewise.
747 * sysdeps/generic/getsourcefilter.c: Likewise.
748 * sysdeps/generic/setsourcefilter.c: Likewise.
749 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
750 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
751 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
752
65e70412
UD
753 * po/tr.po: Update from translation team.
754
9e365fe7
UD
7552004-08-06 Ulrich Drepper <drepper@redhat.com>
756
757 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
758 Reported by Paolo Bonzini.
759
7602004-08-06 Jakub Jelinek <jakub@redhat.com>
761
762 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
763 always_inline.
764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
765 elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
766
767 * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
768 before including linux/atalk.h.
769
770 * resolv/res_libc.c: Include atomic.h.
771
772 * intl/finddomain.c (free_mem): Rename to...
773 (_nl_finddomain_subfreeres): ... this. Add
774 __libc_freeres_fn_section.
775 * intl/loadmsgcat.c (_nl_unload_domain): Add
776 __libc_freeres_fn_section.
777 * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
778 Add attribute_hidden.
779 (_nl_findomain_subfreeres): New prototype.
780 * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
781
9030e7c4
UD
7822004-07-30 Guido Guenther <agx@sigxcpu.org>
783
784 * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
785 test if the key is numeric or not.
786 (group_keys): Likewise.
787
a3c7fcf0
UD
7882004-08-05 Ulrich Drepper <drepper@redhat.com>
789
489aa29d
UD
790 * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
791 struct group_filter, and GROUP_FILTER_SIZE.
792 * include/sys/socket.h: Declare __getsockopt.
793 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
794 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
795 * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
a55bda85 796 * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
489aa29d 797
a3c7fcf0
UD
798 * po/ko.po: Update from translation team.
799
87bb6b6c
UD
8002004-08-04 Jakub Jelinek <jakub@redhat.com>
801
802 * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
803 memset.
804 (__hesiod_res_set): Free nsaddrs.
805
806 * include/resolv.h (__res_maybe_init): Add prototype.
807 * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
808 * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
809 * resolv/res_libc.c (__res_initstamp, lock): New variables.
810 (res_init): Increase __res_initstamp.
811 (__res_maybe_init): New function.
812 * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
813 * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
814 of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
816 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
817 _nss_dns_gethostbyaddr_r): Likewise.
818 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
819 _nss_dns_getnetbyaddr_r): Likewise.
820 * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
821 gethostbyaddr): Likewise.
822 * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
823 res_isourserver, res_sendsigned, res_update, res_search,
824 res_querydomain): Likewise.
825 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
826 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
827 * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
828 Likewise.
829
269e6e07
UD
8302004-08-05 Ulrich Drepper <drepper@redhat.com>
831
87bb6b6c
UD
832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
833 V4-mapped IPv6 addresses and req->ai_family==AF_INET.
834 Reported by A. Guru <a.guru@sympatico.ca>.
835
269e6e07 836 * po/sv.po: Update from translation team.
a79d752f 837 * po/sk.po: Likewise.
87bb6b6c 838 * po/pl.po: Likewise.
269e6e07 839
d012b7df
UD
8402004-08-04 Jakub Jelinek <jakub@redhat.com>
841 Ulrich Drepper <drepper@redhat.com>
842
843 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
87bb6b6c 844 characters than necessary.
d012b7df
UD
845
8462004-08-05 Ulrich Drepper <drepper@redhat.com>
847
848 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
849 * wcsmbs/tst-mbsrtowcs.c: New file.
850
851 * po/fr.po: Update from translation team.
852
08bcfb59
UD
8532004-08-04 Jakub Jelinek <jakub@redhat.com>
854
855 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
856 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
857
c1d98085
UD
8582004-08-05 Ulrich Drepper <drepper@redhat.com>
859
2f0cdd2b
UD
860 * po/nl.po: Update from translation team.
861
c1d98085
UD
862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
863 numeric address formats inet_addr knows.
864 (getaddrinfo): Allow AI_NUMERICSERV flag.
d012b7df 865 If neither IPv4 nor IPv6 interface is present we cannot make any
c1d98085
UD
866 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
867 string is not just a number. Remove useless freeaddrinfo call.
868 * resolv/netdb.h (AI_NUMERICSERV): Define.
869 Based on a patch by a.guru@sympatico.ca.
870
8712004-08-04 Jakub Jelinek <jakub@redhat.com>
872
873 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
874 instead of trying to initialize some, but not all, fields one by
875 one.
876 * stdio-common/printf_size.c (printf_size): Initialize fb_info
877 structure with *info instead of trying to initialize some, but not
878 all, fields from it.
879
880 * nscd/connections.c (handle_request): Check if req->type is in
881 LASTDBREQ .. LASTREQ range instead of req.
882
883 * locale/programs/linereader.c (lr_create): Initialize
884 lr->return_widestr to 0.
885
886 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
887 (free_mem): Call free_slotinfo just once.
888
889 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
890 of NULL.
891
892 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
893 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
894 (free_mem): Rename to _nl_locale_subfreeres.
895 * iconv/gconv_db.c: Include locale/localeinfo.h.
896 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
897 (free_mem): Call _nl_locale_subfreeres.
898 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
899
9382fcee
RM
9002004-08-04 Roland McGrath <roland@frob.com>
901
902 * Makeconfig ($(common-objpfx)config.status):
903 Fix typo: $(add_ons) -> $(add-ons).
904 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
905 include, use black magic to get it set to an add-on's name during the
906 include of the add-on's Makeconfig.
907
908 * configure.in: Use variable name `libc_add_on' when sourcing add-on
909 configure fragments, so they can refer to this.
910 * configure: Regenerated.
911
0964f852
RM
9122004-08-04 Roland McGrath <roland@redhat.com>
913
8cc5920e
RM
914 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
915 (do_test): Bump sleep to three seconds.
916 (sigchld, check_sigchld): New functions.
917 (do_test): Handle SIGCHLD and check for getting the right details.
918
0964f852
RM
919 * posix/tst-waitid.c (do_test): Kill the child process when bailing
920 out early on some failure.
b3e46788 921 [WCONTINUED]: Test WCONTINUED functionality.
0964f852 922
0532e21b
UD
9232004-08-03 Ulrich Drepper <drepper@redhat.com>
924
925 * nscd/connections.c (handle_request): Print more descriptive
926 message for invalid request types.
927
5d32be9a
UD
9282004-08-02 Jakub Jelinek <jakub@redhat.com>
929
930 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
931 Always treat high as highest number in range + 1.
932 * iconvdata/ibm943.c (BODY): Likewise.
933
9342004-07-31 Bruno Haible <bruno@clisp.org>
935
936 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
937 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
938 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
939 __jisx0213_from_ucs_level2): Regenerated.
940 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
941 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
942 JISX0213_1_set.
943 (JISX0213_1_2004_set): New enum value.
944 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
945 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
946 when possible, ESC $ ( Q when needed.
947 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
948 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
949 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
950 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
951 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
952 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
953
9542004-07-22 Bruno Haible <bruno@clisp.org>
955
956 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
957
9fccfe8c
UD
9582004-07-29 David S. Miller <davem@redhat.com>
959
960 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
961 better for smaller than 256 byte copies. Also, use only one
962 unrolled loop instead of two for the large copy case.
963
80574c92
RH
9642004-07-30 Richard Henderson <rth@redhat.com>
965
966 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
967 * sysdeps/alpha/remq.S: Likewise.
968 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
969 new division algorithms in divl.S and divq.S respectively.
970
d1091a21
UD
9712004-07-28 GOTO Masanori <gotom@debian.or.jp>
972
973 * timezone/asia: Update from tzdata2004b.
974 * timezone/backward: Likewise.
975 * timezone/europe: Likewise.
976 * timezone/iso3166.tab: Likewise.
977 * timezone/leapseconds: Likewise.
978 * timezone/northamerica: Likewise.
979 * timezone/southamerica: Likewise.
980 * timezone/zone.tab: Likewise.
981
982 * timezone/private.h: Update from tzcode2004b.
983 * timezone/zic.c: Likewise.
984
dc630ccc
UD
9852004-07-27 Ulrich Drepper <drepper@redhat.com>
986
987 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
988 under the name the user provided.
989 * nscd/pwdcache.c (cache_addpw): Likewise.
990
468352fe
RM
9912004-07-26 Roland McGrath <roland@redhat.com>
992
993 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
994 call to __waitpid.
995
f3285f86
UD
9962004-07-26 Ulrich Drepper <drepper@redhat.com>
997
490998a5
UD
998 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
999 memory leaks.
1000
f3285f86
UD
1001 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
1002 new buffer at the right time.
1003 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
1004
f89d6892
UD
10052004-07-25 Ulrich Drepper <drepper@redhat.com>
1006
1007 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
1008 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
1009 * inet/Makefile (routines): Likewise.
1010 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
1011 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
1012 * sysdeps/generic/getipv4sourcefilter.c: New file.
1013 * sysdeps/generic/setipv4sourcefilter.c: New file.
1014 * sysdeps/generic/getsourcefilter.c: New file.
1015 * sysdeps/generic/setsourcefilter.c: New file.
1016
a8870a61
UD
10172004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
1018
1019 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
1020 for POWER4 machines.
1021
deddf809
UD
10222004-07-21 Jakub Jelinek <jakub@redhat.com>
1023
1024 [BZ #274]
1025 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
1026 BITS_PER_MP_LIMB shifting up.
1027 * stdlib/tst-strtod.c (main): Add new tests.
1028
06bfee07
UD
10292004-07-23 Jakub Jelinek <jakub@redhat.com>
1030
1031 [BZ #282]
1032 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
1033 _IO_no_init. Remove wd from struct locked_FILE.
1034 (_IO_wproc_jumps): Remove.
1035 Reported by Andrew Josey <a.josey@opengroup.org>.
1036 * stdio-common/Makefile (tests): Add tst-popen.
1037 * stdio-common/tst-popen.c: New test.
1038
7a80496f
UD
10392004-07-23 Ulrich Drepper <drepper@redhat.com>
1040
1041 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
1042 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
1043 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
1044 Reported by Andrew Josey.
1045
1046 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
1047
1048 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
1049 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
1050 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
1051 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
1052 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
1053 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
1054 useconds_t if __USE_XOPEN2K is defined.
1055 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
1056 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
1057
3426e770
UD
10582004-07-19 Thorsten Kukuk <kukuk@suse.de>
1059
1060 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
1061 allocate memory for large temporary variables with alloca.
1062
54c36b13
UD
10632004-07-22 Ulrich Drepper <drepper@redhat.com>
1064
3426e770
UD
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
1066 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
1067
54c36b13
UD
1068 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
1069 pointer and zero length.
1070
f87475f7
UD
10712004-07-21 Ulrich Drepper <drepper@redhat.com>
1072
1073 * nscd/cache.c (prune_cache): Print correct list when debugging.
1074
2ed2dc18
UD
10752004-07-21 Jakub Jelinek <jakub@redhat.com>
1076
1077 * resolv/res_libc.c (res_init): If RES_INIT is set and
1078 _res.nscount > 0, call __res_nclose and free nsaddrs.
1079 * resolv/Makefile: Add rules to build and run tst-leaks2.
1080 * resolv/tst-leaks2.c: New test.
1081
84b5ba7e
UD
10822004-07-21 Ulrich Drepper <drepper@redhat.com>
1083
1084 * intl/libintl.h: Don't define macros for C++.
1085 Patch by Goto Masanori.
1086
10872004-07-22 GOTO Masanori <gotom@debian.or.jp>
1088
1089 [BZ #276]
1090 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
1091 * inet/arpa/inet.h: Likewise.
1092 * resolv/inet_addr.c: Likewise.
1093
0767a652
AJ
10942004-07-21 Alexandre Oliva <aoliva@redhat.com>
1095
84b5ba7e 1096 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
0767a652 1097
8f73811b
RM
10982004-07-20 Roland McGrath <roland@redhat.com>
1099
1100 * configure.in (add_ons): Substitute this. Move $add_ons handling
1101 after AC_CANONICAL_HOST and default setting of $machine et al.
1102 Don't set $subdirs from $add_ons.
1103 Instead, source add-on/configure fragments early on.
1104 (base_machine): If it's already set, don't set it based on $machine.
1105 (libc_config_ok): New variable, set to no. If an add-on fragment sets
1106 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
1107 (sysnames): Try appending add-on names after machine as well.
8f73811b
RM
1108 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
1109 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
1110 files in $(add_ons) dirs.
1111
1112 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
1113 definition, now in netinet/in.h proper.
1114
1346854b
AJ
11152004-07-20 Alexandre Oliva <aoliva@redhat.com>
1116
918f187f
AJ
1117 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
1118 Sort by syscalls. Make sure we get headers such as sgidefs.h from
1119 the build tree before just-installed ones.
1120
16e6e834
AJ
1121 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
1122 include sgidefs.h where appropriate.
1123 * sysdeps/mips/dl-machine.h: Likewise.
1124 * sysdeps/mips/machine-gmon.h: Likewise.
1125 * sysdeps/mips/bits/setjmp.h: Likewise.
1126 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
1127 * sysdeps/mips/mips64/__longjmp.c: Likewise.
1128 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
1129 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
1130 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1131 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1132 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
1133 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1134 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1135 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1136 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1137 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1138 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
1139 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1140 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1141 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
1142 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1143 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
a12161c8 1144 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
16e6e834 1145 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
918f187f 1146 Likewise.
16e6e834 1147 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
918f187f 1148 Likewise.
918f187f 1149
1346854b
AJ
1150 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
1151 _dl_lookup_symbol_x.
1152 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
1153
3a9537a1
UD
11542004-07-20 Ulrich Drepper <drepper@redhat.com>
1155
70682735
UD
1156 * inet/netinet/in.h: Define struct ip_mreq and struct
1157 ip_mreq_source.
b82276d1 1158 Define struct group_req and struct group_source_req.
70682735
UD
1159 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
1160 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
1161 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
1162 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
1163 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
1164 MCAST_MSFILTER.
d8433bd0 1165 Define MCAST_INCLUDE and MCAST_EXCLUDE.
70682735 1166
3a9537a1
UD
1167 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
1168
164f863e
UD
11692004-07-19 Jakub Jelinek <jakub@redhat.com>
1170
1171 [BZ #258]
1172 * math/libm-test.inc (max_value, min_value): New variables.
1173 (initialize): Initialize them.
1174 (pow_test): Add a couple of new tests.
1175 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
1176 exception if |y| >= 1U<<31.
1177 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
1178 exception if |y| >= 1L<<63.
1179 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1180 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
1181 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1182
99bb9f42
UD
11832004-07-18 Ulrich Drepper <drepper@redhat.com>
1184
1185 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
1186 lookup a bit.
1187 * nscd/grpcache.c (cache_addgr): Likewise.
1188 * nscd/hstcache.c (cache_addhst): Likewise.
1189
6f53de74
UD
11902004-07-10 GOTO Masanori <gotom@debian.or.jp>
1191
1192 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
1193 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1194
f96b2e4e
UD
11952004-04-16 Andreas Schwab <schwab@suse.de>
1196
1197 * sysdeps/ia64/bits/atomic.h: Cast first argument of
1198 __sync_bool_compare_and_swap_si correct to void*.
1199
1b6840e5
UD
12002004-07-17 Ulrich Drepper <drepper@redhat.com>
1201
1202 * iconv/iconv_prog.c (print_known_names): Make machine-readable
1203 output even less cluttered.
1204
77d60040
UD
12052004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
1206
1207 [BZ #269]
f523496b 1208 * setjmp/Makefile (tests): Add bug269-setjmp.
77d60040
UD
1209 * setjmp/bug269-setjmp.c: New file.
1210 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
1211 Store R2 from jmpbuf in callers TOC save area.
1212 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
1213 Store R2 in TOC save area.
1214 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
1215 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
1216
531b71dd
UD
12172004-07-16 Jakub Jelinek <jakub@redhat.com>
1218
1219 * locale/newlocale.c: Include bits/libc-lock.h.
1220 (__libc_setlocale_lock): Extern decl.
1221 (__newlocale): Use it.
1222 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
1223
f17ed1a9
UD
12242004-07-15 Jakub Jelinek <jakub@redhat.com>
1225
06eee9f5
UD
1226 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
1227 static inline __attribute ((always_inline)). Don't define if
1228 NO_CANCELLATION.
1229 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
1230 __fcntl_nocancel.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
1232 Remove static inline __attribute ((always_inline)). Don't define
1233 if NO_CANCELLATION.
1234 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
1235 __fcntl_nocancel.
1236 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
1237 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
1238 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
1239 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
1240
f17ed1a9
UD
1241 [BZ #262]
1242 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
1243 for main.
1244 * elf/Makefile: Add rules to build and run tst-pie1.
1245 * elf/tst-pie1.c: New test.
1246 * elf/tst-piemod1.c: New file.
1247
290639c3
UD
12482004-07-14 Jakub Jelinek <jakub@redhat.com>
1249
1250 [BZ #266]
1251 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
8f73811b 1252 long. Rewrite example code so that it takes into account l64a output
290639c3
UD
1253 shorter than 6 characters.
1254 Reported by Julian Graham <julian.graham@aya.yale.edu>.
1255
6c1232e2
UD
12562004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1257
1258 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
1259 (elf_machine_rela_relative): Remove unused valiable.
1260
69a64e9b
RM
12612004-07-12 Paul Eggert <eggert@cs.ucla.edu>
1262
1263 [BZ #263]
1264 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
1265 outside the buffer if the read returns 0. __strtod_l can't set
1266 endp to NULL, so remove a test for that case.
1267
85fdc62b
RM
12682004-07-12 Roland McGrath <roland@redhat.com>
1269
1270 * manual/signal.texi (Interrupted Primitives): Make clear that
1271 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
1272 it to -1 to define "failure".
1273
ee600e3f
UD
12742004-07-10 Ulrich Drepper <drepper@redhat.com>
1275
1276 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
1277 ldsodefs.h.
1278 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
1279 already defined.
1280 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
1281 already defined.
1282
1283 * elf/rtld.c (print_statistics): Mark with noinline attribute.
1284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
1285 attribute.
1286 (elf_machine_rel_relative): Likewise.
1287
1288 * include/string.h: Add libc_hidden_proto for __strtok_r and
1289 __strsep_g.
1290 * sysdeps/generic/strsep.c: Add libc_hidden_def.
1291 * sysdeps/generic/strtok_r.c: Likewise.
1292 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
1293 * sysdeps/i386/i686/strtok_r.S: Likewise.
1294 * sysdeps/x86_64/strtok_r.S: Likewise.
1295
12962004-07-09 Alexandre Oliva <aoliva@redhat.com>
1297
1298 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
1299 instead of internal-linkage, such that we can alias to it.
1300 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
1301
d199bfb2
UD
13022004-07-09 Ulrich Drepper <drepper@redhat.com>
1303
1304 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
1305 to the front for gcc 3.5+.
1306 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
1308 * include/fcntl.h: Don't declare __fcntl_nocancel here if
1309 NO_CANCELLATION is defined.
1310
259fc9c5
UD
13112004-07-07 Jakub Jelinek <jakub@redhat.com>
1312
1313 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
1314 GL(dl_nloaded) into it while still in critical section.
1315
c61a8bb4
RM
13162004-07-06 Thorsten Kukuk <kukuk@suse.de>
1317
1318 * nss/getent.c (print_group, print_passwd): Use %lu format for
1319 `unsigned long int' values.
1320
1321 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
1322 error typos in goto statements.
1323
ec5a15a3
RM
13242004-07-07 Roland McGrath <roland@frob.com>
1325
1326 * Makefile (dist-separate): New variable.
1327 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
1328 Depend on their configure files.
1329 (dist-do-separate-dirs): New canned sequence to do that.
1330 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
1331 (dist): Depend on add-on tar files based on $(dist-separate).
1332 (dist-version): New variable, default to $(version).
1333 (tag-for-dist, dist): Use that in place of $(version) in deps.
1334
8e5aaad9
UD
13352004-07-07 Ulrich Drepper <drepper@redhat.com>
1336
1337 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
1338 before the loop running the destructors.
1339
4183d2a7
RM
13402004-05-18 Andreas Schwab <schwab@suse.de>
1341
1342 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
1343 the first segment for mprotect, not l_text_end.
1344
ce6e047f
UD
13452004-07-05 Ulrich Drepper <drepper@redhat.com>
1346
321e8782
UD
1347 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
1348 Remove hashfraction variable. Make kcount and kcountsize local
1349 variables.
1350
ce6e047f
UD
1351 * elf/dl-init.c: Don't define and use _dl_starting_up if
1352 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
1353 * elf/dl-support.c: Likewise.
1354 * elf/rtld.c: Likewise.
1355 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
1356 if HAVE_INLINED_SYSCALLS is defined.
0b439171 1357 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
ce6e047f
UD
1358 here.
1359 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1360 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
1361 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
1362
1363 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
1364 is needed to stop profiling.
1365 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
1366 profile make sure it cannot be unloaded.
1367
1368 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
1369
1370 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
1371 support, make sure the helper function is inlined.
1372 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1373 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1374 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
1376
9b9ef823
UD
13772004-07-05 Jakub Jelinek <jakub@redhat.com>
1378
2dd18ce2
UD
1379 * include/string.h (ffs): Add libc_hidden_builtin_proto.
1380 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
1381 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
1382 * sysdeps/alpha/ffs.S (ffs): Likewise.
1383 * sysdeps/s390/ffs.c (ffs): Likewise.
1384 * sysdeps/powerpc/ffs.c (ffs): Likewise.
1385 * sysdeps/i386/ffs.c (ffs): Likewise.
1386 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
1387 * sysdeps/m68k/ffs.c (ffs): Likewise.
1388 * sysdeps/generic/ffs.c (ffs): Likewise.
1389 * sysdeps/m88k/ffs.c (ffs): Likewise.
1390 * sysdeps/am29k/ffs.c (ffs): Likewise.
1391 * sysdeps/i960/ffs.c (ffs): Likewise.
1392 * sysdeps/x86_64/ffs.c (ffs): Likewise.
1393
1394 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
1395
9b9ef823
UD
1396 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
1397 __libc_siglongjmp): Remove symbol_version.
1398 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
1399 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
1400 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
1401 unconditionally.
1402 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
1403 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
1404 strong_alias instead of default_symbol_version, remove
1405 symbol_version.
1406 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
1407 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
1408 into strong_alias to __novmxsetjmp.
1409 (__vmx__setjmp): Similarly with __vmxsetjmp.
1410 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1411 default_symbol_version and symbol_version.
1412 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
1413 into strong_alias to __novmxsetjmp.
1414 (__vmx__setjmp): Similarly with __vmxsetjmp.
1415 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1416 default_symbol_version and symbol_version.
1417
1418 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
1419
c7acde59
UD
14202004-07-05 Ulrich Drepper <drepper@redhat.com>
1421
1422 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
1423
38205402
UD
14242004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
1425
1426 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
1427 instead of libc_hidden_def.
1428
9632aaee
RM
14292004-07-01 Roland McGrath <roland@redhat.com>
1430
1431 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
1432
1433 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
1434 $(..)shlib-versions file to last in deps list. This lets add-ons give
1435 more-specific matches that override defaults in the top-level file.
1436
1437 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
1438 already set, don't set it or libc_cv_gcc_unwind_find_fde.
1439 * sysdeps/unix/sysv/linux/configure: Regenerated.
1440
f8ea3acb
UD
14412004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
1442
1443 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
1444 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
1445 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
1446 * sysdeps/s390/fpu/e_sqrt.c: New file.
1447 * sysdeps/s390/fpu/e_sqrtf.c: New file.
1448 * sysdeps/s390/Implies: New file.
1449 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
1450 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
1451 * sysdeps/s390/s390-64/Implies: Likewise.
1452
14532004-06-30 Jakub Jelinek <jakub@redhat.com>
1454
1455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
1456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1457
1458 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
1459 DO_CALL (exit, 1) instead of branching to _exit.
1460 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
1461 Likewise.
1462
1463 * sysdeps/s390/fpu/bits/mathinline.h: New file.
1464
1465 * include/glob.h (glob64): Add libc_hidden_proto.
1466 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
1467 * sysdeps/gnu/glob64.c (glob64): Likewise.
1468 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
1469
9f5d26e2
UD
14702004-06-11 Jakub Jelinek <jakub@redhat.com>
1471
1472 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
1473 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1474
f9f70e68
UD
14752004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
1476
1477 * sysdeps/powerpc/fpu/s_lround.c: Removed.
1478 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
1479 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
1480 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
1481 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
1482 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
1483 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
1484 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
1485 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
1486 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
1487 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
1488 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
1489 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
1490 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
1491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
1492 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
1493
f5164429
UD
14942004-06-30 Ulrich Drepper <drepper@redhat.com>
1495
1496 * include/net/if.h: Handle if_nameindex and if_freenameindex with
1497 libc_proto_hidden.
1498 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
1499 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
1500 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
1501 netlink if possible. Fall back on ioctl method if necessary.
442c29ab 1502 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
f5164429
UD
1503
1504 * include/unistd.h: Declare __truncate.
1505 * sysdeps/generic/truncate.c: Also define __truncate.
1506 * sysdeps/mach/hurd/truncate.c: Likewise.
1507 * sysdeps/unix/common/syscalls.list: Likewise.
1508 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
1509
0b8d1390
UD
15102004-06-29 Ulrich Drepper <drepper@redhat.com>
1511
1512 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1513 info.extra. Patch by Marcus Meissner.
1514
d3d35527
UD
15152004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1516
1517 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1518 Fix branch offset for a PLT entry.
1519
5fa2f83c
UD
15202004-06-20 Jim Meyering <jim@meyering.net>
1521
1522 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
1523 documentation.
1524
414650c5
UD
15252004-06-28 Ulrich Drepper <drepper@redhat.com>
1526
16ac7d45 1527 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
e2fd959d 1528 Workaround for [BZ #232].
16ac7d45 1529
414650c5
UD
1530 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
1531
15322004-06-28 GOTO Masanori <gotom@debian.or.jp>
1533
1534 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
1535 in ucs2/ucs2reverse when unaligned memory access is attempted.
1536 * iconv/tst-iconv5.c: New file.
1537 * iconv/Makefile (tests): Add tst-iconv5.
1538
e1be0bc5
RM
15392004-06-28 Jakub Jelinek <jakub@redhat.com>
1540
1541 * inet/bug-if1.c: Include <string.h>.
1542
15432004-06-19 Roland McGrath <roland@redhat.com>
1544
1545 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
1546 under this macro name instead.
1547 [NO_DO_WAITID]: Don't define it at all.
1548 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
1549 defined, then return ENOTSUP for combinations of selection bits other
1550 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
1551
1552 * posix/tst-waitid.c: New file.
1553 * posix/Makefile (tests): Add it.
1554
346f18ae
UD
15552004-06-28 Jakub Jelinek <jakub@redhat.com>
1556
1557 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
1558
1559 [BZ #231]
1560 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
1561 relocation in librt.so.
1562
1563 [BZ #230]
1564 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
1565 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
1566
340ef046
UD
15672004-06-27 Ulrich Drepper <drepper@redhat.com>
1568
539842a4
UD
1569 * elf/ldconfig.c (add_dir): Take chroot into account.
1570 Based on changes by HJ Lu and Hideki Iwamoto.
1571
482bbeb9
UD
1572 * nscd/connections.c (invalidate_cache): If the host cache has to
1573 be invalidated, re-read resolv.conf.
1574
340ef046
UD
1575 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
1576 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
1577 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
1578 if RES_NOIP6DOTINT flag is set.
1579 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1580
f2481c31
UD
15812004-06-25 Jakub Jelinek <jakub@redhat.com>
1582
1583 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
1585 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
1588
1589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
1590 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
1591
17fb9c53
UD
15922004-06-21 Jakub Jelinek <jakub@redhat.com>
1593
1594 [BZ #231]
1595 * sysdeps/unix/alpha/Makefile: New file.
1596 * sysdeps/unix/alpha/rt-sysdep.S: New file.
1597 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
1598
5a6ae8da
UD
15992004-06-18 Ulrich Drepper <drepper@redhat.com>
1600
163288fe
UD
1601 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
1602 determine the canonical name only for the first returned entry.
1603
5a6ae8da
UD
1604 * inet/bug-if1.c: New file.
1605 * inet/Makefile (tests): Add bug-if1.
1606
262788c3
RM
16072004-06-18 Roland McGrath <roland@frob.com>
1608
62780824
RM
1609 * Makerules (compile-mkdep-flags): Add -MT $@.
1610
1611 * Makefile (dist, tag-for-dist): New targets.
1612 (files-for-dist, tag-of-stem): New variables.
1613 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
1614 Make tar files using cvs export.
1615 (%.bz2, %.gz, tag-%): New pattern rules.
1616 (distribute): Variable removed.
1617 (+subdir_targets): Remove distinfo targets.
1618 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
1619 (rpm/%): Pattern rule removed.
1620 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
1621 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
1622 Targets removed.
1623 * Makerules (dist, subdir_distinfo): Targets removed.
1624 ($(objpfx)distinfo): Depend on $(distribute).
1625 * Make-dist: File removed.
1626
262788c3
RM
1627 * NEWS: Fix a typo. Update bug-reporting instructions.
1628
edc1aa3d
UD
16292004-06-17 Thorsten Kukuk <kukuk@suse.de>
1630
1631 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1632 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
1633 cpuset is wrongly set.
1634
16352004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
1638 for POWER4 machines.
1639
16402004-06-14 Jakub Jelinek <jakub@redhat.com>
1641
1642 [BZ #218]
1643 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
1644 in a local variable, point rp to that local variable afterwards.
1645
16462004-06-11 Jakub Jelinek <jakub@redhat.com>
1647
1648 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
1649 cases properly.
1650
16512004-06-17 Ulrich Drepper <drepper@redhat.com>
1652
1653 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
1654 error value for unknown interface. [BZ #198]
1655
5b2892d5
RM
16562004-06-13 Jakub Jelinek <jakub@redhat.com>
1657
1658 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
1659 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
1660 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
1661 the asm uses as its input, either of size __n where __n is known or
1662 0xfffffff.
1663 (strstr): Add "memory" clobber.
1664
0ab7f77e
RM
16652004-06-14 Jakub Jelinek <jakub@redhat.com>
1666
1667 [BZ #219]
1668 * nss/nsswitch.c (free_mem): Don't try to close a library handle
1669 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
1670
16712004-06-11 Dmitry V. Levin <ldv@altlinux.org>
1672
1673 [BZ #217]
1674 * debug/xtrace.sh: Fix typo in error diagnostics.
1675
6d00189e
RM
16762004-06-14 Andreas Schwab <schwab@suse.de>
1677
1678 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
1679 failed.
1680
e1ad4c53
RM
16812004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1682
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
1684 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
1686 that clobbers r19.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
1688 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
1690 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
1691 Fix pasto that overflowed sigcontext.v_reserve.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
1693 Fix pasto that clobbers r19.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
1695 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
1696 overflowed sigcontext.v_reserve.
1697
a3b85eba
RM
16982004-05-04 H.J. Lu <hongjiu.lu@intel.com>
1699
77526fd2 1700 [BZ #150]
a3b85eba
RM
1701 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
1702 instead of ".gnu.linkonce.ro." as the prefix for linkonce
1703 read-only section name.
1704
dd340846
RH
17052004-06-14 Richard Henderson <rth@redhat.com>
1706
1707 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1708 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1709
a9e526e7
RM
17102004-06-08 Jakub Jelinek <jakub@redhat.com>
1711
1712 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1713 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1714 (__backtrace): Don't call init #ifndef SHARED.
1715 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1716 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1717 (__backtrace): Don't call init #ifndef SHARED.
1718 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1719 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1720 (__backtrace): Don't call init #ifndef SHARED.
1721
f1847a84
RM
17222004-06-11 Roland McGrath <roland@redhat.com>
1723
1724 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1725 From Krzysztof Halasa <khc@pm.waw.pl>.
1726
b80af23a
RM
17272004-06-10 Jakub Jelinek <jakub@redhat.com>
1728
1729 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1730
f05a089d
RM
17312004-06-08 Jakub Jelinek <jakub@redhat.com>
1732
1733 [BZ #199]
1734 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1735 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
1736
1737 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1738 fails. Avoid memory leak if realloc fails.
1739
e17f8b61
RM
17402004-06-09 Jakub Jelinek <jakub@redhat.com>
1741
1742 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1743 NULL, "" or contains '=' character in it. Reported by
1744 Michael T Kerrisk <mtk-lists@gmx.net>.
1745 * stdlib/tst-environ.c: Include errno.h.
1746 (main): Add tests for these arguments to setenv/unsetenv.
1747
616340ca
RM
17482004-06-07 Roland McGrath <roland@frob.com>
1749
1750 * NEWS: Update bug reporting instructions. Fix some typos.
1751
40c38b6c
UD
17522004-06-05 Ulrich Drepper <drepper@redhat.com>
1753
1754 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1755 * stdio-common/_itoa.c: Add _itoa implementation.
1756
1757 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1758 to also send request. Add parameter to allow this.
1759 Change callers.
1760 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1761 * nscd/nscd_getpw_r.c: Likewise.
1762 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1763
41cbdf2a
AJ
17642004-06-05 Andreas Jaeger <aj@suse.de>
1765
1766 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1767 Handle more than 6 args correctly. Based on a patch by Masahide
c889f2cd 1768 Washizawa <washi@jp.ibm.com>.
41cbdf2a 1769
29762ba6
UD
17702004-06-04 Ulrich Drepper <drepper@redhat.com>
1771
1772 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1773 in all places, not __nss_not_use_nscd_group.
1774 Reported by Philippe Gregoire.
1775
75fccede
UD
17762004-06-03 Ulrich Drepper <drepper@redhat.com>
1777
1778 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1779
322861e8
UD
17802004-05-07 Dmitry V. Levin <ldv@altlinux.org>
1781
1782 * argp/argp-help.c (__argp_error, __argp_failure): Check result
1783 of __asprintf call and don't use string if it failed.
1784 * stdio-common/psignal.c (psignal): Likewise.
1785 * locale/programs/localedef.c (more_help): Likewise.
1786 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1787 arg_bool, parse_line): Check result of __asprintf calls and
1788 don't use string if they failed.
1789 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1790 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1791 call and exit if it failed.
1792
fbf86dda
UD
17932004-05-10 Jakub Jelinek <jakub@redhat.com>
1794
1795 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1796 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1797 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1798 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1799 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1800 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1801 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1802 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1803 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1804 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1805 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1806
18072004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
1808
1809 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1810 -momit-leaf-frame-pointer.
1811
1812 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1813 #ifdef AF_PACKET.
1814
1815 * sysdeps/mach/hurd/getcwd.c
1816 (_hurd_canonicalize_directory_name_intern): Only realloc when
1817 size is <= 0.
1818
1819 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1820 isn't page aligned.
1821
1822 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1823 new size.
1824
1825 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1826 __libc_write and __libc_lseek64.
1827
f9b23e88
RM
18282004-05-29 Roland McGrath <roland@redhat.com>
1829
1830 * elf/Makefile (shared-only-routines): Add dl-caller.
1831
0ac55e68
UD
18322004-05-28 Ulrich Drepper <drepper@redhat.com>
1833
1834 * sysdeps/powerpc/configure.in: New file.
1835
f2bfeadf
UD
18362004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1837
1838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1839 "altivec" to enable VMX instructions.
1840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1841 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1842 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1849
3dbfd811
UD
18502004-05-27 Jakub Jelinek <jakub@redhat.com>
1851
1852 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1853 __builtin_expm1l for GCC 3.5+.
1854 (__expl): Define using __builtin_expl for GCC 3.4+.
1855 (exp, expf, expl): Don't define for GCC 3.4+.
1856 (tan, tanf, tanl): Don't define for GCC 3.5+.
1857 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1858 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1859 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1860 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1861 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1862 for GCC 3.4+.
1863 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1864 Don't define for GCC 3.5+.
1865 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1866 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1867 define for GCC 3.5+.
1868 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1869 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1870 define for GCC 3.2+.
1871
18722004-05-27 Jakub Jelinek <jakub@redhat.com>
1873
1874 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1875 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1876 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1877 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1878 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1879 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1880 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1881 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1882 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1883 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1884 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1885 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1886 libc_hidden_builtin_def if MEMPCPY_P.
1887 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1888 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1889 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1890 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1891 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1892
dfdef02f
RM
18932004-05-26 Roland McGrath <roland@frob.com>
1894
1895 * sysdeps/generic/bits/in.h
1896 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1897 These are long obsolete in BSD systems where they originated.
1898 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1899
4a691b06
UD
19002004-05-26 Jakub Jelinek <jakub@redhat.com>
1901
1902 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1903 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1904 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1905 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1906 constant '\0' and first argument is not constant.
1907 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1908 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1909 For GCC 3.2+ use __builtin_strncpy.
1910 (strncat): For GCC 3.2+ use __builtin_strncat.
1911 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1912 constant.
1913 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1914 if both arguments are constant.
1915
19162004-05-26 Ulrich Drepper <drepper@redhat.com>
1917
1918 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1919 mapped addresses in gethostbyaddr.
1920
1773d1ba
UD
19212004-05-25 Ulrich Drepper <drepper@redhat.com>
1922
1923 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1924 flags parameter, convert afp to simple int parameter. Adjust code.
1925 typep was never != NULL and flags therefore also unused. *afp is
1926 never modified.
1927 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1928 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1929 handling for __nss_hostname_digits_dots calls.
1930 * nss/getXXbyYY_r.c: Likewise.
1931
1932 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1933
ffdd5e50
UD
19342004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1935
1936 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1937 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1938 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1939 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1940 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1941 implementation from w_sqrt.c.
1942 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1943 implementation from w_sqrtf.c.
1944 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1945 using inline __ieee754_sqrt().
1946 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1947 using inline __ieee754_sqrtf().
1948 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1949 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1950 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1951 PPC_FEATURE_* independent of __ASSEMBLER__.
1952
19532004-05-25 Jakub Jelinek <jakub@redhat.com>
1954
1955 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1956 include.
1957 (aio_start_notify_thread): Define if not defined.
1958 (notify_func_wrapper): Use it.
1959 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1960 include.
1961 (aio_create_helper_thread): Define if not defined.
1962 (__aio_create_helper_thread): New function.
1963 (__aio_enqueue_request): Use aio_create_helper_thread.
1964
1965 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1966 (struct ypresp_all_data): New type.
1967 (__xdr_ypresp_all): Change second argument to
1968 struct ypresp_all_data *. Replace ypall_foreach and
1969 ypall_data with objp->foreach and objp->data.
1970 (yp_all): Remove status variable, add data. Replace
1971 all uses of status with data.status. Initialize data.foreach
1972 and data.data instead of ypall_foreach and ypall_data.
1973
19742004-05-24 Jakub Jelinek <jakub@redhat.com>
1975
1976 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1977 in l_flags_1, not in l_flags.
1978
b84515a1
RM
19792004-04-10 Robert Millan <robertmh@gnu.org>
1980
1981 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1982 with sysdeps/generic/bits/in.h.
1983
47cc0570
RM
19842004-05-25 Roland McGrath <roland@frob.com>
1985
1986 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1987 GCC GPL to standard glibc LGPL.
1988
623281e0
UD
19892004-05-24 Ulrich Drepper <drepper@redhat.com>
1990
1991 * manual/string.texi (Copying and Concatenation): Fixed second
1992 concat example.
1993 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1994
75c827b5
UD
19952004-05-23 Ulrich Drepper <drepper@redhat.com>
1996
1997 * malloc/obstack.c: Don't allow linking with _obstack.
1998
9c8b466e
AS
19992004-05-23 Andreas Schwab <schwab@suse.de>
2000
2001 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
2002 of separate "m" constraints.
2003
48db0d69
RM
20042004-05-15 Chris Demetriou <cgd@broadcom.com>
2005
2006 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
2007 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
2008 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
2009
558c2954
UD
20102004-05-20 Paul Eggert <eggert@cs.ucla.edu>
2011
2012 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
2013 Add comment explaining why libc still defines it.
2014
afe01786
UD
20152004-05-19 Paul Eggert <eggert@cs.ucla.edu>
2016
2017 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
2018 obstack_alignment_mask, obstack_alloc, obstack_base,
2019 obstack_blank, obstack_blank_fast, obstack_chunk_size,
2020 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
2021 obstack_grow0, obstack_init, obstack_int_grow,
2022 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
2023 obstack_next_free, obstack_object_size, obstack_ptr_grow,
2024 obstack_ptr_grow_fast, obstack_room): Remove declarations of
2025 nonexistent functions.
2026
20272004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
2028
2029 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
2030 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
2031 [PIC]: Redundent for powerpc64, removed.
2032 (ENTRY): Generate size and alignment for opd entry.
2033 (EALIGN): Generate size and alignment for opd entry.
2034 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
2035 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
2036
b3b71a3b
UD
20372004-05-19 Ulrich Drepper <drepper@redhat.com>
2038
d4b60383
UD
2039 * misc/regexp.h: Say the functions have been withdrawn.
2040
b3b71a3b
UD
2041 * wcsmbs/tst-wcpncpy.c: Add more tests.
2042
48982f93
RM
20432004-05-18 Roland McGrath <roland@frob.com>
2044
2045 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
2046 standard glibc LGPL.
2047 * sysdeps/generic/unwind-dw2.c: Likewise.
2048 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
2049 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
2050 * sysdeps/generic/unwind-pe.h: Likewise.
2051
d40eb37a
UD
20522004-05-15 Petter Reinholdtsen <pere@hungry.com>
2053
2054 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
2055 MONTENEGRO" which have taken over the code 819. Patch from
2056 Danilo Segan. [BZ #40]
2057
20582004-05-15 Jakub Jelinek <jakub@redhat.com>
2059
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2061 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
2062 __sparc_get_pic_l7.
2063
20642004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
2065
2066 * catgets/gencat.c: Update bug reporting instructions.
2067 * csu/version.c: Likewise.
2068 * debug/catchsegv.sh: Likewise.
2069 * debug/pcprofiledump.c: Likewise.
2070 * debug/xtrace.sh: Likewise.
2071 * elf/ldd.bash.in: Likewise.
2072 * iconv/iconv_prog.c: Likewise.
2073 * iconv/iconvconfig.c: Likewise.
2074 * locale/programs/locale.c: Likewise.
2075 * locale/programs/localedef.c: Likewise.
2076 * login/programs/pt_chown.c: Likewise.
2077 * malloc/memusage.sh: Likewise.
2078 * malloc/memusagestat.c: Likewise.
2079 * malloc/mtrace.pl: Likewise.
2080 * manual/crypt.texi: Likewise.
2081 * manual/install.texi: Likewise.
2082 * nss/makedb.c: Likewise.
2083
20842004-05-14 Jakub Jelinek <jakub@redhat.com>
2085
2086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
2087 CHECK_STATIC_TLS if sym != NULL.
2088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2089 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
2090
20912004-05-12 Andreas Schwab <schwab@suse.de>
2092
2093 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
2094 when translating.
2095
20962004-05-13 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 * Rules (xtests): Depend on tests.
2099
f7803f51
UD
21002004-05-13 Jakub Jelinek <jakub@redhat.com>
2101
2102 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
2103 count is negative, yet write_ptr < write_end.
2104 (_IO_default_xsgetn): Avoid one underflow per char if count is
2105 negative, yet read_ptr < read_end.
2106
7f4311e8
UD
21072004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
2108
2109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
2110 equal to TAB3.
2111
99444c14
UD
21122004-05-12 Ulrich Drepper <drepper@redhat.com>
2113
2114 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
2115 call.
2116
afcdc998
RM
21172004-05-10 Roland McGrath <roland@frob.com>
2118
2119 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
2120 (__hurd_directory_name_split): Likewise.
2121
dcf147a5
UD
21222004-05-10 Ulrich Drepper <drepper@redhat.com>
2123
2124 * po/fr.po: Update from translation team.
2125
d56a461b
AJ
21262004-05-10 Andreas Jaeger <aj@suse.de>
2127
2128 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2129 Correctly compute alignment.
2130 Patch by Michael Matz <matz@suse.de>.
2131
66b3d198
UD
21322004-05-09 Ulrich Drepper <drepper@redhat.com>
2133
2134 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
2135 * sysdeps/posix/sigpause.c: Likewise.
2136 * signal/signal.h: Don't define sigpause macro unless needed.
2137
cdbf48be
UD
21382004-05-08 Jakub Jelinek <jakub@redhat.com>
2139
2140 * configure.in (libc_cv_libgcc_s_suffix): New check.
2141 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
2142 * config.make.in (libgcc_s_suffix): Set.
2143 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
2144
f32d2b81
UD
21452004-05-08 Ulrich Drepper <drepper@redhat.com>
2146
2147 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
2148
c67a469f
UD
21492004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
2150
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
2152 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
2153 Load argument values into temporary variables.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
2155 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
2156 Likewise.
2157
1fe42a2b
UD
21582004-05-07 Ulrich Drepper <drepper@redhat.com>
2159
2160 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
2161 need to be compiled with exceptions.
2162
f1debaf6
UD
21632004-05-06 Ulrich Drepper <drepper@redhat.com>
2164
9be31a51
UD
2165 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
2166 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
2167
2168 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
2169 realloc cannot fail.
2170
2171 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
2172 be expanded.
2173
2174 * nis/nis_table.c: Clean up memory handling.
2175 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
2176 * nis/nis_removemember.c (nis_removemember): Add comment
2177 explaining use of realloc.
2178
f1debaf6
UD
2179 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
2180 (carg): Likewise.
2181 Patch by Lev S Bishop <lev.bishop@yale.edu>.
2182
2183 * math/bug-tgmath1.c (main): Test fabs and carg as well.
2184
21852004-05-06 Richard Henderson <rth@redhat.com>
2186
2187 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
2188 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
2189 * sysdeps/unix/sysv/linux/alpha/Versions: Export
2190 __libc_alpha_cache_shape as a private symbol.
2191 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
2192 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
2193
165634aa
RH
21942004-05-06 Richard Henderson <rth@redhat.com>
2195
2196 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
f1debaf6
UD
2197 * sysdeps/alpha/divl.S: Use them.
2198 * sysdeps/alpha/divq.S: Likewise.
2199 * sysdeps/alpha/divqu.S: Likewise.
2200 * sysdeps/alpha/reml.S: Likewise.
2201 * sysdeps/alpha/remq.S: Likewise.
2202 * sysdeps/alpha/remqu.S: Likewise.
165634aa 2203
58d87ee1
UD
22042004-05-06 Ulrich Drepper <drepper@redhat.com>
2205
2206 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
2207 (cimag): Use it.
2208 (creal): Likewise.
2209 * math/Makefile (tests): Add bug-tgmath1.
2210 * math/bug-tgmath1.c: New file.
2211
495961c0
UD
22122004-05-05 Jakub Jelinek <jakub@redhat.com>
2213
2214 * sysdeps/alpha/atomicity.h: Remove.
2215 * sysdeps/generic/atomicity.h: Remove.
2216
22172004-05-05 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
2220 char *.
2221
ce118ec6
UD
22222004-04-22 David Mosberger <davidm@hpl.hp.com>
2223
2d7ae210
UD
2224 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
2225 rt-sysdep.
2226 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
2227
ce118ec6
UD
2228 * sysdeps/ia64/strcat.c: New file.
2229 * sysdeps/ia64/strcat.S: Delete.
2230
50c2b6d7
UD
22312004-05-04 Jakub Jelinek <jakub@redhat.com>
2232
2233 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
2234 defined.
2235
27b02589
UD
22362004-04-23 Jakub Jelinek <jakub@redhat.com>
2237
2238 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
2239 libc_hidden_proto. Define to __GI___libm_error_support for
2240 assembly going into libc.so.
2241 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
2242 libc_hidden_def.
2243
2244 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
2245 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
2246
2247 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
2248 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
2249 if USE___THREAD.
2250
5ce98c3f
UD
22512004-05-03 Jakub Jelinek <jakub@redhat.com>
2252
2253 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
2254 __USE_BSD or __USE_UNIX98.
2255 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2256 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2257 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
2258 Likewise.
2259 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2260 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2261 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2262 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
2263 Likewise.
2264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
2265 Likewise.
2266 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
2267 Likewise.
4bb8fc33 2268 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
5ce98c3f
UD
2269 Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
2271 Likewise.
2272 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
2279 Likewise.
2280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
2285 Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
2287 Likewise.
2288 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2289 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
2290 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
2291
22922004-05-01 Jakub Jelinek <jakub@redhat.com>
2293
2294 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
2295 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
2296 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
2297 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
2298 * sysdeps/unix/sysv/linux/Versions (libc): Remove
2299 __libc_sigaction@@GLIBC_PRIVATE.
2300 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
2301 __modify_ldt@@GLIBC_PRIVATE.
2302 * socket/Versions (libc): Remove __libc_accept, __libc_send,
2303 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
2304 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
2305 * stdio-common/Versions (libc): Remove
2306 _itoa_upper_digits@@GLIBC_PRIVATE.
2307 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
2308 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
2309 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
2310 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
2311 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
2312 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
2313 __libc_lseek64 @@GLIBC_PRIVATE.
2314
23152004-04-30 Jakub Jelinek <jakub@redhat.com>
2316
2317 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
2318 check.
2319
23202004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
2321
2322 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
2323 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
2324 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
2325 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
2326 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
2327 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
2328 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
2329 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
2330 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
2331 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
2332 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
2333 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
2334 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
2335 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
2336 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
2337 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
2338 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
2339 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
2340
2341 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
2342 mantissa for AIX long double format.
2343 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
2344 long double format.
2345 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
2346 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
2347 (_fpioconst_pow10): AIX long double format has same exponent range as
2348 double.
2349 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
2350 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
2351 as double.
2352
23532004-04-23 Art Haas <ahaas@airmail.net>
2354
2355 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
2356
6f0b2e1f
RM
23572004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
2358
2359 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
2360 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
2361 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
2362 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
2363 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
2364
420a2f8b
RM
23652004-04-29 Philip Blundell <pb@nexus.co.uk>
2366
2367 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
2368 entries.
2369
0c178dce
RM
23702004-04-29 Jakub Jelinek <jakub@redhat.com>
2371
6f0b2e1f
RM
2372 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
2373 prototypes and description [BZ #131].
2374
2375 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
2376 Patch by Ed Catmur <ed@catmur.co.uk>.
2377 * string/tst-inlcall.c (main): Add test for strpbrk.
2378
420a2f8b
RM
2379 [BZ #140]
2380 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
2381 include.
2382 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
2383 yet defined, #undef back after including linux/sysctl.h if defined
2384 here.
2385 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
2386 back after including linux/sysctl.h if defined here.
2387
0c178dce
RM
2388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
2389 for single precision register, add it to __asm clobbers [BZ #139].
2390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
2391 for single precision register, add it to __asm clobbers.
2392 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
2393 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
2394 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
2395 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
2396
8c70d1c4
AS
23972004-04-23 Andreas Schwab <schwab@suse.de>
2398
2399 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
2400 __attribute_used__.
2401
091e1f6a
UD
24022004-04-22 Philip Blundell <philb@gnu.org>
2403
2404 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
2405 when calling _dl_signal_error.
2406 (elf_machine_rel): Likewise.
2407
ab8dc78f
UD
24082004-04-21 Ulrich Drepper <drepper@redhat.com>
2409
2410 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
2411 and use it internally instead of __sigsetjmp.
2412 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
2413 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
2414 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
2415 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
2416 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
2417 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
2418 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
2419 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
2420 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
2421 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
2422 HIDDEN_JUMPTARGET for exit call.
2423 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
2424 _exit call.
2425 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
2426 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
2427 strcpy calls.
2428
b33ed432
UD
24292004-04-21 Jakub Jelinek <jakub@redhat.com>
2430
2431 * posix/tst-chmod.c (do_test): Fix a typo.
f22c9168 2432
b33ed432
UD
2433 * elf/lateglobal.c (main): Fix error checks.
2434 Patch by Stephen Clarke <stephen.clarke@st.com>.
2435
2436 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
2437 mention they have been added in ISO C99.
2438 Reported by Ben Pfaff <blp@cs.stanford.edu>.
2439
24402004-03-31 H.J. Lu <hongjiu.lu@intel.com>
2441
2442 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
2443
f9a06dc1
UD
24442004-04-20 Jakub Jelinek <jakub@redhat.com>
2445
2446 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
2447 EACCES.
2448
24492004-04-20 Jakub Jelinek <jakub@redhat.com>
2450
2451 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
2452 handling change.
2453 * stdio-common/tst-sscanf.c (int_tests): Adjust.
2454
2455 * nis/nss-nis.c: Include stdlib.h.
2456
2457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
2458 warning.
2459 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
2460 libc_hidden_builtin_def.
2461
24622004-04-20 Jim Meyering <jim@meyering.net>
2463
2464 * misc/error.c (error_tail): Don't leak upon realloc failure.
2465
24662004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2467
2468 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
2469 Use RETURN_ADDRESS instead of __builtin_return_address.
2470
bfa26122
UD
24712004-04-19 Ulrich Drepper <drepper@redhat.com>
2472
2473 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
2474 compact code.
2475
d3b52028 24762004-04-20 Jakub Jelinek <jakub@redhat.com>
22823085 2477
d3b52028
UD
2478 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
2479 do input_error () instead of conv_error () and don't look at errno.
2480 Don't eat any whitespace before %% if skip_space == 0.
2481 * stdio-common/tst-sscanf.c (int_tests): New array.
2482 (main): Run int_tests.
22823085 2483
0a901ba4 2484
d3b52028 2485See ChangeLog.14 for earlier changes.