]>
Commit | Line | Data |
---|---|---|
fd1a0d0c UD |
1 | 2003-02-23 Ulrich Drepper <drepper@redhat.com> |
2 | ||
cdd8e46f UD |
3 | * sysdeps/generic/bits/confname.h: Remove #ifs. |
4 | ||
5a6bbb41 UD |
5 | * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. |
6 | * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. | |
7 | ||
fd1a0d0c UD |
8 | * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock |
9 | element to -1. | |
10 | ||
249062b0 UD |
11 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
12 | ||
13 | * sysdeps/generic/dl-sysdep.c: Avoid warning. | |
14 | ||
92cc462c RM |
15 | 2003-02-22 Roland McGrath <roland@redhat.com> |
16 | ||
ce84ab61 RM |
17 | * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>. |
18 | * resolv/Makefile (tests): Add tst-leaks. | |
19 | ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. | |
20 | (tst-leaks-ENV): New variable. | |
21 | ($(objpfx)mtrace-tst-leaks): New target. | |
22 | (tests): Depend on it. | |
23 | ||
d2d442a5 RM |
24 | * include/libc-internal.h: Declare __libc_thread_freeres. |
25 | ||
7a0c303e RM |
26 | * Makerules: Fix last change to use $($(subdir)-version) when set. |
27 | ||
cc8bfce9 RM |
28 | * Makerules (install-lib-nosubdir): Depend on installed |
29 | libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed | |
30 | regardless of the libfoo.so target's dependencies. | |
31 | ||
92cc462c RM |
32 | * MakeTAGS (sub-make-vars): New variable, includes generating=t. |
33 | Use that in $(MAKE) calls. | |
34 | ||
e57f9f75 UD |
35 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
36 | ||
819c56e7 UD |
37 | * catgets/gencat.c (read_input_file): Collision between |
38 | auto-assigned numbers and user-defined nubmers is not fatal. | |
39 | Handle it. | |
40 | Patch by Michael M. Lampkin <michael.lampkin@ieee.org>. | |
c780aa21 UD |
41 | * catgets/Makefile: Add rules to run test2.msg test. |
42 | * catgets/test2.msg: New file. | |
819c56e7 UD |
43 | |
44 | * catgets/gencat.c (main): Return 1 if messages have been printed. | |
45 | ||
757f9fcb UD |
46 | * iconv/iconv_prog.c (main): Unify messages. |
47 | ||
e57f9f75 UD |
48 | * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word |
49 | when shifting retval. | |
50 | * stdlib/tst-strtod.c (main): Add strtold test case. | |
51 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
52 | ||
e8783fd5 RM |
53 | 2003-02-21 Roland McGrath <roland@redhat.com> |
54 | ||
2a3d906e RM |
55 | * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. |
56 | * sunrpc/rpc_thread.c: Likewise for text_set_element use. | |
57 | (__rpc_thread_destroy): Add it to __libc_subfreeres too. | |
58 | ||
59 | * include/resolv.h: Add libc_hidden_proto for __res_nclose. | |
60 | * resolv/res_init.c (__res_nclose): Add libc_hidden_def. | |
61 | (res_thread_freeres): New function, on __libc_thread_subfreeres and | |
62 | __libc_subfreeres. | |
63 | ||
64 | * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. | |
e8783fd5 RM |
65 | * malloc/thread-freeres.c: New file. |
66 | * malloc/Makefile (aux): Add it. | |
2a3d906e | 67 | * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. |
e8783fd5 RM |
68 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section |
69 | "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. | |
70 | ||
71 | * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. | |
72 | * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. | |
73 | ||
74 | 2003-02-21 Roland McGrath <roland@frob.com> | |
75 | ||
76 | * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. | |
77 | ||
78 | * iconvdata/Makefile (tests): Add bug-iconv3 only if | |
79 | [$(have-thread-library) = yes]. | |
80 | ||
1c848253 UD |
81 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
82 | ||
9c03686d UD |
83 | * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. |
84 | ||
1c848253 UD |
85 | * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do |
86 | not chechk for errors (unless testing for 32bit variant). | |
87 | * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. | |
88 | * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. | |
89 | * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. | |
90 | ||
6f50cb00 UD |
91 | 2003-02-21 Jakub Jelinek <jakub@redhat.com> |
92 | ||
93 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>: | |
94 | Check for signed overflow, not unsigned. | |
95 | ||
cef0a48d UD |
96 | * sysdeps/sparc/sparc64/elf/configure.in: New file. |
97 | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): | |
98 | Use -fcall-used-g6, not -fcall-used-g7. | |
99 | ||
dd3608b9 AJ |
100 | 2003-02-21 Andreas Jaeger <aj@suse.de> |
101 | ||
102 | * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default | |
103 | mode. | |
104 | ||
105 | * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not | |
106 | clear whole mxcsr but only exceptions. | |
107 | ||
59fed0e2 RM |
108 | 2003-02-21 Roland McGrath <roland@redhat.com> |
109 | ||
110 | * Makerules: Filter $(install-lib-ldscripts) out of list of targets | |
111 | for libfoo.so that need $(make-link) rules. | |
112 | ||
36f0ccda RM |
113 | 2003-02-21 Roland McGrath <roland@frob.com> |
114 | ||
115 | * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE | |
116 | to match existing struct stat layout in mig protocols. | |
117 | ||
ec503662 UD |
118 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
119 | ||
120 | * version.h (VERSION): Bump to 2.3.2. | |
121 | ||
122 | * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, | |
123 | tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, | |
124 | and dl-sysdep.h. | |
125 | * sysdeps/generic/Dist: Add sysdep-cancel.h. | |
126 | * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. | |
127 | * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. | |
128 | * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. | |
129 | * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. | |
130 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and | |
131 | ucontext_i.h. | |
132 | * Makefile (distribute): Add include/stubs-prologue.h, | |
133 | include/gnu/stubs.h, scripts/merge-abilist.awk, and | |
134 | scripts/extract-abilist.awk. | |
135 | ||
af57745c RM |
136 | 2003-02-20 Roland McGrath <roland@redhat.com> |
137 | ||
138 | * math/Makefile (distribute): Don't add generated files. | |
139 | ||
6314208a UD |
140 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
141 | ||
6314208a UD |
142 | * math/Makefile: Rearrange variable definitions slightly to get |
143 | definition in the right order. | |
144 | ||
ab10a294 RM |
145 | 2003-02-20 Roland McGrath <roland@redhat.com> |
146 | ||
147 | * Makerules: Clean up conditional around include of tls.make. | |
148 | * Make-dist: Export generating=t to prevent using that. | |
149 | (+distinfo): Likewise for $(shell $(MAKE) ...) runs. | |
150 | ||
54e1cabc UD |
151 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
152 | ||
153 | * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap | |
154 | around in search if port IPPORT_RESERVED/2 has been test. | |
155 | ||
ec503662 | 156 | 2002-02-20 Paolo Bonzini <bonzini@gnu.org> |
54e1cabc UD |
157 | |
158 | * posix/regcomp.c: Remove inclusions. | |
159 | * posix/regexec.c: Likewise. | |
160 | * posix/regex_internal.c: Likewise. | |
161 | * posix/regex_internal.h: Add inclusions here. | |
162 | * posix/regex.c: Only include sys/types.h before regex.h. Include | |
163 | regex_internal.h here. Include regex_internal.c before regcomp.c | |
164 | and regexec.c (might expose more opportunities to the C compiler). | |
165 | ||
166 | * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. | |
167 | ||
168 | * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. | |
169 | [!_LIBC] (__wcrtomb): New definition. | |
170 | [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and | |
171 | HAVE_LOCALE_H as well. | |
172 | ||
6eb74f33 UD |
173 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
174 | ||
175 | * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete | |
176 | patch to check for system call errors. | |
177 | ||
05856976 UD |
178 | 2002-07-24 Philip Blundell <philb@gnu.org> |
179 | ||
180 | * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV | |
181 | on unknown systems. | |
182 | ||
183 | 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
184 | ||
185 | * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. | |
186 | * sysdeps/unix/sysv/linux/kernel-features.h | |
187 | (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. | |
188 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl | |
189 | if possible. | |
190 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short | |
191 | interprocedure branches. | |
192 | * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... | |
193 | * sysdeps/powerpc/nofpu/Dist: ...here. | |
194 | * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... | |
195 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. | |
196 | * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. | |
197 | * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. | |
198 | * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. | |
199 | ||
a592f998 UD |
200 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
201 | ||
202 | * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. | |
203 | ||
44ed664b UD |
204 | 2003-02-20 Philip Blundell <philb@gnu.org> |
205 | ||
206 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add | |
207 | missing arguments to INTERNAL_SYSCALL_ERROR_P and | |
208 | INTERNAL_SYSCALL_ERRNO. | |
209 | ||
ffdcfcb0 UD |
210 | 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
211 | ||
212 | * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test | |
213 | for __ASSUME_32BITUIDS. | |
214 | ||
4b2ed419 AS |
215 | 2003-02-20 Andreas Schwab <schwab@suse.de> |
216 | ||
217 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and | |
218 | POSIX_MADV_* constants. | |
219 | ||
01b28852 UD |
220 | 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
221 | ||
222 | * sysdeps/unix/sysv/linux/sh/pread.c: New file. | |
223 | * sysdeps/unix/sysv/linux/sh/pread64.c: New file. | |
224 | * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. | |
225 | * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. | |
226 | ||
a70e514b UD |
227 | 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com> |
228 | ||
229 | * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. | |
230 | ||
ade67411 RM |
231 | 2003-02-16 Roland McGrath <roland@redhat.com> |
232 | ||
233 | * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>. | |
234 | ||
1c524710 UD |
235 | 2003-02-19 Ulrich Drepper <drepper@redhat.com> |
236 | ||
01b28852 | 237 | * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off |
1c524710 | 238 | decimal input digits. |
b5f7b119 | 239 | * stdlib/tst-strtod.c (main): Add test for strtof bug. |
1c524710 | 240 | |
2f7dc594 UD |
241 | 2003-02-18 Ulrich Drepper <drepper@redhat.com> |
242 | ||
243 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize | |
244 | invalid file descriptors and missing access permissions. | |
245 | ||
46d7e2ba UD |
246 | 2003-02-17 Ulrich Drepper <drepper@redhat.com> |
247 | ||
8bd3f184 | 248 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has |
2cfe49db UD |
249 | been found. |
250 | ||
46d7e2ba UD |
251 | * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and |
252 | TTY_NAME_MAX and not the _POSIX_* minimal value macros. | |
253 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX | |
254 | and LOGIN_NAME_MAX. | |
255 | ||
b2740a3b UD |
256 | 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> |
257 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
258 | ||
259 | * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. | |
260 | * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. | |
261 | * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. | |
262 | * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. | |
263 | * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. | |
264 | ||
81b50572 UD |
265 | 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
266 | ||
267 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. | |
268 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. | |
269 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. | |
270 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. | |
271 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. | |
272 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. | |
273 | ||
274 | * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... | |
275 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. | |
276 | * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... | |
277 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. | |
278 | ||
279 | * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. | |
280 | * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. | |
281 | * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. | |
282 | * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. | |
283 | ||
fdcd8f9c UD |
284 | 2003-02-14 Thorsten Kukuk <kukuk@suse.de> |
285 | ||
286 | * nss/getent.c (print_hosts): Print all IP addresses of one host. | |
287 | ||
7125d3cf RM |
288 | 2003-02-15 Roland McGrath <roland@frob.com> |
289 | ||
8321ef15 RM |
290 | * sysdeps/mach/hurd/tls.h: New file. |
291 | * sysdeps/mach/hurd/i386/tls.h: New file. | |
292 | ||
b0104b6f RM |
293 | * mach/errsystems.awk: Include <errno.h> in generated output. |
294 | ||
7125d3cf RM |
295 | * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, |
296 | use target mach-before-compile instead of generated. | |
297 | (mach-before-compile): New target. | |
298 | * Makerules: Disable use of tls.make if $(generating) is set. | |
299 | * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. | |
300 | * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on | |
301 | mach-shortcuts.h so mach/ generation happens before hurd/. | |
302 | ||
47202270 UD |
303 | 2003-02-14 Ulrich Drepper <drepper@redhat.com> |
304 | ||
a439bb2f UD |
305 | * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa |
306 | of demorm correctly if low word is zero. | |
307 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
757de559 UD |
308 | * math/libm-test.inc (nextafter_test): New test, but disabled due |
309 | to gcc bug. | |
a439bb2f | 310 | |
47202270 UD |
311 | * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread |
312 | counter and only call __exit_thread if this is not the last thread. | |
313 | ||
dac0f772 UD |
314 | 2003-02-13 Jakub Jelinek <jakub@redhat.com> |
315 | ||
316 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of | |
317 | subtracting map->l_tls_offset. | |
318 | ||
7437cbd1 UD |
319 | 2003-02-12 Ulrich Drepper <drepper@redhat.com> |
320 | ||
2067577c UD |
321 | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and |
322 | _CS_GNU_LIBPTHREAD_VERSION. | |
323 | * posix/conststr.c: Handle these new values. | |
324 | * posix/getconf.c: Likewise. | |
325 | ||
7437cbd1 UD |
326 | * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix |
327 | masking of version index. | |
328 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. | |
329 | ||
969c9da7 UD |
330 | 2003-02-11 Ulrich Drepper <drepper@redhat.com> |
331 | ||
332 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment | |
333 | correctly. Reported by Thorsten Kukuk. | |
334 | ||
e5ffa64a UD |
335 | 2003-02-10 Ulrich Drepper <drepper@redhat.com> |
336 | ||
337 | * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and | |
338 | _BSD_SOURCE to compiler. | |
339 | * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. | |
340 | Patches by Alan Modra. | |
341 | ||
34c86f42 UD |
342 | 2003-02-08 Ulrich Drepper <drepper@redhat.com> |
343 | ||
344 | * io/ftwtest.c: Get current working directory before and after the | |
345 | nftw call and make sure they match. | |
346 | ||
347 | 2003-02-08 Jim Meyering <jim@meyering.net> | |
348 | ||
2067577c | 349 | * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember |
34c86f42 UD |
350 | the current directory, not just when DIR contains a slash. |
351 | Reported by Manoj Srivastava. | |
352 | ||
ae9ecd08 UD |
353 | 2003-02-07 Jim Meyering <jim@meyering.net> |
354 | ||
355 | * io/ftw.c: Add autoconf-recommended block of alloca-related code. | |
356 | Include autoconf-recommended block of dirent/NAMELEN-related | |
357 | definitions and includes. Use NAMELEN throughout, rather than | |
358 | _D_EXACT_NAMLEN. | |
359 | [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. | |
360 | [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. | |
361 | (stpcpy): Declare, if necessary. | |
362 | (mempcpy): Define, if necessary. | |
363 | [!_LIBC] (__stpcpy, __mempcpy): Define. | |
364 | [!_LIBC] (LXSTAT, XSTAT): Define. | |
365 | (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. | |
366 | (find_object): Don't use c99-style struct initializer. | |
367 | Tweak wording in a couple comments. | |
368 | ||
2a051a7d UD |
369 | 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
370 | ||
371 | * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list | |
372 | for SH. | |
373 | * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD | |
374 | after the trapa instruction. | |
375 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional | |
376 | parameters. | |
377 | * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. | |
378 | (NEED_SYSCALL_INST_PAD): Define. | |
379 | * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to | |
380 | avoid to use definition for the kernel. | |
381 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
382 | Save and restore the frame pointer. | |
383 | (SYSCALL_INST_PAD): Define. | |
384 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
385 | (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD | |
386 | after trapa instruction. | |
387 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
388 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
389 | ||
1f503475 UD |
390 | 2003-02-07 Jakub Jelinek <jakub@redhat.com> |
391 | ||
392 | * resolv/res_libc.c (_res): Ensure _res is not common symbol, | |
393 | so that it can have aliases. | |
394 | * inet/herrno.c (h_errno): Put it into .bss not .data section. | |
395 | ||
eecc378c UD |
396 | 2003-02-07 Ulrich Drepper <drepper@redhat.com> |
397 | ||
398 | * elf/dl-runtime.c (fixup): Correct typo in version index computation. | |
399 | (profile_fixup): Likewise. | |
1f503475 | 400 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. |
eecc378c | 401 | |
ce96c93d UD |
402 | 2002-11-24 Robert Love <rml@tech9.net> |
403 | ||
404 | * posix/sched.h: Second parameter of sched_setaffinity and | |
405 | sched_getaffinity is `unsigned int', not `unsigned long'. | |
406 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
407 | * sysdeps/generic/sched_getaffinity.c: Likewise. | |
408 | ||
e0f86659 UD |
409 | 2003-02-05 Ulrich Drepper <drepper@redhat.com> |
410 | ||
432cf458 | 411 | * debug/catchsegv.sh: Fix typo in error messsage. |
ce96c93d | 412 | Reported by John Levon <levon@movementarian.org>. |
432cf458 | 413 | |
5cd09cd6 UD |
414 | * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. |
415 | * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. | |
416 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. | |
417 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
418 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
419 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
420 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
421 | ||
e0f86659 UD |
422 | * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. |
423 | Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>. | |
424 | ||
5049f197 UD |
425 | 2003-02-05 Jim Meyering <jim@meyering.net> |
426 | ||
427 | Fix a heap-corrupting bug. | |
428 | * io/ftw.c: Include <limits.h>. | |
429 | (PATH_MAX) [!defined PATH_MAX]: Define to 1024. | |
430 | (process_entry): Allocate enough space to hold the resulting | |
431 | file name. Don't presume that 2*dirbufsize is enough. | |
432 | (ftw_startup): Always use PATH_MAX to compute buffer size, now that | |
433 | it is guaranteed to be defined. | |
434 | ||
6f1cff95 UD |
435 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
436 | ||
437 | * iconvdata/Makefile: Add rules to build and run bug-iconv3. | |
438 | * iconvdata/bug-iconv3.c: New file. | |
439 | ||
b33b0d0d UD |
440 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
441 | ||
442 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
443 | ||
6900ded2 UD |
444 | 2003-02-03 Jakub Jelinek <jakub@redhat.com> |
445 | ||
446 | * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New | |
447 | check. | |
448 | * config.h.in (BROKEN_SPARC_WDISP22): Add. | |
449 | ||
663684b2 UD |
450 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
451 | ||
452 | * sysdeps/i386/i686/memmove.S: New file. | |
453 | ||
3e4fc359 UD |
454 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> |
455 | ||
456 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: | |
457 | Include kernel-features.h | |
458 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
459 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. | |
460 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
461 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
462 | ||
75dec09e UD |
463 | 2003-02-02 Jakub Jelinek <jakub@redhat.com> |
464 | ||
465 | * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. | |
466 | ||
78e88510 UD |
467 | 2003-01-25 Jim Meyering <jim@meyering.net> |
468 | ||
469 | * io/ftw.c (object_compare): Compare inode numbers before device | |
470 | numbers, since the former are much more likely to differ. | |
471 | ||
38e68573 UD |
472 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> |
473 | ||
474 | * time/tzfile.c (__tzfile_compute): Change return value type to | |
475 | void. Adjust return statements. | |
476 | * include/time.h (__tzfile_compute): Adjust prototype. | |
477 | ||
478 | 2003-02-01 Jim Meyering <jim@meyering.net> | |
479 | ||
480 | * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute | |
481 | always returns 1. | |
482 | ||
483 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
484 | ||
485 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
486 | [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. | |
487 | ||
488 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
489 | ||
490 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | |
491 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. | |
492 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | |
493 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
494 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
495 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
496 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
497 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
498 | ||
499 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
500 | ||
501 | * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel | |
502 | back to 2.4.19 for powerpc64. | |
503 | * sysdeps/unix/sysv/linux/kernel-features.h | |
504 | (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. | |
505 | (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. | |
506 | ||
507 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> | |
508 | ||
509 | * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for | |
510 | platforms with strange alignment requirements on wchar_t. | |
511 | ||
b67fcc1e UD |
512 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
513 | ||
514 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* | |
515 | aliases, already added by make-syscalls.sh. | |
516 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
517 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. | |
518 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. | |
519 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
520 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
521 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
522 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
523 | * sysdeps/unix/inet/syscalls.list: Likewise. | |
524 | * sysdeps/unix/syscalls.list: Likewise. | |
525 | ||
fb784fd5 AS |
526 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
527 | ||
528 | * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed | |
529 | any more. | |
530 | ||
c4c1336c UD |
531 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
532 | ||
533 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, | |
534 | not l to load tls from stack. | |
535 | ||
d6f5e721 RM |
536 | 2003-01-30 Roland McGrath <roland@redhat.com> |
537 | ||
538 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for | |
539 | null argument before all else. | |
540 | Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
541 | ||
7ba7c829 UD |
542 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
543 | ||
544 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): | |
545 | Move to RESOLVE protected part of the header. | |
546 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): | |
547 | Likewise. | |
548 | ||
549 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
550 | ||
551 | * stdio-common/Makefile (tests): Add bug15. | |
552 | (bug15-ENV): Define. | |
553 | * stdio-common/bug15.c: New file. | |
554 | ||
886d5973 UD |
555 | 2002-10-07 Wolfram Gloger <wg@malloc.de> |
556 | ||
557 | * malloc/malloc.c (sYSMALLOc): Only check for breakage due | |
558 | to foreign sbrk()'s if arena is contiguous. Bug report from | |
559 | Bruno Haible <bruno@clisp.org>. | |
560 | ||
561 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
562 | ||
563 | * sysdeps/s390/libc-tls.c: Include stdlib.h. | |
564 | ||
565 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
566 | ||
567 | * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of | |
568 | ps.__count. | |
569 | ||
570 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
571 | ||
572 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and | |
573 | restoring of %r6. | |
574 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use | |
575 | 64-bit load. | |
576 | Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
577 | ||
578 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
579 | ||
580 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... | |
581 | (allocate_static_tls): ...here. Add __attribute_noinline__. | |
582 | Don't return on failure. | |
583 | (_dl_reloc_bad_type): Add __attribute_noinline__. | |
584 | * elf/do-rel.h (elf_dynamic_do_rel): Add | |
585 | __attribute__((always_inline)). | |
586 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
587 | elf_machine_rel_relative, elf_machine_rela_relative, | |
588 | elf_machine_lazy_rel): Add prototypes with | |
589 | __attribute__((always_inline)). | |
590 | ||
591 | 2003-01-29 David Mosberger <davidm@hpl.hp.com> | |
592 | ||
593 | * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. | |
594 | ||
871afd6b RM |
595 | 2003-01-29 Roland McGrath <roland@redhat.com> |
596 | ||
597 | * configure.in: Barf if configured in $srcdir. | |
871afd6b | 598 | |
1e49399d UD |
599 | 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> |
600 | ||
601 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
1e2f8718 | 602 | (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. |
1e49399d | 603 | |
db34912e UD |
604 | 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> |
605 | ||
606 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional | |
607 | clone parameters to match the order used on ia32. | |
608 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
609 | ||
e6ebd2e4 UD |
610 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
611 | ||
612 | * elf/elf.h: Add new s390 relocs. | |
613 | * elf/tls-macros.h: Add s390 versions. | |
614 | * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. | |
615 | * sysdeps/s390/dl-tls.h: New file. | |
616 | * sysdeps/s390/libc-tls.c: New file. | |
617 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS | |
618 | relocs for class PLT. | |
619 | (elf_machine_rela): Handle TLS relocs. | |
620 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
621 | * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. | |
622 | * sysdeps/s390/s390-64/elf/configure.in: Likewise. | |
623 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for | |
624 | CLONE_CHILD_*TID flags. | |
625 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
626 | * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 | |
627 | bit offset. | |
628 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
629 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
630 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): | |
631 | Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. | |
632 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): | |
633 | Likewise. | |
634 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: | |
635 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. | |
636 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
637 | variants. | |
638 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: | |
639 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use | |
640 | direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. | |
641 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
642 | variants. | |
643 | ||
772e3426 UD |
644 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
645 | ||
646 | * sysdeps/unix/common/pause.c (do_pause): New function. Split | |
647 | from __libc_pause. Implement using sigsuspend. | |
648 | (__libc_pause): Call do_pause to do the real work. | |
649 | ||
650 | * sysdeps/posix/sigpause.c (do_sigpause): Check range of | |
651 | sig_or_mask parameter is is_sig != 0. | |
652 | ||
0566b130 UD |
653 | 2003-01-21 Philip Blundell <philb@gnu.org> |
654 | ||
655 | * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. | |
656 | ||
a15698cb UD |
657 | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> |
658 | ||
659 | * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. | |
660 | ||
b7e033f7 UD |
661 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
662 | ||
e6fb8846 UD |
663 | * stdio-common/bug14.c: Use official name for the locale. |
664 | ||
1fc46908 UD |
665 | * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start |
666 | instead of __libc_cleanup_region_start and _IO_cleanup_region_end | |
667 | instead of __libc_cleanup_region_end. | |
668 | ||
669 | * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 | |
670 | as first parameter to __libc_cleanup_region_start. | |
671 | ||
68ff8426 UD |
672 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
673 | (__fe_nomask_env): Use __prctl not prctl. | |
674 | * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for | |
675 | prctl syscall. | |
676 | ||
809cd222 UD |
677 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. |
678 | ||
679 | * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. | |
680 | ||
b7e033f7 UD |
681 | * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic |
682 | wrap-around in test. | |
683 | ||
62f29da7 UD |
684 | 2003-01-26 Andreas Schwab <schwab@suse.de> |
685 | ||
686 | * sysdeps/wordsize-32/divdi3.c: Export the functions only as | |
687 | compatibility symbols. Remove INTDEF for __divdi3. | |
688 | * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. | |
689 | * sysdeps/powerpc/powerpc32/divdi3.c: Remove. | |
690 | * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't | |
691 | define. | |
692 | * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. | |
693 | ||
694 | 2003-01-24 Jakub Jelinek <jakub@redhat.com> | |
695 | ||
696 | * elf/tls-macros.h: Add SPARC 32-bit definitions. | |
697 | * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. | |
698 | * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards | |
699 | for the first half of the header. Include tls.h. | |
700 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS | |
701 | relocs too. | |
702 | (elf_machine_rela): Handle TLS relocs. | |
703 | * sysdeps/sparc/dl-tls.h: New file. | |
704 | ||
705 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation | |
706 | support. | |
707 | ||
708 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. | |
709 | * sysdeps/sparc/sparc32/memchr.S: Likewise. | |
710 | * sysdeps/sparc/sparc32/memcpy.S: Likewise. | |
711 | * sysdeps/sparc/sparc32/strcat.S: Likewise. | |
712 | * sysdeps/sparc/sparc32/strchr.S: Likewise. | |
713 | * sysdeps/sparc/sparc32/strcmp.S: Likewise. | |
714 | * sysdeps/sparc/sparc32/strcpy.S: Likewise. | |
715 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. | |
716 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
717 | * sysdeps/sparc/sparc64/memcpy.S: Likewise. | |
718 | * sysdeps/sparc/sparc64/stpcpy.S: Likewise. | |
719 | * sysdeps/sparc/sparc64/stpncpy.S: Likewise. | |
720 | * sysdeps/sparc/sparc64/strcat.S: Likewise. | |
721 | * sysdeps/sparc/sparc64/strchr.S: Likewise. | |
722 | * sysdeps/sparc/sparc64/strcmp.S: Likewise. | |
723 | * sysdeps/sparc/sparc64/strcpy.S: Likewise. | |
724 | * sysdeps/sparc/sparc64/strncmp.S: Likewise. | |
725 | * sysdeps/sparc/sparc64/strncpy.S: Likewise. | |
726 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
727 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. | |
728 | ||
729 | 2003-01-24 Andreas Schwab <schwab@suse.de> | |
730 | ||
731 | * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY | |
732 | elements, and process them backwards. | |
733 | * elf/Makefile ($(objpfx)tst-array4): New target. | |
734 | ($(objpfx)tst-array4.out): Likewise. | |
735 | (tests) [$(have-initfini-array) = yes]: Add tst-array4. | |
736 | * elf/tst-array4.c: New file. | |
737 | * elf/tst-array4.exp: Likewise. | |
738 | ||
739 | 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com> | |
740 | ||
741 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. | |
742 | ||
743 | 2003-01-27 Guido Guenther <agx@sigxcpu.org> | |
744 | ||
745 | * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. | |
746 | * sysdeps/unix/sysv/linux/mips/pread.c: Add support for | |
747 | cancellation handling and handle both __NR_pread64 and __NR_pread. | |
748 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
749 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for | |
750 | cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. | |
751 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
752 | * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT | |
753 | case, use register names consistently. | |
754 | ||
755 | 2003-01-27 Wolfram Gloger <wg@malloc.de> | |
756 | ||
757 | * malloc/hooks.c (mem2chunk_check): Check alignment of mem | |
758 | pointer, not of the computed chunk. Bug report from Carlos | |
759 | O'Donell <carlos@baldric.uwo.ca>. | |
760 | ||
251c0f71 AS |
761 | 2003-01-25 Andreas Schwab <schwab@suse.de> |
762 | ||
763 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative | |
764 | addressing to save GOT entries. | |
765 | ||
86dfa4eb RM |
766 | 2003-01-21 Jakub Jelinek <jakub@redhat.com> |
767 | ||
768 | * sysdeps/unix/alpha/sysdep.h (inline_syscall0, | |
769 | inline_syscall1, inline_syscall2, inline_syscall3, | |
770 | inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. | |
771 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add | |
772 | __attribute__((unused)) to ChEcK. | |
773 | ||
d5b6c817 UD |
774 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
775 | ||
776 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): | |
777 | Fix inline assembler constraints. | |
778 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): | |
779 | Likewise. | |
780 | ||
781 | * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of | |
782 | -fPIC. | |
783 | ||
83c9a671 RM |
784 | 2003-01-20 Segher Boessenkool <segher@koffie.nl> |
785 | ||
786 | * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really | |
787 | compute the cosine, not the sine, even if x > 0.8. | |
788 | ||
b677d674 UD |
789 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
790 | ||
791 | * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of | |
792 | _nss_nis_setspent. Work around the different prototypes. | |
793 | * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use | |
794 | internal_nis_endrpcent. | |
795 | (internal_nis_endrpcent): Change return type to void. Change callers. | |
796 | * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of | |
797 | _nss_nis_setpwent. Work around the different prototypes. | |
798 | * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body | |
799 | of the function to... | |
800 | (internal_nis_endprotoent): ... here. New function. | |
801 | (internal_nis_setprotoent): Use internal_nis_endprotoent. | |
802 | * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of | |
803 | _nss_nis_setnetent. Work around the different prototypes. | |
804 | * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body | |
805 | of the function to... | |
806 | (internal_nis_endnetgrent): ... here. New function. | |
807 | (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. | |
808 | ||
978bd143 UD |
809 | 2003-01-19 Jim Meyering <jim@meyering.net> |
810 | ||
811 | * time/strftime.c: (widen): Merge nearly-identical definitions. | |
812 | (nl_get_alt_digit) [! defined my_strftime]: Define. | |
813 | (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of | |
814 | _nl_get_alt_digit and _nl_get_walt_digit. | |
815 | ||
b1a173f7 UD |
816 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
817 | ||
818 | * time/strftime.c (my_strftime): Handle very large width | |
819 | specifications for numeric values correctly. Improve checks for | |
820 | overflow. | |
821 | * time/Makefile (tests): Add tst-strftime. | |
822 | * time/tst-strftime.c: New file. | |
823 | ||
039c1b75 UD |
824 | 2003-01-18 Ulrich Drepper <drepper@redhat.com> |
825 | ||
6675b191 UD |
826 | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of |
827 | _nss_nis_sethostent. Work around the different prototypes. | |
828 | * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of | |
829 | _nss_nis_setgrent. Work around the different prototypes. | |
830 | * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New | |
831 | function. Split out from _nss_nis_endetherent. | |
832 | (internal_nis_setetherent): Use internal_nis_endetherent instead of | |
833 | duplicating the code. | |
834 | * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias | |
835 | of _nss_nis_setaliasent. | |
836 | * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse | |
837 | internal_nis_endservent code, don't duplicate it. | |
838 | ||
039c1b75 UD |
839 | * inet/rexec.c (rexec_af): Protect socket operations with |
840 | TEMP_FAILURE_RETRY. Use writev instead of multiple write. | |
841 | * inet/rcmd.c (rcmd_af): Likewise. | |
842 | ||
62431425 RM |
843 | 2003-01-17 Roland McGrath <roland@redhat.com> |
844 | ||
d32e4346 RM |
845 | * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: |
846 | Add test of value 0.80190127184058835. | |
847 | ||
62431425 RM |
848 | * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. |
849 | ||
0f0b7994 UD |
850 | 2003-01-17 Richard Henderson <rth@redhat.com> |
851 | ||
852 | * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS | |
853 | relocs for class PLT. | |
854 | * sysdeps/alpha/libc-tls.c: New file. | |
855 | * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. | |
856 | (LOADGP) [!PIC]: Rewrite to preserve caller's gp. | |
857 | ||
858 | 2003-01-17 Jakub Jelinek <jakub@redhat.com> | |
859 | ||
860 | * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use | |
861 | __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock | |
862 | on _dl_static_lock. | |
863 | ||
1d4ff70e AJ |
864 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
865 | ||
866 | * stdio-common/bug14.c: Include stdlib.h for exit prototype. | |
867 | ||
609b4783 UD |
868 | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> |
869 | ||
870 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. | |
871 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. | |
872 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. | |
873 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. | |
874 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. | |
875 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. | |
876 | * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 | |
877 | is 2.4.21. | |
878 | ||
879 | 2003-01-16 Ulrich Drepper <drepper@redhat.com> | |
880 | ||
881 | * sysdeps/generic/glob.c (glob): Assume sysconf() always returns | |
882 | values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed | |
883 | buffers. | |
884 | ||
885 | * sysdeps/generic/sysconf.c: Unconditionally implement | |
886 | _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. | |
887 | * sysdeps/posix/sysconf.c: Likewise. | |
888 | ||
7b7b9e70 UD |
889 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
890 | ||
891 | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, | |
892 | set *err to the returned error, not to REG_ESPACE unconditionally. | |
893 | (build_word_op): Likewise. | |
894 | * posix/Makefile (tests): Add bug-regex16. | |
895 | * posix/bug-regex16.c: New test. | |
896 | ||
850dcfca UD |
897 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
898 | ||
899 | * elf/dl-load.c (_dl_map_object_from_fd): Use | |
900 | GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has | |
901 | been already initialized. | |
902 | ||
a1f8ec97 UD |
903 | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> |
904 | ||
905 | * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. | |
906 | ||
f811dbdc UD |
907 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
908 | ||
909 | * posix/regcomp.c (re_compile_internal): If clearing buffer, clear | |
910 | allocated too. Reported by Al Viro <aviro@redhat.com>. | |
911 | ||
4dd98447 RM |
912 | 2003-01-16 Roland McGrath <roland@redhat.com> |
913 | ||
914 | Tweak merged .abilist file format to merge duplicate symbols in | |
915 | different sets into multi-version stanzas with new "| SET regexp..." | |
916 | header continuation lines. | |
917 | * scripts/merge-abilist.awk: Rewritten for new format. | |
918 | * scripts/extract-abilist.awk: Likewise. | |
919 | ||
0f740059 UD |
920 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
921 | ||
e09edf23 UD |
922 | * nscd/connections.c (nscd_run): Remove bogus return which isn't |
923 | necessary with gcc 3.2+. | |
924 | (nscd_init): Don't use error() to print message, use dbg_log. | |
925 | ||
ea31b613 UD |
926 | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total |
927 | expected size into state. | |
928 | (UNPACK_BYTES): Do the reverse. | |
41f112ad | 929 | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. |
ea31b613 UD |
930 | * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. |
931 | Reported by Al Viro <aviro@redhat.com>. | |
932 | ||
a1a2fec1 UD |
933 | * stdio-common/Makefile (tests): Add bug14. |
934 | * stdio-common/bug14.c: New file. | |
935 | ||
0f740059 UD |
936 | * stdio-common/vfscanf.c: When recognizing multibyte characters in |
937 | string reset the byte counter after mbrtowc reported it is not a | |
938 | partial character. Reported by Al Viro <aviro@redhat.com>. | |
939 | ||
c16abc04 UD |
940 | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> |
941 | ||
942 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include | |
943 | sysdep-cancel.h, not sysdep.h. | |
944 | ||
945 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> | |
946 | ||
947 | * nscd/connections.c (nscd_run): Protect accept call with | |
948 | TEMP_FAILURE_RETRY. | |
949 | ||
c841fa22 AS |
950 | 2003-01-15 Andreas Schwab <schwab@suse.de> |
951 | ||
952 | * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. | |
953 | (common-generated): Add s-proto-bp.d. | |
954 | * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies | |
955 | of bp thunks. | |
956 | * sysdeps/unix/s-proto-bp.S: New file. | |
957 | * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. | |
958 | Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. | |
959 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. | |
960 | ||
73917724 RM |
961 | 2003-01-15 Roland McGrath <roland@redhat.com> |
962 | ||
963 | * Makerules: Use -include for tls.make, suppresses warning. | |
964 | Move gen-as-const-headers rules up so before-compile is set in time. | |
965 | (sed-remove-dotdot): Fix to work right for subdirs or top dir. | |
966 | ||
c9f24336 UD |
967 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
968 | ||
d4397629 UD |
969 | * nscd/nscd.c (main): Make code to close all file descriptors |
970 | faster and more robust. | |
971 | ||
9caf4f1c UD |
972 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the |
973 | request with one writev call. Protect all read calls with | |
974 | TEMP_FAILURE_RETRY. | |
975 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
976 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
977 | ||
978 | * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. | |
979 | Protect writev calls with TEMP_FAILURE_RETRY. | |
980 | * nscd/grpcache.c: Likewise. | |
981 | * nscd/pwdcache.c: Likewise. | |
982 | ||
c9f24336 UD |
983 | * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as |
984 | IPv6 address in debug output. | |
985 | ||
9ae10332 RM |
986 | 2003-01-14 Roland McGrath <roland@redhat.com> |
987 | ||
988 | * Makerules (check-abi-%): Use two rules for $(common-objpfx) and | |
989 | $(objpfx) directories, and get rid of vpath directives. The previous | |
990 | arrangement resulted in files being written to the source directories | |
991 | when run in a clean build. Find all .abilist files in $(..)abilist/. | |
992 | (update-abi-%): Likewise. | |
993 | (generated): Don't add .symlist files, they'll be intermediates. | |
994 | ||
995 | * sysdeps/generic/init-first.c: Add a comment. | |
996 | ||
997 | * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. | |
998 | ||
999 | * scripts/gen-as-const.awk: Grok lone "--" as a separator between | |
1000 | #includes and expressions. | |
1001 | ||
1002 | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged | |
1003 | config list when it already contains cpu-.*-os.* without / part. | |
1004 | ||
1005 | * Makerules (sed-remove-dotdot): New variable. | |
1006 | ($(common-objpfx)%.make): Use it. Depend on $(before-compile). | |
1007 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. | |
1008 | (check-abi-config): New variable, append /tls or /notls to the tuple. | |
1009 | (check-abi-%): Use that for -v config value. | |
1010 | Find .abilist files in abilist/libfoo.abilist, not in subdir. | |
1011 | * Rules: Move bits/stdio_lim.h generation rules to Makerules. | |
1012 | ||
a8d87c92 UD |
1013 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
1014 | ||
1015 | * manual/install.texi: Correct description of header preparation for | |
1016 | Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. | |
1017 | ||
574b892e UD |
1018 | 2003-01-14 Guido Guenther <agx@sigxcpu.org> |
1019 | ||
1020 | * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, | |
1021 | INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
1022 | INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. | |
1023 | ||
1024 | 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
1025 | ||
1026 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
1027 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
1028 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
1029 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
1030 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
1031 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. | |
1032 | ||
2c255347 UD |
1033 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
1034 | ||
086311a9 UD |
1035 | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol |
1036 | == IPPROTO_TCP. | |
1037 | Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943]. | |
1038 | ||
2f279b14 UD |
1039 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): |
1040 | Fix entry for bit 31. | |
1041 | ||
2c255347 UD |
1042 | * iconvdata/Makefile: Add rules to build IBM866NAV. |
1043 | * iconvdata/ibm866nav.c: New file. | |
1044 | * iconvdata/tst-tables.sh: Add IBM866NAV. | |
1045 | * iconvdata/gconv-modules: Add entries for IBM866NAV. | |
1046 | ||
642eb2a2 UD |
1047 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
1048 | ||
1049 | * string/tester.c (test_strcpy): Use the previously #if 0'ed code | |
1050 | to test void* parameters. | |
1051 | ||
1052 | * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast | |
1053 | source pointer before dereferencing. | |
1054 | (__STRING_SMALLL_GET32): Likewise. | |
1055 | (__memset_gc): Add missing parenthesis around macro arguments. | |
574b892e | 1056 | Patch by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 UD |
1057 | |
1058 | * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler | |
574b892e | 1059 | that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 | 1060 | |
115bb61d UD |
1061 | 2003-01-14 Jakub Jelinek <jakub@redhat.com> |
1062 | ||
1063 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before | |
1064 | defining. | |
1065 | ||
1066 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1067 | ||
1068 | * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. | |
1069 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it | |
1070 | here. | |
1071 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. | |
1072 | ||
1073 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1074 | ||
1075 | * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions | |
1076 | from here... | |
1077 | (PSEUDO): ... to here. | |
1078 | * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction | |
1079 | from here... | |
1080 | (PSEUDO): ... to here. | |
1081 | ||
9ef0a840 UD |
1082 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
1083 | ||
1084 | * locale/programs/charmap-dir.c (charmap_readdir): Use struct | |
1085 | dirent64 instead of struct dirent for dirent. Call readdir64 | |
1086 | instead of readdir. | |
1087 | ||
1088 | * locale/programs/locfile.c (siblings_uncached): Use struct | |
1089 | dirent64 instead of struct dirent for other_dentry. Call | |
1090 | readdir64 instead of readdir. | |
1091 | ||
1092 | * elf/ldconfig.c (direntry): Change type to struct dirent64. | |
1093 | (search_dir): Use readdir64 instead of readdir. | |
1094 | Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>. | |
1095 | ||
f1c5213d RM |
1096 | 2003-01-12 Roland McGrath <roland@redhat.com> |
1097 | ||
c01ec9c7 RM |
1098 | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, |
1099 | not strtol. The former is usable in ld.so, the latter not. | |
1100 | ||
f1c5213d RM |
1101 | * include/fcntl.h: Declare __libc_creat. |
1102 | ||
1103 | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, | |
1104 | libhurduser-link.so-no-z-defs): New variables. | |
1105 | ||
1106 | * malloc/malloc.c: Revert last change. | |
1107 | * malloc/malloc.h (_int_*): Move these decls to ... | |
1108 | * include/malloc.h: ... here. Add attribute_hidden. | |
1109 | (_int_valloc): Declare it too. | |
1110 | ||
73398a44 UD |
1111 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
1112 | ||
115bb61d | 1113 | * elf/dl-close.c (_dl_close): Fix typo, must be == not = in |
1376cd8c UD |
1114 | search for removed searchlist. Reported by Roland McGrath. |
1115 | ||
40212ce0 UD |
1116 | * io/ftwtest-sh: Add test for case of symlink to nonexisting file |
1117 | given as start file. | |
1118 | ||
1119 | * io/ftw.c (ftw_startup): Use correct name in check for symlink | |
1120 | without existing target. Patch by Jim Meyering. | |
1121 | ||
73398a44 UD |
1122 | * Makerules (build-shlib-helper): Don't use -z defs linker option |
1123 | if no-z-defs is defined either. | |
1124 | ||
1125 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1126 | ||
1127 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused | |
1128 | file. | |
1129 | ||
1130 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1131 | ||
1132 | * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. | |
1133 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
1134 | ||
b2608c22 UD |
1135 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
1136 | ||
1137 | * io/ftwtest-sh: Add test case for relative path with /. at the end. | |
1138 | ||
1139 | 2003-01-12 Jim Meyering <jim@meyering.net> | |
1140 | ||
1141 | * io/ftw.c (ftw_startup): When trying to stat the starting directory, | |
1142 | use the basename if we've already chdir'd into its parent directory. | |
1143 | ||
a5ce5fcf UD |
1144 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
1145 | ||
1146 | * io/ftw.c (process_entry): Use relative path when using chdir() | |
b2608c22 | 1147 | to change directory after call to ftw_dir. |
a5ce5fcf UD |
1148 | * io/ftwtest-sh: Add test for relative path argument to nftw() |
1149 | with FTW_CHDIR option. | |
1150 | ||
b398ae3c UD |
1151 | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1152 | ||
1153 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): | |
1154 | Define for powerpc. | |
1155 | * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment | |
1156 | into account. | |
1157 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | |
1158 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
1159 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
1160 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
1161 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
1162 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. | |
1163 | ||
1164 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
1165 | ||
1166 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute | |
1167 | DTPREL64 and TPREL64 without loadbase applied. | |
1168 | ||
1169 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
1170 | ||
1171 | * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno | |
1172 | for NOT_IN_libc. | |
1173 | ||
1174 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... | |
1175 | * sysdeps/unix/alpha/sysdep.h: ... here. | |
1176 | (PSEUDO_LOADGP): Remove. | |
1177 | (PSEUDO_PROLOGUE): Load GP in non-pic case. | |
1178 | (SYSCALL_ERROR_LABEL): New. | |
1179 | (PSEUDO): Use it in error branch. | |
1180 | (PSEUDO_END): Add $syscall_error label. | |
1181 | ||
1f8613a6 AJ |
1182 | 2003-01-12 Andreas Jaeger <aj@suse.de> |
1183 | ||
1184 | * math/bits/mathcalls.h: Round is a const function. | |
1185 | ||
aff4519d UD |
1186 | 2003-01-11 Jim Meyering <jim@meyering.net> |
1187 | ||
1188 | * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>. | |
1189 | [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>. | |
1190 | Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC. | |
1191 | [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. | |
1192 | [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. | |
1193 | [!_LIBC] (internal_function, dirent64, MAX): Define. | |
1194 | (__set_errno): Define if not already defined. | |
1195 | (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on | |
1196 | the basename, not the entire file name. | |
1197 | (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on | |
1198 | the basename, not the entire file name. | |
1199 | ||
1200 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
1201 | ||
1202 | * string/tester.c (test_strcpy): Disable last added strcpy until | |
1203 | it is fixed. | |
1204 | ||
1205 | 2003-01-11 Philip Blundell <philb@gnu.org> | |
1206 | ||
1207 | * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. | |
1208 | ||
1209 | 2003-01-11 Andreas Schwab <schwab@suse.de> | |
1210 | ||
1211 | * Makerules: Add vpath for %.dynsym and %.so so that the | |
1212 | implicit rule chaining for check-abi works. | |
1213 | ||
1214 | 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
1215 | ||
1216 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
1217 | Add non-PIC case. | |
1218 | ||
1219 | 2003-01-11 Jakub Jelinek <jakub@redhat.com> | |
1220 | ||
1221 | * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. | |
1222 | [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if | |
1223 | gp is used early. | |
1224 | [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. | |
1225 | * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): | |
1226 | Ensure libc.so in DT_NEEDED. | |
1227 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move | |
1228 | CHECK_STATIC_TLS before l_tls_offset use. | |
1229 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): | |
1230 | Likewise. | |
1231 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
1232 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: | |
1233 | Allocate TLS_PRE_TCB_SIZE bytes below result. | |
1234 | (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. | |
1235 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): If | |
1236 | TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS | |
1237 | segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE | |
1238 | bytes below result and add tcb_offset to memsz. | |
1239 | * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. | |
1240 | * sysdeps/ia64/dl-machine.h: Include tls.h. | |
1241 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs | |
1242 | too. | |
1243 | (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. | |
1244 | Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. | |
1245 | * sysdeps/ia64/libc-tls.c: New file. | |
1246 | ||
1247 | 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com> | |
1248 | ||
1249 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. | |
1250 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): | |
1251 | Fix type. Move definition out of #if. | |
1252 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. | |
1253 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. | |
1254 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. | |
1255 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. | |
1256 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. | |
1257 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation | |
1258 | support. | |
1259 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove | |
1260 | ftruncate64, pread64, pwrite64, truncate64 entries. | |
1261 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
1262 | (INLINE_SYSCALL): New version that supports function call like | |
1263 | syscalls. Add __builtin_expect. | |
1264 | (LOADARGS_n): Add argument size safety checks. | |
1265 | (INTERNAL_SYSCALL): New Macro. | |
1266 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. | |
1267 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid | |
1268 | redefinition of elf_fpreg_t and elf_fpregset_t. | |
1269 | ||
1270 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
1271 | ||
1272 | * elf/dl-close.c (_dl_close): Add several asserts. Correct and | |
1273 | simplify test for unloading. If loader of a DSO is unloaded do not | |
1274 | use its scope anymore. Fall back to own scope and adjust opencounts. | |
1275 | Fix several comments. | |
1276 | * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for | |
1277 | the l_searchlist, not only for l_initfini. | |
1278 | ||
1279 | * elf/dl-lookup.c (add_dependencies): Avoid creating relocation | |
1280 | dependencies if objects cannot be removed. Remove object with the | |
1281 | definition as not unloadable if necessary. | |
1282 | ||
1283 | * elf/reldep6.c: Create relocation dependency before closing the first | |
1284 | module. | |
1285 | ||
1286 |