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