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