]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4009bf40
UD
12003-03-19 Ulrich Drepper <drepper@redhat.com>
2
3 * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
4 * include/atomic.h: New file.
5 * sysdeps/i386/i486/bits/atomic.h: New file.
6 * sysdeps/x86_64/bits/atomic.h: New file.
7 * sysdeps/s390/bits/atomic.h: New file.
8 * sysdeps/sh/bits/atomic.h: New file.
9 * sysdeps/ia64/bits/atomic.h: New file.
10 * sysdeps/powerpc/bits/atomic.h: New file.
11 * sysdeps/generic/bits/atomic.h: New file.
12 * sysdeps/i386/i486/atomicity.h: Removed.
13 * sysdeps/x86_64/atomicity.h: Removed.
14 * sysdeps/s390/s390-32/atomicity.h: Removed.
15 * sysdeps/s390/s390-64/atomicity.h: Removed.
16 * sysdeps/ia64/atomicity.h: Removed.
17 * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
18 * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
19 * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
20 use of macros from atomicity.h to new names and semantics.
21 * gmon_mcount.c: Likewise.
22 * malloc/set-freeres.c: Likewise.
23 * nscd/cache.c: Likewise.
24 * stdlib/cxa_finalize.c: Likewise.
25 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26
ce3a4adf
AO
272003-03-19 Alexandre Oliva <aoliva@redhat.com>
28
4009bf40 29 * sysdeps/mips/ieee754.h: New file, suitable to replace both
ce3a4adf
AO
30 ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
31 mips-specific for now.
32
8c937b84
UD
332003-03-19 Ulrich Drepper <drepper@redhat.com>
34
4009bf40 35 * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
85b5767c
UD
36 hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
37 * stdlib/tst-strtod.c: Add test for the bug.
38
8c937b84
UD
39 * posix/tst-nice.c (do_test): Remove invalid of return value.
40 Don't run test if initial level != 0.
41
cb8ed941
UD
422003-03-19 Amos Waterland <apw@us.ibm.com>
43
44 * posix/tst-nice.c: New file.
45 * posix/Makefile (tests): Add tst-nice.
46
32a448ed
RM
472003-03-18 Roland McGrath <roland@redhat.com>
48
94659495
RM
49 * abilist: New directory of libfoo.abilist files maintained using
50 scripts/merge-abilist.awk and "make update-abi" rules.
51 * Makefile (distribute): Add abilist/*.abilist.
52 * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
53 Depend on check-abi.
54
32a448ed
RM
55 * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
56 * configure: Regenerated.
57
58 * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
59
dacb2bad
UD
602003-03-18 Ulrich Drepper <drepper@redhat.com>
61
62 * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
63 correctly.
64
a14b373c
UD
652003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
66
67 * sysdeps/powerpc/powerpc64/memcpy.S: New file.
68
d5cb8389
UD
692003-03-18 Ulrich Drepper <drepper@redhat.com>
70
71 * Versions.def: Add GLIBC_2.3.3 for libpthread.
72
97026947
UD
732003-03-17 Ulrich Drepper <drepper@redhat.com>
74
75 * sysdeps/generic/libc-start.c [!SHARED &&
76 !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
77
98054a05
RM
782003-03-17 Roland McGrath <roland@redhat.com>
79
80 * include/ctype.h: Revert last change.
81
0a8d8004
UD
822003-03-17 Ulrich Drepper <drepper@redhat.com>
83
84 * argp/tst-argp1.c: Use test-skeleton.c.
85 * locale/tst-C-locale.c: Likewise.
86
c27d6848
AO
872003-03-17 Alexandre Oliva <aoliva@redhat.com>
88
5a0e429d
AO
89 * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
90 * sysdeps/mips/mips64/n64/Implies: New file.
91 * sysdeps/mips/mips64/n64/Makefile: New file.
92 * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
93 * sysdeps/mips/mips64/n32/Implies: New file.
94 * sysdeps/mips/mips64/n32/Makefile: New file.
95 * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
96 * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
97 * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
98 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
99 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
100 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
101 * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
102 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
103 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
104 * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
105 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
106 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
107 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
108 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
109
fc32835a
AO
110 * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
111 lib64 for mips64/n64 and lib32 for mips64/n32.
112 (ldd_rewrite_script): Needed for all mips64 configurations.
113 * sysdeps/unix/sysv/linux/configure: Rebuilt.
114 * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
115 * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
116
c3b519b7
AO
117 * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
118 well.
119
c27d6848
AO
120 * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
121 asm/unistd.h into asm-unistd.h.
122 * sysdeps/unix/sysv/linux/mips/configure: Generated.
123 * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
124 of syscall list.
125 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
126 * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
127 asm/unistd.h.
128
935af0f2
AO
129 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
130 * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
131 long type for registers on n32.
132
4947b4b2
AO
133 * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
134 3 ABIs.
135 * sysdeps/mips/mips64/gmp-mparam.h: New file. Define
136 BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
137 * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
138 (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
139 * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
140 * sysdeps/unix/mips/brk.S: Likewise.
141 * sysdeps/unix/mips/sysdep.S: Likewise.
142 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
143 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
144 * sysdeps/mips/sys/ucontext.h: Likewise.
145 * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
146 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
147 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
148 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
149 * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
150 * sysdeps/mips/mips64/setjmp.S: Likewise.
151 * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
152 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
153 64-bit types.
154
b6e2f87a
UD
1552003-03-16 Ulrich Drepper <drepper@redhat.com>
156
157 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
158 not at function level.
159 * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
160
638bb1f3
RM
1612003-03-15 Roland McGrath <roland@redhat.com>
162
8112cc70
RM
163 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
164 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
165 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
166 * nis/nis_table.c (__create_ib_request): Likewise.
167
eb64f8cb 168 * posix/fnmatch_loop.c: Add casts for signedness.
addc92bd 169 * nss/nss_files/files-hosts.c: Likewise.
eb64f8cb
RM
170 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
171 * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
172 * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
173
385cce41
RM
174 * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
175 get errors into the log file.
176 (libc_cv_broken_visibility_attribute): Likewise.
177 (libc_cv_broken_alias_attribute): Likewise.
178 (libc_cv_asm_weak_directive): Likewise.
179 (libc_cv_need_minus_P): Likewise.
180 (libc_cv_dot_text): Likewise.
181 (libc_cv_asm_global_directive): Likewise.
182 (libc_cv_asm_type_prefix): Likewise.
183 * configure: Regenerated.
184
638bb1f3
RM
185 * nscd/cache.c (cache_search): Give first arg type `request_type'.
186 * nscd/nscd.h: Update decl.
187
188 * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
189 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
190 * elf/dl-close.c (_dl_close): Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
192 * io/fts.c (fts_build): Likewise.
193 * elf/cache.c (add_to_cache): Likewise.
194 * locale/programs/locarchive.c (show_archive_content): Likewise.
195
196 * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
197
198 * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
199 happy.
200 (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
201
c04dad40
UD
2022003-03-15 Ulrich Drepper <drepper@redhat.com>
203
204 * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
205 code for most parts.
206
124dcac8
RM
2072003-03-15 Roland McGrath <roland@redhat.com>
208
7eecc0c2
RM
209 * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
210 * sysdeps/unix/sysv/linux/system.c: ... here.
211 (FORK): Don't #define if already #define'd.
212 * sysdeps/unix/sysv/linux/s390/system.c: File removed.
213 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
214 (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
215
45e4762c
RM
216 * dlfcn/tst-dlinfo.c: New file.
217 * dlfcn/Makefile (tests): Add tst-dlinfo.
218 ($(objpfx)tst-dlinfo): New target.
219
220 * dlfcn/dlinfo.c: New file.
221 * dlfcn/Makefile (libdl-routines): Add it.
222 * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
223 * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
224 [__USE_GNU] (RTLD_DI_*): New enum constants.
225 [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
226 * elf/dl-load.c (cache_rpath): New inline function.
227 (_dl_map_object): Use it.
228 (_dl_rtld_di_serinfo): New function.
229 * sysdeps/generic/ldsodefs.h: Declare it.
230 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
231
124dcac8
RM
232 * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
233 (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
234 (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
235 (__libc_start_main): Just call the generic one for most of the work.
236
237 * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
238 static function by that name instead of BP_SYM (__libc_start_main).
239 [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
240 [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
241 [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
242
243 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
244 Use this macro for extra AT_* cases.
245 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
246 New macro, guts from ...
247 (__aux_init_cache): ... here, function removed.
248 (DL_PLATFORM_INIT): Don't define this.
249
250 * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
251 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
252
e993ec9a 253 * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
124dcac8 254
39d8c1a2
RM
2552003-03-14 Roland McGrath <roland@redhat.com>
256
257 * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
258
c58859ce
RM
2592003-03-14 Jakub Jelinek <jakub@redhat.com>
260
261 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
262
263 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
264 sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
265
44bc0afb
AO
2662003-03-14 Alexandre Oliva <aoliva@redhat.com>
267
882dda66
AO
268 * sysdeps/mips/fpu/bits/mathdef.h: New.
269 (__NO_LONG_DOUBLE_MATH): Define for o32.
270
4abdb6ca
AO
271 * sysdeps/mips/sys/asm.h: Formatting changes.
272 (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
273 (CPADD): Define for all of them.
274 (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
275 SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
276 NARGSAVE): Define per ABI spec.
277 (END): Don't redefine.
278 (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
279 LONG_SRAV): Remove duplicate definitions.
280 (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
281 PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
282 PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
283 (PTR_LA): Define for all 3 ABIs.
284
365eccdb
AO
285 * sysdeps/mips/dl-machine.h: Include sys/asm.h.
286 (elf_machine_matches_host): Prevent linking of o32 and n32
287 together.
288 (elf_machine_dynamic): Document assumption on $gp.
289 (STRINGXP, STRINGXV, STRINGV_): New macros.
290 (elf_machine_load_address): Use them to stringize PTR_LA and
291 PTR_SUBU.
292 (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
293 ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
294 (_dl_runtime_resolve): Adjust it for all 3 ABIs.
295 (__dl_runtime_resolve): Cast the symtab initializer to the
296 right type.
297 (RTLD_START): Use it. Adjust it for all 3 ABIs.
298 (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
299 Handle 64-bit R_MIPS_REL composite relocation and accept
300 R_MIPS_64 relocations to shift addend size to 64 bits.
301 Document assumption regarding local GOT entries. Document
302 backward-compatibility departing from the ABI behavior in
303 applying relocations that reference section symbols, no longer
304 used. Support relocations to mis-aligned offsets.
305 * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
306
d4c803f8
AO
307 * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
308
84c63a76
AO
309 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
310 (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
311 * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
312 restore_rt functions. Use them.
313
44bc0afb
AO
314 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
315 .set mips2 on new abis.
316
564cd8b6
UD
3172003-03-13 Ulrich Drepper <drepper@redhat.com>
318
319 * posix/getconf.c: Recognize POSIX2_SYMLINKS.
320 * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
321 * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
322 * sysdeps/posix/pathconf.c: Likewise.
323 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
324 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
325 * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
326
327 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
328 words.
329
3be9dc8e
AO
3302003-03-14 Alexandre Oliva <aoliva@redhat.com>
331
332 * include/gmp.h: Include/gmp-mparam.h.
333 * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
334 gmp-impl.h.
335
a77dcecf
AO
336 * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
337 ELF_MACHINE_NO_RELA is set.
338 * elf/rtld.c (dl_main): No prelink support for REL-only.
339
b5bac573
AO
340 * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
341 FLAG_MIPS64_LIBN64): Define.
342 * elf/cache.c (print_entry): Handle mips64 n32 and n64.
343
5ace1393
AO
344 * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
345 * sysdeps/mips/memset.S: Likewise.
346 * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
347 depending on the ABI.
348
1b12a2cb
AO
349 * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
350 Don't .set mips2 on new abi.
351 (compare_and_swap): Likewise. Support 64-bit longs on n64.
352
264befa8
AO
353 * stdlib/fpioconst.h: Include gmp.h with angle brackets.
354
d8a5edc2
RM
3552003-03-13 Roland McGrath <roland@redhat.com>
356
357 * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
358 found. Reported by Alexandre Oliva <aoliva@redhat.com>.
359
3602003-03-13 Alexandre Oliva <aoliva@redhat.com>
361
362 * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
363 literals long long.
364 * stdlib/fpioconst.c: Likewise.
365 * stdlib/strtod.c: Likewise.
366
367 * sysdeps/mips/add_n.S: Use L macro for local labels.
368 * sysdeps/mips/addmul_1.S: Likewise.
369 * sysdeps/mips/lshift.S: Likewise.
370 * sysdeps/mips/memcpy.S: Likewise.
371 * sysdeps/mips/memset.S: Likewise.
372 * sysdeps/mips/mul_1.S: Likewise.
373 * sysdeps/mips/rshift.S: Likewise.
374 * sysdeps/mips/sub_n.S: Likewise.
375 * sysdeps/mips/submul_1.S: Likewise.
376 * sysdeps/mips/mips64/add_n.S: Likewise.
377 * sysdeps/mips/mips64/addmul_1.S: Likewise.
378 * sysdeps/mips/mips64/lshift.S: Likewise.
379 * sysdeps/mips/mips64/mul_1.S: Likewise.
380 * sysdeps/mips/mips64/rshift.S: Likewise.
381 * sysdeps/mips/mips64/sub_n.S: Likewise.
382 * sysdeps/mips/mips64/submul_1.S: Likewise.
383 * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
384 conventions. Define END as in sys/asm.h.
385 * sysdeps/unix/mips/sysdep.S: Likewise.
386 * sysdeps/unix/mips/wait.S: Likewise.
387 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
388
389 * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
390 Cast shifted values that may be too narrow to mp_limb_t.
391 * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
392 Likewise.
393 * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
394 Likewise.
395 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
396 (__mpn_extract_long_double): Likewise.
397 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
398 (__mpn_construct_long_double): Likewise.
399 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
400 (__mpn_extract_long_double): Likewise.
401 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
402 (__mpn_construct_long_double): Likewise.
403
6461e577
RM
4042003-03-13 Roland McGrath <roland@redhat.com>
405
406 * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
407 entries in the map file match too.
408
6fde8d53
AJ
4092003-03-13 Guido Guenther <agx@sigxcpu.org>
410
411 * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
412 label .Lthread_start since current binutils don't allow branches
413 to globally visible symbols.
414
b5ec5617
UD
4152003-03-13 Jakub Jelinek <jakub@redhat.com>
416
417 * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
418 ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
419 ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
420 (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
421 clobbered by the syscall.
422 (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
423 ASM_ARGS_6): Change constraints from r to index of corresponding
424 output register.
425 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
426 ptid and ctid to match kernel.
427 * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
428
3cd69852
RM
4292003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
430
b5ec5617 431 * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
3cd69852 432 AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
b5ec5617 433 * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
3cd69852 434
d63609a7
RM
4352003-03-11 Roland McGrath <roland@redhat.com>
436
437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
438 Check SYM_MAP rather than SYM as definedness check.
439 Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
440 Don't handle R_PPC64_REL24 reloc.
441 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
442
443 * sysdeps/powerpc/powerpc64/dl-machine.h
444 [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
445 block, so we cover all the TPREL16* flavors without 6 ||s.
446 [USE_TLS] (elf_machine_tprel): New function.
447 (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
448 and handle TPREL16 relocs too. Return rather than break for DTPREL64.
449 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
450
b874af99
UD
4512003-03-11 Ralf Baechle <ralf@linux-mips.org>
452
453 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
454 instead of jalr to invoke subroutine so restoring the $gp register
455 will work properly.
456
6c477888
UD
4572003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
458
459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
460 to __NR_pread if not defined.
461 (__NR_pwrite64): Define to __NR_pwrite if not defined.
462
f006d3a0
UD
4632003-03-11 Jakub Jelinek <jakub@redhat.com>
464
465 * sysdeps/unix/sysv/linux/ia64/system.c: New file.
466 * sysdeps/unix/sysv/linux/kernel-features.h
467 (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
468 kernel >= 2.5.64.
469
b33e6163
RM
4702003-03-11 Jakub Jelinek <jakub@redhat.com>
471
472 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
473 allocate space even for the trailing '/'.
474 Reported by John Reiser <jreiser@BitWagon.com>.
475
476 * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
477 ASM_CLOBBERS_6): Define.
478 (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
479 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
480 to match IA-32 order.
481 * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
482
19afbd2c
RM
4832003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
484
f006d3a0 485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
19afbd2c
RM
486 Copy extra params for NPTL to registers used in clone syscall.
487
ce2290cb
RM
4882003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
489
490 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
491 call names for pread and pwrite.
492
e48f9638
RM
4932003-03-10 Roland McGrath <roland@redhat.com>
494
d38c777e
RM
495 * dlfcn/Makefile (libdl-routines): Add dladdr1.
496 * dlfcn/dladdr1.c: New file.
497 * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
498 [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
499 * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
500 a const ElfNN_Sym ** to fill in.
501 * include/dlfcn.h: Update decl. Include <link.h>.
502 * dlfcn/dladdr.c (dladdr): Update caller.
503 * malloc/mtrace.c (tr_where): Likewise.
504 * sysdeps/generic/elf/backtracesyms.c: Likewise.
505 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
506 * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
507 * Versions.def (libdl): Define GLIBC_2.3.3 set.
508
e48f9638
RM
509 * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
510 assembler command.
511 * sysdeps/unix/Makefile (compile-syscall): New variable.
512 Pass -g0 to compiler for assembling syscall stubs from stdin.
513
514 * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
515 (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
516 Define these to do nothing.
517
518 * configure.in: New check for -g on .S files.
519 * configure: Regenerated.
520 * config.make.in (have-cpp-asm-debuginfo): New variable.
521 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
522 * Makeconfig (ASFLAGS): New variable, if undefined and
523 $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
524 * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
525
fcc60e3b
RM
5262003-03-09 Roland McGrath <roland@redhat.com>
527
528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
529 used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
530
e51838c8
UD
5312003-03-09 Ulrich Drepper <drepper@redhat.com>
532
533 * po/fi.po: Update from translation team.
8049ef78 534 * po/ca.po: Likewise.
c37cae9e 535 * po/da.po: Likewise.
e51838c8 536
05ae97d8
UD
5372003-03-08 Ulrich Drepper <drepper@redhat.com>
538
539 * rt/tst-aio7.c (do_test): Change BYTES into a #define.
540
b6b9ee9b
UD
5412003-03-07 Ulrich Drepper <drepper@redhat.com>
542
fcc60e3b 543 * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
35457070 544
b6b9ee9b
UD
545 * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
546
6326c93c
RM
5472003-03-07 Roland McGrath <roland@redhat.com>
548
549 * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
550 * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
551
2090a1d0
AJ
5522003-03-04 Guido Guenther <agx@sigxcpu.org>
553
554 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
555 stubs, we have INLINE_SYSCALL.
556 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
557 MAP_NONBLOCK.
558
696efd11
RM
5592003-03-06 Roland McGrath <roland@redhat.com>
560
561 * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
562 permanent extent and add a comment about testing its implicit teardown.
563
f1a56a2b
RM
5642003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
565
566 * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
567
49400d0e
UD
5682003-03-05 Ulrich Drepper <drepper@redhat.com>
569
570 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
571 reversed __builtin_expect expectation.
572
5fc728a2
RM
5732003-03-05 Roland McGrath <roland@redhat.com>
574
575 * stdio-common/sscanf.c: Use prototype defn with ... syntax.
576 * libio/swscanf.c: Likewise.
577 * libio/swprintf.c: Likewise.
578
510793fd
RM
5792003-03-04 Roland McGrath <roland@redhat.com>
580
790eed83
RM
581 * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
582 (elf_machine_rela): Always use RESOLVE_MAP, needed for
583 R_PPC64_JMP_SLOT as well as TLS cases.
584 (BIT_INSERT): Move parenthesis where it ought to have been.
585 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
586
510793fd
RM
587 * posix/confstr.c (confstr): Correct STRING_LEN values for
588 _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
589 break. Reported by Alexandre Julliard <julliard@winehq.com>.
590
0de28d5c
UD
5912003-03-04 Jakub Jelinek <jakub@redhat.com>
592
593 * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
594
269e8af7
UD
5952003-03-04 Ulrich Drepper <drepper@redhat.com>
596
e2b80a58
UD
597 * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
598 clone parameters.
599
269e8af7
UD
600 * po/sv.po: Update from translation team.
601
330a187b 6022003-03-04 Andreas Jaeger <aj@suse.de>
269e8af7 603 Ulrich Drepper <drepper@redhat.com>
330a187b
AJ
604
605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
606
4f6f0a8f
UD
6072003-03-03 Ulrich Drepper <drepper@redhat.com>
608
cc775edf
UD
609 * sysdeps/generic/dl-sysdep.h: Add double include protection.
610
75081542
UD
611 * po/tr.po: Update from translation team.
612
6fffb9a2
UD
613 * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
614 are holes between the segments. Only call mprotect to set
615 proection to PROT_NONE if there are some.
616
617 * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
618 Update comment.
619
4f6f0a8f
UD
620 * include/sched.h (__clone2): Use ... instead of adding all the
621 new parameters.
622
ce78b460
RM
6232003-03-03 Roland McGrath <roland@redhat.com>
624
868b9d6a
RM
625 * elf/dl-load.c (struct filebuf): Fix typo in last change.
626
ce78b460
RM
627 * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
628 PI_STATIC_AND_HIDDEN.
ce78b460 629
625f22fc
UD
6302003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
631
632 * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
633 flags.
634 * include/sched.h: Update clone2 prototype.
635
71502ebe
UD
6362003-03-03 Andreas Jaeger <aj@suse.de>
637
638 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
639 (llrint): Use it to correct return type.
640 (lrint): Likewise.
641 (lround): Likewise.
642 (llround): Likewise.
643
d15a8404
UD
6442003-03-03 Ulrich Drepper <drepper@redhat.com>
645
ca97fb53
UD
646 * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
647 byte filebuf size.
648
1739d268
UD
649 * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
650 if ccs parameter isn't valid. Reported by Andreas Schwab.
651
6522003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
653
654 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
655 for system call numbers > 255.
656 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
657 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
658 INTERNAL_SYSCALL): Likewise.
659 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
660 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
661 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
662 INTERNAL_SYSCALL): Likewise.
663
6642003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
665
666 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
667 array if it is the initial dtv.
668
6692003-03-03 Ulrich Drepper <drepper@redhat.com>
670
671 * po/es.po: Update from translation team.
672 * po/fr.po: Likewise.
71502ebe 673 * po/gl.po: Likewise.
1739d268
UD
674 * po/sk.po: Likewise.
675 * po/sv.po: Likewise.
676
d15a8404
UD
677 * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
678 * misc/sys/mman.h: Add prototype for remap_file_pages.
679 * sysdeps/generic/remap_file_pages.c: New file.
3c531a87 680 * misc/Makefile (routines): Add remap_file_pages.
a05be180 681 * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
d15a8404
UD
682
683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
684 and MAP_NONBLOCK.
685 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
687 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
688 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
690 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
691 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
692 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
693
ea6a015b
RM
6942003-03-03 Roland McGrath <roland@redhat.com>
695
a49f5762
RM
696 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
697 * sysdeps/ia64/dl-machine.h: Likewise.
698 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
699 argument type.
700 * sysdeps/ia64/dl-lookupcfg.h: Update decl.
701
702 * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
703 * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
704 * locale/Versions (libc: GLIBC_2.3): Move those to ...
705 * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
706 * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
707 * Versions.def (libc): Add GLIBC_2.3.3 set.
708
ea6a015b
RM
709 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
710 * sysdeps/ia64/dl-machine.h: Update decl.
711
62584540
AJ
7122003-03-03 Andreas Jaeger <aj@suse.de>
713
d15a8404 714 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
62584540 715
78c3fb45
RM
7162003-03-02 Roland McGrath <roland@redhat.com>
717
718 * scripts/abilist.awk: Reject data items with apparent 0 size.
719
720 * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
721 after foo.* as if it were a duplicate.
722
723 * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
724
885bafa1
UD
7252003-03-02 Ulrich Drepper <drepper@redhat.com>
726
1be3d664
UD
727 * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
728
885bafa1
UD
729 * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
730 * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
731 if not already defined. Use SYSDEP_GETRES to allow other files to
732 provide alternative implementations.
733 * sysdeps/unix/sysv/linux/clock_getres.c: New file
734 * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
735 if not already defined. Use SYSDEP_GETTIME to allow other files to
736 provide alternative implementations.
737 * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
738 * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
739 if not already defined. Use SYSDEP_GETTIME to allow other files to
740 provide alternative implementations.
741 * sysdeps/unix/sysv/linux/clock_settime.c: New file.
742 * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
743 other files to provide alternative implementations. Rearrange
744 tests for invalid parameters.
745 * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
746 * sysdeps/unix/sysv/linux/sysconf.c: New file.
747 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78c3fb45 748 __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
885bafa1
UD
749 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
750 _POSIX_MONOTONIC_CLOCK.
751
bb0ddc2f
RM
7522003-03-02 Roland McGrath <roland@redhat.com>
753
8f3846a9
RM
754 * scripts/merge-abilist.awk: More checks for bogus input.
755 Uniquify duplicate config names.
756
757 * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
758
7551556f
RM
759 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
760 from dl_reloc_overflow, make global.
761 (__process_machine_rela): Update callers.
762 * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
763 Add attribute_hidden to __process_machine_rela decl.
764 (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
765
3a601d31
RM
766 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
767 variable.
768
bb0ddc2f
RM
769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
770 Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
771 (elf_machine_rela): Clean up.
772
773 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
774
775 PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
776 * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
777 * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
778 * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
779 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
780 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
781 new relocs for TLS.
782
783 * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
784 macros out of [SHARED].
785 (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
786
787 * elf/elf.h: Define R_PPC_* relocs for TLS support.
788 Clean up R_PPC64_* macro definition comments.
7ed33cba 789
d1149385
RM
790 * configure.in: In "running configure fragment for" message,
791 omit $srcdir from the name if we prepended it.
792 * configure: Regenerated.
793
7ed33cba
RM
794 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
795 From Jakub Jelinek <jakub@redhat.com>.
796
797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
798 which duplicated the O_DIRECT defn.
799
8002003-03-01 GOTO Masanori <gotom@debian.or.jp>
801
802 * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
803 random functions.
804
4191f43d
AS
8052003-03-01 Andreas Schwab <schwab@suse.de>
806
7ed33cba
RM
807 * resolv/Makefile (tests): Don't depend on
808 $(objpfx)mtrace-tst-leaks when cross compiling.
809
4191f43d
AS
810 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
811 __libc_stack_end through GOT since it is a global symbol.
812
85c54a32
UD
8132003-03-01 GOTO Masanori <gotom@debian.or.jp>
814
815 * argp/argp.h: Fix a typo.
816 Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
817
818 * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
819
8202003-02-27 Pat Rankin <rankin@pactechdata.com>
821
822 * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
823 char *.
824 (get_subexp): Likewise.
825
a6861e64
UD
8262003-03-01 GOTO Masanori <gotom@debian.or.jp>
827
828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
829
8302003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
831
832 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
833
a6963e69
RM
8342003-02-27 Roland McGrath <roland@redhat.com>
835
836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
837 special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
838 repeat it and avoids the test for the common case.
839 Clean up and fix calculations for TLS relocs.
840
841 * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
842 * sysdeps/powerpc/dl-tls.h: ... here.
843 (TLS_TP_OFFSET): New macro.
844
845 * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
846
427f5fa1
UD
8472003-02-27 Ulrich Drepper <drepper@redhat.com>
848
849 * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
850 code generation changes in recent gcc.
851
73a061bb
RM
8522003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
853
854 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
855 Rename argument to avoid symbol conflict.
856
857 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
858 [__USE_GNU] (O_DIRECT): New macro.
859
d2637c70
UD
8602003-02-24 David Mosberger <davidm@hpl.hp.com>
861
862 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
863 unwind info.
864
d148ed25
UD
8652003-02-27 Ulrich Drepper <drepper@redhat.com>
866
e361e438
UD
867 * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
868 initializer anymore now that res_thread_freeres is more careful.
869
d148ed25
UD
870 * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
871 except the PKTINFO. Reset interface in PKTINFO.
dbf6131c 872 Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
d148ed25 873
fec41719
RM
8742003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
875
d148ed25
UD
876 * elf/elf.h: Add new R_PPC64_* relocs for TLS.
877 * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
878 Define.
fec41719
RM
879 * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
880 * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
afafddab
RM
881 * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
882 * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
fec41719 883
d148ed25 884 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
fec41719
RM
885 Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
886
56ce76ea
AJ
8872003-02-25 Andreas Jaeger <aj@suse.de>
888
889 * manual/memory.texi (Malloc Tunable Parameters): Clarify
890 behaviour of M_MMAP_THRESHOLD.
891
724fad20
RM
8922003-02-25 Roland McGrath <roland@redhat.com>
893
894 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
895 zero, inidicating _res was not initialized yet.
896
80d80779
UD
8972003-02-24 Ulrich Drepper <drepper@redhat.com>
898
899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
900 test.
901
81b47a8b
RM
9022003-02-24 Roland McGrath <roland@redhat.com>
903
904 * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
905
de217051
RM
9062003-02-23 Roland McGrath <roland@redhat.com>
907
908 * sysdeps/posix/pause.c: New file.
909 * sysdeps/unix/common/pause.c: File removed.
910
fd1a0d0c
UD
9112003-02-23 Ulrich Drepper <drepper@redhat.com>
912
cdd8e46f
UD
913 * sysdeps/generic/bits/confname.h: Remove #ifs.
914
5a6bbb41
UD
915 * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
916 * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
917
fd1a0d0c
UD
918 * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
919 element to -1.
920
249062b0
UD
9212003-02-22 Ulrich Drepper <drepper@redhat.com>
922
923 * sysdeps/generic/dl-sysdep.c: Avoid warning.
924
92cc462c
RM
9252003-02-22 Roland McGrath <roland@redhat.com>
926
ce84ab61
RM
927 * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
928 * resolv/Makefile (tests): Add tst-leaks.
929 ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
930 (tst-leaks-ENV): New variable.
931 ($(objpfx)mtrace-tst-leaks): New target.
932 (tests): Depend on it.
933
d2d442a5
RM
934 * include/libc-internal.h: Declare __libc_thread_freeres.
935
7a0c303e
RM
936 * Makerules: Fix last change to use $($(subdir)-version) when set.
937
cc8bfce9
RM
938 * Makerules (install-lib-nosubdir): Depend on installed
939 libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
940 regardless of the libfoo.so target's dependencies.
941
92cc462c
RM
942 * MakeTAGS (sub-make-vars): New variable, includes generating=t.
943 Use that in $(MAKE) calls.
944
e57f9f75
UD
9452003-02-22 Ulrich Drepper <drepper@redhat.com>
946
819c56e7
UD
947 * catgets/gencat.c (read_input_file): Collision between
948 auto-assigned numbers and user-defined nubmers is not fatal.
949 Handle it.
950 Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
c780aa21
UD
951 * catgets/Makefile: Add rules to run test2.msg test.
952 * catgets/test2.msg: New file.
819c56e7
UD
953
954 * catgets/gencat.c (main): Return 1 if messages have been printed.
955
757f9fcb
UD
956 * iconv/iconv_prog.c (main): Unify messages.
957
e57f9f75
UD
958 * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
959 when shifting retval.
960 * stdlib/tst-strtod.c (main): Add strtold test case.
961 Reported by Fred J. Tydeman <tydeman@tybor.com>.
962
e8783fd5
RM
9632003-02-21 Roland McGrath <roland@redhat.com>
964
2a3d906e
RM
965 * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
966 * sunrpc/rpc_thread.c: Likewise for text_set_element use.
967 (__rpc_thread_destroy): Add it to __libc_subfreeres too.
968
969 * include/resolv.h: Add libc_hidden_proto for __res_nclose.
970 * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
971 (res_thread_freeres): New function, on __libc_thread_subfreeres and
972 __libc_subfreeres.
973
974 * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
e8783fd5
RM
975 * malloc/thread-freeres.c: New file.
976 * malloc/Makefile (aux): Add it.
2a3d906e 977 * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
e8783fd5
RM
978 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
979 "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
980
981 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
982 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
983
9842003-02-21 Roland McGrath <roland@frob.com>
985
986 * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
987
988 * iconvdata/Makefile (tests): Add bug-iconv3 only if
989 [$(have-thread-library) = yes].
990
1c848253
UD
9912003-02-21 Ulrich Drepper <drepper@redhat.com>
992
9c03686d
UD
993 * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
994
1c848253
UD
995 * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
996 not chechk for errors (unless testing for 32bit variant).
997 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
998 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
999 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1000
6f50cb00
UD
10012003-02-21 Jakub Jelinek <jakub@redhat.com>
1002
1003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
1004 Check for signed overflow, not unsigned.
1005
cef0a48d
UD
1006 * sysdeps/sparc/sparc64/elf/configure.in: New file.
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
1008 Use -fcall-used-g6, not -fcall-used-g7.
1009
dd3608b9
AJ
10102003-02-21 Andreas Jaeger <aj@suse.de>
1011
1012 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
1013 mode.
1014
1015 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
1016 clear whole mxcsr but only exceptions.
1017
59fed0e2
RM
10182003-02-21 Roland McGrath <roland@redhat.com>
1019
1020 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
1021 for libfoo.so that need $(make-link) rules.
1022
36f0ccda
RM
10232003-02-21 Roland McGrath <roland@frob.com>
1024
1025 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
1026 to match existing struct stat layout in mig protocols.
1027
ec503662
UD
10282003-02-20 Ulrich Drepper <drepper@redhat.com>
1029
1030 * version.h (VERSION): Bump to 2.3.2.
1031
1032 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
1033 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
1034 and dl-sysdep.h.
1035 * sysdeps/generic/Dist: Add sysdep-cancel.h.
1036 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
1037 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
1038 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
1039 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
1041 ucontext_i.h.
1042 * Makefile (distribute): Add include/stubs-prologue.h,
1043 include/gnu/stubs.h, scripts/merge-abilist.awk, and
1044 scripts/extract-abilist.awk.
1045
af57745c
RM
10462003-02-20 Roland McGrath <roland@redhat.com>
1047
1048 * math/Makefile (distribute): Don't add generated files.
1049
6314208a
UD
10502003-02-20 Ulrich Drepper <drepper@redhat.com>
1051
6314208a
UD
1052 * math/Makefile: Rearrange variable definitions slightly to get
1053 definition in the right order.
1054
ab10a294
RM
10552003-02-20 Roland McGrath <roland@redhat.com>
1056
1057 * Makerules: Clean up conditional around include of tls.make.
1058 * Make-dist: Export generating=t to prevent using that.
1059 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
1060
54e1cabc
UD
10612003-02-20 Ulrich Drepper <drepper@redhat.com>
1062
1063 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
1064 around in search if port IPPORT_RESERVED/2 has been test.
1065
ec503662 10662002-02-20 Paolo Bonzini <bonzini@gnu.org>
54e1cabc
UD
1067
1068 * posix/regcomp.c: Remove inclusions.
1069 * posix/regexec.c: Likewise.
1070 * posix/regex_internal.c: Likewise.
1071 * posix/regex_internal.h: Add inclusions here.
1072 * posix/regex.c: Only include sys/types.h before regex.h. Include
1073 regex_internal.h here. Include regex_internal.c before regcomp.c
1074 and regexec.c (might expose more opportunities to the C compiler).
1075
1076 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
1077
1078 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
1079 [!_LIBC] (__wcrtomb): New definition.
1080 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
1081 HAVE_LOCALE_H as well.
1082
6eb74f33
UD
10832003-02-20 Ulrich Drepper <drepper@redhat.com>
1084
1085 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
1086 patch to check for system call errors.
1087
05856976
UD
10882002-07-24 Philip Blundell <philb@gnu.org>
1089
1090 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
1091 on unknown systems.
1092
10932003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1094
1095 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
1096 * sysdeps/unix/sysv/linux/kernel-features.h
1097 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
1099 if possible.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
1101 interprocedure branches.
1102 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
1103 * sysdeps/powerpc/nofpu/Dist: ...here.
1104 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
1106 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
1107 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
1108 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
1109
a592f998
UD
11102003-02-18 Alan Modra <amodra@bigpond.net.au>
1111
1112 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
1113
44ed664b
UD
11142003-02-20 Philip Blundell <philb@gnu.org>
1115
1116 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
1117 missing arguments to INTERNAL_SYSCALL_ERROR_P and
1118 INTERNAL_SYSCALL_ERRNO.
1119
ffdcfcb0
UD
11202003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1121
1122 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
1123 for __ASSUME_32BITUIDS.
1124
4b2ed419
AS
11252003-02-20 Andreas Schwab <schwab@suse.de>
1126
1127 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
1128 POSIX_MADV_* constants.
1129
01b28852
UD
11302003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1131
1132 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
1133 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
1134 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
1135 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
1136
a70e514b
UD
11372003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
1138
1139 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
1140
ade67411
RM
11412003-02-16 Roland McGrath <roland@redhat.com>
1142
1143 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
1144
1c524710
UD
11452003-02-19 Ulrich Drepper <drepper@redhat.com>
1146
01b28852 1147 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
1c524710 1148 decimal input digits.
b5f7b119 1149 * stdlib/tst-strtod.c (main): Add test for strtof bug.
1c524710 1150
2f7dc594
UD
11512003-02-18 Ulrich Drepper <drepper@redhat.com>
1152
1153 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
1154 invalid file descriptors and missing access permissions.
1155
46d7e2ba
UD
11562003-02-17 Ulrich Drepper <drepper@redhat.com>
1157
8bd3f184 1158 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2cfe49db
UD
1159 been found.
1160
46d7e2ba
UD
1161 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
1162 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
1163 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
1164 and LOGIN_NAME_MAX.
1165
b2740a3b
UD
11662003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
1167 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1168
1169 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
1170 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
1171 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1172 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1173 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1174
81b50572
UD
11752003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1176
1177 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
1178 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
1179 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
1180 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
1181 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
1182 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
1183
1184 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
1186 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
1188
1189 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
1190 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
1192 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
1193
fdcd8f9c
UD
11942003-02-14 Thorsten Kukuk <kukuk@suse.de>
1195
1196 * nss/getent.c (print_hosts): Print all IP addresses of one host.
1197
7125d3cf
RM
11982003-02-15 Roland McGrath <roland@frob.com>
1199
8321ef15
RM
1200 * sysdeps/mach/hurd/tls.h: New file.
1201 * sysdeps/mach/hurd/i386/tls.h: New file.
1202
b0104b6f
RM
1203 * mach/errsystems.awk: Include <errno.h> in generated output.
1204
7125d3cf
RM
1205 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
1206 use target mach-before-compile instead of generated.
1207 (mach-before-compile): New target.
1208 * Makerules: Disable use of tls.make if $(generating) is set.
1209 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
1210 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
1211 mach-shortcuts.h so mach/ generation happens before hurd/.
1212
47202270
UD
12132003-02-14 Ulrich Drepper <drepper@redhat.com>
1214
a439bb2f
UD
1215 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
1216 of demorm correctly if low word is zero.
1217 Reported by Fred J. Tydeman <tydeman@tybor.com>.
757de559
UD
1218 * math/libm-test.inc (nextafter_test): New test, but disabled due
1219 to gcc bug.
a439bb2f 1220
47202270
UD
1221 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
1222 counter and only call __exit_thread if this is not the last thread.
1223
dac0f772
UD
12242003-02-13 Jakub Jelinek <jakub@redhat.com>
1225
1226 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
1227 subtracting map->l_tls_offset.
1228
7437cbd1
UD
12292003-02-12 Ulrich Drepper <drepper@redhat.com>
1230
2067577c
UD
1231 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
1232 _CS_GNU_LIBPTHREAD_VERSION.
1233 * posix/conststr.c: Handle these new values.
1234 * posix/getconf.c: Likewise.
1235
7437cbd1
UD
1236 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
1237 masking of version index.
1238 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
1239
969c9da7
UD
12402003-02-11 Ulrich Drepper <drepper@redhat.com>
1241
1242 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
1243 correctly. Reported by Thorsten Kukuk.
1244
e5ffa64a
UD
12452003-02-10 Ulrich Drepper <drepper@redhat.com>
1246
1247 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
1248 _BSD_SOURCE to compiler.
1249 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
1250 Patches by Alan Modra.
1251
34c86f42
UD
12522003-02-08 Ulrich Drepper <drepper@redhat.com>
1253
1254 * io/ftwtest.c: Get current working directory before and after the
1255 nftw call and make sure they match.
1256
12572003-02-08 Jim Meyering <jim@meyering.net>
1258
2067577c 1259 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
34c86f42
UD
1260 the current directory, not just when DIR contains a slash.
1261 Reported by Manoj Srivastava.
1262
ae9ecd08
UD
12632003-02-07 Jim Meyering <jim@meyering.net>
1264
1265 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
1266 Include autoconf-recommended block of dirent/NAMELEN-related
1267 definitions and includes. Use NAMELEN throughout, rather than
1268 _D_EXACT_NAMLEN.
1269 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
1270 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
1271 (stpcpy): Declare, if necessary.
1272 (mempcpy): Define, if necessary.
1273 [!_LIBC] (__stpcpy, __mempcpy): Define.
1274 [!_LIBC] (LXSTAT, XSTAT): Define.
1275 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
1276 (find_object): Don't use c99-style struct initializer.
1277 Tweak wording in a couple comments.
1278
2a051a7d
UD
12792003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1280
1281 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
1282 for SH.
1283 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
1284 after the trapa instruction.
1285 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
1286 parameters.
1287 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
1288 (NEED_SYSCALL_INST_PAD): Define.
1289 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
1290 avoid to use definition for the kernel.
1291 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1292 Save and restore the frame pointer.
1293 (SYSCALL_INST_PAD): Define.
1294 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1295 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
1296 after trapa instruction.
1297 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1298 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1299
1f503475
UD
13002003-02-07 Jakub Jelinek <jakub@redhat.com>
1301
1302 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
1303 so that it can have aliases.
1304 * inet/herrno.c (h_errno): Put it into .bss not .data section.
1305
eecc378c
UD
13062003-02-07 Ulrich Drepper <drepper@redhat.com>
1307
1308 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
1309 (profile_fixup): Likewise.
1f503475 1310 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
eecc378c 1311
ce96c93d
UD
13122002-11-24 Robert Love <rml@tech9.net>
1313
1314 * posix/sched.h: Second parameter of sched_setaffinity and
1315 sched_getaffinity is `unsigned int', not `unsigned long'.
1316 * sysdeps/generic/sched_setaffinity.c: Likewise.
1317 * sysdeps/generic/sched_getaffinity.c: Likewise.
1318
e0f86659
UD
13192003-02-05 Ulrich Drepper <drepper@redhat.com>
1320
432cf458 1321 * debug/catchsegv.sh: Fix typo in error messsage.
ce96c93d 1322 Reported by John Levon <levon@movementarian.org>.
432cf458 1323
5cd09cd6
UD
1324 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
1325 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
1326 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1327 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1331
e0f86659
UD
1332 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
1333 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
1334
5049f197
UD
13352003-02-05 Jim Meyering <jim@meyering.net>
1336
1337 Fix a heap-corrupting bug.
1338 * io/ftw.c: Include <limits.h>.
1339 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
1340 (process_entry): Allocate enough space to hold the resulting
1341 file name. Don't presume that 2*dirbufsize is enough.
1342 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
1343 it is guaranteed to be defined.
1344
6f1cff95
UD
13452003-02-04 Ulrich Drepper <drepper@redhat.com>
1346
1347 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
1348 * iconvdata/bug-iconv3.c: New file.
1349
b33b0d0d
UD
13502003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1351
1352 * sysdeps/unix/sysv/linux/s390/system.c: New file.
1353
6900ded2
UD
13542003-02-03 Jakub Jelinek <jakub@redhat.com>
1355
1356 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
1357 check.
1358 * config.h.in (BROKEN_SPARC_WDISP22): Add.
1359
663684b2
UD
13602003-02-03 Ulrich Drepper <drepper@redhat.com>
1361
1362 * sysdeps/i386/i686/memmove.S: New file.
1363
3e4fc359
UD
13642003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1365
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
1367 Include kernel-features.h
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1372
75dec09e
UD
13732003-02-02 Jakub Jelinek <jakub@redhat.com>
1374
1375 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
1376
78e88510
UD
13772003-01-25 Jim Meyering <jim@meyering.net>
1378
1379 * io/ftw.c (object_compare): Compare inode numbers before device
1380 numbers, since the former are much more likely to differ.
1381
38e68573
UD
13822003-02-01 Ulrich Drepper <drepper@redhat.com>
1383
1384 * time/tzfile.c (__tzfile_compute): Change return value type to
1385 void. Adjust return statements.
1386 * include/time.h (__tzfile_compute): Adjust prototype.
1387
13882003-02-01 Jim Meyering <jim@meyering.net>
1389
1390 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
1391 always returns 1.
1392
13932003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1394
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1396 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
1397
13982003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1399
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1401 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1403 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1405 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1407 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1408
14092003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1410
1411 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
1412 back to 2.4.19 for powerpc64.
1413 * sysdeps/unix/sysv/linux/kernel-features.h
1414 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
1415 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
1416
14172003-02-01 Ulrich Drepper <drepper@redhat.com>
1418
1419 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
1420 platforms with strange alignment requirements on wchar_t.
1421
b67fcc1e
UD
14222003-01-31 Andreas Schwab <schwab@suse.de>
1423
1424 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
1425 aliases, already added by make-syscalls.sh.
1426 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1427 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1428 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1429 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1432 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1433 * sysdeps/unix/inet/syscalls.list: Likewise.
1434 * sysdeps/unix/syscalls.list: Likewise.
1435
fb784fd5
AS
14362003-01-31 Andreas Schwab <schwab@suse.de>
1437
1438 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
1439 any more.
1440
c4c1336c
UD
14412003-01-30 Jakub Jelinek <jakub@redhat.com>
1442
1443 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
1444 not l to load tls from stack.
1445
d6f5e721
RM
14462003-01-30 Roland McGrath <roland@redhat.com>
1447
1448 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
1449 null argument before all else.
1450 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1451
7ba7c829
UD
14522003-01-30 Jakub Jelinek <jakub@redhat.com>
1453
1454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
1455 Move to RESOLVE protected part of the header.
1456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
1457 Likewise.
1458
14592003-01-30 Ulrich Drepper <drepper@redhat.com>
1460
1461 * stdio-common/Makefile (tests): Add bug15.
1462 (bug15-ENV): Define.
1463 * stdio-common/bug15.c: New file.
1464
886d5973
UD
14652002-10-07 Wolfram Gloger <wg@malloc.de>
1466
1467 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
1468 to foreign sbrk()'s if arena is contiguous. Bug report from
1469 Bruno Haible <bruno@clisp.org>.
1470
14712003-01-30 Jakub Jelinek <jakub@redhat.com>
1472
1473 * sysdeps/s390/libc-tls.c: Include stdlib.h.
1474
14752003-01-30 Jakub Jelinek <jakub@redhat.com>
1476
1477 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
1478 ps.__count.
1479
14802003-01-30 Ulrich Drepper <drepper@redhat.com>
1481
1482 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
1483 restoring of %r6.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
1485 64-bit load.
1486 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1487
14882003-01-30 Jakub Jelinek <jakub@redhat.com>
1489
1490 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
1491 (allocate_static_tls): ...here. Add __attribute_noinline__.
1492 Don't return on failure.
1493 (_dl_reloc_bad_type): Add __attribute_noinline__.
1494 * elf/do-rel.h (elf_dynamic_do_rel): Add
1495 __attribute__((always_inline)).
1496 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
1497 elf_machine_rel_relative, elf_machine_rela_relative,
1498 elf_machine_lazy_rel): Add prototypes with
1499 __attribute__((always_inline)).
1500
15012003-01-29 David Mosberger <davidm@hpl.hp.com>
1502
1503 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
1504
871afd6b
RM
15052003-01-29 Roland McGrath <roland@redhat.com>
1506
1507 * configure.in: Barf if configured in $srcdir.
871afd6b 1508
1e49399d
UD
15092003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
1510
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1e2f8718 1512 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
1e49399d 1513
db34912e
UD
15142003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1515
1516 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
1517 clone parameters to match the order used on ia32.
1518 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1519
e6ebd2e4
UD
15202003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1521
1522 * elf/elf.h: Add new s390 relocs.
1523 * elf/tls-macros.h: Add s390 versions.
1524 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
1525 * sysdeps/s390/dl-tls.h: New file.
1526 * sysdeps/s390/libc-tls.c: New file.
1527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
1528 relocs for class PLT.
1529 (elf_machine_rela): Handle TLS relocs.
1530 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1531 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
1532 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
1533 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
1534 CLONE_CHILD_*TID flags.
1535 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1536 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
1537 bit offset.
1538 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1539 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
1541 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
1542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
1543 Likewise.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1545 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
1546 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
1547 variants.
1548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
1549 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
1550 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
1551 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
1552 variants.
1553
772e3426
UD
15542003-01-28 Ulrich Drepper <drepper@redhat.com>
1555
1556 * sysdeps/unix/common/pause.c (do_pause): New function. Split
1557 from __libc_pause. Implement using sigsuspend.
1558 (__libc_pause): Call do_pause to do the real work.
1559
1560 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
1561 sig_or_mask parameter is is_sig != 0.
1562
0566b130
UD
15632003-01-21 Philip Blundell <philb@gnu.org>
1564
1565 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
1566
a15698cb
UD
15672003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
1568
1569 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
1570
b7e033f7
UD
15712003-01-27 Ulrich Drepper <drepper@redhat.com>
1572
e6fb8846
UD
1573 * stdio-common/bug14.c: Use official name for the locale.
1574
1fc46908
UD
1575 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
1576 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
1577 instead of __libc_cleanup_region_end.
1578
1579 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
1580 as first parameter to __libc_cleanup_region_start.
1581
68ff8426
UD
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1583 (__fe_nomask_env): Use __prctl not prctl.
1584 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
1585 prctl syscall.
1586
809cd222
UD
1587 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
1588
1589 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
1590
b7e033f7
UD
1591 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
1592 wrap-around in test.
1593
62f29da7
UD
15942003-01-26 Andreas Schwab <schwab@suse.de>
1595
1596 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
1597 compatibility symbols. Remove INTDEF for __divdi3.
1598 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
1599 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
1600 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
1601 define.
1602 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
1603
16042003-01-24 Jakub Jelinek <jakub@redhat.com>
1605
1606 * elf/tls-macros.h: Add SPARC 32-bit definitions.
1607 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
1608 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
1609 for the first half of the header. Include tls.h.
1610 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
1611 relocs too.
1612 (elf_machine_rela): Handle TLS relocs.
1613 * sysdeps/sparc/dl-tls.h: New file.
1614
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
1616 support.
1617
1618 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
1619 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1620 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1621 * sysdeps/sparc/sparc32/strcat.S: Likewise.
1622 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1623 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
1624 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1625 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1627 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1628 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1629 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1630 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1631 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1632 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1633 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1634 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1635 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1638
16392003-01-24 Andreas Schwab <schwab@suse.de>
1640
1641 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
1642 elements, and process them backwards.
1643 * elf/Makefile ($(objpfx)tst-array4): New target.
1644 ($(objpfx)tst-array4.out): Likewise.
1645 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
1646 * elf/tst-array4.c: New file.
1647 * elf/tst-array4.exp: Likewise.
1648
16492003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
1650
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
1652
16532003-01-27 Guido Guenther <agx@sigxcpu.org>
1654
1655 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
1656 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
1657 cancellation handling and handle both __NR_pread64 and __NR_pread.
1658 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1659 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
1660 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
1661 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1662 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
1663 case, use register names consistently.
1664
16652003-01-27 Wolfram Gloger <wg@malloc.de>
1666
1667 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
1668 pointer, not of the computed chunk. Bug report from Carlos
1669 O'Donell <carlos@baldric.uwo.ca>.
1670
251c0f71
AS
16712003-01-25 Andreas Schwab <schwab@suse.de>
1672
1673 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
1674 addressing to save GOT entries.
1675
86dfa4eb
RM
16762003-01-21 Jakub Jelinek <jakub@redhat.com>
1677
1678 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
1679 inline_syscall1, inline_syscall2, inline_syscall3,
1680 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
1681 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
1682 __attribute__((unused)) to ChEcK.
1683
d5b6c817
UD
16842003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1685
1686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
1687 Fix inline assembler constraints.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
1689 Likewise.
1690
1691 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
1692 -fPIC.
1693
83c9a671
RM
16942003-01-20 Segher Boessenkool <segher@koffie.nl>
1695
1696 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
1697 compute the cosine, not the sine, even if x > 0.8.
1698
b677d674
UD
16992003-01-19 Ulrich Drepper <drepper@redhat.com>
1700
1701 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
1702 _nss_nis_setspent. Work around the different prototypes.
1703 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
1704 internal_nis_endrpcent.
1705 (internal_nis_endrpcent): Change return type to void. Change callers.
1706 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
1707 _nss_nis_setpwent. Work around the different prototypes.
1708 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
1709 of the function to...
1710 (internal_nis_endprotoent): ... here. New function.
1711 (internal_nis_setprotoent): Use internal_nis_endprotoent.
1712 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
1713 _nss_nis_setnetent. Work around the different prototypes.
1714 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
1715 of the function to...
1716 (internal_nis_endnetgrent): ... here. New function.
1717 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
1718
978bd143
UD
17192003-01-19 Jim Meyering <jim@meyering.net>
1720
1721 * time/strftime.c: (widen): Merge nearly-identical definitions.
1722 (nl_get_alt_digit) [! defined my_strftime]: Define.
1723 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
1724 _nl_get_alt_digit and _nl_get_walt_digit.
1725
b1a173f7
UD
17262003-01-19 Ulrich Drepper <drepper@redhat.com>
1727
1728 * time/strftime.c (my_strftime): Handle very large width
1729 specifications for numeric values correctly. Improve checks for
1730 overflow.
1731 * time/Makefile (tests): Add tst-strftime.
1732 * time/tst-strftime.c: New file.
1733
039c1b75
UD
17342003-01-18 Ulrich Drepper <drepper@redhat.com>
1735
6675b191
UD
1736 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
1737 _nss_nis_sethostent. Work around the different prototypes.
1738 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
1739 _nss_nis_setgrent. Work around the different prototypes.
1740 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
1741 function. Split out from _nss_nis_endetherent.
1742 (internal_nis_setetherent): Use internal_nis_endetherent instead of
1743 duplicating the code.
1744 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
1745 of _nss_nis_setaliasent.
1746 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
1747 internal_nis_endservent code, don't duplicate it.
1748
039c1b75
UD
1749 * inet/rexec.c (rexec_af): Protect socket operations with
1750 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
1751 * inet/rcmd.c (rcmd_af): Likewise.
1752
62431425
RM
17532003-01-17 Roland McGrath <roland@redhat.com>
1754
d32e4346
RM
1755 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
1756 Add test of value 0.80190127184058835.
1757
62431425
RM
1758 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
1759
0f0b7994
UD
17602003-01-17 Richard Henderson <rth@redhat.com>
1761
1762 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
1763 relocs for class PLT.
1764 * sysdeps/alpha/libc-tls.c: New file.
1765 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
1766 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
1767
17682003-01-17 Jakub Jelinek <jakub@redhat.com>
1769
1770 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
1771 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
1772 on _dl_static_lock.
1773
1d4ff70e
AJ
17742003-01-17 Andreas Jaeger <aj@suse.de>
1775
1776 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
1777
609b4783
UD
17782003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
1779
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
1785 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1786 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
1787 is 2.4.21.
1788
17892003-01-16 Ulrich Drepper <drepper@redhat.com>
1790
1791 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
1792 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
1793 buffers.
1794
1795 * sysdeps/generic/sysconf.c: Unconditionally implement
1796 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
1797 * sysdeps/posix/sysconf.c: Likewise.
1798
7b7b9e70
UD
17992003-01-16 Jakub Jelinek <jakub@redhat.com>
1800
1801 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
1802 set *err to the returned error, not to REG_ESPACE unconditionally.
1803 (build_word_op): Likewise.
1804 * posix/Makefile (tests): Add bug-regex16.
1805 * posix/bug-regex16.c: New test.
1806
850dcfca
UD
18072003-01-16 Jakub Jelinek <jakub@redhat.com>
1808
1809 * elf/dl-load.c (_dl_map_object_from_fd): Use
1810 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
1811 been already initialized.
1812
a1f8ec97
UD
18132003-01-15 Dmitry V. Levin <ldv@altlinux.org>
1814
1815 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
1816
f811dbdc
UD
18172003-01-16 Jakub Jelinek <jakub@redhat.com>
1818
1819 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
1820 allocated too. Reported by Al Viro <aviro@redhat.com>.
1821
4dd98447
RM
18222003-01-16 Roland McGrath <roland@redhat.com>
1823
1824 Tweak merged .abilist file format to merge duplicate symbols in
1825 different sets into multi-version stanzas with new "| SET regexp..."
1826 header continuation lines.
1827 * scripts/merge-abilist.awk: Rewritten for new format.
1828 * scripts/extract-abilist.awk: Likewise.
1829
0f740059
UD
18302003-01-15 Ulrich Drepper <drepper@redhat.com>
1831
e09edf23
UD
1832 * nscd/connections.c (nscd_run): Remove bogus return which isn't
1833 necessary with gcc 3.2+.
1834 (nscd_init): Don't use error() to print message, use dbg_log.
1835
ea31b613
UD
1836 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
1837 expected size into state.
1838 (UNPACK_BYTES): Do the reverse.
41f112ad 1839 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
ea31b613
UD
1840 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
1841 Reported by Al Viro <aviro@redhat.com>.
1842
a1a2fec1
UD
1843 * stdio-common/Makefile (tests): Add bug14.
1844 * stdio-common/bug14.c: New file.
1845
0f740059
UD
1846 * stdio-common/vfscanf.c: When recognizing multibyte characters in
1847 string reset the byte counter after mbrtowc reported it is not a
1848 partial character. Reported by Al Viro <aviro@redhat.com>.
1849
c16abc04
UD
18502003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
1851
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
1853 sysdep-cancel.h, not sysdep.h.
1854
18552003-01-15 Ulrich Drepper <drepper@redhat.com>
1856
1857 * nscd/connections.c (nscd_run): Protect accept call with
1858 TEMP_FAILURE_RETRY.
1859
c841fa22
AS
18602003-01-15 Andreas Schwab <schwab@suse.de>
1861
1862 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
1863 (common-generated): Add s-proto-bp.d.
1864 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
1865 of bp thunks.
1866 * sysdeps/unix/s-proto-bp.S: New file.
1867 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
1868 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
1869 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
1870
73917724
RM
18712003-01-15 Roland McGrath <roland@redhat.com>
1872
1873 * Makerules: Use -include for tls.make, suppresses warning.
1874 Move gen-as-const-headers rules up so before-compile is set in time.
1875 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
1876
c9f24336
UD
18772003-01-15 Ulrich Drepper <drepper@redhat.com>
1878
d4397629
UD
1879 * nscd/nscd.c (main): Make code to close all file descriptors
1880 faster and more robust.
1881
9caf4f1c
UD
1882 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
1883 request with one writev call. Protect all read calls with
1884 TEMP_FAILURE_RETRY.
1885 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1886 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1887
1888 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
1889 Protect writev calls with TEMP_FAILURE_RETRY.
1890 * nscd/grpcache.c: Likewise.
1891 * nscd/pwdcache.c: Likewise.
1892
c9f24336
UD
1893 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
1894 IPv6 address in debug output.
1895
9ae10332
RM
18962003-01-14 Roland McGrath <roland@redhat.com>
1897
1898 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
1899 $(objpfx) directories, and get rid of vpath directives. The previous
1900 arrangement resulted in files being written to the source directories
1901 when run in a clean build. Find all .abilist files in $(..)abilist/.
1902 (update-abi-%): Likewise.
1903 (generated): Don't add .symlist files, they'll be intermediates.
1904
1905 * sysdeps/generic/init-first.c: Add a comment.
1906
1907 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
1908
1909 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
1910 #includes and expressions.
1911
1912 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
1913 config list when it already contains cpu-.*-os.* without / part.
1914
1915 * Makerules (sed-remove-dotdot): New variable.
1916 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
1917 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
1918 (check-abi-config): New variable, append /tls or /notls to the tuple.
1919 (check-abi-%): Use that for -v config value.
1920 Find .abilist files in abilist/libfoo.abilist, not in subdir.
1921 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
1922
a8d87c92
UD
19232003-01-14 Ulrich Drepper <drepper@redhat.com>
1924
1925 * manual/install.texi: Correct description of header preparation for
1926 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
1927
574b892e
UD
19282003-01-14 Guido Guenther <agx@sigxcpu.org>
1929
1930 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
1931 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1932 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
1933
19342003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
1935
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1937 (INTERNAL_SYSCALL): Make use of ERR parameter.
1938 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1939 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1940 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
1942
2c255347
UD
19432003-01-14 Ulrich Drepper <drepper@redhat.com>
1944
086311a9
UD
1945 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
1946 == IPPROTO_TCP.
1947 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
1948
2f279b14
UD
1949 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
1950 Fix entry for bit 31.
1951
2c255347
UD
1952 * iconvdata/Makefile: Add rules to build IBM866NAV.
1953 * iconvdata/ibm866nav.c: New file.
1954 * iconvdata/tst-tables.sh: Add IBM866NAV.
1955 * iconvdata/gconv-modules: Add entries for IBM866NAV.
1956
642eb2a2
UD
19572003-01-13 Ulrich Drepper <drepper@redhat.com>
1958
1959 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
1960 to test void* parameters.
1961
1962 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
1963 source pointer before dereferencing.
1964 (__STRING_SMALLL_GET32): Likewise.
1965 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 1966 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
1967
1968 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 1969 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 1970
115bb61d
UD
19712003-01-14 Jakub Jelinek <jakub@redhat.com>
1972
1973 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
1974 defining.
1975
19762003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1977
1978 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
1979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
1980 here.
1981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
1982
19832003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1984
1985 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
1986 from here...
1987 (PSEUDO): ... to here.
1988 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
1989 from here...
1990 (PSEUDO): ... to here.
1991
9ef0a840
UD
19922003-01-13 Ulrich Drepper <drepper@redhat.com>
1993
1994 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
1995 dirent64 instead of struct dirent for dirent. Call readdir64
1996 instead of readdir.
1997
1998 * locale/programs/locfile.c (siblings_uncached): Use struct
1999 dirent64 instead of struct dirent for other_dentry. Call
2000 readdir64 instead of readdir.
2001
2002 * elf/ldconfig.c (direntry): Change type to struct dirent64.
2003 (search_dir): Use readdir64 instead of readdir.
2004 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
2005
f1c5213d
RM
20062003-01-12 Roland McGrath <roland@redhat.com>
2007
c01ec9c7
RM
2008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
2009 not strtol. The former is usable in ld.so, the latter not.
2010
f1c5213d
RM
2011 * include/fcntl.h: Declare __libc_creat.
2012
2013 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
2014 libhurduser-link.so-no-z-defs): New variables.
2015
2016 * malloc/malloc.c: Revert last change.
2017 * malloc/malloc.h (_int_*): Move these decls to ...
2018 * include/malloc.h: ... here. Add attribute_hidden.
2019 (_int_valloc): Declare it too.
2020
73398a44
UD
20212003-01-12 Ulrich Drepper <drepper@redhat.com>
2022
115bb61d 2023 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
2024 search for removed searchlist. Reported by Roland McGrath.
2025
40212ce0
UD
2026 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
2027 given as start file.
2028
2029 * io/ftw.c (ftw_startup): Use correct name in check for symlink
2030 without existing target. Patch by Jim Meyering.
2031
73398a44
UD
2032 * Makerules (build-shlib-helper): Don't use -z defs linker option
2033 if no-z-defs is defined either.
2034
20352003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2036
2037 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
2038 file.
2039
20402003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2041
2042 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2044
b2608c22
UD
20452003-01-12 Ulrich Drepper <drepper@redhat.com>
2046
2047 * io/ftwtest-sh: Add test case for relative path with /. at the end.
2048
20492003-01-12 Jim Meyering <jim@meyering.net>
2050
2051 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
2052 use the basename if we've already chdir'd into its parent directory.
2053
a5ce5fcf
UD
20542003-01-12 Ulrich Drepper <drepper@redhat.com>
2055
2056 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 2057 to change directory after call to ftw_dir.
a5ce5fcf
UD
2058 * io/ftwtest-sh: Add test for relative path argument to nftw()
2059 with FTW_CHDIR option.
2060
b398ae3c
UD
20612002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2062
2063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
2064 Define for powerpc.
2065 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
2066 into account.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2068 (INTERNAL_SYSCALL): Make use of ERR parameter.
2069 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2070 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2071 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
2073
20742002-01-09 Richard Henderson <rth@redhat.com>
2075
2076 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
2077 DTPREL64 and TPREL64 without loadbase applied.
2078
20792002-01-09 Richard Henderson <rth@redhat.com>
2080
2081 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
2082 for NOT_IN_libc.
2083
2084 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
2085 * sysdeps/unix/alpha/sysdep.h: ... here.
2086 (PSEUDO_LOADGP): Remove.
2087 (PSEUDO_PROLOGUE): Load GP in non-pic case.
2088 (SYSCALL_ERROR_LABEL): New.
2089 (PSEUDO): Use it in error branch.
2090 (PSEUDO_END): Add $syscall_error label.
2091
1f8613a6
AJ
20922003-01-12 Andreas Jaeger <aj@suse.de>
2093
2094 * math/bits/mathcalls.h: Round is a const function.
2095
aff4519d
UD
20962003-01-11 Jim Meyering <jim@meyering.net>
2097
2098 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
2099 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
2100 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
2101 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
2102 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
2103 [!_LIBC] (internal_function, dirent64, MAX): Define.
2104 (__set_errno): Define if not already defined.
2105 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
2106 the basename, not the entire file name.
2107 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
2108 the basename, not the entire file name.
2109
21102003-01-12 Ulrich Drepper <drepper@redhat.com>
2111
2112 * string/tester.c (test_strcpy): Disable last added strcpy until
2113 it is fixed.
2114
21152003-01-11 Philip Blundell <philb@gnu.org>
2116
2117 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
2118
21192003-01-11 Andreas Schwab <schwab@suse.de>
2120
2121 * Makerules: Add vpath for %.dynsym and %.so so that the
2122 implicit rule chaining for check-abi works.
2123
21242003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2125
2126 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2127 Add non-PIC case.
2128
21292003-01-11 Jakub Jelinek <jakub@redhat.com>
2130
2131 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
2132 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
2133 gp is used early.
2134 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
2135 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
2136 Ensure libc.so in DT_NEEDED.
2137 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
2138 CHECK_STATIC_TLS before l_tls_offset use.
2139 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
2140 Likewise.
2141 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2142 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
2143 Allocate TLS_PRE_TCB_SIZE bytes below result.
2144 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
2145 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
2146 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
2147 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
2148 bytes below result and add tcb_offset to memsz.
2149 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
2150 * sysdeps/ia64/dl-machine.h: Include tls.h.
2151 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
2152 too.
2153 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
2154 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
2155 * sysdeps/ia64/libc-tls.c: New file.
2156
21572003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
2158
2159 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
2160 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
2161 Fix type. Move definition out of #if.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
2168 support.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
2170 ftruncate64, pread64, pwrite64, truncate64 entries.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2172 (INLINE_SYSCALL): New version that supports function call like
2173 syscalls. Add __builtin_expect.
2174 (LOADARGS_n): Add argument size safety checks.
2175 (INTERNAL_SYSCALL): New Macro.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
2177 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
2178 redefinition of elf_fpreg_t and elf_fpregset_t.
2179
21802003-01-12 Ulrich Drepper <drepper@redhat.com>
2181
2182 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
2183 simplify test for unloading. If loader of a DSO is unloaded do not
2184 use its scope anymore. Fall back to own scope and adjust opencounts.
2185 Fix several comments.
2186 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
2187 the l_searchlist, not only for l_initfini.
2188
2189 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
2190 dependencies if objects cannot be removed. Remove object with the
2191 definition as not unloadable if necessary.
2192
2193 * elf/reldep6.c: Create relocation dependency before closing the first
2194 module.
2195
2196