]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* stdio-common/Makefile (aux): Add fxprintf.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
401a9ec9
UD
12005-07-19 Ulrich Drepper <drepper@redhat.com>
2
10ffcd52
UD
3 * stdio-common/Makefile (aux): Add fxprintf.
4 * stdio-common/fxprintf.c: New file.
5 * include/stdio.h: Add declaration for stdio.h.
6 * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
7 orientation test and two separate function calls.
8 * argp/argp-help.c: Likewise.
9 * assert/assert-perr.c: Likewise.
10 * assert/assert.c: Likewise.
11 * gmon/gmon.c: Likewise.
12 * inet/rcmd.c: Likewise.
13 * malloc/obstack.c: Likewise.
14 * misc/error.c: Likewise.
15 * misc/getpass.c: Likewise.
16 * posix/getopt.c: Likewise.
17 * resolv/res_hconf.c: Likewise.
18 * stdio-common/perror.c: Likewise.
19 * stdio-common/psignal.c: Likewise.
20 * stdlib/fmtmsg.c: Likewise.
21 * sunrpc/auth_unix.c: Likewise.
22 * sunrpc/clnt_perr.c: Likewise.
23 * sunrpc/clnt_tcp.c: Likewise.
24 * sunrpc/clnt_udp.c: Likewise.
25 * sunrpc/clnt_unix.c: Likewise.
26 * sunrpc/svc_simple.c: Likewise.
27 * sunrpc/svc_tcp.c: Likewise.
28 * sunrpc/svc_udp.c: Likewise.
29 * sunrpc/svc_unix.c: Likewise.
30 * sunrpc/xdr.c: Likewise.
31 * sunrpc/xdr_array.c: Likewise.
32 * sunrpc/xdr_rec.c: Likewise.
33 * sunrpc/xdr_ref.c: Likewise.
34 * sysdeps/generic/wordexp.c: Likewise.
35
36 * misc/Makefile: Add rules to build and run tst-error1.
37 * misc/tst-error1.c: New file.
38 * misc/error.c: Fix memory leak and possibly endless loop.
39
401a9ec9
UD
40 * configure.in: Check for -fstack-protector gcc option.
41 * config.make.in (have-ssp): Add template.
42 * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
43
44 * nscd/nscd.c (main): Don't ignore result of chdir call.
45
0c1a4a19
RM
462005-07-18 Roland McGrath <roland@redhat.com>
47
48 [BZ #869]
49 * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
50 objdump command line.
51
9f3731cf
UD
522005-07-18 Ulrich Drepper <drepper@redhat.com>
53
233399bc
UD
54 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
55
56 * nscd/connections.c: Fix a few wur warnings.
57
0c1a4a19 58 [BZ #1113]
9f3731cf
UD
59 * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
60 length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
61
62 * debug/confstr_chk.c: New file.
63 * debug/getdomainname_chk.c: New file.
64 * debug/getgroups_chk.c: New file.
65 * debug/gethostname_chk.c: New file.
66 * debug/getlogin_r_chk.c: New file.
67 * debug/ttyname_r_chk.c: New file.
68 * posix/bits/unistd.h: Add definitions for new debug versions.
69 * debug/tst-chk1.c: Add tests for new functions.
70 * debug/Versions: Export new functions.
71 * debug/Makefile (routines): Add new files.
72
73 * stdlib/bits/stdlib.h: Fix typo.
74
dc43e5e1
RM
752005-07-13 Thorsten Kukuk <kukuk@suse.de>
76
9f3731cf 77 * manual/Makefile (libc/index.html): Depend on dir-add.texi.
dc43e5e1 78
22870975
UD
792005-07-15 Ulrich Drepper <drepper@redhat.com>
80
5c08f24c 81 * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
22870975 82 where necessary.
5c08f24c 83 * wcsmbs/bits/wchar2.h: Likewise.
22870975 84
5852d1e5
AJ
852005-07-15 Andreas Jaeger <aj@suse.de>
86
87 * debug/Makefile (tst-lfschk3-ENV): New, set locale.
88 (tst-lfschk2-ENV): New.
89 (tst-lfschk1-ENV): New.
90 (tst-chk3-ENV): New.
91 (tst-chk2-ENV): New.
92 (tst-chk1-ENV): New.
93
a34dc4aa 94 [BZ #1079]
5852d1e5
AJ
95 * include/stdlib.h: Remove malloc attribute from __posix_memalign.
96 * stdlib/stdlib.h: Likewise.
97
8215c9ec
UD
982005-07-15 Ulrich Drepper <drepper@redhat.com>
99
100 * wcsmbs/bits/wchar2.h: New file.
101 * include/bits/wchar2.h: New file.
102 * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
103 requested.
104 * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
105 * string/bits/string3.h: Add fortified stpncpy definitions.
106 * sysdeps/generic/stpncpy_chk.c: New file.
107 * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
108 Export _IO_wstrn_jumps.
109 * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
110 * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
111 * debug/fgetws_chk.c: New file.
112 * debug/fgetws_u_chk.c: New file.
113 * debug/fwprintf_chk.c: New file.
114 * debug/swprintf_chk.c: New file.
115 * debug/vfwprintf_chk.c: New file.
116 * debug/vswprintf_chk.c: New file.
117 * debug/vwprintf_chk.c: New file.
118 * debug/wcpcpy_chk.c: New file.
119 * debug/wcpncpy_chk.c: New file.
120 * debug/wcscat_chk.c: New file.
121 * debug/wcscpy_chk.c: New file.
122 * debug/wcsncat_chk.c: New file.
123 * debug/wcsncpy_chk.c: New file.
124 * debug/wmemcpy_chk.c: New file.
125 * debug/wmemmove_chk.c: New file.
126 * debug/wmempcpy_chk.c: New file.
127 * debug/wmemset_chk.c: New file.
128 * debug/wprintf_chk.c: New file.
129 * debug/tst-chk1.c: Add tests for new functions.
130 * debug/Versions: Export new functions.
131 * debug/Makefile (routines): Add new functions.
132
7529e67e
UD
1332005-07-13 Ulrich Drepper <drepper@redhat.com>
134
f45729d8
UD
135 * nscd/nscd_helper.c: Add a few __builtin_expect.
136
a34dc4aa 137 [BZ #1080]
a08ab897 138 * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
7529e67e
UD
139 * nscd/nscd_helper.c (wait_on_socket): New function.
140 (get_mapping): Use wait_on_socket instead of poll. The former handles
141 EINTR of poll correctly.
142 (__nscd_open_socket): Likewise.
143 (get_mapping): Make sure BUF is aligned correctly.
144 (get_mapping): Use munmap on correct pointer.
145
b799f91d
UD
1462005-07-12 Ulrich Drepper <drepper@redhat.com>
147
a9564ae9
UD
148 * include/libc-symbols.h: Define macros for librt hidden symbols.
149 * include/time.h: Add librt_hidden_proto definition for clock_gettime.
150 * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
151 * sysdeps/unix/clock_gettime.c: Likewise.
152
b799f91d
UD
153 * stdlib/bits/stdlib.h: New file.
154 * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
155 requested.
156 * Makefile (headers): Add bits/stdlib.h.
157 * include/bits/stdlib.h: New file.
158 * debug/Depend: New file.
159 * debug/ptsname_r_chk.c: New file.
160 * debug/realpath_chk.c: New file.
161 * debug/wctomb_chk.c: New file.
162 * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
163 wctomb_chk.
164 * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
165 __wctomb_chk.
166 * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
167 __wctomb_chk.
168
d1abd625
UD
1692005-07-12 Jakub Jelinek <jakub@redhat.com>
170
44d75caf 171 [BZ #1106]
9d653cd1
UD
172 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
173 (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
174 instead of read and close_not_cancel_no_status instead of close.
175
44d75caf 176 [BZ #1106]
d1abd625
UD
177 * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
178 HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
179
46c818b3 1802005-06-27 Carlos O'Donell <carlos@systemhalted.org>
96c91d1c 181
46c818b3 182 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
96c91d1c
UD
183 after init_dfa.
184
3eea24da
UD
1852005-07-08 Ulrich Drepper <drepper@redhat.com>
186
d075e8ba
UD
187 * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
188 alignment.
189 * sysdeps/x86_64/fpu/s_sincos.S: New file.
190
9b8a7277
UD
191 * include/fenv.h: Add libm_hidden_proto for fesetround and
192 feholdexcept.
193 * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
194 * sysdeps/alpha/fpu/fesetround.c: Likewise.
195 * sysdeps/generic/feholdexcpt.c: Likewise.
196 * sysdeps/generic/fesetround.c: Likewise.
197 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
198 * sysdeps/i386/fpu/fesetround.c: Likewise.
199 * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
200 * sysdeps/ia64/fpu/fesetround.c: Likewise.
201 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
202 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
203 * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
204 * sysdeps/s390/fpu/fesetround.c: Likewise.
205 * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
206 * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
207 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
208 * sysdeps/sparc/fpu/fesetround.c: Likewise.
209 * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
210 * sysdeps/x86_64/fpu/fesetround.c: Likewise.
211 * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
212 ilogb.
213 * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
214 not ilogbf.
3eea24da
UD
215 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
216 __cos, not sin and cos.
217
0a33c55e
UD
2182005-07-07 Ulrich Drepper <drepper@redhat.com>
219
220 * resolv/res_send.c (send_dg): Recognize referral results and
221 treat them as server errors.
222 Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
223
2242005-07-08 Carlos O'Donell <carlos@systemhalted.org>
6c2d5829 225
6aeeeb9a
RM
226 * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
227
6c2d5829
RM
228 * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
229 * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
230 * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
231 * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
232 * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
233 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
234
96191db2
UD
2352005-07-07 Ulrich Drepper <drepper@redhat.com>
236
237 * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
238 * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
239 * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
3b6c37d4
UD
240 * sysdeps/generic/s_ctan.c (__ctan): Likewise.
241 * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
242 * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
96191db2 243
04395c90
UD
2442005-04-13 H.J. Lu <hongjiu.lu@intel.com>
245
246 [BZ #974]
247 * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
248 (__preinit_array_end): Likewise.
249 (__init_array_start): Likewise.
250 (__init_array_end): Likewise.
251 (__libc_csu_init): Take int argc, char **argv, char **envp.
252 Call preinit_array and init_array with argc, argv, envp.
253 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
254 INIT_MAIN_ARGS.
255 * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
256 * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
257 tst-array5dep.c, and tst-array5.exp.
258 (tests): Add tst-array5.
259 (tests-static): Add tst-array5-static.
260 ($(objpfx)tst-array5): New target.
261 ($(objpfx)tst-array5.out): Likewise.
262 ($(objpfx)tst-array5-static.out): Likewise.
263 * elf/tst-array5-static.c: New file.
264 * elf/tst-array5-static.exp: Likewise.
265 * elf/tst-array5.c: Likewise.
266 * elf/tst-array5.exp: Likewise.
267 * elf/tst-array5dep.c: Likewise.
268
6f8116b3
UD
2692005-07-07 Ulrich Drepper <drepper@redhat.com>
270
271 * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
272
253eb3a0
UD
2732005-07-05 Jakub Jelinek <jakub@redhat.com>
274
275 * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
276 Reported by Ulrich Weigand <uweigand@de.ibm.com>.
277
278 * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
279
9f0d7b6d
UD
2802005-07-06 Ulrich Drepper <drepper@redhat.com>
281
587d6ddc
UD
282 * elf/dl-error.c (_dl_signal_error): When testing for executable
283 being relocated, take into account that nothing might even be loaded.
284
9f0d7b6d
UD
285 * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
286 consider_profiling always to zero. Don't count of compiler to
287 remove unreached if block.
288 * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
289 Don't compile.
290 * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
291 * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
292 * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
293 Likewise.
294 * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
295 Likewise.
296 * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
297 (_dl_profile_resolve): Likewise.
298 * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
299 (_dl_profile_resolve): Likewise.
300 * gmon/Makefile: Add rules to build and run tst-profile-static.
301 * gmon/tst-profile-static.c: New file.
302 * Makeconfig (+link-static): Allow passing program-specific flags.
303
016c70ea
UD
3042005-07-05 Thorsten Kukuk <kukuk@suse.de>
305
44d75caf 306 [BZ #1111]
016c70ea
UD
307 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
308 module provides getgrgid_r.
309 (getgrnam_plusgroup): Preserve original return value.
310 * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
311 original return value.
312 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
313
a3832008
UD
3142005-07-05 Ulrich Drepper <drepper@redhat.com>
315
a34dc4aa 316 [BZ #1101]
ec73fd87
UD
317 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
318 MB_CUR_MAX.
319 (build_wcs_upper_buffer): Likewise.
320
a3832008
UD
321 * csu/elf-init.c (__libc_csu_fini): Pretty printing.
322
b3af1a24
RM
3232005-07-02 Roland McGrath <roland@redhat.com>
324
da0eaa47 325 * NEWS: Note LinuxThreads removal.
b3af1a24
RM
326 * manual/install.texi (Installation): Don't mention linuxthreads.
327 (Configuring and compiling): Don't use linuxthreads as example.
328
329 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
330 not linuxthreads.
331 * sysdeps/unix/sysv/linux/configure: Regenerated.
332 * resolv/Depend: Add nptl.
333 * rt/Depend: Likewise.
334
335 * linuxthreads, linuxthreads_db: Directories removed (preserved in
336 ports repository).
337
d19b1b4f
RM
3382005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
339
340 [BZ #1037]
341 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
342 use -mcpu=v8.
343
79ef9ed4
UD
3442005-06-16 Jakub Jelinek <jakub@redhat.com>
345
346 [BZ #1016]
347 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
348
bb6e8ca3
UD
3492005-06-23 Thorsten Kukuk <kukuk@suse.de>
350
44d75caf 351 [BZ #1109]
bb6e8ca3
UD
352 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
353 with own translation.
354
35f1e827
UD
3552005-06-25 Jakub Jelinek <jakub@redhat.com>
356
a34dc4aa 357 [BZ #1097]
bb6e8ca3
UD
358 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
359 t2 to uint32_t instead of ulong.
360 * sunrpc/Makefile (tests): Add tst-xdrmem.
361 * sunrpc/tst-xdrmem.c: New test.
362
35f1e827
UD
363 * Versions.def (ld): Add GLIBC_2.4.
364 * configure.in: Add --enable-stackguard-randomization option.
365 (ENABLE_STACKGUARD_RANDOMIZE): New define.
366 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
367 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
368 (_dl_setup_stack_chk_guard): New inline function.
369 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
370 (_dl_setup_stack_chk_guard): New inline function.
371 * elf/rtld.c (__stack_chk_guard): New variable.
372 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
373 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
374 use THREAD_SET_STACK_GUARD if defined.
375 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
376 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
377 (__libc_start_main): Set __stack_chk_guard to
378 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
379 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
380 traces of TLS_INIT_TP_EXPENSIVE.
381 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
382 * debug/Makefile (routines): Add stack_chk_fail.
383 (static-only-routines): Add stack_chk_fail_local.
384 * debug/stack_chk_fail_local.c: New file.
385 * debug/stack_chk_fail.c: New file.
386 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
387 tests.
388 * elf/tst-stackguard1.c: New file.
389 * elf/tst-stackguard1-static.c: New file.
390 * elf/stackguard-macros.h: New file.
391
6a463507
UD
3922005-06-21 Ulrich Drepper <drepper@redhat.com>
393
2f37117b
UD
394 * resource/Makefile (tests): Add tst-getrlimit.
395 * resource/tst-getrlimit.c: New file.
396
6a463507
UD
397 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
398 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
400
64d64de6
UD
4012005-06-20 Ulrich Drepper <drepper@redhat.com>
402
403 * nscd/nscd.init: Get more in line with lsb3.
404 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
405 * nscd/connections.c: Likewise.
406
dc69e770
UD
4072005-06-20 Jakub Jelinek <jakub@redhat.com>
408
a34dc4aa 409 [BZ #653]
24c709d1
UD
410 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
411 _LINUX_QUOTA_VERSION >= 2.
412 (_LINUX_QUOTA_VERSION): Define if not yet defined.
413
dc69e770
UD
414 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
415 RLIMIT_RTPRIO): Add.
416 (RLIMIT_NLIMITS): Adjust.
417 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
418 RLIMIT_RTPRIO): Add.
419 (RLIMIT_NLIMITS): Adjust.
420 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
421 RLIMIT_RTPRIO): Add.
422 (RLIMIT_NLIMITS): Adjust.
423 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
424 RLIMIT_RTPRIO): Add.
425 (RLIMIT_NLIMITS): Adjust.
426
0d9a071b
UD
4272005-06-17 Ulrich Drepper <drepper@redhat.com>
428
44d75caf 429 [BZ #1106]
9b5204dd
UD
430 * time/mktime.c: Always include <string.h> for prototype of
431 implicitly used memcpy.
432
44d75caf 433 [BZ #1104]
9b5204dd
UD
434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
435 (truncate64): Use __truncate, not truncate.
436 (__have_no_truncate64): Renamed from have_no_truncate64.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
438 (__have_no_truncate64): Renamed from have_no_truncate64.
439
0d9a071b
UD
440 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
441 float functions for gcc 4.
442
99c7f870
UD
4432005-06-10 Jakub Jelinek <jakub@redhat.com>
444
445 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
446 Handle prelinked libraries and binaries with new style PLT.
447
4482005-06-07 Jakub Jelinek <jakub@redhat.com>
449
450 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
451 R_PPC_REL16_HA): Define.
452
4532005-06-14 Alan Modra <amodra@bigpond.net.au>
454
455 * config.h.in (HAVE_ASM_PPC_REL16): Add.
456 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
457 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
458 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
459 * sysdeps/powerpc/powerpc32/configure.in: New file,
460 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
461 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
462 (ppc_got): New inline function.
463 (elf_machine_dynamic): Use ppc_got. Add attribute const.
464 (elf_machine_load_address): Add attribute const. Don't use int vars.
465 Use bcl rather than bl to save trashing branch target stack. Use
466 elf_machine_dynamic rather than duplicating code here.
467 (elf_machine_runtime_setup): New inline function replacing define.
468 Handle new PLT.
469 (elf_machine_fixup_plt): Handle new PLT.
470 (elf_machine_rela): Likewise.
471 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
472 (CALL_MCOUNT): Don't set up counter vars.
473 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
474 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
475 define when HAVE_ASM_PPC_REL16.
476 (_start): Add HAVE_ASM_PPC_REL16 code.
477 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
478 into the GOT when HAVE_ASM_PPC_REL16.
479 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
480 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
481 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
482 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
483 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
484 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
485 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
486 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
487 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
488 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
489 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
490 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
492 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
493 Likewise.
494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
496 (__getcontext): Likewise.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
498 (__setcontext): Likewise.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
500 (__swapcontext): Likewise.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
502 Comment.
503 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
504
5052005-06-17 Ulrich Drepper <drepper@redhat.com>
506
44d75caf 507 [BZ #1106]
99c7f870
UD
508 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
509 to use __GI_memset.
510 * sysdeps/posix/signal.c: Likewise.
511 * sysdeps/posix/sigset.c: Likewise.
512 * sysdeps/posix/sysv_signal.c: Likewise.
513 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
514 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
515 * sysdeps/unix/sysv/linux/system.c: Likewise.
516
7b01092b
UD
5172005-06-15 Jakub Jelinek <jakub@redhat.com>
518
a34dc4aa 519 [BZ #1088]
7b01092b
UD
520 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
521 or both classes equal here.
522 (parse_config_file): If both classes are equal, clear the second one.
523
b399a0c2
UD
5242005-06-08 Karl Kelley <kekelley@iastate.edu>
525
a34dc4aa 526 [BZ #1088]
b399a0c2
UD
527 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
528 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
529 valid classes were given or if both are equal.
530 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
531 and C_HS order.
532 (parse_config_file): Handle classes keyword.
533 * hesiod/README.hesiod: Mention addition of the classes keyword.
534
0e66ade5
UD
5352005-06-14 Ulrich Drepper <drepper@redhat.com>
536
a34dc4aa 537 [BZ #1085]
ec23b9be
UD
538 * configure.in: Add test for availability of libaudit.
539 * config.h.in: Define HAVE_LIBAUDIT.
540 * config.make.in: Define have-libaudit.
541 * nscd/Makefile: If libaudit is available, link nscd with it.
542 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
543 Patch by Steve Grubb <sgrubb@redhat.com>.
544
0e66ade5
UD
545 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
546 * sysdeps/posix/posix_fallocate64.c: Likewise.
547 * include/string.h: Use libc_hidden_proto for strnlen.
548 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
549 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
550 * intl/dcgettext.c: Add libc_hidden_def.
551 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
552 __backtrace_symbols_fd.
553 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
554 * sysdeps/generic/backtracesymsfd.c: Likewise.
555 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
556 * sysdeps/i386/backtrace.c: Likewise.
557 * sysdeps/ia64/backtrace.c: Likewise.
558 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
559 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
560 * sysdeps/s390/s390-32/backtrace.c: Likewise.
561 * sysdeps/s390/s390-64/backtrace.c: Likewise.
562
c63d8f80
UD
5632005-06-13 Ulrich Drepper <drepper@redhat.com>
564
565 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
566 where HANDLED_REALTIME is not defined. [BZ #966]
567
5682005-06-13 Jakub Jelinek <jakub@redhat.com>
569
a34dc4aa 570 [BZ #1096]
c63d8f80
UD
571 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
572 __netlink_receive): Remove prototypes.
573 (__netlink_request): New prototype.
574 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
575 <stdint.h>.
576 (__netlink_sendreq): Make static.
577 (__netlink_receive): Rename to...
578 (__netlink_request): ... this. Add type argument, call
579 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
580 with a bigger buffer. Don't record buffers that contain no
581 messages we are expecting.
582 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
583 and __netlink_receive pairs. Formatting.
584 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
585 __netlink_request instead of __netlink_sendreq and __netlink_receive
586 pair.
587
5882005-06-13 Thorsten Kukuk <kukuk@suse.de>
589
590 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
591 headers, instead copy important structs/defines.
592
5932005-06-13 Jakub Jelinek <jakub@redhat.com>
594
595 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
596 _dl_debug_state call.
597
74780cf6
UD
5982005-06-12 Ulrich Drepper <drepper@redhat.com>
599
600 * elf/dl-error.c (_dl_signal_error): Store information about use of
601 real malloc in the catch object.
602 (_dl_catch_error): Forward information about malloc use to caller
603 in new parameter.
604 (_dl_out_of_memory): Make static.
605 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
606 * elf/dl-libc.c: Likewise.
607 * elf/dl-open.c: Likewise.
608 * elf/rtld.c: Likewise.
609 Add new --audit option.
610 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
611 (rtld_global_ro._dl_signal_error): Add new parameter.
612 * include/dlfcn.h (_dl_catch_error): Add new parameter.
613 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
614 _dl_catch_error. Only free if the returned newly value says so.
615
c1cb31f1
RM
6162005-06-01 Roland McGrath <roland@redhat.com>
617
618 [BZ #959]
619 * posix/tst-mmap.c (main): Fill the test file with enough data for the
620 page size.
621
6b4b9713
UD
6222005-05-30 Jakub Jelinek <jakub@redhat.com>
623
624 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
625 GLRO(dl_osversion) has been already set to a value smaller than
626 _dl_discover_osversion (), don't overwrite it here.
627
8074c5c5
RM
6282005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
629
630 * sysdeps/mach/i386/syscall.S (syscall): Call END.
631
4d87b394
RH
6322005-05-28 Richard Henderson <rth@redhat.com>
633
634 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
635 * sysdeps/alpha/dl-dtprocnum.h: New file.
636 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
637 (elf_machine_load_address): Simplify to rely on gprel relocations.
638 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
639 Remove thread safety workaround for binutils 2.6.
640 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
641 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
642 (_dl_runtime_profile_new): New.
643 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
644 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
645 typo in _dl_call_pltexit argument loading.
646
647 * sysdeps/alpha/div_libc.h (funcnoplt): New.
6b4b9713
UD
648 * sysdeps/alpha/divl.S: Use it.
649 * sysdeps/alpha/divq.S: Likewise
650 * sysdeps/alpha/divqu.S: Likewise.
651 * sysdeps/alpha/reml.S: Likewise.
652 * sysdeps/alpha/remq.S: Likewise.
653 * sysdeps/alpha/remqu.S: Likewise.
4d87b394 654
7427c5de
UD
6552005-05-26 Andreas Schwab <schwab@suse.de>
656
657 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
658
6592005-05-26 Ulrich Drepper <drepper@redhat.com>
660
661 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
662 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
663
6642005-05-17 Alan Modra <amodra@bigpond.net.au>
665
666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
667 _dl_hwcap access in PIC && !SHARED case.
668 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
669
2f77e764
UD
6702005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
671
6b4b9713 672 * gmon/gmon.c: Add space in weak_alias use.
2f77e764
UD
673 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
674 * sysdeps/alpha/htonl.S: Likewise.
675 * sysdeps/alpha/htons.S: Likewise.
676 * sysdeps/alpha/elf/start.S: Likewise.
677 * sysdeps/i386/i386-mcount.S: Likewise.
678 * sysdeps/ia64/strchr.S: Likewise.
679 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
680 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
681 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
682 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
683 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
684 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
685 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
686 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
687 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
688 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
689 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
690 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
691 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
692 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
693 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
694 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
695 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
696 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
697 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
698 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
699 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
700 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
701 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
702 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
703 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
704 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
705 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
706 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
707 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
709 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
711 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
712 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
713 * sysdeps/sparc/sparc32/memset.S: Likewise.
714 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
715 * sysdeps/sparc/sparc32/strchr.S: Likewise.
716 * sysdeps/sparc/sparc32/strchr.S: Likewise.
717 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
718 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
719 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
720 * sysdeps/sparc/sparc64/memset.S: Likewise.
721 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
722 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
723 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
724 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
725 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
726 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
727 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
728 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
729 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
730 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
731 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
732 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
733 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
734 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
735 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
736 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
737 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
738 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
739 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
740 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
741 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
742 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
743 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
745 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
746 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
747 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
748 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
749 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
755 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
756 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
757 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
762 * sysdeps/x86_64/_mcount.S: Likewise.
763
1f708405
RM
7642005-05-24 Roland McGrath <roland@redhat.com>
765
766 * sysdeps/unix/sysv/linux/i386/sysdep.h
767 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
768 * sysdeps/i386/sysdep.h [PIC]: ... to here.
769
ce9b3bc1
RM
7702005-05-23 Roland McGrath <roland@redhat.com>
771
772 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
773 Subdirectories moved to ports repository.
774 * configure.in (base_machine): Remove arm* and thumb* patterns.
775 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
776
8fd2bb35
UD
7772005-05-23 Ulrich Drepper <drepper@redhat.com>
778
a34dc4aa 779 [BZ #1086]
8fd2bb35
UD
780 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
781 implementations are broken and don't accept ports < 512.
782
c179df4e
UD
7832005-05-22 Dmitry V. Levin <ldv@altlinux.org>
784
785 [BZ #961]
786 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
787 declarations.
788
60839ab9
UD
7892005-05-23 Ulrich Drepper <drepper@redhat.com>
790
a34dc4aa 791 [BZ #1086]
faf10b95
UD
792 * sunrpc/pm_getport.c (__get_socket): New function.
793 (pmap_getport): Use it to open a non-reserved socket to the portmapper
794 for TCP.
795 * include/rpc/pmap_clnt.h (__get_socket): Declare.
796 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
797 non-reserved socket for the portmapper.
ceef26a2 798 Based on a patch by Steve Dickson <steved@redhat.com>.
faf10b95 799
a34dc4aa 800 [BZ #1086]
3a0cd663
UD
801 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
802 If we tried looking at the usual range without success extend the
faf10b95 803 range to even lower ports.
3a0cd663 804
60839ab9
UD
805 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
806
2f4db0df
UD
8072005-05-22 Andreas Schwab <schwab@suse.de>
808
809 * elf/rtld.c: Include <dl-osinfo.h>.
810
f7d78e18
UD
8112005-05-17 Alan Modra <amodra@bigpond.net.au>
812
b0e196a4
UD
813 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
814 JUMPTARGET. Instead append @local to __syscall_error.
815 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
816 of JUMPTARGET. Instead append @local to labels.
817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
818 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
819 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
820 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
828
829 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
830 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
831 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
832 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
833 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
834 slot to access both constants.
835 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
836 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
837
f7d78e18
UD
838 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
839 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
840 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
841 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
842 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
843 (NEGZERO.0, POINTFIVE.0): Delete.
844 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
845 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
846 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
847 (TWO52.0, POINTFIVE.0): Delete.
848 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
849 (TWO23.0, POINTFIVE.0): Delete.
850 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
851 (TWO52.0): Delete.
852 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
853 (TWO23.0): Delete.
854 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
855
363dd976
UD
8562005-05-19 Richard Henderson <rth@redhat.com>
857
858 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
859 CLOCK_REALTIME.
860
861 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
862 __arch_compare_and_exchange_bool_64_acq,
863 __arch_compare_and_exchange_val_32_acq,
864 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
865 Use __sync builtin without _si or _di suffix.
866
8672005-05-19 Jakub Jelinek <jakub@redhat.com>
868
869 [BZ #955]
870 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
871 <UFFFF> and above.
872
8732005-05-17 Andreas Schwab <schwab@suse.de>
874
875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
876 (clock_getcpuclockid): Always return a defined value.
877
43d0c8ee
RM
8782005-05-17 Neal H. Walfield <neal@gnu.org>
879
880 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
881 instead of [SALEN].
882 (gaih_inet): Likewise.
883
eac3813b
UD
8842005-05-11 Ulrich Drepper <drepper@redhat.com>
885
886 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
887 (Elf64_auxv_t): Likewise.
39fb308f
UD
888 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
889 removal of a_ptr element in ElfXX_auxv_t.
890 * elf/dl-support.c (_dl_aux_init): Likewise.
eac3813b 891
6ba85a6d
RM
8922005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
893
894 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
895 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
896
387bbe63
RM
8972005-05-09 Alan Modra <amodra@bigpond.net.au>
898
899 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
900 .pushsection/.popsection in place of .section/.previous.
901
322e489b
UD
9022005-05-08 Ulrich Drepper <drepper@redhat.com>
903
4bf8665d 904 * MakeTAGS: Make xgettext not look into test cases.
6f8ac8ec 905
322e489b
UD
906 * MakeTAGS: Make sure translations in error calls are marked with
907 c-format by xgettext.
908
83c0f41f
UD
9092005-05-07 Ulrich Drepper <drepper@redhat.com>
910
911 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
912 functions since gcc sometimes forgets the attribute for the
913 standard functions.
914
7b918993
UD
9152005-05-06 Jakub Jelinek <jakub@redhat.com>
916
917 [BZ #934]
918 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
919 __libc_lock_* macros if not _LIBC.
920 (struct re_dfa_t): Add lock.
921 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
922 * posix/regexec.c (regexec, re_search_stub): Add locking.
923
fee732e5
UD
9242005-05-04 Jakub Jelinek <jakub@redhat.com>
925
926 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
927 as argument to the scripts.
928 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
929 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
930 * intl/tst-gettext5.sh: Likewise.
931
932 * intl/tst-translit.sh: Add mkdir -p.
933
934 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
935 .ifndef/.endif to allow use of this macro more than once per .S
936 file.
937 (LOAD_PIC_REG): New macro.
938 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
939 information.
940 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
941 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
942 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
943 information.
944 * sysdeps/i386/fpu/e_log10f.S: Likewise.
945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
947 * sysdeps/i386/fpu/e_log2l.S: Likewise.
948 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
949 * sysdeps/i386/fpu/s_lrint.S: Likewise.
950 * sysdeps/i386/fpu/s_llrint.S: Likewise.
951 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
952 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
953 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
954 * sysdeps/i386/fpu/e_log.S: Likewise.
955 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
956 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
959 * sysdeps/i386/fpu/s_log1p.S: Likewise.
960 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
961 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
962 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
963 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
964 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
965 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
966 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
967 * sysdeps/i386/fpu/e_acosh.S: Likewise.
968 * sysdeps/i386/fpu/s_cexp.S: Likewise.
969 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
971 * sysdeps/i386/fpu/e_powl.S: Likewise.
972 * sysdeps/i386/fpu/e_powf.S: Likewise.
973 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
974 * sysdeps/i386/fpu/e_logl.S: Likewise.
975 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
976 * sysdeps/i386/fpu/s_frexp.S: Likewise.
977 * sysdeps/i386/fpu/e_pow.S: Likewise.
978 * sysdeps/i386/fpu/e_logf.S: Likewise.
979 * sysdeps/i386/fpu/e_log2.S: Likewise.
980 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
982 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
983 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
986 * sysdeps/i386/fpu/e_log10.S: Likewise.
987 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
988 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
989 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
991 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
993 * sysdeps/i386/fpu/e_log2f.S: Likewise.
994 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
995 * sysdeps/i386/mul_1.S: Likewise.
996 * sysdeps/i386/strtok.S: Likewise.
997 * sysdeps/i386/sub_n.S: Likewise.
998 * sysdeps/i386/submul_1.S: Likewise.
999 * sysdeps/i386/i586/addmul_1.S: Likewise.
1000 * sysdeps/i386/i586/memcpy.S: Likewise.
1001 * sysdeps/i386/i586/mul_1.S: Likewise.
1002 * sysdeps/i386/i586/rshift.S: Likewise.
1003 * sysdeps/i386/i586/sub_n.S: Likewise.
1004 * sysdeps/i386/i586/submul_1.S: Likewise.
1005 * sysdeps/i386/i686/memcmp.S: Likewise.
1006 * sysdeps/i386/i686/memmove.S: Likewise.
1007 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1008 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1009 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1010 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1011
5085cd1f
UD
10122005-05-03 Ulrich Drepper <drepper@redhat.com>
1013
1ad9da69
UD
1014 * sysdeps/i386/add_n.S: Add call frame information.
1015 * sysdeps/i386/addmul_1.S: Likewise.
1016 * sysdeps/i386/bsd-setjmp.S: Likewise.
1017 * sysdeps/i386/lshift.S: Likewise.
1018 * sysdeps/i386/memchr.S: Likewise.
1019 * sysdeps/i386/memcmp.S: Likewise.
1020 * sysdeps/i386/mul_1.S: Likewise.
1021 * sysdeps/i386/rawmemchr.S: Likewise.
1022 * sysdeps/i386/rshift.S: Likewise.
1023 * sysdeps/i386/stpncpy.S: Likewise.
1024 * sysdeps/i386/strchr.S: Likewise.
1025 * sysdeps/i386/strchrnul.S: Likewise.
1026 * sysdeps/i386/strcspn.S: Likewise.
1027 * sysdeps/i386/strpbrk.S: Likewise.
1028 * sysdeps/i386/strrchr.S: Likewise.
1029 * sysdeps/i386/strspn.S: Likewise.
1030 * sysdeps/i386/strtok.S: Likewise.
1031 * sysdeps/i386/sub_n.S: Likewise.
1032 * sysdeps/i386/submul_1.S: Likewise.
1033 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
1034 * sysdeps/i386/i486/strcat.S: Likewise.
1035 * sysdeps/i386/i586/add_n.S: Likewise.
1036 * sysdeps/i386/i586/addmul_1.S: Likewise.
1037 * sysdeps/i386/i586/lshift.S: Likewise.
1038 * sysdeps/i386/i586/memcpy.S: Likewise.
1039 * sysdeps/i386/i586/memset.S: Likewise.
1040 * sysdeps/i386/i586/mul_1.S: Likewise.
1041 * sysdeps/i386/i586/rshift.S: Likewise.
1042 * sysdeps/i386/i586/strchr.S: Likewise.
1043 * sysdeps/i386/i586/strcpy.S: Likewise.
1044 * sysdeps/i386/i586/sub_n.S: Likewise.
1045 * sysdeps/i386/i586/submul_1.S: Likewise.
1046 * sysdeps/i386/i686/add_n.S: Likewise.
1047 * sysdeps/i386/i686/memcmp.S: Likewise.
1048 * sysdeps/i386/i686/memmove.S: Likewise.
1049 * sysdeps/i386/i686/mempcpy.S: Likewise.
1050 * sysdeps/i386/i686/memset.S: Likewise.
1051 * sysdeps/i386/i686/strtok.S: Likewise.
1052 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1053 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1054 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1055 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1056 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1057 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1058
1059 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
1060
5085cd1f
UD
1061 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
1062 on ppc in 2.6.12.
1063
efe330ae
UD
10642005-04-29 Jakub Jelinek <jakub@redhat.com>
1065
a34dc4aa 1066 [BZ #1083]
efe330ae
UD
1067 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
1068 call ftruncate if offset is bigger than current size. Make sure
1069 the file is offset + len bytes long if that is more than current size.
1070 Don't overwrite previous content of the file.
1071 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1072 Likewise.
1073
ccaee9ce
RM
10742005-05-02 Roland McGrath <roland@redhat.com>
1075
1076 [BZ #924]
1077 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
1078
450cd55b
RM
10792005-04-29 Roland McGrath <roland@redhat.com>
1080
1829dc46
RM
1081 * timezone/africa: Update from tzdata2005i.
1082 * timezone/asia: Likewise.
1083 * timezone/northamerica: Likewise.
1084 * timezone/yearistype: Likewise.
1085
450cd55b
RM
1086 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
1087
458901c6
UD
10882005-04-29 Ulrich Drepper <drepper@redhat.com>
1089
a34dc4aa 1090 [BZ #1093]
458901c6
UD
1091 * nis/nis_table.c: Fix realloc handling.
1092 * nis/nis_removemember.c: Likewise.
1093
da4b5d7c
UD
10942005-04-28 Ulrich Drepper <drepper@redhat.com>
1095
1096 [BZ #798]
1097 * nscd/Makefile: Help losers who use --with-headers.
1098
453d8199
RM
10992005-04-28 Roland McGrath <roland@redhat.com>
1100
1101 [BZ #796]
1102 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
1103 Define NEED_DL_SYSINFO_DSO for all platforms.
1104
1105 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
1106 * sysdeps/alpha/dl-sysdep.h: Likewise.
1107 Use #include_next instead of duplicating generic file's contents.
1108 * sysdeps/ia64/dl-sysdep.h: Likewise.
1109 * sysdeps/sparc/dl-sysdep.h: Likewise.
1110
11112005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
1112
1113 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
1114
11152005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
1116
1117 [BZ #781]
1118 * sysdeps/unix/sysv/linux/kernel-features.h
1119 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
1120 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
1121 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
1122 with 2.6.1.
1123 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
1124
572028fa
UD
11252005-04-28 Ulrich Drepper <drepper@redhat.com>
1126
62d01985
UD
1127 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
1128 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1129 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
1130 cfi_startproc and cfi_endproc.
1131
b1ecbed2
UD
1132 * configure.in: Remove ultrasparc names.
1133
8406a53a
UD
1134 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
1135
11362005-03-27 Bruno Haible <bruno@clisp.org>
1137
1138 Make it possible for multiple threads to use gettext() in different
1139 locales.
1140 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
1141 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
1142 field.
1143 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
1144 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
1145 search and newp.
1146
1147 * intl/tst-gettext4.c: New file.
1148 * intl/tst-gettext4.sh: New file.
1149 * intl/tst-gettext4-de.po: New file.
1150 * intl/tst-gettext4-fr.po: New file.
1151 * intl/tst-gettext5.c: New file.
1152 * intl/tst-gettext5.sh: New file.
1153 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
1154 tst-gettext4-fr.po, tst-gettext5.sh.
1155 (multithread-test-srcs): New variable.
1156 (test-srcs): Add its contents.
1157 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
1158 (tst-gettext4.out, tst-gettext5.out): New rules.
1159 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
1160 Add rule for linking the multithread-test-srcs with the appropriate
1161 thread-library.
1162
11632005-04-28 Ulrich Drepper <drepper@redhat.com>
1164
1165 * po/rw.po: New file. From translation team.
1166
572028fa
UD
1167 * scripts/config.guess: Update from upstream.
1168 * scripts/config.sub: Likewise.
1169
75596b98
UD
11702005-04-27 Ulrich Drepper <drepper@redhat.com>
1171
a34dc4aa 1172 [BZ #1094]
75596b98
UD
1173 * nscd/connections.c (nscd_run): Use time() value in prune_cache
1174 call, not timeout value, since the latter might be from another clock.
1175
84060bad
RM
11762005-04-27 Roland McGrath <roland@redhat.com>
1177
5e2d8ac8
RM
1178 [BZ #877]
1179 * posix/unistd.h: Remove __nonnull from acct decl.
1180
84060bad
RM
1181 * rt/tst-cpuclock1.c: New file.
1182 * rt/tst-cpuclock2.c: New file.
1183 * rt/tst-cputimer1.c: New file.
1184 * rt/tst-cputimer2.c: New file.
1185 * rt/tst-cputimer3.c: New file.
1186 * rt/Makefile (tests): Add them.
1187
1188 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
1189 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
1190 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
1191 (HAS_CPUCLOCK): New macro.
1192 (clock_getcpuclockid): Function removed.
1193 #include the new linux file to define it instead.
1194 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
1195 New function, broken out of ...
1196 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
1197 (realtime_gettime): New function, broken out of ...
1198 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
1199 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
1200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
1201 (SYSDEP_GETTIME_CPUTIME): New macro.
1202 (SYSDEP_GETTIME): Use both.
1203 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
1204 out of ...
1205 (SYSDEP_GETTIME): ... here. Use it.
1206 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
1207 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
1208 kernel support and falling back to hp-timing code.
1209 * sysdeps/posix/clock_getres.c
1210 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
1211 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
1212 (realtime_getres): New function, broken out of ...
1213 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
1214 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
1215 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
1216 (SYSDEP_GETRES_CPUTIME): New macro.
1217 (SYSDEP_GETRES): Use both.
1218 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
1219 out of ...
1220 (SYSDEP_GETRES): ... here. Use it.
1221 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
1222 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
1223 kernel support and falling back to hp-timing code.
1224 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
1225 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
1226 translating to the kernel clockid_t for our own process/thread clock.
1227
0f888d8e
UD
12282005-04-27 Ulrich Drepper <drepper@redhat.com>
1229
1230 * stdlib/test-canon.c: Make doesExist a directory and add more tests
1231 for the new error case.
1232
12332004-06-02 Dmitry V. Levin <ldv@altlinux.org>
1234 Ranjani Murthy <ranmur@gmail.com>
1235
1236 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
1237 return NULL and set errno to ENOTDIR for such pathnames like
1238 "/path/to/existing-non-directory/".
1239
935f3e67
UD
12402005-04-26 Ulrich Drepper <drepper@redhat.com>
1241
44d75caf 1242 [BZ #1105]
935f3e67
UD
1243 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
1244 tm_gmtoff.
1245 * time/Makefile (tests): Add tst-strptime2.
1246 * time/tst-strptime2.c: New file.
1247
bfc832cc
UD
12482005-04-26 Jakub Jelinek <jakub@redhat.com>
1249
a34dc4aa 1250 [BZ #1081]
bfc832cc
UD
1251 * elf/dl-close.c: Include stddef.h.
1252 (_dl_close): If called recursively, just remember GC needs to be rerun
1253 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
1254 decreased to 1. Rerun GC at the end if any destructor unloaded some
1255 additional libraries.
1256 * elf/Makefile: Add rules to build and run unload6 test.
1257 * elf/unload6.c: New test.
1258 * elf/unload6mod1.c: New file.
1259 * elf/unload6mod2.c: New file.
1260 * elf/unload6mod3.c: New file.
1261
1262 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
1263 if magic_p is not NULL.
1264 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
1265 (malloc_check): Fail if sz == -1.
1266 (free_check): Adjust mem2chunk_check caller.
1267 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
1268 oldmem != NULL, call free_check and return NULL. If reallocating
1269 and returning NULL, invert magic byte again to make oldmem valid
1270 region for further checking.
1271 (memalign_check): Fail if bytes == -1.
1272 * malloc/Makefile: Add rules to build and run tst-mcheck.
1273 * malloc/tst-mcheck.c: New test.
1274
462be690
UD
12752005-04-26 Ulrich Drepper <drepper@redhat.com>
1276
44d75caf 1277 [BZ #1110]
462be690
UD
1278 * stdio-common/vfscanf.c: Correctly account for characters of
1279 decimal points right after +-.
1280
bdd075fe
RM
12812005-04-26 Roland McGrath <roland@redhat.com>
1282
1283 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
1284 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
1285
b34cbd14
RM
12862005-04-25 Roland McGrath <roland@redhat.com>
1287
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1289 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
1290
1291 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
1292
1293 * elf/dl-load.c: Revert last change.
1294
64c01648
UD
12952005-04-24 Ulrich Drepper <drepper@redhat.com>
1296
44d75caf 1297 [BZ #1110]
64c01648
UD
1298 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
1299 Patch by Hamed Malek <hamed@bamdad.org>.
1300
6c632009
RM
13012005-04-21 Roland McGrath <roland@redhat.com>
1302
1303 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
1304 since Linux ignores it in user mmap calls.
1305
87f37b48
RM
13062005-04-17 David S. Miller <davem@davemloft.net>
1307
1308 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
1309 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1310
21cee297
RM
13112005-04-15 Roland McGrath <roland@redhat.com>
1312
1313 * timezone/Makefile (zic-deps): New variable.
1314 ($(testdata)/America/New_York): Use it instead of explicit deps.
1315 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
1316 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
1317 (%/UTC %/Universal): New pattern rule, replaces ...
1318 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
1319 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
1320 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
1321
c9e16947
RM
13222005-04-14 Roland McGrath <roland@redhat.com>
1323
1324 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
1325 (extract): Filter-out distinfo file name.
1326
1327 [BZ #253]
1328 * MakeTAGS (text-srcs): Match %.bash.in files too.
1329
1330 [BZ #253]
1331 * nscd/Makefile (all-nscd-modules): New variable, include selinux
1332 module regardless of configuration.
1333 (distribute): Use that instead of $(nscd-modules).
1334
edac0e8f
UD
13352005-04-13 David S. Miller <davem@davemloft.net>
1336
1337 Add sparc64 TLS and NPTL support.
1338 * elf/tls-macros.h: Add Sparc64 defines.
1339 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
1340 always_inline.
1341 (elf_machine_fixup_plt): Likewise.
1342 (elf_machine_rela): Handle TLS relocations.
1343 (elf_machine_type_cleaa): Likewise.
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1345 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1346 It does not always fit in R_SPARC_GOT13 when building -fPIC.
1347 Also, add TLS handling.
1348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1349 Increase it to 2.4.21 for sparc64.
1350 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1351 backtrace by zero'ing out %fp. Store away flags, func_ptr,
1352 and func_arg in global registers not local registers.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1354 and CTID arguments properly. Add RESET_PID handling.
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1356 do not invoke __sigprocmask(). We can always assume rt signals
1357 are present on sparc64, so just do an inline syscall.
1358
13592005-04-13 Jakub Jelinek <jakub@redhat.com>
1360
1361 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1362 inclusion guard for the first half of the header.
1363 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1364 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1365 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1366 #ifndef dl_machine_h guarded part of the header.
1367
506cbf1f
UD
13682005-04-14 Ulrich Drepper <drepper@redhat.com>
1369
87e7eef4 1370 [BZ #851]
506cbf1f
UD
1371 * posix/execvp.c (execvp): Use file name including path when
1372 trying to run it with shell.
1373 * posix/Makefile: Add rules to build and run tst-execvp3.
1374 * posix/tst-execvp3.c: New file.
1375
806bc96a
UD
13762005-04-12 Ulrich Drepper <drepper@redhat.com>
1377
a34dc4aa 1378 [BZ #1090]
806bc96a
UD
1379 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1380 * string/tst-strfry.c: New file.
1381 * string/Makefile (tests): Add tst-strfry.
1382
79827876
RM
13832005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
1384
1385 * manual/string.texi: Fix typo in wmemcpy decl.
1386
e638c1a2
RM
13872005-04-10 David S. Miller <davem@davemloft.net>
1388
1389 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1390
9cb97cd4
RM
13912005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
1392
1393 * FAQ.in: Explain why `make' might fail running rpcgen.
1394 * FAQ: Regenerated.
1395
ec781e12
RM
13962005-04-07 Roland McGrath <roland@redhat.com>
1397
1398 * po/libc.pot: Regenerated.
1399
ab1d521d
RM
14002005-04-07 Roland McGrath <roland@redhat.com>
1401
1402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1403 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1404 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1405 we can skip the uname call if it's there.
1406 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1407 DL_SYSDEP_OSCHECK here.
1408 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1409
1410 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1411 Add _dl_sysinfo_map.
1412 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1413 rtld_is_main case. Call it unconditionally later.
1414 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1415 Initialize GLRO(dl_sysinfo_map).
1416 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1417 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1418 (_dl_important_hwcaps)
1419 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1420 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1421 and bit values.
1422 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1423 (hwcap_extra): New static variable.
1424 (is_hwcap_platform): Check hwcap_extra for a matching name.
1425 Remove tls special case.
1426 (path_hwcap): Likewise.
1427 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1428 and their names, stored in hwcap_extra.
1429 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1430
1431 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1432 _dl_hwcap and _dl_hwcap_mask.
1433 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1434 AT_HWCAP to unsigned long int.
1435 * elf/dl-support.c (_dl_aux_init): Likewise.
1436 (_dl_hwcap): Update defn.
1437
1438 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1439 * elf/ldconfig.c (search_dir): Likewise.
1440
6111babe
RM
14412005-04-05 Roland McGrath <roland@redhat.com>
1442
da232bf9
RM
1443 * NEWS: Copy 2.3.5 section from 2.3 branch.
1444
5cc59727
RM
1445 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
1446 file and mv it into place.
1447 * intl/tst-gettext3.sh: Likewise.
1448
1449 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1450 are up to date in srcdir. Touch all configure scripts after export.
1451
6111babe
RM
1452 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1453
cd1fe198
RM
14542005-04-05 H.J. Lu <hongjiu.lu@intel.com>
1455
5cc59727 1456 [BZ #592]
cd1fe198
RM
1457 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1458 (comment changes only).
1459 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1460 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1461 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1462 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1463 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1464 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1465 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1466 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1467 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1468 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1469 * sysdeps/ia64/fpu/e_log.S: Likewise.
1470 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1471 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1472 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1473 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1474 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1475 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1476 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1477 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1478 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1479 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1480 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1481 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1482 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1483 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1484 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1485 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1486 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1487 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1488 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1489 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1490 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1491 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1492 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1493 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1494 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1495 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1496 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1497 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1498 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1499
613d8d52
RM
15002005-04-05 Roland McGrath <roland@redhat.com>
1501
1502 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1503 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1504
404a4e2f
RM
15052005-04-04 David S. Miller <davem@davemloft.net>
1506
1507 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1508 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1509 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1510 (elf_machine_runtime_setup): Test for dl_profile non-null.
1511 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1512 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1513 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1514 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1515 (elf_machine_runtime_setup): Test for dl_profile non-null.
1516 * sysdeps/sparc/bits/link.h: New file.
1517 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1518 La_sparc64_regs, La_sparc64_retval): New.
1519 (struct audit_ifaces): Add sparc entries.
1520 * elf/tst-auditmod1.c: Add sparc entries.
1521
4e82c610
UD
15222005-03-27 Bruno Haible <bruno@clisp.org>
1523
1524 * intl/tst-gettext3.c: New file.
1525 * intl/tst-gettext3.sh: New file.
1526 * intl/Makefile (distribute): Add tst-gettext3.sh.
1527 (test-srcs): Add tst-gettext3.
1528 (tests): Depend on tst-gettext3.out.
1529 (tst-gettext3.out): New rule.
1530 (CFLAGS-tst-gettext3.c): New variable.
1531
1532 Fix bug exposed by tst-gettext3.
1533 * intl/gettextP.h (struct converted_domain): New type.
1534 (struct loaded_domain): Remove the conv, conv_tab fields. Add
1535 conversions, nconversions fields.
1536 (_nl_init_domain_conv): Remove declaration.
1537 (_nl_free_domain_conv): Remove declaration.
1538 (_nl_find_msg): Add convert argument.
1539 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1540 (_nl_find_msg): Add convert argument. When a conversion to a different
1541 charset is needed, create a new converted_domain element, instead of
1542 throwing away the old converted translations.
1543 (get_output_charset): New function.
1544 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1545 (_nl_free_domain_conv): Remove function.
1546 (_nl_load_domain): Initialize the conversions array to empty. Use
1547 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1548 entry.
1549 (_nl_unload_domain): Free the conversions array and its contents.
1550
1551 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1552 (struct binding): Likewise.
1553 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1554 modifications.
1555
7a50b1f6
UD
15562005-04-04 Jakub Jelinek <jakub@redhat.com>
1557
a34dc4aa 1558 [BZ #1082]
7a50b1f6
UD
1559 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1560 of trying to encode uninitialized arglen.
1561
15622005-04-04 Ulrich Drepper <drepper@redhat.com>
1563
5cc59727 1564 [BZ #825]
7a50b1f6
UD
1565 * timezone/scheck.c: Update from tzcode2005h.
1566 * timezone/tzfile.h: Likewise.
1567 * timezone/zdump.c: Likewise.
1568 * timezone/zic.c: Likewise.
1569
5cc59727 1570 [BZ #825]
7a50b1f6
UD
1571 * timezone/antarctica: Update from tzdata2005h.
1572 * timezone/asia: Likewise.
1573 * timezone/australasia: Likewise.
1574 * timezone/etcetera: Likewise.
1575 * timezone/europe: Likewise.
1576 * timezone/northamerica: Likewise.
1577 * timezone/southamerica: Likewise.
1578 * timezone/leapseconds: Likewise.
1579 * timezone/iso3166.tab: Likewise.
1580
91682d70
UD
15812005-03-31 H.J. Lu <hongjiu.lu@intel.com>
1582
5cc59727 1583 [BZ #592]
91682d70
UD
1584 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1585
15862005-04-01 Ulrich Drepper <drepper@redhat.com>
1587
1588 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1589 * wcsmbs/wctob.c (wctob): Likewise.
1590 * wcsmbs/wchar.h (btowc): Add optimized inline function.
1591 (wctob): Likewise.
1592
ee618985
UD
15932005-03-31 Jakub Jelinek <jakub@redhat.com>
1594
1595 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1596 equivalent, but shorter instructions.
1597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1598 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1600 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1602 * sysdeps/x86_64/strchr.S: Likewise.
1603 * sysdeps/x86_64/memset.S: Likewise.
1604 * sysdeps/x86_64/strcspn.S: Likewise.
1605 * sysdeps/x86_64/strcmp.S: Likewise.
1606 * sysdeps/x86_64/elf/start.S: Likewise.
1607 * sysdeps/x86_64/strspn.S: Likewise.
1608 * sysdeps/x86_64/dl-machine.h: Likewise.
1609 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1610 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1611 * sysdeps/x86_64/strtok.S: Likewise.
1612
4d6302cf
UD
16132005-03-30 H.J. Lu <hongjiu.lu@intel.com>
1614
5cc59727 1615 [BZ #592]
4d6302cf
UD
1616 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1617 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1618 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1619 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1620 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1621 * sysdeps/ia64/fpu/e_acos.S: Likewise.
1622 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1623 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1624 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1625 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1626 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1627 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1628 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1629 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1630 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1631 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1632 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1633 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1634 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1635 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1636 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1637 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1638 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1639 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1640 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1641 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1642 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1643 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1644 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1645 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1646 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1647 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1648 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1649 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1650 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1651 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1652 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1653 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1654 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1655 * sysdeps/ia64/fpu/e_log.S: Likewise.
1656 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1657 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1658 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1659 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1660 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1661 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1662 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1663 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1664 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1665 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1666 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1667 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1668 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1669 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1670 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1671 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1672 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1673 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1674 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1675 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1676 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1677 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1678 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1679 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1680 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1681 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1682 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1683 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1684 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1685 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1686 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1687 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1688 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1689 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1690 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1691 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1692 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1693 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1694 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1695 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1696 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1697 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1698 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1699 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1700 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1701 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1702 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1703 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1704 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1705 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1706 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1707 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1708 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1709 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1710 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1711 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1712 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1713 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1714 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1715 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1716 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1717 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1718 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1719 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1720 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1721 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1722 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1723 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1724 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1725 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1726 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1727 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1728 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1729 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1730 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1731 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1732 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1733 * sysdeps/ia64/fpu/s_round.S: Likewise.
1734 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1735 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
1736 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
1737 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
1738 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1739 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1740 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1741 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1742 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1743 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1744 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1745 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1746 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1747 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1748 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1749
5cc59727 1750 [BZ #592]
4d6302cf
UD
1751 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
1752 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
1753
5cc59727 1754 [BZ #592]
4d6302cf
UD
1755 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
1756 2005-03-21.
1757 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1758 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1759 * sysdeps/ia64/fpu/Makefile: Likewise.
1760
3fb1a4d5
UD
17612005-03-29 Jakub Jelinek <jakub@redhat.com>
1762
a34dc4aa 1763 [BZ #1087]
3fb1a4d5
UD
1764 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
1765 avoid calling mbsrtowcs twice.
1766
1718c60c
RM
17672005-03-29 Roland McGrath <roland@redhat.com>
1768
1769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
1770 function, inline broken out of ...
1771 (DL_SYSDEP_OSCHECK): ... here. Use that.
1772 Do the discovery and set GLRO(dl_osversion) if successful,
1773 if __LINUX_KERNEL_VERSION <= 0.
96406227 1774 * elf/dl-load.c: Don't include dl-osinfo.h here.
1718c60c 1775
98be6f68
RM
17762005-03-29 Alfred M. Szmidt <ams@gnu.org>
1777
1778 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
1779 is now needed.
1780
edac4240
RM
17812005-03-19 Bruno Haible <bruno@clisp.org>
1782
1783 * intl/dcigettext.c (struct known_translation_t): Change type of
1784 domainname field to 'const char *'.
1785 (DCIGETTEXT): Remove const-cast.
1786
edc8cc2a
RM
17872005-03-29 Thorsten Kukuk <kukuk@suse.de>
1788
edac4240
RM
1789 [BZ #661]
1790 * grp/initgroups.c (internal_getgrouplist): Check if we have
1791 enough space before adding the primary group to the list.
1792
edc8cc2a
RM
1793 * posix/tst-execle1.c (do_test): Fix execle arguments.
1794 * posix/tst-execle2.c (do_test): Likewise.
1795
b85f32b4
RM
17962005-03-28 Roland McGrath <roland@redhat.com>
1797
becf77cd
RM
1798 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
1799 Reported by Mark Mitchell <mark@codesourcery.com>.
1800 * Versions.def (libm): Define GLIBC_2.4 set.
1801 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
1802 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
1803 * sysdeps/ia64/Versions: Likewise.
1804 * sysdeps/m68k/Versions: Likewise.
1805 * sysdeps/sparc/sparc64/Versions: Likewise.
1806 * sysdeps/x86_64/Versions: New file.
1807 * sysdeps/mips/mips64/Versions: New file.
1808
b85f32b4
RM
1809 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
1810 [__USE_GNU] (NL_LOCALE_NAME): New macro.
1811 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
1812 return locale name string for the category.
1813
f78573a4
RM
18142005-03-25 Jakub Jelinek <jakub@redhat.com>
1815
1816 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
1817 <wcstol_l.c>.
1818
f850220b
AJ
18192005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1820
1821 * sysdeps/mips/atomicity.h: Remove unused file.
1822 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
1823 * sysdeps/mips/dl-tls.h: New file.
1824 * sysdeps/mips/libc-tls.c: New file.
1825 * sysdeps/mips/tls-macros.h: New file.
1826 * sysdeps/mips/bits/atomic.h: New file.
1827 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
1828 * sysdeps/mips/elf/configure.in: New file.
1829 * sysdeps/mips/elf/configure: Generated.
1830 * sysdeps/mips/sys/asm.h: New file.
1831 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
1832 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
1833 clone support.
1834 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1835 (INTERNAL_SYSCALL_NCS): New.
1836 (INTERNAL_SYSCALL): Update for non-constant support.
1837 (internal_syscall0): Likewise.
1838 (internal_syscall1): Likewise.
1839 (internal_syscall2): Likewise.
1840 (internal_syscall3): Likewise.
1841 (internal_syscall4): Likewise.
1842 (internal_syscall5): Likewise.
1843 (internal_syscall6): Likewise.
1844 (internal_syscall7): Likewise.
1845 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
1846 Update to match the kernel.
1847 (SIGEV_CALLBACK): Likewise.
1848 (SIGEV_THREAD_ID): Likewise.
1849
abc85e9f
AJ
18502005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1851
1852 [BZ #783]
1853 * elf/tst-auditmod1.c: Add MIPS support.
1854 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
1855 (La_mips_32_retval): New.
1856 (La_mips_64_regs): New.
1857 (La_mips_64_retval): New.
1858 (struct audit_ifaces): Add MIPS entries.
1859 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
1860 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
1861 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
1862 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
1863 (RTLD_START): Align the stack before calling _dl_init_internal.
1864 Use .ent for _dl_start_user.
1865 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
1866 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
1867 (elf_machine_runtime_setup): Use "auto inline".
1868 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
1869 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
1870 * sysdeps/mips/dl-trampoline.c: New file.
1871 * sysdeps/mips/bits/link.h: New file.
1872 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1873 (internal_syscall5): Use register operands instead of non-lvalue
1874 memory operands.
1875 (internal_syscall6): Likewise.
1876 (internal_syscall7): Likewise.
1877
12403b32
AJ
18782005-03-27 Andreas Jaeger <aj@suse.de>
1879
1880 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
1881 avoid warnings with older compiler.
1882 (__builtin___memcpy_chk): Likewise.
1883 (__builtin___memmove_chk: Likewise.
1884 (__builtin___mempcpy_chk): Likewise.
1885 (__builtin___memset_chk): Likewise.
1886 (__builtin___stpcpy_chk): Likewise.
1887 (__builtin___strcat_chk): Likewise.
1888 (__builtin___strcpy_chk): Likewise.
1889 (__builtin___strncat_chk): Likewise.
1890 (__builtin___strncpy_chk): Likewise.
1891 (__builtin_object_size): Likewise.
1892
a0dd3094
RM
18932005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
1894
1895 * elf/tls-macros.h: Correct typo.
1896
60f84a40
UD
18972005-03-23 Jakub Jelinek <jakub@redhat.com>
1898
5cc59727 1899 [BZ #822]
60f84a40
UD
1900 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
1901 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
1902
2fb9a65c
RM
19032005-03-22 Roland McGrath <roland@redhat.com>
1904
e77fa918
RM
1905 * locale/setlocale.c: Comment typo.
1906
8ac78e60
RM
1907 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
1908
2fb9a65c
RM
1909 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
1910
1911 * scripts/versions.awk: Print all errors and die at the end.
1912 Use library name in versions array keys.
1913
0dad51c1
RM
19142005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1915
1916 * elf/elf.h (PT_ARM_EXIDX): New macro.
1917
12c879f8
UD
19182005-03-21 Thorsten Kukuk <kukuk@suse.de>
1919
a34dc4aa 1920 [BZ #1098]
12c879f8
UD
1921 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
1922 Convert correctly between long/int on 64bit big-endian.
1923
0ab1b506
UD
19242005-03-21 David Mosberger <davidm@hpl.hp.com>
1925
1926 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
1927 with more than 8 output registers. Fix this by passing original
1928 ar.pfs to _mcount_ret_helper via r3.
1929
167d5acc
UD
19302005-03-15 Jakub Jelinek <jakub@redhat.com>
1931
1932 [BZ #786]
1933 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
1934 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
1935 * elf/Makefile: Add rules to build and run tst-tls15.
1936 * elf/tst-tls15.c: New test.
1937 * elf/tst-tlsmod15a.c: New file.
1938 * elf/tst-tlsmod15b.c: New file.
1939
19402005-03-20 Ulrich Drepper <drepper@redhat.com>
1941
1942 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
1943
8622e950
UD
19442005-03-20 Alfred M. Szmidt <ams@gnu.org>
1945
1946 * elf/dl-open.c (dl_open_worker): Fix typo.
1947
56137dbc
UD
19482005-03-20 Ulrich Drepper <drepper@redhat.com>
1949
1950 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
1951 clearing if perturb_byte != 0.
1952
65fb0d21
UD
19532005-03-20 Jakub Jelinek <jakub@redhat.com>
1954
1955 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
1956 instead of __off_t for last argument.
1957 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
1958 * debug/tst-lfschk1.c: New test.
1959 * debug/tst-lfschk2.c: New test.
1960 * debug/tst-lfschk3.c: New test.
1961
19622005-02-09 Jakub Jelinek <jakub@redhat.com>
1963
1964 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
1965 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
1966 and __USE_XOPEN guards to match linux/bits/termios.h.
1967 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1968 (CMSPAR): Define.
1969 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1970
1aa4e40a
UD
19712005-02-10 H.J. Lu <hongjiu.lu@intel.com>
1972
1973 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
1974
a5f01f37
UD
19752005-02-27 Denis Barbier <barbier@debian.org>
1976
a34dc4aa 1977 [BZ #549]
a5f01f37
UD
1978 * locale/iso-4217.def: Add CSD currency.
1979
3d786f19
UD
19802005-03-19 Ulrich Drepper <drepper@redhat.com>
1981
c9738df4
UD
1982 * inet/test-ifaddrs.c: Use test-skeleton.
1983 * inet/test_ifindex.c: Likewise.
1984
5cc59727 1985 [BZ #821]
f7e39466
UD
1986 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
1987 the list exists.
1988
5cc59727 1989 [BZ #821]
3d786f19
UD
1990 * elf/Makefile: Add rules to build and run order2.
1991 * elf/order2.c: New file.
1992 * elf/order2mod1.c: New file.
1993 * elf/order2mod2.c: New file.
1994 * elf/order2mod3.c: New file.
1995 * elf/order2mod4.c: New file.
1996
a2f7570b
UD
19972005-03-19 Jakub Jelinek <jakub@redhat.com>
1998
5cc59727 1999 [BZ #821]
a2f7570b
UD
2000 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
2001 it has been incremented before.
2002
c3381f3e
UD
20032005-03-18 Ulrich Drepper <drepper@redhat.com>
2004
5cc59727 2005 [BZ #821]
c3381f3e
UD
2006 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
2007 function _dl_sort_fini.
2008 (_dl_sort_fini): New function.
2009 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
2010 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
2011 destructors to call them in the right order.
2012
bb4bb82b
UD
20132005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
2014
2015 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
2016 (La_ppc64_retval): Correct size of lrc_fp.
2017 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
2018 Fix up ABI problems and complete function.
2019
88764ae2
UD
20202005-03-10 Jakub Jelinek <jakub@redhat.com>
2021
2022 * math/test-misc.c (main): Add some more tests.
2023
20242005-03-17 Jakub Jelinek <jakub@redhat.com>
2025
2026 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
2027 __wcrtomb. Check return values of other __wcrtomb calls.
2028 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
2029 Change mbclen type to size_t.
2030 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
2031 Handle mb chars whose upper case doesn't have multibyte representation
2032 in locale's charset.
2033
20342005-03-15 Jakub Jelinek <jakub@redhat.com>
2035
2036 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
2037 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
2038 #ifndef _LIBC.
2039
2040 [BZ #779]
2041 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
2042 initialized.
2043
20442005-03-10 Jakub Jelinek <jakub@redhat.com>
2045
2046 * misc/sys/cdefs.h (__always_inline): Define.
2047 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
2048 Use __always_inline instead of __inline.
2049 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2050 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
2051 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
2052 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
2053 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
2054 __inline__ __attribute__ ((__always_inline__)).
2055
20562005-03-09 Jakub Jelinek <jakub@redhat.com>
2057
2058 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
2059 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
2060 readlink. Add some more tests for read, pread, pread64, fgets and
2061 fgets_unlocked.
2062
2063 * posix/bits/unistd.h (read, pread, pread64, readlink,
2064 getcwd, getwd): Change macros into extern inline functions.
2065 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
2066 __getcwd_alias, __getwd_alias): New prototypes.
2067 * socket/bits/socket2.h (recv, recvfrom): Change macros into
2068 extern inline functions.
2069 (__recv_alias, __recvfrom_alias): New prototypes.
2070 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
2071 into extern inline functions.
2072 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
2073
2074 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
2075 to __pread.
2076 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
2077 to __pread64.
2078
95918484
RM
20792005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
2080
2081 * configure.in: Use %function instead of @function.
95918484 2082
20fe49b9
UD
20832005-03-18 Ulrich Drepper <drepper@redhat.com>
2084
5cc59727 2085 [BZ #821]
20fe49b9
UD
2086 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
2087 Change type of l_idx to int.
2088 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
2089 determine whether a DSO has to be unloaded. Instead compute this
2090 in this function.
2091 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
2092 * elf/dl-lookup.c: Likewise.
2093 * elf/rtld.c: Likewise
2094 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
2095 object was just loaded.
2096 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
2097 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
2098 is about to be unloaded as a match.
2099 (_dl_map_object): Likewise.
2100 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
2101 to be unloaded.
2102 * elf/circleload1.c: Don't use l_opencount anymore.
2103 * elf/neededtest.c: Likewise.
2104 * elf/neededtest2.c: Likewise.
2105 * elf/neededtest3.c: Likewise.
2106 * elf/neededtest4.c: Likewise.
2107 * elf/unload.c: Likewise.
2108 * elf/unload2.c: Likewise.
2109 * elf/loadtest.c: Likewise.
2110
5cc59727 2111 [BZ #821]
20fe49b9
UD
2112 * elf/rtld.c: Preloading errors are now never fatal.
2113
21142005-03-08 Jakub Jelinek <jakub@redhat.com>
2115
5cc59727 2116 [BZ #821]
20fe49b9
UD
2117 * elf/Makefile: Add rules to build and run unload5 test.
2118 * elf/unload5.c: New file.
2119
5cc59727 2120 [BZ #821]
20fe49b9
UD
2121 * elf/Makefile: Add rules to build and run unload4 test.
2122 * elf/unload4.c: New file.
2123 * elf/unload4mod1.c: New file.
2124 * elf/unload4mod2.c: New file.
2125 * elf/unload4mod3.c: New file.
2126 * elf/unload4mod4.c: New file.
2127
0e07fc00
RM
21282005-03-17 Roland McGrath <roland@redhat.com>
2129
2130 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
2131
61995d3e
RM
21322005-03-16 Richard Henderson <rth@redhat.com>
2133
2134 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
2135 of internal.
2136 (__hidden_def1, __hidden_dot_def1): Remove.
2137 (__hidden_def2, __hidden_def3): Remove.
2138 (__hidden_ver1): New.
2139 (hidden_ver, hidden_def, hidden_weak): Use it.
2140 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
2141 version of the macro.
2142
2143 * include/wchar.h (__wcscoll): Remove.
2144 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
2145 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
2146
2827be86
RM
21472005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
2148
2149 * elf/elf.h: Define MIPS TLS relocations.
2150
25f8f2ac
UD
21512005-03-16 Ulrich Drepper <drepper@redhat.com>
2152
2153 * elf/circleload1.c (main): Pretty printing.
2154
1b243ca9
RM
21552005-03-15 Jakub Jelinek <jakub@redhat.com>
2156
2157 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
2158 Patch by Dan Kegel <dank@kegel.com>.
2159
2160 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
2161 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2162 Add inline keyword.
2163 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
2164 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
2165 attribute.
2166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2167 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
2168 static inline into auto inline.
2169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2170 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2171 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
2172 Likewise.
2173 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
2174 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2175 Likewise.
2176
fdc07525
RM
21772005-03-15 Jakub Jelinek <jakub@redhat.com>
2178
2179 [BZ #789]
2180 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
2181 Remove memory clobber.
2182
2183 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
2184 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
2185
3b7289d4
RM
21862005-03-14 Jakub Jelinek <jakub@redhat.com>
2187
2188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
2189 asm/types.h.
2190
0866e1cb
RM
21912005-03-10 GOTO Masanori <gotom@debian.or.jp>
2192
2193 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
2194 MAP_NONBLOCK.
2195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2196 Correct MAP_GROWSDOWN value.
2197
af81020e
RM
21982005-03-13 Roland McGrath <roland@redhat.com>
2199
2200 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
2201 version if there is one. Only #error if macros are then undefined.
2202 * sysdeps/generic/tls-macros.h: New file.
2203
5233d576
RM
22042005-03-10 GOTO Masanori <gotom@debian.or.jp>
2205
2206 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
2207 * sysdeps/hppa/configure: Regenerated.
2208
e0bb7af8
RM
22092005-03-08 Roland McGrath <roland@redhat.com>
2210
2211 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
2212 array types match exactly in C alias decls.
2213
21745dfa
UD
22142005-03-07 Ulrich Drepper <drepper@redhat.com>
2215
854278df
UD
2216 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
2217 mallopt appropriately.
2218 * malloc/malloc.h: Define M_PERTURB.
2219 * malloc/malloc.c (perturb_byte): New variable.
2220 (alloc_perturb, free_perturb): New macros.
2221 (_int_malloc): Before returning, overwrite the memory if this is
2222 requested.
2223 (_int_free): Overwrite freed memory if requested.
2224 (mALLOPt): Handle M_PERTURB.
2225 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
2226
21745dfa
UD
2227 * elf/dl-close.c (_dl_close): Decrement l_opencount before
2228 printing debug message.
2229 * elf/dl-open.c (dl_open_worker): Always print the new opencount
2230 in debug messages.
2231
5dc2883e
UD
22322005-03-06 Ulrich Drepper <drepper@redhat.com>
2233
d8505f90
UD
2234 * elf/dl-close.c (_dl_close): Unify debug message format.
2235
ac53c9c6
UD
2236 * elf/dl-close.c (_dl_close): Print debug message just before
2237 destroying a link map.
2238
b6cc1a62
UD
2239 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
2240 * elf/dl-version.c (match_symbol): Likewise.
75a142a2 2241
20981676
UD
2242 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
2243
84c33ccb
UD
2244 * debug/recv_chk.c (__recv_chk): Always fail if request could
2245 overflow the buffer.
2246 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
5dc2883e
UD
2247 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
2248 we know the call succeeds.
2249 (recvfrom): Likewise.
2250
3cc4a097
UD
22512005-03-05 Ulrich Drepper <drepper@redhat.com>
2252
1c99f950
UD
2253 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
2254 warning.
2255 * posix/regex_internal.c (re_string_reconstruct): Add cast to
2256 avoid warning.
2257 (build_wcs_upper_buffer): Change type of bug to plain char.
2258 * locale/weightwc.h (findidx): Add casts to avoid warnings.
2259 * time/mktime.c (ranged_convert): Initialize tm to make the
2260 compiler happy.
2261 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
2262 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
2263 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
2264 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
2265 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
2266 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
3cc4a097
UD
2267 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
2268 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
2269 * libio/iofwide.c: Add casts to avoid warnings.
2270 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
2271 variable f to avoid warnings.
2272 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2273 Fix a few casts to avoid warnings.
2274 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
2275 to avoid warning.
2276
a34dc4aa 2277 [BZ #1101]
1c99f950
UD
2278 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
2279 dynamically sized array.
2280 (build_wcs_upper_buffer): Likewise.
2281
103f1eb0
UD
22822005-03-05 Jakub Jelinek <jakub@redhat.com>
2283
2284 * include/bits/unistd.h: New file.
2285 * include/bits/socket2.h: New file.
2286
93aed667
UD
22872005-03-05 Ulrich Drepper <drepper@redhat.com>
2288
2289 * sunrpc/key_call.c: Remove doors support.
2290 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
2291 * configure.in: Remove test for doors support which never existed.
2292 * config.make.in: Remove have_doors entry.
2293
2294 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
2295 * config.make.in: Undo last change.
2296
fcb05059 2297 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
93aed667
UD
2298 -mtune.
2299
2103c260
RM
23002005-03-05 Roland McGrath <roland@redhat.com>
2301
2302 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
2303 (_dl_out_of_memory): Use rtld_hidden_proto.
2304 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
2305 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
2306 * elf/dl-open.c (_dl_open): Likewise.
2307 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2308
2309 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
2310
2311 * elf/dl-addr.c (_dl_addr): Add a cast.
2312
5cc59727 2313 [BZ #821]
2103c260
RM
2314 * elf/unload3mod4.c: Declare foo.
2315 * elf/testobj2.c: Include <stdio.h>.
2316
2317 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
2318 value constant, and use it in the defn.
2319 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
2320 Use actual size for compat array decls.
2321
2322 * config.make.in (cc-mtune): New substituted variable.
2323 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
2324 done only if libc_mtune_example is defined.
2103c260 2325 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2103c260
RM
2326 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2327
93aed667
UD
23282005-03-05 Jakub Jelinek <jakub@redhat.com>
2329
2330 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
2331 unconditionally to (defined RTLD_BOOTSTRAP).
2332 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
2333
3ff37e89
RM
23342005-03-05 Jakub Jelinek <jakub@redhat.com>
2335
2336 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
2337 $(inst_slibdir) in AS_NEEDED directive.
2338
05510ae6
UD
23392005-03-03 Jakub Jelinek <jakub@redhat.com>
2340
2341 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
2342
2e2b6e26
UD
23432005-03-01 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 [BZ #776]
2346 * iconv/iconvconfig.c: Fix comment for the output file.
2347 (write_output): Clear padding in header.
2348
23492005-03-03 Ulrich Drepper <drepper@redhat.com>
2350
5cc59727 2351 [BZ #821]
2e2b6e26
UD
2352 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2353 loader is closed. Fixes unload3.
2354 * elf/tst-global1.c: New file.
2355 * elf/Makefile (tests): Add tst-global1.
680d780a 2356 * elf/testobj2.c (p): New function.
2e2b6e26
UD
2357
23582005-03-03 Jakub Jelinek <jakub@redhat.com>
2359
5cc59727 2360 [BZ #821]
2e2b6e26
UD
2361 * elf/Makefile: Add rules to build and run unload3 test.
2362 * elf/unload3.c: New test.
2363 * elf/unload3mod1.c: New file.
2364 * elf/unload3mod2.c: New file.
2365 * elf/unload3mod3.c: New file.
2366 * elf/unload3mod4.c: New file.
2367
04c8bd46
RM
23682005-02-21 Alan Modra <amodra@bigpond.net.au>
2369
2370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2371 use __uint128_t.
2372
95ca9dd3
RM
23732005-03-01 Jakub Jelinek <jakub@redhat.com>
2374
2375 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2376 of __bos.
2377 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2378
f8286ce6
RM
23792005-03-01 Roland McGrath <roland@redhat.com>
2380
2381 [BZ #721]
2382 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2383 of [RESOLVE_MAP].
2384
23852005-03-01 Alfred M. Szmidt <ams@gnu.org>
2386
75112324 2387 [BZ #777]
f8286ce6
RM
2388 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2389 Add missing initializer.
2390
75112324 2391 [BZ #777]
f8286ce6
RM
2392 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2393 USE_TLS && !USE___THREAD].
2394
9db670f0
UD
23952005-02-26 GOTO Masanori <gotom@debian.or.jp>
2396
2397 * csu/Makefile: Use printf instead of echo for some shells.
2398
87816274
RM
23992005-02-28 Roland McGrath <roland@redhat.com>
2400
2401 * debug/warning-nop.c (__nop): Rename to nop, make it static.
2402 (__warndecl): Use alias attribute directly, instead of strong_alias
2403 macro. Add attribute_hidden.
2404
61062f56
UD
24052005-02-28 Ulrich Drepper <drepper@redhat.com>
2406
2407 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2408 determine the call will never trigger a failure.
a0e3c9e2
UD
2409 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2410 small.
2411 * debug/readlink_chk.c (__readlink_chk): Likewise.
2412 * debug/pread64_chk.c (__pread64_chk): Likewise.
2413 * debug/pread_chk.c (__pread_chk): Likewise.
61062f56
UD
2414
2415 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2416 * sysdeps/x86_64/memset_chk.S: Likewise.
2417
24182005-02-24 Roland McGrath <roland@redhat.com>
2419
2420 * debug/Versions (libc: GLIBC_2.4): Remove
2421 __memset_zero_constant_len_parameter.
2422 * sysdeps/generic/memset_chk.c: Remove alias and warning.
2423 * misc/sys/cdefs.h (__warndecl): New macro.
2424 * debug/warning-nop.c: New file.
2425 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2426 arguments, instead of calling __memset_zero_constant_len_parameter.
2427 Use __warndecl for __warn_memset_zero_len.
2428 * debug/Makefile (routines): Add $(static-only-routines).
2429 (static-only-routines): New variable.
2430
cffa6970
UD
24312005-02-27 Ulrich Drepper <drepper@redhat.com>
2432
2433 * po/tr.po: Update from translation team.
2434
bfeabc79
UD
24352005-02-26 Ulrich Drepper <drepper@redhat.com>
2436
9adc0977
UD
2437 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
2438
bfeabc79
UD
2439 * dlfcn/dlerror.c (check_free): New function. Extract common code
2440 from fini and free_key_mem. Check whether this is libdl in the
2441 base namespace.
2442
3706bc2a
UD
24432005-02-25 Ulrich Drepper <drepper@redhat.com>
2444
2445 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2446 to debug output.
2447
8ecc24b0
AJ
24482004-11-11 Richard Sandiford <rsandifo@redhat.com>
2449
2450 [BZ #758]
2451 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2452 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2453 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
2454 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2455 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2456 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2457 standard __NR prefix.
2458 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2459 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2460 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2461 Extract separate syscall lists for each ABI.
2462
c366c934
UD
24632005-02-23 Ulrich Drepper <drepper@redhat.com>
2464
2465 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2466
87816274 2467 [BZ #719]
132a823f
UD
2468 * elf/Makefile: Run tst-tls9-static again.
2469
f9ab9ba9
UD
24702005-02-22 Ulrich Drepper <drepper@redhat.com>
2471
87816274 2472 [BZ #719]
094d3c54
UD
2473 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2474 slotinfo array.
611eb946 2475 (__libc_setup_tls): Initialize length of DTV based on array length.
094d3c54
UD
2476 * elf/dl-load.c: Revert last change.
2477 * sysdeps/generic/dl-tls.c: Revert last change.
2478
f9ab9ba9
UD
2479 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2480 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2481 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2482 * posix/tst-execl1.c: New file.
2483 * posix/tst-execl2.c: New file.
2484 * posix/tst-execle1.c: New file.
2485 * posix/tst-execle2.c: New file.
2486 * posix/tst-execlp1.c: New file.
2487 * posix/tst-execlp2.c: New file.
2488 * posix/tst-execv1.c: New file.
2489 * posix/tst-execv2.c: New file.
2490 * posix/tst-execve1.c: New file.
2491 * posix/tst-execve2.c: New file.
2492 * posix/tst-execvp1.c: New file.
2493 * posix/tst-execvp2.c: New file.
2494
b17ebefa
RM
24952005-02-22 Roland McGrath <roland@redhat.com>
2496
2497 * include/signal.h: Revert last change.
2498 (__sigemptyset): Use __builtin_memset instead of memset.
2499
262b5730
UD
25002005-02-22 Ulrich Drepper <drepper@redhat.com>
2501
2502 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2503 non-cancelable I/O functions.
2504
d2dc7d84
UD
25052005-02-22 Jakub Jelinek <jakub@redhat.com>
2506
87816274 2507 [BZ #769]
d2dc7d84
UD
2508 * nscd/nscd-client.h: Include sys/uio.h.
2509 (__readall, __readvall, writeall): New prototypes.
2510 * nscd/connections.c (writeall): New function.
2511 (handle_request): Use it.
2512 * nscd/aicache.c (addhstaiX): Likewise.
2513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2514 * nscd/hstcache.c (cache_addhst): Likewise.
2515 * nscd/grpcache.c (cache_addgr): Likewise.
2516 * nscd/pwdcache.c (cache_addpw): Likewise.
2517 * nscd/nscd_helper.c (__readall, __readvall): New functions.
2518 * nscd/nscd_getai.c (__nscd_getai): Use them.
2519 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2520 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2521 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2522 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2523
a2274a08
RM
25242005-02-22 Roland McGrath <roland@redhat.com>
2525
2526 * include/sys/socket.h: Declare __recv.
2527 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2528 * sysdeps/mach/hurd/recv.c: Likewise.
2529
2530 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2531 __backtrace_* decls.
2532
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2534 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2536
2537 * include/signal.h: Include <string.h> for memset decl.
2538
c5e57303
UD
25392005-02-22 Andreas Schwab <schwab@suse.de>
2540
2541 * posix/execvp.c (execvp): Fix invalid free.
2542
c6359097
UD
25432005-02-22 Jakub Jelinek <jakub@redhat.com>
2544
a34dc4aa 2545 [BZ #1095]
c6359097
UD
2546 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2547 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2548 librpcsvc.a objects.
2549
137e6462
UD
25502005-02-21 Ulrich Drepper <drepper@redhat.com>
2551
44d75caf 2552 [BZ #1107]
137e6462
UD
2553 * iconvdata/ibm930.h: Correct Yen mapping.
2554 * iconvdata/ibm939.h: Likewise.
2555 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2556 * iconvdata/testdata/IBM939..UTF8: Likewise.
2557 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2558
2559 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2560 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2561 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2562 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2563 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2564 ibm1158.c, and ibm1158.h.
2565 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2566 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2567 * iconvdata/gconv-modules: Likewise.
2568 * iconvdata/ibm1025.c: New file.
2569 * iconvdata/ibm1025.h: New file.
2570 * iconvdata/ibm1122.c: New file.
2571 * iconvdata/ibm1122.h: New file.
2572 * iconvdata/ibm1137.c: New file.
2573 * iconvdata/ibm1137.h: New file.
2574 * iconvdata/ibm1153.c: New file.
2575 * iconvdata/ibm1153.h: New file.
2576 * iconvdata/ibm1154.c: New file.
2577 * iconvdata/ibm1154.h: New file.
2578 * iconvdata/ibm1155.c: New file.
2579 * iconvdata/ibm1155.h: New file.
2580 * iconvdata/ibm1156.c: New file.
2581 * iconvdata/ibm1156.h: New file.
2582 * iconvdata/ibm1157.c: New file.
2583 * iconvdata/ibm1157.h: New file.
2584 * iconvdata/ibm1158.c: New file.
2585 * iconvdata/ibm1158.h: New file.
2586 * iconvdata/testdata/IBM1025: New file.
2587 * iconvdata/testdata/IBM1025..UTF8: New file.
2588 * iconvdata/testdata/IBM1122: New file.
2589 * iconvdata/testdata/IBM1122..UTF8: New file.
2590 * iconvdata/testdata/IBM1137: New file.
2591 * iconvdata/testdata/IBM1137..UTF8: New file.
2592 * iconvdata/testdata/IBM1153: New file.
2593 * iconvdata/testdata/IBM1153..UTF8: New file.
2594 * iconvdata/testdata/IBM1154: New file.
2595 * iconvdata/testdata/IBM1154..UTF8: New file.
2596 * iconvdata/testdata/IBM1155: New file.
2597 * iconvdata/testdata/IBM1155..UTF8: New file.
2598 * iconvdata/testdata/IBM1156: New file.
2599 * iconvdata/testdata/IBM1156..UTF8: New file.
2600 * iconvdata/testdata/IBM1157: New file.
2601 * iconvdata/testdata/IBM1157..UTF8: New file.
2602 * iconvdata/testdata/IBM1158: New file.
2603 * iconvdata/testdata/IBM1158..UTF8: New file.
2604 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2605
744eb12b
UD
26062005-02-10 Paolo Bonzini <bonzini@gnu.org>
2607
2608 * posix/regcomp.c (lower_subexp): Do not optimize empty
2609 subexpressions even with REG_NOSUB.
2610 * posix/rxspencer/tests: Add a previously failing testcase.
2611
e13e33e2
UD
26122005-02-21 Alan Modra <amodra@bigpond.net.au>
2613
87816274 2614 [BZ #719]
e13e33e2
UD
2615 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2616 array index is within bounds.
2617
af272d4f
UD
26182005-02-21 Ulrich Drepper <drepper@redhat.com>
2619
87816274 2620 [BZ #719]
e13e33e2
UD
2621 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2622 linked code.
2623 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2624 * elf/Makefile: Remove rules to build and run tst-tls9-static.
2625
87816274 2626 [BZ #719]
af272d4f
UD
2627 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2628 THREAD_DTV multiple times, this minimally reduces code size on
2629 some archs.
2630
4379b403
UD
26312005-02-21 Jakub Jelinek <jakub@redhat.com>
2632
87816274 2633 [BZ #768]
4379b403
UD
2634 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2635 NETDB_INTERNAL if buffer is too small.
2636
87816274 2637 [BZ #768]
4379b403
UD
2638 * nscd/hstcache.c (INCR): Remove.
2639 (addhstbyX): Double buflen in each iteration rather than add INCR.
2640 * nscd/grpcache.c: Likewise.
2641 * nscd/pwdcache.c: Likewise.
2642
553cc5f9
UD
26432005-02-21 Ulrich Drepper <drepper@redhat.com>
2644
2645 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2646 map if requested.
2647 * debug/chk_fail.c: Request backtrace and memory map dump.
2648
2649 * Versions.def: Add GLIBC_2.4 for libc.
2650 * debug/fgets_chk.c: New file.
2651 * debug/fgets_u_chk.c: New file.
2652 * debug/getcwd_chk.c: New file.
2653 * debug/getwd_chk.c: New file.
2654 * debug/readlink_chk.c: New file.
2655 * debug/read_chk.c: New file.
2656 * debug/pread_chk.c: New file.
2657 * debug/pread64_chk.c: New file.
2658 * debug/recv_chk.c: New file.
2659 * debug/recvfrom_chk.c: New file.
2660 * debug/Versions: Add all new functions with version GLIBC_2.4.
2661 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2662 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2663 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
2664 * debug/tst-chk1.c: Add more tests.
2665 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2666 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2667 * posix/unistd.h: Include <bits/unistd.h> for fortification.
2668 * posix/bits/unistd.h: New file.
2669 * posix/Makefile (headers): Add bits/unistd.h.
2670 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2671 * socket/bits/socket2.h: New file.
2672 * socket/Makefile (headers): Add bits/socket2.h.
2673
2674 * string/bits/string3.h: Extend memset macro to check for zero 3rd
2675 parameter and use __memset_zero_constant_len_parameter in that case.
2676 * sysdeps/generic/memset_chk.c: Add
2677 __memset_zero_constant_len_parameter alias and linker warning.
2678 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2679 with version GLIBC_2.4.
2680
2681 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2682 in __STD_TYPE definition.
2683
26842005-02-21 Jakub Jelinek <jakub@redhat.com>
2685
2686 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2687 the error message rather than program name.
2688
53360aa1
UD
26892005-02-21 Ulrich Drepper <drepper@redhat.com>
2690
87816274 2691 [BZ #767]
53360aa1
UD
2692 * posix/unistd.h: symlink and readlink are unconditionally
2693 available in the 2001 spec.
2694
9cfe5381
RM
26952005-02-16 Roland McGrath <roland@redhat.com>
2696
2697 * intl/dcigettext.c (_nl_find_msg): Add a cast.
2698
2699 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
2700 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
2701 * nis/nis_clone_res.c (nis_clone_result): Likewise.
2702
2703 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
2704 for END_OF_MESSAGE and CP.
2705
2706 * resolv/res_send.c (send_dg): Add else branch for case impossible
2707 unless `poll' is buggy.
2708
2709 * crypt/crypt_util.c (__setkey_r): Add a cast.
2710
2711 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
2712 NBYTES, and unsigned char * for BYTES.
2713
2714 * locale/programs/charmap.c (charmap_new_char): Use size_t and
2715 unsighed char * for NBYTES, BYTES parameters.
2716
2717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
2718 and cast it.
2719 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
2720
2721 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
2722
2723 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
2724
2725 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
2726 (authdes_marshal): Don't use unsigned int for LEN.
2727 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
2728 (xdr_u_hyper): Likewise.
2729 (xdr_u_short): Don't use u_long for L.
2730 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
2731
2732 * inet/rexec.c (rexec_af): Use socklen_t.
2733 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
2734 * sunrpc/rtime.c (rtime): Likewise.
2735 * resolv/res_send.c (send_vc, send_dg): Likewise.
2736 * nis/nis_callback.c (__nis_create_callback): Likewise.
2737
2738 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
2739
2740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
2741
2742 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
2743
2744 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
2745 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
2746 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
2747 * intl/bindtextdom.c (INTUSE): Macro removed.
2748 (_nl_default_dirname): Use libc_hidden_proto.
2749 (set_binding_values): Don't use INTUSE.
2750 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
2751 (_libc_intl_domainname): Use libc_hidden_proto.
2752 * posix/regex_internal.h (gettext): Remove INTUSE on it.
2753 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
2754 rather than INTDEF.
2755 * include/libintl.h (_): Don't use *_internal name.
2756
2757 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
2758 not uint32_t.
2759 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
2760
2761 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
2762
2763 [BZ #721]
2764 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2765 of [RESOLVE_MAP].
2766 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
2767 * sysdeps/powerpc/powerpc32/dl-machine.h
2768 (elf_machine_rel, elf_machine_rel_relative): Removed.
2769 * sysdeps/powerpc/powerpc64/dl-machine.h
2770 (elf_machine_rel, elf_machine_rel_relative): Removed.
2771
27722005-02-03 Alexandre Oliva <aoliva@redhat.com>
2773
2774 [BZ #721]
2775 * elf/dynamic-link.h: Don't declare nested auto functions that are
2776 not going to be defined.
2777
27782004-07-23 Jakub Jelinek <jakub@redhat.com>
2779
2780 [BZ #284]
2781 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
2782 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
2783
4f657581
RM
27842005-02-16 Roland McGrath <roland@redhat.com>
2785
2786 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
2787 inside [! SHARED] where it's used.
2788
477495be
UD
27892005-02-15 Ulrich Drepper <drepper@redhat.com>
2790
2791 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
2792 functions and macros is unsigned.
2793
0d7344df
RM
27942005-02-11 Barry deFrese <bddebian@comcast.net>
2795
2796 [BZ #722]
2797 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
2798 * sysdeps/mach/hurd/setresuid.c: Likewise.
2799
951718bd
RM
28002005-02-14 GOTO Masanori <gotom@debian.or.jp>
2801
2802 * misc/sys/syslog.h: Fix typo in comment.
2803
00a78f67
RM
28042005-02-14 Roland McGrath <roland@redhat.com>
2805
2806 [BZ #720]
2807 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
2808 if it wasn't originally.
2809
804dc8a8
RM
28102005-02-14 GOTO Masanori <gotom@debian.or.jp>
2811
2812 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
2813 getpeername entry.
2814 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2815 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2816
3220ccb6
RM
28172005-02-11 Jakub Jelinek <jakub@redhat.com>
2818
2819 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
2820 matching line.
2821
7de00121
RM
28222005-02-14 Alan Modra <amodra@bigpond.net.au>
2823
2824 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
2825 with auto inline, and attribute always_inline.
2826 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2827 (elf_machine_rel, elf_machine_rel_relative): Likewise.
2828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2829 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2830 (elf_machine_rel, elf_machine_rel_relative): Likewise.
2831 (elf_machine_tprel): Likewise.
2832
c56f532f
RM
28332005-02-14 Andreas Schwab <schwab@suse.de>
2834
2835 * manual/filesys.texi (Random Access Directory): Fix type of file
2836 position value for telldir and seekdir.
2837 (Attribute Meanings): Fix typo.
2838
43c59a70
UD
28392005-02-14 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
2842 isn't defined.
2843 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
2844 if SHARED isn't defined.
2845 * elf/Makefile (tests-static): Add tst-array1-static.
2846 ($(objpfx)tst-array1-static.out): New target.
2847 * elf/tst-array1-static.c: New file.
2848
e38c954b
UD
28492005-02-11 Jakub Jelinek <jakub@redhat.com>
2850
a34dc4aa 2851 [BZ #1100]
e38c954b
UD
2852 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
2853 __libc_message to kill GCC warning about noreturn function returning.
2854
2855 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
2856 before relocating ld.so again.
2857
2858 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
2859 for already prelinked ld.so.
2860
9b382805
RM
28612005-02-11 Roland McGrath <roland@redhat.com>
2862
3e1e123d
RM
2863 [BZ #715]
2864 * Makefile (installed-stubs): New variable.
2865 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
2866 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
2867 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
2868 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
2869 rule's target.
2870 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
2871 * include/stubs-biarch.h: New file.
2872
2873 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
2874
2875 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
2876 Emit defn for variable `biarch'.
2877
2878 * include/stub-tag.h: Update comment.
2879
9b382805
RM
2880 * scripts/soversions.awk: Fix default version set handling.
2881
0a38b835
RM
28822005-02-10 Roland McGrath <roland@redhat.com>
2883
561bcb80
RM
2884 [BZ #157]
2885 * include/libc-symbols.h (stub_warning): Emit a marker section called
2886 .gnu.glibc-stub.NAME.
2887 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
2888 Use objdump to collect those marker section names.
2889 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
2890
5d9e8991
RM
2891 * Rules (subdir_objs, subdir_stubs): New phony targets.
2892 * Makefile (+subdir_targets): Add them.
2893
9d0547ce
RM
2894 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
2895 soversions.i.
2896
a078a7ee
RM
2897 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
2898 Reported by H.J. Lu <hongjiu.lu@intel.com>.
2899
0a38b835
RM
2900 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
2901 doing two.
2902
1d3be038
RM
29032005-02-10 Jakub Jelinek <jakub@redhat.com>
2904
2905 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
2906 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
2907 * sysdeps/powerpc/bits/link.h: ... here. New file.
2908
f17c2202
RM
29092005-02-09 Jakub Jelinek <jakub@redhat.com>
2910
2911 [BZ #710]
2912 * stdlib/random_r.c (__initstate_r): Save old state.
2913 * stdlib/Makefile (tests): Add tst-random2.
2914 * stdlib/tst-random2.c: New test.
2915 Reported by Peter Bergner <bergner@vnet.ibm.com>.
2916
1a53c052
RM
29172005-01-25 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * dlfcn/dlfcn.c (init): Put it in .init_array section.
2920
91adb529
RM
29212005-02-10 Roland McGrath <roland@redhat.com>
2922
2923 [BZ #632]
2924 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
2925 from command line.
2926 Grok shlib-versions lines with WORDSIZE* in second column.
2927 Add new leading column to output, DEFAULT for existing output lines.
2928 Also emit lines with WORDSIZE* for alternate configurations.
2929 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
2930 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
2931 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
2932 of soversions.mk; replace inline shell script with use of ...
2933 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
2934 emit multiple sets of macros under #if.
2935 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
2936 (s390x-.*-.*): Likewise for s390.
2937 (powerpc64-.*-.*): Likewise for powerpc.
2938 (sparc64-.*-.*): Likewise for sparc.
f17c2202
RM
2939 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
2940 for these mapping back to the above.
91adb529 2941
0fe86f96
UD
29422005-02-08 Jakub Jelinek <jakub@redhat.com>
2943
2944 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
2945
4f0af30d
AS
29462005-02-08 Andreas Schwab <schwab@suse.de>
2947
2948 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
2949 RESOLVE.
2950
4bae262d
UD
29512005-02-07 Richard Henderson <rth@redhat.com>
2952
2953 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
2954
606832e6
UD
29552005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2956
2957 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
2958 RESOLVE.
2959
29602005-02-07 Ulrich Drepper <drepper@redhat.com>
2961
611eb946 2962 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
606832e6
UD
2963 set correctly.
2964
bc82059d
RH
29652005-01-07 Richard Henderson <rth@redhat.com>
2966
2967 * math/math_private.h (__copysign): Define as builtin for gcc 4.
2968 (__copysignf, __copysignl): Likewise.
2969 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
2970 for gcc 4.0.
2971 (copysignf, copysignl, fabsf, fabs): Likewise.
2972 (__copysign, __copysignf, __copysignl): Remove.
2973 (__fabs, __fabsf): Remove.
2974
ecc1d0c3
UD
29752005-01-07 Jakub Jelinek <jakub@redhat.com>
2976
a0b64216 2977 [BZ #738]
ecc1d0c3
UD
2978 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
2979 avoid writing to it if none of the standard search directories exist.
2980
16cc1800
UD
29812005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
2982
2983 [BZ #700]
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2985 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
2986 Load MSR as a doubleword.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2988 (__novec_swapcontext, __swapcontext): Likewise.
2989
dd1e8878
UD
29902005-02-07 Ulrich Drepper <drepper@redhat.com>
2991
2992 * iconv/iconv_prog.c (main): Provide more help in case on an error.
2993
606832e6
UD
2994 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
2995
6aa10807
UD
29962005-02-07 Jakub Jelinek <jakub@redhat.com>
2997
a0b64216 2998 [BZ #741]
6aa10807
UD
2999 * nscd/nscd.c (termination_handler): Avoid segfault if some database
3000 is not enabled.
3001
a0b64216 3002 [BZ #741]
6aa10807
UD
3003 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
3004 __nss_not_use_nscd_hosts and return -1.
3005 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
3006 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
3007 Avoid leaking sockets.
3008
30092005-01-28 Andreas Schwab <schwab@suse.de>
3010 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 [BZ #677]
3013 * elf/dl-runtime.c (fixup): Change return type to
3014 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
3015 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
3016 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
3017 store and retrieve relocation values.
3018 (profile_fixup): Likewise.
3019 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
3020 l_reloc_result.
3021 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
3022 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
3023 (DL_FIXUP_MAKE_VALUE): Likewise.
3024 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3025 (DL_FIXUP_VALUE_ADDR): Likewise.
3026 (DL_FIXUP_ADDR_VALUE): Likewise.
3027 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
3028 (DL_FIXUP_VALUE_TYPE): New.
3029 (DL_FIXUP_MAKE_VALUE): Likewise.
3030 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3031 (DL_FIXUP_VALUE_ADDR): Likewise.
3032 (DL_FIXUP_ADDR_VALUE): Likewise.
3033 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
3034 (elf_machine_profile_plt): Removed.
3035 (elf_machine_fixup_plt): Change return type and type of value
3036 parameter to struct fdesc.
3037 (elf_machine_plt_value): Likewise.
3038 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
3039 argument for elf_machine_fixup_plt.
3040
58954d49
RM
30412005-02-07 Jakub Jelinek <jakub@redhat.com>
3042
a0b64216 3043 [BZ #742]
58954d49
RM
3044 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
3045 after the status string printed by killproc.
3046
9f2b2e4c
RM
30472004-11-18 Alexandre Oliva <aoliva@redhat.com>
3048
3049 * manual/.cvsignore: Add dir-add.texi.
3050
a6e73dea
RH
30512005-02-06 Richard Henderson <rth@redhat.com>
3052
3053 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
3054 all the time.
3055
75df54b7
RM
30562004-11-03 Marcus Brinkmann <marcus@gnu.org>
3057
3058 * configure.in (sysnames): Append sysdeps/generic for each add-on.
3059 * configure: Regenerated.
3060
69553a9b
RM
30612005-02-02 Alfred M. Szmidt <ams@gnu.org>
3062
3063 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
3064 (dtv_t): Change pointer type to be a struct which also contains
3065 information whether the memory pointed to is static TLS or not.
3066
3067 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
3068
3069 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
3070 (FALSEP): ... this. Updated all references.
3071
25e3dd28 3072 [BZ #765]
69553a9b
RM
3073 * libio/fmemopen.c: Include <stdint.h>.
3074
6925ef9a
UD
30752005-01-30 Ulrich Drepper <drepper@redhat.com>
3076
a34dc4aa 3077 [BZ #1103]
6925ef9a
UD
3078 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
3079 * nscd/connections.c (send_ro_fd): Likewise.
3080
2af40494
UD
30812005-01-28 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * elf/tst-auditmod1.c: Add ia64 entries.
3084 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
3085 (La_ia64_retval): New.
3086 (audit_ifaces): Add ia64 entries.
3087 * sysdeps/ia64/bits/link.h: New file.
3088 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
3089 for dl_profile non-null.
3090 (ARCH_LA_PLTENTER): New.
3091 (ARCH_LA_PLTEXIT): New.
3092 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
3093 only 2 output registers. Allocate stack to save/restore
3094 8 incoming fp registers. Call _dl_fixup instead of fixup.
3095 (_dl_runtime_profile): Rewrite.
3096
d749c5b7
RM
30972005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3098
bb38d32c
UD
3099 * sysdeps/s390/bits/link.h: New file.
3100 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
3101 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
3102 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
3103 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
3104 relocation code.
3105 (elf_machine_runtime_setup): Test for dl_profile non-null.
3106 (elf_machine_rela): Remove code using RESOLVE.
3107 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3108 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3109 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
3110 La_s390_64_regs, La_s390_64_retval): New.
3111 * elf/tst-auditmod1.c: Add s390 entries.
3112
a0b64216 3113 [BZ #743]
d749c5b7
RM
3114 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
3115 strncat, memchr, strcmp): Add missing memory clobber.
3116
566511f0
UD
31172005-01-27 Ulrich Drepper <drepper@redhat.com>
3118
3119 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
3120 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
3121
963d8d78
UD
31222005-01-27 Paolo Bonzini <bonzini@gnu.org>
3123
3124 [BZ #558]
3125 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
3126 Initialize the node sets in dfa->inveclosures.
3127 (analyze): Initialize inveclosures only if it is needed.
3128 Check errors from calc_inveclosure.
3129 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
3130 the inveclosure node set.
3131 * posix/regexec.c (re_search_internal): If nmatch includes unused
3132 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
3133
3134 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
3135 Do build a SIMPLE_BRACKET token.
3136
3137 * posix/regexec.c (transit_state_mb): Do not examine nodes
3138 where ACCEPT_MB is not set.
3139
717ecb1f
UD
31402005-01-27 Jakub Jelinek <jakub@redhat.com>
3141
3142 * stdlib/tst-fmtmsg.c: Include stdlib.h.
3143 * stdio-common/tst-fmemopen2.c: Include string.h.
3144 * posix/execvp.c: Include stdbool.h.
3145
02f3550c
UD
31462004-12-13 Paolo Bonzini <bonzini@gnu.org>
3147
3148 Separate parsing and creation of the NFA. Avoided recursion on
3149 the (very unbalanced) parse tree.
3150 [BZ #611]
3151 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
3152 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
3153 (optimize_subexps, duplicate_tree, calc_first, calc_next,
3154 mark_opt_subexp): Rewritten.
3155 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
3156 create_token_tree, free_tree, free_token): New.
3157 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
3158 postorder generic visitors. Do not initialize the fields in the
3159 re_dfa_t that represent the transitions.
3160 (free_dfa_content): Use free_token.
3161 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
3162 include optimization of subexpressions.
3163 (create_initial_state): Fetch the DFA node index from the first node's
3164 bin_tree_t *.
3165 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
3166 Return on COMPLEX_BRACKET.
3167 (duplicate_node_closure): Fix comment.
3168 (duplicate_node): Do not initialize the fields in the
3169 re_dfa_t that represent the transitions.
3170 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
3171 (create_tree): Remove final argument. All callers adjusted. Rewritten
3172 to use create_token_tree.
3173 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
3174 build_charclass_op): Use create_tree or create_token_tree instead
3175 of re_dfa_add_tree_node.
3176 (parse_dup_op): Likewise. Also free the tree using free_tree for
3177 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
3178 to "a|". Adjust invocation of mark_opt_subexp.
3179 (parse_sub_exp): Create a single SUBEXP node.
3180 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
3181 always perform as if it was 1. Do not initialize OPT_SUBEXP and
3182 DUPLICATED, and initialize the DFA fields representing the transitions.
3183 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
3184 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
3185 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
3186 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
3187 NEXT into pointers to trees. Remove ECLOSURE.
3188
31892004-12-28 Paolo Bonzini <bonzini@gnu.org >
3190
3191 [BZ #605]
3192 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
3193 that were already created.
3194 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
3195 in the token if needed.
3196 (create_ci_newstate, create_cd_newstate): Set accept_mb field
3197 from the tokens' field.
3198 * posix/regex_internal.h (re_token_t): Add accept_mb field.
3199 (ACCEPT_MB_NODE): Removed.
3200 * posix/regexec.c (proceed_next_node, transit_states_mb,
3201 build_sifted_states, check_arrival_add_next_nodes): Use
3202 accept_mb instead of ACCEPT_MB_NODE.
3203
ea9c93cc
UD
32042005-01-26 Ulrich Drepper <drepper@redhat.com>
3205
a34dc4aa 3206 [BZ #1100]
629311b7
UD
3207 * debug/chk_fail.c (__chk_fail): Print program name in final message.
3208
ea9c93cc
UD
3209 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
3210 MSG_NOSIGNAL being in 2.2 kernels.
3211
24992143
UD
32122005-01-26 Jakub Jelinek <jakub@redhat.com>
3213
3214 * sysdeps/unix/sysv/linux/i386/sysdep.h
3215 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
3216
3217 [BZ #693]
3218 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
3219 (WORD_DELIM_CONSTRAINT): ...this.
3220 (NOT_WORD_DELIM_CONSTRAINT): Define.
3221 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
3222 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
3223 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
3224 anchor instead of INSIDE_WORD.
3225 (parse_expression): Handle NOT_WORD_DELIM constraint.
3226 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
3227 being inside word instead of not word delim.
3228 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
3229 characters.
3230 * posix/rxspencer/tests: Add some new tests.
3231
d6868416
RM
32322005-01-14 GOTO Masanori <gotom@debian.or.jp>
3233
44d75caf 3234 [BZ #1108]
c7adcc24
RM
3235 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
3236 irrespective of Cflag.
3237
d6868416
RM
3238 * manual/memory.texi (sbrk): Fix definition.
3239 * manual/string.texi (strcasestr): Fix example typo.
3240
32412005-01-25 Roland McGrath <roland@redhat.com>
3242
3243 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
3244
edd806d2
RM
32452005-01-23 Roland McGrath <roland@redhat.com>
3246
a0b64216 3247 [BZ #737]
edd806d2
RM
3248 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
3249 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
3250 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
3251 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
3252 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
3253 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
3254
792dcd77
UD
32552005-01-25 Jakub Jelinek <jakub@redhat.com>
3256
a0b64216 3257 [BZ #731]
792dcd77
UD
3258 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
3259 (free_mem): Don't free string.
3260 * stdlib/tst-fmtmsg.c: Include string.h.
3261 (main): Add some more tests.
3262
32632005-01-25 Andreas Schwab <schwab@suse.de>
3264
a0b64216 3265 [BZ #736]
792dcd77
UD
3266 * timezone/asia: Update from tzdata2005c.
3267 * timezone/backward: Likewise.
a0b64216 3268 * timezone/europe: Likewise.
792dcd77
UD
3269 * timezone/leapseconds: Likewise.
3270 * timezone/northamerica: Likewise.
3271 * timezone/southamerica: Likewise.
3272
a0b64216 3273 [BZ #736]
792dcd77
UD
3274 * timezone/private.h: Update from tzcode2005c.
3275 * timezone/tzfile.h: Likewise.
3276 * timezone/zdump.c: Likewise.
3277 * timezone/zic.c: Likewise.
3278
1f25bddd
UD
32792005-01-25 Ulrich Drepper <drepper@redhat.com>
3280
3281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
3282 RESOLVE.
3283 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
3284 using RESOLVE.
3285 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
3286
d026cf5f
UD
32872005-01-25 Alan Modra <amodra@bigpond.net.au>
3288
cb7c7a9f 3289 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
d026cf5f
UD
3290 sym_map, not sym, against zero.
3291
790aa1f2
UD
32922005-01-24 Ulrich Drepper <drepper@redhat.com>
3293
a0b64216 3294 [BZ #671]
790aa1f2
UD
3295 * misc/syslog.c: Moved to...
3296 * sysdeps/generic/syslog.c: ...here.
3297 [NO_SIGIPE]: Don't install SIGPIPE handler.
3298 * sysdeps/unix/sysv/linux/syslog.c: New file.
3299 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3300 __ASSUME_MSG_NOSIGNAL.
3301
57c6c64a
RH
33022005-01-22 Richard Henderson <rth@redhat.com>
3303
3304 * sysdeps/alpha/dl-trampoline.S: New file.
3305 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
3306 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
3307 (elf_machine_runtime_setup): Test for dl_profile non-null.
3308 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3309 * sysdeps/alpha/bits/link.h: New file.
3310 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
3311 (struct audit_ifaces): Add alpha entries.
3312 * elf/tst-auditmod1.c: Add alpha entries.
3313
70fb71fd
UD
33142005-01-22 Ulrich Drepper <drepper@redhat.com>
3315
4bf1073d
UD
3316 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
3317 * sysdeps/ia64/dl-trampoline.S: New file.
3318
9c9628d9
UD
3319 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
3320 La_x86_64_xmm definition.
3321
70fb71fd
UD
3322 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
3323 pointer option.
70fb71fd
UD
3324 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
3325 CFLAGS-system.c for frame pointer option.
3326
cd7129c9
RM
33272005-01-21 Roland McGrath <roland@redhat.com>
3328
3329 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
3330 * sysdeps/i386/dl-machine.h: Update decl.
3331
be184b1d
UD
33322005-01-21 Jakub Jelinek <jakub@redhat.com>
3333
a0b64216 3334 [BZ #735]
be184b1d
UD
3335 * elf/Makefile: Add rules to build and run tst-align2.
3336 * elf/tst-align2.c: New test.
3337 * elf/tst-alignmod2.c: New file.
3338 * sysdeps/powerpc/tst-stack-align.h: New file.
3339 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
3340 pointer before calling _dl_init.
3341 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3342
57b47af9
UD
33432005-01-20 Ulrich Drepper <drepper@redhat.com>
3344
3345 * posix/execl.c: Do not allocate potentially large buffers on the
3346 stack.
3347 * posix/execle.c: Likewise.
3348 * posix/execlp.c: Likewise.
8b3d4e0b 3349 * posix/execvp.c: Likewise.
57b47af9
UD
3350 (script_execute): Removed.
3351 (allocate_scripts_argv): New function. Called at most once to
3352 allocate memory, not every time a script is run. Adjust caller.
3353
3354 * sysdeps/generic/wordexp.c (exec_comm): Add a few
3355 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
3356 exec_comm_child.
3357 (exec_comm_child): Can now be inlined.
3358
3359 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3360 * stdlib/Makefile: Likewise.
3361
8d33466f
RM
33622005-01-19 Roland McGrath <roland@redhat.com>
3363
3364 [BZ #681]
3365 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3366 argument to execlp.
3367 Reported by Marcus Meissner <meissner@suse.de>.
3368
f9f7fcbe
RM
33692005-01-19 Jakub Jelinek <jakub@redhat.com>
3370
3371 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3372 in assert.
3373 * iconv/strtab.c (strtabfinalize): Likewise.
3374
3375 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3376
1d038b6b
RM
33772005-01-17 Roland McGrath <roland@redhat.com>
3378
a0b64216 3379 [BZ #745]
1d038b6b
RM
3380 * nscd/Makefile (LDLIBS-nscd): New variable.
3381 ($(objpfx)nscd): Use that instead of selinux-LIBS.
3382
3383 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3384 (link-extra-libs-static): Define to $(link-extra-libs).
3385 (link-extra-libs-bounded): Likewise.
3386
0af42c25
UD
33872005-01-17 Ulrich Drepper <drepper@redhat.com>
3388
3389 * include/link.h: Remove stray definition of pltenter.
3390
125a8cf7
UD
33912005-01-16 GOTO Masanori <gotom@debian.or.jp>
3392
a0b64216 3393 [BZ #734]
125a8cf7
UD
3394 * sysdeps/unix/rewinddir.c: Reset filepos.
3395 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3396
33972005-01-15 Ulrich Drepper <drepper@redhat.com>
3398
3399 * elf/tst-auditmod1.c: Reduce duplication.
3400
b92f2d04
AS
34012005-01-16 Andreas Schwab <schwab@suse.de>
3402
3403 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
3404 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3405 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3406 GLRO(dl_profile) != NULL.
3407 * sysdeps/m68k/dl-trampoline.S: New file.
3408 * sysdeps/m68k/bits/link.h: New file.
3409 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3410 variants.
3411 * elf/tst-auditmod1.c: Add m68k support.
3412
ea161661
UD
34132005-01-14 Ulrich Drepper <drepper@redhat.com>
3414
3415 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3416 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
3417
a0b64216 3418 [BZ #731]
ea161661
UD
3419 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3420 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3421
1b85ed0c
UD
34222005-01-12 Ulrich Drepper <drepper@redhat.com>
3423
3e539cb4
UD
3424 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3425 callers from libc anymore.
3426
3427 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3428 to _dl_map_object_deps.
3429 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3430 protections when loading auditing modules.
3431
3432 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3433
1b85ed0c
UD
3434 * posix/getconf.c: Update copyright year.
3435 * nss/getent.c: Likewise.
3436 * nscd/nscd_nischeck.c: Likewise.
3437 * iconv/iconvconfig.c: Likewise.
3438 * iconv/iconv_prog.c: Likewise.
3439 * elf/ldconfig.c: Likewise.
3440 * catgets/gencat.c: Likewise.
3441 * csu/version.c: Likewise.
3442 * elf/ldd.bash.in: Likewise.
3443 * elf/sprof.c (print_version): Likewise.
3444 * locale/programs/locale.c: Likewise.
3445 * locale/programs/localedef.c: Likewise.
3446 * nscd/nscd.c (print_version): Likewise.
3447 * debug/xtrace.sh: Likewise.
3448 * malloc/memusage.sh: Likewise.
3449 * malloc/mtrace.pl: Likewise.
3450 * debug/catchsegv.sh: Likewise.
3451
537e7234
UD
34522005-01-11 Thorsten Kukuk <kukuk@suse.de>
3453
a0b64216 3454 [BZ #733]
a3a449c1
UD
3455 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3456 as backlog.
3457 * sunrpc/svc_unix.c (svcunix_create): Likewise.
3458
a34dc4aa 3459 [BZ #1099]
537e7234
UD
3460 * grp/putgrent.c (putgrent): Don't write 0 as group
3461 ID if groupname starts with + or -.
3462 * pwd/putpwent.c (putpwent): Don't write 0 as user or
3463 group ID if user name starts with + or -.
3464
34652005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3466
3467 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3468 * sysdeps/elf/tst-auditmod1.c: Add sh support.
3469 * sysdeps/sh/bits/link.h: New.
3470 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
3471 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
3472 (RTLD_START): Define __fpscr_values.
3473 * sysdeps/sh/dl-trampoline.S: New file.
3474 * sysdeps/sh/sh4/dl-trampoline.S: New file.
3475 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3476 * sysdeps/sh/sh4/dl-machine.h: Remove.
3477
34782005-01-10 Jakub Jelinek <jakub@redhat.com>
3479
a0b64216 3480 [BZ #732]
537e7234
UD
3481 * time/tst-strptime.c (day_tests): Add 2 new tests.
3482 (test_tm, main): Issue an error instead of segfaulting if
3483 strptime returns NULL.
3484
34852005-01-10 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3488 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3489
8bf139c9
UD
34902005-01-11 Ulrich Drepper <drepper@redhat.com>
3491
3492 * malloc/malloc.h: Remove no-glibc support.
3493
34942005-01-12 GOTO Masanori <gotom@debian.or.jp>
3495
3496 [BZ #650]
3497 * malloc/malloc.h: Always include features.h.
3498
849a8a3b
RM
34992005-01-10 Roland McGrath <roland@redhat.com>
3500
5d3d59a1
RM
3501 * sysdeps/ia64/fpu/e_logl.c: File removed.
3502
849a8a3b
RM
3503 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3504
73102f50
UD
35052005-01-10 Ulrich Drepper <drepper@redhat.com>
3506
3507 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3508 recognition of last entry.
3509
9fbdeb41
UD
35102005-01-09 Ulrich Drepper <drepper@redhat.com>
3511
5d3d59a1 3512 * elf/dl-runtime.c: Include <sys/param.h>.
9fbdeb41
UD
3513
3514 * elf/Makefile (headers): Add bits/link.h.
3515
35162005-01-09 Andreas Schwab <schwab@suse.de>
3517
3518 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3519
35202005-01-09 Andreas Jaeger <aj@suse.de>
3521
a0b64216 3522 [BZ #732]
9fbdeb41
UD
3523 * time/strptime_l.c (__strptime_internal): Add braces to avoid
3524 warning.
3525
3526 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3527
3528 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3529
35302005-01-08 Jakub Jelinek <jakub@redhat.com>
3531
3532 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3533
29f97654
UD
35342005-01-09 Ulrich Drepper <drepper@redhat.com>
3535
e145f1cc
UD
3536 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3537 those of all the regular objects.
3538
29f97654
UD
3539 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3540 use it to select the r_debug structure for that namespace.
3541 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3542 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3543 * elf/dl-open.c (_dl_open): Likewise.
3544 * elf/rtld.c (dl_main): Likewise.
3545 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3546 member.
3547 (_dl_debug_initialize): Add new parameter in declaration.
3548
3549 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3550 called for the auditing objects themselves.
3551 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3552
e2070ca2
UD
35532005-01-07 Ulrich Drepper <drepper@redhat.com>
3554
4e2d5491
UD
3555 * sysdeps/powerpc/powerpc64/dl-machine.h
3556 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3557 GLRO(dl_profile) != NULL.
3558 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3559 padding.
3560 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3561 Extend _dl_prof_resolve to add pass extra parameters to
3562 _dl_profile_fixup and set up structure with register content.
3563
70cd1f97
UD
3564 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3565 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
85555eeb
UD
3566 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3567 Extend _dl_prof_resolve to add pass extra parameters to
3568 _dl_profile_fixup and set up structure with register content.
70cd1f97
UD
3569 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3570 the register and result structures.
3571 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3572 in the 32-bit register and result structures.
85555eeb 3573
2413fdba
UD
3574 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3575
3576 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3577 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3578 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3579 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3580 * elf/tst-auditmod1.c: Add ppc32 support.
3581 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3582 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3583
ae7f5313
UD
3584 * malloc/malloc.c (malloc_printerr): Print program name as part of
3585 error message.
3586
9ee4c017
UD
3587 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3588 * stdlib/stdlib.h: Make realloc with
3589 __attribute_warn_unused_result__ instead of __wur.
3590 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3591 markers as in <stdlib.h>.
3592
e2070ca2
UD
3593 * libio/stdio.h: Remove __wur from rename and remove.
3594 * posix/unistd.h: Remove __wur from dup2.
3595
883faf82
AJ
35962005-01-03 Andreas Jaeger <aj@suse.de>
3597
3598 * elf/Makefile (tests): Revert patch from 2005-01-03.
3599
82221992
UD
36002005-01-07 Ulrich Drepper <drepper@redhat.com>
3601
3ded7036
UD
3602 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3603 make __libc_init_first hidden.
3604
82221992
UD
3605 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3606 l_relocated of rtld map.
3607 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3608 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3609 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1b80bbc1 3610 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
82221992
UD
3611 * elf/tst-auditmod1.c: Add ppc64 support.
3612 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3613
1e6a5f2f
RM
36142005-01-06 Roland McGrath <roland@redhat.com>
3615
3616 [BZ #633]
3617 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3618 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3619
f14038f2
UD
36202005-01-06 Ulrich Drepper <drepper@redhat.com>
3621
2c11e7f3
UD
3622 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3623 * sysdeps/generic/libc-start.c: Don't register program destructor here.
3624
3625 * dlfcn/Makefile: Add rules to build dlfcn.c.
3626 (LDFLAGS-dl.so): Removed.
3627 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3628 table.
3629 * dlfcn/dlmopen.c: Likewise for _dl_open.
3630 * dlfcn/dlopen.c: Likewise.
3631 * dlfcn/dlopenold.c: Likewise.
3632 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3633 * elf/Makefile (routines): Remove dl-open and dl-close.
3634 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3635 Add rules to build and run tst-audit1.
3636 * elf/tst-audit1.c: New file.
3637 * elf/tst-auditmod1.c: New file.
3638 * elf/Versions [libc]: Remove _dl_open and _dl_close.
3639 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3640 * elf/dl-open.c: Likewise.
3641 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3642 signaled by nonzero parameter.
3643 * elf/dl-init.c: Fix use of r_state.
3644 * elf/dl-load.c: Likewise.
3645
3646 * elf/dl-close.c: Add auditing checkpoints.
3647 * elf/dl-open.c: Likewise.
3648 * elf/dl-fini.c: Likewise.
3649 * elf/dl-load.c: Likewise.
3650 * elf/dl-sym.c: Likewise.
3651 * sysdeps/generic/libc-start.c: Likewise.
3652 * elf/dl-object.c: Allocate memory for auditing information.
3653 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
3654 Correctly initialize slotinfo.
3655 * elf/dynamic-link.h: Adjust after removal of RESOLV.
3656 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3657 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3658 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3659 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3660 (_dl_profile_fixup): New parameters to point to register struct and
3661 variable for frame size.
3662 Add auditing checkpoints.
3663 (_dl_call_pltexit): New function.
3664 Don't define trampoline code here.
3665 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
3666 Remove all the functions from _rtld_global_ro which only _dl_open
3667 and _dl_close needed.
3668 Add auditing checkpoints.
3669 * elf/link.h: Define symbols for auditing interfaces.
3670 * include/link.h: Likewise.
3671 * include/dlfcn.h: Define __RTLD_AUDIT.
3672 Remove prototypes for _dl_open and _dl_close.
3673 Adjust access to argc and argv in libdl.
3674 * dlfcn/dlfcn.c: New file.
3675 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3676 is gone.
3677 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3678 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3679 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3680 Adjust for removal of RESOLVE.
3681 * sysdeps/x86_64/dl-machine.h: Likewise.
3682 * sysdeps/generic/dl-trampoline.c: New file.
3683 * sysdeps/i386/dl-trampoline.c: New file.
3684 * sysdeps/x86_64/dl-trampoline.c: New file.
3685
3686 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
3687 Fix updating of DTV.
3688 * sysdeps/generic/libc-tls.c: Likewise.
3689
3690 * sysdeps/arm/bits/link.h: Renamed to ...
5d09cc15 3691 * sysdeps/arm/bits/linkmap.h: ...this.
2c11e7f3
UD
3692 * sysdeps/generic/bits/link.h: Renamed to...
3693 * sysdeps/generic/bits/linkmap.h: ...this.
3694 * sysdeps/hppa/bits/link.h: Renamed to...
3695 * sysdeps/hppa/bits/linkmap.h: ...this.
5d09cc15
RM
3696 * sysdeps/i386/bits/link.h: Renamed to...
3697 * sysdeps/i386/bits/linkmap.h: ...this.
3698 * sysdeps/ia64/bits/link.h: Renamed to...
3699 * sysdeps/ia64/bits/linkmap.h: ...this.
3700 * sysdeps/s390/bits/link.h: Renamed to...
3701 * sysdeps/s390/bits/linkmap.h: ...this.
3702 * sysdeps/sh/bits/link.h: Renamed to...
3703 * sysdeps/sh/bits/linkmap.h: ...this.
3704 * sysdeps/x86_64/bits/link.h: Renamed to...
3705 * sysdeps/x86_64/bits/linkmap.h: ...this.
2c11e7f3 3706
f14038f2
UD
3707 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
3708
4d37c8aa
UD
37092004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
3710
a0b64216 3711 [BZ #602]
4d37c8aa
UD
3712 * math/libm-test.inc (rint_test_tonearest): New test.
3713 (rint_test_towardzero): New test.
3714 (rint_test_downward): New test.
3715 (rint_test_upward): New test.
3716 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
3717 Remove redundant const values.
3718 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
3719 Remove redundant const values. Use float const.
3720 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
3721 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
3722 Use float const.
3723 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
3724 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
3725 Use float const.
3726 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
3727 Remove redundant const values.
3728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
3729 Remove redundant const values. Use float const.
3730 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
3731 Remove redundant const values.
3732 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
3733 Remove redundant const values. Use float const.
3734 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
3735 alignment. Fix -0.0 case. Remove redundant const values.
3736 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
3737 alignment. Fix -0.0 case. Remove redundant const values.
3738 Use float const.
3739 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
3740 alignment. Fix -0.0 case.
3741 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
3742 alignment. Fix -0.0 case. Use float const.
3743 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
3744 alignment. Fix -0.0 case.
3745 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
3746 alignment. Fix -0.0 case. Use float const.
3747 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
3748 alignment. Fix -0.0 case. Remove redundant const values.
3749 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
3750 alignment. Fix -0.0 case. Remove redundant const values.
3751 Use float const.
3752 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
3753 alignment. Fix -0.0 case.
3754 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
3755 alignment. Fix -0.0 case. Remove redundant const values.
3756 Use float const.
3757
5cf53cc2
UD
37582005-01-06 Ulrich Drepper <drepper@redhat.com>
3759
3760 * misc/sys/cdefs.h: Define __wur.
3761 * libio/stdio.h: Use __wur for a number of interfaces.
3762 * posix/unistd.h: Likewise.
0476597b 3763 * stdlib/stdlib.h: Likewise.
5cf53cc2 3764
bb803bff
UD
37652004-12-29 Jakub Jelinek <jakub@redhat.com>
3766
a0b64216 3767 [BZ #592]
bb803bff
UD
3768 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
3769 libc_hidden_proto instead of HIDDEN_PROTO.
3770 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
3771 (__libm_error_support): If ASSEMBLER and in libc, define to
3772 HIDDEN_JUMPTARGET(__libm_error_support).
3773
37742004-12-28 David Mosberger <davidm@hpl.hp.com>
3775
a0b64216 3776 [BZ #592]
bb803bff
UD
3777 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
3778 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
3779 with $(duplicated-routines).
3780 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
3781 "m_" prefix.
3782
37832004-12-27 David Mosberger <davidm@hpl.hp.com>
3784
a0b64216 3785 [BZ #592]
bb803bff
UD
3786 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
3787 undefine "ret" macro. Add __libm_error_support hidden definitions.
3788
a0b64216 3789 [BZ #592]
bb803bff
UD
3790 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
3791 missing portion of copyright statement.
3792 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
3793 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
3794
a0b64216 3795 [BZ #592]
bb803bff
UD
3796 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
3797 missing portion of copyright statement.
3798 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
3799 (__ieee754_gamma): Likewise.
3800 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3801 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3802
da232bf9 38032004-12-09 H.J. Lu <hjl@lucon.org>
bb803bff 3804
a0b64216 3805 [BZ #592]
bb803bff
UD
3806 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
3807 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
3808 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
3809 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
3810 * sysdeps/ia64/fpu/e_expl.S: Likewise.
3811 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
3812
38132004-11-18 David Mosberger <davidm@hpl.hp.com>
3814
a0b64216 3815 [BZ #592]
bb803bff
UD
3816 * sysdeps/ia64/fpu/README: New file.
3817 * sysdeps/ia64/fpu/gen_import_file_list: New file.
3818 * sysdeps/ia64/fpu/import_check: Likewise.
3819 * sysdeps/ia64/fpu/import_diffs: Likewise.
3820 * sysdeps/ia64/fpu/import_file.awk: Likewise.
3821 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
3822 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3823
a0b64216 3824 [BZ #592]
bb803bff
UD
3825 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
3826 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
3827 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
3828 * sysdeps/ia64/fpu/e_asin.S: Likewise.
3829 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
3830 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
3831 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
3832 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
3833 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
3834 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
3835 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
3836 * sysdeps/ia64/fpu/e_exp.S: Likewise.
3837 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3838 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
3839 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
3840 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
3841 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
3842 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
3843 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
3844 * sysdeps/ia64/fpu/e_log.S: Likewise.
3845 * sysdeps/ia64/fpu/e_log2.S: Likewise.
3846 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
3847 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
3848 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3849 * sysdeps/ia64/fpu/e_pow.S: Likewise.
3850 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3851 * sysdeps/ia64/fpu/e_powl.S: Likewise.
3852 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
3853 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
3854 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
3855 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
3856 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
3857 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
3858 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
3859 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
3860 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
3861 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
3862 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
3863 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
3864 * sysdeps/ia64/fpu/libm_error.c: Likewise.
3865 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
3866 * sysdeps/ia64/fpu/libm_support.h: Likewise.
3867 * sysdeps/ia64/fpu/s_atan.S: Likewise.
3868 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
3869 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
3870 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
3871 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
3872 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
3873 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
3874 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
3875 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
3876 * sysdeps/ia64/fpu/s_cos.S: Likewise.
3877 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
3878 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3879 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
3880 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
3881 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
3882 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
3883 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
3884 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
3885 * sysdeps/ia64/fpu/s_floor.S: Likewise.
3886 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
3887 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
3888 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
3889 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
3890 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
3891 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
3892 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
3893 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
3894 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
3895 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
3896 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
3897 * sysdeps/ia64/fpu/s_logb.S: Likewise.
3898 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
3899 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
3900 * sysdeps/ia64/fpu/s_modf.S: Likewise.
3901 * sysdeps/ia64/fpu/s_modff.S: Likewise.
3902 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
3903 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
3904 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
3905 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
3906 * sysdeps/ia64/fpu/s_rint.S: Likewise.
3907 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
3908 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
3909 * sysdeps/ia64/fpu/s_round.S: Likewise.
3910 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
3911 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
3912 * sysdeps/ia64/fpu/s_significand.S: Likewise.
3913 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
3914 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
3915 * sysdeps/ia64/fpu/s_tan.S: Likewise.
3916 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
3917 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
3918 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
3919 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
3920 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
3921
a0b64216 3922 [BZ #592]
bb803bff
UD
3923 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
3924 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
3925 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
3926 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
3927 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
3928 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
3929 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
3930 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
3931 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
3932 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3933 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
3934 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
3935 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
3936 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
3937 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
3938 * sysdeps/ia64/fpu/e_logl.S: Likewise.
3939 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
3940 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
3941 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
3942 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
3943 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
3944 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
3945 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
3946 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
3947 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
3948 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
3949 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
3950 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
3951 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
3952 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3953 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
3954 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3955 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
3956 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
3957 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
3958 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
3959 * sysdeps/ia64/fpu/s_erf.S: Likewise.
3960 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
3961 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
3962 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
3963 * sysdeps/ia64/fpu/s_erff.S: Likewise.
3964 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
3965 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
3966 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
3967 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
3968 * sysdeps/ia64/fpu/s_fma.S: Likewise.
3969 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
3970 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
3971 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
3972 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
3973 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
3974 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
3975 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
3976 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
3977 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
3978 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
3979 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
3980 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
3981 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
3982 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
3983 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
3984 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
3985 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
3986 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
3987 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
3988 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3989 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3990 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3991 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3992 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3993
a0b64216 3994 [BZ #592]
bb803bff
UD
3995 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
3996 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
3997 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
3998 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3999 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4000 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4001 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4002 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4003 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4004 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4005 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4006 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4007 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4008 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4009 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4010 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4011 * sysdeps/ia64/fpu/e_expl.S: Likewise.
4012 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4013 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4014 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4015 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4016 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4017 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4018 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4019 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4020 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4021
a0b64216 4022 [BZ #592]
bb803bff
UD
4023 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
4024 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
4025 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
4026 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
4027 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
4028 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
4029 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
4030
a0b64216 4031 [BZ #592]
bb803bff
UD
4032 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
4033 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
4034 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
4035
a0b64216 4036 [BZ #592]
bb803bff
UD
4037 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
4038
a0b64216 4039 [BZ #592]
bb803bff
UD
4040 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
4041 alias for use by libm_error.c
4042
a0b64216 4043 [BZ #592]
bb803bff
UD
4044 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
4045 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
4046 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
4047 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
4048 libm_scalbn{,f,l}, libm_scalblnf.
4049 (sysdep_routines): Remove libm_frexp4{,f,l}.
4050 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
4051 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
4052 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
4053 -DSIZE_LONG_LONG_INT_64.
4054
ef07fd10
UD
40552005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
4056
a0b64216 4057 [BZ #729]
ef07fd10
UD
4058 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
4059 l_text_end are set for a VDSO with a single PT_LOAD entry.
4060
6c4b3f16
UD
40612005-01-05 Ulrich Drepper <drepper@redhat.com>
4062
a0b64216 4063 [BZ #730]
1e7cceb9
UD
4064 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
4065 invalid to disable optimizations in fileops which won't work here.
4066 (_IO_cookie_jumps): Use it.
4067 (_IO_old_cookie_jumps): Likewise.
4068 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
4069 not the return value.
4070 * stdio-common/Makefile (tests): Add tst-fmemopen2.
4071 * stdio-common/tst-fmemopen2.c: New file.
4072
6c4b3f16
UD
4073 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
4074
dabacd06
RM
40752005-01-05 Roland McGrath <roland@redhat.com>
4076
4077 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
4078 * sysdeps/i386/configure.in: ... here. New file.
dabacd06 4079
d410d5dc
UD
40802005-01-03 Ulrich Drepper <drepper@redhat.com>
4081
a0b64216 4082 [BZ #727]
3fb2606a
UD
4083 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
4084 initialize __environ again.
574b268e
UD
4085 * stdlib/Makefile: Add rules to build and run tst-putenv.
4086 * stdlib/tst-putenv.c: New file.
4087 * stdlib/tst-putenvmod.c: New file.
3fb2606a 4088
d410d5dc
UD
4089 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
4090 define unnecessary wrappers or aliases of static functions.
4091
a1194e83
AJ
40922005-01-03 Andreas Jaeger <aj@suse.de>
4093
4094 * csu/Makefile (generated): Add start.os and start.ob.
4095
4096 * elf/Makefile (tests): Change rule for tst-pie1 so that make
4097 clean works.
4098
37c6165d
RM
40992004-12-29 Roland McGrath <roland@redhat.com>
4100
4101 [BZ #626]
4102 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
4103 than always up; when nearest is zero, round up to one.
4104
ab4bc713
UD
41052004-12-28 Ulrich Drepper <drepper@redhat.com>
4106
6bddccf2
UD
4107 * po/es.po: Update from translation team.
4108
a0b64216 4109 [BZ #726]
ab4bc713
UD
4110 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
4111
a71c152c
UD
41122004-12-27 Ulrich Drepper <drepper@redhat.com>
4113
a0b64216 4114 [BZ #744]
a71c152c
UD
4115 * include/signal.h: Define __sigemptyset.
4116
ab4b89fe
UD
41172004-04-27 Paolo Bonzini <bonzini@gnu.org>
4118
4119 * posix/regex_internal.h (struct re_dfastate_t): Make
4120 word_trtable a pointer to the 512-item transition table.
4121 * posix/regexec.c (build_trtable): Fill in either state->trtable
4122 or state->word_trtable. Return a boolean indicating success.
4123 (transit_state): Expect state->trtable to be a 256-item
4124 transition table. Reorganize code to have less tests in
4125 the common case, and to save an indentation level.
5cf53cc2 4126 * posix/regex_internal.c (free_state): Free word_trtable.
ab4b89fe 4127
d143c49e
UD
41282004-12-21 Jakub Jelinek <jakub@redhat.com>
4129
a0b64216 4130 [BZ #723]
d143c49e
UD
4131 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
4132 calling fn is 16 byte aligned.
4133 * sysdeps/i386/tst-stack-align.h: New file.
4134
a0b64216 4135 [BZ #725]
d143c49e
UD
4136 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4137 (ecvt_r): Special case denormals.
4138 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4139 * misc/tst-efgcvt.c: Include float.h.
4140 (ecvt_tests): Add 2 new tests.
4141
a334319f 41422004-12-20 Roland McGrath <roland@frob.com>
3b7a95fb 4143
a334319f
UD
4144 * version.h (RELEASE, VERSION): development, 2.3.90
4145 * include/features.h (__GLIBC_MINOR__): Now 4.
3b7a95fb 4146
5d37289a 4147
15e3f6f6 4148See ChangeLog.15 for earlier changes.