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