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