]>
Commit | Line | Data |
---|---|---|
e1d8e1b7 UD |
1 | 2003-06-07 Ulrich Drepper <drepper@redhat.com> |
2 | ||
ede0f73a UD |
3 | * test-skeleton.c (main): If EXPECTED_STATUS is defined check that |
4 | returned status from child matches. | |
5 | ||
e1d8e1b7 UD |
6 | * Makeconfig (gnulib): Add -lgcc_eh once again. |
7 | ||
3a370de8 UD |
8 | 2003-06-06 Ulrich Drepper <drepper@redhat.com> |
9 | ||
53854476 UD |
10 | * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid. |
11 | ||
3a370de8 UD |
12 | * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow |
13 | %edx for first parameter. This means no pushl and therefore the | |
14 | unwind info isn't screwed up. | |
15 | ||
6f1e513d RH |
16 | 2003-06-04 Richard Henderson <rth@redhat.com> |
17 | ||
f212e8dc RH |
18 | * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. |
19 | * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. | |
20 | * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation. | |
21 | * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp | |
22 | entry sequence and explicit relocs. Add unwind info for sigreturn | |
23 | and rt_sigreturn. | |
24 | * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state. | |
25 | * configure: Regenerate. | |
26 | ||
a56e4568 RH |
27 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. |
28 | Annotate some parameters. | |
29 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New. | |
30 | ||
44c7664f RH |
31 | * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion. |
32 | ||
6f1e513d RH |
33 | * include/libc-symbols.h (symbol_set_declare): Use arrays |
34 | of unspecified size. | |
35 | ||
cc7ee408 UD |
36 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> |
37 | ||
38 | * config.make.in (ASFLAGS-config): New. | |
39 | * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). | |
40 | * configure.in (libc_cv_as_noexecstack): New check. | |
41 | (ASFLAGS_config): Substitute. | |
42 | ||
43 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> | |
44 | ||
45 | * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, | |
46 | hypot, logb): Protect with #ifdef __FAST_MATH__. | |
47 | ||
48 | 2003-06-04 Thorsten Kukuk <kukuk@suse.de> | |
49 | ||
50 | * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with | |
51 | #ifdef __FAST_MATH__. | |
52 | ||
1fb2614a UD |
53 | 2003-06-03 Ulrich Drepper <drepper@redhat.com> |
54 | ||
55 | * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow | |
56 | DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. | |
57 | * posix/globtest.sh: Adjust for this change. | |
58 | ||
332afd9e UD |
59 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname |
60 | to get the actual PID value used in the records passed up. | |
61 | (getifaddrs): Don't initialize nh.pid here. | |
62 | ||
bb958f59 UD |
63 | 2003-06-02 Ulrich Drepper <drepper@redhat.com> |
64 | ||
7aebf855 UD |
65 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor |
66 | optimization. | |
67 | ||
63ae67a9 UD |
68 | * po/zh_CN.po: Update from translation team. |
69 | ||
bb958f59 | 70 | * posix/getconf.c (main): Also recognize names without the |
cc7ee408 | 71 | _POSIX_ prefix. |
bb958f59 UD |
72 | |
73 | * elf/Makefile (CFLAGS-dl-lookup.c): Define. | |
74 | ||
051ed63d UD |
75 | 2003-06-02 Bernd Schmidt <bernds@redhat.com> |
76 | ||
77 | * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, | |
78 | ldexpf, ldexpl): Only define if __FAST_MATH__. | |
79 | ||
0f501b7f RM |
80 | 2003-06-02 Richard C. Bilson <rcbilson@plg.uwaterloo.ca> |
81 | ||
82 | Replace hard-coded offsets into struct sigcontext with generated file. | |
83 | * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. | |
84 | * sysdeps/unix/sysv/linux/ia64/Makefile | |
85 | [$(subdir) = stdlib] (gen-as-const-headers): Add it. | |
86 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of | |
87 | defining SC_* macros here. | |
88 | ||
4a5f21e4 RM |
89 | 2003-06-02 Jakub Jelinek <jakub@redhat.com> |
90 | ||
91 | * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove. | |
92 | ||
32c1ba12 RM |
93 | 2003-06-01 Jakub Jelinek <jakub@redhat.com> |
94 | ||
95 | * sysdeps/i386/dl-machine.h: Include <sysdep.h>. | |
96 | ||
80b54217 UD |
97 | 2003-06-01 Ulrich Drepper <drepper@redhat.com> |
98 | ||
6f1acb30 UD |
99 | * test-skeleton.c (main): Request getopt to not reorder the |
100 | command line. | |
101 | ||
80b54217 UD |
102 | * elf/Makefile (CFLAGS-dl-runtime.c): Define. |
103 | ||
104 | * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match | |
105 | stpncpy. | |
106 | ||
31195be2 UD |
107 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
108 | ||
109 | * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define. | |
110 | ||
06e2e0a7 UD |
111 | 2003-05-31 Jakub Jelinek <jakub@redhat.com> |
112 | ||
113 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): | |
114 | New function. | |
115 | (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid | |
116 | RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, | |
117 | call elf_machine_plt_conflict instead of elf_machine_fixup_plt. | |
118 | ||
49b65043 UD |
119 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
120 | ||
06e2e0a7 UD |
121 | * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add |
122 | CFI directives. | |
123 | ||
124 | * csu/Makefile: Fix Makefile warnings regarding Scrt1.o. | |
b6da933b | 125 | |
49b65043 UD |
126 | * libio/fileops.c (_IO_file_open): Don't mark as inline. |
127 | ||
b6da933b | 128 | * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with |
49b65043 UD |
129 | attribute used. |
130 | ||
5d4f57bd UD |
131 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
132 | ||
133 | * scripts/config.guess: Update from master copy. | |
134 | * scripts/config.sub: Likewise. | |
135 | ||
d38145ff AJ |
136 | 2003-05-30 Guido Guenther <agx@sigxcpu.org> |
137 | ||
138 | * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for | |
139 | SETUP_GP64 and friends. | |
140 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register | |
141 | names in internal_syscall{6,7}. | |
142 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. | |
143 | * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix | |
144 | number of syscall arguments. | |
145 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
146 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
147 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
148 | ||
2b1c0eea AJ |
149 | 2003-05-30 Andreas Jaeger <aj@suse.de> |
150 | ||
151 | * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): | |
152 | Add CFI directives. | |
153 | ||
154 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI | |
155 | directives. | |
156 | ||
157 | * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. | |
158 | ||
159 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): | |
160 | Add CFI directives. | |
161 | ||
284bdc42 UD |
162 | 2003-05-30 Jakub Jelinek <jakub@redhat.com> |
163 | ||
164 | * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with | |
165 | SHARED. | |
166 | ||
73f082a2 RM |
167 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
168 | ||
169 | * Makerules: Always use -MP together with -MD. | |
170 | (sed-remove-dotot): Substitute $(..) also at start of line. | |
171 | ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. | |
172 | Generated defines with a single compiler call. | |
173 | Use $(sed-remove-dotdot). | |
174 | * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead | |
175 | of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). | |
176 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
177 | Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). | |
178 | * sysdeps/unix/sysv/linux/mips/Makefile | |
179 | ($(objpfx)syscall-%.h): Likewise. | |
180 | ||
862ef982 RM |
181 | 2003-05-28 Roland McGrath <roland@redhat.com> |
182 | ||
183 | * malloc/malloc.h [! __GNUC__] (__const): Define if undefined. | |
184 | ||
fe2dcbcc RM |
185 | 2003-05-26 Aldy Hernandez <aldyh@redhat.com> |
186 | ||
187 | * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. | |
188 | ||
f85a9e61 RM |
189 | 2003-05-28 Roland McGrath <roland@redhat.com> |
190 | ||
191 | * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to | |
192 | rt_sigprocmask system call. | |
193 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. | |
194 | From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>. | |
195 | ||
bc4647a1 UD |
196 | 2003-05-28 Ulrich Drepper <drepper@redhat.com> |
197 | ||
198 | * include/libc-symbols.h: Define hidden attribute for real also if | |
199 | LIBC_NONSHARED is defined. Patch by Jakub Jelinek. | |
200 | ||
201 | * csu/Makefile: Add rules to build Scrt1.o. | |
202 | * sysdeps/i386/elf/start.S: Make code compilable with SHARED. | |
2bcba929 | 203 | * sysdeps/x86_64/elf/start.S: Likewise. |
bc4647a1 | 204 | |
40a54e4d UD |
205 | 2003-05-27 Jakub Jelinek <jakub@redhat.com> |
206 | ||
207 | * stdio-common/vfprintf.c (process_arg, process_string_arg): Use | |
208 | pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. | |
209 | * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, | |
210 | pa_short_int, pa_u_short_int and pa_float. | |
211 | ||
212 | 2003-05-26 Jakub Jelinek <jakub@redhat.com> | |
213 | ||
214 | * libio/strops.c (_IO_str_init_static): Change into a wrapper around | |
215 | _IO_str_init_static_internal. | |
216 | (_IO_str_init_static_internal): Moved from _IO_str_init_static, | |
217 | change size argument to _IO_size_t, don't limit sprintf to 64M. | |
218 | (_IO_str_init_readonly): Call _IO_str_init_static_internal. | |
219 | * libio/wstrops.c (_IO_wstr_init_static): Change size argument to | |
220 | _IO_size_t, don't limit swprintf to 256M. | |
221 | (_IO_wstr_init_readonly): Remove. | |
222 | * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): | |
223 | Adjust prototypes. | |
224 | (_IO_wstr_init_readonly): Remove prototype. | |
225 | * libio/iovsprintf.c (_IO_vsprintf): Use | |
226 | _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). | |
227 | * libio/iovsscanf.c (_IO_vsscanf): Likewise. | |
228 | * libio/memstream.c (open_memstream): Likewise. | |
229 | * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. | |
230 | * libio/vasprintf.c (_IO_vasprintf): Likewise. | |
231 | * libio/vsnprintf.c (_IO_vsnprintf): Likewise. | |
232 | * stdio-common/tst-sprintf.c (main): Add new test. | |
233 | ||
6458d814 UD |
234 | 2003-05-26 Ulrich Drepper <drepper@redhat.com> |
235 | ||
236 | * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some | |
237 | other implementation in respect of multiple uses of parameter with | |
238 | different types. | |
239 | ||
69431c9a UD |
240 | 2003-05-25 Ulrich Drepper <drepper@redhat.com> |
241 | ||
242 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
243 | __ASSUME_FUTEX_REQUEUE for >= 2.5.70. | |
244 | ||
5550a8fa AJ |
245 | 2003-05-22 Andreas Jaeger <aj@suse.de> |
246 | ||
247 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI | |
248 | directives. | |
249 | * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. | |
250 | * sysdeps/x86_64/strtok.S: Likewise. | |
251 | ||
3087604f AJ |
252 | 2003-05-20 Guido Guenther <agx@sigxcpu.org> |
253 | ||
254 | * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL | |
255 | to -60 and define SI_TKILL. | |
256 | ||
cca4aa58 UD |
257 | 2003-05-21 H.J. Lu <hongjiu.lu@intel.com> |
258 | ||
69431c9a | 259 | * math/test-fenv.c (feexcp_nomask_test): Fix comment. |
cca4aa58 UD |
260 | (feexcp_mask_test): Likewise. |
261 | ||
6d1d0720 UD |
262 | 2003-05-21 Ulrich Drepper <drepper@redhat.com> |
263 | ||
84c9409e UD |
264 | * locale/programs/locale.c (main): Fix typo in last patch. |
265 | ||
6d1d0720 UD |
266 | * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, |
267 | __init_array_start, __init_array_end, __fini_array_start, and | |
268 | __fini_array_end as hidden. | |
269 | ||
2e119864 UD |
270 | 2003-05-21 Petter Reinholdtsen <pere@hungry.com> |
271 | ||
272 | * locale/programs/locale.c (main): Report an error if setlocale() | |
273 | fails [PR libc/2254]. | |
274 | ||
275 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
276 | ||
277 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
278 | ||
279 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
280 | ||
281 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, | |
282 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
283 | LOADARGS_6): Don't error if syscall argument is a string literal. | |
284 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, | |
285 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
286 | LOADARGS_6): Likewise. | |
287 | ||
50189569 AJ |
288 | 2003-05-21 Andreas Jaeger <aj@suse.de> |
289 | ||
290 | * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, | |
291 | cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, | |
292 | cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. | |
293 | ||
294 | * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. | |
295 | (ENTRY): Likewise. | |
296 | (END): Likewise. | |
297 | ||
298 | * configure.in: Test for asm cfi directives. | |
299 | ||
300 | * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. | |
301 | ||
4bd2d98c AJ |
302 | 2003-05-17 Andreas Jaeger <aj@suse.de> |
303 | ||
2384fe20 AJ |
304 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch. |
305 | ||
4bd2d98c AJ |
306 | * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep. |
307 | ||
7ffac51f UD |
308 | 2003-05-16 Ulrich Drepper <drepper@redhat.com> |
309 | ||
0a8730cb UD |
310 | * rt/Makefile (tests): Add tst-clock_nanosleep. |
311 | * rt/tst-clock_nanosleep.c: New file. | |
312 | * posix/Makefile (tests): Add tst-nanosleep. | |
313 | * posix/tst-nanosleep.c: New file. | |
314 | ||
a8078760 UD |
315 | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition. |
316 | ||
23ae6451 UD |
317 | * include/features.h (__USE_XOPEN2K): Define also for |
318 | _POSIX_C_SOURCE>=200112L. | |
319 | ||
bc58c14e UD |
320 | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold |
321 | SI_TKILL code into SI_USER. | |
322 | * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. | |
323 | ||
7ffac51f UD |
324 | * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all. |
325 | ||
63c7a7e8 UD |
326 | 2003-05-15 Jakub Jelinek <jakub@redhat.com> |
327 | ||
328 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): | |
329 | Remove sym argument, always use refsym. | |
330 | (__process_machine_rela): Adjust callers. | |
331 | * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): | |
332 | Likewise. | |
333 | * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): | |
334 | Adjust prototype. | |
335 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. | |
336 | ||
115a45a7 UD |
337 | 2003-05-15 Ulrich Drepper <drepper@redhat.com> |
338 | ||
339 | * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo | |
340 | (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known | |
341 | print numeric values. | |
342 | ||
b523afae UD |
343 | 2003-05-12 Thorsten Kukuk <kukuk@suse.de> |
344 | ||
345 | * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD. | |
346 | ||
f0725b01 UD |
347 | 2003-05-14 Andreas Schwab <schwab@suse.de> |
348 | ||
349 | * sysdeps/unix/sysv/linux/ia64/umount.c: New file. | |
350 | ||
81f3ac4c UD |
351 | 2003-05-14 Jakub Jelinek <jakub@redhat.com> |
352 | ||
353 | * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope | |
354 | even if no DT_NEEDED is present. | |
355 | ||
c9300aef UD |
356 | 2003-05-13 David Mosberger <davidm@hpl.hp.com> |
357 | ||
358 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from | |
359 | 2003-03-27: setjmp is NOT a leaf-routine (due to the call to | |
360 | __sigjmp_save) so we can't keep the saved unat value in a scratch | |
361 | register (r16). Use loc2 instead. | |
362 | ||
d7234d9f UD |
363 | 2003-05-13 Ulrich Drepper <drepper@redhat.com> |
364 | ||
1ad318d3 UD |
365 | * csu/Makefile: Do compile elf-init with PIC flag since in dynamic |
366 | binaries it has to be relocatable. | |
367 | ||
d7234d9f UD |
368 | * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available. |
369 | ||
7158eae4 UD |
370 | 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com> |
371 | ||
372 | * sysdeps/powerpc/bits/atomic.h | |
373 | (__arch_compare_and_exchange_bool_8_rel): Define. | |
374 | (__arch_compare_and_exchange_bool_16_rel): Define. | |
375 | (__ARCH_REL_INSTR): Define if not already defined. | |
376 | (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. | |
377 | (__arch_atomic_decrement_if_positive_32): | |
378 | Add "memory" to clobber list. | |
379 | (__arch_compare_and_exchange_val_32_acq): Remove release sync. | |
380 | (__arch_compare_and_exchange_val_32_rel): Define. | |
381 | (__arch_atomic_exchange_32): Remove. | |
382 | (__arch_atomic_exchange_32_acq): Define. | |
383 | (__arch_atomic_exchange_32_rel): Define. | |
384 | (atomic_compare_and_exchange_val_rel): Define. | |
385 | (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. | |
386 | (atomic_exchange_rel): Define. | |
387 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
388 | (__arch_compare_and_exchange_bool_32_acq): Remove release sync. | |
389 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
390 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
391 | (__arch_compare_and_exchange_val_64_rel): Define. | |
392 | (__arch_atomic_exchange_64): Remove. | |
393 | (__arch_atomic_exchange_64_acq): Define. | |
394 | (__arch_atomic_exchange_64_rel): Define. | |
395 | * sysdeps/powerpc/powerpc64/bits/atomic.h | |
396 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
397 | (__arch_compare_and_exchange_bool_64_acq): Remove release sync. | |
398 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
399 | (__arch_compare_and_exchange_val_64_acq): Remove release sync. | |
400 | (__arch_compare_and_exchange_val_64_rel): Define. | |
401 | (__arch_atomic_exchange_64): Remove. | |
402 | (__arch_atomic_exchange_64_acq): Define. | |
403 | (__arch_atomic_exchange_64_rel): Define. | |
404 | (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. | |
405 | (__arch_atomic_decrement_if_positive_64): | |
406 | Add "memory" to clobber list. | |
407 | [!UP](__ARCH_REL_INSTR): Define as lwsync. | |
408 | ||
edf205d5 UD |
409 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
410 | ||
411 | * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. | |
412 | ||
413 | 2003-05-11 Ulrich Drepper <drepper@redhat.com> | |
414 | ||
415 | * time/tst-strftime.c (do_test): Add tests for - flag. | |
416 | ||
417 | 2003-05-11 Jim Meyering <jim@meyering.net> | |
418 | ||
419 | * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect | |
7158eae4 | 420 | the space-padded-by-default conversion specifiers, %e, %k, %l. |
edf205d5 | 421 | |
8403786b AS |
422 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
423 | ||
424 | * sysdeps/generic/sched_setaffinity.c: Fix parameter name. | |
425 | ||
0e563cd6 UD |
426 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
427 | ||
428 | * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not | |
429 | already defined and when really needed. | |
430 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
431 | ||
d9997a45 UD |
432 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> |
433 | ||
434 | * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel | |
435 | headers, add defines from kernel header, move it from here... | |
436 | * inet/netinet/igmp.h: ... to here. | |
437 | * inet/Makefile (headers): Add netinet/igmp.h. | |
438 | * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. | |
439 | * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. | |
440 | ||
441 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> | |
442 | ||
443 | * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, | |
444 | use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. | |
445 | ||
446 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> | |
447 | ||
448 | * libio/bits/stdio.h: Sync prototypes with libio/stdio.h | |
449 | (remove __THROW from possible cancellation points). | |
450 | ||
de85d40b UD |
451 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
452 | ||
d067c97e | 453 | * posix/sched.h (CPU_SETSIZE): Define. |
de85d40b | 454 | |
880867a4 UD |
455 | 2003-05-09 Ulrich Drepper <drepper@redhat.com> |
456 | ||
c7652699 UD |
457 | * Makeconfig (gnulib): Remove -lgcc_eh again. |
458 | ||
949ec764 UD |
459 | * posix/sched.h: Change prototypes of sched_getaffinity and |
460 | sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. | |
461 | * sysdeps/generic/sched_getaffinity.c: Adjust definition. | |
462 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
463 | * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, | |
464 | __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, | |
465 | __CPU_CLR, and __CPU_ISSET. | |
466 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
467 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. | |
468 | * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. | |
469 | ||
470 | * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. | |
471 | (atomic_exchange_rel): New #define. | |
472 | * sysdeps/ia64/bits/atomic.h: Likewise. | |
473 | * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from | |
474 | atomic_exchange. | |
475 | * sysdeps/m68k/m68020/bits/atomic.h: Likewise. | |
476 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
477 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. | |
478 | * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. | |
479 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
480 | * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange. | |
481 | ||
880867a4 UD |
482 | * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file. |
483 | ||
92d83c72 UD |
484 | 2003-05-08 Ulrich Drepper <drepper@redhat.com> |
485 | ||
486 | * malloc/thread-m.h: Remove special handling of thread_atfork if | |
487 | HAVE_register_atfork_malloc is defined. | |
488 | ||
7618d44c AJ |
489 | 2003-05-07 Andreas Jaeger <aj@suse.de> |
490 | ||
491 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind | |
492 | information. | |
493 | ||
14a2bd4b UD |
494 | 2003-05-06 Ulrich Drepper <drepper@redhat.com> |
495 | ||
496 | * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. | |
497 | * libio/oldiofopen.c (_IO_old_fopen): Likewise. | |
498 | * libio/libioP.h: Declare _IO_old_init. | |
499 | * libio/genops.c (_IO_no_init): Split in two. New function | |
500 | _IO_old_init. | |
501 | ||
9946f75a UD |
502 | 2003-05-05 Ulrich Drepper <drepper@redhat.com> |
503 | ||
be4d8038 UD |
504 | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New |
505 | variable. | |
506 | (__libc_init_secure): Don't do anything if __libc_enable_secure_decided | |
507 | is nonzero. | |
508 | * include/unistd.h: Declare __libc_enable_secure_decided. | |
509 | * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, | |
510 | and AT_EGID. If all found, set __libc_enable_secure and | |
511 | __libc_enable_secure_decided. | |
512 | ||
9946f75a UD |
513 | * sysdeps/generic/libc-start.c [!SHARED]: Call |
514 | __libc_check_standard_fds after __libc_init_first. | |
515 | ||
955a7039 RM |
516 | 2003-05-05 Roland McGrath <roland@redhat.com> |
517 | ||
518 | * Makerules (common-before-compile): New variable. | |
519 | ($(common-objpfx)%.make): Depend on that instead of $(before-compile). | |
520 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule | |
521 | to after all setting of before-compile. | |
522 | ||
4661a153 UD |
523 | 2003-05-05 Jakub Jelinek <jakub@redhat.com> |
524 | ||
525 | * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
526 | __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. | |
527 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
528 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
529 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h | |
530 | (__arch_compare_and_exchange_val_8_acq, | |
531 | __arch_compare_and_exchange_val_16_acq, | |
532 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
533 | * sysdeps/sparc/sparc64/bits/atomic.h | |
534 | (__arch_compare_and_exchange_val_8_acq, | |
535 | __arch_compare_and_exchange_val_16_acq): Likewise. | |
536 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
537 | __arch_compare_and_exchange_val_16_acq, | |
538 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
539 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h | |
540 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
541 | * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut | |
542 | up warning. | |
543 | * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. | |
544 | ||
545 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | |
546 | (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): | |
547 | Return long instead of int. | |
548 | (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace | |
549 | 0xfffff001u with -4095UL. | |
550 | ||
461e1ce0 AJ |
551 | 2003-05-05 Andreas Jaeger <aj@suse.de> |
552 | ||
c7c8ca97 AJ |
553 | * sysdeps/x86_64/fpu_control.h: New from i386. |
554 | ||
461e1ce0 AJ |
555 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): |
556 | Define if not defined. | |
557 | ||
955a7039 RM |
558 | * sunrpc/Makefile (generated-dirs): New variable. |
559 | * resolv/Makefile (generated): New variable. | |
0696c2c0 | 560 | |
4b0b5882 RM |
561 | 2003-05-04 Roland McGrath <roland@redhat.com> |
562 | ||
c6696b79 RM |
563 | * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file. |
564 | Depend on $(before-compile). | |
565 | ||
4b0b5882 RM |
566 | * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static |
567 | pattern rule. The implicit rule could be ruled out when $(objpfx) | |
568 | didn't exist at the time of its consideration (ugh!). | |
569 | ||
570 | * Makerules (+make-deps): Fix target matching. | |
571 | Use $(sed-remove-dotdot). | |
572 | ||
a12ce44f UD |
573 | 2003-05-03 Ulrich Drepper <drepper@redhat.com> |
574 | ||
575 | * nscd/nscd.c (main): Parse config file right after parsing | |
576 | parameters. Then, if get_stats is true, call receive_print_stats. | |
577 | Drop parameter from nscd_init call. | |
578 | (get_stats): New variable. | |
579 | (parse_opt): Set get_stats, don't call receive_print_stats here. | |
580 | * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init | |
581 | prototype. | |
582 | * nscd/connections.c (stat_user, stat_uid): New variables. | |
583 | (dbs): Make global. | |
584 | (nscd_init): Don't read configuration file here. Drop parameter. | |
585 | (handle_request): Cleanup handling of non-database lookup requests. | |
586 | * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. | |
587 | Get UID of the specified user. Use xstrdup instead of strdup. | |
588 | * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, | |
589 | check stat_user. | |
590 | * nscd/Makefile (nscd-modules): Add xstrdup. | |
591 | * nscd/nscd.conf: Document stat-user entry. | |
592 | ||
593 | 2003-05-03 H.J. Lu <hongjiu.lu@intel.com> | |
594 | ||
595 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define | |
596 | if not defined. | |
597 | ||
f866314b UD |
598 | 2003-04-22 Roland McGrath <roland@redhat.com> |
599 | ||
600 | * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. | |
601 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove | |
602 | dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. | |
603 | * elf/dl-support.c: Update defn. | |
604 | * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. | |
605 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: | |
606 | Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. | |
607 | (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. | |
608 | * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is | |
609 | set, set up a link_map for the preloaded, prelinked object. | |
610 | ||
05d3d580 RM |
611 | 2003-05-03 Roland McGrath <roland@redhat.com> |
612 | ||
613 | * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... | |
614 | * stdio-common/Makefile: ... not here. | |
615 | ||
616 | * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). | |
617 | * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. | |
618 | ||
0a8fe089 UD |
619 | 2003-05-02 Ulrich Drepper <drepper@redhat.com> |
620 | ||
ba080fa6 UD |
621 | * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file. |
622 | ||
90a315b0 UD |
623 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define. |
624 | ||
f903b515 UD |
625 | * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for |
626 | comparing ftab elements. | |
627 | (_dl_unmap): Fix typo in test. | |
ceb927c9 UD |
628 | (_dl_make_fptr): Fix typos introduced in last change. |
629 | ||
0a8fe089 UD |
630 | * sysdeps/generic/dl-fptr.c: Put back one optimization from the |
631 | original patch. Use non-exported symbols. Mark translatable | |
632 | strings. Pretty printing. | |
633 | ||
a0c8a249 RM |
634 | 2003-05-02 Roland McGrath <roland@redhat.com> |
635 | ||
636 | * Makerules (do-stamp): Do $(make-target-directory). | |
637 | ||
a92026c9 UD |
638 | 2003-04-07 H.J. Lu <hjl@gnu.org> |
639 | ||
640 | * sysdeps/generic/dl-fptr.c: Modify to remove the lock. | |
641 | ||
642 | 2003-04-03 H.J. Lu <hjl@gnu.org> | |
643 | ||
644 | * sysdeps/ia64/dl-fptr.c: Moved to ... | |
645 | * sysdeps/generic/dl-fptr.c: Here. | |
646 | ||
647 | * sysdeps/generic/dl-fptr.h: New. | |
648 | * sysdeps/ia64/dl-fptr.h: New. | |
649 | ||
650 | * sysdeps/ia64/dl-symaddr.c: Moved to ... | |
651 | * sysdeps/generic/dl-symaddr.c: here. | |
652 | ||
653 | * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>. | |
654 | (IA64_BOOT_FPTR_TABLE_LEN): Removed. | |
655 | (ia64_fdesc): Likewise. | |
656 | (ia64_fdesc_table): Likewise. | |
657 | (__ia64_make_fptr): Likewise. | |
658 | (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table | |
659 | with _dl_boot_fptr_table. | |
660 | (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with | |
661 | `struct fdesc'. | |
662 | (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr. | |
663 | ||
362f5ae2 RM |
664 | 2003-05-01 Roland McGrath <roland@redhat.com> |
665 | ||
666 | * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. | |
667 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. | |
668 | ||
669 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
670 | Use $(make-target-directory). | |
671 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. | |
672 | ||
673 | * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. | |
674 | (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). | |
675 | (compile-command.s, compile-command.c): Likewise. | |
676 | ($(objpfx)%.d): All such pattern rules removed. | |
677 | ($(+sysdir_pfx)sysd-rules): Don't generate them. | |
678 | ($(common-objpfx)dummy.d): Target removed. | |
679 | (make-dummy-dep): Variable removed. | |
680 | (generate-md5): Likewise. | |
681 | (%.d: %.dt): New pattern rule. | |
682 | (+depfiles): Use $(wildcard) function to get just existing *.d files | |
683 | and .d files for existing *.dt files. | |
684 | (common-clean): Remove all *.d and *.dt files. | |
685 | (before-compile): Add $(objpfx). when it doesn't exist, | |
686 | regardless of $(no_deps). | |
687 | * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. | |
688 | (rtld-depfiles): Use .os.d instead of .d names. | |
689 | Include existing *.d files and .d files for existing *.dt files. | |
690 | ||
691 | * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. | |
692 | Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. | |
693 | ||
694 | * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. | |
695 | Do s-*.d includes only if we have some syscall routines in this subdir. | |
696 | ||
697 | * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of | |
698 | @nobits. The former is accepted by gas on any ELF platform. | |
699 | ||
a234e27d UD |
700 | 2003-05-01 Ulrich Drepper <drepper@redhat.com> |
701 | ||
cf20f569 UD |
702 | * sysdeps/unix/sysv/linux/semtimedop.c: New file. |
703 | ||
a234e27d UD |
704 | * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. |
705 | ||
706 | 2003-04-29 Andreas Schwab <schwab@suse.de> | |
707 | ||
708 | * string/test-strcat.c (do_one_test): Fix attribute name. | |
709 | ||
27b301e4 AO |
710 | 2003-04-30 Alexandre Oliva <aoliva@redhat.com> |
711 | ||
712 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make | |
713 | uc_flags long for all ABIs. | |
714 | ||
f545f1df AJ |
715 | 2003-04-30 Andreas Jaeger <aj@suse.de> |
716 | ||
717 | * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h | |
718 | (DR_CONTROL_RESERVED): Use correct value for 64-bit. | |
719 | Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>. | |
720 | Add bi-arch support. | |
721 | ||
f773ff64 UD |
722 | 2003-04-30 Ulrich Drepper <drepper@redhat.com> |
723 | ||
724 | * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal. | |
725 | (__posix_memalign): Use __memalign_internal instead of memalign. | |
726 | ||
20792f99 RM |
727 | 2003-04-29 Roland McGrath <roland@redhat.com> |
728 | ||
729 | * configure.in: Search for AUTOCONF unconditionally. | |
730 | Just don't complain about missing it under --without-cvs. | |
20792f99 RM |
731 | |
732 | * include/libc-symbols.h (__symbol_set_attribute): New macro, | |
733 | give hidden for [SHARED] and weak for [! SHARED]. | |
734 | (symbol_set_declare): Use that. Never need weak_extern these days. | |
735 | * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. | |
736 | Depend on $(..)Makerules. | |
737 | ||
85dd1003 UD |
738 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
739 | ||
153da599 UD |
740 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected |
741 | variants of socket, bind, recvmsg, and sendto. | |
742 | ||
85dd1003 UD |
743 | * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word. |
744 | ||
745 | * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset. | |
746 | * signal/sigaddset.c: Add libc_hidden_def. | |
747 | * signal/sigdelset.c: Likewise. | |
748 | ||
749 | 2003-04-29 Jakub Jelinek <jakub@redhat.com> | |
750 | ||
751 | * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move | |
752 | to the end of the file. | |
753 | ||
754 | * configure.in: Change __oline__ to $LINENO. | |
755 | (HAVE_BUILTIN_REDIRECTION): New check. | |
756 | * config.h.in (HAVE_BUILTIN_REDIRECTION): Add. | |
757 | * include/libc-symbols.h (libc_hidden_builtin_proto, | |
758 | libc_hidden_builtin_def, libc_hidden_builtin_weak, | |
759 | libc_hidden_builtin_ver): Define. | |
760 | * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr, | |
761 | strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr, | |
762 | strspn, strstr): Add libc_hidden_builtin_proto. | |
763 | * intl/plural.y: Include string.h. | |
764 | * sysdeps/alpha/alphaev6/memchr.S (memchr): Add | |
765 | libc_hidden_builtin_def. | |
766 | * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise. | |
767 | * sysdeps/alpha/alphaev6/memset.S (memset): Likewise. | |
768 | * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise. | |
769 | * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise. | |
770 | * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise. | |
771 | * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise. | |
772 | * sysdeps/alpha/memchr.S (memchr): Likewise. | |
773 | * sysdeps/alpha/memset.S (memset): Likewise. | |
774 | * sysdeps/alpha/strcat.S (strcat): Likewise. | |
775 | * sysdeps/alpha/strchr.S (strchr): Likewise. | |
776 | * sysdeps/alpha/strcmp.S (strcmp): Likewise. | |
777 | * sysdeps/alpha/strcpy.S (strcpy): Likewise. | |
778 | * sysdeps/alpha/strlen.S (strlen): Likewise. | |
779 | * sysdeps/alpha/strncmp.S (strncmp): Likewise. | |
780 | * sysdeps/alpha/strncpy.S (strncpy): Likewise. | |
781 | * sysdeps/alpha/strrchr.S (strrchr): Likewise. | |
782 | * sysdeps/arm/memset.S (memset): Likewise. | |
783 | * sysdeps/arm/strlen.S (strlen): Likewise. | |
784 | * sysdeps/generic/memchr.c (memchr): Likewise. | |
785 | * sysdeps/generic/memcpy.c (memcpy): Likewise. | |
786 | * sysdeps/generic/memmove.c (memmove): Likewise. | |
787 | * sysdeps/generic/memset.c (memset): Likewise. | |
788 | * sysdeps/generic/strcat.c (strcat): Likewise. | |
789 | * sysdeps/generic/strchr.c (strchr): Likewise. | |
790 | * sysdeps/generic/strcmp.c (strcmp): Likewise. | |
791 | * sysdeps/generic/strcpy.c (strcpy): Likewise. | |
792 | * sysdeps/generic/strcspn.c (strcspn): Likewise. | |
793 | * sysdeps/generic/strlen.c (strlen): Likewise. | |
794 | * sysdeps/generic/strncmp.c (strncmp): Likewise. | |
795 | * sysdeps/generic/strncpy.c (strncpy): Likewise. | |
796 | * sysdeps/generic/strpbrk.c (strpbrk): Likewise. | |
797 | * sysdeps/generic/strrchr.c (strrchr): Likewise. | |
798 | * sysdeps/generic/strspn.c (strspn): Likewise. | |
799 | * sysdeps/generic/strstr.c (strstr): Likewise. | |
800 | * sysdeps/i386/i486/strcat.S (strcat): Likewise. | |
801 | * sysdeps/i386/i486/strlen.S (strlen): Likewise. | |
802 | * sysdeps/i386/i586/memcpy.S (memcpy): Likewise. | |
803 | * sysdeps/i386/i586/memset.S (memset): Likewise. | |
804 | * sysdeps/i386/i586/strchr.S (strchr): Likewise. | |
805 | * sysdeps/i386/i586/strcpy.S (strcpy): Likewise. | |
806 | * sysdeps/i386/i586/strlen.S (strlen): Likewise. | |
807 | * sysdeps/i386/i686/memcpy.S (memcpy): Likewise. | |
808 | * sysdeps/i386/i686/memmove.S (memmove): Likewise. | |
809 | * sysdeps/i386/i686/memset.S (memset): Likewise. | |
810 | * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. | |
811 | * sysdeps/i386/memchr.S (memchr): Likewise. | |
812 | * sysdeps/i386/memset.c (memset): Likewise. | |
813 | * sysdeps/i386/strchr.S (strchr): Likewise. | |
814 | * sysdeps/i386/strcspn.S (strcspn): Likewise. | |
815 | * sysdeps/i386/strlen.c (strlen): Likewise. | |
816 | * sysdeps/i386/strpbrk.S (strpbrk): Likewise. | |
817 | * sysdeps/i386/strrchr.S (strrchr): Likewise. | |
818 | * sysdeps/i386/strspn.S (strspn): Likewise. | |
819 | * sysdeps/ia64/memchr.S (memchr): Likewise. | |
820 | * sysdeps/ia64/memcpy.S (memcpy): Likewise. | |
821 | * sysdeps/ia64/memmove.S (memmove): Likewise. | |
822 | * sysdeps/ia64/memset.S (memset): Likewise. | |
823 | * sysdeps/ia64/strcat.S (strcat): Likewise. | |
824 | * sysdeps/ia64/strchr.S (strchr): Likewise. | |
825 | * sysdeps/ia64/strcmp.S (strcmp): Likewise. | |
826 | * sysdeps/ia64/strcpy.S (strcpy): Likewise. | |
827 | * sysdeps/ia64/strlen.S (strlen): Likewise. | |
828 | * sysdeps/ia64/strncmp.S (strncmp): Likewise. | |
829 | * sysdeps/ia64/strncpy.S (strncpy): Likewise. | |
830 | * sysdeps/m68k/memchr.S (memchr): Likewise. | |
831 | * sysdeps/m68k/strchr.S (strchr): Likewise. | |
832 | * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise. | |
833 | * sysdeps/mips/mips64/memset.S (memset): Likewise. | |
834 | * sysdeps/mips/memcpy.S (memcpy): Likewise. | |
835 | * sysdeps/mips/memset.S (memset): Likewise. | |
836 | * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. | |
837 | * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise. | |
838 | * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise. | |
839 | * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise. | |
840 | * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise. | |
841 | * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. | |
842 | * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. | |
843 | * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise. | |
844 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise. | |
845 | * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise. | |
846 | * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise. | |
847 | * sysdeps/powerpc/strcat.c (strcat): Likewise. | |
848 | * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise. | |
849 | * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise. | |
850 | * sysdeps/sparc/sparc32/memset.S (memset): Likewise. | |
851 | * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise. | |
852 | * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise. | |
853 | * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise. | |
854 | * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise. | |
855 | * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise. | |
856 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise. | |
857 | * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise. | |
858 | * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise. | |
859 | * sysdeps/sparc/sparc64/memset.S (memset): Likewise. | |
860 | * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise. | |
861 | * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise. | |
862 | * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise. | |
863 | * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise. | |
864 | * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise. | |
865 | * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise. | |
866 | * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise. | |
867 | * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise. | |
868 | * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise. | |
869 | * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise. | |
870 | * sysdeps/sh/memcpy.S (memcpy): Likewise. | |
871 | * sysdeps/sh/memset.S (memset): Likewise. | |
872 | * sysdeps/sh/strlen.S (strlen): Likewise. | |
873 | * sysdeps/s390/s390-32/memchr.S (memchr): Likewise. | |
874 | * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise. | |
875 | * sysdeps/s390/s390-32/memset.S (memset): Likewise. | |
876 | * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise. | |
877 | * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise. | |
878 | * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise. | |
879 | * sysdeps/s390/s390-64/memchr.S (memchr): Likewise. | |
880 | * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise. | |
881 | * sysdeps/s390/s390-64/memset.S (memset): Likewise. | |
882 | * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise. | |
883 | * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise. | |
884 | * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise. | |
885 | * sysdeps/x86_64/memcpy.S (memcpy): Likewise. | |
886 | * sysdeps/x86_64/memset.S (memset): Likewise. | |
887 | * sysdeps/x86_64/strcat.S (strcat): Likewise. | |
888 | * sysdeps/x86_64/strchr.S (strchr): Likewise. | |
889 | * sysdeps/x86_64/strcmp.S (strcmp): Likewise. | |
890 | * sysdeps/x86_64/strcpy.S (strcpy): Likewise. | |
891 | * sysdeps/x86_64/strcspn.S (strcspn): Likewise. | |
892 | * sysdeps/x86_64/strlen.S (strlen): Likewise. | |
893 | * sysdeps/x86_64/strspn.S (strspn): Likewise. | |
894 | * string/string-inlines.c: Move... | |
895 | * sysdeps/generic/string-inlines.c: ...here. | |
896 | (__memcpy_g, __strchr_g): Remove. | |
897 | (__NO_INLINE__): Define before including <string.h>, | |
898 | undefine after. Include bits/string.h and bits/string2.h. | |
899 | * sysdeps/i386/i486/string-inlines.c: New file. | |
900 | * sysdeps/i386/string-inlines.c: New file. | |
901 | * sysdeps/i386/i486/Versions: Remove. | |
902 | All GLIBC_2.1.1 symbols moved... | |
903 | * sysdeps/i386/Versions (libc): ...here. | |
904 | ||
e40468fa UD |
905 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
906 | ||
907 | * sysdeps/i386/fpu/Makefile: New file. | |
908 | * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word. | |
909 | * sysdeps/i386/fpu/feenablxcpt.c: Likewise. | |
910 | * sysdeps/i386/fpu/feholdexcpt.c: Likewise. | |
911 | * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode | |
912 | [PR libc/4987]. | |
913 | ||
12c80513 UD |
914 | 2003-04-28 Ulrich Drepper <drepper@redhat.com> |
915 | ||
916 | * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. | |
917 | * nscd/nscd_getpw_r.c: Likewise. | |
918 | * nscd/nscd_gethst_r.c: Likewise. | |
919 | ||
fe453812 UD |
920 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
921 | ||
922 | * nscd/pwdcache.c: Initialize .version element in result. | |
923 | * nscd/grpcache.c: Likewise. | |
924 | * nscd/pwdcache.c: Likewise. | |
925 | ||
bf7725a9 RM |
926 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
927 | ||
928 | * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in | |
929 | subdirectory. | |
930 | ||
26576375 AS |
931 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
932 | ||
933 | * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file. | |
934 | ||
a7ed068e UD |
935 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
936 | ||
a16e3585 UD |
937 | * nscd/connections.c (client_queued): New variable. |
938 | (nscd_run): Revamp the loop. Don't call poll except for cleanup | |
939 | threads. Keep track of the number of delays caused because of busy | |
940 | worker threads. | |
941 | * nscd/nscd.h: Declare client_queued. | |
942 | * nscd/nscd_stat.c: Transmit and print client_queued information. | |
943 | ||
76352f64 UD |
944 | * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX. |
945 | ||
a7ed068e UD |
946 | * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to |
947 | define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs. | |
948 | ||
541765b6 UD |
949 | 2003-04-26 Ulrich Drepper <drepper@redhat.com> |
950 | ||
951 | * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement | |
952 | tracking of freed memory in static TLS block. | |
953 | * elf/Makefile: Add rules to build and run tst-tls13. | |
954 | * elf/tst-tls13.c: New file. | |
955 | * elf/tst-tlsmod13.c: New file. | |
956 | * elf/tst-tlsmod13a.c: New file. | |
957 | ||
958 | * elf/tst-tls8.c: Adjust types of variables to avoid warnings. | |
959 | ||
960 | * elf/dl-reloc.c: Pretty printing. | |
961 | ||
358cad7c RM |
962 | 2003-04-26 Roland McGrath <roland@redhat.com> |
963 | ||
964 | * Makerules ($(common-objpfx)shlib.lds): New target. | |
965 | (common-generated): Add it. | |
966 | (build-shlib, build-module): Use that instead of generating every time. | |
967 | ($(common-objpfx)libc.so): Depend on it. | |
968 | (lib%.so rule): Likewise. | |
969 | (build-module-helper-objlist): Remove %.lds. | |
5ae340e3 | 970 | (LDSEDCMD-c.so): Variable removed. |
358cad7c RM |
971 | * iconvdata/extra-module.mk ($(objpfx)$(mod).so): |
972 | Depend on $(common-objpfx)shlib.lds. | |
973 | * dlfcn/Makefile ($(test-modules)): Likewise. | |
974 | ||
d3f063bc RM |
975 | 2003-04-26 Roland McGrath <roland@frob.com> |
976 | ||
977 | * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals. | |
978 | ||
06a04e09 UD |
979 | 2003-04-26 Andreas Schwab <schwab@suse.de> |
980 | ||
981 | * elf/dl-close.c (remove_slotinfo): Fix missing parens. | |
982 | ||
f24dca48 UD |
983 | 2003-04-25 Ulrich Drepper <drepper@redhat.com> |
984 | ||
c86e6aec UD |
985 | * nscd/cache.c (cache_search): Keep track of how many chain links |
986 | we searched and update table statistics. | |
987 | (cache_add): Keep track of how many values are in the table. | |
988 | (prune_cache): Likewise. Keep track of locking success. | |
989 | Print messages about removed entries in separate pass. | |
990 | * nscd/connections.c (handle_request): Don't print debug message here. | |
991 | The caller will do it. Keep track of locking success. | |
992 | (nscd_run): Print debug message. Also print PID of the client process. | |
993 | * nscd/nscd.c (start_time): New variable. | |
994 | (main): Remember start time. | |
995 | * nscd/nscd.h: Declare start_time. | |
996 | (struct database): Add more members for new statistics. | |
997 | * nscd/nscd_stat.c: Add support for sending, receiving, and printing | |
998 | of new statistics. | |
999 | ||
f24dca48 UD |
1000 | * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>. |
1001 | ||
299601a1 UD |
1002 | 2003-04-22 Jakub Jelinek <jakub@redhat.com> |
1003 | ||
1004 | * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. | |
1005 | * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. | |
1006 | * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to | |
1007 | NO_TLS_OFFSET. | |
1008 | * elf/rtld.c (_dl_start_final, _dl_start): Likewise. | |
1009 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. | |
1010 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
1011 | * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract | |
1012 | TLS_TCB_SIZE. | |
1013 | ||
925c3c5c UD |
1014 | 2003-04-24 Ulrich Drepper <drepper@redhat.com> |
1015 | ||
29bfc945 UD |
1016 | * nss/getent.c: Implement alternative host database lookup via |
1017 | getaddrinfo. | |
1018 | ||
925c3c5c UD |
1019 | * include/ifaddrs.h: New file. |
1020 | * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and | |
1021 | AI_ADDRCONFIG... | |
1022 | * resolv/netdb.h: ...here. | |
1023 | * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. | |
1024 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
1025 | * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and | |
1026 | AI_ADDRCONFIG. | |
1027 | ||
4c513679 RM |
1028 | 2003-04-24 Roland McGrath <roland@redhat.com> |
1029 | ||
1030 | * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. | |
1031 | ||
8e27f45e RM |
1032 | 2003-04-24 Jakub Jelinek <jakub@redhat.com> |
1033 | ||
1034 | * elf/dl-reloc.c (allocate_static_tls): Rename to... | |
1035 | (_dl_allocate_static_tls): ... this function. No longer static. | |
1036 | (CHECK_STATIC_TLS): Adjust. | |
1037 | * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. | |
1038 | * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): | |
1039 | Add SYM_MAP argument. | |
1040 | (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. | |
1041 | Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit | |
1042 | TLS relocs here. #ifdef out relocs which never appear in | |
1043 | .gnu.conflict section from dl-conflict.c processing. | |
1044 | * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): | |
1045 | Add SYM_MAP argument. Handle 16-bit TLS relocs here. | |
1046 | ||
1047 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef | |
1048 | out relocs which never appear in .gnu.conflict section from | |
1049 | dl-conflict.c processing. | |
1050 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. | |
1051 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. | |
1052 | * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. | |
1053 | Use r_type in RESOLVE macro. | |
1054 | ||
b9b9a51e UD |
1055 | 2003-04-23 Ulrich Drepper <drepper@redhat.com> |
1056 | ||
4c513679 | 1057 | * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != |
345d9208 UD |
1058 | NULL. Remove code made redundant by this assumption. |
1059 | (__yp_unbind): Add call to free. Adjust all callers. | |
1060 | ||
47ae3942 | 1061 | * nis/ypclnt.c (yp_all): Free the dom_binding object after |
29bfc945 | 1062 | unbinding it. |
47ae3942 | 1063 | |
b9b9a51e UD |
1064 | * grp/initgroups.c (getgrouplist): Don't copy too much into the |
1065 | user buffer if more groups are found than fit into it. | |
1066 | ||
1067 | * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use | |
1068 | extend_alloca. | |
1069 | ||
63af556f RM |
1070 | 2003-04-23 Jakub Jelinek <jakub@redhat.com> |
1071 | ||
370b4d44 UD |
1072 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, |
1073 | not rc == errno. Use extend_alloca. | |
1074 | ||
63af556f RM |
1075 | * elf/tst-tls12.c (main): Fix declaration. |
1076 | * elf/tst-tls10.c (dummy): Make hidden instead of static. | |
1077 | * elf/tst-tlsmod7.c (dummy): Likewise. | |
1078 | * elf/tst-tlsmod8.c (dummy): Likewise. | |
1079 | * elf/tst-tlsmod9.c (dummy): Likewise. | |
1080 | ||
1081 | 2003-04-22 Roland McGrath <roland@redhat.com> | |
1082 | ||
1083 | * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. | |
1084 | (open_not_cancel): Make last argument non-optional. | |
1085 | * sysdeps/generic/check_fds.c (check_one_fd): Update caller. | |
1086 | * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. | |
1087 | * iconv/gconv_cache.c (__gconv_load_cache): Likewise. | |
1088 | ||
1089 | * include/tls.h: Protect against multiple inclusion. | |
1090 | ||
4c5dd2a2 UD |
1091 | 2003-04-22 Ulrich Drepper <drepper@redhat.com> |
1092 | ||
1093 | * nscd/nscd-client.h: Add declaration for __nscd_open_socket. | |
1094 | * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from | |
1095 | open_socket. Not static anymore. | |
1096 | (nscd_gethst_r): Use __nscd_open_socket. | |
1097 | * nscd/nscd_getgr_r.c (open_socket): Removed. | |
1098 | (nscd_getgr_r): Use __nscd_open_socket. | |
1099 | * nscd/nscd_getpw_r.c (open_socket): Removed. | |
1100 | (nscd_getpw_r): Use __nscd_open_socket. | |
1101 | ||
1102 | * nscd/nscd.c (main): Change type of fdn to long int and use strtol. | |
1103 | * nscd/connections.c (handle_request): Add cast to avoid warning. | |
1104 | ||
e7608d77 UD |
1105 | 2003-04-21 Ulrich Drepper <drepper@redhat.com> |
1106 | ||
6a87ee19 UD |
1107 | * signal/sigfillset.c: Moved to... |
1108 | * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined | |
1109 | do not set the corresponding bit. | |
1110 | ||
e7608d77 UD |
1111 | * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for |
1112 | SIGCANCEL. | |
1113 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. | |
1114 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. | |
1115 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. | |
1116 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. | |
1117 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. | |
1118 | ||
680dd6f2 UD |
1119 | 2003-04-20 Ulrich Drepper <drepper@redhat.com> |
1120 | ||
a4faf243 | 1121 | * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast |
e7608d77 | 1122 | first syscall parameter to const char*. |
680dd6f2 | 1123 | |
0b3df49e UD |
1124 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
1125 | ||
40c90e00 UD |
1126 | * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run. |
1127 | ||
58a7a325 UD |
1128 | * configure.in: Add AC_PROG_CXX. |
1129 | * config.make.in (CXX): Define. | |
1130 | ||
0b3df49e UD |
1131 | * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of |
1132 | __len to size_t to avoid warnings. | |
1133 | ||
84a420c0 UD |
1134 | 2003-04-18 Jes Sorensen <jes@wildopensource.com> |
1135 | ||
1136 | * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux | |
1137 | 2.5.67. | |
1138 | * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
1139 | ||
2c008571 UD |
1140 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
1141 | ||
4e648ea3 UD |
1142 | * stdlib/cxa_finalize.c (__cxa_finalize): Don't call |
1143 | UNREGISTER_ATFORK if d == NULL. | |
1144 | ||
2c008571 UD |
1145 | * catgets/nl_types.h: Remove __THROW marker from cancellation points. |
1146 | * dirent/dirent.h: Likewise. | |
1147 | * dlfcn/dlfcn.h: Likewise. | |
1148 | * grp/grp.h: Likewise. | |
1149 | * iconv/iconv.h: Likewise. | |
1150 | * io/fcntl.h: Likewise. | |
1151 | * io/ftw.h: Likewise. | |
1152 | * libio/stdio.h: Likewise. | |
1153 | * misc/sys/mman.h: Likewise. | |
1154 | * misc/sys/select.h: Likewise. | |
1155 | * misc/sys/syslog.h: Likewise. | |
1156 | * misc/sys/uio.h: Likewise. | |
1157 | * posix/spawn.h: Likewise. | |
1158 | * posix/unistd.h: Likewise. | |
1159 | * posix/sys/wait.h: Likewise. | |
1160 | * pwd/pwd.h: Likewise. | |
1161 | * resolv/netdb.h: Likewise. | |
1162 | * rt/aio.h: Likewise. | |
1163 | * shadow/shadow.h: Likewise. | |
1164 | * signal/signal.h: Likewise. | |
1165 | * socket/sys/socket.h: Likewise. | |
1166 | * stdlib/stdlib.h: Likewise. | |
1167 | * streams/stropts.h: Likewise. | |
1168 | * string/string.h: Likewise. | |
1169 | * sysdeps/gnu/utmpx.h: Likewise. | |
1170 | * sysvipc/sys/msg.h: Likewise. | |
1171 | * termios/termios.h: Likewise. | |
1172 | * time/time.h: Likewise. | |
1173 | * wcsmbs/wchar.h: Likewise. | |
1174 | * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable | |
1175 | functions. | |
1176 | * misc/daemon.c: Likewise. | |
1177 | * sysdeps/generic/backtracesymsfd.c: Likewise. | |
1178 | * sysdeps/generic/check_fds.c: Likewise. | |
1179 | * sysdeps/unix/sysv/linux/gethostid.c: Likewise. | |
1180 | * sysdeps/unix/sysv/linux/not-cancel.h: New file. | |
1181 | * sysdeps/generic/not-cancel.h: New file. | |
1182 | * csu/Makefile (distribute): Add not-cancel.h. | |
1183 | * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. | |
1184 | * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE | |
1185 | for assert.c and assert-perr.c to include <fatal-prepare.h>. | |
1186 | * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. | |
1187 | ||
1188 | * sysdeps/posix/remove.c (remove): Rewrite. No need to restore | |
1189 | errno and unlink first. | |
1190 | ||
1191 | * io/ftw.c (ftw_dir): In all places assume fchdir is available. | |
1192 | ||
1193 | 2003-04-18 Ulrich Drepper <drepper@redhat.com> | |
1194 | ||
1195 | * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use | |
1196 | INTERNAL_SYSCALL instead of INLINE_SYSCALL. | |
1197 | ||
aae9d42b UD |
1198 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
1199 | ||
7c2842bf UD |
1200 | * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. |
1201 | ||
1202 | * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. | |
1203 | * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not | |
1204 | replace. | |
1205 | ||
aae9d42b UD |
1206 | * signal/Makefile (tests): Add tst-sigsimple. |
1207 | * signal/tst-sigsimple.c: New file. | |
1208 | ||
94c24227 UD |
1209 | 2003-04-16 Jakub Jelinek <jakub@redhat.com> |
1210 | ||
1211 | * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and | |
1212 | tst-tls10.h. | |
1213 | (tests): Add tst-tls1[0-2]. | |
1214 | (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. | |
1215 | ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. | |
1216 | ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. | |
1217 | ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. | |
1218 | ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. | |
1219 | ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. | |
1220 | ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. | |
1221 | * elf/tst-tls10.c: New test. | |
1222 | * elf/tst-tls11.c: New test. | |
1223 | * elf/tst-tls12.c: New test. | |
1224 | * elf/tst-tls10.h: New file. | |
1225 | * elf/tst-tlsmod7.c: New file. | |
1226 | * elf/tst-tlsmod8.c: New file. | |
1227 | * elf/tst-tlsmod9.c: New file. | |
1228 | * elf/tst-tlsmod10.c: New file. | |
1229 | * elf/tst-tlsmod11.c: New file. | |
1230 | * elf/tst-tlsmod12.c: New file. | |
1231 | ||
1232 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1233 | ||
1234 | * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... | |
1235 | * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. | |
1236 | * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. | |
1237 | ||
ef4d5b32 UD |
1238 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
1239 | ||
94c24227 UD |
1240 | * posix/regex.h: Include <sys/types.h>. |
1241 | ||
66cd688c UD |
1242 | * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. |
1243 | The signal number must be checked. | |
89e28f65 UD |
1244 | * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. |
1245 | The signal number must be checked [PR libc/5004]. | |
1246 | ||
9e9f1f15 UD |
1247 | * sysdeps/unix/sysv/linux/system.c: If compiled without threads |
1248 | don't do anything fancy. | |
1249 | ||
1250 | * sysdeps/generic/bits/libc-lock.h: Define | |
1251 | __rtld_lock_define_initialized_recursive. | |
1252 | ||
ef4d5b32 UD |
1253 | * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry |
1254 | contacting nscd if NOT_USENSCD_NAME > 0. | |
1255 | * nss/nsswitch.c (__nss_disable_nscd): New function. | |
1256 | * nss/nsswitch.h: Declare it. | |
1257 | * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. | |
1258 | * nscd/nscd.c (main): Call __nss_disable_nscd. | |
1259 | ||
81641068 UD |
1260 | 2003-04-16 Ulrich Drepper <drepper@redhat.com> |
1261 | ||
a4de3776 UD |
1262 | * stdio-common/perror.c (perror): We don't need to set the offset |
1263 | to _IO_pos_bad, this is how streams are initialized. | |
1264 | ||
86d27307 UD |
1265 | * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. |
1266 | (time_output): If necessary, allocate new buffer for .name string if | |
1267 | padding is required. | |
1268 | ||
31dfab9e UD |
1269 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths |
1270 | before copying. This might leave holes in the list. Adjust | |
1271 | pointers if necessary. | |
1272 | (netlink_receive): Allocate only one block. | |
1273 | (free_netlink_handle): Adjust appropriately. | |
1274 | (getifaddrs): Lots of cleanups. | |
1275 | ||
1dd42dfc | 1276 | * string/test-strncpy.c (do_one_test): Mark start and stop as |
81641068 | 1277 | possibly unused. |
c9df3df9 UD |
1278 | * string/test-memchr.c: Likewise. |
1279 | * string/test-memcmp.c: Likewise. | |
1280 | * string/test-memcpy.c: Likewise. | |
1281 | * string/test-memmove.c: Likewise. | |
1282 | * string/test-memset.c: Likewise. | |
1283 | * string/test-strcat.c: Likewise. | |
1284 | * string/test-strchr.c: Likewise. | |
1285 | * string/test-strcmp.c: Likewise. | |
1286 | * string/test-strcpy.c: Likewise. | |
1287 | * string/test-strlen.c: Likewise. | |
1288 | * string/test-strncmp.c: Likewise. | |
1289 | * string/test-strpbrk.c: Likewise. | |
1290 | * string/test-strrchr.c: Likewise. | |
1291 | * string/test-strspn.c: Likewise. | |
81641068 | 1292 | |
4ab6f47c RM |
1293 | 2003-04-15 Roland McGrath <roland@redhat.com> |
1294 | ||
1295 | * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning. | |
1296 | ||
1297 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for | |
1298 | INTUSE(__register_frame_info_bases). | |
1299 | ||
162434a6 UD |
1300 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
1301 | ||
1302 | * elf/elf.h: Define AT_SYSINFO_EH_FRAME. | |
1303 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle | |
dce3db56 | 1304 | AT_SYSINFO_EH_FRAME. Adjust string width. |
162434a6 UD |
1305 | (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. |
1306 | * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): | |
1307 | Add _dl_sysinfo_eh_frame field. | |
1308 | * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. | |
1309 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj | |
1310 | variable. | |
1311 | [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases | |
1312 | if _dl_sysinfo_eh_frame is non-NULL. | |
1313 | ||
1314 | * Makeconfig (gnulib): Add -lgcc_eh. | |
1315 | ||
1316 | * config.h.in: Define HAVE_FORCED_UNWIND. | |
1317 | ||
482eb33c UD |
1318 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
1319 | ||
1320 | * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit. | |
1321 | * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. | |
1322 | ||
aa3f2410 UD |
1323 | 2003-04-15 Jakub Jelinek <jakub@redhat.com> |
1324 | ||
1325 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid | |
1326 | checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is | |
1327 | against local symbol in conflict processing. | |
1328 | ||
6087c485 UD |
1329 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
1330 | ||
1331 | * sysdeps/powerpc/bits/atomic.h | |
1332 | [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define. | |
1333 | [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined | |
1334 | as abort stub. | |
1335 | (__arch_compare_and_exchange_val_32_acq): Define. | |
1336 | (atomic_compare_and_exchange_val_acq): Define. | |
1337 | ||
a1b5424f UD |
1338 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
1339 | ||
1340 | * include/atomic.h: Pretty printing. | |
1341 | ||
52a7f7c0 UD |
1342 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
1343 | ||
1344 | * stdio-common/vfscanf.c: Add casts to avoid warnings. | |
1345 | ||
bd4f43b4 UD |
1346 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> |
1347 | ||
1348 | * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. | |
1349 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
1350 | ||
1351 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> | |
1352 | ||
1353 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and | |
1354 | POPARGS_1 to emit labels for the mov instructions. | |
1355 | ||
1356 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> | |
1357 | ||
1358 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define. | |
1359 | ||
8133a3fd RM |
1360 | 2003-04-14 Roland McGrath <roland@redhat.com> |
1361 | ||
1362 | * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence | |
1363 | compiler warning. | |
1364 | ||
1365 | * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge. | |
1366 | ||
39a46c42 UD |
1367 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
1368 | ||
1369 | * string/strxfrm.c (STRXFRM): Terminate rulearr at correct | |
1370 | position. Reported by jreiser@BitWagon.com. | |
1371 | ||
a1fb9649 UD |
1372 | 2003-04-13 Ulrich Drepper <drepper@redhat.com> |
1373 | ||
1374 | * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version. | |
1375 | * sysdeps/generic/unwind-dw2-fde.h: Likewise. | |
1376 | * sysdeps/generic/unwind-dw2.c: Likewise. | |
1377 | * sysdeps/generic/unwind-pe.h: Likewise. | |
1378 | ||
6a1aff69 AO |
1379 | 2003-04-13 Alexandre Oliva <aoliva@redhat.com> |
1380 | ||
1381 | * sysdeps/unix/sysv/linux/mips/profil-counter: New. | |
1382 | * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. | |
1383 | * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. | |
1384 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. | |
1385 | (mcontext_t): Make it match the 32-bit mips kernel in o32. | |
1386 | * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from | |
1387 | the mips and mips64 headers. | |
1388 | (struct user): Port to n32/n64. | |
1389 | ||
7cc1894c UD |
1390 | 2003-04-12 Ulrich Drepper <drepper@redhat.com> |
1391 | ||
1392 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to | |
1393 | avoid warning. | |
1394 | ||
1395 | * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If | |
1396 | __ASSUME_VSYSCALL is defined don't add restorer. | |
1397 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1398 | __ASSUME_VSYSCALL for 2.5.53. | |
1399 | ||
09d65ff3 UD |
1400 | 2003-04-11 Ulrich Drepper <drepper@redhat.com> |
1401 | ||
1402 | * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. | |
1403 | Remove HAVE_CANCELBUF code. Replace with code using the new | |
1404 | initializers for unwind-based cleanup handling. | |
1405 | * sysdeps/generic/unwind.h: Update from latest gcc version. | |
1406 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few | |
1407 | places to allow unwind data generation. | |
1408 | * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. | |
1409 | * sysdeps/x86_64/bits/setjmp.h: Likewise. | |
1410 | * sysdeps/sh/bits/setjmp.h: Likewise. | |
1411 | * sysdeps/powerpc/bits/setjmp.h: Likewise. | |
1412 | * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. | |
1413 | * sysdeps/alpha/bits/setjmp.h: Likewise. | |
1414 | ||
0dc44b51 RM |
1415 | 2003-04-11 Roland McGrath <roland@redhat.com> |
1416 | ||
1417 | * csu/tst-empty.c: New file. | |
1418 | * csu/Makefile (tests, tests-static): Add it. | |
1419 | ||
52a5e975 RM |
1420 | 2003-04-11 Jakub Jelinek <jakub@redhat.com> |
1421 | ||
9fb0cae8 RM |
1422 | * string/test-strcmp.c (do_random_tests): Test whether return value |
1423 | has been promoted to wordsize if the ABI requires caller to do so. | |
1424 | * string/test-strncmp.c (do_random_tests): Likewise. | |
1425 | * string/test-memcmp.c (do_random_tests): Likewise. | |
1426 | ||
1427 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN | |
1428 | before returning. | |
1429 | ||
b35fce97 RM |
1430 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
1431 | (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL | |
1432 | is not defined, but the prctl constants are. | |
1433 | ||
52a5e975 RM |
1434 | * string/tester.c (test_strcmp): Fix a typo. |
1435 | ||
539f1d28 UD |
1436 | 2003-04-09 Ulrich Drepper <drepper@redhat.com> |
1437 | ||
1438 | * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. | |
1439 | * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. | |
1440 | ||
c9efbeda AO |
1441 | 2003-04-08 Alexandre Oliva <aoliva@redhat.com> |
1442 | ||
1443 | * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on | |
1444 | NewABI. | |
1445 | (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on | |
1446 | NewABI. | |
1447 | * sysdeps/mips/mips64/memcpy.S: Adjust register naming | |
1448 | conventions. | |
1449 | * sysdeps/mips/mips64/memset.S: Likewise. | |
1450 | * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: | |
1451 | Use t0 instead of t4 as temporary. | |
1452 | ||
cb4d04cd UD |
1453 | 2003-04-07 Ulrich Drepper <drepper@redhat.com> |
1454 | ||
1455 | * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use | |
1456 | feof_unlocked instead of feof. | |
1457 | (add_dir): Ignore trailing whitespace. | |
1458 | ||
0a7cfefb RM |
1459 | 2003-04-07 Jakub Jelinek <jakub@redhat.com> |
1460 | ||
1461 | * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to | |
1462 | sum of SIZE1 and SIZE2 arguments. | |
1463 | ||
e8b0d4a1 UD |
1464 | 2003-04-06 Ulrich Drepper <drepper@redhat.com> |
1465 | ||
1466 | * iconv/iconv_prog.c (process_block): Don't print message about | |
1467 | invalid input if the -c option is used. | |
1468 | (main): Correctly append IGNORE string for -c option. | |
1469 | ||
e87d07a0 RM |
1470 | 2002-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1471 | ||
1472 | * sysdeps/sh/bits/atomic.h: Moved to ... | |
1473 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. | |
1474 | (__arch_compare_and_exchange_val_*_acq): Add parens around macro | |
e8b0d4a1 | 1475 | arguments. |
e87d07a0 RM |
1476 | (atomic_bit_set, atomic_bit_test_set): Likewise. |
1477 | (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument | |
1478 | twice. | |
1479 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
1480 | ||
24ff6479 RM |
1481 | 2003-04-06 Roland McGrath <roland@redhat.com> |
1482 | ||
1483 | * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register | |
1484 | restoration as done for setcontext yesterday. | |
1485 | ||
efedd9cf UD |
1486 | 2003-04-06 Jakub Jelinek <jakub@redhat.com> |
1487 | ||
1488 | * elf/rtld.c: Revert 2003-03-14 change. | |
1489 | * elf/dl-conflict.c (_dl_resolve_conflicts): Move | |
1490 | #if ! ELF_MACHINE_NO_RELA conditional into the routine. | |
1491 | ||
abefbc51 UD |
1492 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
1493 | ||
a9f17952 UD |
1494 | * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999]. |
1495 | ||
abefbc51 UD |
1496 | * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): |
1497 | Always initialize *signgamp before returning an error. | |
1498 | ||
a5392bed UD |
1499 | 2003-04-05 Roland McGrath <roland@redhat.com> |
1500 | ||
1501 | * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing | |
1502 | below the stack pointer even if switching to the same context we are | |
1503 | running right now. | |
1504 | ||
ee6bf14d UD |
1505 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
1506 | ||
a5392bed UD |
1507 | * catgets/gencat.c (read_input_file): Make sure that \n is not |
1508 | alone on the line before testing for continuation. | |
1509 | ||
1510 | * math/test-tgmath.c (compile_test): Initialize c. | |
ee6bf14d | 1511 | |
743f1874 AO |
1512 | 2003-04-05 Alexandre Oliva <aoliva@redhat.com> |
1513 | ||
1514 | * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. | |
1515 | * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. | |
1516 | * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available | |
1517 | on mips n32. | |
ee6bf14d | 1518 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why |
743f1874 AO |
1519 | XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data |
1520 | structure on n32 as well. | |
1521 | * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant | |
1522 | data types on n32 and n64. | |
1523 | ||
54e0138f UD |
1524 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
1525 | ||
b4068b0a UD |
1526 | * libio/fileops.c (_IO_new_file_fopen): Don't free step data right |
1527 | after getting them. | |
1528 | ||
54e0138f UD |
1529 | * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If |
1530 | HAVE_register_atfork_malloc is defined use __register_atfork_malloc | |
1531 | instead of __register_atfork. | |
1532 | ||
d0f534e9 RM |
1533 | 2003-04-05 Jakub Jelinek <jakub@redhat.com> |
1534 | ||
1535 | * stdio-common/reg-printf.c (__register_printf_function): Calloc | |
1536 | instead of malloc __printf_arginfo_table and __printf_function_table. | |
1537 | Reported by John Reiser <jreiser@BitWagon.com>. | |
1538 | ||
beb03cee RM |
1539 | 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com> |
1540 | ||
1541 | * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations. | |
1542 | * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. | |
1543 | ||
1544 | * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before | |
1545 | defining. | |
1546 | ||
26b54a6b AO |
1547 | 2003-04-04 Alexandre Oliva <aoliva@redhat.com> |
1548 | ||
1549 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust | |
1550 | for n64 abi. | |
1551 | ||
ff084b87 RM |
1552 | 2003-04-03 Roland McGrath <roland@redhat.com> |
1553 | ||
1554 | * configure.in: Fix up use of compilation flags to match the build: | |
1555 | For .s files, $ASFLAGS; | |
1556 | For .S files, $CPPFLAGS $ASFLAGS; | |
1557 | For .c files, $CFLAGS $CPPFLAGS; | |
1558 | when linking, add $LDFLAGS. | |
1559 | * configure: Regenerated. | |
1560 | ||
dd59050d UD |
1561 | 2003-04-03 Jakub Jelinek <jakub@redhat.com> |
1562 | ||
1563 | * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test | |
1564 | for atomic_compare_and_exchange_bool_acq failure. | |
1565 | ||
148bb057 UD |
1566 | 2003-04-03 Ulrich Drepper <drepper@redhat.com> |
1567 | ||
1568 | * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, | |
1569 | _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and | |
1570 | _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. | |
1571 | Remove declaration of pthread_atfork. | |
1572 | ||
d903678a UD |
1573 | 2003-04-02 Ulrich Drepper <drepper@redhat.com> |
1574 | ||
fab07ed6 UD |
1575 | * locale/iso-639.def: Add many more languages from the current ISO 639. |
1576 | ||
d903678a UD |
1577 | * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. |
1578 | * sysdeps/generic/semtimedop.c: New file. | |
1579 | * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. | |
1580 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. | |
1581 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
1582 | * sysvipc/Makefile (routines): Add semtimedop. | |
1583 | * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. | |
1584 | * sysvipc/sys/sem.h: Declare semtimedop. | |
1585 | ||
42607429 RM |
1586 | 2003-04-02 Daniel Jacobowitz <drow@mvista.com> |
1587 | ||
1588 | * configure.in: Check for __register_frame_info in both | |
1589 | -lgcc and -lgcc_eh. | |
1590 | * configure: Regenerated. | |
1591 | ||
a95ced3e RM |
1592 | 2003-04-01 Roland McGrath <roland@redhat.com> |
1593 | ||
1594 | * scripts/abilist.awk: Allow dots in soname suffix. | |
1595 | ||
1596 | * scripts/abilist.awk (emit): Fix bailout condition. | |
1597 | ||
fbb7fc75 UD |
1598 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
1599 | ||
9a197dcc RM |
1600 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the |
1601 | IA-64 version. | |
1602 | ||
fbb7fc75 UD |
1603 | * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp |
1604 | register as input to asm. | |
1605 | ||
4b1a1328 UD |
1606 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
1607 | ||
1608 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo. | |
1609 | ||
73588175 AJ |
1610 | 2003-04-01 Andreas Jaeger <aj@suse.de> |
1611 | ||
1612 | * configure.in: Output as/ld as name if version is too old. | |
1613 | ||
640f0119 RM |
1614 | 2003-03-31 Daniel Jacobowitz <drow@mvista.com> |
1615 | ||
1616 | * configure.in: Don't require an installed C library in the test | |
1617 | for ".set" assembler support. | |
640f0119 RM |
1618 | |
1619 | 2003-03-31 Roland McGrath <roland@redhat.com> | |
1620 | ||
1621 | * signal/tst-sigset.c: New file. | |
1622 | * signal/Makefile (tests): Add it. | |
1623 | ||
582b54aa UD |
1624 | 2003-03-31 Ulrich Drepper <drepper@redhat.com> |
1625 | ||
1626 | * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. | |
1627 | * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. | |
1628 | * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. | |
1629 | * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. | |
1630 | (__SIGRTMAX): Adjust accordingly. | |
1631 | * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define | |
1632 | second compatibility symbol set. | |
1633 | * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. | |
1634 | ||
0c2601fa AS |
1635 | 2003-03-31 Andreas Schwab <schwab@suse.de> |
1636 | ||
1637 | * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test): | |
1638 | Define. | |
1639 | (atomic_decrement_and_test): Fix test. | |
1640 | ||
0a9d1b3b RM |
1641 | 2003-03-31 Jakub Jelinek <jakub@redhat.com> |
1642 | ||
1643 | * sysdeps/sparc/sparc32/bits/atomic.h: New file. | |
1644 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. | |
1645 | * sysdeps/sparc/sparc64/bits/atomic.h: New file. | |
1646 | * sysdeps/sparc/sparc32/atomicity.h: Removed. | |
1647 | * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. | |
1648 | * sysdeps/sparc/sparc64/atomicity.h: Removed. | |
1649 | ||
9ec8bbb1 RM |
1650 | 2003-03-30 Roland McGrath <roland@redhat.com> |
1651 | ||
d692f3f8 RM |
1652 | * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. |
1653 | ||
9ec8bbb1 RM |
1654 | * intl/po2test.sed: Anchor substitution regexps to fix last change. |
1655 | ||
f8278d5d RM |
1656 | 2003-03-29 Paolo Bonzini <bonzini@gnu.org> |
1657 | ||
582b54aa UD |
1658 | * intl/po2test.sed: Unify the transformations for msgid and msgstr |
1659 | and remove a useless s/// command. | |
f8278d5d | 1660 | |
266227ab UD |
1661 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
1662 | ||
1663 | * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" | |
1664 | directive into empty .prologue region to ensure that call-chain | |
1665 | is terminated even for the first instruction. | |
1666 | ||
1667 | * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom | |
1668 | to terminate call-chain right from the get-go. | |
1669 | ||
1670 | * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary | |
1671 | stop bit between compare & branch. | |
1672 | ||
ea473bad UD |
1673 | 2003-03-29 Ulrich Drepper <drepper@redhat.com> |
1674 | ||
d8592d04 UD |
1675 | * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal |
1676 | point correctly [PR libc/4993]. | |
1677 | ||
ea473bad UD |
1678 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid |
1679 | netlink_open calls if netlink is known to not be available. | |
1680 | ||
c7da3ff8 AO |
1681 | 2003-03-29 Alexandre Oliva <aoliva@redhat.com> |
1682 | ||
e077d10d | 1683 | * configure.in: Add mips64* support. |
e077d10d AO |
1684 | * sysdeps/mips/bits/endian.h: Make it bi-endian. |
1685 | * sysdeps/mips/mipsel/bits/endian.h: Removed. | |
1686 | * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. | |
1687 | * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. | |
1688 | * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. | |
1689 | * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. | |
1690 | * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. | |
1691 | * sysdeps/mips/Implies: Moved wordsize-32 to... | |
1692 | * sysdeps/mips/mips32/Implies: New file. | |
1693 | * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, | |
1694 | ret_NOERRNO): New. | |
1695 | (ret, PSEUDO_END): Moved past END. | |
1696 | (PSEUDO): Moved to... | |
1697 | * sysdeps/unix/mips/mips32/sysdep.h: New file. | |
1698 | * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. | |
1699 | * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. | |
1700 | * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... | |
1701 | * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. | |
1702 | * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. | |
1703 | ||
c7da3ff8 AO |
1704 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): |
1705 | Re-introduce ENTRY. | |
1706 | ||
e0c09a43 UD |
1707 | 2003-03-28 Thorsten Kukuk <kukuk@suse.de> |
1708 | ||
1709 | * sysdeps/unix/sysv/linux/ifaddrs.c: New file. | |
1710 | * inet/test-ifaddrs.c: Allow AF_PACKET. | |
1711 | * sysdeps/unix/sysv/linux/kernel-features.h: Add | |
1712 | __ASSUME_NETLINK_SUPPORT. | |
1713 | ||
129422e1 UD |
1714 | 2003-03-28 Ulrich Drepper <drepper@redhat.com> |
1715 | ||
1716 | * elf/vismain.c (do_test): Comment out tests which fail in the moment. | |
1717 | ||
5972c58b RM |
1718 | 2003-03-26 H.J. Lu <hjl@gnu.org> |
1719 | ||
1720 | * elf/vismod.h (getvarlocal1): Return const char **. | |
1721 | (getvarinmod1): Likewise. | |
1722 | (getvaritcpt1): Likewise. | |
1723 | (getvarlocal2): Likewise. | |
1724 | (getvarinmod2): Likewise. | |
1725 | (getvaritcpt2): Likewise. | |
1726 | (getvaritcpt3): Likewise. | |
1727 | * elf/vismain.c (do_test): Adjusted. | |
1728 | * elf/vismod1.c (getvarlocal1): Return address. | |
1729 | (getvarinmod1): Likewise. | |
1730 | (getvaritcpt1): Likewise. | |
1731 | * elf/vismod2.c (getvarlocal2): Likewise. | |
1732 | (getvarinmod2): Likewise. | |
1733 | (getvaritcpt2): Likewise. | |
1734 | * elf/vismod3.c (getvaritcpt3): Likewise. | |
1735 | ||
7e30918b RM |
1736 | 2003-03-28 Roland McGrath <roland@redhat.com> |
1737 | ||
5972c58b RM |
1738 | * elf/vismain.c (do_test): Print both addresses when they don't match. |
1739 | ||
f0248ca5 RM |
1740 | * scripts/abilist.awk: If given -v filename_regexp and/or -v |
1741 | libname_regexp when parsing names, then produce output only | |
1742 | for those matching the given regexps. In combine mode, save all | |
1743 | stanzas for a final sorting by stanza header at the end. | |
1744 | Emit a blank line between stanzas. | |
1745 | ||
7e30918b RM |
1746 | * scripts/abilist.awk: When given -v combine=1, do parse_names and |
1747 | emit a single output stream with lib name in stanza header lines. | |
1748 | ||
1749 | * scripts/abilist.awk: Emit A for all *ABS* regardless of type. | |
1750 | ||
c6acf1e3 RM |
1751 | 2003-03-27 Roland McGrath <roland@redhat.com> |
1752 | ||
1753 | * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] | |
1754 | (__arch_atomic_decrement_if_positive_64): Fix bogus definition. | |
1755 | ||
dd731d53 UD |
1756 | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1757 | ||
1758 | * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
1759 | Return old value. Make asm output reg constraint earlyclobber. | |
1760 | Renamed from... | |
1761 | (__arch_compare_and_exchange_8_acq): ... this. | |
1762 | (__arch_compare_and_exchange_val_16_acq): | |
1763 | Return old value. Make asm output reg constraint earlyclobber. | |
1764 | Renamed from... | |
1765 | (__arch_compare_and_exchange_16_acq): ... this. | |
1766 | (__arch_compare_and_exchange_val_32_acq): | |
1767 | Return old value. Make asm output reg constraint earlyclobber. | |
1768 | Renamed from... | |
1769 | (__arch_compare_and_exchange_32_acq): ... this. | |
1770 | (__arch_compare_and_exchange_val_64_acq): | |
1771 | Renamed from... | |
1772 | (__arch_compare_and_exchange_64_acq): ... this. | |
1773 | (atomic_exchange_and_add): Use local variables and | |
1774 | __arch_compare_and_exchange_val_64_acq. | |
1775 | (atomic_add): Likewise. | |
1776 | (atomic_add_negative, atomic_add_zero): Use local variables. | |
1777 | ||
d270cb11 AO |
1778 | 2003-03-28 Alexandre Oliva <aoliva@redhat.com> |
1779 | ||
3e60b5f2 AO |
1780 | * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. |
1781 | ||
a854f531 UD |
1782 | 2003-03-27 Ulrich Drepper <drepper@redhat.com> |
1783 | ||
dd731d53 | 1784 | * Makefile: Remove libmd5crypt goal. |
a854f531 | 1785 | |
41bc895a RM |
1786 | 2003-03-25 Jakub Jelinek <jakub@redhat.com> |
1787 | ||
1788 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore | |
1789 | special handling of relocations against local symbols. | |
1790 | ||
3171ae99 UD |
1791 | 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com> |
1792 | ||
1793 | * sysdeps/powerpc/bits/atomic.h | |
1794 | (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. | |
1795 | [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): | |
1796 | Define PPC64 specific version. | |
1797 | [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): | |
1798 | Change (mem) constraint to "b". | |
1799 | [__powerpc64__] (__arch_atomic_exchange_and add_64): | |
1800 | Replace addi with add. Change (value) contraint to "r". | |
1801 | Change (mem) constraint to "b". | |
1802 | [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. | |
1803 | (__arch_atomic_exchange_32): Change (mem) constraint to "b". | |
1804 | (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". | |
1805 | (__arch_atomic_decrement_if_positive_32): New macro. | |
1806 | (atomic_decrement_if_positive): Use __arch* macros. | |
1807 | ||
d5527b17 UD |
1808 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
1809 | ||
1810 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
1811 | ||
c7356b6d RM |
1812 | 2003-03-27 Roland McGrath <roland@redhat.com> |
1813 | ||
1814 | * scripts/rpm2dynsym.sh: New file. | |
1815 | * Makefile (distribute): Add it. | |
1816 | ||
28cf3058 UD |
1817 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
1818 | ||
1819 | * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's | |
1820 | ar.unat before returning. Add missing .mem.offset directives | |
1821 | to ensure file gets assembled without warnings. | |
1822 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. | |
1823 | ||
0d5420ec UD |
1824 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
1825 | ||
1826 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>: | |
1827 | Return -1 instead of 0 if clock_getres failed. | |
1828 | ||
fd54683c RM |
1829 | 2003-03-27 Roland McGrath <roland@redhat.com> |
1830 | ||
15a686af RM |
1831 | * scripts/abilist.awk: If variable `parse_names' is set, grok the file |
1832 | header lines and write out foo.symlist files for each foo.so.NN listed. | |
1833 | ||
1834 | * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. | |
1835 | This symbol is exported, and we don't want to hide it. | |
1836 | Add libc_hidden_proto instead. | |
1837 | (_IO_file_jumps): Add libc_hidden_proto. | |
1838 | * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. | |
1839 | Remove INTVARDEF. | |
1840 | * libio/fileops.c (_IO_file_jumps): Likewise. | |
1841 | * libio/stdfiles.c: Don't use INTUSE on them. | |
1842 | * libio/iofdopen.c (_IO_new_fdopen): Likewise. | |
1843 | * libio/iofopen.c (__fopen_internal): Likewise. | |
1844 | * libio/freopen.c (freopen): Likewise. | |
1845 | * libio/freopen64.c (freopen64): Likewise. | |
1846 | * libio/iovdprintf.c (_IO_vdprintf): Likewise. | |
1847 | ||
fd54683c RM |
1848 | * Makerules (check-abi) [$(enable-check-abi) = warn]: |
1849 | Ignore exit status from diff. | |
1850 | * configure.in (enable_check_abi): Document possible value "warn". | |
1851 | Change default to no for now. | |
1852 | * configure: Regenerated. | |
1853 | ||
1854 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning | |
1855 | macro calls and a #include <stub-tag.h> at the end. | |
1856 | * Makerules ($(objpfx)stubs): Tweak sed commands. | |
1857 | ||
1858 | * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in | |
1859 | caller column for *xattr syscalls, since they are in sysdeps/generic. | |
1860 | ||
1861 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid | |
1862 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid | |
1863 | ||
1864 | 2003-03-26 Roland McGrath <roland@redhat.com> | |
1865 | ||
1866 | * Makerules (check-abi-config): Use /thread instead of /tls when | |
1867 | use-thread and not just use-tls is set. | |
1868 | ||
1869 | * Makerules (update-abi): Put quotes around $(update-abi-config). | |
1870 | ||
1871 | * elf/Makefile (check-abi): Depend on check-abi-ld. | |
1872 | (update-abi): Depend on update-abi-ld. | |
1873 | ||
85763515 UD |
1874 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> |
1875 | ||
1876 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and | |
1877 | do not check for errors (unless testing for 32bit variant). | |
1878 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. | |
1879 | ||
312472fc RM |
1880 | 2003-03-27 Philip Blundell <philb@gnu.org> |
1881 | ||
1882 | * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use | |
1883 | unconditional mov. Remove nop. | |
1884 | ||
1885 | * sysdeps/unix/sysv/linux/kernel-features.h | |
1886 | (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. | |
1887 | * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code | |
1888 | when __ASSUME_VFORK_SYSCALL is defined. | |
1889 | * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for | |
1890 | __ASSUME_MMAP2_SYSCALL. | |
1891 | * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for | |
1892 | __ASSUME_REALTIME_SIGNALS. | |
1893 | ||
18ef464b UD |
1894 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
1895 | ||
1896 | * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 | |
1897 | only if DL_NO_COPY_RELOCS is not defined. | |
1898 | * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS. | |
1899 | ||
04676765 RM |
1900 | 2003-03-26 Roland McGrath <roland@redhat.com> |
1901 | ||
1902 | * sysdeps/unix/make-syscalls.sh: When an undefined syscall has | |
1903 | SOURCE=-, append its symbol names to make variable unix-stub-syscalls. | |
1904 | * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] | |
1905 | (sysdep_routines): Add stub-syscalls. | |
1906 | ($(objpfx)stub-syscalls.c): New target. | |
1907 | (generated): Add stub-syscalls.c. | |
1908 | ||
1909 | * tls.make.c: Also define use-tls according to USE_TLS macro. | |
1910 | ||
11d52c31 UD |
1911 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
1912 | ||
1913 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid | |
1914 | no-op padding element. | |
1915 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. | |
1916 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
1917 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
1918 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
1919 | ||
1920 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> | |
1921 | ||
1922 | * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error | |
1923 | condition check for the return value of getgroups32. | |
1924 | ||
1925 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> | |
1926 | ||
1927 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): | |
1928 | Fix a typo. | |
1929 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, | |
1930 | PSEUDO_END_NOERRNO): Define. | |
1931 | * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. | |
1932 | Define to PSEUDO_END. | |
1933 | ||
f064e4c5 UD |
1934 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
1935 | ||
1936 | * abilist/librt.abilist: Add new timer interfaces for 64-bit archs. | |
1937 | ||
bdb6126c UD |
1938 | 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com> |
1939 | ||
1940 | * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. | |
1941 | * iconvdata/bug-iconv4.c: New file. | |
1942 | * iconvdata/Makefile (tests): Add bug-iconv4. | |
1943 | ||
697119d6 UD |
1944 | 2003-03-25 H.J. Lu <hjl@gnu.org> |
1945 | ||
1946 | * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected | |
1947 | symbols twice. | |
1948 | (_dl_lookup_versioned_symbol): Likewise. | |
1949 | ||
859e708f RM |
1950 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> |
1951 | ||
1952 | * csu/tst-atomic.c (do_test): Add some new | |
1953 | atomic_compare_and_exchange_val_acq, atomic_add_zero, | |
1954 | atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. | |
1955 | * include/atomic.h (atomic_add_negative, atomic_add_zero): | |
1956 | Prefix local variable so that it doesn't clash with the one | |
1957 | in atomic_exchange_and_add. | |
1958 | * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * | |
1959 | pointers. | |
1960 | (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. | |
1961 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force | |
1962 | value into register. | |
1963 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): | |
1964 | Cast newval to long. | |
1965 | * sysdeps/x86_64/bits/atomic.h | |
1966 | (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to | |
1967 | long. | |
1968 | (atomic_exchange): Cast newvalue to long if sizeof == 8. | |
1969 | (atomic_exchange_and_add): Cast value to long if sizeof == 8. | |
1970 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
1971 | (atomic_bit_set): Shift 1L up in all cases to shut up warnings. | |
1972 | ||
dd410d4d RM |
1973 | 2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com> |
1974 | ||
1975 | * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order | |
1976 | bit from backtrace addresses. | |
1977 | ||
1978 | 2003-03-21 Andreas Schwab <schwab@suse.de> | |
1979 | ||
1980 | * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned | |
1981 | __chown symbols. | |
1982 | ||
6a1c6a1f RM |
1983 | 2003-03-25 Roland McGrath <roland@redhat.com> |
1984 | ||
1985 | * config.make.in (enable-check-abi): New variable from configure. | |
1986 | * configure.in (enable_check_abi): New substituted variable, | |
1987 | controlled by --{enable,disable}-check-abi (default yes). | |
1988 | * configure: Regenerated. | |
1989 | * Makerules [$(enable-check-abi) = yes] (tests): Put this condition | |
1990 | on check-abi dependency. | |
1991 | ||
fb0216dd AS |
1992 | 2003-03-26 Andreas Schwab <schwab@suse.de> |
1993 | ||
9fdf211e AS |
1994 | * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. |
1995 | * include/atomic.h: Likewise. | |
1996 | ||
fb0216dd AS |
1997 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO. |
1998 | ||
7456156f RM |
1999 | 2003-03-25 Roland McGrath <roland@redhat.com> |
2000 | ||
2001 | * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. | |
2002 | (__arch_atomic_exchange_64): New macro. | |
2003 | (atomic_exchange): Use them. | |
2004 | (__arch_atomic_exchange_and_add_32): New macro. | |
2005 | (__arch_atomic_exchange_and_add_64): New macro. | |
2006 | (atomic_exchange_and_add): Use them. | |
2007 | Original patch from Steven Munroe <sjmunroe@us.ibm.com>. | |
2008 | ||
1b12060c AO |
2009 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
2010 | ||
2011 | * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): | |
2012 | Define. | |
2013 | * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all | |
2014 | ISA tests. | |
2015 | (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. | |
2016 | (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. | |
2017 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
2018 | to decide whether to add padding. | |
2019 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
2020 | to decide whether to add padding. | |
2021 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct | |
2022 | old_kernel_sigaction): Likewise. | |
2023 | ||
09402f5b UD |
2024 | 2003-03-25 Ulrich Drepper <drepper@redhat.com> |
2025 | ||
2026 | * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and | |
2027 | atomic_add_zero were supposed to do. | |
2028 | * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero | |
2029 | to x86 behavior. | |
2030 | ||
2031 | * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. | |
2032 | This matches the new timer implementation. | |
bacb0296 UD |
2033 | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): |
2034 | Likewise. | |
2035 | * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): | |
2036 | Likewise. | |
09402f5b UD |
2037 | * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust |
2038 | timer info for what the kernel provides these days. | |
2039 | (struct sigevent): Add _tid field. | |
2040 | Define SIGEV_THREAD_ID. | |
42374865 UD |
2041 | Remove struct __pthread_attr_s forward declaration. |
2042 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. | |
2043 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
2044 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
2045 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
09402f5b UD |
2046 | |
2047 | * Versions.def (librt): Add GLIBC_2.3.3. | |
2048 | ||
2049 | * abilist/libpthread.abilist: Update for nptl. | |
2050 | ||
5e826ab5 UD |
2051 | 2003-03-24 Jon Grimm <jgrimm@us.ibm.com> |
2052 | ||
2053 | * inet/netinet/in.h: Add IPPROTO_SCTP. | |
2054 | ||
2055 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
2056 | ||
2057 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define. | |
2058 | ||
c6289757 UD |
2059 | 2003-03-24 Philip Blundell <philb@gnu.org> |
2060 | ||
2061 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): | |
2062 | Remove a1 from clobber list. | |
2063 | ||
2064 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
2065 | ||
2066 | * timezone/antarctica: Update from tzdata2003a. | |
2067 | * timezone/asia: Likewise. | |
2068 | * timezone/australasia: Likewise. | |
2069 | * timezone/europe: Likewise. | |
2070 | * timezone/iso3166.tab: Likewise. | |
2071 | * timezone/northamerica: Likewise. | |
2072 | * timezone/southamerica: Likewise. | |
2073 | * timezone/zone.tab: Likewise. | |
2074 | ||
2075 | 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> | |
2076 | ||
2077 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo. | |
2078 | ||
9eb88290 UD |
2079 | 2003-03-23 Ulrich Drepper <drepper@redhat.com> |
2080 | ||
6ea5c103 UD |
2081 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid |
2082 | unwanted expansion by definining to ret. Patch by Ian Wienand. | |
2083 | ||
9eb88290 UD |
2084 | * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of |
2085 | the parameter description to denote no error checking. Generate | |
2086 | appropriate pseudo asm code. | |
2087 | * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. | |
2088 | * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, | |
2089 | getpgrp, and getppid with 'E'. | |
2090 | * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, | |
2091 | PSEUDO_END_NOERRNO, and ret_NOERRNO. | |
2092 | * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. | |
2093 | * sysdeps/unix/sysdep.h: Likewise. | |
2094 | * sysdeps/unix/alpha/sysdep.h: Likewise. | |
2095 | * sysdeps/unix/sparc/sysdep.h: Likewise. | |
2096 | * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. | |
2097 | * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. | |
2098 | * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. | |
2099 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. | |
2100 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. | |
2101 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. | |
2102 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. | |
2103 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. | |
2104 | * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. | |
2105 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
2106 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
2107 | ||
3045a1fe RM |
2108 | 2003-03-23 Roland McGrath <roland@redhat.com> |
2109 | ||
2110 | * Makeconfig (+includes): Don't use $(last-includes). | |
2111 | ||
ad551664 AO |
2112 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
2113 | ||
2114 | * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. | |
2115 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
2116 | ||
f92abad6 RM |
2117 | 2003-03-23 Jakub Jelinek <jakub@redhat.com> |
2118 | ||
2119 | * sysdeps/alpha/fpu/libm-test-ulps: Update. | |
2120 | * sysdeps/arm/libm-test-ulps: Update. | |
2121 | * sysdeps/hppa/fpu/libm-test-ulps: Update. | |
2122 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
2123 | * sysdeps/mips/fpu/libm-test-ulps: Update. | |
2124 | * sysdeps/powerpc/nofpu/libm-test-ulps: Update. | |
2125 | * sysdeps/powerpc/fpu/libm-test-ulps: Update. | |
2126 | * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. | |
2127 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. | |
2128 | * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. | |
2129 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
2130 | * sysdeps/x86_64/fpu/libm-test-ulps: Update. | |
2131 | ||
d15851ec RM |
2132 | 2003-03-22 Roland McGrath <roland@redhat.com> |
2133 | ||
fe4610b3 RM |
2134 | * include/atomic.h: Put parens around all macro arguments. |
2135 | (__atomic_val_bysize, __atomic_bool_bysize): New macros. | |
2136 | (atomic_compare_and_exchange_val_acq): Use it. | |
2137 | (atomic_compare_and_exchange_bool_acq): Likewise. | |
2138 | (atomic_increment_and_test): Invert sense of test. | |
2139 | (atomic_decrement_and_test): Likewise. | |
2140 | * csu/tst-atomic.c: Update those tests to match. | |
d15851ec RM |
2141 | |
2142 | 2003-03-22 Jakub Jelinek <jakub@redhat.com> | |
2143 | ||
2144 | * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. | |
2145 | Don't define if __arch_compare_and_exchange_val_32_acq is not defined. | |
2146 | (atomic_compare_and_exchange_bool_acq): Add comment. Don't use | |
2147 | __oldval variable in the macro, since it might be macro argument. | |
2148 | (atomic_decrement_if_positive): Initialize __memp, remove setting | |
2149 | of non-existent variable. | |
2150 | (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. | |
2151 | * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement | |
2152 | using atomic_compare_and_exchange_val_acq. | |
2153 | (atomic_decrement_if_positive, atomic_bit_test_set): Define. | |
2154 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
2155 | Renamed from... | |
2156 | (__arch_compare_and_exchange_bool_8_acq): ... this. | |
2157 | (__arch_compare_and_exchange_val_16_acq): Renamed from... | |
2158 | (__arch_compare_and_exchange_bool_16_acq): ... this. | |
2159 | (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed | |
2160 | from... | |
2161 | (__arch_compare_and_exchange_bool_32_acq): ... this. | |
2162 | (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed | |
2163 | from... | |
2164 | (__arch_compare_and_exchange_bool_64_acq): ... this. | |
2165 | (__arch_compare_and_exchange_val_32_acq): Use __typeof for local | |
2166 | variables types instead of assuming int. | |
2167 | Change prefix of local variables to __arch. | |
2168 | * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): | |
2169 | Remove. | |
2170 | (atomic_compare_and_exchange_val_acq, | |
2171 | atomic_compare_and_exchange_bool_acq): Define. | |
2172 | ||
2173 | * csu/tst-atomic.c: New test. | |
2174 | * csu/tst-atomic-long.c: New test. | |
2175 | * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. | |
2176 | ||
2177 | * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. | |
2178 | ||
2179 | * sysdeps/s390/Versions: Add trailing newline. | |
2180 | ||
2181 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning | |
2182 | if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument. | |
2183 | ||
faa58057 AS |
2184 | 2003-03-22 Andreas Schwab <schwab@suse.de> |
2185 | ||
01e694fc AS |
2186 | * sysdeps/m68k/fpu/libm-test-ulps: Update. |
2187 | ||
faa58057 AS |
2188 | * sysdeps/m68k/m68020/bits/atomic.h: New file. |
2189 | * sysdeps/m68k/m68020/atomicity.h: Removed. | |
2190 | ||
039f839c AO |
2191 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
2192 | ||
dda8854a AO |
2193 | * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation |
2194 | data structures and macros. Protect from multiple inclusion. | |
2195 | ||
039f839c AO |
2196 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless |
2197 | typo in #if test. | |
2198 | ||
34f8ef1b AJ |
2199 | 2003-03-21 Andreas Jaeger <aj@suse.de> |
2200 | ||
2201 | * sysdeps/i386/fpu/libm-test-ulps: Update. | |
2202 | ||
2203 | * math/libm-test.inc (tgamma_test): Recompute some constants with | |
2204 | 36 digits precision. | |
2205 | (lgamma_test): Likewise. | |
2206 | (ccos_test): Likewise. | |
2207 | (ccosh_test): Likewise. | |
2208 | (clog10_test): Likewise. | |
2209 | (csin_test): Likewise. | |
2210 | (csinh_test): Likewise. | |
2211 | (ctan_test): Likewise. | |
2212 | (ctanh_test): Likewise. | |
2213 | ||
2214 | 2003-03-19 Jakub Jelinek <jakub@redhat.com> | |
2215 | ||
2216 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated. | |
2217 | ||
4baa087a RM |
2218 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2219 | ||
2220 | * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" | |
2221 | constraint to permit non-constant BIT argument. | |
2222 | (atomic_bit_test_set): Likewise. | |
2223 | * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. | |
2224 | (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. | |
2225 | For quadword case, use "i" constraint if __builtin_constant_p and < 32 | |
2226 | or "r" constraint otherwise. | |
2227 | ||
2228 | * configure.in: Move AC_PROG_CC and other program-finding before all | |
2229 | the version checks. | |
2230 | * configure: Regenerated. | |
2231 | ||
8f9fb000 AO |
2232 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
2233 | ||
2234 | * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke | |
2235 | unaligned copying of 8-15 bytes. From Chris Demetriou | |
2236 | <cgd@broadcom.com>. Fix label names. | |
2237 | * sysdeps/mips/mips64/memset.S: Fix label names. Make similar | |
2238 | change as to memcpy.S. | |
2239 | * sysdeps/mips/memcpy.S: Formatting changes. | |
2240 | * sysdeps/mips/memset.S: Likewise. | |
2241 | ||
88b3f3ed RM |
2242 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2243 | ||
2244 | * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon. | |
2245 | ||
ee7b7036 AO |
2246 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
2247 | ||
2248 | * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. | |
2249 | * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. | |
2250 | ||
a60581ad RM |
2251 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2252 | ||
2253 | * sysdeps/i386/i486/bits/atomic.h | |
2254 | (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling | |
2255 | version of the macro to avoid compile-time warnings. | |
2256 | [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above. | |
a60581ad RM |
2257 | (atomic_exchange_and_add, atomic_add): Fix name and usage of it. |
2258 | (atomic_increment, atomic_decrement): Likewise. | |
2259 | ||
4541b483 UD |
2260 | 2003-03-21 Ulrich Drepper <drepper@redhat.com> |
2261 | ||
2262 | * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. | |
2263 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
2264 | ||
2923c644 RM |
2265 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2266 | ||
2267 | * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix. | |
2268 | ||
9f07eae2 UD |
2269 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2270 | ||
2271 | * include/atomic.h: Define atomic_compare_and_exchange_val_acq, | |
2272 | atomic_compare_and_exchange_val_rel, | |
2273 | atomic_compare_and_exchange_bool_acq, and | |
2274 | atomic_compare_and_exchange_bool_rel instead of | |
2275 | atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel. | |
2276 | * sysdeps/i386/i486/bits/atomic.h: Define | |
2277 | __arch_compare_and_exchange_val_*_acq instead of | |
2278 | __arch_compare_and_exchange_*_acq. | |
2279 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2280 | * sysdeps/ia64/bits/atomic.h: Define | |
2281 | __arch_compare_and_exchange_bool_*_acq instead of | |
2282 | __arch_compare_and_exchange_*_acq. | |
2283 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
2284 | * sysdeps/s390/bits/atomic.h: Likewise. | |
2285 | * gmon/mcount.c: Adjust for new form of compare&exchange macros. | |
2286 | * malloc/set-freeres.c: Likewise. | |
2287 | * nscd/cache.c: Likewise. | |
2288 | * stdlib/cxa_finalize.c: Likewise. | |
2289 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
2290 | ||
4b5e1c5f AO |
2291 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2292 | ||
d20152e1 AO |
2293 | * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. |
2294 | * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. | |
2295 | * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. | |
2296 | ||
4b5e1c5f AO |
2297 | * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset |
2298 | into high and low halves on n64. | |
2299 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
2300 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
2301 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
2302 | ||
6848aba6 UD |
2303 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2304 | ||
2305 | * include/atomic.h (atomic_decrement_if_positive): Adjust for the | |
2306 | correct atomic_compare_and_exchange_acq semantics. | |
2307 | ||
f1f8a9ec AO |
2308 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2309 | ||
2310 | * sysdeps/mips/ieee754.h: Remove excess #endif. | |
2311 | ||
2ff16e04 RM |
2312 | 2003-03-20 Roland McGrath <roland@redhat.com> |
2313 | ||
2314 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused | |
2315 | variable. Remove superfluous memory clobber. | |
2316 | ||
2317 | * include/atomic.h: Syntax braino fix. | |
2318 | ||
2319 | * posix/tst-nice.c (do_test): Use %m formats instead of printing errno | |
2320 | in decimal. Don't bail if niced at start. Just check that nice call | |
2321 | bumps the total at all. | |
2322 | ||
53fcb885 AO |
2323 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2324 | ||
2325 | * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, | |
2326 | including pc, gp, sp and fp, as long long. | |
2327 | * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. | |
2328 | * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. | |
2329 | Add gp argument, and set gp in the jmpbuf to it. | |
2330 | * sysdeps/mips/setjmp_aux.c: Revert to o32-only. | |
2331 | ||
f79466a8 UD |
2332 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2333 | ||
2334 | * include/atomic.h: Define atomic_exchange and | |
2335 | atomic_decrement_if_positive if not already defined. Add some | |
2336 | __builtin_expect. | |
2337 | * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. | |
2338 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2339 | * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. | |
2340 | * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define | |
2341 | atomic_exchange, atomic_exchange_and_add, and | |
2342 | atomic_decrement_if_positive | |
2343 | ||
50449bed AO |
2344 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2345 | ||
bfd49d55 AO |
2346 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend |
2347 | with a single instruction. | |
2348 | ||
50449bed AO |
2349 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define |
2350 | properly for n64. | |
2351 | (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr | |
2352 | type. | |
2353 | (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf | |
2354 | Word before comparing with gotsym. Take reloc_addr argument as | |
2355 | void*. Remove the code added for the compiler to drop any | |
2356 | alignment assumptions. | |
2357 | ||
4009bf40 UD |
2358 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
2359 | ||
2360 | * Makefile (distribute): Add include/atomic.h and bits/atomic.h. | |
2361 | * include/atomic.h: New file. | |
2362 | * sysdeps/i386/i486/bits/atomic.h: New file. | |
2363 | * sysdeps/x86_64/bits/atomic.h: New file. | |
2364 | * sysdeps/s390/bits/atomic.h: New file. | |
2365 | * sysdeps/sh/bits/atomic.h: New file. | |
2366 | * sysdeps/ia64/bits/atomic.h: New file. | |
2367 | * sysdeps/powerpc/bits/atomic.h: New file. | |
2368 | * sysdeps/generic/bits/atomic.h: New file. | |
2369 | * sysdeps/i386/i486/atomicity.h: Removed. | |
2370 | * sysdeps/x86_64/atomicity.h: Removed. | |
2371 | * sysdeps/s390/s390-32/atomicity.h: Removed. | |
2372 | * sysdeps/s390/s390-64/atomicity.h: Removed. | |
2373 | * sysdeps/ia64/atomicity.h: Removed. | |
2374 | * sysdeps/powerpc/powerpc32/atomicity.h: Removed. | |
2375 | * sysdeps/powerpc/powerpc64/atomicity.h: Removed. | |
2376 | * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust | |
2377 | use of macros from atomicity.h to new names and semantics. | |
2378 | * gmon_mcount.c: Likewise. | |
2379 | * malloc/set-freeres.c: Likewise. | |
2380 | * nscd/cache.c: Likewise. | |
2381 | * stdlib/cxa_finalize.c: Likewise. | |
2382 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
2383 | ||
ce3a4adf AO |
2384 | 2003-03-19 Alexandre Oliva <aoliva@redhat.com> |
2385 | ||
4009bf40 | 2386 | * sysdeps/mips/ieee754.h: New file, suitable to replace both |
ce3a4adf AO |
2387 | ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept |
2388 | mips-specific for now. | |
2389 | ||
8c937b84 UD |
2390 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
2391 | ||
4009bf40 | 2392 | * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle |
85b5767c UD |
2393 | hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. |
2394 | * stdlib/tst-strtod.c: Add test for the bug. | |
2395 | ||
8c937b84 UD |
2396 | * posix/tst-nice.c (do_test): Remove invalid of return value. |
2397 | Don't run test if initial level != 0. | |
2398 | ||
cb8ed941 UD |
2399 | 2003-03-19 Amos Waterland <apw@us.ibm.com> |
2400 | ||
2401 | * posix/tst-nice.c: New file. | |
2402 | * posix/Makefile (tests): Add tst-nice. | |
2403 | ||
32a448ed RM |
2404 | 2003-03-18 Roland McGrath <roland@redhat.com> |
2405 | ||
94659495 RM |
2406 | * abilist: New directory of libfoo.abilist files maintained using |
2407 | scripts/merge-abilist.awk and "make update-abi" rules. | |
2408 | * Makefile (distribute): Add abilist/*.abilist. | |
2409 | * Makerules [$(build-shared) = yes] [$(subdir)] (tests): | |
2410 | Depend on check-abi. | |
2411 | ||
32a448ed RM |
2412 | * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER. |
2413 | * configure: Regenerated. | |
2414 | ||
2415 | * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name. | |
2416 | ||
dacb2bad UD |
2417 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
2418 | ||
2419 | * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK | |
2420 | correctly. | |
2421 | ||
a14b373c UD |
2422 | 2003-03-18 Steven Munroe <sjmunroe@us.ibm.com> |
2423 | ||
2424 | * sysdeps/powerpc/powerpc64/memcpy.S: New file. | |
2425 | ||
d5cb8389 UD |
2426 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
2427 | ||
2428 | * Versions.def: Add GLIBC_2.3.3 for libpthread. | |
2429 | ||
97026947 UD |
2430 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
2431 | ||
2432 | * sysdeps/generic/libc-start.c [!SHARED && | |
2433 | !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. | |
2434 | ||
98054a05 RM |
2435 | 2003-03-17 Roland McGrath <roland@redhat.com> |
2436 | ||
2437 | * include/ctype.h: Revert last change. | |
2438 | ||
0a8d8004 UD |
2439 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
2440 | ||
2441 | * argp/tst-argp1.c: Use test-skeleton.c. | |
2442 | * locale/tst-C-locale.c: Likewise. | |
2443 | ||
c27d6848 AO |
2444 | 2003-03-17 Alexandre Oliva <aoliva@redhat.com> |
2445 | ||
5a0e429d AO |
2446 | * sysdeps/mips/mips64/Implies: Move wordsize-64 to... |
2447 | * sysdeps/mips/mips64/n64/Implies: New file. | |
2448 | * sysdeps/mips/mips64/n64/Makefile: New file. | |
2449 | * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. | |
2450 | * sysdeps/mips/mips64/n32/Implies: New file. | |
2451 | * sysdeps/mips/mips64/n32/Makefile: New file. | |
2452 | * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. | |
2453 | * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. | |
2454 | * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. | |
2455 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. | |
2456 | * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. | |
2457 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. | |
2458 | * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. | |
2459 | * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. | |
2460 | * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. | |
2461 | * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. | |
2462 | * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. | |
2463 | * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. | |
2464 | * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. | |
2465 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. | |
2466 | ||
fc32835a AO |
2467 | * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use |
2468 | lib64 for mips64/n64 and lib32 for mips64/n32. | |
2469 | (ldd_rewrite_script): Needed for all mips64 configurations. | |
2470 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
2471 | * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. | |
2472 | * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file. | |
2473 | ||
c3b519b7 AO |
2474 | * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as |
2475 | well. | |
2476 | ||
c27d6848 AO |
2477 | * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process |
2478 | asm/unistd.h into asm-unistd.h. | |
2479 | * sysdeps/unix/sysv/linux/mips/configure: Generated. | |
2480 | * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing | |
2481 | of syscall list. | |
2482 | * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. | |
2483 | * sysdeps/unix/sysv/linux/mips/clone.S: Don't include | |
2484 | asm/unistd.h. | |
2485 | ||
935af0f2 AO |
2486 | * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. |
2487 | * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long | |
2488 | long type for registers on n32. | |
2489 | ||
4947b4b2 AO |
2490 | * sysdeps/mips/bits/wordsize.h: New file, appropriate for all |
2491 | 3 ABIs. | |
2492 | * sysdeps/mips/mips64/gmp-mparam.h: New file. Define | |
2493 | BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. | |
2494 | * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. | |
2495 | (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. | |
2496 | * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. | |
2497 | * sysdeps/unix/mips/brk.S: Likewise. | |
2498 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
2499 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
2500 | * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. | |
2501 | * sysdeps/mips/sys/ucontext.h: Likewise. | |
2502 | * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. | |
2503 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. | |
2504 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. | |
2505 | * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. | |
2506 | * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. | |
2507 | * sysdeps/mips/mips64/setjmp.S: Likewise. | |
2508 | * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. | |
2509 | * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for | |
2510 | 64-bit types. | |
2511 | ||
b6e2f87a UD |
2512 | 2003-03-16 Ulrich Drepper <drepper@redhat.com> |
2513 | ||
2514 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, | |
2515 | not at function level. | |
2516 | * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise. | |
2517 | ||
638bb1f3 RM |
2518 | 2003-03-15 Roland McGrath <roland@redhat.com> |
2519 | ||
8112cc70 RM |
2520 | * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t |
2521 | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. | |
2522 | * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. | |
2523 | * nis/nis_table.c (__create_ib_request): Likewise. | |
2524 | ||
eb64f8cb | 2525 | * posix/fnmatch_loop.c: Add casts for signedness. |
addc92bd | 2526 | * nss/nss_files/files-hosts.c: Likewise. |
eb64f8cb RM |
2527 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. |
2528 | * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. | |
2529 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT. | |
2530 | ||
385cce41 RM |
2531 | * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, |
2532 | get errors into the log file. | |
2533 | (libc_cv_broken_visibility_attribute): Likewise. | |
2534 | (libc_cv_broken_alias_attribute): Likewise. | |
2535 | (libc_cv_asm_weak_directive): Likewise. | |
2536 | (libc_cv_need_minus_P): Likewise. | |
2537 | (libc_cv_dot_text): Likewise. | |
2538 | (libc_cv_asm_global_directive): Likewise. | |
2539 | (libc_cv_asm_type_prefix): Likewise. | |
2540 | * configure: Regenerated. | |
2541 | ||
638bb1f3 RM |
2542 | * nscd/cache.c (cache_search): Give first arg type `request_type'. |
2543 | * nscd/nscd.h: Update decl. | |
2544 | ||
2545 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. | |
2546 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
2547 | * elf/dl-close.c (_dl_close): Likewise. | |
2548 | * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t | |
2549 | * io/fts.c (fts_build): Likewise. | |
2550 | * elf/cache.c (add_to_cache): Likewise. | |
2551 | * locale/programs/locarchive.c (show_archive_content): Likewise. | |
2552 | ||
2553 | * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. | |
2554 | ||
2555 | * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 | |
2556 | happy. | |
2557 | (__ctype_toupper_loc, __ctype_tolower_loc): Likewise. | |
2558 | ||
c04dad40 UD |
2559 | 2003-03-15 Ulrich Drepper <drepper@redhat.com> |
2560 | ||
2561 | * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux | |
2562 | code for most parts. | |
2563 | ||
124dcac8 RM |
2564 | 2003-03-15 Roland McGrath <roland@redhat.com> |
2565 | ||
7eecc0c2 RM |
2566 | * sysdeps/unix/sysv/linux/i386/system.c: Moved to ... |
2567 | * sysdeps/unix/sysv/linux/system.c: ... here. | |
2568 | (FORK): Don't #define if already #define'd. | |
2569 | * sysdeps/unix/sysv/linux/s390/system.c: File removed. | |
2570 | * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: | |
2571 | (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64. | |
2572 | ||
45e4762c RM |
2573 | * dlfcn/tst-dlinfo.c: New file. |
2574 | * dlfcn/Makefile (tests): Add tst-dlinfo. | |
2575 | ($(objpfx)tst-dlinfo): New target. | |
2576 | ||
2577 | * dlfcn/dlinfo.c: New file. | |
2578 | * dlfcn/Makefile (libdl-routines): Add it. | |
2579 | * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. | |
2580 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. | |
2581 | [__USE_GNU] (RTLD_DI_*): New enum constants. | |
2582 | [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. | |
2583 | * elf/dl-load.c (cache_rpath): New inline function. | |
2584 | (_dl_map_object): Use it. | |
2585 | (_dl_rtld_di_serinfo): New function. | |
2586 | * sysdeps/generic/ldsodefs.h: Declare it. | |
2587 | * elf/Versions (ld: GLIBC_PRIVATE): Add it. | |
2588 | ||
124dcac8 RM |
2589 | * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it. |
2590 | (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) | |
2591 | (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>. | |
2592 | (__libc_start_main): Just call the generic one for most of the work. | |
2593 | ||
2594 | * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a | |
2595 | static function by that name instead of BP_SYM (__libc_start_main). | |
2596 | [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. | |
2597 | [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. | |
2598 | [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. | |
2599 | ||
2600 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: | |
2601 | Use this macro for extra AT_* cases. | |
2602 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): | |
2603 | New macro, guts from ... | |
2604 | (__aux_init_cache): ... here, function removed. | |
2605 | (DL_PLATFORM_INIT): Don't define this. | |
2606 | ||
2607 | * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. | |
2608 | * sysdeps/powerpc/powerpc64/memset.S: Likewise. | |
2609 | ||
e993ec9a | 2610 | * Versions.def (libthread_db): Add GLIBC_2.3.3 set. |
124dcac8 | 2611 | |
39d8c1a2 RM |
2612 | 2003-03-14 Roland McGrath <roland@redhat.com> |
2613 | ||
2614 | * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it. | |
2615 | ||
c58859ce RM |
2616 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
2617 | ||
2618 | * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo. | |
2619 | ||
2620 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
2621 | sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c. | |
2622 | ||
44bc0afb AO |
2623 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
2624 | ||
882dda66 AO |
2625 | * sysdeps/mips/fpu/bits/mathdef.h: New. |
2626 | (__NO_LONG_DOUBLE_MATH): Define for o32. | |
2627 | ||
4abdb6ca AO |
2628 | * sysdeps/mips/sys/asm.h: Formatting changes. |
2629 | (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. | |
2630 | (CPADD): Define for all of them. | |
2631 | (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, | |
2632 | SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, | |
2633 | NARGSAVE): Define per ABI spec. | |
2634 | (END): Don't redefine. | |
2635 | (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, | |
2636 | LONG_SRAV): Remove duplicate definitions. | |
2637 | (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, | |
2638 | PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, | |
2639 | PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. | |
2640 | (PTR_LA): Define for all 3 ABIs. | |
2641 | ||
365eccdb AO |
2642 | * sysdeps/mips/dl-machine.h: Include sys/asm.h. |
2643 | (elf_machine_matches_host): Prevent linking of o32 and n32 | |
2644 | together. | |
2645 | (elf_machine_dynamic): Document assumption on $gp. | |
2646 | (STRINGXP, STRINGXV, STRINGV_): New macros. | |
2647 | (elf_machine_load_address): Use them to stringize PTR_LA and | |
2648 | PTR_SUBU. | |
2649 | (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS, | |
2650 | ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in... | |
2651 | (_dl_runtime_resolve): Adjust it for all 3 ABIs. | |
2652 | (__dl_runtime_resolve): Cast the symtab initializer to the | |
2653 | right type. | |
2654 | (RTLD_START): Use it. Adjust it for all 3 ABIs. | |
2655 | (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP. | |
2656 | Handle 64-bit R_MIPS_REL composite relocation and accept | |
2657 | R_MIPS_64 relocations to shift addend size to 64 bits. | |
2658 | Document assumption regarding local GOT entries. Document | |
2659 | backward-compatibility departing from the ABI behavior in | |
2660 | applying relocations that reference section symbols, no longer | |
2661 | used. Support relocations to mis-aligned offsets. | |
2662 | * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete. | |
2663 | ||
d4c803f8 AO |
2664 | * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. |
2665 | ||
84c63a76 AO |
2666 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h |
2667 | (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG. | |
2668 | * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and | |
2669 | restore_rt functions. Use them. | |
2670 | ||
44bc0afb AO |
2671 | * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't |
2672 | .set mips2 on new abis. | |
2673 | ||
564cd8b6 UD |
2674 | 2003-03-13 Ulrich Drepper <drepper@redhat.com> |
2675 | ||
2676 | * posix/getconf.c: Recognize POSIX2_SYMLINKS. | |
2677 | * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS. | |
2678 | * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS. | |
2679 | * sysdeps/posix/pathconf.c: Likewise. | |
2680 | * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. | |
2681 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
2682 | * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks. | |
2683 | ||
2684 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic | |
2685 | words. | |
2686 | ||
3be9dc8e AO |
2687 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
2688 | ||
2689 | * include/gmp.h: Include/gmp-mparam.h. | |
2690 | * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and | |
2691 | gmp-impl.h. | |
2692 | ||
a77dcecf AO |
2693 | * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if |
2694 | ELF_MACHINE_NO_RELA is set. | |
2695 | * elf/rtld.c (dl_main): No prelink support for REL-only. | |
2696 | ||
b5bac573 AO |
2697 | * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, |
2698 | FLAG_MIPS64_LIBN64): Define. | |
2699 | * elf/cache.c (print_entry): Handle mips64 n32 and n64. | |
2700 | ||
5ace1393 AO |
2701 | * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. |
2702 | * sysdeps/mips/memset.S: Likewise. | |
2703 | * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 | |
2704 | depending on the ABI. | |
2705 | ||
1b12a2cb AO |
2706 | * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): |
2707 | Don't .set mips2 on new abi. | |
2708 | (compare_and_swap): Likewise. Support 64-bit longs on n64. | |
2709 | ||
264befa8 AO |
2710 | * stdlib/fpioconst.h: Include gmp.h with angle brackets. |
2711 | ||
d8a5edc2 RM |
2712 | 2003-03-13 Roland McGrath <roland@redhat.com> |
2713 | ||
2714 | * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs | |
2715 | found. Reported by Alexandre Oliva <aoliva@redhat.com>. | |
2716 | ||
2717 | 2003-03-13 Alexandre Oliva <aoliva@redhat.com> | |
2718 | ||
2719 | * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit | |
2720 | literals long long. | |
2721 | * stdlib/fpioconst.c: Likewise. | |
2722 | * stdlib/strtod.c: Likewise. | |
2723 | ||
2724 | * sysdeps/mips/add_n.S: Use L macro for local labels. | |
2725 | * sysdeps/mips/addmul_1.S: Likewise. | |
2726 | * sysdeps/mips/lshift.S: Likewise. | |
2727 | * sysdeps/mips/memcpy.S: Likewise. | |
2728 | * sysdeps/mips/memset.S: Likewise. | |
2729 | * sysdeps/mips/mul_1.S: Likewise. | |
2730 | * sysdeps/mips/rshift.S: Likewise. | |
2731 | * sysdeps/mips/sub_n.S: Likewise. | |
2732 | * sysdeps/mips/submul_1.S: Likewise. | |
2733 | * sysdeps/mips/mips64/add_n.S: Likewise. | |
2734 | * sysdeps/mips/mips64/addmul_1.S: Likewise. | |
2735 | * sysdeps/mips/mips64/lshift.S: Likewise. | |
2736 | * sysdeps/mips/mips64/mul_1.S: Likewise. | |
2737 | * sysdeps/mips/mips64/rshift.S: Likewise. | |
2738 | * sysdeps/mips/mips64/sub_n.S: Likewise. | |
2739 | * sysdeps/mips/mips64/submul_1.S: Likewise. | |
2740 | * sysdeps/unix/mips/sysdep.h: Define L() according to ABI | |
2741 | conventions. Define END as in sys/asm.h. | |
2742 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
2743 | * sysdeps/unix/mips/wait.S: Likewise. | |
2744 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
2745 | ||
2746 | * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): | |
2747 | Cast shifted values that may be too narrow to mp_limb_t. | |
2748 | * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): | |
2749 | Likewise. | |
2750 | * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): | |
2751 | Likewise. | |
2752 | * sysdeps/ieee754/ldbl-128/ldbl2mpn.c | |
2753 | (__mpn_extract_long_double): Likewise. | |
2754 | * sysdeps/ieee754/ldbl-128/mpn2ldbl.c | |
2755 | (__mpn_construct_long_double): Likewise. | |
2756 | * sysdeps/ieee754/ldbl-96/ldbl2mpn.c | |
2757 | (__mpn_extract_long_double): Likewise. | |
2758 | * sysdeps/ieee754/ldbl-96/mpn2ldbl.c | |
2759 | (__mpn_construct_long_double): Likewise. | |
2760 | ||
6461e577 RM |
2761 | 2003-03-13 Roland McGrath <roland@redhat.com> |
2762 | ||
2763 | * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line | |
2764 | entries in the map file match too. | |
2765 | ||
6fde8d53 AJ |
2766 | 2003-03-13 Guido Guenther <agx@sigxcpu.org> |
2767 | ||
2768 | * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local | |
2769 | label .Lthread_start since current binutils don't allow branches | |
2770 | to globally visible symbols. | |
2771 | ||
b5ec5617 UD |
2772 | 2003-03-13 Jakub Jelinek <jakub@redhat.com> |
2773 | ||
2774 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, | |
2775 | ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, | |
2776 | ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. | |
2777 | (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments | |
2778 | clobbered by the syscall. | |
2779 | (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, | |
2780 | ASM_ARGS_6): Change constraints from r to index of corresponding | |
2781 | output register. | |
2782 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap | |
2783 | ptid and ctid to match kernel. | |
2784 | * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. | |
2785 | ||
3cd69852 RM |
2786 | 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com> |
2787 | ||
b5ec5617 | 2788 | * sysdeps/powerpc/powerpc64/elf/configure.in: Remove |
3cd69852 | 2789 | AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. |
b5ec5617 | 2790 | * sysdeps/powerpc/powerpc64/elf/configure: Regenerated. |
3cd69852 | 2791 | |
d63609a7 RM |
2792 | 2003-03-11 Roland McGrath <roland@redhat.com> |
2793 | ||
2794 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): | |
2795 | Check SYM_MAP rather than SYM as definedness check. | |
2796 | Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. | |
2797 | Don't handle R_PPC64_REL24 reloc. | |
2798 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
2799 | ||
2800 | * sysdeps/powerpc/powerpc64/dl-machine.h | |
2801 | [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a | |
2802 | block, so we cover all the TPREL16* flavors without 6 ||s. | |
2803 | [USE_TLS] (elf_machine_tprel): New function. | |
2804 | (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, | |
2805 | and handle TPREL16 relocs too. Return rather than break for DTPREL64. | |
2806 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
2807 | ||
b874af99 UD |
2808 | 2003-03-11 Ralf Baechle <ralf@linux-mips.org> |
2809 | ||
2810 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal | |
2811 | instead of jalr to invoke subroutine so restoring the $gp register | |
2812 | will work properly. | |
2813 | ||
6c477888 UD |
2814 | 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2815 | ||
2816 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define | |
2817 | to __NR_pread if not defined. | |
2818 | (__NR_pwrite64): Define to __NR_pwrite if not defined. | |
2819 | ||
f006d3a0 UD |
2820 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
2821 | ||
2822 | * sysdeps/unix/sysv/linux/ia64/system.c: New file. | |
2823 | * sysdeps/unix/sysv/linux/kernel-features.h | |
2824 | (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with | |
2825 | kernel >= 2.5.64. | |
2826 | ||
b33e6163 RM |
2827 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
2828 | ||
2829 | * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1, | |
2830 | allocate space even for the trailing '/'. | |
2831 | Reported by John Reiser <jreiser@BitWagon.com>. | |
2832 | ||
2833 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, | |
2834 | ASM_CLOBBERS_6): Define. | |
2835 | (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. | |
2836 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments | |
2837 | to match IA-32 order. | |
2838 | * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment. | |
2839 | ||
19afbd2c RM |
2840 | 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com> |
2841 | ||
f006d3a0 | 2842 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. |
19afbd2c RM |
2843 | Copy extra params for NPTL to registers used in clone syscall. |
2844 | ||
ce2290cb RM |
2845 | 2003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2846 | ||
2847 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system | |
2848 | call names for pread and pwrite. | |
2849 | ||
e48f9638 RM |
2850 | 2003-03-10 Roland McGrath <roland@redhat.com> |
2851 | ||
d38c777e RM |
2852 | * dlfcn/Makefile (libdl-routines): Add dladdr1. |
2853 | * dlfcn/dladdr1.c: New file. | |
2854 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. | |
2855 | [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. | |
2856 | * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and | |
2857 | a const ElfNN_Sym ** to fill in. | |
2858 | * include/dlfcn.h: Update decl. Include <link.h>. | |
2859 | * dlfcn/dladdr.c (dladdr): Update caller. | |
2860 | * malloc/mtrace.c (tr_where): Likewise. | |
2861 | * sysdeps/generic/elf/backtracesyms.c: Likewise. | |
2862 | * sysdeps/generic/elf/backtracesymsfd.c: Likewise. | |
2863 | * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. | |
2864 | * Versions.def (libdl): Define GLIBC_2.3.3 set. | |
2865 | ||
e48f9638 RM |
2866 | * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for |
2867 | assembler command. | |
2868 | * sysdeps/unix/Makefile (compile-syscall): New variable. | |
2869 | Pass -g0 to compiler for assembling syscall stubs from stdin. | |
2870 | ||
2871 | * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] | |
2872 | (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): | |
2873 | Define these to do nothing. | |
2874 | ||
2875 | * configure.in: New check for -g on .S files. | |
2876 | * configure: Regenerated. | |
2877 | * config.make.in (have-cpp-asm-debuginfo): New variable. | |
2878 | * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. | |
2879 | * Makeconfig (ASFLAGS): New variable, if undefined and | |
2880 | $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). | |
2881 | * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS). | |
2882 | ||
fcc60e3b RM |
2883 | 2003-03-09 Roland McGrath <roland@redhat.com> |
2884 | ||
2885 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args | |
2886 | used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>. | |
2887 | ||
e51838c8 UD |
2888 | 2003-03-09 Ulrich Drepper <drepper@redhat.com> |
2889 | ||
2890 | * po/fi.po: Update from translation team. | |
8049ef78 | 2891 | * po/ca.po: Likewise. |
c37cae9e | 2892 | * po/da.po: Likewise. |
e51838c8 | 2893 | |
05ae97d8 UD |
2894 | 2003-03-08 Ulrich Drepper <drepper@redhat.com> |
2895 | ||
2896 | * rt/tst-aio7.c (do_test): Change BYTES into a #define. | |
2897 | ||
b6b9ee9b UD |
2898 | 2003-03-07 Ulrich Drepper <drepper@redhat.com> |
2899 | ||
fcc60e3b | 2900 | * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too. |
35457070 | 2901 | |
b6b9ee9b UD |
2902 | * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment. |
2903 | ||
6326c93c RM |
2904 | 2003-03-07 Roland McGrath <roland@redhat.com> |
2905 | ||
2906 | * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. | |
2907 | * sysdeps/s390/s390-64/sysdep.h (L): Likewise. | |
2908 | ||
2090a1d0 AJ |
2909 | 2003-03-04 Guido Guenther <agx@sigxcpu.org> |
2910 | ||
2911 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded | |
2912 | stubs, we have INLINE_SYSCALL. | |
2913 | * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, | |
2914 | MAP_NONBLOCK. | |
2915 | ||
696efd11 RM |
2916 | 2003-03-06 Roland McGrath <roland@redhat.com> |
2917 | ||
2918 | * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1 | |
2919 | permanent extent and add a comment about testing its implicit teardown. | |
2920 | ||
f1a56a2b RM |
2921 | 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2922 | ||
2923 | * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. | |
2924 | ||
49400d0e UD |
2925 | 2003-03-05 Ulrich Drepper <drepper@redhat.com> |
2926 | ||
2927 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix | |
2928 | reversed __builtin_expect expectation. | |
2929 | ||
5fc728a2 RM |
2930 | 2003-03-05 Roland McGrath <roland@redhat.com> |
2931 | ||
2932 | * stdio-common/sscanf.c: Use prototype defn with ... syntax. | |
2933 | * libio/swscanf.c: Likewise. | |
2934 | * libio/swprintf.c: Likewise. | |
2935 | ||
510793fd RM |
2936 | 2003-03-04 Roland McGrath <roland@redhat.com> |
2937 | ||
790eed83 RM |
2938 | * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>. |
2939 | (elf_machine_rela): Always use RESOLVE_MAP, needed for | |
2940 | R_PPC64_JMP_SLOT as well as TLS cases. | |
2941 | (BIT_INSERT): Move parenthesis where it ought to have been. | |
2942 | Reported by Steven Munroe <sjmunroe@us.ibm.com>. | |
2943 | ||
510793fd RM |
2944 | * posix/confstr.c (confstr): Correct STRING_LEN values for |
2945 | _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing | |
2946 | break. Reported by Alexandre Julliard <julliard@winehq.com>. | |
2947 | ||
0de28d5c UD |
2948 | 2003-03-04 Jakub Jelinek <jakub@redhat.com> |
2949 | ||
2950 | * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. | |
2951 | ||
269e8af7 UD |
2952 | 2003-03-04 Ulrich Drepper <drepper@redhat.com> |
2953 | ||
e2b80a58 UD |
2954 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new |
2955 | clone parameters. | |
2956 | ||
269e8af7 UD |
2957 | * po/sv.po: Update from translation team. |
2958 | ||
330a187b | 2959 | 2003-03-04 Andreas Jaeger <aj@suse.de> |
269e8af7 | 2960 | Ulrich Drepper <drepper@redhat.com> |
330a187b AJ |
2961 | |
2962 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments. | |
2963 | ||
4f6f0a8f UD |
2964 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
2965 | ||
cc775edf UD |
2966 | * sysdeps/generic/dl-sysdep.h: Add double include protection. |
2967 | ||
75081542 UD |
2968 | * po/tr.po: Update from translation team. |
2969 | ||
6fffb9a2 UD |
2970 | * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there |
2971 | are holes between the segments. Only call mprotect to set | |
2972 | proection to PROT_NONE if there are some. | |
2973 | ||
2974 | * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. | |
2975 | Update comment. | |
2976 | ||
4f6f0a8f UD |
2977 | * include/sched.h (__clone2): Use ... instead of adding all the |
2978 | new parameters. | |
2979 | ||
ce78b460 RM |
2980 | 2003-03-03 Roland McGrath <roland@redhat.com> |
2981 | ||
868b9d6a RM |
2982 | * elf/dl-load.c (struct filebuf): Fix typo in last change. |
2983 | ||
ce78b460 RM |
2984 | * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define |
2985 | PI_STATIC_AND_HIDDEN. | |
ce78b460 | 2986 | |
625f22fc UD |
2987 | 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au> |
2988 | ||
2989 | * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone | |
2990 | flags. | |
2991 | * include/sched.h: Update clone2 prototype. | |
2992 | ||
71502ebe UD |
2993 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
2994 | ||
2995 | * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition. | |
2996 | (llrint): Use it to correct return type. | |
2997 | (lrint): Likewise. | |
2998 | (lround): Likewise. | |
2999 | (llround): Likewise. | |
3000 | ||
d15a8404 UD |
3001 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
3002 | ||
ca97fb53 UD |
3003 | * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640 |
3004 | byte filebuf size. | |
3005 | ||
1739d268 UD |
3006 | * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor |
3007 | if ccs parameter isn't valid. Reported by Andreas Schwab. | |
3008 | ||
3009 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3010 | ||
3011 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support | |
3012 | for system call numbers > 255. | |
3013 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, | |
3014 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
3015 | INTERNAL_SYSCALL): Likewise. | |
3016 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. | |
3017 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, | |
3018 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
3019 | INTERNAL_SYSCALL): Likewise. | |
3020 | ||
3021 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3022 | ||
3023 | * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv | |
3024 | array if it is the initial dtv. | |
3025 | ||
3026 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> | |
3027 | ||
3028 | * po/es.po: Update from translation team. | |
3029 | * po/fr.po: Likewise. | |
71502ebe | 3030 | * po/gl.po: Likewise. |
1739d268 UD |
3031 | * po/sk.po: Likewise. |
3032 | * po/sv.po: Likewise. | |
3033 | ||
d15a8404 UD |
3034 | * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. |
3035 | * misc/sys/mman.h: Add prototype for remap_file_pages. | |
3036 | * sysdeps/generic/remap_file_pages.c: New file. | |
3c531a87 | 3037 | * misc/Makefile (routines): Add remap_file_pages. |
a05be180 | 3038 | * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages. |
d15a8404 UD |
3039 | |
3040 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE | |
3041 | and MAP_NONBLOCK. | |
3042 | * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. | |
3043 | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise | |
3044 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. | |
3045 | * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. | |
3046 | * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. | |
3047 | * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. | |
3048 | * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. | |
3049 | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. | |
3050 | ||
ea6a015b RM |
3051 | 2003-03-03 Roland McGrath <roland@redhat.com> |
3052 | ||
a49f5762 RM |
3053 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. |
3054 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3055 | * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from | |
3056 | argument type. | |
3057 | * sysdeps/ia64/dl-lookupcfg.h: Update decl. | |
3058 | ||
3059 | * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. | |
3060 | * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. | |
3061 | * locale/Versions (libc: GLIBC_2.3): Move those to ... | |
3062 | * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. | |
3063 | * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. | |
3064 | * Versions.def (libc): Add GLIBC_2.3.3 set. | |
3065 | ||
ea6a015b RM |
3066 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg. |
3067 | * sysdeps/ia64/dl-machine.h: Update decl. | |
3068 | ||
62584540 AJ |
3069 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
3070 | ||
d15a8404 | 3071 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace. |
62584540 | 3072 | |
78c3fb45 RM |
3073 | 2003-03-02 Roland McGrath <roland@redhat.com> |
3074 | ||
3075 | * scripts/abilist.awk: Reject data items with apparent 0 size. | |
3076 | ||
3077 | * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar | |
3078 | after foo.* as if it were a duplicate. | |
3079 | ||
3080 | * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk. | |
3081 | ||
885bafa1 UD |
3082 | 2003-03-02 Ulrich Drepper <drepper@redhat.com> |
3083 | ||
1be3d664 UD |
3084 | * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes. |
3085 | ||
885bafa1 UD |
3086 | * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. |
3087 | * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only | |
3088 | if not already defined. Use SYSDEP_GETRES to allow other files to | |
3089 | provide alternative implementations. | |
3090 | * sysdeps/unix/sysv/linux/clock_getres.c: New file | |
3091 | * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only | |
3092 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
3093 | provide alternative implementations. | |
3094 | * sysdeps/unix/sysv/linux/clock_gettime.c: New file. | |
3095 | * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only | |
3096 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
3097 | provide alternative implementations. | |
3098 | * sysdeps/unix/sysv/linux/clock_settime.c: New file. | |
3099 | * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow | |
3100 | other files to provide alternative implementations. Rearrange | |
3101 | tests for invalid parameters. | |
3102 | * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. | |
3103 | * sysdeps/unix/sysv/linux/sysconf.c: New file. | |
3104 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
78c3fb45 | 3105 | __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up. |
885bafa1 UD |
3106 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define |
3107 | _POSIX_MONOTONIC_CLOCK. | |
3108 | ||
bb0ddc2f RM |
3109 | 2003-03-02 Roland McGrath <roland@redhat.com> |
3110 | ||
8f3846a9 RM |
3111 | * scripts/merge-abilist.awk: More checks for bogus input. |
3112 | Uniquify duplicate config names. | |
3113 | ||
3114 | * scripts/abilist.awk: Don't distinguish weak symbols in normal output. | |
3115 | ||
7551556f RM |
3116 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed |
3117 | from dl_reloc_overflow, make global. | |
3118 | (__process_machine_rela): Update callers. | |
3119 | * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. | |
3120 | Add attribute_hidden to __process_machine_rela decl. | |
3121 | (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs. | |
3122 | ||
3a601d31 RM |
3123 | * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const |
3124 | variable. | |
3125 | ||
bb0ddc2f RM |
3126 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): |
3127 | Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. | |
3128 | (elf_machine_rela): Clean up. | |
3129 | ||
3130 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. | |
3131 | ||
3132 | PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. | |
3133 | * sysdeps/powerpc/powerpc32/elf/configure.in: New file. | |
3134 | * sysdeps/powerpc/powerpc32/elf/configure: New generated file. | |
3135 | * elf/tls-macros.h [__powerpc__ && !__powerpc64__] | |
3136 | (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. | |
3137 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support | |
3138 | new relocs for TLS. | |
3139 | ||
3140 | * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these | |
3141 | macros out of [SHARED]. | |
3142 | (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. | |
3143 | ||
3144 | * elf/elf.h: Define R_PPC_* relocs for TLS support. | |
3145 | Clean up R_PPC64_* macro definition comments. | |
7ed33cba | 3146 | |
d1149385 RM |
3147 | * configure.in: In "running configure fragment for" message, |
3148 | omit $srcdir from the name if we prepended it. | |
3149 | * configure: Regenerated. | |
3150 | ||
7ed33cba RM |
3151 | * elf/dl-reloc.c (allocate_static_tls): Fix calculations. |
3152 | From Jakub Jelinek <jakub@redhat.com>. | |
3153 | ||
3154 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, | |
3155 | which duplicated the O_DIRECT defn. | |
3156 | ||
3157 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> | |
3158 | ||
3159 | * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived | |
3160 | random functions. | |
3161 | ||
4191f43d AS |
3162 | 2003-03-01 Andreas Schwab <schwab@suse.de> |
3163 | ||
7ed33cba RM |
3164 | * resolv/Makefile (tests): Don't depend on |
3165 | $(objpfx)mtrace-tst-leaks when cross compiling. | |
3166 | ||
4191f43d AS |
3167 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Access |
3168 | __libc_stack_end through GOT since it is a global symbol. | |
3169 | ||
85c54a32 UD |
3170 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
3171 | ||
3172 | * argp/argp.h: Fix a typo. | |
3173 | Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>. | |
3174 | ||
3175 | * manual/terminal.texi: Fix cfmakeraw() definition from int to void. | |
3176 | ||
3177 | 2003-02-27 Pat Rankin <rankin@pactechdata.com> | |
3178 | ||
3179 | * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to | |
3180 | char *. | |
3181 | (get_subexp): Likewise. | |
3182 | ||
a6861e64 UD |
3183 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
3184 | ||
3185 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define. | |
3186 | ||
3187 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> | |
3188 | ||
3189 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define. | |
3190 | ||
a6963e69 RM |
3191 | 2003-02-27 Roland McGrath <roland@redhat.com> |
3192 | ||
3193 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove | |
3194 | special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to | |
3195 | repeat it and avoids the test for the common case. | |
3196 | Clean up and fix calculations for TLS relocs. | |
3197 | ||
3198 | * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... | |
3199 | * sysdeps/powerpc/dl-tls.h: ... here. | |
3200 | (TLS_TP_OFFSET): New macro. | |
3201 | ||
3202 | * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change. | |
3203 | ||
427f5fa1 UD |
3204 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
3205 | ||
3206 | * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to | |
3207 | code generation changes in recent gcc. | |
3208 | ||
73a061bb RM |
3209 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> |
3210 | ||
3211 | * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW): | |
3212 | Rename argument to avoid symbol conflict. | |
3213 | ||
3214 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h | |
3215 | [__USE_GNU] (O_DIRECT): New macro. | |
3216 | ||
d2637c70 UD |
3217 | 2003-02-24 David Mosberger <davidm@hpl.hp.com> |
3218 | ||
3219 | * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix | |
3220 | unwind info. | |
3221 | ||
d148ed25 UD |
3222 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
3223 | ||
e361e438 UD |
3224 | * resolv/res_libc.c [USE___THREAD] (_res): Don't need the |
3225 | initializer anymore now that res_thread_freeres is more careful. | |
3226 | ||
d148ed25 UD |
3227 | * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages |
3228 | except the PKTINFO. Reset interface in PKTINFO. | |
dbf6131c | 3229 | Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973]. |
d148ed25 | 3230 | |
fec41719 RM |
3231 | 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com> |
3232 | ||
d148ed25 UD |
3233 | * elf/elf.h: Add new R_PPC64_* relocs for TLS. |
3234 | * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): | |
3235 | Define. | |
fec41719 RM |
3236 | * sysdeps/powerpc/powerpc64/elf/configure.in: New file. |
3237 | * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). | |
afafddab RM |
3238 | * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. |
3239 | * sysdeps/powerpc/powerpc64/dl-tls.h: New file. | |
fec41719 | 3240 | |
d148ed25 | 3241 | * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): |
fec41719 RM |
3242 | Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file. |
3243 | ||
56ce76ea AJ |
3244 | 2003-02-25 Andreas Jaeger <aj@suse.de> |
3245 | ||
3246 | * manual/memory.texi (Malloc Tunable Parameters): Clarify | |
3247 | behaviour of M_MMAP_THRESHOLD. | |
3248 | ||
724fad20 RM |
3249 | 2003-02-25 Roland McGrath <roland@redhat.com> |
3250 | ||
3251 | * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is | |
3252 | zero, inidicating _res was not initialized yet. | |
3253 | ||
80d80779 UD |
3254 | 2003-02-24 Ulrich Drepper <drepper@redhat.com> |
3255 | ||
3256 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES | |
3257 | test. | |
3258 | ||
81b47a8b RM |
3259 | 2003-02-24 Roland McGrath <roland@redhat.com> |
3260 | ||
3261 | * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. | |
3262 | ||
de217051 RM |
3263 | 2003-02-23 Roland McGrath <roland@redhat.com> |
3264 | ||
3265 | * sysdeps/posix/pause.c: New file. | |
3266 | * sysdeps/unix/common/pause.c: File removed. | |
3267 | ||
fd1a0d0c UD |
3268 | 2003-02-23 Ulrich Drepper <drepper@redhat.com> |
3269 | ||
cdd8e46f UD |
3270 | * sysdeps/generic/bits/confname.h: Remove #ifs. |
3271 | ||
5a6bbb41 UD |
3272 | * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. |
3273 | * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. | |
3274 | ||
fd1a0d0c UD |
3275 | * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock |
3276 | element to -1. | |
3277 | ||
249062b0 UD |
3278 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
3279 | ||
3280 | * sysdeps/generic/dl-sysdep.c: Avoid warning. | |
3281 | ||
92cc462c RM |
3282 | 2003-02-22 Roland McGrath <roland@redhat.com> |
3283 | ||
ce84ab61 RM |
3284 | * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>. |
3285 | * resolv/Makefile (tests): Add tst-leaks. | |
3286 | ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. | |
3287 | (tst-leaks-ENV): New variable. | |
3288 | ($(objpfx)mtrace-tst-leaks): New target. | |
3289 | (tests): Depend on it. | |
3290 | ||
d2d442a5 RM |
3291 | * include/libc-internal.h: Declare __libc_thread_freeres. |
3292 | ||
7a0c303e RM |
3293 | * Makerules: Fix last change to use $($(subdir)-version) when set. |
3294 | ||
cc8bfce9 RM |
3295 | * Makerules (install-lib-nosubdir): Depend on installed |
3296 | libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed | |
3297 | regardless of the libfoo.so target's dependencies. | |
3298 | ||
92cc462c RM |
3299 | * MakeTAGS (sub-make-vars): New variable, includes generating=t. |
3300 | Use that in $(MAKE) calls. | |
3301 | ||
e57f9f75 UD |
3302 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
3303 | ||
819c56e7 UD |
3304 | * catgets/gencat.c (read_input_file): Collision between |
3305 | auto-assigned numbers and user-defined nubmers is not fatal. | |
3306 | Handle it. | |
3307 | Patch by Michael M. Lampkin <michael.lampkin@ieee.org>. | |
c780aa21 UD |
3308 | * catgets/Makefile: Add rules to run test2.msg test. |
3309 | * catgets/test2.msg: New file. | |
819c56e7 UD |
3310 | |
3311 | * catgets/gencat.c (main): Return 1 if messages have been printed. | |
3312 | ||
757f9fcb UD |
3313 | * iconv/iconv_prog.c (main): Unify messages. |
3314 | ||
e57f9f75 UD |
3315 | * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word |
3316 | when shifting retval. | |
3317 | * stdlib/tst-strtod.c (main): Add strtold test case. | |
3318 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
3319 | ||
e8783fd5 RM |
3320 | 2003-02-21 Roland McGrath <roland@redhat.com> |
3321 | ||
2a3d906e RM |
3322 | * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. |
3323 | * sunrpc/rpc_thread.c: Likewise for text_set_element use. | |
3324 | (__rpc_thread_destroy): Add it to __libc_subfreeres too. | |
3325 | ||
3326 | * include/resolv.h: Add libc_hidden_proto for __res_nclose. | |
3327 | * resolv/res_init.c (__res_nclose): Add libc_hidden_def. | |
3328 | (res_thread_freeres): New function, on __libc_thread_subfreeres and | |
3329 | __libc_subfreeres. | |
3330 | ||
3331 | * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. | |
e8783fd5 RM |
3332 | * malloc/thread-freeres.c: New file. |
3333 | * malloc/Makefile (aux): Add it. | |
2a3d906e | 3334 | * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. |
e8783fd5 RM |
3335 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section |
3336 | "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. | |
3337 | ||
3338 | * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. | |
3339 | * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. | |
3340 | ||
3341 | 2003-02-21 Roland McGrath <roland@frob.com> | |
3342 | ||
3343 | * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. | |
3344 | ||
3345 | * iconvdata/Makefile (tests): Add bug-iconv3 only if | |
3346 | [$(have-thread-library) = yes]. | |
3347 | ||
1c848253 UD |
3348 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
3349 | ||
9c03686d UD |
3350 | * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. |
3351 | ||
1c848253 UD |
3352 | * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do |
3353 | not chechk for errors (unless testing for 32bit variant). | |
3354 | * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. | |
3355 | * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. | |
3356 | * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. | |
3357 | ||
6f50cb00 UD |
3358 | 2003-02-21 Jakub Jelinek <jakub@redhat.com> |
3359 | ||
3360 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>: | |
3361 | Check for signed overflow, not unsigned. | |
3362 | ||
cef0a48d UD |
3363 | * sysdeps/sparc/sparc64/elf/configure.in: New file. |
3364 | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): | |
3365 | Use -fcall-used-g6, not -fcall-used-g7. | |
3366 | ||
dd3608b9 AJ |
3367 | 2003-02-21 Andreas Jaeger <aj@suse.de> |
3368 | ||
3369 | * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default | |
3370 | mode. | |
3371 | ||
3372 | * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not | |
3373 | clear whole mxcsr but only exceptions. | |
3374 | ||
59fed0e2 RM |
3375 | 2003-02-21 Roland McGrath <roland@redhat.com> |
3376 | ||
3377 | * Makerules: Filter $(install-lib-ldscripts) out of list of targets | |
3378 | for libfoo.so that need $(make-link) rules. | |
3379 | ||
36f0ccda RM |
3380 | 2003-02-21 Roland McGrath <roland@frob.com> |
3381 | ||
3382 | * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE | |
3383 | to match existing struct stat layout in mig protocols. | |
3384 | ||
ec503662 UD |
3385 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3386 | ||
3387 | * version.h (VERSION): Bump to 2.3.2. | |
3388 | ||
3389 | * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, | |
3390 | tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, | |
3391 | and dl-sysdep.h. | |
3392 | * sysdeps/generic/Dist: Add sysdep-cancel.h. | |
3393 | * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. | |
3394 | * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. | |
3395 | * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. | |
3396 | * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. | |
3397 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and | |
3398 | ucontext_i.h. | |
3399 | * Makefile (distribute): Add include/stubs-prologue.h, | |
3400 | include/gnu/stubs.h, scripts/merge-abilist.awk, and | |
3401 | scripts/extract-abilist.awk. | |
3402 | ||
af57745c RM |
3403 | 2003-02-20 Roland McGrath <roland@redhat.com> |
3404 | ||
3405 | * math/Makefile (distribute): Don't add generated files. | |
3406 | ||
6314208a UD |
3407 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3408 | ||
6314208a UD |
3409 | * math/Makefile: Rearrange variable definitions slightly to get |
3410 | definition in the right order. | |
3411 | ||
ab10a294 RM |
3412 | 2003-02-20 Roland McGrath <roland@redhat.com> |
3413 | ||
3414 | * Makerules: Clean up conditional around include of tls.make. | |
3415 | * Make-dist: Export generating=t to prevent using that. | |
3416 | (+distinfo): Likewise for $(shell $(MAKE) ...) runs. | |
3417 | ||
54e1cabc UD |
3418 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3419 | ||
3420 | * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap | |
3421 | around in search if port IPPORT_RESERVED/2 has been test. | |
3422 | ||
ec503662 | 3423 | 2002-02-20 Paolo Bonzini <bonzini@gnu.org> |
54e1cabc UD |
3424 | |
3425 | * posix/regcomp.c: Remove inclusions. | |
3426 | * posix/regexec.c: Likewise. | |
3427 | * posix/regex_internal.c: Likewise. | |
3428 | * posix/regex_internal.h: Add inclusions here. | |
3429 | * posix/regex.c: Only include sys/types.h before regex.h. Include | |
3430 | regex_internal.h here. Include regex_internal.c before regcomp.c | |
3431 | and regexec.c (might expose more opportunities to the C compiler). | |
3432 | ||
3433 | * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. | |
3434 | ||
3435 | * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. | |
3436 | [!_LIBC] (__wcrtomb): New definition. | |
3437 | [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and | |
3438 | HAVE_LOCALE_H as well. | |
3439 | ||
6eb74f33 UD |
3440 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3441 | ||
3442 | * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete | |
3443 | patch to check for system call errors. | |
3444 | ||
05856976 UD |
3445 | 2002-07-24 Philip Blundell <philb@gnu.org> |
3446 | ||
3447 | * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV | |
3448 | on unknown systems. | |
3449 | ||
3450 | 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
3451 | ||
3452 | * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. | |
3453 | * sysdeps/unix/sysv/linux/kernel-features.h | |
3454 | (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. | |
3455 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl | |
3456 | if possible. | |
3457 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short | |
3458 | interprocedure branches. | |
3459 | * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... | |
3460 | * sysdeps/powerpc/nofpu/Dist: ...here. | |
3461 | * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... | |
3462 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. | |
3463 | * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. | |
3464 | * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. | |
3465 | * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. | |
3466 | ||
a592f998 UD |
3467 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
3468 | ||
3469 | * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. | |
3470 | ||
44ed664b UD |
3471 | 2003-02-20 Philip Blundell <philb@gnu.org> |
3472 | ||
3473 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add | |
3474 | missing arguments to INTERNAL_SYSCALL_ERROR_P and | |
3475 | INTERNAL_SYSCALL_ERRNO. | |
3476 | ||
ffdcfcb0 UD |
3477 | 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3478 | ||
3479 | * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test | |
3480 | for __ASSUME_32BITUIDS. | |
3481 | ||
4b2ed419 AS |
3482 | 2003-02-20 Andreas Schwab <schwab@suse.de> |
3483 | ||
3484 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and | |
3485 | POSIX_MADV_* constants. | |
3486 | ||
01b28852 UD |
3487 | 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3488 | ||
3489 | * sysdeps/unix/sysv/linux/sh/pread.c: New file. | |
3490 | * sysdeps/unix/sysv/linux/sh/pread64.c: New file. | |
3491 | * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. | |
3492 | * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. | |
3493 | ||
a70e514b UD |
3494 | 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com> |
3495 | ||
3496 | * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. | |
3497 | ||
ade67411 RM |
3498 | 2003-02-16 Roland McGrath <roland@redhat.com> |
3499 | ||
3500 | * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>. | |
3501 | ||
1c524710 UD |
3502 | 2003-02-19 Ulrich Drepper <drepper@redhat.com> |
3503 | ||
01b28852 | 3504 | * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off |
1c524710 | 3505 | decimal input digits. |
b5f7b119 | 3506 | * stdlib/tst-strtod.c (main): Add test for strtof bug. |
1c524710 | 3507 | |
2f7dc594 UD |
3508 | 2003-02-18 Ulrich Drepper <drepper@redhat.com> |
3509 | ||
3510 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize | |
3511 | invalid file descriptors and missing access permissions. | |
3512 | ||
46d7e2ba UD |
3513 | 2003-02-17 Ulrich Drepper <drepper@redhat.com> |
3514 | ||
8bd3f184 | 3515 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has |
2cfe49db UD |
3516 | been found. |
3517 | ||
46d7e2ba UD |
3518 | * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and |
3519 | TTY_NAME_MAX and not the _POSIX_* minimal value macros. | |
3520 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX | |
3521 | and LOGIN_NAME_MAX. | |
3522 | ||
b2740a3b UD |
3523 | 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> |
3524 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
3525 | ||
3526 | * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. | |
3527 | * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. | |
3528 | * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. | |
3529 | * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. | |
3530 | * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. | |
3531 | ||
81b50572 UD |
3532 | 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3533 | ||
3534 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. | |
3535 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. | |
3536 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. | |
3537 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. | |
3538 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. | |
3539 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. | |
3540 | ||
3541 | * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... | |
3542 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. | |
3543 | * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... | |
3544 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. | |
3545 | ||
3546 | * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. | |
3547 | * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. | |
3548 | * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. | |
3549 | * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. | |
3550 | ||
fdcd8f9c UD |
3551 | 2003-02-14 Thorsten Kukuk <kukuk@suse.de> |
3552 | ||
3553 | * nss/getent.c (print_hosts): Print all IP addresses of one host. | |
3554 | ||
7125d3cf RM |
3555 | 2003-02-15 Roland McGrath <roland@frob.com> |
3556 | ||
8321ef15 RM |
3557 | * sysdeps/mach/hurd/tls.h: New file. |
3558 | * sysdeps/mach/hurd/i386/tls.h: New file. | |
3559 | ||
b0104b6f RM |
3560 | * mach/errsystems.awk: Include <errno.h> in generated output. |
3561 | ||
7125d3cf RM |
3562 | * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, |
3563 | use target mach-before-compile instead of generated. | |
3564 | (mach-before-compile): New target. | |
3565 | * Makerules: Disable use of tls.make if $(generating) is set. | |
3566 | * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. | |
3567 | * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on | |
3568 | mach-shortcuts.h so mach/ generation happens before hurd/. | |
3569 | ||
47202270 UD |
3570 | 2003-02-14 Ulrich Drepper <drepper@redhat.com> |
3571 | ||
a439bb2f UD |
3572 | * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa |
3573 | of demorm correctly if low word is zero. | |
3574 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
757de559 UD |
3575 | * math/libm-test.inc (nextafter_test): New test, but disabled due |
3576 | to gcc bug. | |
a439bb2f | 3577 | |
47202270 UD |
3578 | * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread |
3579 | counter and only call __exit_thread if this is not the last thread. | |
3580 | ||
dac0f772 UD |
3581 | 2003-02-13 Jakub Jelinek <jakub@redhat.com> |
3582 | ||
3583 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of | |
3584 | subtracting map->l_tls_offset. | |
3585 | ||
7437cbd1 UD |
3586 | 2003-02-12 Ulrich Drepper <drepper@redhat.com> |
3587 | ||
2067577c UD |
3588 | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and |
3589 | _CS_GNU_LIBPTHREAD_VERSION. | |
3590 | * posix/conststr.c: Handle these new values. | |
3591 | * posix/getconf.c: Likewise. | |
3592 | ||
7437cbd1 UD |
3593 | * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix |
3594 | masking of version index. | |
3595 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. | |
3596 | ||
969c9da7 UD |
3597 | 2003-02-11 Ulrich Drepper <drepper@redhat.com> |
3598 | ||
3599 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment | |
3600 | correctly. Reported by Thorsten Kukuk. | |
3601 | ||
e5ffa64a UD |
3602 | 2003-02-10 Ulrich Drepper <drepper@redhat.com> |
3603 | ||
3604 | * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and | |
3605 | _BSD_SOURCE to compiler. | |
3606 | * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. | |
3607 | Patches by Alan Modra. | |
3608 | ||
34c86f42 UD |
3609 | 2003-02-08 Ulrich Drepper <drepper@redhat.com> |
3610 | ||
3611 | * io/ftwtest.c: Get current working directory before and after the | |
3612 | nftw call and make sure they match. | |
3613 | ||
3614 | 2003-02-08 Jim Meyering <jim@meyering.net> | |
3615 | ||
2067577c | 3616 | * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember |
34c86f42 UD |
3617 | the current directory, not just when DIR contains a slash. |
3618 | Reported by Manoj Srivastava. | |
3619 | ||
ae9ecd08 UD |
3620 | 2003-02-07 Jim Meyering <jim@meyering.net> |
3621 | ||
3622 | * io/ftw.c: Add autoconf-recommended block of alloca-related code. | |
3623 | Include autoconf-recommended block of dirent/NAMELEN-related | |
3624 | definitions and includes. Use NAMELEN throughout, rather than | |
3625 | _D_EXACT_NAMLEN. | |
3626 | [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. | |
3627 | [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. | |
3628 | (stpcpy): Declare, if necessary. | |
3629 | (mempcpy): Define, if necessary. | |
3630 | [!_LIBC] (__stpcpy, __mempcpy): Define. | |
3631 | [!_LIBC] (LXSTAT, XSTAT): Define. | |
3632 | (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. | |
3633 | (find_object): Don't use c99-style struct initializer. | |
3634 | Tweak wording in a couple comments. | |
3635 | ||
2a051a7d UD |
3636 | 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3637 | ||
3638 | * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list | |
3639 | for SH. | |
3640 | * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD | |
3641 | after the trapa instruction. | |
3642 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional | |
3643 | parameters. | |
3644 | * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. | |
3645 | (NEED_SYSCALL_INST_PAD): Define. | |
3646 | * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to | |
3647 | avoid to use definition for the kernel. | |
3648 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
3649 | Save and restore the frame pointer. | |
3650 | (SYSCALL_INST_PAD): Define. | |
3651 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
3652 | (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD | |
3653 | after trapa instruction. | |
3654 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
3655 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
3656 | ||
1f503475 UD |
3657 | 2003-02-07 Jakub Jelinek <jakub@redhat.com> |
3658 | ||
3659 | * resolv/res_libc.c (_res): Ensure _res is not common symbol, | |
3660 | so that it can have aliases. | |
3661 | * inet/herrno.c (h_errno): Put it into .bss not .data section. | |
3662 | ||
eecc378c UD |
3663 | 2003-02-07 Ulrich Drepper <drepper@redhat.com> |
3664 | ||
3665 | * elf/dl-runtime.c (fixup): Correct typo in version index computation. | |
3666 | (profile_fixup): Likewise. | |
1f503475 | 3667 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. |
eecc378c | 3668 | |
ce96c93d UD |
3669 | 2002-11-24 Robert Love <rml@tech9.net> |
3670 | ||
3671 | * posix/sched.h: Second parameter of sched_setaffinity and | |
3672 | sched_getaffinity is `unsigned int', not `unsigned long'. | |
3673 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
3674 | * sysdeps/generic/sched_getaffinity.c: Likewise. | |
3675 | ||
e0f86659 UD |
3676 | 2003-02-05 Ulrich Drepper <drepper@redhat.com> |
3677 | ||
432cf458 | 3678 | * debug/catchsegv.sh: Fix typo in error messsage. |
ce96c93d | 3679 | Reported by John Levon <levon@movementarian.org>. |
432cf458 | 3680 | |
5cd09cd6 UD |
3681 | * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. |
3682 | * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. | |
3683 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. | |
3684 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
3685 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
3686 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
3687 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
3688 | ||
e0f86659 UD |
3689 | * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. |
3690 | Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>. | |
3691 | ||
5049f197 UD |
3692 | 2003-02-05 Jim Meyering <jim@meyering.net> |
3693 | ||
3694 | Fix a heap-corrupting bug. | |
3695 | * io/ftw.c: Include <limits.h>. | |
3696 | (PATH_MAX) [!defined PATH_MAX]: Define to 1024. | |
3697 | (process_entry): Allocate enough space to hold the resulting | |
3698 | file name. Don't presume that 2*dirbufsize is enough. | |
3699 | (ftw_startup): Always use PATH_MAX to compute buffer size, now that | |
3700 | it is guaranteed to be defined. | |
3701 | ||
6f1cff95 UD |
3702 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
3703 | ||
3704 | * iconvdata/Makefile: Add rules to build and run bug-iconv3. | |
3705 | * iconvdata/bug-iconv3.c: New file. | |
3706 | ||
b33b0d0d UD |
3707 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3708 | ||
3709 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
3710 | ||
6900ded2 UD |
3711 | 2003-02-03 Jakub Jelinek <jakub@redhat.com> |
3712 | ||
3713 | * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New | |
3714 | check. | |
3715 | * config.h.in (BROKEN_SPARC_WDISP22): Add. | |
3716 | ||
663684b2 UD |
3717 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
3718 | ||
3719 | * sysdeps/i386/i686/memmove.S: New file. | |
3720 | ||
3e4fc359 UD |
3721 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> |
3722 | ||
3723 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: | |
3724 | Include kernel-features.h | |
3725 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
3726 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. | |
3727 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
3728 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
3729 | ||
75dec09e UD |
3730 | 2003-02-02 Jakub Jelinek <jakub@redhat.com> |
3731 | ||
3732 | * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. | |
3733 | ||
78e88510 UD |
3734 | 2003-01-25 Jim Meyering <jim@meyering.net> |
3735 | ||
3736 | * io/ftw.c (object_compare): Compare inode numbers before device | |
3737 | numbers, since the former are much more likely to differ. | |
3738 | ||
38e68573 UD |
3739 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> |
3740 | ||
3741 | * time/tzfile.c (__tzfile_compute): Change return value type to | |
3742 | void. Adjust return statements. | |
3743 | * include/time.h (__tzfile_compute): Adjust prototype. | |
3744 | ||
3745 | 2003-02-01 Jim Meyering <jim@meyering.net> | |
3746 | ||
3747 | * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute | |
3748 | always returns 1. | |
3749 | ||
3750 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3751 | ||
3752 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
3753 | [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. | |
3754 | ||
3755 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3756 | ||
3757 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | |
3758 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. | |
3759 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | |
3760 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
3761 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
3762 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
3763 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
3764 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
3765 | ||
3766 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3767 | ||
3768 | * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel | |
3769 | back to 2.4.19 for powerpc64. | |
3770 | * sysdeps/unix/sysv/linux/kernel-features.h | |
3771 | (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. | |
3772 | (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. | |
3773 | ||
3774 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> | |
3775 | ||
3776 | * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for | |
3777 | platforms with strange alignment requirements on wchar_t. | |
3778 | ||
b67fcc1e UD |
3779 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
3780 | ||
3781 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* | |
3782 | aliases, already added by make-syscalls.sh. | |
3783 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
3784 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. | |
3785 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. | |
3786 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
3787 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
3788 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
3789 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
3790 | * sysdeps/unix/inet/syscalls.list: Likewise. | |
3791 | * sysdeps/unix/syscalls.list: Likewise. | |
3792 | ||
fb784fd5 AS |
3793 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
3794 | ||
3795 | * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed | |
3796 | any more. | |
3797 | ||
c4c1336c UD |
3798 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
3799 | ||
3800 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, | |
3801 | not l to load tls from stack. | |
3802 | ||
d6f5e721 RM |
3803 | 2003-01-30 Roland McGrath <roland@redhat.com> |
3804 | ||
3805 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for | |
3806 | null argument before all else. | |
3807 | Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
3808 | ||
7ba7c829 UD |
3809 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
3810 | ||
3811 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): | |
3812 | Move to RESOLVE protected part of the header. | |
3813 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): | |
3814 | Likewise. | |
3815 | ||
3816 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
3817 | ||
3818 | * stdio-common/Makefile (tests): Add bug15. | |
3819 | (bug15-ENV): Define. | |
3820 | * stdio-common/bug15.c: New file. | |
3821 | ||
886d5973 UD |
3822 | 2002-10-07 Wolfram Gloger <wg@malloc.de> |
3823 | ||
3824 | * malloc/malloc.c (sYSMALLOc): Only check for breakage due | |
3825 | to foreign sbrk()'s if arena is contiguous. Bug report from | |
3826 | Bruno Haible <bruno@clisp.org>. | |
3827 | ||
3828 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
3829 | ||
3830 | * sysdeps/s390/libc-tls.c: Include stdlib.h. | |
3831 | ||
3832 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
3833 | ||
3834 | * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of | |
3835 | ps.__count. | |
3836 | ||
3837 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
3838 | ||
3839 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and | |
3840 | restoring of %r6. | |
3841 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use | |
3842 | 64-bit load. | |
3843 | Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
3844 | ||
3845 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
3846 | ||
3847 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... | |
3848 | (allocate_static_tls): ...here. Add __attribute_noinline__. | |
3849 | Don't return on failure. | |
3850 | (_dl_reloc_bad_type): Add __attribute_noinline__. | |
3851 | * elf/do-rel.h (elf_dynamic_do_rel): Add | |
3852 | __attribute__((always_inline)). | |
3853 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
3854 | elf_machine_rel_relative, elf_machine_rela_relative, | |
3855 | elf_machine_lazy_rel): Add prototypes with | |
3856 | __attribute__((always_inline)). | |
3857 | ||
3858 | 2003-01-29 David Mosberger <davidm@hpl.hp.com> | |
3859 | ||
3860 | * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. | |
3861 | ||
871afd6b RM |
3862 | 2003-01-29 Roland McGrath <roland@redhat.com> |
3863 | ||
3864 | * configure.in: Barf if configured in $srcdir. | |
871afd6b | 3865 | |
1e49399d UD |
3866 | 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> |
3867 | ||
3868 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
1e2f8718 | 3869 | (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. |
1e49399d | 3870 | |
db34912e UD |
3871 | 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3872 | ||
3873 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional | |
3874 | clone parameters to match the order used on ia32. | |
3875 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
3876 | ||
e6ebd2e4 UD |
3877 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3878 | ||
3879 | * elf/elf.h: Add new s390 relocs. | |
3880 | * elf/tls-macros.h: Add s390 versions. | |
3881 | * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. | |
3882 | * sysdeps/s390/dl-tls.h: New file. | |
3883 | * sysdeps/s390/libc-tls.c: New file. | |
3884 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS | |
3885 | relocs for class PLT. | |
3886 | (elf_machine_rela): Handle TLS relocs. | |
3887 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
3888 | * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. | |
3889 | * sysdeps/s390/s390-64/elf/configure.in: Likewise. | |
3890 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for | |
3891 | CLONE_CHILD_*TID flags. | |
3892 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
3893 | * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 | |
3894 | bit offset. | |
3895 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
3896 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
3897 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): | |
3898 | Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. | |
3899 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): | |
3900 | Likewise. | |
3901 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: | |
3902 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. | |
3903 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
3904 | variants. | |
3905 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: | |
3906 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use | |
3907 | direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. | |
3908 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
3909 | variants. | |
3910 | ||
772e3426 UD |
3911 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
3912 | ||
3913 | * sysdeps/unix/common/pause.c (do_pause): New function. Split | |
3914 | from __libc_pause. Implement using sigsuspend. | |
3915 | (__libc_pause): Call do_pause to do the real work. | |
3916 | ||
3917 | * sysdeps/posix/sigpause.c (do_sigpause): Check range of | |
3918 | sig_or_mask parameter is is_sig != 0. | |
3919 | ||
0566b130 UD |
3920 | 2003-01-21 Philip Blundell <philb@gnu.org> |
3921 | ||
3922 | * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. | |
3923 | ||
a15698cb UD |
3924 | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> |
3925 | ||
3926 | * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. | |
3927 | ||
b7e033f7 UD |
3928 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
3929 | ||
e6fb8846 UD |
3930 | * stdio-common/bug14.c: Use official name for the locale. |
3931 | ||
1fc46908 UD |
3932 | * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start |
3933 | instead of __libc_cleanup_region_start and _IO_cleanup_region_end | |
3934 | instead of __libc_cleanup_region_end. | |
3935 | ||
3936 | * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 | |
3937 | as first parameter to __libc_cleanup_region_start. | |
3938 | ||
68ff8426 UD |
3939 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
3940 | (__fe_nomask_env): Use __prctl not prctl. | |
3941 | * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for | |
3942 | prctl syscall. | |
3943 | ||
809cd222 UD |
3944 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. |
3945 | ||
3946 | * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. | |
3947 | ||
b7e033f7 UD |
3948 | * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic |
3949 | wrap-around in test. | |
3950 | ||
62f29da7 UD |
3951 | 2003-01-26 Andreas Schwab <schwab@suse.de> |
3952 | ||
3953 | * sysdeps/wordsize-32/divdi3.c: Export the functions only as | |
3954 | compatibility symbols. Remove INTDEF for __divdi3. | |
3955 | * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. | |
3956 | * sysdeps/powerpc/powerpc32/divdi3.c: Remove. | |
3957 | * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't | |
3958 | define. | |
3959 | * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. | |
3960 | ||
3961 | 2003-01-24 Jakub Jelinek <jakub@redhat.com> | |
3962 | ||
3963 | * elf/tls-macros.h: Add SPARC 32-bit definitions. | |
3964 | * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. | |
3965 | * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards | |
3966 | for the first half of the header. Include tls.h. | |
3967 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS | |
3968 | relocs too. | |
3969 | (elf_machine_rela): Handle TLS relocs. | |
3970 | * sysdeps/sparc/dl-tls.h: New file. | |
3971 | ||
3972 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation | |
3973 | support. | |
3974 | ||
3975 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. | |
3976 | * sysdeps/sparc/sparc32/memchr.S: Likewise. | |
3977 | * sysdeps/sparc/sparc32/memcpy.S: Likewise. | |
3978 | * sysdeps/sparc/sparc32/strcat.S: Likewise. | |
3979 | * sysdeps/sparc/sparc32/strchr.S: Likewise. | |
3980 | * sysdeps/sparc/sparc32/strcmp.S: Likewise. | |
3981 | * sysdeps/sparc/sparc32/strcpy.S: Likewise. | |
3982 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. | |
3983 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
3984 | * sysdeps/sparc/sparc64/memcpy.S: Likewise. | |
3985 | * sysdeps/sparc/sparc64/stpcpy.S: Likewise. | |
3986 | * sysdeps/sparc/sparc64/stpncpy.S: Likewise. | |
3987 | * sysdeps/sparc/sparc64/strcat.S: Likewise. | |
3988 | * sysdeps/sparc/sparc64/strchr.S: Likewise. | |
3989 | * sysdeps/sparc/sparc64/strcmp.S: Likewise. | |
3990 | * sysdeps/sparc/sparc64/strcpy.S: Likewise. | |
3991 | * sysdeps/sparc/sparc64/strncmp.S: Likewise. | |
3992 | * sysdeps/sparc/sparc64/strncpy.S: Likewise. | |
3993 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
3994 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. | |
3995 | ||
3996 | 2003-01-24 Andreas Schwab <schwab@suse.de> | |
3997 | ||
3998 | * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY | |
3999 | elements, and process them backwards. | |
4000 | * elf/Makefile ($(objpfx)tst-array4): New target. | |
4001 | ($(objpfx)tst-array4.out): Likewise. | |
4002 | (tests) [$(have-initfini-array) = yes]: Add tst-array4. | |
4003 | * elf/tst-array4.c: New file. | |
4004 | * elf/tst-array4.exp: Likewise. | |
4005 | ||
4006 | 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com> | |
4007 | ||
4008 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. | |
4009 | ||
4010 | 2003-01-27 Guido Guenther <agx@sigxcpu.org> | |
4011 | ||
4012 | * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. | |
4013 | * sysdeps/unix/sysv/linux/mips/pread.c: Add support for | |
4014 | cancellation handling and handle both __NR_pread64 and __NR_pread. | |
4015 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
4016 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for | |
4017 | cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. | |
4018 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
4019 | * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT | |
4020 | case, use register names consistently. | |
4021 | ||
4022 | 2003-01-27 Wolfram Gloger <wg@malloc.de> | |
4023 | ||
4024 | * malloc/hooks.c (mem2chunk_check): Check alignment of mem | |
4025 | pointer, not of the computed chunk. Bug report from Carlos | |
4026 | O'Donell <carlos@baldric.uwo.ca>. | |
4027 | ||
251c0f71 AS |
4028 | 2003-01-25 Andreas Schwab <schwab@suse.de> |
4029 | ||
4030 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative | |
4031 | addressing to save GOT entries. | |
4032 | ||
86dfa4eb RM |
4033 | 2003-01-21 Jakub Jelinek <jakub@redhat.com> |
4034 | ||
4035 | * sysdeps/unix/alpha/sysdep.h (inline_syscall0, | |
4036 | inline_syscall1, inline_syscall2, inline_syscall3, | |
4037 | inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. | |
4038 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add | |
4039 | __attribute__((unused)) to ChEcK. | |
4040 | ||
d5b6c817 UD |
4041 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4042 | ||
4043 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): | |
4044 | Fix inline assembler constraints. | |
4045 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): | |
4046 | Likewise. | |
4047 | ||
4048 | * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of | |
4049 | -fPIC. | |
4050 | ||
83c9a671 RM |
4051 | 2003-01-20 Segher Boessenkool <segher@koffie.nl> |
4052 | ||
4053 | * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really | |
4054 | compute the cosine, not the sine, even if x > 0.8. | |
4055 | ||
b677d674 UD |
4056 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
4057 | ||
4058 | * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of | |
4059 | _nss_nis_setspent. Work around the different prototypes. | |
4060 | * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use | |
4061 | internal_nis_endrpcent. | |
4062 | (internal_nis_endrpcent): Change return type to void. Change callers. | |
4063 | * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of | |
4064 | _nss_nis_setpwent. Work around the different prototypes. | |
4065 | * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body | |
4066 | of the function to... | |
4067 | (internal_nis_endprotoent): ... here. New function. | |
4068 | (internal_nis_setprotoent): Use internal_nis_endprotoent. | |
4069 | * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of | |
4070 | _nss_nis_setnetent. Work around the different prototypes. | |
4071 | * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body | |
4072 | of the function to... | |
4073 | (internal_nis_endnetgrent): ... here. New function. | |
4074 | (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. | |
4075 | ||
978bd143 UD |
4076 | 2003-01-19 Jim Meyering <jim@meyering.net> |
4077 | ||
4078 | * time/strftime.c: (widen): Merge nearly-identical definitions. | |
4079 | (nl_get_alt_digit) [! defined my_strftime]: Define. | |
4080 | (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of | |
4081 | _nl_get_alt_digit and _nl_get_walt_digit. | |
4082 | ||
b1a173f7 UD |
4083 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
4084 | ||
4085 | * time/strftime.c (my_strftime): Handle very large width | |
4086 | specifications for numeric values correctly. Improve checks for | |
4087 | overflow. | |
4088 | * time/Makefile (tests): Add tst-strftime. | |
4089 | * time/tst-strftime.c: New file. | |
4090 | ||
039c1b75 UD |
4091 | 2003-01-18 Ulrich Drepper <drepper@redhat.com> |
4092 | ||
6675b191 UD |
4093 | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of |
4094 | _nss_nis_sethostent. Work around the different prototypes. | |
4095 | * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of | |
4096 | _nss_nis_setgrent. Work around the different prototypes. | |
4097 | * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New | |
4098 | function. Split out from _nss_nis_endetherent. | |
4099 | (internal_nis_setetherent): Use internal_nis_endetherent instead of | |
4100 | duplicating the code. | |
4101 | * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias | |
4102 | of _nss_nis_setaliasent. | |
4103 | * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse | |
4104 | internal_nis_endservent code, don't duplicate it. | |
4105 | ||
039c1b75 UD |
4106 | * inet/rexec.c (rexec_af): Protect socket operations with |
4107 | TEMP_FAILURE_RETRY. Use writev instead of multiple write. | |
4108 | * inet/rcmd.c (rcmd_af): Likewise. | |
4109 | ||
62431425 RM |
4110 | 2003-01-17 Roland McGrath <roland@redhat.com> |
4111 | ||
d32e4346 RM |
4112 | * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: |
4113 | Add test of value 0.80190127184058835. | |
4114 | ||
62431425 RM |
4115 | * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. |
4116 | ||
0f0b7994 UD |
4117 | 2003-01-17 Richard Henderson <rth@redhat.com> |
4118 | ||
4119 | * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS | |
4120 | relocs for class PLT. | |
4121 | * sysdeps/alpha/libc-tls.c: New file. | |
4122 | * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. | |
4123 | (LOADGP) [!PIC]: Rewrite to preserve caller's gp. | |
4124 | ||
4125 | 2003-01-17 Jakub Jelinek <jakub@redhat.com> | |
4126 | ||
4127 | * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use | |
4128 | __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock | |
4129 | on _dl_static_lock. | |
4130 | ||
1d4ff70e AJ |
4131 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
4132 | ||
4133 | * stdio-common/bug14.c: Include stdlib.h for exit prototype. | |
4134 | ||
609b4783 UD |
4135 | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> |
4136 | ||
4137 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. | |
4138 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. | |
4139 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. | |
4140 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. | |
4141 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. | |
4142 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. | |
4143 | * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 | |
4144 | is 2.4.21. | |
4145 | ||
4146 | 2003-01-16 Ulrich Drepper <drepper@redhat.com> | |
4147 | ||
4148 | * sysdeps/generic/glob.c (glob): Assume sysconf() always returns | |
4149 | values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed | |
4150 | buffers. | |
4151 | ||
4152 | * sysdeps/generic/sysconf.c: Unconditionally implement | |
4153 | _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. | |
4154 | * sysdeps/posix/sysconf.c: Likewise. | |
4155 | ||
7b7b9e70 UD |
4156 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4157 | ||
4158 | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, | |
4159 | set *err to the returned error, not to REG_ESPACE unconditionally. | |
4160 | (build_word_op): Likewise. | |
4161 | * posix/Makefile (tests): Add bug-regex16. | |
4162 | * posix/bug-regex16.c: New test. | |
4163 | ||
850dcfca UD |
4164 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4165 | ||
4166 | * elf/dl-load.c (_dl_map_object_from_fd): Use | |
4167 | GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has | |
4168 | been already initialized. | |
4169 | ||
a1f8ec97 UD |
4170 | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> |
4171 | ||
4172 | * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. | |
4173 | ||
f811dbdc UD |
4174 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4175 | ||
4176 | * posix/regcomp.c (re_compile_internal): If clearing buffer, clear | |
4177 | allocated too. Reported by Al Viro <aviro@redhat.com>. | |
4178 | ||
4dd98447 RM |
4179 | 2003-01-16 Roland McGrath <roland@redhat.com> |
4180 | ||
4181 | Tweak merged .abilist file format to merge duplicate symbols in | |
4182 | different sets into multi-version stanzas with new "| SET regexp..." | |
4183 | header continuation lines. | |
4184 | * scripts/merge-abilist.awk: Rewritten for new format. | |
4185 | * scripts/extract-abilist.awk: Likewise. | |
4186 | ||
0f740059 UD |
4187 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
4188 | ||
e09edf23 UD |
4189 | * nscd/connections.c (nscd_run): Remove bogus return which isn't |
4190 | necessary with gcc 3.2+. | |
4191 | (nscd_init): Don't use error() to print message, use dbg_log. | |
4192 | ||
ea31b613 UD |
4193 | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total |
4194 | expected size into state. | |
4195 | (UNPACK_BYTES): Do the reverse. | |
41f112ad | 4196 | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. |
ea31b613 UD |
4197 | * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. |
4198 | Reported by Al Viro <aviro@redhat.com>. | |
4199 | ||
a1a2fec1 UD |
4200 | * stdio-common/Makefile (tests): Add bug14. |
4201 | * stdio-common/bug14.c: New file. | |
4202 | ||
0f740059 UD |
4203 | * stdio-common/vfscanf.c: When recognizing multibyte characters in |
4204 | string reset the byte counter after mbrtowc reported it is not a | |
4205 | partial character. Reported by Al Viro <aviro@redhat.com>. | |
4206 | ||
c16abc04 UD |
4207 | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> |
4208 | ||
4209 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include | |
4210 | sysdep-cancel.h, not sysdep.h. | |
4211 | ||
4212 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> | |
4213 | ||
4214 | * nscd/connections.c (nscd_run): Protect accept call with | |
4215 | TEMP_FAILURE_RETRY. | |
4216 | ||
c841fa22 AS |
4217 | 2003-01-15 Andreas Schwab <schwab@suse.de> |
4218 | ||
4219 | * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. | |
4220 | (common-generated): Add s-proto-bp.d. | |
4221 | * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies | |
4222 | of bp thunks. | |
4223 | * sysdeps/unix/s-proto-bp.S: New file. | |
4224 | * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. | |
4225 | Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. | |
4226 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. | |
4227 | ||
73917724 RM |
4228 | 2003-01-15 Roland McGrath <roland@redhat.com> |
4229 | ||
4230 | * Makerules: Use -include for tls.make, suppresses warning. | |
4231 | Move gen-as-const-headers rules up so before-compile is set in time. | |
4232 | (sed-remove-dotdot): Fix to work right for subdirs or top dir. | |
4233 | ||
c9f24336 UD |
4234 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
4235 | ||
d4397629 UD |
4236 | * nscd/nscd.c (main): Make code to close all file descriptors |
4237 | faster and more robust. | |
4238 | ||
9caf4f1c UD |
4239 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the |
4240 | request with one writev call. Protect all read calls with | |
4241 | TEMP_FAILURE_RETRY. | |
4242 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
4243 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
4244 | ||
4245 | * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. | |
4246 | Protect writev calls with TEMP_FAILURE_RETRY. | |
4247 | * nscd/grpcache.c: Likewise. | |
4248 | * nscd/pwdcache.c: Likewise. | |
4249 | ||
c9f24336 UD |
4250 | * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as |
4251 | IPv6 address in debug output. | |
4252 | ||
9ae10332 RM |
4253 | 2003-01-14 Roland McGrath <roland@redhat.com> |
4254 | ||
4255 | * Makerules (check-abi-%): Use two rules for $(common-objpfx) and | |
4256 | $(objpfx) directories, and get rid of vpath directives. The previous | |
4257 | arrangement resulted in files being written to the source directories | |
4258 | when run in a clean build. Find all .abilist files in $(..)abilist/. | |
4259 | (update-abi-%): Likewise. | |
4260 | (generated): Don't add .symlist files, they'll be intermediates. | |
4261 | ||
4262 | * sysdeps/generic/init-first.c: Add a comment. | |
4263 | ||
4264 | * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. | |
4265 | ||
4266 | * scripts/gen-as-const.awk: Grok lone "--" as a separator between | |
4267 | #includes and expressions. | |
4268 | ||
4269 | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged | |
4270 | config list when it already contains cpu-.*-os.* without / part. | |
4271 | ||
4272 | * Makerules (sed-remove-dotdot): New variable. | |
4273 | ($(common-objpfx)%.make): Use it. Depend on $(before-compile). | |
4274 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. | |
4275 | (check-abi-config): New variable, append /tls or /notls to the tuple. | |
4276 | (check-abi-%): Use that for -v config value. | |
4277 | Find .abilist files in abilist/libfoo.abilist, not in subdir. | |
4278 | * Rules: Move bits/stdio_lim.h generation rules to Makerules. | |
4279 | ||
a8d87c92 UD |
4280 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
4281 | ||
4282 | * manual/install.texi: Correct description of header preparation for | |
4283 | Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. | |
4284 | ||
574b892e UD |
4285 | 2003-01-14 Guido Guenther <agx@sigxcpu.org> |
4286 | ||
4287 | * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, | |
4288 | INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4289 | INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. | |
4290 | ||
4291 | 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
4292 | ||
4293 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
4294 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
4295 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4296 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
4297 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
4298 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. | |
4299 | ||
2c255347 UD |
4300 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
4301 | ||
086311a9 UD |
4302 | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol |
4303 | == IPPROTO_TCP. | |
4304 | Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943]. | |
4305 | ||
2f279b14 UD |
4306 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): |
4307 | Fix entry for bit 31. | |
4308 | ||
2c255347 UD |
4309 | * iconvdata/Makefile: Add rules to build IBM866NAV. |
4310 | * iconvdata/ibm866nav.c: New file. | |
4311 | * iconvdata/tst-tables.sh: Add IBM866NAV. | |
4312 | * iconvdata/gconv-modules: Add entries for IBM866NAV. | |
4313 | ||
642eb2a2 UD |
4314 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
4315 | ||
4316 | * string/tester.c (test_strcpy): Use the previously #if 0'ed code | |
4317 | to test void* parameters. | |
4318 | ||
4319 | * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast | |
4320 | source pointer before dereferencing. | |
4321 | (__STRING_SMALLL_GET32): Likewise. | |
4322 | (__memset_gc): Add missing parenthesis around macro arguments. | |
574b892e | 4323 | Patch by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 UD |
4324 | |
4325 | * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler | |
574b892e | 4326 | that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 | 4327 | |
115bb61d UD |
4328 | 2003-01-14 Jakub Jelinek <jakub@redhat.com> |
4329 | ||
4330 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before | |
4331 | defining. | |
4332 | ||
4333 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4334 | ||
4335 | * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. | |
4336 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it | |
4337 | here. | |
4338 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. | |
4339 | ||
4340 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4341 | ||
4342 | * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions | |
4343 | from here... | |
4344 | (PSEUDO): ... to here. | |
4345 | * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction | |
4346 | from here... | |
4347 | (PSEUDO): ... to here. | |
4348 | ||
9ef0a840 UD |
4349 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
4350 | ||
4351 | * locale/programs/charmap-dir.c (charmap_readdir): Use struct | |
4352 | dirent64 instead of struct dirent for dirent. Call readdir64 | |
4353 | instead of readdir. | |
4354 | ||
4355 | * locale/programs/locfile.c (siblings_uncached): Use struct | |
4356 | dirent64 instead of struct dirent for other_dentry. Call | |
4357 | readdir64 instead of readdir. | |
4358 | ||
4359 | * elf/ldconfig.c (direntry): Change type to struct dirent64. | |
4360 | (search_dir): Use readdir64 instead of readdir. | |
4361 | Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>. | |
4362 | ||
f1c5213d RM |
4363 | 2003-01-12 Roland McGrath <roland@redhat.com> |
4364 | ||
c01ec9c7 RM |
4365 | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, |
4366 | not strtol. The former is usable in ld.so, the latter not. | |
4367 | ||
f1c5213d RM |
4368 | * include/fcntl.h: Declare __libc_creat. |
4369 | ||
4370 | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, | |
4371 | libhurduser-link.so-no-z-defs): New variables. | |
4372 | ||
4373 | * malloc/malloc.c: Revert last change. | |
4374 | * malloc/malloc.h (_int_*): Move these decls to ... | |
4375 | * include/malloc.h: ... here. Add attribute_hidden. | |
4376 | (_int_valloc): Declare it too. | |
4377 | ||
73398a44 UD |
4378 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4379 | ||
115bb61d | 4380 | * elf/dl-close.c (_dl_close): Fix typo, must be == not = in |
1376cd8c UD |
4381 | search for removed searchlist. Reported by Roland McGrath. |
4382 | ||
40212ce0 UD |
4383 | * io/ftwtest-sh: Add test for case of symlink to nonexisting file |
4384 | given as start file. | |
4385 | ||
4386 | * io/ftw.c (ftw_startup): Use correct name in check for symlink | |
4387 | without existing target. Patch by Jim Meyering. | |
4388 | ||
73398a44 UD |
4389 | * Makerules (build-shlib-helper): Don't use -z defs linker option |
4390 | if no-z-defs is defined either. | |
4391 | ||
4392 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4393 | ||
4394 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused | |
4395 | file. | |
4396 | ||
4397 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4398 | ||
4399 | * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. | |
4400 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4401 | ||
b2608c22 UD |
4402 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4403 | ||
4404 | * io/ftwtest-sh: Add test case for relative path with /. at the end. | |
4405 | ||
4406 | 2003-01-12 Jim Meyering <jim@meyering.net> | |
4407 | ||
4408 | * io/ftw.c (ftw_startup): When trying to stat the starting directory, | |
4409 | use the basename if we've already chdir'd into its parent directory. | |
4410 | ||
a5ce5fcf UD |
4411 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4412 | ||
4413 | * io/ftw.c (process_entry): Use relative path when using chdir() | |
b2608c22 | 4414 | to change directory after call to ftw_dir. |
a5ce5fcf UD |
4415 | * io/ftwtest-sh: Add test for relative path argument to nftw() |
4416 | with FTW_CHDIR option. | |
4417 | ||
b398ae3c UD |
4418 | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4419 | ||
4420 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): | |
4421 | Define for powerpc. | |
4422 | * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment | |
4423 | into account. | |
4424 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | |
4425 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
4426 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4427 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
4428 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
4429 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. | |
4430 | ||
4431 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
4432 | ||
4433 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute | |
4434 | DTPREL64 and TPREL64 without loadbase applied. | |
4435 | ||
4436 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
4437 | ||
4438 | * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno | |
4439 | for NOT_IN_libc. | |
4440 | ||
4441 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... | |
4442 | * sysdeps/unix/alpha/sysdep.h: ... here. | |
4443 | (PSEUDO_LOADGP): Remove. | |
4444 | (PSEUDO_PROLOGUE): Load GP in non-pic case. | |
4445 | (SYSCALL_ERROR_LABEL): New. | |
4446 | (PSEUDO): Use it in error branch. | |
4447 | (PSEUDO_END): Add $syscall_error label. | |
4448 | ||
1f8613a6 AJ |
4449 | 2003-01-12 Andreas Jaeger <aj@suse.de> |
4450 | ||
4451 | * math/bits/mathcalls.h: Round is a const function. | |
4452 | ||
aff4519d UD |
4453 | 2003-01-11 Jim Meyering <jim@meyering.net> |
4454 | ||
4455 | * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>. | |
4456 | [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>. | |
4457 | Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC. | |
4458 | [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. | |
4459 | [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. | |
4460 | [!_LIBC] (internal_function, dirent64, MAX): Define. | |
4461 | (__set_errno): Define if not already defined. | |
4462 | (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on | |
4463 | the basename, not the entire file name. | |
4464 | (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on | |
4465 | the basename, not the entire file name. | |
4466 | ||
4467 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
4468 | ||
4469 | * string/tester.c (test_strcpy): Disable last added strcpy until | |
4470 | it is fixed. | |
4471 | ||
4472 | 2003-01-11 Philip Blundell <philb@gnu.org> | |
4473 | ||
4474 | * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. | |
4475 | ||
4476 | 2003-01-11 Andreas Schwab <schwab@suse.de> | |
4477 | ||
4478 | * Makerules: Add vpath for %.dynsym and %.so so that the | |
4479 | implicit rule chaining for check-abi works. | |
4480 | ||
4481 | 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
4482 | ||
4483 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
4484 | Add non-PIC case. | |
4485 | ||
4486 | 2003-01-11 Jakub Jelinek <jakub@redhat.com> | |
4487 | ||
4488 | * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. | |
4489 | [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if | |
4490 | gp is used early. | |
4491 | [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. | |
4492 | * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): | |
4493 | Ensure libc.so in DT_NEEDED. | |
4494 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move | |
4495 | CHECK_STATIC_TLS before l_tls_offset use. | |
4496 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): | |
4497 | Likewise. | |
4498 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
4499 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: | |
4500 | Allocate TLS_PRE_TCB_SIZE bytes below result. | |
4501 | (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. | |
4502 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): If | |
4503 | TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS | |
4504 | segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE | |
4505 | bytes below result and add tcb_offset to memsz. | |
4506 | * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. | |
4507 | * sysdeps/ia64/dl-machine.h: Include tls.h. | |
4508 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs | |
4509 | too. | |
4510 | (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. | |
4511 | Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. | |
4512 | * sysdeps/ia64/libc-tls.c: New file. | |
4513 | ||
4514 | 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com> | |
4515 | ||
4516 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. | |
4517 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): | |
4518 | Fix type. Move definition out of #if. | |
4519 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. | |
4520 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. | |
4521 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. | |
4522 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. | |
4523 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. | |
4524 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation | |
4525 | support. | |
4526 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove | |
4527 | ftruncate64, pread64, pwrite64, truncate64 entries. | |
4528 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
4529 | (INLINE_SYSCALL): New version that supports function call like | |
4530 | syscalls. Add __builtin_expect. | |
4531 | (LOADARGS_n): Add argument size safety checks. | |
4532 | (INTERNAL_SYSCALL): New Macro. | |
4533 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. | |
4534 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid | |
4535 | redefinition of elf_fpreg_t and elf_fpregset_t. | |
4536 | ||
4537 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
4538 | ||
4539 | * elf/dl-close.c (_dl_close): Add several asserts. Correct and | |
4540 | simplify test for unloading. If loader of a DSO is unloaded do not | |
4541 | use its scope anymore. Fall back to own scope and adjust opencounts. | |
4542 | Fix several comments. | |
4543 | * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for | |
4544 | the l_searchlist, not only for l_initfini. | |
4545 | ||
4546 | * elf/dl-lookup.c (add_dependencies): Avoid creating relocation | |
4547 | dependencies if objects cannot be removed. Remove object with the | |
4548 | definition as not unloadable if necessary. | |
4549 | ||
4550 | * elf/reldep6.c: Create relocation dependency before closing the first | |
4551 | module. | |
4552 | ||
4553 |