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