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