]> sourceware.org Git - glibc.git/blame - ChangeLog
[BZ #781, BZ #796]
[glibc.git] / ChangeLog
CommitLineData
453d8199
RM
12005-04-28 Roland McGrath <roland@redhat.com>
2
3 [BZ #796]
4 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
5 Define NEED_DL_SYSINFO_DSO for all platforms.
6
7 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
8 * sysdeps/alpha/dl-sysdep.h: Likewise.
9 Use #include_next instead of duplicating generic file's contents.
10 * sysdeps/ia64/dl-sysdep.h: Likewise.
11 * sysdeps/sparc/dl-sysdep.h: Likewise.
12
132005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
14
15 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
16
172005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
18
19 [BZ #781]
20 * sysdeps/unix/sysv/linux/kernel-features.h
21 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
22 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
23 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
24 with 2.6.1.
25 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
26
572028fa
UD
272005-04-28 Ulrich Drepper <drepper@redhat.com>
28
62d01985
UD
29 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
30 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
32 cfi_startproc and cfi_endproc.
33
b1ecbed2
UD
34 * configure.in: Remove ultrasparc names.
35
8406a53a
UD
36 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
37
382005-03-27 Bruno Haible <bruno@clisp.org>
39
40 Make it possible for multiple threads to use gettext() in different
41 locales.
42 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
43 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
44 field.
45 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
46 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
47 search and newp.
48
49 * intl/tst-gettext4.c: New file.
50 * intl/tst-gettext4.sh: New file.
51 * intl/tst-gettext4-de.po: New file.
52 * intl/tst-gettext4-fr.po: New file.
53 * intl/tst-gettext5.c: New file.
54 * intl/tst-gettext5.sh: New file.
55 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
56 tst-gettext4-fr.po, tst-gettext5.sh.
57 (multithread-test-srcs): New variable.
58 (test-srcs): Add its contents.
59 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
60 (tst-gettext4.out, tst-gettext5.out): New rules.
61 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
62 Add rule for linking the multithread-test-srcs with the appropriate
63 thread-library.
64
652005-04-28 Ulrich Drepper <drepper@redhat.com>
66
67 * po/rw.po: New file. From translation team.
68
572028fa
UD
69 * scripts/config.guess: Update from upstream.
70 * scripts/config.sub: Likewise.
71
75596b98
UD
722005-04-27 Ulrich Drepper <drepper@redhat.com>
73
74 * nscd/connections.c (nscd_run): Use time() value in prune_cache
75 call, not timeout value, since the latter might be from another clock.
76
84060bad
RM
772005-04-27 Roland McGrath <roland@redhat.com>
78
5e2d8ac8
RM
79 [BZ #877]
80 * posix/unistd.h: Remove __nonnull from acct decl.
81
84060bad
RM
82 * rt/tst-cpuclock1.c: New file.
83 * rt/tst-cpuclock2.c: New file.
84 * rt/tst-cputimer1.c: New file.
85 * rt/tst-cputimer2.c: New file.
86 * rt/tst-cputimer3.c: New file.
87 * rt/Makefile (tests): Add them.
88
89 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
90 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
91 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
92 (HAS_CPUCLOCK): New macro.
93 (clock_getcpuclockid): Function removed.
94 #include the new linux file to define it instead.
95 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
96 New function, broken out of ...
97 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
98 (realtime_gettime): New function, broken out of ...
99 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
100 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
101 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
102 (SYSDEP_GETTIME_CPUTIME): New macro.
103 (SYSDEP_GETTIME): Use both.
104 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
105 out of ...
106 (SYSDEP_GETTIME): ... here. Use it.
107 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
108 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
109 kernel support and falling back to hp-timing code.
110 * sysdeps/posix/clock_getres.c
111 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
112 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
113 (realtime_getres): New function, broken out of ...
114 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
115 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
116 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
117 (SYSDEP_GETRES_CPUTIME): New macro.
118 (SYSDEP_GETRES): Use both.
119 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
120 out of ...
121 (SYSDEP_GETRES): ... here. Use it.
122 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
123 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
124 kernel support and falling back to hp-timing code.
125 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
126 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
127 translating to the kernel clockid_t for our own process/thread clock.
128
0f888d8e
UD
1292005-04-27 Ulrich Drepper <drepper@redhat.com>
130
131 * stdlib/test-canon.c: Make doesExist a directory and add more tests
132 for the new error case.
133
1342004-06-02 Dmitry V. Levin <ldv@altlinux.org>
135 Ranjani Murthy <ranmur@gmail.com>
136
137 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
138 return NULL and set errno to ENOTDIR for such pathnames like
139 "/path/to/existing-non-directory/".
140
935f3e67
UD
1412005-04-26 Ulrich Drepper <drepper@redhat.com>
142
143 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
144 tm_gmtoff.
145 * time/Makefile (tests): Add tst-strptime2.
146 * time/tst-strptime2.c: New file.
147
bfc832cc
UD
1482005-04-26 Jakub Jelinek <jakub@redhat.com>
149
150 * elf/dl-close.c: Include stddef.h.
151 (_dl_close): If called recursively, just remember GC needs to be rerun
152 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
153 decreased to 1. Rerun GC at the end if any destructor unloaded some
154 additional libraries.
155 * elf/Makefile: Add rules to build and run unload6 test.
156 * elf/unload6.c: New test.
157 * elf/unload6mod1.c: New file.
158 * elf/unload6mod2.c: New file.
159 * elf/unload6mod3.c: New file.
160
161 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
162 if magic_p is not NULL.
163 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
164 (malloc_check): Fail if sz == -1.
165 (free_check): Adjust mem2chunk_check caller.
166 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
167 oldmem != NULL, call free_check and return NULL. If reallocating
168 and returning NULL, invert magic byte again to make oldmem valid
169 region for further checking.
170 (memalign_check): Fail if bytes == -1.
171 * malloc/Makefile: Add rules to build and run tst-mcheck.
172 * malloc/tst-mcheck.c: New test.
173
462be690
UD
1742005-04-26 Ulrich Drepper <drepper@redhat.com>
175
176 * stdio-common/vfscanf.c: Correctly account for characters of
177 decimal points right after +-.
178
bdd075fe
RM
1792005-04-26 Roland McGrath <roland@redhat.com>
180
181 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
182 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
183
b34cbd14
RM
1842005-04-25 Roland McGrath <roland@redhat.com>
185
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
187 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
188
189 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
190
191 * elf/dl-load.c: Revert last change.
192
64c01648
UD
1932005-04-24 Ulrich Drepper <drepper@redhat.com>
194
195 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
196 Patch by Hamed Malek <hamed@bamdad.org>.
197
6c632009
RM
1982005-04-21 Roland McGrath <roland@redhat.com>
199
200 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
201 since Linux ignores it in user mmap calls.
202
87f37b48
RM
2032005-04-17 David S. Miller <davem@davemloft.net>
204
205 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
206 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
207
21cee297
RM
2082005-04-15 Roland McGrath <roland@redhat.com>
209
210 * timezone/Makefile (zic-deps): New variable.
211 ($(testdata)/America/New_York): Use it instead of explicit deps.
212 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
213 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
214 (%/UTC %/Universal): New pattern rule, replaces ...
215 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
216 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
217 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
218
c9e16947
RM
2192005-04-14 Roland McGrath <roland@redhat.com>
220
221 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
222 (extract): Filter-out distinfo file name.
223
224 [BZ #253]
225 * MakeTAGS (text-srcs): Match %.bash.in files too.
226
227 [BZ #253]
228 * nscd/Makefile (all-nscd-modules): New variable, include selinux
229 module regardless of configuration.
230 (distribute): Use that instead of $(nscd-modules).
231
edac0e8f
UD
2322005-04-13 David S. Miller <davem@davemloft.net>
233
234 Add sparc64 TLS and NPTL support.
235 * elf/tls-macros.h: Add Sparc64 defines.
236 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
237 always_inline.
238 (elf_machine_fixup_plt): Likewise.
239 (elf_machine_rela): Handle TLS relocations.
240 (elf_machine_type_cleaa): Likewise.
241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
242 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
243 It does not always fit in R_SPARC_GOT13 when building -fPIC.
244 Also, add TLS handling.
245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
246 Increase it to 2.4.21 for sparc64.
247 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
248 backtrace by zero'ing out %fp. Store away flags, func_ptr,
249 and func_arg in global registers not local registers.
250 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
251 and CTID arguments properly. Add RESET_PID handling.
252 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
253 do not invoke __sigprocmask(). We can always assume rt signals
254 are present on sparc64, so just do an inline syscall.
255
2562005-04-13 Jakub Jelinek <jakub@redhat.com>
257
258 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
259 inclusion guard for the first half of the header.
260 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
261 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
262 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
263 #ifndef dl_machine_h guarded part of the header.
264
506cbf1f
UD
2652005-04-14 Ulrich Drepper <drepper@redhat.com>
266
87e7eef4 267 [BZ #851]
506cbf1f
UD
268 * posix/execvp.c (execvp): Use file name including path when
269 trying to run it with shell.
270 * posix/Makefile: Add rules to build and run tst-execvp3.
271 * posix/tst-execvp3.c: New file.
272
806bc96a
UD
2732005-04-12 Ulrich Drepper <drepper@redhat.com>
274
275 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
276 * string/tst-strfry.c: New file.
277 * string/Makefile (tests): Add tst-strfry.
278
79827876
RM
2792005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
280
281 * manual/string.texi: Fix typo in wmemcpy decl.
282
e638c1a2
RM
2832005-04-10 David S. Miller <davem@davemloft.net>
284
285 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
286
9cb97cd4
RM
2872005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
288
289 * FAQ.in: Explain why `make' might fail running rpcgen.
290 * FAQ: Regenerated.
291
ec781e12
RM
2922005-04-07 Roland McGrath <roland@redhat.com>
293
294 * po/libc.pot: Regenerated.
295
ab1d521d
RM
2962005-04-07 Roland McGrath <roland@redhat.com>
297
298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
299 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
300 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
301 we can skip the uname call if it's there.
302 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
303 DL_SYSDEP_OSCHECK here.
304 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
305
306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
307 Add _dl_sysinfo_map.
308 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
309 rtld_is_main case. Call it unconditionally later.
310 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
311 Initialize GLRO(dl_sysinfo_map).
312 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
313 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
314 (_dl_important_hwcaps)
315 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
316 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
317 and bit values.
318 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
319 (hwcap_extra): New static variable.
320 (is_hwcap_platform): Check hwcap_extra for a matching name.
321 Remove tls special case.
322 (path_hwcap): Likewise.
323 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
324 and their names, stored in hwcap_extra.
325 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
326
327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
328 _dl_hwcap and _dl_hwcap_mask.
329 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
330 AT_HWCAP to unsigned long int.
331 * elf/dl-support.c (_dl_aux_init): Likewise.
332 (_dl_hwcap): Update defn.
333
334 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
335 * elf/ldconfig.c (search_dir): Likewise.
336
6111babe
RM
3372005-04-05 Roland McGrath <roland@redhat.com>
338
da232bf9
RM
339 * NEWS: Copy 2.3.5 section from 2.3 branch.
340
5cc59727
RM
341 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
342 file and mv it into place.
343 * intl/tst-gettext3.sh: Likewise.
344
345 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
346 are up to date in srcdir. Touch all configure scripts after export.
347
6111babe
RM
348 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
349
cd1fe198
RM
3502005-04-05 H.J. Lu <hongjiu.lu@intel.com>
351
5cc59727 352 [BZ #592]
cd1fe198
RM
353 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
354 (comment changes only).
355 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
356 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
357 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
358 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
359 * sysdeps/ia64/fpu/e_exp.S: Likewise.
360 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
361 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
362 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
363 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
364 * sysdeps/ia64/fpu/e_expf.S: Likewise.
365 * sysdeps/ia64/fpu/e_log.S: Likewise.
366 * sysdeps/ia64/fpu/e_logf.S: Likewise.
367 * sysdeps/ia64/fpu/e_pow.S: Likewise.
368 * sysdeps/ia64/fpu/e_powf.S: Likewise.
369 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
370 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
371 * sysdeps/ia64/fpu/libm_error.c: Likewise.
372 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
373 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
374 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
375 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
376 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
377 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
378 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
379 * sysdeps/ia64/fpu/s_cos.S: Likewise.
380 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
381 * sysdeps/ia64/fpu/s_erf.S: Likewise.
382 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
383 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
384 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
385 * sysdeps/ia64/fpu/s_erff.S: Likewise.
386 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
387 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
388 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
389 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
390 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
391 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
392 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
393 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
394 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
395
613d8d52
RM
3962005-04-05 Roland McGrath <roland@redhat.com>
397
398 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
399 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
400
404a4e2f
RM
4012005-04-04 David S. Miller <davem@davemloft.net>
402
403 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
404 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
405 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
406 (elf_machine_runtime_setup): Test for dl_profile non-null.
407 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
408 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
409 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
410 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
411 (elf_machine_runtime_setup): Test for dl_profile non-null.
412 * sysdeps/sparc/bits/link.h: New file.
413 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
414 La_sparc64_regs, La_sparc64_retval): New.
415 (struct audit_ifaces): Add sparc entries.
416 * elf/tst-auditmod1.c: Add sparc entries.
417
4e82c610
UD
4182005-03-27 Bruno Haible <bruno@clisp.org>
419
420 * intl/tst-gettext3.c: New file.
421 * intl/tst-gettext3.sh: New file.
422 * intl/Makefile (distribute): Add tst-gettext3.sh.
423 (test-srcs): Add tst-gettext3.
424 (tests): Depend on tst-gettext3.out.
425 (tst-gettext3.out): New rule.
426 (CFLAGS-tst-gettext3.c): New variable.
427
428 Fix bug exposed by tst-gettext3.
429 * intl/gettextP.h (struct converted_domain): New type.
430 (struct loaded_domain): Remove the conv, conv_tab fields. Add
431 conversions, nconversions fields.
432 (_nl_init_domain_conv): Remove declaration.
433 (_nl_free_domain_conv): Remove declaration.
434 (_nl_find_msg): Add convert argument.
435 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
436 (_nl_find_msg): Add convert argument. When a conversion to a different
437 charset is needed, create a new converted_domain element, instead of
438 throwing away the old converted translations.
439 (get_output_charset): New function.
440 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
441 (_nl_free_domain_conv): Remove function.
442 (_nl_load_domain): Initialize the conversions array to empty. Use
443 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
444 entry.
445 (_nl_unload_domain): Free the conversions array and its contents.
446
447 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
448 (struct binding): Likewise.
449 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
450 modifications.
451
7a50b1f6
UD
4522005-04-04 Jakub Jelinek <jakub@redhat.com>
453
454 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
455 of trying to encode uninitialized arglen.
456
4572005-04-04 Ulrich Drepper <drepper@redhat.com>
458
5cc59727 459 [BZ #825]
7a50b1f6
UD
460 * timezone/scheck.c: Update from tzcode2005h.
461 * timezone/tzfile.h: Likewise.
462 * timezone/zdump.c: Likewise.
463 * timezone/zic.c: Likewise.
464
5cc59727 465 [BZ #825]
7a50b1f6
UD
466 * timezone/antarctica: Update from tzdata2005h.
467 * timezone/asia: Likewise.
468 * timezone/australasia: Likewise.
469 * timezone/etcetera: Likewise.
470 * timezone/europe: Likewise.
471 * timezone/northamerica: Likewise.
472 * timezone/southamerica: Likewise.
473 * timezone/leapseconds: Likewise.
474 * timezone/iso3166.tab: Likewise.
475
91682d70
UD
4762005-03-31 H.J. Lu <hongjiu.lu@intel.com>
477
5cc59727 478 [BZ #592]
91682d70
UD
479 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
480
4812005-04-01 Ulrich Drepper <drepper@redhat.com>
482
483 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
484 * wcsmbs/wctob.c (wctob): Likewise.
485 * wcsmbs/wchar.h (btowc): Add optimized inline function.
486 (wctob): Likewise.
487
ee618985
UD
4882005-03-31 Jakub Jelinek <jakub@redhat.com>
489
490 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
491 equivalent, but shorter instructions.
492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
493 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
494 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
497 * sysdeps/x86_64/strchr.S: Likewise.
498 * sysdeps/x86_64/memset.S: Likewise.
499 * sysdeps/x86_64/strcspn.S: Likewise.
500 * sysdeps/x86_64/strcmp.S: Likewise.
501 * sysdeps/x86_64/elf/start.S: Likewise.
502 * sysdeps/x86_64/strspn.S: Likewise.
503 * sysdeps/x86_64/dl-machine.h: Likewise.
504 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
505 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
506 * sysdeps/x86_64/strtok.S: Likewise.
507
4d6302cf
UD
5082005-03-30 H.J. Lu <hongjiu.lu@intel.com>
509
5cc59727 510 [BZ #592]
4d6302cf
UD
511 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
512 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
513 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
514 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
515 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
516 * sysdeps/ia64/fpu/e_acos.S: Likewise.
517 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
518 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
519 * sysdeps/ia64/fpu/e_asin.S: Likewise.
520 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
521 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
522 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
523 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
524 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
525 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
526 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
527 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
528 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
529 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
530 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
531 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
532 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
533 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
534 * sysdeps/ia64/fpu/e_expf.S: Likewise.
535 * sysdeps/ia64/fpu/e_exp.S: Likewise.
536 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
537 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
538 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
539 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
540 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
541 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
542 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
543 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
544 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
545 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
546 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
547 * sysdeps/ia64/fpu/e_log2.S: Likewise.
548 * sysdeps/ia64/fpu/e_logf.S: Likewise.
549 * sysdeps/ia64/fpu/e_logl.S: Likewise.
550 * sysdeps/ia64/fpu/e_log.S: Likewise.
551 * sysdeps/ia64/fpu/e_powf.S: Likewise.
552 * sysdeps/ia64/fpu/e_powl.S: Likewise.
553 * sysdeps/ia64/fpu/e_pow.S: Likewise.
554 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
555 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
556 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
557 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
558 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
559 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
560 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
561 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
562 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
563 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
564 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
565 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
566 * sysdeps/ia64/fpu/libm_error.c: Likewise.
567 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
568 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
569 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
570 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
571 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
572 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
573 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
574 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
575 * sysdeps/ia64/fpu/libm_support.h: Likewise.
576 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
577 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
578 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
579 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
580 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
581 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
582 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
583 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
584 * sysdeps/ia64/fpu/s_cos.S: Likewise.
585 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
586 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
587 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
588 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
589 * sysdeps/ia64/fpu/s_erf.S: Likewise.
590 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
591 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
592 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
593 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
594 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
595 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
596 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
597 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
598 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
599 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
600 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
601 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
602 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
603 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
604 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
605 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
606 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
607 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
608 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
609 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
610 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
611 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
612 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
613 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
614 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
615 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
616 * sysdeps/ia64/fpu/s_logb.S: Likewise.
617 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
618 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
619 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
620 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
621 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
622 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
623 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
624 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
625 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
626 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
627 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
628 * sysdeps/ia64/fpu/s_round.S: Likewise.
629 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
630 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
631 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
632 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
633 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
634 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
635 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
636 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
637 * sysdeps/ia64/fpu/s_tan.S: Likewise.
638 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
639 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
640 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
641 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
642 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
643 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
644
5cc59727 645 [BZ #592]
4d6302cf
UD
646 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
647 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
648
5cc59727 649 [BZ #592]
4d6302cf
UD
650 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
651 2005-03-21.
652 * sysdeps/ia64/fpu/import_file.awk: Likewise.
653 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
654 * sysdeps/ia64/fpu/Makefile: Likewise.
655
3fb1a4d5
UD
6562005-03-29 Jakub Jelinek <jakub@redhat.com>
657
658 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
659 avoid calling mbsrtowcs twice.
660
1718c60c
RM
6612005-03-29 Roland McGrath <roland@redhat.com>
662
663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
664 function, inline broken out of ...
665 (DL_SYSDEP_OSCHECK): ... here. Use that.
666 Do the discovery and set GLRO(dl_osversion) if successful,
667 if __LINUX_KERNEL_VERSION <= 0.
96406227 668 * elf/dl-load.c: Don't include dl-osinfo.h here.
1718c60c 669
98be6f68
RM
6702005-03-29 Alfred M. Szmidt <ams@gnu.org>
671
672 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
673 is now needed.
674
edac4240
RM
6752005-03-19 Bruno Haible <bruno@clisp.org>
676
677 * intl/dcigettext.c (struct known_translation_t): Change type of
678 domainname field to 'const char *'.
679 (DCIGETTEXT): Remove const-cast.
680
edc8cc2a
RM
6812005-03-29 Thorsten Kukuk <kukuk@suse.de>
682
edac4240
RM
683 [BZ #661]
684 * grp/initgroups.c (internal_getgrouplist): Check if we have
685 enough space before adding the primary group to the list.
686
edc8cc2a
RM
687 * posix/tst-execle1.c (do_test): Fix execle arguments.
688 * posix/tst-execle2.c (do_test): Likewise.
689
b85f32b4
RM
6902005-03-28 Roland McGrath <roland@redhat.com>
691
becf77cd
RM
692 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
693 Reported by Mark Mitchell <mark@codesourcery.com>.
694 * Versions.def (libm): Define GLIBC_2.4 set.
695 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
696 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
697 * sysdeps/ia64/Versions: Likewise.
698 * sysdeps/m68k/Versions: Likewise.
699 * sysdeps/sparc/sparc64/Versions: Likewise.
700 * sysdeps/x86_64/Versions: New file.
701 * sysdeps/mips/mips64/Versions: New file.
702
b85f32b4
RM
703 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
704 [__USE_GNU] (NL_LOCALE_NAME): New macro.
705 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
706 return locale name string for the category.
707
f78573a4
RM
7082005-03-25 Jakub Jelinek <jakub@redhat.com>
709
710 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
711 <wcstol_l.c>.
712
f850220b
AJ
7132005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
714
715 * sysdeps/mips/atomicity.h: Remove unused file.
716 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
717 * sysdeps/mips/dl-tls.h: New file.
718 * sysdeps/mips/libc-tls.c: New file.
719 * sysdeps/mips/tls-macros.h: New file.
720 * sysdeps/mips/bits/atomic.h: New file.
721 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
722 * sysdeps/mips/elf/configure.in: New file.
723 * sysdeps/mips/elf/configure: Generated.
724 * sysdeps/mips/sys/asm.h: New file.
725 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
726 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
727 clone support.
728 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
729 (INTERNAL_SYSCALL_NCS): New.
730 (INTERNAL_SYSCALL): Update for non-constant support.
731 (internal_syscall0): Likewise.
732 (internal_syscall1): Likewise.
733 (internal_syscall2): Likewise.
734 (internal_syscall3): Likewise.
735 (internal_syscall4): Likewise.
736 (internal_syscall5): Likewise.
737 (internal_syscall6): Likewise.
738 (internal_syscall7): Likewise.
739 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
740 Update to match the kernel.
741 (SIGEV_CALLBACK): Likewise.
742 (SIGEV_THREAD_ID): Likewise.
743
abc85e9f
AJ
7442005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
745
746 [BZ #783]
747 * elf/tst-auditmod1.c: Add MIPS support.
748 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
749 (La_mips_32_retval): New.
750 (La_mips_64_regs): New.
751 (La_mips_64_retval): New.
752 (struct audit_ifaces): Add MIPS entries.
753 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
754 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
755 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
756 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
757 (RTLD_START): Align the stack before calling _dl_init_internal.
758 Use .ent for _dl_start_user.
759 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
760 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
761 (elf_machine_runtime_setup): Use "auto inline".
762 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
763 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
764 * sysdeps/mips/dl-trampoline.c: New file.
765 * sysdeps/mips/bits/link.h: New file.
766 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
767 (internal_syscall5): Use register operands instead of non-lvalue
768 memory operands.
769 (internal_syscall6): Likewise.
770 (internal_syscall7): Likewise.
771
12403b32
AJ
7722005-03-27 Andreas Jaeger <aj@suse.de>
773
774 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
775 avoid warnings with older compiler.
776 (__builtin___memcpy_chk): Likewise.
777 (__builtin___memmove_chk: Likewise.
778 (__builtin___mempcpy_chk): Likewise.
779 (__builtin___memset_chk): Likewise.
780 (__builtin___stpcpy_chk): Likewise.
781 (__builtin___strcat_chk): Likewise.
782 (__builtin___strcpy_chk): Likewise.
783 (__builtin___strncat_chk): Likewise.
784 (__builtin___strncpy_chk): Likewise.
785 (__builtin_object_size): Likewise.
786
a0dd3094
RM
7872005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
788
789 * elf/tls-macros.h: Correct typo.
790
60f84a40
UD
7912005-03-23 Jakub Jelinek <jakub@redhat.com>
792
5cc59727 793 [BZ #822]
60f84a40
UD
794 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
795 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
796
2fb9a65c
RM
7972005-03-22 Roland McGrath <roland@redhat.com>
798
e77fa918
RM
799 * locale/setlocale.c: Comment typo.
800
8ac78e60
RM
801 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
802
2fb9a65c
RM
803 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
804
805 * scripts/versions.awk: Print all errors and die at the end.
806 Use library name in versions array keys.
807
0dad51c1
RM
8082005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
809
810 * elf/elf.h (PT_ARM_EXIDX): New macro.
811
12c879f8
UD
8122005-03-21 Thorsten Kukuk <kukuk@suse.de>
813
814 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
815 Convert correctly between long/int on 64bit big-endian.
816
0ab1b506
UD
8172005-03-21 David Mosberger <davidm@hpl.hp.com>
818
819 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
820 with more than 8 output registers. Fix this by passing original
821 ar.pfs to _mcount_ret_helper via r3.
822
167d5acc
UD
8232005-03-15 Jakub Jelinek <jakub@redhat.com>
824
825 [BZ #786]
826 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
827 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
828 * elf/Makefile: Add rules to build and run tst-tls15.
829 * elf/tst-tls15.c: New test.
830 * elf/tst-tlsmod15a.c: New file.
831 * elf/tst-tlsmod15b.c: New file.
832
8332005-03-20 Ulrich Drepper <drepper@redhat.com>
834
835 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
836
8622e950
UD
8372005-03-20 Alfred M. Szmidt <ams@gnu.org>
838
839 * elf/dl-open.c (dl_open_worker): Fix typo.
840
56137dbc
UD
8412005-03-20 Ulrich Drepper <drepper@redhat.com>
842
843 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
844 clearing if perturb_byte != 0.
845
65fb0d21
UD
8462005-03-20 Jakub Jelinek <jakub@redhat.com>
847
848 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
849 instead of __off_t for last argument.
850 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
851 * debug/tst-lfschk1.c: New test.
852 * debug/tst-lfschk2.c: New test.
853 * debug/tst-lfschk3.c: New test.
854
8552005-02-09 Jakub Jelinek <jakub@redhat.com>
856
857 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
859 and __USE_XOPEN guards to match linux/bits/termios.h.
860 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
861 (CMSPAR): Define.
862 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
863
1aa4e40a
UD
8642005-02-10 H.J. Lu <hongjiu.lu@intel.com>
865
866 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
867
a5f01f37
UD
8682005-02-27 Denis Barbier <barbier@debian.org>
869
870 [BZ #38]
871 * locale/iso-4217.def: Add CSD currency.
872
3d786f19
UD
8732005-03-19 Ulrich Drepper <drepper@redhat.com>
874
c9738df4
UD
875 * inet/test-ifaddrs.c: Use test-skeleton.
876 * inet/test_ifindex.c: Likewise.
877
5cc59727 878 [BZ #821]
f7e39466
UD
879 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
880 the list exists.
881
5cc59727 882 [BZ #821]
3d786f19
UD
883 * elf/Makefile: Add rules to build and run order2.
884 * elf/order2.c: New file.
885 * elf/order2mod1.c: New file.
886 * elf/order2mod2.c: New file.
887 * elf/order2mod3.c: New file.
888 * elf/order2mod4.c: New file.
889
a2f7570b
UD
8902005-03-19 Jakub Jelinek <jakub@redhat.com>
891
5cc59727 892 [BZ #821]
a2f7570b
UD
893 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
894 it has been incremented before.
895
c3381f3e
UD
8962005-03-18 Ulrich Drepper <drepper@redhat.com>
897
5cc59727 898 [BZ #821]
c3381f3e
UD
899 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
900 function _dl_sort_fini.
901 (_dl_sort_fini): New function.
902 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
903 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
904 destructors to call them in the right order.
905
bb4bb82b
UD
9062005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
907
908 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
909 (La_ppc64_retval): Correct size of lrc_fp.
910 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
911 Fix up ABI problems and complete function.
912
88764ae2
UD
9132005-03-10 Jakub Jelinek <jakub@redhat.com>
914
915 * math/test-misc.c (main): Add some more tests.
916
9172005-03-17 Jakub Jelinek <jakub@redhat.com>
918
919 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
920 __wcrtomb. Check return values of other __wcrtomb calls.
921 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
922 Change mbclen type to size_t.
923 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
924 Handle mb chars whose upper case doesn't have multibyte representation
925 in locale's charset.
926
9272005-03-15 Jakub Jelinek <jakub@redhat.com>
928
929 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
930 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
931 #ifndef _LIBC.
932
933 [BZ #779]
934 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
935 initialized.
936
9372005-03-10 Jakub Jelinek <jakub@redhat.com>
938
939 * misc/sys/cdefs.h (__always_inline): Define.
940 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
941 Use __always_inline instead of __inline.
942 * socket/bits/socket2.h (recv, recvfrom): Likewise.
943 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
944 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
945 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
946 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
947 __inline__ __attribute__ ((__always_inline__)).
948
9492005-03-09 Jakub Jelinek <jakub@redhat.com>
950
951 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
952 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
953 readlink. Add some more tests for read, pread, pread64, fgets and
954 fgets_unlocked.
955
956 * posix/bits/unistd.h (read, pread, pread64, readlink,
957 getcwd, getwd): Change macros into extern inline functions.
958 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
959 __getcwd_alias, __getwd_alias): New prototypes.
960 * socket/bits/socket2.h (recv, recvfrom): Change macros into
961 extern inline functions.
962 (__recv_alias, __recvfrom_alias): New prototypes.
963 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
964 into extern inline functions.
965 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
966
967 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
968 to __pread.
969 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
970 to __pread64.
971
95918484
RM
9722005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
973
974 * configure.in: Use %function instead of @function.
95918484 975
20fe49b9
UD
9762005-03-18 Ulrich Drepper <drepper@redhat.com>
977
5cc59727 978 [BZ #821]
20fe49b9
UD
979 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
980 Change type of l_idx to int.
981 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
982 determine whether a DSO has to be unloaded. Instead compute this
983 in this function.
984 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
985 * elf/dl-lookup.c: Likewise.
986 * elf/rtld.c: Likewise
987 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
988 object was just loaded.
989 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
990 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
991 is about to be unloaded as a match.
992 (_dl_map_object): Likewise.
993 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
994 to be unloaded.
995 * elf/circleload1.c: Don't use l_opencount anymore.
996 * elf/neededtest.c: Likewise.
997 * elf/neededtest2.c: Likewise.
998 * elf/neededtest3.c: Likewise.
999 * elf/neededtest4.c: Likewise.
1000 * elf/unload.c: Likewise.
1001 * elf/unload2.c: Likewise.
1002 * elf/loadtest.c: Likewise.
1003
5cc59727 1004 [BZ #821]
20fe49b9
UD
1005 * elf/rtld.c: Preloading errors are now never fatal.
1006
10072005-03-08 Jakub Jelinek <jakub@redhat.com>
1008
5cc59727 1009 [BZ #821]
20fe49b9
UD
1010 * elf/Makefile: Add rules to build and run unload5 test.
1011 * elf/unload5.c: New file.
1012
5cc59727 1013 [BZ #821]
20fe49b9
UD
1014 * elf/Makefile: Add rules to build and run unload4 test.
1015 * elf/unload4.c: New file.
1016 * elf/unload4mod1.c: New file.
1017 * elf/unload4mod2.c: New file.
1018 * elf/unload4mod3.c: New file.
1019 * elf/unload4mod4.c: New file.
1020
0e07fc00
RM
10212005-03-17 Roland McGrath <roland@redhat.com>
1022
1023 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
1024
61995d3e
RM
10252005-03-16 Richard Henderson <rth@redhat.com>
1026
1027 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
1028 of internal.
1029 (__hidden_def1, __hidden_dot_def1): Remove.
1030 (__hidden_def2, __hidden_def3): Remove.
1031 (__hidden_ver1): New.
1032 (hidden_ver, hidden_def, hidden_weak): Use it.
1033 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
1034 version of the macro.
1035
1036 * include/wchar.h (__wcscoll): Remove.
1037 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
1038 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
1039
2827be86
RM
10402005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
1041
1042 * elf/elf.h: Define MIPS TLS relocations.
1043
25f8f2ac
UD
10442005-03-16 Ulrich Drepper <drepper@redhat.com>
1045
1046 * elf/circleload1.c (main): Pretty printing.
1047
1b243ca9
RM
10482005-03-15 Jakub Jelinek <jakub@redhat.com>
1049
1050 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
1051 Patch by Dan Kegel <dank@kegel.com>.
1052
1053 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
1054 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1055 Add inline keyword.
1056 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
1057 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
1058 attribute.
1059 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1060 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
1061 static inline into auto inline.
1062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1063 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1064 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
1065 Likewise.
1066 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
1067 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1068 Likewise.
1069
fdc07525
RM
10702005-03-15 Jakub Jelinek <jakub@redhat.com>
1071
1072 [BZ #789]
1073 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
1074 Remove memory clobber.
1075
1076 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
1077 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
1078
3b7289d4
RM
10792005-03-14 Jakub Jelinek <jakub@redhat.com>
1080
1081 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
1082 asm/types.h.
1083
0866e1cb
RM
10842005-03-10 GOTO Masanori <gotom@debian.or.jp>
1085
1086 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
1087 MAP_NONBLOCK.
1088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1089 Correct MAP_GROWSDOWN value.
1090
af81020e
RM
10912005-03-13 Roland McGrath <roland@redhat.com>
1092
1093 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
1094 version if there is one. Only #error if macros are then undefined.
1095 * sysdeps/generic/tls-macros.h: New file.
1096
5233d576
RM
10972005-03-10 GOTO Masanori <gotom@debian.or.jp>
1098
1099 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
1100 * sysdeps/hppa/configure: Regenerated.
1101
e0bb7af8
RM
11022005-03-08 Roland McGrath <roland@redhat.com>
1103
1104 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
1105 array types match exactly in C alias decls.
1106
21745dfa
UD
11072005-03-07 Ulrich Drepper <drepper@redhat.com>
1108
854278df
UD
1109 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
1110 mallopt appropriately.
1111 * malloc/malloc.h: Define M_PERTURB.
1112 * malloc/malloc.c (perturb_byte): New variable.
1113 (alloc_perturb, free_perturb): New macros.
1114 (_int_malloc): Before returning, overwrite the memory if this is
1115 requested.
1116 (_int_free): Overwrite freed memory if requested.
1117 (mALLOPt): Handle M_PERTURB.
1118 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
1119
21745dfa
UD
1120 * elf/dl-close.c (_dl_close): Decrement l_opencount before
1121 printing debug message.
1122 * elf/dl-open.c (dl_open_worker): Always print the new opencount
1123 in debug messages.
1124
5dc2883e
UD
11252005-03-06 Ulrich Drepper <drepper@redhat.com>
1126
d8505f90
UD
1127 * elf/dl-close.c (_dl_close): Unify debug message format.
1128
ac53c9c6
UD
1129 * elf/dl-close.c (_dl_close): Print debug message just before
1130 destroying a link map.
1131
b6cc1a62
UD
1132 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
1133 * elf/dl-version.c (match_symbol): Likewise.
75a142a2 1134
20981676
UD
1135 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
1136
84c33ccb
UD
1137 * debug/recv_chk.c (__recv_chk): Always fail if request could
1138 overflow the buffer.
1139 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
5dc2883e
UD
1140 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
1141 we know the call succeeds.
1142 (recvfrom): Likewise.
1143
3cc4a097
UD
11442005-03-05 Ulrich Drepper <drepper@redhat.com>
1145
1c99f950
UD
1146 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
1147 warning.
1148 * posix/regex_internal.c (re_string_reconstruct): Add cast to
1149 avoid warning.
1150 (build_wcs_upper_buffer): Change type of bug to plain char.
1151 * locale/weightwc.h (findidx): Add casts to avoid warnings.
1152 * time/mktime.c (ranged_convert): Initialize tm to make the
1153 compiler happy.
1154 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
1155 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
1156 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
1157 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
1158 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
1159 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
3cc4a097
UD
1160 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
1161 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
1162 * libio/iofwide.c: Add casts to avoid warnings.
1163 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
1164 variable f to avoid warnings.
1165 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1166 Fix a few casts to avoid warnings.
1167 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
1168 to avoid warning.
1169
1c99f950
UD
1170 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
1171 dynamically sized array.
1172 (build_wcs_upper_buffer): Likewise.
1173
103f1eb0
UD
11742005-03-05 Jakub Jelinek <jakub@redhat.com>
1175
1176 * include/bits/unistd.h: New file.
1177 * include/bits/socket2.h: New file.
1178
93aed667
UD
11792005-03-05 Ulrich Drepper <drepper@redhat.com>
1180
1181 * sunrpc/key_call.c: Remove doors support.
1182 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
1183 * configure.in: Remove test for doors support which never existed.
1184 * config.make.in: Remove have_doors entry.
1185
1186 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
1187 * config.make.in: Undo last change.
1188
fcb05059 1189 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
93aed667
UD
1190 -mtune.
1191
2103c260
RM
11922005-03-05 Roland McGrath <roland@redhat.com>
1193
1194 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
1195 (_dl_out_of_memory): Use rtld_hidden_proto.
1196 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
1197 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
1198 * elf/dl-open.c (_dl_open): Likewise.
1199 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1200
1201 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
1202
1203 * elf/dl-addr.c (_dl_addr): Add a cast.
1204
5cc59727 1205 [BZ #821]
2103c260
RM
1206 * elf/unload3mod4.c: Declare foo.
1207 * elf/testobj2.c: Include <stdio.h>.
1208
1209 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
1210 value constant, and use it in the defn.
1211 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
1212 Use actual size for compat array decls.
1213
1214 * config.make.in (cc-mtune): New substituted variable.
1215 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
1216 done only if libc_mtune_example is defined.
2103c260 1217 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2103c260
RM
1218 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
1219
93aed667
UD
12202005-03-05 Jakub Jelinek <jakub@redhat.com>
1221
1222 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
1223 unconditionally to (defined RTLD_BOOTSTRAP).
1224 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
1225
3ff37e89
RM
12262005-03-05 Jakub Jelinek <jakub@redhat.com>
1227
1228 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
1229 $(inst_slibdir) in AS_NEEDED directive.
1230
05510ae6
UD
12312005-03-03 Jakub Jelinek <jakub@redhat.com>
1232
1233 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
1234
2e2b6e26
UD
12352005-03-01 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 [BZ #776]
1238 * iconv/iconvconfig.c: Fix comment for the output file.
1239 (write_output): Clear padding in header.
1240
12412005-03-03 Ulrich Drepper <drepper@redhat.com>
1242
5cc59727 1243 [BZ #821]
2e2b6e26
UD
1244 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
1245 loader is closed. Fixes unload3.
1246 * elf/tst-global1.c: New file.
1247 * elf/Makefile (tests): Add tst-global1.
680d780a 1248 * elf/testobj2.c (p): New function.
2e2b6e26
UD
1249
12502005-03-03 Jakub Jelinek <jakub@redhat.com>
1251
5cc59727 1252 [BZ #821]
2e2b6e26
UD
1253 * elf/Makefile: Add rules to build and run unload3 test.
1254 * elf/unload3.c: New test.
1255 * elf/unload3mod1.c: New file.
1256 * elf/unload3mod2.c: New file.
1257 * elf/unload3mod3.c: New file.
1258 * elf/unload3mod4.c: New file.
1259
04c8bd46
RM
12602005-02-21 Alan Modra <amodra@bigpond.net.au>
1261
1262 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
1263 use __uint128_t.
1264
95ca9dd3
RM
12652005-03-01 Jakub Jelinek <jakub@redhat.com>
1266
1267 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
1268 of __bos.
1269 * socket/bits/socket2.h (recv, recvfrom): Likewise.
1270
f8286ce6
RM
12712005-03-01 Roland McGrath <roland@redhat.com>
1272
1273 [BZ #721]
1274 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1275 of [RESOLVE_MAP].
1276
12772005-03-01 Alfred M. Szmidt <ams@gnu.org>
1278
75112324 1279 [BZ #777]
f8286ce6
RM
1280 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
1281 Add missing initializer.
1282
75112324 1283 [BZ #777]
f8286ce6
RM
1284 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
1285 USE_TLS && !USE___THREAD].
1286
9db670f0
UD
12872005-02-26 GOTO Masanori <gotom@debian.or.jp>
1288
1289 * csu/Makefile: Use printf instead of echo for some shells.
1290
87816274
RM
12912005-02-28 Roland McGrath <roland@redhat.com>
1292
1293 * debug/warning-nop.c (__nop): Rename to nop, make it static.
1294 (__warndecl): Use alias attribute directly, instead of strong_alias
1295 macro. Add attribute_hidden.
1296
61062f56
UD
12972005-02-28 Ulrich Drepper <drepper@redhat.com>
1298
1299 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
1300 determine the call will never trigger a failure.
a0e3c9e2
UD
1301 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
1302 small.
1303 * debug/readlink_chk.c (__readlink_chk): Likewise.
1304 * debug/pread64_chk.c (__pread64_chk): Likewise.
1305 * debug/pread_chk.c (__pread_chk): Likewise.
61062f56
UD
1306
1307 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
1308 * sysdeps/x86_64/memset_chk.S: Likewise.
1309
13102005-02-24 Roland McGrath <roland@redhat.com>
1311
1312 * debug/Versions (libc: GLIBC_2.4): Remove
1313 __memset_zero_constant_len_parameter.
1314 * sysdeps/generic/memset_chk.c: Remove alias and warning.
1315 * misc/sys/cdefs.h (__warndecl): New macro.
1316 * debug/warning-nop.c: New file.
1317 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
1318 arguments, instead of calling __memset_zero_constant_len_parameter.
1319 Use __warndecl for __warn_memset_zero_len.
1320 * debug/Makefile (routines): Add $(static-only-routines).
1321 (static-only-routines): New variable.
1322
cffa6970
UD
13232005-02-27 Ulrich Drepper <drepper@redhat.com>
1324
1325 * po/tr.po: Update from translation team.
1326
bfeabc79
UD
13272005-02-26 Ulrich Drepper <drepper@redhat.com>
1328
9adc0977
UD
1329 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
1330
bfeabc79
UD
1331 * dlfcn/dlerror.c (check_free): New function. Extract common code
1332 from fini and free_key_mem. Check whether this is libdl in the
1333 base namespace.
1334
3706bc2a
UD
13352005-02-25 Ulrich Drepper <drepper@redhat.com>
1336
1337 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
1338 to debug output.
1339
8ecc24b0
AJ
13402004-11-11 Richard Sandiford <rsandifo@redhat.com>
1341
1342 [BZ #758]
1343 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
1344 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
1345 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
1346 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1347 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
1348 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
1349 standard __NR prefix.
1350 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
1351 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
1352 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
1353 Extract separate syscall lists for each ABI.
1354
c366c934
UD
13552005-02-23 Ulrich Drepper <drepper@redhat.com>
1356
1357 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
1358
87816274 1359 [BZ #719]
132a823f
UD
1360 * elf/Makefile: Run tst-tls9-static again.
1361
f9ab9ba9
UD
13622005-02-22 Ulrich Drepper <drepper@redhat.com>
1363
87816274 1364 [BZ #719]
094d3c54
UD
1365 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
1366 slotinfo array.
611eb946 1367 (__libc_setup_tls): Initialize length of DTV based on array length.
094d3c54
UD
1368 * elf/dl-load.c: Revert last change.
1369 * sysdeps/generic/dl-tls.c: Revert last change.
1370
f9ab9ba9
UD
1371 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
1372 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
1373 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
1374 * posix/tst-execl1.c: New file.
1375 * posix/tst-execl2.c: New file.
1376 * posix/tst-execle1.c: New file.
1377 * posix/tst-execle2.c: New file.
1378 * posix/tst-execlp1.c: New file.
1379 * posix/tst-execlp2.c: New file.
1380 * posix/tst-execv1.c: New file.
1381 * posix/tst-execv2.c: New file.
1382 * posix/tst-execve1.c: New file.
1383 * posix/tst-execve2.c: New file.
1384 * posix/tst-execvp1.c: New file.
1385 * posix/tst-execvp2.c: New file.
1386
b17ebefa
RM
13872005-02-22 Roland McGrath <roland@redhat.com>
1388
1389 * include/signal.h: Revert last change.
1390 (__sigemptyset): Use __builtin_memset instead of memset.
1391
262b5730
UD
13922005-02-22 Ulrich Drepper <drepper@redhat.com>
1393
1394 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
1395 non-cancelable I/O functions.
1396
d2dc7d84
UD
13972005-02-22 Jakub Jelinek <jakub@redhat.com>
1398
87816274 1399 [BZ #769]
d2dc7d84
UD
1400 * nscd/nscd-client.h: Include sys/uio.h.
1401 (__readall, __readvall, writeall): New prototypes.
1402 * nscd/connections.c (writeall): New function.
1403 (handle_request): Use it.
1404 * nscd/aicache.c (addhstaiX): Likewise.
1405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1406 * nscd/hstcache.c (cache_addhst): Likewise.
1407 * nscd/grpcache.c (cache_addgr): Likewise.
1408 * nscd/pwdcache.c (cache_addpw): Likewise.
1409 * nscd/nscd_helper.c (__readall, __readvall): New functions.
1410 * nscd/nscd_getai.c (__nscd_getai): Use them.
1411 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
1412 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1413 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
1414 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1415
a2274a08
RM
14162005-02-22 Roland McGrath <roland@redhat.com>
1417
1418 * include/sys/socket.h: Declare __recv.
1419 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
1420 * sysdeps/mach/hurd/recv.c: Likewise.
1421
1422 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
1423 __backtrace_* decls.
1424
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1426 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1428
1429 * include/signal.h: Include <string.h> for memset decl.
1430
c5e57303
UD
14312005-02-22 Andreas Schwab <schwab@suse.de>
1432
1433 * posix/execvp.c (execvp): Fix invalid free.
1434
c6359097
UD
14352005-02-22 Jakub Jelinek <jakub@redhat.com>
1436
1437 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
1438 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
1439 librpcsvc.a objects.
1440
137e6462
UD
14412005-02-21 Ulrich Drepper <drepper@redhat.com>
1442
1443 * iconvdata/ibm930.h: Correct Yen mapping.
1444 * iconvdata/ibm939.h: Likewise.
1445 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
1446 * iconvdata/testdata/IBM939..UTF8: Likewise.
1447 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1448
1449 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
1450 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1451 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
1452 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
1453 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
1454 ibm1158.c, and ibm1158.h.
1455 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
1456 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1457 * iconvdata/gconv-modules: Likewise.
1458 * iconvdata/ibm1025.c: New file.
1459 * iconvdata/ibm1025.h: New file.
1460 * iconvdata/ibm1122.c: New file.
1461 * iconvdata/ibm1122.h: New file.
1462 * iconvdata/ibm1137.c: New file.
1463 * iconvdata/ibm1137.h: New file.
1464 * iconvdata/ibm1153.c: New file.
1465 * iconvdata/ibm1153.h: New file.
1466 * iconvdata/ibm1154.c: New file.
1467 * iconvdata/ibm1154.h: New file.
1468 * iconvdata/ibm1155.c: New file.
1469 * iconvdata/ibm1155.h: New file.
1470 * iconvdata/ibm1156.c: New file.
1471 * iconvdata/ibm1156.h: New file.
1472 * iconvdata/ibm1157.c: New file.
1473 * iconvdata/ibm1157.h: New file.
1474 * iconvdata/ibm1158.c: New file.
1475 * iconvdata/ibm1158.h: New file.
1476 * iconvdata/testdata/IBM1025: New file.
1477 * iconvdata/testdata/IBM1025..UTF8: New file.
1478 * iconvdata/testdata/IBM1122: New file.
1479 * iconvdata/testdata/IBM1122..UTF8: New file.
1480 * iconvdata/testdata/IBM1137: New file.
1481 * iconvdata/testdata/IBM1137..UTF8: New file.
1482 * iconvdata/testdata/IBM1153: New file.
1483 * iconvdata/testdata/IBM1153..UTF8: New file.
1484 * iconvdata/testdata/IBM1154: New file.
1485 * iconvdata/testdata/IBM1154..UTF8: New file.
1486 * iconvdata/testdata/IBM1155: New file.
1487 * iconvdata/testdata/IBM1155..UTF8: New file.
1488 * iconvdata/testdata/IBM1156: New file.
1489 * iconvdata/testdata/IBM1156..UTF8: New file.
1490 * iconvdata/testdata/IBM1157: New file.
1491 * iconvdata/testdata/IBM1157..UTF8: New file.
1492 * iconvdata/testdata/IBM1158: New file.
1493 * iconvdata/testdata/IBM1158..UTF8: New file.
1494 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1495
744eb12b
UD
14962005-02-10 Paolo Bonzini <bonzini@gnu.org>
1497
1498 * posix/regcomp.c (lower_subexp): Do not optimize empty
1499 subexpressions even with REG_NOSUB.
1500 * posix/rxspencer/tests: Add a previously failing testcase.
1501
e13e33e2
UD
15022005-02-21 Alan Modra <amodra@bigpond.net.au>
1503
87816274 1504 [BZ #719]
e13e33e2
UD
1505 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1506 array index is within bounds.
1507
af272d4f
UD
15082005-02-21 Ulrich Drepper <drepper@redhat.com>
1509
87816274 1510 [BZ #719]
e13e33e2
UD
1511 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1512 linked code.
1513 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1514 * elf/Makefile: Remove rules to build and run tst-tls9-static.
1515
87816274 1516 [BZ #719]
af272d4f
UD
1517 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1518 THREAD_DTV multiple times, this minimally reduces code size on
1519 some archs.
1520
4379b403
UD
15212005-02-21 Jakub Jelinek <jakub@redhat.com>
1522
87816274 1523 [BZ #768]
4379b403
UD
1524 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1525 NETDB_INTERNAL if buffer is too small.
1526
87816274 1527 [BZ #768]
4379b403
UD
1528 * nscd/hstcache.c (INCR): Remove.
1529 (addhstbyX): Double buflen in each iteration rather than add INCR.
1530 * nscd/grpcache.c: Likewise.
1531 * nscd/pwdcache.c: Likewise.
1532
553cc5f9
UD
15332005-02-21 Ulrich Drepper <drepper@redhat.com>
1534
1535 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1536 map if requested.
1537 * debug/chk_fail.c: Request backtrace and memory map dump.
1538
1539 * Versions.def: Add GLIBC_2.4 for libc.
1540 * debug/fgets_chk.c: New file.
1541 * debug/fgets_u_chk.c: New file.
1542 * debug/getcwd_chk.c: New file.
1543 * debug/getwd_chk.c: New file.
1544 * debug/readlink_chk.c: New file.
1545 * debug/read_chk.c: New file.
1546 * debug/pread_chk.c: New file.
1547 * debug/pread64_chk.c: New file.
1548 * debug/recv_chk.c: New file.
1549 * debug/recvfrom_chk.c: New file.
1550 * debug/Versions: Add all new functions with version GLIBC_2.4.
1551 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1552 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1553 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
1554 * debug/tst-chk1.c: Add more tests.
1555 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1556 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1557 * posix/unistd.h: Include <bits/unistd.h> for fortification.
1558 * posix/bits/unistd.h: New file.
1559 * posix/Makefile (headers): Add bits/unistd.h.
1560 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1561 * socket/bits/socket2.h: New file.
1562 * socket/Makefile (headers): Add bits/socket2.h.
1563
1564 * string/bits/string3.h: Extend memset macro to check for zero 3rd
1565 parameter and use __memset_zero_constant_len_parameter in that case.
1566 * sysdeps/generic/memset_chk.c: Add
1567 __memset_zero_constant_len_parameter alias and linker warning.
1568 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1569 with version GLIBC_2.4.
1570
1571 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1572 in __STD_TYPE definition.
1573
15742005-02-21 Jakub Jelinek <jakub@redhat.com>
1575
1576 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1577 the error message rather than program name.
1578
53360aa1
UD
15792005-02-21 Ulrich Drepper <drepper@redhat.com>
1580
87816274 1581 [BZ #767]
53360aa1
UD
1582 * posix/unistd.h: symlink and readlink are unconditionally
1583 available in the 2001 spec.
1584
9cfe5381
RM
15852005-02-16 Roland McGrath <roland@redhat.com>
1586
1587 * intl/dcigettext.c (_nl_find_msg): Add a cast.
1588
1589 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1590 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1591 * nis/nis_clone_res.c (nis_clone_result): Likewise.
1592
1593 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1594 for END_OF_MESSAGE and CP.
1595
1596 * resolv/res_send.c (send_dg): Add else branch for case impossible
1597 unless `poll' is buggy.
1598
1599 * crypt/crypt_util.c (__setkey_r): Add a cast.
1600
1601 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1602 NBYTES, and unsigned char * for BYTES.
1603
1604 * locale/programs/charmap.c (charmap_new_char): Use size_t and
1605 unsighed char * for NBYTES, BYTES parameters.
1606
1607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1608 and cast it.
1609 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1610
1611 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1612
1613 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1614
1615 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1616 (authdes_marshal): Don't use unsigned int for LEN.
1617 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1618 (xdr_u_hyper): Likewise.
1619 (xdr_u_short): Don't use u_long for L.
1620 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1621
1622 * inet/rexec.c (rexec_af): Use socklen_t.
1623 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1624 * sunrpc/rtime.c (rtime): Likewise.
1625 * resolv/res_send.c (send_vc, send_dg): Likewise.
1626 * nis/nis_callback.c (__nis_create_callback): Likewise.
1627
1628 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1629
1630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1631
1632 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1633
1634 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1635 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1636 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1637 * intl/bindtextdom.c (INTUSE): Macro removed.
1638 (_nl_default_dirname): Use libc_hidden_proto.
1639 (set_binding_values): Don't use INTUSE.
1640 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1641 (_libc_intl_domainname): Use libc_hidden_proto.
1642 * posix/regex_internal.h (gettext): Remove INTUSE on it.
1643 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1644 rather than INTDEF.
1645 * include/libintl.h (_): Don't use *_internal name.
1646
1647 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1648 not uint32_t.
1649 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1650
1651 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1652
1653 [BZ #721]
1654 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1655 of [RESOLVE_MAP].
1656 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1657 * sysdeps/powerpc/powerpc32/dl-machine.h
1658 (elf_machine_rel, elf_machine_rel_relative): Removed.
1659 * sysdeps/powerpc/powerpc64/dl-machine.h
1660 (elf_machine_rel, elf_machine_rel_relative): Removed.
1661
16622005-02-03 Alexandre Oliva <aoliva@redhat.com>
1663
1664 [BZ #721]
1665 * elf/dynamic-link.h: Don't declare nested auto functions that are
1666 not going to be defined.
1667
16682004-07-23 Jakub Jelinek <jakub@redhat.com>
1669
1670 [BZ #284]
1671 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1672 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1673
4f657581
RM
16742005-02-16 Roland McGrath <roland@redhat.com>
1675
1676 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1677 inside [! SHARED] where it's used.
1678
477495be
UD
16792005-02-15 Ulrich Drepper <drepper@redhat.com>
1680
1681 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1682 functions and macros is unsigned.
1683
0d7344df
RM
16842005-02-11 Barry deFrese <bddebian@comcast.net>
1685
1686 [BZ #722]
1687 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1688 * sysdeps/mach/hurd/setresuid.c: Likewise.
1689
951718bd
RM
16902005-02-14 GOTO Masanori <gotom@debian.or.jp>
1691
1692 * misc/sys/syslog.h: Fix typo in comment.
1693
00a78f67
RM
16942005-02-14 Roland McGrath <roland@redhat.com>
1695
1696 [BZ #720]
1697 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1698 if it wasn't originally.
1699
804dc8a8
RM
17002005-02-14 GOTO Masanori <gotom@debian.or.jp>
1701
1702 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1703 getpeername entry.
1704 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1706
3220ccb6
RM
17072005-02-11 Jakub Jelinek <jakub@redhat.com>
1708
1709 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1710 matching line.
1711
7de00121
RM
17122005-02-14 Alan Modra <amodra@bigpond.net.au>
1713
1714 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1715 with auto inline, and attribute always_inline.
1716 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1717 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1719 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1720 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1721 (elf_machine_tprel): Likewise.
1722
c56f532f
RM
17232005-02-14 Andreas Schwab <schwab@suse.de>
1724
1725 * manual/filesys.texi (Random Access Directory): Fix type of file
1726 position value for telldir and seekdir.
1727 (Attribute Meanings): Fix typo.
1728
43c59a70
UD
17292005-02-14 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1732 isn't defined.
1733 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1734 if SHARED isn't defined.
1735 * elf/Makefile (tests-static): Add tst-array1-static.
1736 ($(objpfx)tst-array1-static.out): New target.
1737 * elf/tst-array1-static.c: New file.
1738
e38c954b
UD
17392005-02-11 Jakub Jelinek <jakub@redhat.com>
1740
1741 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1742 __libc_message to kill GCC warning about noreturn function returning.
1743
1744 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1745 before relocating ld.so again.
1746
1747 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1748 for already prelinked ld.so.
1749
9b382805
RM
17502005-02-11 Roland McGrath <roland@redhat.com>
1751
3e1e123d
RM
1752 [BZ #715]
1753 * Makefile (installed-stubs): New variable.
1754 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1755 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1756 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1757 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1758 rule's target.
1759 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1760 * include/stubs-biarch.h: New file.
1761
1762 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1763
1764 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1765 Emit defn for variable `biarch'.
1766
1767 * include/stub-tag.h: Update comment.
1768
9b382805
RM
1769 * scripts/soversions.awk: Fix default version set handling.
1770
0a38b835
RM
17712005-02-10 Roland McGrath <roland@redhat.com>
1772
561bcb80
RM
1773 [BZ #157]
1774 * include/libc-symbols.h (stub_warning): Emit a marker section called
1775 .gnu.glibc-stub.NAME.
1776 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1777 Use objdump to collect those marker section names.
1778 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1779
5d9e8991
RM
1780 * Rules (subdir_objs, subdir_stubs): New phony targets.
1781 * Makefile (+subdir_targets): Add them.
1782
9d0547ce
RM
1783 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1784 soversions.i.
1785
a078a7ee
RM
1786 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1787 Reported by H.J. Lu <hongjiu.lu@intel.com>.
1788
0a38b835
RM
1789 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1790 doing two.
1791
1d3be038
RM
17922005-02-10 Jakub Jelinek <jakub@redhat.com>
1793
1794 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1795 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1796 * sysdeps/powerpc/bits/link.h: ... here. New file.
1797
f17c2202
RM
17982005-02-09 Jakub Jelinek <jakub@redhat.com>
1799
1800 [BZ #710]
1801 * stdlib/random_r.c (__initstate_r): Save old state.
1802 * stdlib/Makefile (tests): Add tst-random2.
1803 * stdlib/tst-random2.c: New test.
1804 Reported by Peter Bergner <bergner@vnet.ibm.com>.
1805
1a53c052
RM
18062005-01-25 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * dlfcn/dlfcn.c (init): Put it in .init_array section.
1809
91adb529
RM
18102005-02-10 Roland McGrath <roland@redhat.com>
1811
1812 [BZ #632]
1813 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1814 from command line.
1815 Grok shlib-versions lines with WORDSIZE* in second column.
1816 Add new leading column to output, DEFAULT for existing output lines.
1817 Also emit lines with WORDSIZE* for alternate configurations.
1818 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1819 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1820 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1821 of soversions.mk; replace inline shell script with use of ...
1822 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
1823 emit multiple sets of macros under #if.
1824 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1825 (s390x-.*-.*): Likewise for s390.
1826 (powerpc64-.*-.*): Likewise for powerpc.
1827 (sparc64-.*-.*): Likewise for sparc.
f17c2202
RM
1828 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1829 for these mapping back to the above.
91adb529 1830
0fe86f96
UD
18312005-02-08 Jakub Jelinek <jakub@redhat.com>
1832
1833 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1834
4f0af30d
AS
18352005-02-08 Andreas Schwab <schwab@suse.de>
1836
1837 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1838 RESOLVE.
1839
4bae262d
UD
18402005-02-07 Richard Henderson <rth@redhat.com>
1841
1842 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1843
606832e6
UD
18442005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1845
1846 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1847 RESOLVE.
1848
18492005-02-07 Ulrich Drepper <drepper@redhat.com>
1850
611eb946 1851 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
606832e6
UD
1852 set correctly.
1853
bc82059d
RH
18542005-01-07 Richard Henderson <rth@redhat.com>
1855
1856 * math/math_private.h (__copysign): Define as builtin for gcc 4.
1857 (__copysignf, __copysignl): Likewise.
1858 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1859 for gcc 4.0.
1860 (copysignf, copysignl, fabsf, fabs): Likewise.
1861 (__copysign, __copysignf, __copysignl): Remove.
1862 (__fabs, __fabsf): Remove.
1863
ecc1d0c3
UD
18642005-01-07 Jakub Jelinek <jakub@redhat.com>
1865
a0b64216 1866 [BZ #738]
ecc1d0c3
UD
1867 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1868 avoid writing to it if none of the standard search directories exist.
1869
16cc1800
UD
18702005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
1871
1872 [BZ #700]
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1874 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1875 Load MSR as a doubleword.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1877 (__novec_swapcontext, __swapcontext): Likewise.
1878
dd1e8878
UD
18792005-02-07 Ulrich Drepper <drepper@redhat.com>
1880
1881 * iconv/iconv_prog.c (main): Provide more help in case on an error.
1882
606832e6
UD
1883 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1884
6aa10807
UD
18852005-02-07 Jakub Jelinek <jakub@redhat.com>
1886
a0b64216 1887 [BZ #741]
6aa10807
UD
1888 * nscd/nscd.c (termination_handler): Avoid segfault if some database
1889 is not enabled.
1890
a0b64216 1891 [BZ #741]
6aa10807
UD
1892 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1893 __nss_not_use_nscd_hosts and return -1.
1894 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1895 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1896 Avoid leaking sockets.
1897
18982005-01-28 Andreas Schwab <schwab@suse.de>
1899 H.J. Lu <hongjiu.lu@intel.com>
1900
1901 [BZ #677]
1902 * elf/dl-runtime.c (fixup): Change return type to
1903 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1904 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1905 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1906 store and retrieve relocation values.
1907 (profile_fixup): Likewise.
1908 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1909 l_reloc_result.
1910 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1911 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1912 (DL_FIXUP_MAKE_VALUE): Likewise.
1913 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1914 (DL_FIXUP_VALUE_ADDR): Likewise.
1915 (DL_FIXUP_ADDR_VALUE): Likewise.
1916 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1917 (DL_FIXUP_VALUE_TYPE): New.
1918 (DL_FIXUP_MAKE_VALUE): Likewise.
1919 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1920 (DL_FIXUP_VALUE_ADDR): Likewise.
1921 (DL_FIXUP_ADDR_VALUE): Likewise.
1922 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1923 (elf_machine_profile_plt): Removed.
1924 (elf_machine_fixup_plt): Change return type and type of value
1925 parameter to struct fdesc.
1926 (elf_machine_plt_value): Likewise.
1927 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1928 argument for elf_machine_fixup_plt.
1929
58954d49
RM
19302005-02-07 Jakub Jelinek <jakub@redhat.com>
1931
a0b64216 1932 [BZ #742]
58954d49
RM
1933 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1934 after the status string printed by killproc.
1935
9f2b2e4c
RM
19362004-11-18 Alexandre Oliva <aoliva@redhat.com>
1937
1938 * manual/.cvsignore: Add dir-add.texi.
1939
a6e73dea
RH
19402005-02-06 Richard Henderson <rth@redhat.com>
1941
1942 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1943 all the time.
1944
75df54b7
RM
19452004-11-03 Marcus Brinkmann <marcus@gnu.org>
1946
1947 * configure.in (sysnames): Append sysdeps/generic for each add-on.
1948 * configure: Regenerated.
1949
69553a9b
RM
19502005-02-02 Alfred M. Szmidt <ams@gnu.org>
1951
1952 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1953 (dtv_t): Change pointer type to be a struct which also contains
1954 information whether the memory pointed to is static TLS or not.
1955
1956 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1957
1958 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1959 (FALSEP): ... this. Updated all references.
1960
25e3dd28 1961 [BZ #765]
69553a9b
RM
1962 * libio/fmemopen.c: Include <stdint.h>.
1963
6925ef9a
UD
19642005-01-30 Ulrich Drepper <drepper@redhat.com>
1965
1966 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1967 * nscd/connections.c (send_ro_fd): Likewise.
1968
2af40494
UD
19692005-01-28 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * elf/tst-auditmod1.c: Add ia64 entries.
1972 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1973 (La_ia64_retval): New.
1974 (audit_ifaces): Add ia64 entries.
1975 * sysdeps/ia64/bits/link.h: New file.
1976 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1977 for dl_profile non-null.
1978 (ARCH_LA_PLTENTER): New.
1979 (ARCH_LA_PLTEXIT): New.
1980 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1981 only 2 output registers. Allocate stack to save/restore
1982 8 incoming fp registers. Call _dl_fixup instead of fixup.
1983 (_dl_runtime_profile): Rewrite.
1984
d749c5b7
RM
19852005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1986
bb38d32c
UD
1987 * sysdeps/s390/bits/link.h: New file.
1988 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1989 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1990 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1991 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1992 relocation code.
1993 (elf_machine_runtime_setup): Test for dl_profile non-null.
1994 (elf_machine_rela): Remove code using RESOLVE.
1995 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1996 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1997 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1998 La_s390_64_regs, La_s390_64_retval): New.
1999 * elf/tst-auditmod1.c: Add s390 entries.
2000
a0b64216 2001 [BZ #743]
d749c5b7
RM
2002 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
2003 strncat, memchr, strcmp): Add missing memory clobber.
2004
566511f0
UD
20052005-01-27 Ulrich Drepper <drepper@redhat.com>
2006
2007 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
2008 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
2009
963d8d78
UD
20102005-01-27 Paolo Bonzini <bonzini@gnu.org>
2011
2012 [BZ #558]
2013 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
2014 Initialize the node sets in dfa->inveclosures.
2015 (analyze): Initialize inveclosures only if it is needed.
2016 Check errors from calc_inveclosure.
2017 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
2018 the inveclosure node set.
2019 * posix/regexec.c (re_search_internal): If nmatch includes unused
2020 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
2021
2022 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
2023 Do build a SIMPLE_BRACKET token.
2024
2025 * posix/regexec.c (transit_state_mb): Do not examine nodes
2026 where ACCEPT_MB is not set.
2027
717ecb1f
UD
20282005-01-27 Jakub Jelinek <jakub@redhat.com>
2029
2030 * stdlib/tst-fmtmsg.c: Include stdlib.h.
2031 * stdio-common/tst-fmemopen2.c: Include string.h.
2032 * posix/execvp.c: Include stdbool.h.
2033
02f3550c
UD
20342004-12-13 Paolo Bonzini <bonzini@gnu.org>
2035
2036 Separate parsing and creation of the NFA. Avoided recursion on
2037 the (very unbalanced) parse tree.
2038 [BZ #611]
2039 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
2040 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
2041 (optimize_subexps, duplicate_tree, calc_first, calc_next,
2042 mark_opt_subexp): Rewritten.
2043 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
2044 create_token_tree, free_tree, free_token): New.
2045 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
2046 postorder generic visitors. Do not initialize the fields in the
2047 re_dfa_t that represent the transitions.
2048 (free_dfa_content): Use free_token.
2049 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
2050 include optimization of subexpressions.
2051 (create_initial_state): Fetch the DFA node index from the first node's
2052 bin_tree_t *.
2053 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
2054 Return on COMPLEX_BRACKET.
2055 (duplicate_node_closure): Fix comment.
2056 (duplicate_node): Do not initialize the fields in the
2057 re_dfa_t that represent the transitions.
2058 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
2059 (create_tree): Remove final argument. All callers adjusted. Rewritten
2060 to use create_token_tree.
2061 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
2062 build_charclass_op): Use create_tree or create_token_tree instead
2063 of re_dfa_add_tree_node.
2064 (parse_dup_op): Likewise. Also free the tree using free_tree for
2065 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
2066 to "a|". Adjust invocation of mark_opt_subexp.
2067 (parse_sub_exp): Create a single SUBEXP node.
2068 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
2069 always perform as if it was 1. Do not initialize OPT_SUBEXP and
2070 DUPLICATED, and initialize the DFA fields representing the transitions.
2071 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
2072 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
2073 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
2074 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
2075 NEXT into pointers to trees. Remove ECLOSURE.
2076
20772004-12-28 Paolo Bonzini <bonzini@gnu.org >
2078
2079 [BZ #605]
2080 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
2081 that were already created.
2082 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
2083 in the token if needed.
2084 (create_ci_newstate, create_cd_newstate): Set accept_mb field
2085 from the tokens' field.
2086 * posix/regex_internal.h (re_token_t): Add accept_mb field.
2087 (ACCEPT_MB_NODE): Removed.
2088 * posix/regexec.c (proceed_next_node, transit_states_mb,
2089 build_sifted_states, check_arrival_add_next_nodes): Use
2090 accept_mb instead of ACCEPT_MB_NODE.
2091
ea9c93cc
UD
20922005-01-26 Ulrich Drepper <drepper@redhat.com>
2093
629311b7
UD
2094 * debug/chk_fail.c (__chk_fail): Print program name in final message.
2095
ea9c93cc
UD
2096 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
2097 MSG_NOSIGNAL being in 2.2 kernels.
2098
24992143
UD
20992005-01-26 Jakub Jelinek <jakub@redhat.com>
2100
2101 * sysdeps/unix/sysv/linux/i386/sysdep.h
2102 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
2103
2104 [BZ #693]
2105 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
2106 (WORD_DELIM_CONSTRAINT): ...this.
2107 (NOT_WORD_DELIM_CONSTRAINT): Define.
2108 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
2109 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
2110 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
2111 anchor instead of INSIDE_WORD.
2112 (parse_expression): Handle NOT_WORD_DELIM constraint.
2113 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
2114 being inside word instead of not word delim.
2115 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
2116 characters.
2117 * posix/rxspencer/tests: Add some new tests.
2118
d6868416
RM
21192005-01-14 GOTO Masanori <gotom@debian.or.jp>
2120
c7adcc24
RM
2121 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
2122 irrespective of Cflag.
2123
d6868416
RM
2124 * manual/memory.texi (sbrk): Fix definition.
2125 * manual/string.texi (strcasestr): Fix example typo.
2126
21272005-01-25 Roland McGrath <roland@redhat.com>
2128
2129 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
2130
edd806d2
RM
21312005-01-23 Roland McGrath <roland@redhat.com>
2132
a0b64216 2133 [BZ #737]
edd806d2
RM
2134 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
2135 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
2136 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
2137 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
2138 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
2139 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
2140
792dcd77
UD
21412005-01-25 Jakub Jelinek <jakub@redhat.com>
2142
a0b64216 2143 [BZ #731]
792dcd77
UD
2144 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
2145 (free_mem): Don't free string.
2146 * stdlib/tst-fmtmsg.c: Include string.h.
2147 (main): Add some more tests.
2148
21492005-01-25 Andreas Schwab <schwab@suse.de>
2150
a0b64216 2151 [BZ #736]
792dcd77
UD
2152 * timezone/asia: Update from tzdata2005c.
2153 * timezone/backward: Likewise.
a0b64216 2154 * timezone/europe: Likewise.
792dcd77
UD
2155 * timezone/leapseconds: Likewise.
2156 * timezone/northamerica: Likewise.
2157 * timezone/southamerica: Likewise.
2158
a0b64216 2159 [BZ #736]
792dcd77
UD
2160 * timezone/private.h: Update from tzcode2005c.
2161 * timezone/tzfile.h: Likewise.
2162 * timezone/zdump.c: Likewise.
2163 * timezone/zic.c: Likewise.
2164
1f25bddd
UD
21652005-01-25 Ulrich Drepper <drepper@redhat.com>
2166
2167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
2168 RESOLVE.
2169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
2170 using RESOLVE.
2171 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
2172
d026cf5f
UD
21732005-01-25 Alan Modra <amodra@bigpond.net.au>
2174
cb7c7a9f 2175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
d026cf5f
UD
2176 sym_map, not sym, against zero.
2177
790aa1f2
UD
21782005-01-24 Ulrich Drepper <drepper@redhat.com>
2179
a0b64216 2180 [BZ #671]
790aa1f2
UD
2181 * misc/syslog.c: Moved to...
2182 * sysdeps/generic/syslog.c: ...here.
2183 [NO_SIGIPE]: Don't install SIGPIPE handler.
2184 * sysdeps/unix/sysv/linux/syslog.c: New file.
2185 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2186 __ASSUME_MSG_NOSIGNAL.
2187
57c6c64a
RH
21882005-01-22 Richard Henderson <rth@redhat.com>
2189
2190 * sysdeps/alpha/dl-trampoline.S: New file.
2191 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
2192 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2193 (elf_machine_runtime_setup): Test for dl_profile non-null.
2194 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2195 * sysdeps/alpha/bits/link.h: New file.
2196 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
2197 (struct audit_ifaces): Add alpha entries.
2198 * elf/tst-auditmod1.c: Add alpha entries.
2199
70fb71fd
UD
22002005-01-22 Ulrich Drepper <drepper@redhat.com>
2201
4bf1073d
UD
2202 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
2203 * sysdeps/ia64/dl-trampoline.S: New file.
2204
9c9628d9
UD
2205 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
2206 La_x86_64_xmm definition.
2207
70fb71fd
UD
2208 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
2209 pointer option.
70fb71fd
UD
2210 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
2211 CFLAGS-system.c for frame pointer option.
2212
cd7129c9
RM
22132005-01-21 Roland McGrath <roland@redhat.com>
2214
2215 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
2216 * sysdeps/i386/dl-machine.h: Update decl.
2217
be184b1d
UD
22182005-01-21 Jakub Jelinek <jakub@redhat.com>
2219
a0b64216 2220 [BZ #735]
be184b1d
UD
2221 * elf/Makefile: Add rules to build and run tst-align2.
2222 * elf/tst-align2.c: New test.
2223 * elf/tst-alignmod2.c: New file.
2224 * sysdeps/powerpc/tst-stack-align.h: New file.
2225 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
2226 pointer before calling _dl_init.
2227 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2228
57b47af9
UD
22292005-01-20 Ulrich Drepper <drepper@redhat.com>
2230
2231 * posix/execl.c: Do not allocate potentially large buffers on the
2232 stack.
2233 * posix/execle.c: Likewise.
2234 * posix/execlp.c: Likewise.
8b3d4e0b 2235 * posix/execvp.c: Likewise.
57b47af9
UD
2236 (script_execute): Removed.
2237 (allocate_scripts_argv): New function. Called at most once to
2238 allocate memory, not every time a script is run. Adjust caller.
2239
2240 * sysdeps/generic/wordexp.c (exec_comm): Add a few
2241 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
2242 exec_comm_child.
2243 (exec_comm_child): Can now be inlined.
2244
2245 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
2246 * stdlib/Makefile: Likewise.
2247
8d33466f
RM
22482005-01-19 Roland McGrath <roland@redhat.com>
2249
2250 [BZ #681]
2251 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
2252 argument to execlp.
2253 Reported by Marcus Meissner <meissner@suse.de>.
2254
f9f7fcbe
RM
22552005-01-19 Jakub Jelinek <jakub@redhat.com>
2256
2257 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
2258 in assert.
2259 * iconv/strtab.c (strtabfinalize): Likewise.
2260
2261 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
2262
1d038b6b
RM
22632005-01-17 Roland McGrath <roland@redhat.com>
2264
a0b64216 2265 [BZ #745]
1d038b6b
RM
2266 * nscd/Makefile (LDLIBS-nscd): New variable.
2267 ($(objpfx)nscd): Use that instead of selinux-LIBS.
2268
2269 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
2270 (link-extra-libs-static): Define to $(link-extra-libs).
2271 (link-extra-libs-bounded): Likewise.
2272
0af42c25
UD
22732005-01-17 Ulrich Drepper <drepper@redhat.com>
2274
2275 * include/link.h: Remove stray definition of pltenter.
2276
125a8cf7
UD
22772005-01-16 GOTO Masanori <gotom@debian.or.jp>
2278
a0b64216 2279 [BZ #734]
125a8cf7
UD
2280 * sysdeps/unix/rewinddir.c: Reset filepos.
2281 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
2282
22832005-01-15 Ulrich Drepper <drepper@redhat.com>
2284
2285 * elf/tst-auditmod1.c: Reduce duplication.
2286
b92f2d04
AS
22872005-01-16 Andreas Schwab <schwab@suse.de>
2288
2289 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
2290 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2291 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2292 GLRO(dl_profile) != NULL.
2293 * sysdeps/m68k/dl-trampoline.S: New file.
2294 * sysdeps/m68k/bits/link.h: New file.
2295 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
2296 variants.
2297 * elf/tst-auditmod1.c: Add m68k support.
2298
ea161661
UD
22992005-01-14 Ulrich Drepper <drepper@redhat.com>
2300
2301 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
2302 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
2303
a0b64216 2304 [BZ #731]
ea161661
UD
2305 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
2306 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
2307
1b85ed0c
UD
23082005-01-12 Ulrich Drepper <drepper@redhat.com>
2309
3e539cb4
UD
2310 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
2311 callers from libc anymore.
2312
2313 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
2314 to _dl_map_object_deps.
2315 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
2316 protections when loading auditing modules.
2317
2318 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
2319
1b85ed0c
UD
2320 * posix/getconf.c: Update copyright year.
2321 * nss/getent.c: Likewise.
2322 * nscd/nscd_nischeck.c: Likewise.
2323 * iconv/iconvconfig.c: Likewise.
2324 * iconv/iconv_prog.c: Likewise.
2325 * elf/ldconfig.c: Likewise.
2326 * catgets/gencat.c: Likewise.
2327 * csu/version.c: Likewise.
2328 * elf/ldd.bash.in: Likewise.
2329 * elf/sprof.c (print_version): Likewise.
2330 * locale/programs/locale.c: Likewise.
2331 * locale/programs/localedef.c: Likewise.
2332 * nscd/nscd.c (print_version): Likewise.
2333 * debug/xtrace.sh: Likewise.
2334 * malloc/memusage.sh: Likewise.
2335 * malloc/mtrace.pl: Likewise.
2336 * debug/catchsegv.sh: Likewise.
2337
537e7234
UD
23382005-01-11 Thorsten Kukuk <kukuk@suse.de>
2339
a0b64216 2340 [BZ #733]
a3a449c1
UD
2341 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
2342 as backlog.
2343 * sunrpc/svc_unix.c (svcunix_create): Likewise.
2344
537e7234
UD
2345 * grp/putgrent.c (putgrent): Don't write 0 as group
2346 ID if groupname starts with + or -.
2347 * pwd/putpwent.c (putpwent): Don't write 0 as user or
2348 group ID if user name starts with + or -.
2349
23502005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2351
2352 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
2353 * sysdeps/elf/tst-auditmod1.c: Add sh support.
2354 * sysdeps/sh/bits/link.h: New.
2355 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
2356 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
2357 (RTLD_START): Define __fpscr_values.
2358 * sysdeps/sh/dl-trampoline.S: New file.
2359 * sysdeps/sh/sh4/dl-trampoline.S: New file.
2360 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
2361 * sysdeps/sh/sh4/dl-machine.h: Remove.
2362
23632005-01-10 Jakub Jelinek <jakub@redhat.com>
2364
a0b64216 2365 [BZ #732]
537e7234
UD
2366 * time/tst-strptime.c (day_tests): Add 2 new tests.
2367 (test_tm, main): Issue an error instead of segfaulting if
2368 strptime returns NULL.
2369
23702005-01-10 H.J. Lu <hongjiu.lu@intel.com>
2371
2372 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
2373 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
2374
8bf139c9
UD
23752005-01-11 Ulrich Drepper <drepper@redhat.com>
2376
2377 * malloc/malloc.h: Remove no-glibc support.
2378
23792005-01-12 GOTO Masanori <gotom@debian.or.jp>
2380
2381 [BZ #650]
2382 * malloc/malloc.h: Always include features.h.
2383
849a8a3b
RM
23842005-01-10 Roland McGrath <roland@redhat.com>
2385
5d3d59a1
RM
2386 * sysdeps/ia64/fpu/e_logl.c: File removed.
2387
849a8a3b
RM
2388 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
2389
73102f50
UD
23902005-01-10 Ulrich Drepper <drepper@redhat.com>
2391
2392 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
2393 recognition of last entry.
2394
9fbdeb41
UD
23952005-01-09 Ulrich Drepper <drepper@redhat.com>
2396
5d3d59a1 2397 * elf/dl-runtime.c: Include <sys/param.h>.
9fbdeb41
UD
2398
2399 * elf/Makefile (headers): Add bits/link.h.
2400
24012005-01-09 Andreas Schwab <schwab@suse.de>
2402
2403 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
2404
24052005-01-09 Andreas Jaeger <aj@suse.de>
2406
a0b64216 2407 [BZ #732]
9fbdeb41
UD
2408 * time/strptime_l.c (__strptime_internal): Add braces to avoid
2409 warning.
2410
2411 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
2412
2413 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
2414
24152005-01-08 Jakub Jelinek <jakub@redhat.com>
2416
2417 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
2418
29f97654
UD
24192005-01-09 Ulrich Drepper <drepper@redhat.com>
2420
e145f1cc
UD
2421 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
2422 those of all the regular objects.
2423
29f97654
UD
2424 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
2425 use it to select the r_debug structure for that namespace.
2426 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
2427 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2428 * elf/dl-open.c (_dl_open): Likewise.
2429 * elf/rtld.c (dl_main): Likewise.
2430 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
2431 member.
2432 (_dl_debug_initialize): Add new parameter in declaration.
2433
2434 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
2435 called for the auditing objects themselves.
2436 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2437
e2070ca2
UD
24382005-01-07 Ulrich Drepper <drepper@redhat.com>
2439
4e2d5491
UD
2440 * sysdeps/powerpc/powerpc64/dl-machine.h
2441 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2442 GLRO(dl_profile) != NULL.
2443 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
2444 padding.
2445 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
2446 Extend _dl_prof_resolve to add pass extra parameters to
2447 _dl_profile_fixup and set up structure with register content.
2448
70cd1f97
UD
2449 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
2450 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
85555eeb
UD
2451 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
2452 Extend _dl_prof_resolve to add pass extra parameters to
2453 _dl_profile_fixup and set up structure with register content.
70cd1f97
UD
2454 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
2455 the register and result structures.
2456 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
2457 in the 32-bit register and result structures.
85555eeb 2458
2413fdba
UD
2459 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
2460
2461 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
2462 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
2463 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2464 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
2465 * elf/tst-auditmod1.c: Add ppc32 support.
2466 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
2467 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
2468
ae7f5313
UD
2469 * malloc/malloc.c (malloc_printerr): Print program name as part of
2470 error message.
2471
9ee4c017
UD
2472 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
2473 * stdlib/stdlib.h: Make realloc with
2474 __attribute_warn_unused_result__ instead of __wur.
2475 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
2476 markers as in <stdlib.h>.
2477
e2070ca2
UD
2478 * libio/stdio.h: Remove __wur from rename and remove.
2479 * posix/unistd.h: Remove __wur from dup2.
2480
883faf82
AJ
24812005-01-03 Andreas Jaeger <aj@suse.de>
2482
2483 * elf/Makefile (tests): Revert patch from 2005-01-03.
2484
82221992
UD
24852005-01-07 Ulrich Drepper <drepper@redhat.com>
2486
3ded7036
UD
2487 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2488 make __libc_init_first hidden.
2489
82221992
UD
2490 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2491 l_relocated of rtld map.
2492 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2493 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2494 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1b80bbc1 2495 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
82221992
UD
2496 * elf/tst-auditmod1.c: Add ppc64 support.
2497 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2498
1e6a5f2f
RM
24992005-01-06 Roland McGrath <roland@redhat.com>
2500
2501 [BZ #633]
2502 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2503 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2504
f14038f2
UD
25052005-01-06 Ulrich Drepper <drepper@redhat.com>
2506
2c11e7f3
UD
2507 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2508 * sysdeps/generic/libc-start.c: Don't register program destructor here.
2509
2510 * dlfcn/Makefile: Add rules to build dlfcn.c.
2511 (LDFLAGS-dl.so): Removed.
2512 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2513 table.
2514 * dlfcn/dlmopen.c: Likewise for _dl_open.
2515 * dlfcn/dlopen.c: Likewise.
2516 * dlfcn/dlopenold.c: Likewise.
2517 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2518 * elf/Makefile (routines): Remove dl-open and dl-close.
2519 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2520 Add rules to build and run tst-audit1.
2521 * elf/tst-audit1.c: New file.
2522 * elf/tst-auditmod1.c: New file.
2523 * elf/Versions [libc]: Remove _dl_open and _dl_close.
2524 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2525 * elf/dl-open.c: Likewise.
2526 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2527 signaled by nonzero parameter.
2528 * elf/dl-init.c: Fix use of r_state.
2529 * elf/dl-load.c: Likewise.
2530
2531 * elf/dl-close.c: Add auditing checkpoints.
2532 * elf/dl-open.c: Likewise.
2533 * elf/dl-fini.c: Likewise.
2534 * elf/dl-load.c: Likewise.
2535 * elf/dl-sym.c: Likewise.
2536 * sysdeps/generic/libc-start.c: Likewise.
2537 * elf/dl-object.c: Allocate memory for auditing information.
2538 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
2539 Correctly initialize slotinfo.
2540 * elf/dynamic-link.h: Adjust after removal of RESOLV.
2541 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2542 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2543 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2544 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2545 (_dl_profile_fixup): New parameters to point to register struct and
2546 variable for frame size.
2547 Add auditing checkpoints.
2548 (_dl_call_pltexit): New function.
2549 Don't define trampoline code here.
2550 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
2551 Remove all the functions from _rtld_global_ro which only _dl_open
2552 and _dl_close needed.
2553 Add auditing checkpoints.
2554 * elf/link.h: Define symbols for auditing interfaces.
2555 * include/link.h: Likewise.
2556 * include/dlfcn.h: Define __RTLD_AUDIT.
2557 Remove prototypes for _dl_open and _dl_close.
2558 Adjust access to argc and argv in libdl.
2559 * dlfcn/dlfcn.c: New file.
2560 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2561 is gone.
2562 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2563 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2564 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2565 Adjust for removal of RESOLVE.
2566 * sysdeps/x86_64/dl-machine.h: Likewise.
2567 * sysdeps/generic/dl-trampoline.c: New file.
2568 * sysdeps/i386/dl-trampoline.c: New file.
2569 * sysdeps/x86_64/dl-trampoline.c: New file.
2570
2571 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
2572 Fix updating of DTV.
2573 * sysdeps/generic/libc-tls.c: Likewise.
2574
2575 * sysdeps/arm/bits/link.h: Renamed to ...
5d09cc15 2576 * sysdeps/arm/bits/linkmap.h: ...this.
2c11e7f3
UD
2577 * sysdeps/generic/bits/link.h: Renamed to...
2578 * sysdeps/generic/bits/linkmap.h: ...this.
2579 * sysdeps/hppa/bits/link.h: Renamed to...
2580 * sysdeps/hppa/bits/linkmap.h: ...this.
5d09cc15
RM
2581 * sysdeps/i386/bits/link.h: Renamed to...
2582 * sysdeps/i386/bits/linkmap.h: ...this.
2583 * sysdeps/ia64/bits/link.h: Renamed to...
2584 * sysdeps/ia64/bits/linkmap.h: ...this.
2585 * sysdeps/s390/bits/link.h: Renamed to...
2586 * sysdeps/s390/bits/linkmap.h: ...this.
2587 * sysdeps/sh/bits/link.h: Renamed to...
2588 * sysdeps/sh/bits/linkmap.h: ...this.
2589 * sysdeps/x86_64/bits/link.h: Renamed to...
2590 * sysdeps/x86_64/bits/linkmap.h: ...this.
2c11e7f3 2591
f14038f2
UD
2592 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
2593
4d37c8aa
UD
25942004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
2595
a0b64216 2596 [BZ #602]
4d37c8aa
UD
2597 * math/libm-test.inc (rint_test_tonearest): New test.
2598 (rint_test_towardzero): New test.
2599 (rint_test_downward): New test.
2600 (rint_test_upward): New test.
2601 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2602 Remove redundant const values.
2603 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2604 Remove redundant const values. Use float const.
2605 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2606 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2607 Use float const.
2608 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2609 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2610 Use float const.
2611 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2612 Remove redundant const values.
2613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2614 Remove redundant const values. Use float const.
2615 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2616 Remove redundant const values.
2617 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2618 Remove redundant const values. Use float const.
2619 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2620 alignment. Fix -0.0 case. Remove redundant const values.
2621 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2622 alignment. Fix -0.0 case. Remove redundant const values.
2623 Use float const.
2624 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2625 alignment. Fix -0.0 case.
2626 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2627 alignment. Fix -0.0 case. Use float const.
2628 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2629 alignment. Fix -0.0 case.
2630 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2631 alignment. Fix -0.0 case. Use float const.
2632 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2633 alignment. Fix -0.0 case. Remove redundant const values.
2634 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2635 alignment. Fix -0.0 case. Remove redundant const values.
2636 Use float const.
2637 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2638 alignment. Fix -0.0 case.
2639 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2640 alignment. Fix -0.0 case. Remove redundant const values.
2641 Use float const.
2642
5cf53cc2
UD
26432005-01-06 Ulrich Drepper <drepper@redhat.com>
2644
2645 * misc/sys/cdefs.h: Define __wur.
2646 * libio/stdio.h: Use __wur for a number of interfaces.
2647 * posix/unistd.h: Likewise.
0476597b 2648 * stdlib/stdlib.h: Likewise.
5cf53cc2 2649
bb803bff
UD
26502004-12-29 Jakub Jelinek <jakub@redhat.com>
2651
a0b64216 2652 [BZ #592]
bb803bff
UD
2653 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2654 libc_hidden_proto instead of HIDDEN_PROTO.
2655 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2656 (__libm_error_support): If ASSEMBLER and in libc, define to
2657 HIDDEN_JUMPTARGET(__libm_error_support).
2658
26592004-12-28 David Mosberger <davidm@hpl.hp.com>
2660
a0b64216 2661 [BZ #592]
bb803bff
UD
2662 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2663 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2664 with $(duplicated-routines).
2665 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2666 "m_" prefix.
2667
26682004-12-27 David Mosberger <davidm@hpl.hp.com>
2669
a0b64216 2670 [BZ #592]
bb803bff
UD
2671 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2672 undefine "ret" macro. Add __libm_error_support hidden definitions.
2673
a0b64216 2674 [BZ #592]
bb803bff
UD
2675 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
2676 missing portion of copyright statement.
2677 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2678 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2679
a0b64216 2680 [BZ #592]
bb803bff
UD
2681 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
2682 missing portion of copyright statement.
2683 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
2684 (__ieee754_gamma): Likewise.
2685 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2686 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2687
da232bf9 26882004-12-09 H.J. Lu <hjl@lucon.org>
bb803bff 2689
a0b64216 2690 [BZ #592]
bb803bff
UD
2691 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2692 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2693 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2694 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2695 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2696 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2697
26982004-11-18 David Mosberger <davidm@hpl.hp.com>
2699
a0b64216 2700 [BZ #592]
bb803bff
UD
2701 * sysdeps/ia64/fpu/README: New file.
2702 * sysdeps/ia64/fpu/gen_import_file_list: New file.
2703 * sysdeps/ia64/fpu/import_check: Likewise.
2704 * sysdeps/ia64/fpu/import_diffs: Likewise.
2705 * sysdeps/ia64/fpu/import_file.awk: Likewise.
2706 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2707 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2708
a0b64216 2709 [BZ #592]
bb803bff
UD
2710 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2711 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2712 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2713 * sysdeps/ia64/fpu/e_asin.S: Likewise.
2714 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2715 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2716 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2717 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2718 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2719 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2720 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2721 * sysdeps/ia64/fpu/e_exp.S: Likewise.
2722 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2723 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2724 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2725 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2726 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2727 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2728 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2729 * sysdeps/ia64/fpu/e_log.S: Likewise.
2730 * sysdeps/ia64/fpu/e_log2.S: Likewise.
2731 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2732 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2733 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2734 * sysdeps/ia64/fpu/e_pow.S: Likewise.
2735 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2736 * sysdeps/ia64/fpu/e_powl.S: Likewise.
2737 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2738 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2739 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2740 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2741 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2742 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2743 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2744 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2745 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2746 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2747 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2748 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2749 * sysdeps/ia64/fpu/libm_error.c: Likewise.
2750 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2751 * sysdeps/ia64/fpu/libm_support.h: Likewise.
2752 * sysdeps/ia64/fpu/s_atan.S: Likewise.
2753 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2754 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2755 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2756 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2757 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2758 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2759 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2760 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2761 * sysdeps/ia64/fpu/s_cos.S: Likewise.
2762 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2763 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2764 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2765 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2766 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2767 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2768 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2769 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2770 * sysdeps/ia64/fpu/s_floor.S: Likewise.
2771 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2772 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2773 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2774 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2775 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2776 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2777 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2778 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2779 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2780 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2781 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2782 * sysdeps/ia64/fpu/s_logb.S: Likewise.
2783 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2784 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2785 * sysdeps/ia64/fpu/s_modf.S: Likewise.
2786 * sysdeps/ia64/fpu/s_modff.S: Likewise.
2787 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2788 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2789 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2790 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2791 * sysdeps/ia64/fpu/s_rint.S: Likewise.
2792 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2793 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2794 * sysdeps/ia64/fpu/s_round.S: Likewise.
2795 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2796 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2797 * sysdeps/ia64/fpu/s_significand.S: Likewise.
2798 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2799 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2800 * sysdeps/ia64/fpu/s_tan.S: Likewise.
2801 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2802 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2803 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2804 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2805 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2806
a0b64216 2807 [BZ #592]
bb803bff
UD
2808 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2809 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2810 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2811 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2812 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2813 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2814 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2815 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2816 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2817 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2818 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2819 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2820 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2821 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2822 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2823 * sysdeps/ia64/fpu/e_logl.S: Likewise.
2824 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2825 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2826 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2827 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2828 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2829 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2830 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2831 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2832 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2833 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2834 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2835 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2836 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2837 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2838 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2839 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2840 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2841 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2842 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2843 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2844 * sysdeps/ia64/fpu/s_erf.S: Likewise.
2845 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2846 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2847 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2848 * sysdeps/ia64/fpu/s_erff.S: Likewise.
2849 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2850 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2851 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2852 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2853 * sysdeps/ia64/fpu/s_fma.S: Likewise.
2854 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2855 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2856 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2857 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2858 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2859 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2860 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2861 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2862 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2863 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2864 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2865 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2866 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2867 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2868 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2869 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2870 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2871 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2872 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2873 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2874 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2875 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2876 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2877 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2878
a0b64216 2879 [BZ #592]
bb803bff
UD
2880 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2881 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2882 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2883 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2884 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2885 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2886 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2887 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2888 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2889 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2890 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2891 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2892 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2893 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2894 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2895 * sysdeps/ia64/fpu/w_expl.c: Likewise.
2896 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2897 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2898 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2899 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2900 * sysdeps/ia64/fpu/w_log2.c: Likewise.
2901 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2902 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2903 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2904 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2905 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2906
a0b64216 2907 [BZ #592]
bb803bff
UD
2908 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2909 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2910 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2911 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2912 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2913 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2914 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2915
a0b64216 2916 [BZ #592]
bb803bff
UD
2917 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2918 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2919 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2920
a0b64216 2921 [BZ #592]
bb803bff
UD
2922 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2923
a0b64216 2924 [BZ #592]
bb803bff
UD
2925 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2926 alias for use by libm_error.c
2927
a0b64216 2928 [BZ #592]
bb803bff
UD
2929 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2930 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2931 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2932 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2933 libm_scalbn{,f,l}, libm_scalblnf.
2934 (sysdep_routines): Remove libm_frexp4{,f,l}.
2935 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2936 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2937 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2938 -DSIZE_LONG_LONG_INT_64.
2939
ef07fd10
UD
29402005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
2941
a0b64216 2942 [BZ #729]
ef07fd10
UD
2943 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2944 l_text_end are set for a VDSO with a single PT_LOAD entry.
2945
6c4b3f16
UD
29462005-01-05 Ulrich Drepper <drepper@redhat.com>
2947
a0b64216 2948 [BZ #730]
1e7cceb9
UD
2949 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
2950 invalid to disable optimizations in fileops which won't work here.
2951 (_IO_cookie_jumps): Use it.
2952 (_IO_old_cookie_jumps): Likewise.
2953 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2954 not the return value.
2955 * stdio-common/Makefile (tests): Add tst-fmemopen2.
2956 * stdio-common/tst-fmemopen2.c: New file.
2957
6c4b3f16
UD
2958 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2959
dabacd06
RM
29602005-01-05 Roland McGrath <roland@redhat.com>
2961
2962 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2963 * sysdeps/i386/configure.in: ... here. New file.
dabacd06 2964
d410d5dc
UD
29652005-01-03 Ulrich Drepper <drepper@redhat.com>
2966
a0b64216 2967 [BZ #727]
3fb2606a
UD
2968 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2969 initialize __environ again.
574b268e
UD
2970 * stdlib/Makefile: Add rules to build and run tst-putenv.
2971 * stdlib/tst-putenv.c: New file.
2972 * stdlib/tst-putenvmod.c: New file.
3fb2606a 2973
d410d5dc
UD
2974 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
2975 define unnecessary wrappers or aliases of static functions.
2976
a1194e83
AJ
29772005-01-03 Andreas Jaeger <aj@suse.de>
2978
2979 * csu/Makefile (generated): Add start.os and start.ob.
2980
2981 * elf/Makefile (tests): Change rule for tst-pie1 so that make
2982 clean works.
2983
37c6165d
RM
29842004-12-29 Roland McGrath <roland@redhat.com>
2985
2986 [BZ #626]
2987 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2988 than always up; when nearest is zero, round up to one.
2989
ab4bc713
UD
29902004-12-28 Ulrich Drepper <drepper@redhat.com>
2991
6bddccf2
UD
2992 * po/es.po: Update from translation team.
2993
a0b64216 2994 [BZ #726]
ab4bc713
UD
2995 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2996
a71c152c
UD
29972004-12-27 Ulrich Drepper <drepper@redhat.com>
2998
a0b64216 2999 [BZ #744]
a71c152c
UD
3000 * include/signal.h: Define __sigemptyset.
3001
ab4b89fe
UD
30022004-04-27 Paolo Bonzini <bonzini@gnu.org>
3003
3004 * posix/regex_internal.h (struct re_dfastate_t): Make
3005 word_trtable a pointer to the 512-item transition table.
3006 * posix/regexec.c (build_trtable): Fill in either state->trtable
3007 or state->word_trtable. Return a boolean indicating success.
3008 (transit_state): Expect state->trtable to be a 256-item
3009 transition table. Reorganize code to have less tests in
3010 the common case, and to save an indentation level.
5cf53cc2 3011 * posix/regex_internal.c (free_state): Free word_trtable.
ab4b89fe 3012
d143c49e
UD
30132004-12-21 Jakub Jelinek <jakub@redhat.com>
3014
a0b64216 3015 [BZ #723]
d143c49e
UD
3016 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
3017 calling fn is 16 byte aligned.
3018 * sysdeps/i386/tst-stack-align.h: New file.
3019
a0b64216 3020 [BZ #725]
d143c49e
UD
3021 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3022 (ecvt_r): Special case denormals.
3023 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3024 * misc/tst-efgcvt.c: Include float.h.
3025 (ecvt_tests): Add 2 new tests.
3026
a334319f 30272004-12-20 Roland McGrath <roland@frob.com>
3b7a95fb 3028
a334319f
UD
3029 * version.h (RELEASE, VERSION): development, 2.3.90
3030 * include/features.h (__GLIBC_MINOR__): Now 4.
3b7a95fb 3031
5d37289a 3032
15e3f6f6 3033See ChangeLog.15 for earlier changes.
This page took 0.42521 seconds and 5 git commands to generate.