]>
Commit | Line | Data |
---|---|---|
6fee3362 UD |
1 | 2003-09-11 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64. | |
4 | (TLS_LD): Likewise. | |
5 | (TLS_GD): Likewise. | |
6 | ||
7 | 2003-09-11 Jakub Jelinek <jakub@redhat.com> | |
8 | ||
9 | * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to | |
10 | _IO_free_backup_area call. | |
11 | ||
1fe4d565 RM |
12 | 2003-09-10 Chris Demetriou <cgd@broadcom.com> |
13 | ||
14 | * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix | |
15 | syscall invocation. | |
16 | * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise. | |
17 | * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise. | |
18 | Also, only assert off_t size is 4 for N32 and O32, and clean up | |
19 | white space. | |
20 | * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise. | |
21 | ||
c6416bfa RM |
22 | 2003-09-10 Roland McGrath <roland@redhat.com> |
23 | ||
24 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): | |
25 | Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED]. | |
26 | Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED]. | |
27 | * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. | |
28 | Reported by Daniel Jacobowitz <drow@mvista.com>. | |
29 | ||
cd94eda9 UD |
30 | 2003-09-10 Jakub Jelinek <jakub@redhat.com> |
31 | ||
32 | * string/Makefile (strop-tests): Add memccpy. | |
33 | * string/test-memccpy.c: New test. | |
34 | ||
5fca38da UD |
35 | 2003-09-09 Jakub Jelinek <jakub@redhat.com> |
36 | ||
37 | * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add | |
38 | siginfo_t * argument before, change into struct ucontext *. | |
39 | (SIGCONTEXT_EXTRA_ARGS): Define to _si,. | |
40 | (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer | |
41 | instead of structure. | |
42 | * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP): | |
43 | Likewise. | |
44 | ||
e352f0d8 UD |
45 | 2003-09-09 Ulrich Drepper <drepper@redhat.com> |
46 | ||
47 | * string/stratcliff.c (main): Check memccpy. | |
48 | ||
49 | 2003-04-11 Jes Sorensen <jes@wildopensource.com> | |
50 | ||
51 | * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the | |
52 | character is found during recovery, use correct register when | |
53 | determining the position of the found character. | |
54 | ||
55 | 2003-04-01 Jes Sorensen <jes@wildopensource.com> | |
56 | ||
57 | * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to | |
58 | avoid segfaults when reading from unmapped pages. For aligned | |
59 | reload and continue, for misaligned, roll back and use byte copy. | |
60 | Save ar.ec on entry and restore on exit. | |
61 | ||
5b0f136e RM |
62 | 2003-09-09 Chris Demetriou <cgd@broadcom.com> |
63 | ||
5fca38da | 64 | * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining. |
5b0f136e | 65 | |
4af35571 RM |
66 | 2003-09-08 Chris Demetriou <cgd@broadcom.com> |
67 | ||
5fca38da UD |
68 | * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to |
69 | the top of the list. | |
70 | * sysdeps/mips/mips64/n64/Implies: Likewise. | |
4af35571 | 71 | |
7f08f55a RM |
72 | 2003-09-08 Roland McGrath <roland@frob.com> |
73 | ||
74 | * sysdeps/unix/sysv/linux/speed.c | |
75 | (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED]. | |
76 | (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED]. | |
77 | * sysdeps/unix/sysv/linux/bits/termios.h | |
78 | (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define. | |
79 | * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. | |
80 | * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. | |
81 | ||
2750c39c UD |
82 | 2003-09-08 Ulrich Drepper <drepper@redhat.com> |
83 | ||
84 | * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change. | |
85 | * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise. | |
86 | ||
806e4a4a UD |
87 | 2003-09-08 Jakub Jelinek <jakub@redhat.com> |
88 | ||
89 | * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. | |
90 | (__u_quad_t): Make unsigned long int if 64-bit. | |
91 | (__SQUAD_TYPE): Make long int if 64-bit. | |
92 | (__UQUAD_TYPE): Make unsigned long int if 64-bit. | |
93 | * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. | |
94 | ||
95 | 2003-09-08 Ulrich Drepper <drepper@redhat.com> | |
96 | ||
97 | * Makefile (tests): Run check-c++-types.sh if possible. | |
98 | * scripts/check-c++-types.h: New file. | |
2750c39c | 99 | * scripts/data/c++-types-i386-linux-gnu.data: New file. |
806e4a4a | 100 | |
aaba80d4 AJ |
101 | 2003-09-08 Andreas Jaeger <aj@suse.de> |
102 | ||
103 | * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): | |
104 | Use struct sigcontext. | |
105 | ||
106 | * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): | |
107 | Use struct sigcontext. | |
108 | (GET_PC): Adopt. | |
109 | (GET_FRAME): Likewise. | |
110 | (GET_STACK): Likewise. | |
111 | ||
0cb71e02 UD |
112 | 2003-09-08 Wolfram Gloger <wg@malloc.de> |
113 | ||
114 | * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into | |
806e4a4a | 115 | contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>. |
0cb71e02 UD |
116 | (mALLOPt): Avoid requirement of C99. |
117 | ||
65b0b419 UD |
118 | 2003-09-08 Ulrich Drepper <drepper@redhat.com> |
119 | ||
120 | * libio/bug-ftell.c: Include <sys/types.h>. | |
121 | (main): Mark cp as const. | |
122 | ||
1ece20b4 UD |
123 | 2003-09-07 Jakub Jelinek <jakub@redhat.com> |
124 | ||
125 | * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove. | |
126 | * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove. | |
127 | ||
eb35b097 UD |
128 | 2003-09-05 Roland McGrath <roland@redhat.com> |
129 | ||
130 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed | |
131 | and c_ospeed fields. | |
132 | * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field. | |
133 | (cfsetispeed): Set c_ispeed field. | |
134 | * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally | |
135 | to match corresponding speed.c code. | |
136 | ||
137 | 2003-09-06 Ulrich Drepper <drepper@redhat.com> | |
138 | ||
139 | * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the | |
140 | narrow character buffer. | |
141 | * libio/Makefile: Add rules to build and run bug-ftell. | |
142 | * libio/bug-ftell.c: New file. | |
143 | ||
144 | * stdio-common/vfprintf.c: Don't use the first grouping number twice. | |
145 | ||
146 | * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters | |
147 | matching the decimal point and possibly leading the thousands | |
148 | separator. This caused the recognition of thousands separators to | |
149 | always fail. | |
150 | ||
151 | 2003-09-05 Ulrich Drepper <drepper@redhat.com> | |
152 | ||
153 | * libio/fileops.c (_IO_new_file_overflow): Handle switching to | |
154 | write mode from read in backup buffer. | |
155 | * libio/Makefile (tests): Add bug-ungetc2. | |
156 | * libio/bug-ungetc2.c: New file. | |
157 | ||
edc7ae46 RM |
158 | 2003-09-05 Roland McGrath <roland@redhat.com> |
159 | ||
160 | * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable. | |
161 | ||
162 | 2003-09-04 Roland McGrath <roland@frob.com> | |
163 | ||
164 | * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID, | |
165 | EOPNOTSUPP, or ENOSYS, change it to ENODEV. | |
166 | ||
983f2312 UD |
167 | 2003-09-04 H.J. Lu <hongjiu.lu@intel.com> |
168 | ||
169 | * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): | |
170 | Fix a typo. | |
171 | ||
13277fe1 AJ |
172 | 2003-09-05 Andreas Jaeger <aj@suse.de> |
173 | ||
b7f75e24 AJ |
174 | * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler |
175 | to make it conforming C. | |
176 | * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise. | |
177 | ||
13277fe1 AJ |
178 | * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change |
179 | prototype to use variable argument lists and get the possible one | |
180 | argument via va_arg. | |
76d0a2c4 | 181 | * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise. |
6ae3b383 | 182 | * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New. |
13277fe1 | 183 | |
a452e4e6 UD |
184 | 2003-09-04 Ulrich Drepper <drepper@redhat.com> |
185 | ||
966f66bb UD |
186 | * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. |
187 | ||
17f83e56 UD |
188 | * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): |
189 | Report correct value for vxfs. | |
eb35b097 | 190 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC. |
17f83e56 | 191 | |
fbb37d25 UD |
192 | * gmon/gmon.c: Use only not-cancelable syscalls to write profiling |
193 | data. | |
194 | ||
ce42435c | 195 | * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all |
966f66bb | 196 | over the place. It would be allowed to have these functions as |
ce42435c UD |
197 | cancellation points but the cleanup would be ugly and a lot of |
198 | work. | |
199 | ||
200 | * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define. | |
201 | * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define. | |
202 | ||
203 | * include/fcntl.h (__fcntl_nocancel): Declare. | |
204 | * sysdeps/unix/sysv/linux/fcntl.c: New file. | |
205 | * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable | |
206 | cancellation if absolutely needed. | |
207 | (__fcntl_nocancel): Define. | |
208 | ||
209 | * posix/unistd.h (gethostid): Remove __THROW. Clarify comment. | |
210 | * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add | |
211 | -fexceptions. | |
212 | * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use | |
213 | extend_alloca. | |
214 | ||
215 | * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status | |
216 | instead of __close. | |
217 | ||
a452e4e6 UD |
218 | * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove |
219 | unnecessary errno handling. | |
220 | ||
221 | * nss/getXXbyYY_r.c (INTERNAL): Use better variable name. | |
222 | Initialize it in all cases. Change it to be a bit more like the | |
223 | code we had before. | |
224 | ||
e3c54d80 UD |
225 | 2003-09-04 Jakub Jelinek <jakub@redhat.com> |
226 | ||
227 | * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add | |
228 | __builtin_expect. | |
229 | (_IO_file_open): Likewise. Use close_not_cancel. | |
230 | ||
ee8449f7 UD |
231 | 2003-09-04 Ulrich Drepper <drepper@redhat.com> |
232 | ||
233 | * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL. | |
234 | * libio/fileops.c [_LIBC]: Remove close macro. | |
235 | (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel. | |
236 | (_IO_new_file_open): Recognize 'c' flag in mode string. | |
237 | (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel. | |
238 | (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use | |
239 | write_not_cancel. | |
240 | * iconv/gconv_conf.c: Use fopen with 'c' mode flag. | |
241 | * inet/rcmd.c: Likewise. | |
242 | * inet/ruserpass.c: Likewise. | |
243 | * intl/localealias.c: Likewise. | |
244 | * malloc/mtrace.c: Likewise. | |
245 | * misc/getpass.c: Likewise. | |
246 | * misc/getttyent.c: Likewise. | |
247 | * misc/mntent_r.c: Likewise. | |
248 | * misc/getusershell.c: Likewise. | |
249 | * nss/nsswitch.c: Likewise. | |
250 | * resolv/res_hconf.c: Likewise. | |
251 | * resolv/res_init.c: Likewise. | |
252 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
253 | * time/getdate.c: Likewise. | |
254 | * time/tzfile.c: Likewise. | |
255 | * misc/fstab.h: Undo last change. | |
256 | * misc/mntent.h: Likewise. | |
257 | * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and | |
258 | CFLAGS-fstab.c definition. | |
259 | ||
260 | 2003-09-04 Jakub Jelinek <jakub@redhat.com> | |
58e8ec84 UD |
261 | |
262 | * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype. | |
263 | ||
ee8449f7 | 264 | 2003-09-03 Ulrich Drepper <drepper@redhat.com> |
35504a6f UD |
265 | |
266 | * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid | |
267 | returning ERANGE if this wasn't intended. | |
268 | ||
9c42bc3b UD |
269 | 2003-09-03 Jakub Jelinek <jakub@redhat.com> |
270 | ||
271 | * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as | |
272 | function-like macros. | |
273 | ||
72ef277e UD |
274 | 2003-09-03 Ulrich Drepper <drepper@redhat.com> |
275 | ||
276 | * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions. | |
277 | (CFLAGS-getgrent.c): Likewise. | |
278 | * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions. | |
279 | (CFLAGS-getpwent.c): Likewise. | |
280 | * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions. | |
281 | (CFLAGS-getspent.c): Likewise. | |
282 | ||
283 | * inet/Makefile: Add -fexceptions to CFLAGS for the various | |
284 | getXXent and getXXbyYY functions. | |
285 | ||
286 | * locale/loadlocale.c: Use not-cancelable variants of open, close, | |
287 | and read. | |
288 | ||
4a244f0d UD |
289 | 2003-09-02 Jakub Jelinek <jakub@redhat.com> |
290 | ||
291 | * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove | |
292 | rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and | |
293 | rt_sigpending. | |
294 | * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction): | |
295 | New prototype. | |
296 | * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove | |
297 | unused __syscall_ stubs. | |
298 | * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove | |
299 | rt_*. | |
300 | * sysdeps/unix/sysv/linux/cris/Makefile: Removed. | |
301 | * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list | |
302 | (__syscall_recvfrom, __syscall_sendto): Remove unused aliases. | |
303 | * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove | |
304 | unused __syscall_ stubs. | |
305 | * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*. | |
306 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list | |
307 | (__syscall_*): Remove unused __syscall_ stubs. | |
308 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list | |
309 | (__syscall_*): Likewise. | |
310 | * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove | |
311 | rt_*. | |
312 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*): | |
313 | Remove unused __syscall_ stubs. | |
314 | * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*. | |
315 | * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed. | |
316 | * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed. | |
317 | * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed. | |
318 | * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed. | |
319 | * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed. | |
320 | * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed. | |
321 | * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed. | |
322 | * sysdeps/unix/sysv/linux/s_pread64.c: Removed. | |
323 | * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed. | |
324 | * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused | |
325 | __syscall_* prototypes. | |
326 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise. | |
327 | * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. | |
328 | * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. | |
329 | * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. | |
330 | * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. | |
331 | * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. | |
332 | * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. | |
333 | * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. | |
334 | * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. | |
335 | * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. | |
336 | * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. | |
337 | * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. | |
338 | * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. | |
339 | * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. | |
340 | * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. | |
341 | * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. | |
342 | * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. | |
343 | * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. | |
344 | * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. | |
345 | * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. | |
346 | * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. | |
347 | * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. | |
348 | * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. | |
349 | * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. | |
350 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. | |
351 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. | |
352 | * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. | |
353 | * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. | |
354 | * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. | |
355 | * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. | |
356 | * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. | |
357 | * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. | |
358 | * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. | |
359 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
360 | * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. | |
361 | * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. | |
362 | * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. | |
363 | * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. | |
364 | * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. | |
365 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. | |
366 | * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. | |
367 | * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. | |
368 | * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. | |
369 | * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. | |
370 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
371 | * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. | |
372 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
373 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
374 | * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. | |
375 | * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. | |
376 | * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. | |
377 | * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. | |
378 | * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. | |
379 | * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. | |
380 | * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. | |
381 | * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. | |
382 | * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise. | |
383 | * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. | |
384 | * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. | |
385 | * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. | |
386 | * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise. | |
387 | * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise. | |
388 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. | |
389 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. | |
390 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. | |
391 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
392 | * sysdeps/unix/sysv/linux/pwrite.c: Likewise. | |
393 | * sysdeps/unix/sysv/linux/execve.c: Likewise. | |
394 | * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. | |
395 | * sysdeps/unix/sysv/linux/reboot.c: Likewise. | |
396 | * sysdeps/unix/sysv/linux/_exit.c: Likewise. | |
397 | * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. | |
398 | * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. | |
399 | * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. | |
400 | * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. | |
401 | * sysdeps/unix/sysv/linux/readahead.c: Likewise. | |
402 | * sysdeps/unix/sysv/linux/getcwd.c: Likewise. | |
403 | * sysdeps/unix/sysv/linux/sigwait.c: Likewise. | |
404 | * sysdeps/unix/sysv/linux/getdents.c: Likewise. | |
405 | * sysdeps/unix/sysv/linux/readv.c: Likewise. | |
406 | * sysdeps/unix/sysv/linux/getpriority.c: Likewise. | |
407 | * sysdeps/unix/sysv/linux/sigaction.c: Likewise. | |
408 | * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise. | |
409 | * sysdeps/unix/sysv/linux/llseek.c: Likewise. | |
410 | * sysdeps/unix/sysv/linux/sysctl.c: Likewise. | |
411 | * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. | |
412 | * sysdeps/unix/sysv/linux/mmap64.c: Likewise. | |
413 | * sysdeps/unix/sysv/linux/ustat.c: Likewise. | |
414 | * sysdeps/unix/sysv/linux/poll.c: Likewise. | |
415 | * sysdeps/unix/sysv/linux/pread64.c: Likewise. | |
416 | * sysdeps/unix/sysv/linux/writev.c: Likewise. | |
417 | * sysdeps/unix/sysv/linux/pread.c: Likewise. | |
418 | * sysdeps/unix/sysv/linux/ptrace.c: Likewise. | |
419 | * sysdeps/unix/sysv/linux/sigpending.c: Likewise. | |
420 | * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. | |
421 | * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. | |
422 | * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. | |
423 | * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. | |
424 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. | |
425 | * sysdeps/unix/sysv/linux/truncate64.c: Likewise. | |
426 | * sysdeps/unix/sysv/linux/xmknod.c: Likewise. | |
427 | * sysdeps/unix/sysv/linux/xstat64.c: Likewise. | |
428 | ||
429 | 2003-09-02 Jakub Jelinek <jakub@redhat.com> | |
430 | ||
431 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change. | |
432 | * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file. | |
433 | * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file. | |
434 | ||
7da1e911 UD |
435 | 2003-09-02 Ulrich Drepper <drepper@redhat.com> |
436 | ||
4a244f0d UD |
437 | * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions. |
438 | ||
439 | * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of | |
440 | open, close, and read. | |
441 | ||
1db52d14 UD |
442 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define |
443 | *_nocancel name. | |
444 | ||
445 | * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid. | |
446 | ||
7da1e911 UD |
447 | * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions. |
448 | * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove. | |
449 | * libio/oldtmpfile.c (__old_tmpfile): Likewise. | |
450 | ||
451 | * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions. | |
452 | ||
453 | * io/Makefile (CFLAGS-statfs.c): Add -fexceptions. | |
454 | (CFLAGS-fstatfs.c): Likewise. | |
455 | (CFLAGS-statvfs.c): Likewise. | |
456 | (CFLAGS-fstatvfs.c): Likewise. | |
457 | ||
458 | 2003-09-01 Ulrich Drepper <drepper@redhat.com> | |
459 | ||
460 | * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions. | |
461 | * posix/unistd.h: Remove __THROW from pathconf, fpathconf, | |
462 | sysconf. | |
463 | * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions. | |
1db52d14 UD |
464 | (CFLAGS-pathconf.c): Likewise. |
465 | (CFLAGS-fpathconf.c): Likewise. | |
7da1e911 UD |
466 | |
467 | * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions. | |
468 | * misc/fstab.h: Remove all __THROW. | |
469 | * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions. | |
470 | (CFLAGS-mntent_r.c): Likewise. | |
471 | * misc/mntent.h: Remove most __THROW. | |
472 | ||
473 | * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. | |
474 | (CFLAGS-mkstemp64.c): Likewise. | |
475 | ||
476 | * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation | |
477 | around call to exec_comm. | |
478 | * posix/wordexp.h: Remove __THROW from wordexp. | |
479 | * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions. | |
480 | ||
481 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use | |
482 | not-cancelable functions. | |
483 | ||
484 | * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions. | |
485 | (CFLAGS-iofopen.c): Likewise. | |
486 | (CFLAGS-iofopen64.c): Likewise. | |
487 | ||
488 | * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output | |
489 | functions. | |
490 | * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions. | |
491 | * stdlib/fmtmsg.h: Remove __THROW from fmtmsg. | |
492 | ||
493 | * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt. | |
494 | * login/Makefile (CFLAGS-getpt.c): Add -fexceptions. | |
495 | ||
c503d3dc UD |
496 | 2003-09-01 Thorsten Kukuk <kukuk@suse.de> |
497 | ||
498 | * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return | |
499 | NSS_STATUS_SUCCESS if entry was found. | |
500 | (getspent_next_file): Store user in blacklist after entry | |
501 | was found, use innetgr. | |
502 | ||
503 | 2003-09-01 Jakub Jelinek <jakub@redhat.com> | |
504 | ||
505 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. | |
506 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. | |
507 | ||
508 | * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset | |
509 | computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for | |
510 | DTV_AT_TP, optimize. | |
511 | ||
5acf789a UD |
512 | 2003-08-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
513 | ||
514 | * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and | |
515 | posix_fallocate64 at GLIBC_2.3.3. | |
516 | * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define. | |
517 | (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. | |
518 | ||
38226fe3 UD |
519 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
520 | ||
521 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_ | |
522 | functions. | |
523 | ||
3d7ec3ad UD |
524 | 2003-08-31 Ulrich Drepper <drepper@redhat.com> |
525 | ||
eef80cf8 | 526 | * libio/libioP.h (_IO_acquire_lock_fct): Define as inline function. |
3d7ec3ad UD |
527 | Code by Richard Henderson. |
528 | ||
28c97261 UD |
529 | 2003-08-31 Philip Blundell <philb@gnu.org> |
530 | ||
531 | * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and | |
532 | posix_fallocate64 at GLIBC_2.3.3. | |
533 | ||
cd2fbe58 UD |
534 | 2003-08-31 Ulrich Drepper <drepper@redhat.com> |
535 | ||
536 | * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET. | |
537 | * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp. | |
538 | ||
b5bc52ef UD |
539 | 2003-08-30 Jakub Jelinek <jakub@redhat.com> |
540 | ||
541 | * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define. | |
542 | * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be | |
543 | included multiple times. | |
544 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass | |
545 | ptid, tls, ctid arguments to the kernel. | |
546 | * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): | |
547 | Use INTERNAL_SYSCALL instead of __syscall_getpagesize. | |
548 | * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c | |
549 | (__libc_sigaction): Use INLINE_SYSCALL instead of | |
550 | __syscall_rt_sigaction. | |
551 | * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list | |
552 | (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek, | |
553 | __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid, | |
554 | __syscall_setgroups, __syscall_setregid, __syscall_setreuid, | |
555 | __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction, | |
556 | __syscall_rt_sigpending, __syscall_rt_sigprocmask, | |
557 | __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend, | |
558 | __syscall_rt_sigtimedwait): Remove unneeded syscall stubs. | |
559 | * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines): | |
560 | Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, | |
561 | rt_sigqueueinfo, rt_sigaction and rt_sigpending. | |
562 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
563 | (__CLONE_SYSCALL_STRING): Define. | |
564 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add | |
565 | CFI directives. | |
566 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h | |
567 | (__CLONE_SYSCALL_STRING): Define. | |
568 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL): | |
569 | Define. | |
570 | * sysdeps/unix/sysv/linux/sparc/system.c: New file. | |
571 | ||
8c620ae0 UD |
572 | 2003-08-30 Ulrich Drepper <drepper@redhat.com> |
573 | ||
b5bc52ef UD |
574 | * sunrpc/rpc/clnt.h: Remove a few __THROW. |
575 | * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions. | |
576 | (CFLAGS-key_call.c): Likewise. | |
577 | (CFLAGS-pmap_rmt.c): Likewise. | |
cd2fbe58 | 578 | (CFLAGS-clnt_perr.c): Likewise. |
b5bc52ef UD |
579 | * sunrpc/rpc/auth.h: Remove serveral __THROW. |
580 | ||
443f7933 UD |
581 | * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. |
582 | (CFLAGS-gethstbynm_r.c): Likewise. | |
583 | (CFLAGS-gethstbynm2_r.c): Likewise. | |
b5bc52ef | 584 | (CFLAGS-rcmd.c): Likewise. |
443f7933 UD |
585 | * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions. |
586 | ||
2b29b09e UD |
587 | * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions. |
588 | (CFLAGS-argp-fmtstream.c): Likewise. | |
589 | * argp/argp.h: Remove a number of __THROW. | |
590 | ||
b9cc1576 UD |
591 | * misc/sys/syslog.h (vsyslog): Remove __THROW. |
592 | ||
cdbfa9f8 UD |
593 | * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. |
594 | * misc/getpass.c (getpass): Add cleanup handler to ensure the | |
595 | stream is closed even if the thread is canceled. | |
596 | (call_fclose): New function. | |
b9cc1576 | 597 | * posix/unistd.h: Remove __THROW from getpass prototype. |
cdbfa9f8 UD |
598 | |
599 | * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. | |
600 | ||
601 | * signal/signal.h (psignal): Remove __THROW. | |
602 | * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions. | |
603 | ||
048466f6 | 604 | * misc/Makefile (CFLAGS-error.c): Define. |
8c620ae0 UD |
605 | * misc/error.c (error): Disable cancellation handling around the |
606 | actual output. The message should in any case be printed. | |
607 | (error_at_line): Likewise. | |
608 | ||
609 | * misc/error.h: Protect parameter names with leading __. | |
610 | ||
bc2e3689 UD |
611 | 2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca> |
612 | ||
613 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop. | |
614 | ||
615 | 2003-08-29 Jakub Jelinek <jakub@redhat.com> | |
616 | ||
617 | * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the | |
618 | end. | |
619 | ||
620 | 2003-08-29 Ulrich Drepper <drepper@redhat.com> | |
621 | ||
622 | * libio/stdio.h: Remove a few more __THROW. | |
623 | ||
0261d33f UD |
624 | 2003-08-29 Jakub Jelinek <jakub@redhat.com> |
625 | ||
626 | * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c, | |
627 | fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c, | |
628 | getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c, | |
629 | iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c, | |
630 | iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c, | |
631 | iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c, | |
632 | ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c, | |
633 | oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c, | |
634 | oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c, | |
635 | putwchar.c and rewind.c with exceptions. | |
636 | * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock, | |
637 | _IO_release_lock): Define. | |
638 | * libio/fileops.c (_IO_new_file_underflow): Use it. | |
639 | * libio/fputc.c (fputc): Likewise. | |
640 | * libio/fputwc.c (fputwc): Likewise. | |
641 | * libio/freopen64.c (freopen64): | |
642 | * libio/freopen.c (freopen): Likewise. | |
643 | * libio/fseek.c (fseek): Likewise. | |
644 | * libio/fseeko64.c (fseeko64): Likewise. | |
645 | * libio/fseeko.c (fseeko): Likewise. | |
646 | * libio/ftello64.c (ftello64): Likewise. | |
647 | * libio/ftello.c (ftello): Likewise. | |
648 | * libio/fwide.c (fwide): Likewise. | |
649 | * libio/getc.c (_IO_getc): Likewise. | |
650 | * libio/getchar.c (getchar): Likewise. | |
651 | * libio/getwc.c (_IO_getwc): Likewise. | |
652 | * libio/getwchar.c (getwchar): Likewise. | |
653 | * libio/iofclose.c (_IO_new_fclose): | |
654 | * libio/iofflush.c (_IO_fflush): Likewise. | |
655 | * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. | |
656 | * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. | |
657 | * libio/iofgets.c (_IO_fgets): Likewise. | |
658 | * libio/iofgetws.c (fgetws): Likewise. | |
bc2e3689 UD |
659 | * libio/iofputs.c (_IO_fputs): Likewise. |
660 | * libio/iofputws.c (fputws): Likewise. | |
0261d33f UD |
661 | * libio/iofread.c (_IO_fread): Likewise. |
662 | * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. | |
663 | * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. | |
664 | * libio/ioftell.c (_IO_ftell): Likewise. | |
665 | * libio/iofwrite.c (_IO_fwrite): Likewise. | |
666 | * libio/iogetdelim.c (_IO_getdelim): Likewise. | |
667 | * libio/iogets.c (_IO_gets): Likewise. | |
668 | * libio/ioputs.c (_IO_puts): Likewise. | |
669 | * libio/ioseekoff.c (_IO_seekoff): Likewise. | |
670 | * libio/ioseekpos.c (_IO_seekpos): Likewise. | |
671 | * libio/iosetbuffer.c (_IO_setbuffer): Likewise. | |
672 | * libio/iosetvbuf.c (_IO_setvbuf): Likewise. | |
673 | * libio/ioungetc.c (_IO_ungetc): Likewise. | |
674 | * libio/ioungetwc.c (ungetwc): Likewise. | |
675 | * libio/oldiofclose.c (_IO_old_fclose): Likewise. | |
676 | * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. | |
677 | * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. | |
678 | * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. | |
679 | * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. | |
680 | * libio/peekc.c (_IO_peekc_locked): Likewise. | |
681 | * libio/putc.c (_IO_putc): Likewise. | |
682 | * libio/putchar.c (putchar): Likewise. | |
683 | * libio/putwc.c (putwc): Likewise. | |
684 | * libio/putwchar.c (putwchar): Likewise. | |
685 | * libio/rewind.c (rewind): Likewise. | |
686 | * libio/wfileops.c (_IO_wfile_underflow): Likewise. | |
687 | ||
58ce42fc UD |
688 | 2003-08-29 Ulrich Drepper <drepper@redhat.com> |
689 | ||
690 | * signal/signal.h: sighold, sigrelse, sigignore, sigset were | |
691 | available in XPG4.2. | |
692 | ||
693 | 2003-08-27 Phil Knirsch <pknirsch@redhat.com> | |
0994e2b8 UD |
694 | Jakub Jelinek <jakub@redhat.com> |
695 | ||
696 | * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit | |
697 | big endian arches. Don't read beyond end of fds_bits array. | |
698 | ||
3c945c44 UD |
699 | 2003-04-27 Bruno Haible <bruno@clisp.org> |
700 | ||
701 | * manual/message.texi (Advanced gettext functions): Add information | |
702 | about Korean, Portuguese, Latvian. Gaeilge is also known as Irish. | |
703 | Add section about Lithuanian, reported by Ricardas Cepas | |
704 | <rch@richard.eu.org>. | |
705 | Add information about Croatian. | |
706 | Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>. | |
707 | Remove remark about continuation lines that is not true for PO files. | |
708 | Fix formula for Slovenian, reported by Roman Maurer | |
709 | <roman.maurer@amis.net>. | |
710 | ||
ea493b56 UD |
711 | 2003-08-27 Ulrich Drepper <drepper@redhat.com> |
712 | ||
abcb00da UD |
713 | * math/math_private.h: Declare __copysignf. |
714 | * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of | |
715 | copysignf. | |
716 | ||
ea493b56 UD |
717 | * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf, |
718 | __signbit, and __signbitl inline functions. | |
719 | ||
720 | * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use | |
721 | HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit(). | |
722 | ||
723 | * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp. | |
724 | * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp. | |
725 | ||
f8df79db UD |
726 | 2003-08-27 Jakub Jelinek <jakub@redhat.com> |
727 | ||
728 | * inet/inet_mkadr.c (inet_makeaddr): Optimize. | |
729 | ||
577822c0 UD |
730 | 2003-08-27 Ulrich Drepper <drepper@redhat.com> |
731 | ||
732 | * include/stdio.h: Add declarations for __builtin_fwrite and | |
733 | __builtin_fwrite_unlocked. | |
734 | ||
45c24c06 UD |
735 | 2003-08-27 Jakub Jelinek <jakub@redhat.com> |
736 | ||
737 | * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64 | |
738 | fits into allocation. Add padding on 32-bit arches so that | |
739 | dirp->data is enough aligned for struct dirent64. | |
740 | Avoid clearing of the buffer, just clear DIR structure. | |
741 | ||
5556fc6a UD |
742 | 2003-08-26 Ulrich Drepper <drepper@redhat.com> |
743 | ||
744 | * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function. | |
745 | * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function. | |
746 | ||
d54869a9 UD |
747 | 2003-08-26 Steven Munroe <sjmunroe@us.ibm.com> |
748 | ||
749 | * sysdeps/powerpc/powerpc64/elf/Makefile: New file. | |
750 | ||
a49daee2 UD |
751 | 2003-08-26 Jakub Jelinek <jakub@redhat.com> |
752 | ||
753 | * login/programs/utmpdump.c (print_entry): Cast tv_usec to long | |
754 | to match format string. | |
755 | * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add | |
756 | __old_buf. | |
757 | (__new_semctl): Shut up warning. | |
758 | * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h | |
759 | (_dl_string_hwcap): Add __attribute__ ((always_inline)). | |
760 | ||
2fe98a4a UD |
761 | 2003-08-26 Jakub Jelinek <jakub@redhat.com> |
762 | ||
763 | * elf/ldconfig.c (search_dir): When checking for GNU-style .so | |
764 | link file use the real file name, not the resolved name we got by | |
765 | following the symlinks. | |
766 | ||
41c26b68 UD |
767 | 2003-08-25 Ulrich Drepper <drepper@redhat.com> |
768 | ||
769 | * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field | |
770 | if the object size is large enough. | |
771 | ||
82d8607d UD |
772 | 2003-08-25 Jakub Jelinek <jakub@redhat.com> |
773 | ||
774 | * elf/ldconfig.c (search_dir): Treat symlink as regular file | |
775 | if it won't point to itself unless it is .so symlink for the linker. | |
776 | ||
1c8c5277 UD |
777 | 2003-08-25 Ulrich Drepper <drepper@redhat.com> |
778 | ||
779 | * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't | |
780 | use _mode if _IO_fwide_maybe_incompatible. | |
781 | * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after | |
782 | the compatibility test. | |
783 | ||
0b9225cd UD |
784 | 2003-08-25 Jakub Jelinek <jakub@redhat.com> |
785 | ||
786 | * elf/cache.c (save_cache): Don't write beyond end of file_entries | |
787 | buffer. | |
788 | Duplicate last old cache entry if the count would be odd. | |
789 | ||
ecc791d3 AJ |
790 | 2003-08-25 Andreas Jaeger <aj@suse.de> |
791 | ||
792 | * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of | |
793 | __LONG_LONG_PAIR to long. | |
794 | ||
47ceb39d UD |
795 | 2003-08-25 Philip Blundell <philb@gnu.org> |
796 | ||
797 | * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define. | |
798 | (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise. | |
799 | ||
544f3cdf UD |
800 | 2003-08-18 Alfred M. Szmidt <ams@kemisten.nu> |
801 | ||
802 | * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine | |
803 | and use __libc_cleanup_region_end instead. | |
804 | ||
395412a0 UD |
805 | 2003-08-25 Ulrich Drepper <drepper@redhat.com> |
806 | ||
807 | * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21. | |
808 | ||
089d05d5 UD |
809 | 2003-08-22 Ulrich Drepper <drepper@redhat.com> |
810 | ||
811 | * io/fcntl.h (posix_fallocate): Change type of third parameter to | |
812 | off_t. | |
813 | (posix_fallocate64): Change type of third parameter to off64_t. | |
814 | * sysdeps/generic/posix_fallocate.c: Adjust for type change. | |
815 | * sysdeps/posix/posix_fallocate.c: Likewise. | |
816 | * sysdeps/generic/posix_fallocate64.c: Likewise. | |
817 | * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility | |
818 | code for 32-bit platforms. | |
819 | * sysdeps/unix/sysv/linux/i386/Versions: Add new version for | |
820 | posix_fallocate64. | |
821 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise. | |
822 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. | |
823 | * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. | |
824 | ||
75f2e0d1 UD |
825 | 2003-08-19 Ulrich Drepper <drepper@redhat.com> |
826 | ||
87865838 UD |
827 | * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to |
828 | the type, not to name. | |
829 | ||
5dfe6778 UD |
830 | * stdio-common/test-vfprintf.c (main): Don't write temporary file |
831 | into source directory. | |
832 | ||
9a3a9dd8 UD |
833 | * malloc/malloc.c (_int_free): Add cheap test for some invalid |
834 | block sizes. | |
835 | ||
75f2e0d1 UD |
836 | * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in |
837 | syscall name. | |
838 | ||
ee4e5a3d UD |
839 | 2003-08-18 Ulrich Drepper <drepper@redhat.com> |
840 | ||
841 | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error | |
842 | into EINVAL. | |
843 | ||
ee2f68f2 RM |
844 | 2003-08-18 H.J. Lu <hongjiu.lu@intel.com> |
845 | ||
846 | * sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type. | |
847 | (elf_machine_lazy_rel): Likewise. | |
848 | ||
0f98eee5 UD |
849 | 2003-08-18 Art Haas <ahaas@airmail.net> |
850 | ||
851 | * malloc/malloc.h: Remove unneeded ';' where closing the C++ | |
852 | extern block. | |
853 | ||
3f3aaac1 UD |
854 | 2003-08-18 Ulrich Drepper <drepper@redhat.com> |
855 | ||
856 | * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support | |
857 | loading big binaries where @gprel(sym) cannot be handled in 'add' | |
858 | but instead has to be used with 'movl'. | |
859 | ||
5c99719c AJ |
860 | 2003-08-17 Juergen Kreileder <jk@blackdown.de> |
861 | Andreas Jaeger <aj@suse.de> | |
862 | ||
863 | * sysdeps/x86_64/bits/byteswap.h: New file. | |
995fe06d | 864 | |
8269c5f1 AJ |
865 | 2003-08-17 Andreas Jaeger <aj@suse.de> |
866 | ||
995fe06d AJ |
867 | * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo. |
868 | ||
137ffcdc UD |
869 | 2003-08-16 Jakub Jelinek <jakub@redhat.com> |
870 | ||
871 | * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL, | |
872 | PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. | |
873 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL, | |
874 | PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. | |
875 | * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL, | |
876 | ret_ERRVAL, PSEUDO_END_ERRVAL): Define. | |
877 | * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL, | |
878 | ret_ERRVAL, PSEUDO_END_ERRVAL): Define. | |
879 | * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL, | |
880 | ret_ERRVAL): Define. | |
881 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL, | |
882 | PSEUDO_END_ERRVAL, ret_ERRVAL): Define. | |
883 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL, | |
884 | PSEUDO_END_ERRVAL, ret_ERRVAL): Define. | |
885 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL): | |
886 | Define. | |
887 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL, | |
888 | PSEUDO_END_ERRVAL, ret_ERRVAL): Define. | |
889 | * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define. | |
890 | ||
891 | * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64, | |
892 | posix_fadvise64_64): Remove. | |
893 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add | |
894 | V flag. | |
895 | * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): | |
896 | Likewise. | |
897 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list | |
898 | (posix_fadvise64): Likewise. | |
899 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list | |
900 | (posix_fadvise64): Likewise. | |
901 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list | |
902 | (posix_fadvise64): Likewise. | |
903 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): | |
904 | Likewise. | |
905 | * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to... | |
906 | * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here. | |
907 | (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation. | |
908 | (__posix_fadvise64_l32): New function. | |
909 | * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change. | |
910 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export | |
911 | posix_fadvise64@@GLIBC_2.3.3. | |
912 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. | |
913 | * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. | |
914 | * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return | |
915 | error value. | |
916 | * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file. | |
917 | ||
918 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
919 | (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD. | |
920 | ||
921 | 2003-08-15 Jakub Jelinek <jakub@redhat.com> | |
922 | ||
923 | * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove. | |
924 | (elf_machine_matches_host): Remove weak extern stuff. | |
925 | Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED. | |
926 | (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern | |
927 | stuff. Use GL(dl_hwcap) unconditionally. | |
928 | ||
36a8cf1e UD |
929 | 2003-08-16 Alan Modra <amodra@bigpond.net.au> |
930 | ||
931 | * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after | |
932 | __libc_start_main branch. | |
933 | ||
878edcef AJ |
934 | 2003-08-16 Jakub Jelinek <jakub@redhat.com>, |
935 | Andreas Jaeger <aj@suse.de> | |
936 | ||
937 | * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS | |
938 | instead of setting errno. | |
939 | * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. | |
940 | ||
4a4ac20b AJ |
941 | 2003-08-16 Andreas Jaeger <aj@suse.de> |
942 | ||
943 | * sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype. | |
944 | * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. | |
945 | ||
bfef9264 UD |
946 | 2003-08-15 Ulrich Drepper <drepper@redhat.com> |
947 | ||
bfef9264 UD |
948 | * io/fcntl.h (posix_fadvise64): Change type of third parameter to |
949 | off_t. | |
950 | * sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition. | |
951 | * sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter | |
952 | description indicating the error value is returned, not -1. | |
bfef9264 UD |
953 | * sysdeps/unix/sysv/linux/kernel-features.h: Add definition of |
954 | __ASSUME_FADVISE64_64_SYSCALL. | |
955 | * sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and | |
956 | posix_madvise in one file. Have posix_madvise defined with error | |
957 | value returned. | |
958 | Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 | |
959 | entry. | |
bfef9264 UD |
960 | * sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file. |
961 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL, | |
962 | PSEUDO_END_ERRVAL, and ret_ERRVAL. | |
963 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. | |
964 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
f38afd78 UD |
965 | * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add |
966 | posix_fadvise64. | |
bfef9264 UD |
967 | |
968 | * posix/Makefile (routines): Add posix_madvise. | |
969 | * sysdeps/generic/madvise.c: Don't define posix_madvise. | |
970 | * sysdeps/generic/posix_madvise.c: New file. | |
971 | * sysdeps/unix/sysv/aix/posix_madvise.c: New file. | |
f38afd78 UD |
972 | * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines): |
973 | Add posix_fadvise64_64. | |
bfef9264 | 974 | |
20d9b98f UD |
975 | 2003-08-15 Jakub Jelinek <jakub@redhat.com> |
976 | ||
977 | * assert/assert.h (assert_perror): Use __builtin_expect for gcc >= | |
978 | 3.0, not for !gcc or gcc < 3.0. | |
979 | ||
d57a3f0e UD |
980 | 2003-08-11 Carlos O'Donell <carlos@baldric.uwo.ca> |
981 | ||
982 | * dlfcn/default.c (main): Cast dlsym loaded value to same type as main. | |
983 | Address passed to test_in_mod1 and test_in_mod2 without casting. | |
984 | * dlfcn/defaultmod1.c: Change prototype of test_in_mod1. | |
985 | (test_in_mod1): Cast dlsym loaded value to same type as mainp. | |
986 | * dlfcn/defaultmod2.c: Change prototype of test_in_mod2. | |
987 | (test_in_mod2): Cast dlsym loaded value to same type as mainp. | |
988 | ||
989 | 2003-08-15 Jakub Jelinek <jakub@redhat.com> | |
990 | ||
991 | * sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls): | |
992 | Change quotes before using []. | |
993 | ||
994 | * sysdeps/unix/sysv/linux/sparc/sys/user.h: New file. | |
995 | ||
996 | * sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock): | |
997 | Renamed to... | |
998 | (__sparc32_atomic_locks): ...this. Change into 64-byte array. | |
999 | (__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr | |
1000 | argument. Select one of 64 locks from address bits. | |
1001 | (atomic_compare_and_exchange_val_acq, | |
1002 | atomic_compare_and_exchange_bool_acq): Pass memory address to | |
1003 | __sparc32_atomic_do_{,un}lock. | |
1004 | ||
41d70e88 UD |
1005 | 2003-08-14 Ulrich Drepper <drepper@redhat.com> |
1006 | ||
9b0a6e96 UD |
1007 | * assert/assert.h (assert): Use !! in front of expression to allow |
1008 | use of pointers. | |
1009 | ||
41d70e88 UD |
1010 | * iconvdata/cp932.c: Fixed checking of a few border of code areas. |
1011 | Changed conversion of JIS X 0201 from using a table to calculating. | |
1012 | * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote | |
1013 | conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to | |
1014 | EUC-JP-MS. | |
1015 | * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS. | |
1016 | * iconvdata/CP932.irreversible: New file. | |
1017 | * iconvdata/EUC-JP-MS.irreversible: New file. | |
1018 | Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. | |
1019 | ||
b61c8aba UD |
1020 | 2003-08-13 Ulrich Drepper <drepper@redhat.com> |
1021 | ||
1022 | * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall. | |
1023 | ||
1024 | * elf/Makefile: Use LC_ALL=C in a few cases where we call external | |
1025 | text processing tools. | |
1026 | ||
1027 | * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid | |
1028 | element unless BROKEN_THREAD_SIGNALS is defined. | |
1029 | (struct requestlist): Likewise. | |
1030 | * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in | |
1031 | caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined. | |
1032 | * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. | |
1033 | * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid | |
1034 | parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers. | |
1035 | Pass current PID to __aio_sigqueue. | |
1036 | * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only | |
1037 | call. Don't initialize caller_pid field of waitlist element. | |
1038 | ||
bbdef797 UD |
1039 | 2003-08-12 Jakub Jelinek <jakub@redhat.com> |
1040 | ||
1041 | * libio/libioP.h (_IO_vtable_offset): Define. | |
1042 | * libio/freopen.c (freopen): Use it. | |
1043 | * libio/ioputs.c (_IO_puts): Likewise. | |
1044 | * libio/freopen64.c (freopen64): Likewise. | |
1045 | * libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp): | |
1046 | Likewise. | |
1047 | * libio/iofclose.c (_IO_new_fclose): Likewise. | |
1048 | * libio/iofputs.c (_IO_fputs): Likewise. | |
1049 | * libio/ioftell.c (_IO_ftell): Likewise. | |
1050 | * libio/iofwrite.c (_IO_fwrite): Likewise. | |
1051 | * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. | |
1052 | * libio/iosetbuffer.c (_IO_setbuffer): Likewise. | |
1053 | * stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise. | |
1054 | * stdio-common/vfscanf.c (ORIENT): Likewise. | |
1055 | ||
ca91553a UD |
1056 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
1057 | ||
1058 | * assert/assert.h: Use __builtin_expect in assert and | |
1059 | assert_perror definitions if possible. | |
1060 | ||
334fcf2a UD |
1061 | 2003-08-07 Jakub Jelinek <jakub@redhat.com> |
1062 | ||
1063 | * sysdeps/generic/ldsodefs.h (_rtld_global): Add | |
1064 | _dl_rtld_lock_recursive and _dl_rtld_unlock_recursive. | |
1065 | * elf/rtld.c (rtld_lock_default_lock_recursive, | |
1066 | rtld_lock_default_unlock_recursive): New functions. | |
1067 | (dl_main): Initialize _dl_rtld_lock_recursive and | |
1068 | _dl_rtld_unlock_recursive. | |
1069 | ||
1070 | 2003-08-05 Jakub Jelinek <jakub@redhat.com> | |
1071 | ||
1072 | * elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to | |
1073 | config_file directories instead of prepending. | |
1074 | ||
0cbc6c4e UD |
1075 | 2003-08-02 Ulrich Drepper <drepper@redhat.com> |
1076 | ||
1077 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1078 | __ASSUME_CLONE_STOPPED. | |
1079 | ||
20eb7970 UD |
1080 | 2003-08-01 Ulrich Drepper <drepper@redhat.com> |
1081 | ||
1082 | * sysdeps/generic/bits/libc-lock.h | |
1083 | (__libc_cleanup_push,__libc_cleanup_pop): Define even here. | |
1084 | ||
16018ac7 RM |
1085 | 2003-08-01 Roland McGrath <roland@frob.com> |
1086 | ||
1087 | * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c. | |
1088 | ||
d347a4ab UD |
1089 | 2003-07-31 Jakub Jelinek <jakub@redhat.com> |
1090 | ||
973d66e4 UD |
1091 | * sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE |
1092 | instead of __SWORD_TYPE. | |
1093 | * sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define. | |
1094 | * sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define. | |
1095 | * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE): | |
1096 | Define. | |
1097 | * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE): | |
1098 | Define. | |
1099 | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE): | |
1100 | Define. | |
1101 | * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file. | |
1102 | ||
d347a4ab UD |
1103 | * dlfcn/dlerror.c (once): New. |
1104 | (dlerror): Call __libc_once. | |
1105 | (_dlerror_run): Remove once. | |
1106 | ||
d347a4ab UD |
1107 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): |
1108 | Sync with 2.5.7 and 2.5.73 kernel changes. | |
1109 | ||
d347a4ab UD |
1110 | * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings. |
1111 | * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd | |
1112 | formats to size_t. | |
1113 | * elf/dl-lookup.c (_dl_debug_bindings): Likewise. | |
1114 | * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid. | |
1115 | * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2. | |
1116 | * gmon/tst-sprofil.c (main): Add parens to shut up warning. | |
1117 | * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer | |
1118 | difference argument. | |
1119 | * stdio-common/tst-wc-printf.c (main): Cast arguments with %C | |
1120 | format to wint_t. | |
1121 | * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use | |
1122 | %d format and cast expected value to int. | |
1123 | * sysdeps/generic/libc-start.c (STATIC): Add | |
1124 | __attribute__((always_inline) if LIBC_START_MAIN is already defined. | |
1125 | * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t | |
1126 | to ieee_float_shape_type. | |
1127 | (__sqrt): Avoid type punning. | |
1128 | * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t | |
1129 | to ieee_float_shape_type. | |
1130 | (__sqrtf): Avoid type punning. | |
1131 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define | |
1132 | refsym if in dl-conflict.c. | |
1133 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. | |
1134 | * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf. | |
1135 | (__new_semctl): Shut up warning. | |
1136 | * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf. | |
1137 | (__new_semctl): Shut up warning. | |
1138 | * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines. | |
1139 | Change old into union of __old_shmid_ds and __old_shminfo structs. | |
1140 | Adjust all users. | |
1141 | * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t. | |
1142 | ||
d347a4ab UD |
1143 | * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and |
1144 | modtime computation. | |
1145 | * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. | |
1146 | * sysdeps/posix/utimes.c (__utimes): Likewise. | |
1147 | ||
adc12574 UD |
1148 | 2003-07-30 Jakub Jelinek <jakub@redhat.com> |
1149 | ||
1150 | * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value, | |
1151 | call dl_signal_error directly. If already relocated, call | |
1152 | GL(dl_init_static_tls) directly, otherwise queue it for later. | |
1153 | (CHECK_STATIC_TLS): Undo 2003-07-24 change. | |
1154 | * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls). | |
1155 | * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls | |
1156 | for all static TLS initializations delayed in _dl_allocate_static_tls. | |
1157 | * elf/dl-support.c (_dl_init_static_tls): New variable. | |
1158 | * include/link.h (struct link_map): Add l_need_tls_init. | |
1159 | * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls. | |
1160 | (_dl_nothread_init_static_tls): New prototype. | |
1161 | (_dl_allocate_static_tls): Adjust prototype. | |
1162 | ||
1163 | * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive. | |
1164 | ||
87d254a7 AO |
1165 | 2003-07-31 Alexandre Oliva <aoliva@redhat.com> |
1166 | ||
1167 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
1168 | elf_machine_rel_relative, elf_machine_rela_relative): Don't assume | |
1169 | reloc_addr is aligned. | |
1170 | * sysdeps/alpha/dl-machine.h (elf_machine_rela, | |
1171 | elf_machine_rela_relative): Adjust. | |
1172 | * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela, | |
1173 | elf_machine_rel_relative, elf_machine_rela_relative): Adjust. | |
1174 | * sysdeps/cris/dl-machine.h (elf_machine_rela, | |
1175 | elf_machine_rela_relative): Adjust. | |
1176 | * sysdeps/hppa/dl-machine.h (elf_machine_rela, | |
1177 | elf_machine_rela_relative): Adjust. | |
1178 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela, | |
1179 | elf_machine_rel_relative, elf_machine_rela_relative): Adjust. | |
1180 | * sysdeps/ia64/dl-machine.h (elf_machine_rela, | |
1181 | elf_machine_rela_relative): Adjust. | |
1182 | * sysdeps/m68k/dl-machine.h (elf_machine_rela, | |
1183 | elf_machine_rela_relative): Adjust. | |
1184 | * sysdeps/mips/dl-machine.h (elf_machine_rela, | |
1185 | elf_machine_rela_relative): Adjust. | |
1186 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela, | |
1187 | elf_machine_rela_relative): Adjust. | |
1188 | * sysdeps/powerpc/powerpc64/dl-machine.h | |
1189 | (elf_machine_rela_relative, elf_machine_rela): Adjust. | |
1190 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela, | |
1191 | elf_machine_rela_relative): Adjust. | |
1192 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela, | |
adc12574 | 1193 | elf_machine_rela_relative): Adjust. |
87d254a7 AO |
1194 | * sysdeps/sh/dl-machine.h (elf_machine_rela, |
1195 | elf_machine_rela_relative): Adjust. | |
1196 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, | |
1197 | elf_machine_rela_relative): Adjust. | |
1198 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, | |
1199 | elf_machine_rela_relative): Adjust. | |
1200 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela, | |
1201 | elf_machine_rela_relative): Adjust. | |
1202 | ||
20539fd5 UD |
1203 | 2003-07-29 Ulrich Drepper <drepper@redhat.com> |
1204 | ||
1205 | * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore | |
1206 | alignment of TCB used before the last change so that it matches | |
1207 | ld's output for IE code. | |
1208 | ||
0d2f48bb RM |
1209 | 2003-07-29 Jakub Jelinek <jakub@redhat.com> |
1210 | ||
1211 | * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc, | |
1212 | __ctype_tolower_loc): Avoid "dereferencing type-punned pointer will | |
1213 | break strict-aliasing rules" warnings. | |
1214 | ||
a7f6c66e RM |
1215 | 2003-07-29 Roland McGrath <roland@redhat.com> |
1216 | ||
6e0bb375 | 1217 | * elf/Makefile: Revert accidental changes in last commit. |
98c24a32 | 1218 | * elf/dl-support.c: Likewise. |
6e0bb375 | 1219 | |
a7f6c66e RM |
1220 | * rt/tst-timer2.c: New file. |
1221 | * rt/Makefile (tests): Add it. | |
1222 | ||
172ce013 RM |
1223 | 2003-07-25 Jakub Jelinek <jakub@redhat.com> |
1224 | ||
1225 | * elf/dl-support.c (_dl_hwcap): Add nocommon attribute. | |
1226 | ||
5181d776 RM |
1227 | 2003-07-29 Roland McGrath <roland@redhat.com> |
1228 | ||
1229 | * elf/Makefile (tests) [$(build-shared) = yes]: | |
1230 | Depend on $(test-modules). | |
1231 | * dlfcn/Makefile: Likewise. | |
1232 | ||
23195635 RM |
1233 | 2003-07-28 Roland McGrath <roland@redhat.com> |
1234 | ||
bba446f7 RM |
1235 | * sysdeps/generic/bits/types.h (__STD_TYPE): New macro. |
1236 | Use that instead of `typedef' when using __*_TYPE macros in rhs. | |
1237 | ||
23195635 RM |
1238 | * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this. |
1239 | * elf/tst-tlsmod14a.c: Likewise. | |
1240 | ||
1241 | * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h> | |
1242 | before <linux/sysctl.h>. | |
1243 | ||
54943a03 UD |
1244 | 2003-07-27 Ulrich Drepper <drepper@redhat.com> |
1245 | ||
35107e0c UD |
1246 | * sysdeps/unix/sysv/syscalls.list: time syscall never fails. |
1247 | * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails. | |
1248 | * sysdeps/unix/sysv/i386/time.S: time syscall never fails. | |
54943a03 UD |
1249 | * sysdeps/unix/syscalls.list: umask syscall never fails. |
1250 | ||
deac8082 AJ |
1251 | 2003-07-27 Andreas Jaeger <aj@suse.de> |
1252 | ||
1253 | * sysdeps/unix/sysv/linux/init-first.c: Mark init as used. | |
1254 | ||
3e360d34 UD |
1255 | 2003-07-25 Jakub Jelinek <jakub@redhat.com> |
1256 | ||
1257 | * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version. | |
1258 | Include bits/a.out.h. | |
1259 | * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add | |
1260 | bits/a.out.h. | |
1261 | * sysdeps/unix/sysv/linux/bits/a.out.h: New file. | |
1262 | * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file. | |
1263 | * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file. | |
1264 | * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file. | |
1265 | * sysdeps/unix/sysv/linux/alpha/a.out.h: New file. | |
1266 | * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file. | |
1267 | * sysdeps/unix/sysv/linux/sparc/a.out.h: New file. | |
1268 | * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file. | |
1269 | ||
7b787f85 UD |
1270 | 2003-07-24 Jakub Jelinek <jakub@redhat.com> |
1271 | ||
1272 | * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE | |
1273 | if aiocbp != NULL and has already completed. Return -1/EINVAL if | |
1274 | aiocbp->aio_fildes does not match fildes. | |
1275 | ||
99fe3b0e UD |
1276 | 2003-07-24 Ulrich Drepper <drepper@redhat.com> |
1277 | ||
02ade8d6 UD |
1278 | * timezone/zic.c (rpytime): Replace cheap overflow check with a |
1279 | functioning one. | |
1280 | ||
99fe3b0e UD |
1281 | * include/link.h (struct link_map): Add l_tls_firstbyte_offset field. |
1282 | * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset): | |
1283 | Fix calculation of offsets to take misalignment of first byte in | |
1284 | file into account. | |
1285 | * elf/dl-load.c (_dl_map_object_from_fd): Initialize | |
1286 | l_tls_firstbyte_offset field. | |
1287 | * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise. | |
1288 | * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int. | |
1289 | Take l_tls_firstbyte_offset information into account. | |
adc12574 | 1290 | (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now. |
99fe3b0e UD |
1291 | * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype. |
1292 | * elf/Makefile: Add rules to build and run tst-tls14. | |
1293 | * elf/tst-tls14.c: New file. | |
1294 | * elf/tst-tlsmod14a.c: New file. | |
1295 | * elf/tst-tlsmod14b.c: New file. | |
1296 | ||
6bc0b954 UD |
1297 | 2003-07-23 Jakub Jelinek <jakub@redhat.com> |
1298 | ||
1299 | * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define. | |
1300 | (lio_listio): Use it. | |
1301 | * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of | |
1302 | after few defines to avoid duplication. | |
1303 | ||
0e9d6240 UD |
1304 | 2003-07-22 Jakub Jelinek <jakub@redhat.com> |
1305 | ||
9d79e037 UD |
1306 | * include/stdio.h (__libc_fatal): Add libc_hidden_proto. |
1307 | * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): | |
1308 | Likewise. | |
1309 | * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): | |
1310 | Add libc_hidden_def. | |
1311 | * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise. | |
1312 | * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. | |
1313 | * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise. | |
1314 | * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE, | |
1315 | __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE. | |
1316 | * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE. | |
1317 | * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last | |
1318 | change. | |
1319 | * sysdeps/generic/unwind.inc: Removed. | |
1320 | ||
0e9d6240 UD |
1321 | * include/resolv.h (__resp): Declare. Define to __libc_resp |
1322 | if in libc.so. | |
1323 | (_res): If USE___THREAD, define to (*__resp). | |
1324 | * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol | |
1325 | even if USE___THREAD. | |
1326 | (__resp): New __thread variable. | |
1327 | (__libc_resp): New alias. | |
1328 | * resolv/Versions (libc): Export _res@GLIBC_2.0 even if | |
1329 | USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE. | |
1330 | * sysdeps/generic/res-state.c (__res_state): Return __resp | |
1331 | if USE___THREAD. | |
1332 | ||
11bf8ce1 UD |
1333 | 2003-07-22 H.J. Lu <hongjiu.lu@intel.com> |
1334 | ||
1335 | * elf/dl-support.c (_dl_hwcap): New variable. | |
1336 | (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries. | |
1337 | ||
1338 | * sysdeps/i386/fpu/fclrexcpt.c: Include <unistd.h>, <ldsodefs.h> | |
1339 | and <dl-procinfo.h>. | |
1340 | (__feclearexcept): Clear MXCSR if needed. | |
1341 | * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. | |
1342 | ||
1343 | * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document | |
1344 | that newer hardware needs more than these macros. | |
1345 | ||
1346 | * sysdeps/i386/setfpucw.c: New file. | |
1347 | ||
1348 | 2003-07-22 Jakub Jelinek <jakub@redhat.com> | |
1349 | ||
1350 | * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig. | |
1351 | * elf/ldconfig.c: Include dl-procinfo.c. | |
1352 | (PROCINFO_CLASS): Define. | |
1353 | * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define. | |
1354 | * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file. | |
1355 | * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file. | |
1356 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS): | |
1357 | Define if not yet defined. Use it instead of EXTERN. Undefine | |
1358 | at the end of the file. | |
1359 | * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS): | |
1360 | Likewise. | |
1361 | * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c | |
1362 | (PROCINFO_CLASS): Likewise. | |
1363 | * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c | |
1364 | (PROCINFO_CLASS): Likewise. | |
1365 | ||
1366 | 2003-07-22 H.J. Lu <hongjiu.lu@intel.com> | |
1367 | ||
1368 | * elf/ldconfig.c (main): Issue a fatal error if relative path | |
1369 | is used to build cache. | |
1370 | ||
1371 | 2003-07-22 Ulrich Drepper <drepper@redhat.com> | |
1372 | ||
1373 | * elf/readlib.c (process_file): Avoid possible overflow in assignment. | |
1374 | ||
873a1928 RM |
1375 | 2003-07-21 Art Haas <ahaas@airmail.net> |
1376 | ||
1377 | * manual/charset.texi (Converting a Character): Fix example code so a | |
1378 | valid pointer is returned. | |
1379 | ||
9fb978c8 AJ |
1380 | 2003-07-22 Andreas Jaeger <aj@suse.de> |
1381 | ||
8c1bfa30 AJ |
1382 | * elf/readlib.c (process_file): Check that file is a shared |
1383 | object. | |
1384 | ||
42251450 AJ |
1385 | * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc |
1386 | will not optimize it away. | |
1387 | (__DTOR_END__): Likewise. | |
1388 | (__CTOR_END__): Likewise. | |
1389 | ||
9fb978c8 AJ |
1390 | * include/libc-symbols.h (_elf_set_element): Use attribute used so |
1391 | that gcc will not optimize it away. | |
1392 | (link_warning): Likewise. | |
1393 | ||
4009c3d9 UD |
1394 | 2003-07-22 Ulrich Drepper <drepper@redhat.com> |
1395 | ||
1396 | * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling. | |
1397 | * wcsmbs/Makefile (tests): Add tst-wcpncpy. | |
1398 | * wcsmbs/tst-wcpncpy.c: New file. | |
1399 | ||
1a379ea0 UD |
1400 | 2003-07-21 Ulrich Drepper <drepper@redhat.com> |
1401 | ||
7e939b21 UD |
1402 | * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define. |
1403 | ||
2775fdb5 UD |
1404 | * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of |
1405 | stmxcsr and ldmxcsr. | |
1406 | ||
1a379ea0 UD |
1407 | * Makerules (build-module-helper): Add -z defs unless explicitly said |
1408 | not to do it. | |
1409 | * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs | |
1410 | which has undefined symbols. | |
1411 | * elf/Makefile: Likewise. | |
1412 | ||
b72e048f UD |
1413 | * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask. |
1414 | * sysdeps/i386/fpu/feenablxcpt.c: Likewise. | |
1415 | * sysdeps/i386/fpu/feholdexcpt.c: Likewise. | |
1416 | * sysdeps/i386/fpu/fesetround.c: Likewise. | |
1417 | * sysdeps/i386/fpu/ftestexcept.c: Likewise. | |
1418 | ||
ca86a763 UD |
1419 | 2003-07-21 HJ Lu <hongjiu.lu@intel.com> |
1420 | ||
1421 | * elf/ldconfig.c (search_dir): Treat symlink as regular file | |
1422 | if it won't point to itself. | |
1423 | ||
66c79db9 UD |
1424 | 2003-07-20 Ulrich Drepper <drepper@redhat.com> |
1425 | ||
1426 | * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int. | |
1427 | ||
183f2df1 AJ |
1428 | 2003-07-20 Andreas Jaeger <aj@suse.de> |
1429 | ||
1430 | * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called | |
1431 | STANDARD_TO_LOOP_ERR_HANDLER. | |
1432 | * iconvdata/euc-jp-ms.c (BODY): Likewise. | |
1433 | ||
4e0dc4af UD |
1434 | 2003-07-19 Ulrich Drepper <drepper@redhat.com> |
1435 | ||
3f56243a UD |
1436 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo. |
1437 | ||
4e0dc4af UD |
1438 | * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls. |
1439 | ||
989d866b AJ |
1440 | 2003-07-16 Daniel Jacobowitz <drow@mvista.com> |
1441 | Andreas Jaeger <aj@suse.de> | |
1442 | ||
1443 | * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to | |
1444 | 256K, remove unneeded declaration of __getpagesize. | |
1445 | ||
a6fe2ab3 UD |
1446 | 2003-07-16 Andreas Schwab <schwab@suse.de> |
1447 | ||
1448 | * sysdeps/unix/sysv/linux/futimes.c: Include <string.h>. | |
1449 | ||
dade1ade UD |
1450 | 2003-07-15 Ulrich Drepper <drepper@redhat.com> |
1451 | ||
1452 | * io/test-utime.c (main): Make test yet more robust. | |
1453 | ||
9df2c61c UD |
1454 | 2003-07-14 Ulrich Drepper <drepper@redhat.com> |
1455 | ||
73299943 UD |
1456 | More cancellation handling fixups. |
1457 | * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel. | |
1458 | * sysdeps/generic/not-cancel.h: Likewise. | |
1459 | * catgets/open_catalog.c: Use not-cancelable syscalls. | |
1460 | * time/Makefile (CFLAGS-getdate.c): Add -fexceptions. | |
1461 | * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable. | |
1462 | * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable. | |
1463 | * dlfcn/dlfcn.h: Mark dlopen with __THROW again. | |
1464 | * io/fcntl.h: Don't mark posix_fallocate with __THROW. | |
1465 | * libio/fileops.c: Use not-cancelable syscalls for fclose. | |
1466 | * libio/iopopen.c: Use no-cancelable syscalls. | |
1467 | * libio/stdio.h: Mark popen and pclose with __THROW again. | |
1468 | * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions. | |
1469 | * misc/syslog.c: Fix locking and cancellation cleanup handling. | |
1470 | * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW. | |
1471 | * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c, | |
1472 | CFLAGS-tempname.c): Add -fexceptions. | |
1473 | * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. | |
1474 | * string/string.h: Mark strerror and strerror_r with _THROW again. | |
1475 | * sysdeps/generic/unwind.inc: New file. Copied from gcc. | |
1476 | * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove | |
1477 | #ifs since we now need all the code compiled. | |
1478 | * sysdeps/posix/spawni.c: Use close_not_cancel instead of close. | |
1479 | * sysdeps/unix/closedir.c: Use not-cancelable syscalls. | |
1480 | * sysdeps/unix/opendir.c: Likewise. | |
1481 | ||
9df2c61c UD |
1482 | * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. |
1483 | Add rule for EUC-JP-MS dependency. | |
1484 | * iconvdata/cp932.c: New file. | |
1485 | * iconvdata/eucjp-ms.c: New file. | |
1486 | * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. | |
1487 | Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. | |
1488 | ||
1489 | 2003-07-15 Jakub Jelinek <jakub@redhat.com> | |
1490 | ||
1491 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add | |
1492 | cfi directives. | |
1493 | ||
255476a9 UD |
1494 | 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1495 | ||
1496 | * sysdeps/unix/sysv/linux/kernel-features.h | |
1497 | (__ASSUME_FIXED_CLONE_SYSCALL): New macro. | |
1498 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it. | |
1499 | ||
1500 | * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h. | |
1501 | ||
b1b060c3 UD |
1502 | 2003-07-14 Ulrich Drepper <drepper@redhat.com> |
1503 | ||
1504 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1505 | __ASSUME_TGKILL for Alpha appropriately. | |
1506 | ||
f4e0175f UD |
1507 | 2003-07-12 Ulrich Drepper <drepper@redhat.com> |
1508 | ||
04963cc6 | 1509 | * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define. |
9291eb49 UD |
1510 | * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): |
1511 | Likewise. | |
1512 | * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): | |
1513 | Likewise. | |
04963cc6 | 1514 | |
f4e0175f UD |
1515 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
1516 | __ASSUME_UTIMES for x86 and kernels > 2.5.75. | |
1517 | ||
1518 | * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with | |
1519 | second parameter == NULL. | |
1520 | * sysdeps/unix/sysv/linux/utimes.c: New file. | |
1521 | ||
1522 | 2003-07-12 Jakub Jelinek <jakub@redhat.com> | |
1523 | ||
1524 | * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h. | |
1525 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix | |
1526 | a typo. | |
1527 | ||
82bae9f9 UD |
1528 | 2003-07-12 Ulrich Drepper <drepper@redhat.com> |
1529 | ||
327e1637 | 1530 | * time/sys/time.h: Namespace cleanup. |
82bae9f9 UD |
1531 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
1532 | __ASSUME_UTIMES for the architectures which always had the syscall. | |
1533 | * sysdeps/unix/sysv/linux/futimes.c: New file. | |
1534 | ||
4a17085f UD |
1535 | 2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1536 | ||
1537 | * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR | |
1538 | register across CENABLE and CDISABLE. | |
1539 | ||
6080ecdf UD |
1540 | 2003-07-11 Jakub Jelinek <jakub@redhat.com> |
1541 | ||
1542 | * sysdeps/unix/sysv/linux/sigwait.c: Include string.h. | |
1543 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. | |
1544 | * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. | |
1545 | * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned | |
1546 | int before assigning to max to avoid warnings. | |
1547 | ||
f05bf186 UD |
1548 | 2003-07-11 Jakub Jelinek <jakub@redhat.com> |
1549 | ||
1550 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add | |
1551 | cfi directives. | |
1552 | * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise. | |
1553 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise. | |
1554 | ||
7fbf17e4 UD |
1555 | 2003-07-10 Jakub Jelinek <jakub@redhat.com> |
1556 | ||
1557 | * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of | |
1558 | .data.rel.ro.local to "aw". | |
1559 | ||
231e88a4 UD |
1560 | 2003-07-10 Ulrich Drepper <drepper@redhat.com> |
1561 | ||
f135896a | 1562 | * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition. |
231e88a4 UD |
1563 | * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. |
1564 | (PIC-ccflag): Define. | |
1565 | ||
57a5ea02 UD |
1566 | 2003-07-04 Jakub Jelinek <jakub@redhat.com> |
1567 | ||
1568 | * sysdeps/s390/s390-32/elf/start.S: Emit position independent code | |
1569 | if PIC. | |
1570 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
1571 | ||
1572 | 2003-07-07 Jakub Jelinek <jakub@redhat.com> | |
1573 | ||
1574 | * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) | |
1575 | into .data.rel.ro.local section if PIC to avoid DT_TEXTREL. | |
1576 | ||
d810b358 UD |
1577 | 2003-07-07 Ulrich Drepper <drepper@redhat.com> |
1578 | ||
1579 | * sysdeps/unix/sysv/linux/kernel-features.h: Version | |
1580 | __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible. | |
1581 | ||
1582 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for | |
1583 | compilation with HAVE_AUX_SECURE defined. | |
1584 | ||
6fe93e82 RH |
1585 | 2003-07-05 Richard Henderson <rth@redhat.com> |
1586 | ||
1587 | * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. | |
1588 | ||
fbd90f6c UD |
1589 | 2003-07-03 Ulrich Drepper <drepper@redhat.com> |
1590 | ||
1591 | * configure.in: Also check for .cfi_rel_offset pseudo-op. | |
1592 | ||
414f49c0 UD |
1593 | 2003-07-03 Jakub Jelinek <jakub@redhat.com> |
1594 | ||
1595 | * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a | |
1596 | typo. | |
1597 | ||
1418bf99 UD |
1598 | 2003-07-03 Ulrich Drepper <drepper@redhat.com> |
1599 | ||
1600 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK): | |
1601 | Define. | |
1602 | * sysdeps/unix/sysv/linux/prof-freq.h: New file. | |
1603 | ||
6d8d57bc UD |
1604 | 2003-07-02 Jakub Jelinek <jakub@redhat.com> |
1605 | ||
1606 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo | |
1607 | decl and use with #ifdef NEED_DL_SYSINFO. | |
1608 | ||
ef8783de UD |
1609 | 2003-07-02 Ulrich Drepper <drepper@redhat.com> |
1610 | ||
fcdac13a UD |
1611 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set |
1612 | GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set. | |
1613 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1614 | __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the | |
1615 | vsyscall DSO was added. | |
1616 | ||
ef8783de UD |
1617 | * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0 |
1618 | depending on selected standard. | |
1619 | (NGROUPS_MAX): Define to 8 if not defined. | |
1620 | ||
af05f48c AJ |
1621 | 2003-07-02 Andreas Jaeger <aj@suse.de> |
1622 | ||
1623 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file. | |
1624 | ||
b5d5b67b UD |
1625 | 2003-05-04 H.J. Lu <hongjiu.lu@intel.com> |
1626 | ||
1627 | * malloc/arena.c (arena_get2): Add atomic_write_barrier. | |
1628 | * malloc/thread-m.h: Include <atomic.h>. | |
1629 | (atomic_full_barrier): Provide default. | |
1630 | (atomic_read_barrier): Likewise. | |
1631 | (atomic_write_barrier): Likewise. | |
1632 | * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define. | |
1633 | ||
5a8e918d UD |
1634 | 2003-06-30 Ulrich Drepper <drepper@redhat.com> |
1635 | ||
1636 | * sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET. | |
1637 | ||
bbf1f957 RH |
1638 | 2003-06-30 Richard Henderson <rth@redhat.com> |
1639 | ||
1640 | * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int): | |
1641 | Invert the sense of the return value. | |
1642 | (__arch_exchange_16_int): Fix paste-o. | |
1643 | (__arch_exchange_{32,64}_int): Fix think-o. | |
1644 | ||
1645 | * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly. | |
1646 | ||
cbdce766 RH |
1647 | 2003-06-30 Richard Henderson <rth@redhat.com> |
1648 | ||
1649 | * include/sys/resource.h (__getrusage): Mark hidden. | |
1650 | * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. | |
1651 | * include/sys/wait.h (__wait4): Likewise. | |
1652 | ||
7f4b68d6 AJ |
1653 | 2003-06-17 Guido Guenther <agx@sigxcpu.org> |
1654 | ||
1655 | * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT | |
1656 | case. | |
1657 | (xstat_conv): Rename to __xstat_conv and remove static inline. | |
1658 | (xstat64_conv): Likewise. | |
1659 | ||
5245d8a1 UD |
1660 | 2003-06-29 Ulrich Drepper <drepper@redhat.com> |
1661 | ||
1662 | * sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter | |
1663 | values which cannot be handled in one nanosleep call. | |
1664 | ||
5a81730f UD |
1665 | 2003-06-25 Alfred M. Szmidt <ams@kemisten.nu> |
1666 | ||
1667 | * sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros. | |
1668 | (IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them. | |
1669 | ||
1670 | * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix. | |
1671 | ||
8d4d88bc UD |
1672 | 2003-06-04 Thorsten Kukuk <kukuk@suse.de> |
1673 | ||
1674 | * sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header, | |
1675 | fix typo. | |
1676 | ||
b14be6fe UD |
1677 | 2003-06-26 Steven Munroe <sjmunroe@us.ibm.com> |
1678 | ||
1679 | * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]: | |
1680 | Conditionalize function definitions that use struct kernel_stat. | |
1681 | * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern. | |
1682 | * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern. | |
1683 | * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern. | |
1684 | ||
b4431a72 UD |
1685 | 2003-06-28 Ulrich Drepper <drepper@redhat.com> |
1686 | ||
1687 | * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real | |
1688 | implementation. | |
1689 | ||
bbca27a4 UD |
1690 | 2003-06-07 Thorsten Kukuk <kukuk@suse.de> |
1691 | ||
5a8e918d UD |
1692 | * nis/nss_compat/compat-grp.c: Remove unused nis_first variable. |
1693 | (getgrent_next_file): Don't store group name to early in blacklist. | |
bbca27a4 UD |
1694 | |
1695 | * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result | |
1696 | and use memcpy instead of strcpy. | |
1697 | ||
1698 | 2003-06-28 Ulrich Drepper <drepper@redhat.com> | |
1699 | ||
1700 | * nis/nss_compat/compat-grp.c: Optimize several little things. Use | |
1701 | stream unlocked. | |
1702 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
1703 | * nis/nss_compat/compat-pwd.c: Likewise. | |
1704 | * nis/nss_compat/compat-spwd.c: Likewise. | |
1705 | ||
1706 | 2003-06-27 Thorsten Kukuk <kukuk@suse.de> | |
1707 | ||
1708 | * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+ | |
1709 | functions, dlopen corresponding NSS module instead. | |
1710 | ||
080ffa73 RM |
1711 | 2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx> |
1712 | ||
1713 | * sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init. | |
1714 | * sysdeps/mach/hurd/i386/init-first.c: Likewise. | |
1715 | * sysdeps/mach/hurd/mips/init-first.c: Likewise. | |
1716 | * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. | |
1717 | ||
7d7ff54c UD |
1718 | 2003-06-27 Ulrich Drepper <drepper@redhat.com> |
1719 | ||
1720 | * rt/Makefile (CFLAGS-librt-cancellation.c): Define. | |
1721 | ||
768a8fcd RM |
1722 | 2003-06-26 Roland McGrath <roland@frob.com> |
1723 | ||
1724 | * sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME. | |
1725 | * sysdeps/mach/configure: Regenerated. | |
1726 | * sysdeps/mach/hurd/times.c (times_init): Function removed. | |
1727 | (__times): Assume `creation_time' field is available. | |
1728 | * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines): | |
1729 | Don't append set-init. | |
1730 | * sysdeps/mach/hurd/set-init.c: File removed. | |
1731 | ||
1a7de7da RM |
1732 | 2003-06-26 Roland McGrath <roland@redhat.com> |
1733 | ||
1734 | * elf/elf.h (AT_SECURE): New macro. | |
1735 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, | |
1736 | set __libc_enable_secure. | |
1737 | (_dl_show_auxv): Add AT_SECURE to name table. | |
1738 | * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set | |
1739 | __libc_enable_secure and __libc_enable_secure_decided. | |
1740 | * sysdeps/unix/sysv/linux/ldsodefs.h | |
1741 | [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. | |
1742 | * sysdeps/unix/sysv/linux/kernel-features.h | |
72541de9 | 1743 | [__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it. |
1a7de7da | 1744 | |
95a305be UD |
1745 | 2003-06-26 Ulrich Drepper <drepper@redhat.com> |
1746 | ||
1747 | * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower | |
1748 | boundary test to take rounding of nanoseconds into account. | |
1749 | ||
1750 | * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC. | |
1751 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
1752 | * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. | |
1753 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. | |
1754 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
1755 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
1756 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
1757 | ||
6476910b AS |
1758 | 2003-06-26 Andreas Schwab <schwab@suse.de> |
1759 | ||
1760 | * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp. | |
1761 | * sysdeps/m68k/fpu/s_frexp.c: Put implementation here. | |
1762 | * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers. | |
1763 | ||
1e2e27fd UD |
1764 | 2003-06-17 Thorsten Kukuk <kukuk@suse.de> |
1765 | ||
1766 | * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. | |
1767 | * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, | |
1768 | dlopen corresponding NSS module instead. | |
1769 | * nis/nss_compat/compat-pwd.c: Likewise. | |
1770 | * nis/nss_compat/compat-spwd.c: Likewise. | |
1771 | * nis/nss_compat/compat-initgroups.c: Disabled for now. | |
1772 | * nss/Versions: Export __nss_lookup_function. | |
1773 | ||
1774 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> | |
1775 | ||
1776 | * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features | |
1777 | for the SH architecture. | |
1778 | ||
1779 | 2003-06-25 Thorsten Kukuk <kukuk@suse.de> | |
1780 | ||
1781 | * csu/Makefile: Use CPPFLAGS to find correct linux/version.h. | |
1782 | ||
fa4a36fd AJ |
1783 | 2003-06-25 Andreas Jaeger <aj@suse.de> |
1784 | ||
c53320c0 AJ |
1785 | * stdlib/tst-strtod.c (main): Declare constant long double as |
1786 | suggested by Jakub Jelinek and Andreas Schwab. | |
1787 | ||
346f3a90 AJ |
1788 | * posix/tst-nanosleep.c: Include <time.h> for nanosleep |
1789 | declaration. | |
1e2e27fd | 1790 | |
346f3a90 AJ |
1791 | * stdio-common/tst-fphex.c: Fix format string. |
1792 | ||
fa4a36fd AJ |
1793 | * posix/transbug.c: Include <string.h> for memset and strlen |
1794 | declarations. | |
1795 | ||
1796 | * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration. | |
1797 | ||
1798 | * stdlib/tst-strtod.c (main): Pass long double value. | |
1799 | ||
1800 | * test-skeleton.c: Include <time.h> for nanosleep declaration. | |
1801 | ||
657f0417 UD |
1802 | 2003-06-25 Ulrich Drepper <drepper@redhat.com> |
1803 | ||
1804 | * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is | |
1805 | defined. | |
1806 | ||
81b215af UD |
1807 | 2003-06-11 Jakub Jelinek <jakub@redhat.com> |
1808 | ||
1809 | * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE. | |
1810 | * elf/dl-libc.c (struct dl_open_hook): New. | |
1811 | (_dl_open_hook): New variable. | |
1812 | (do_dlsym_private): New function. | |
1813 | (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE | |
1814 | and initialize it if found. | |
1815 | (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL, | |
1816 | call dlopen_mode hook. | |
1817 | (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL, | |
1818 | call dlsym hook. | |
1819 | (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL, | |
1820 | call dlclose hook. | |
1821 | ||
bd89c0b5 UD |
1822 | 2003-06-25 Ulrich Drepper <drepper@redhat.com> |
1823 | ||
1824 | * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast | |
1825 | result to long int so that extensions to long long int work. | |
1826 | Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>. | |
1827 | ||
1828 | 2003-06-19 Jakub Jelinek <jakub@redhat.com> | |
1829 | ||
1830 | * elf/ldconfig.c (main): Use add_system_dir instead of add_dir. | |
1831 | * sysdeps/generic/dl-cache.h (add_system_dir): Define. | |
1832 | * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc | |
1833 | dl-cache.h. | |
1834 | * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file. | |
1835 | * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file. | |
1836 | * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file. | |
1837 | * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file. | |
1838 | ||
6d0e6e84 UD |
1839 | 2003-06-19 Jakub Jelinek <jakub@redhat.com> |
1840 | ||
1841 | * test-skeleton.c (timeout_handler): If waitpid returned 0, | |
1842 | retry once after a second. If killed == 0, assume | |
1843 | WTERMSIG (status) == SIGKILL. | |
1844 | ||
1775abf0 RM |
1845 | 2003-06-18 Roland McGrath <roland@redhat.com> |
1846 | ||
1847 | * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized | |
1848 | elements in the table instead of printing an empty name string. | |
1849 | ||
1850 | 2003-06-05 Roland McGrath <roland@redhat.com> | |
1851 | ||
1852 | * elf/elf.h (PT_GNU_STACK): New macro. | |
1853 | ||
51d1ca00 UD |
1854 | 2003-06-24 Ulrich Drepper <drepper@redhat.com> |
1855 | ||
4165d44d UD |
1856 | * include/time.h: Define CLOCK_IDFIELD_SIZE. |
1857 | * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs. | |
1858 | * sysdeps/unix/clock_gettime.c: Likewise. | |
1859 | * sysdeps/unix/clock_settime.c: Likewise. | |
1860 | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new | |
1861 | clock id for thread CPU clocks. | |
1862 | ||
51d1ca00 UD |
1863 | * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support |
1864 | for the fstatfs64 syscall. | |
1865 | * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for | |
1866 | the statfs64 syscall. | |
1867 | ||
1868 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1869 | __ASSUME_STATFS64 appropriately. | |
1870 | ||
1871 | * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field | |
1872 | from statfs structure if it has been filled in. | |
1873 | ||
1874 | * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize | |
1875 | field. | |
1876 | (struct statfs64): Likewise. | |
1877 | * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise. | |
1878 | * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise. | |
1879 | ||
e67f1e92 RH |
1880 | 2003-06-24 Richard Henderson <rth@redhat.com> |
1881 | ||
1882 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use | |
1883 | the 64-bit syscall name. | |
1884 | ||
160b780a RH |
1885 | * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue. |
1886 | ||
750cd4ff RH |
1887 | * sysdeps/alpha/fpu/bits/mathinline.h: Honor |
1888 | __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit. | |
1889 | ||
c5206c31 RH |
1890 | * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. |
1891 | * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use | |
1892 | libc_hidden_def. | |
1893 | * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. | |
1894 | * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto | |
1895 | on them. | |
1896 | ||
9638f69f RH |
1897 | * sysdeps/alpha/bits/atomic.h: New file. |
1898 | ||
f637655d AS |
1899 | 2003-06-24 Andreas Schwab <schwab@suse.de> |
1900 | ||
1901 | * sysdeps/m68k/fpu/libm-test-ulps: Update. | |
1902 | ||
d98efcf5 AJ |
1903 | 2003-06-24 Andreas Jaeger <aj@suse.de> |
1904 | ||
1905 | * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid | |
1906 | redeclaration with 32-bit code. | |
1907 | ||
24176967 UD |
1908 | 2003-05-19 Ed Connell <ed.connell@sas.com> |
1909 | ||
1910 | * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain | |
1911 | floating point mask. | |
1912 | * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise. | |
1913 | ||
7b0a32a3 UD |
1914 | 2003-06-23 Ulrich Drepper <drepper@redhat.com> |
1915 | ||
67b78ef9 UD |
1916 | * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex, |
1917 | __aio_enqueue_request, __aio_find_req, __aio_find_req_fd, | |
1918 | __aio_free_request, __aio_notify, and __aio_sigqueue as hidden. | |
1919 | ||
1920 | * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result | |
1921 | of pthread_cond_wait if there was an error. Use pthread_cleanup_* | |
51d1ca00 | 1922 | instead of __libc_cleanup_region_*. |
7b0a32a3 | 1923 | |
27681b99 RH |
1924 | 2003-06-20 Richard Henderson <rth@redhat.com> |
1925 | ||
1926 | * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. | |
1927 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New. | |
1928 | ||
c795f356 RH |
1929 | 2003-06-20 Richard Henderson <rth@redhat.com> |
1930 | ||
1931 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. | |
1932 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT) | |
1933 | Unset for alpha. | |
1934 | (__ASSUME_TIMEVAL64): Set for alpha. | |
1935 | * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove | |
1936 | adjtimex, osf_sigprocmask, old_adjtimex. | |
1937 | * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL, | |
1938 | __ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable. | |
1939 | * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64. | |
1940 | * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. | |
1941 | * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. | |
1942 | * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. | |
1943 | * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. | |
1944 | * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. | |
1945 | * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. | |
1946 | * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. | |
1947 | * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline | |
1948 | PIC code sequence. | |
1949 | * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. | |
1950 | * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file. | |
1951 | * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL. | |
1952 | * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise. | |
1953 | * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. | |
1954 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask, | |
1955 | sys_ustat, sys_mknod, adjtimex, old_adjtimex. | |
1956 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't | |
1957 | defer to __syscall_name; error for rt_sigaction. | |
1958 | * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h. | |
1959 | ||
fae49c62 UD |
1960 | 2003-06-18 Ulrich Drepper <drepper@redhat.com> |
1961 | ||
6a00759b UD |
1962 | * malloc/malloc.c (public_mALLINFo): Initialize malloc if it |
1963 | hasn't happened yet. | |
1964 | ||
50441a98 | 1965 | * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): |
6a00759b | 1966 | Fix completely broken implementation. The second parameter is of |
50441a98 UD |
1967 | type struct ucontext*. |
1968 | ||
1969 | * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always | |
1970 | inline. | |
1971 | ||
1972 | * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash. | |
1973 | * sysdeps/generic/dl-hash.h: Likewise. | |
1974 | ||
1975 | * sysdeps/generic/memcmp.c: Remove inline from | |
1976 | memcmp_common_alignment and memcmp_not_common_alignment definition. | |
1977 | ||
fae49c62 UD |
1978 | * intl/localealias.c (read_alias_file): Determine whether line is |
1979 | read incompletely early, before we modify the line. | |
1980 | ||
22163624 UD |
1981 | 2003-06-17 Jakub Jelinek <jakub@redhat.com> |
1982 | ||
1983 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela) | |
1984 | <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols. | |
1985 | ||
aebcf54c UD |
1986 | 2003-06-17 Paul Mackerras <paulus@samba.org> |
1987 | ||
1988 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file. | |
1989 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file. | |
1990 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file. | |
1991 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file. | |
1992 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file. | |
1993 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust. | |
1994 | ||
f23b30e2 UD |
1995 | 2003-06-17 Jakub Jelinek <jakub@redhat.com> |
1996 | ||
1997 | * posix/regcomp.c (build_word_op): Use alnum instead of alpha class. | |
1998 | ||
bbde8527 UD |
1999 | 2003-06-17 Ulrich Drepper <drepper@redhat.com> |
2000 | ||
60d73a7a UD |
2001 | * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep |
2002 | takes care of enabling cancellation. | |
2003 | ||
2004 | * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend | |
2005 | cancelable. It's not correct to disable cancellation. Instead of | |
2006 | a cleanup handler. | |
2007 | ||
aa3cee21 UD |
2008 | * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined |
2009 | and part of the incoming set, create a temporary set without this | |
2010 | signal. | |
2011 | * sysdeps/unix/sysv/linux/sigwait.c: Likewise. | |
2012 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. | |
2013 | ||
bbde8527 | 2014 | * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before |
aa3cee21 | 2015 | returning because seconds==0. Add __builtin_expect. |
bbde8527 | 2016 | |
f60db8ed UD |
2017 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
2018 | ||
2019 | * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information. | |
2020 | ||
2021 | * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result | |
2022 | variable. | |
2023 | ||
2f7f7bc6 UD |
2024 | 2003-06-16 Thorsten Kukuk <kukuk@suse.de> |
2025 | ||
2026 | * include/libc-symbols.h: Add static_link_warning macro. | |
2027 | * grp/initgroups.c: Print linker warning if this function | |
2028 | is called in a static linked binary. | |
2029 | * nss/getXXbyYY.c: Likewise. | |
2030 | * nss/getXXbyYY_r.c: Likewise. | |
2031 | * nss/getXXent.c: Likewise. | |
2032 | * nss/getXXent_r.c: Likewise. | |
2033 | * sysdeps/posix/getaddrinfo.c: Likewise. | |
2034 | ||
2035 | 2003-06-16 Bruno Haible <bruno@clisp.org> | |
2036 | ||
2037 | * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, | |
2038 | LATIN-9. | |
2039 | (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. | |
2040 | (IBM1047): Add alias IBM-1047. | |
2041 | (GBK): Add aliases MS936, WINDOWS-936. | |
2042 | ||
2043 | 2003-06-16 Jakub Jelinek <jakub@redhat.com> | |
2044 | ||
2045 | * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if | |
2046 | defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. | |
2047 | (__xstat64_conv): Change xstat_conv to __xstat_conv. | |
2048 | ||
301a6724 UD |
2049 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
2050 | ||
90a2545a UD |
2051 | * locale/iso-639.def: Update from current official ISO 639. |
2052 | ||
301a6724 UD |
2053 | * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed. |
2054 | ||
2055 | 2003-06-15 Andreas Jaeger <aj@suse.de> | |
2056 | ||
2057 | * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting | |
2058 | of MXCSR. | |
2059 | * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
2060 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. | |
2f7f7bc6 | 2061 | Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>. |
301a6724 UD |
2062 | |
2063 | * math/tgmath.h (carg): Handle real arguments. | |
2064 | (conj): Likewise. | |
2065 | (cproj): Likewise. | |
2066 | (cimag): Likewise. | |
2067 | (creal): Likewise. | |
2068 | ||
2069 | * math/Makefile (CFLAGS-test-tgmath-ret.c): New. | |
2070 | (tests): Add test-tgmath-ret. | |
2071 | * math/test-tgmath-ret.c: New file. | |
2072 | ||
2073 | * math/tgmath.h (ilogb): Return always an int. | |
2074 | ||
4cfde896 UD |
2075 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
2076 | ||
2077 | * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr | |
301a6724 | 2078 | computation so that prelinking works. |
4cfde896 | 2079 | |
7a114794 UD |
2080 | 2003-06-15 Ulrich Drepper <drepper@redhat.com> |
2081 | ||
553eca26 UD |
2082 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic |
2083 | linker's map. | |
2084 | * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the | |
2085 | dynamic linker's map. | |
2086 | ||
7a114794 UD |
2087 | Fix cancellation point handling wrt exception based cleanup. |
2088 | * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions. | |
2089 | * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c | |
2090 | with exceptions. | |
2091 | * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c, | |
2092 | sleep.c, wait.c, waitid.c, and waitpid.c with exceptions. | |
2093 | * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with | |
2094 | exceptions. | |
2095 | * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c, | |
2096 | sigwait.c, and sigwaitinfo.c with exceptions. | |
2097 | * stdlib/Makefile: Compile system.c with exceptions. | |
2098 | * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions. | |
2099 | * termios/Makefile: Compile tcdrain.c with exceptions. | |
2100 | * sysdeps/generic/lockf.c: Add comment explaining the cancellation | |
2101 | situation. | |
2102 | * sysdeps/generic/pselect.c: Likewise. | |
2103 | * sysdeps/posix/sigpause.c: Likewise. | |
2104 | * sysdeps/posix/system.c: Likewise. | |
2105 | * sysdeps/posix/waitid.c: Likewise. | |
2106 | * sysdeps/unix/sysv/linux/sleep.c: Likewise. | |
2107 | * sysdeps/unix/sysv/linux/usleep.c: Likewise. | |
2108 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of | |
2109 | INTERNAL_SYSCALL to not use push inside asm statement so that | |
2110 | unwind info is correct around the syscall. | |
2111 | * sysdeps/unix/clock_nanosleep.c: Add cancellation support. | |
2112 | * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. | |
2113 | ||
2b450048 AJ |
2114 | 2003-06-15 Andreas Jaeger <aj@suse.de> |
2115 | ||
2116 | * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): | |
2117 | Add CFI directives. | |
2118 | ||
05c49e6f AJ |
2119 | 2003-06-15 Guido Guenther <agx@sigxcpu.org> |
2120 | ||
2121 | * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and | |
2122 | create $(objpfx). | |
2123 | ||
a4596570 UD |
2124 | 2003-06-14 Ulrich Drepper <drepper@redhat.com> |
2125 | ||
8ba1d429 UD |
2126 | * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close, |
2127 | not close. | |
2128 | ||
2129 | * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def. | |
2130 | * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto | |
2131 | definition. | |
2132 | ||
4cfde896 | 2133 | * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define. |
a4596570 UD |
2134 | * inet/netinet/in.h: Add prototypes for inet6_option_* functions. |
2135 | * inet/Makefile (routines): Add inet6_option. | |
2136 | * inet/inet6_option.c: New file. | |
2137 | * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space, | |
2138 | inet6_option_init, inet6_option_append, inet6_option_alloc, | |
2139 | inet6_option_next, and inet6_option_find. | |
2140 | ||
25337753 UD |
2141 | 2003-06-13 Ulrich Drepper <drepper@redhat.com> |
2142 | ||
a4596570 UD |
2143 | * inet/netinet/ip6.h (struct ip6_ext): Define. |
2144 | ||
da4fef4b UD |
2145 | * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc. |
2146 | ||
25337753 UD |
2147 | Fixing gcc 3.3 warnings, part II. |
2148 | * argp/argp-help.c (hol_entry_long_iterate): Always inline. | |
2149 | * elf/dl-load.c (cache_rpath): Don't inline. | |
2150 | * iconvdata/cns11642l2.h: Always inline all functions. | |
2151 | * iconvdata/iso-ir-165.h: Likewise. | |
2152 | * locale/Makefile (aux): Add coll-lookup. | |
2153 | * locale/coll-lookup.c: New file. | |
2154 | * locale/coll-lookup.h (collidx_table_lookup): Do not define here. | |
2155 | (collseq_table_lookup): Likewise. | |
2156 | * locale/weightwc.h: Adjust collidx_table_lookup calls for name change. | |
2157 | * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name | |
2158 | change. | |
2159 | * posix/regcomp.c: Likewise. | |
2160 | * posix/regexec.c: Likewise. | |
2161 | * locale/programs/3level.h (*_get): Always inline. | |
2162 | * locale/programs/locfile.h: Move definition of handle_copy to... | |
2163 | * locale/programs/locfile.c: ...here. | |
2164 | * locale/programs/ld-collate.c (obstack_int32_grow): Always inline. | |
2165 | (obstack_int32_grow_fast): Likewise. | |
2166 | (utf8_encode): Likewise. | |
2167 | (find_element): Avoid aliasing problems. | |
2168 | (insert_value): Likewise. | |
2169 | (collate_read): Likewise. | |
2170 | * nss/getent.c (print_hosts): Don't inline | |
2171 | (print_networks): Likewise. | |
2172 | (print_shadow): Likewise. | |
2173 | (build_doc): Likewise. | |
2174 | * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't | |
2175 | inline. | |
2176 | * posix/regcomp.c (re_set_fastmap): Always inline. | |
2177 | (seek_collating_symbol_entry): Likewise. | |
2178 | (lookup_collation_sequence_value): Likewise. | |
2179 | (build_range_exp): Likewise. | |
2180 | (build_collating_symbol): Likewise. | |
2181 | * posix/regexec.c (acquire_init_state_context): Don't inline. | |
2182 | (clean_state_log_if_need): Likewise. | |
2183 | * resolv/res_send.c (eConsIovec): Rewrite to not return struct and | |
2184 | adjust all callers. | |
2185 | (evConsTime): Likewise. | |
2186 | (evAddTime): Likewise. | |
2187 | (evSubTime): Likewise. | |
2188 | (evNowTime): Likewise. | |
2189 | (evTimeSpec): Removed. | |
2190 | (__libc_res_nsend): Avoid aliasing problem. | |
2191 | * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to.. | |
2192 | * sysdeps/unix/sysv/linux/ifreq.c: ...here. | |
2193 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap): | |
2194 | Always inline. | |
2195 | (_dl_string_platform): Likewise. | |
2196 | * wctype/wchar-lookup.h (wctype_table_lookup): Always inline. | |
2197 | (wcwidth_table_lookup): Likewise. | |
2198 | (wctrans_table_lookup): Likewise. | |
2199 | ||
2200 | * sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>. | |
2201 | ||
e6d32996 UD |
2202 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
2203 | ||
2204 | * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034]. | |
2205 | ||
b54aa55d UD |
2206 | 2003-05-29 Jim Meyering <jim@meyering.net> |
2207 | ||
2208 | * time/strftime.c (my_strftime) [!defined _NL_CURRENT | |
2209 | && HAVE_STRFTIME]: Use underlying_strftime for %r. | |
2210 | Suggested by Daniel Yacob <locales@geez.org>. | |
2211 | ||
9d1e8e8e UD |
2212 | 2003-06-12 Steven Munroe <sjmunroe@us.ibm.com> |
2213 | ||
2214 | * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace | |
2215 | @got notation with @toc. | |
2216 | * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise. | |
2217 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise. | |
2218 | ||
ad316adf UD |
2219 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
2220 | ||
f60db8ed | 2221 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also |
2ce1a10f UD |
2222 | if only PF_INET address is needed. |
2223 | ||
2224 | * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in | |
2225 | case of an error. | |
2226 | ||
ad316adf UD |
2227 | * scripts/config.guess: Update from upstream version. |
2228 | * scripts/config.sub: Likewise. | |
2229 | ||
2230 | 2003-06-12 Jakub Jelinek <jakub@redhat.com> | |
2231 | ||
2232 | * locale/programs/ld-time.c (time_output): Also copy the era format, | |
2233 | not only the name. | |
2234 | ||
66b110e8 UD |
2235 | 2003-06-12 H.J. Lu <hongjiu.lu@intel.com> |
2236 | ||
2237 | * posix/transbug.c (run_test): Return 1 for failure. | |
2238 | (do_test): Compare only if run_test is successful. | |
2239 | ||
2240 | 2003-06-12 Simon Josefsson <jas@extundo.com> | |
2241 | ||
2242 | * argp/argp.h [!__THROW]: Define if undefined. | |
2243 | ||
3bbbaea9 UD |
2244 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
2245 | ||
2246 | * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with | |
2247 | more than four parameters. | |
2248 | Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>. | |
2249 | ||
2250 | 2003-06-12 Jakub Jelinek <jakub@redhat.com> | |
2251 | ||
2252 | * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. | |
2253 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. | |
2254 | * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file. | |
2255 | ||
2256 | * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h. | |
2257 | ||
693ca688 RM |
2258 | 2003-06-12 Roland McGrath <roland@redhat.com> |
2259 | ||
2260 | * Makerules ($(objpfx)stubs): Rewrite sed magic. | |
2261 | ||
45ec72e8 UD |
2262 | 2003-02-28 Isamu Hasegawa <isamu@yamato.ibm.com> |
2263 | ||
2264 | * posix/regcomp.c (parse_expression): Deliver translation to | |
2265 | build_word_op, and build_charclass. | |
2266 | (build_charclass): Apply translation for character classes too. | |
2267 | (build_word_op): Deliver translation to build_charclass. | |
66b110e8 | 2268 | * posix/transbug.c: New file. |
45ec72e8 UD |
2269 | * posix/Makefile (tests): Add transbug. |
2270 | ||
2271 | 2003-06-04 Paolo Bonzini <bonzini@gnu.org> | |
2272 | ||
2273 | * posix/regexec.c (group_nodes_into_DFAstates): Check for | |
2274 | NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a | |
2275 | 'continue' before the others. | |
2276 | ||
9c7ff11a UD |
2277 | 2003-06-11 Ulrich Drepper <drepper@redhat.com> |
2278 | ||
70e1c930 UD |
2279 | * dirent/scandir.c (SCANDIR): Reset errno after calling selector |
2280 | function [PR libc/5045]. | |
2281 | ||
2236d6e1 UD |
2282 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction |
2283 | also for P4. | |
2284 | ||
9c7ff11a UD |
2285 | * time/tzfile.c: Add a couple of __builtin_expect. |
2286 | ||
2287 | Remove warnings gcc 3.3 shows. | |
2288 | * argp/argp-help.c (hol_entry_short_iterate): Don't inline. | |
2289 | * elf/dl-load.c (fillin_rpath): Likewise. | |
2290 | (add_path): Likewise. | |
2291 | * elf/dl-version.c (find_needed): Always inline. | |
2292 | * elf/do-lookup.c (FCT): Don't inline. | |
2293 | * iconv/Makefile: Extend vpath to intl subdir. | |
2294 | (iconvconfig-modules): Add hash-string. | |
2295 | * iconv/gconv_charset.h (strip): Don't inline. | |
2296 | (upstr): Always inline. | |
2297 | Move __gconv_compare_alias prototype to... | |
2298 | * iconv/gconv_int.h: ...here. | |
2299 | * iconv/gconv_db.c: Don't include gconv_charset.h. | |
2300 | * iconv/gconv_conf.c (add_alias): Don't inline. | |
2301 | (insert_module): Likewise. | |
2302 | * iconv/gconv_simple.c (internal_ucs4_loop): Always inline. | |
2303 | (internal_ucs4_loop_unaligned): Likewise. | |
2304 | (internal_ucs4_loop_single): Likewise. | |
2305 | (ucs4_internal_loop): Likewise. | |
2306 | (ucs4_internal_loop_unaligned): Likewise. | |
2307 | (ucs4_internal_loop_single): Likewise. | |
2308 | (internal_ucs4le_loop): Always inline. | |
2309 | (internal_ucs4le_loop_unaligned): Likewise. | |
2310 | (internal_ucs4le_loop_single): Likewise. | |
2311 | (ucs4le_internal_loop): Likewise. | |
2312 | (ucs4le_internal_loop_unaligned): Likewise. | |
2313 | (ucs4le_internal_loop_single): Likewise. | |
2314 | * iconv/loop.c: Always inline the defined functions. | |
2315 | * iconvdata/cns11642.h: Likewise. | |
2316 | * iconvdata/cns11642l1.h: Likewise. | |
2317 | * iconvdata/euc-kr.c: Likewise. | |
2318 | * iconvdata/gb2312.h: Likewise. | |
2319 | * iconvdata/jis0201.h: Likewise. | |
2320 | * iconvdata/jis0208.h: Likewise. | |
2321 | * iconvdata/jis0212.h: Likewise. | |
2322 | * iconvdata/jisx0213.h: Likewise. | |
2323 | * iconvdata/ksc5601.h: Likewise. | |
2324 | * iconvdata/utf-7.c (base64): Don't inline. | |
2325 | * include/libc-symbols.h (symbol_set_first_element): Add cast | |
2326 | (symbol_set_end_p): Likewise. | |
2327 | * include/set-hooks (RUN_HOOK): Likewise. | |
2328 | * inet/Makefile (aux): Add ifreq. | |
2329 | * intl/Makefile (aux): Add some entries from routines. Add | |
2330 | hash-string. | |
2331 | * intl/hash-string.c: New file. | |
2332 | * intl/hash-string.h: Remove hash_string definition. Declare | |
2333 | __hash_string. | |
2334 | * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller. | |
2335 | * iconv/iconvconfig.c (new_name): Likewise. | |
2336 | * intl/dcigettext.c (_nl_find_msg): Likewise. | |
2337 | * intl/loadmsgcat.c (_nl_load_domain): Likewise. | |
2338 | * io/ftw.c (open_dir_stream): Always inline. | |
2339 | (process_entry): Don't inline. | |
2340 | * locale/findlocale.c: Include gconv_int.h. | |
2341 | * locale/setlocale.c (new_composite_name): Don't inline. | |
2342 | * locale/weight.h (findidx): Always inline. | |
2343 | * locale/weightwc.h (findidx): Likewise. | |
2344 | * locale/programs/linereader.c (lr_ignore_rest): Define here. | |
2345 | * locale/programs/linereader.h (lr_ignore_rest): Don't define here, | |
2346 | just declare it. | |
2347 | (lr_getc): Always inline. | |
2348 | (lr_ungetc): Likewise. | |
2349 | * nss/nss_files/files-parse.c (parse_list): Likewise. | |
2350 | * stdio-common/Makefile (aux): Add printf-parsemb and | |
2351 | printf-parsewc. | |
2352 | * stdio-common/_itoa.h (_itoa_word): Always inline. | |
2353 | (_fitoa_word, _fitoa): Don't define here, only declare. | |
2354 | * stdio-common/_itoa.c (_iftoa_word): Add here. | |
2355 | (_fitoa): Likewise. | |
2356 | * stdio-common/_itowa.h (_itowa_word): Always inline. | |
2357 | * stdio-common/printf-parse.h (read_int): Don't inline. | |
2358 | (find_spec): Don't define. | |
2359 | Declare __find_specmb and __find_specwc. | |
2360 | (parse_one_spec): Don't define. | |
2361 | Declare __parse_one_specmb and __parse_one_specwc. | |
2362 | * stdio-common/printf-parsemb.c: New file. | |
2363 | * stdio-common/printf-parsewc.c: New file. | |
2364 | * stdio-common/vfprintf.c: Update calls to find_spec and | |
2365 | parse_one_spec for new names. | |
2366 | * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT. | |
2367 | * stdlib/Makefile (aux): Add grouping and groupingwc. | |
2368 | * stdlib/grouping.c: New file. | |
2369 | * stdlib/groupingwc.c: New file. | |
2370 | * stdlib/grouping.h (correctly_grouped_prefix): Don't define here. | |
2371 | Just prototype. | |
2372 | * stdlib/rpmatch.c (try): Don't inline. | |
2373 | * stdlib/strtod.c (round_and_return): Don't line. | |
2374 | (str_to_mpn): Likewise. | |
2375 | (__mpn_lshift_1): Always inline. Optimize only for constant count. | |
2376 | Adjust for name change of correctly_grouped_prefix. | |
2377 | * sysdeps/generic/strtol.c: Adjust for name change of | |
2378 | correctly_grouped_prefix. | |
2379 | * string/strxfrm.c (utf8_encode): Don't inline. | |
2380 | * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp. | |
2381 | * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp. | |
2382 | * sysdeps/generic/ifreq.c: New file. | |
2383 | * sysdeps/unix/sysv/linux/ifreq.c: New file. | |
2384 | * sysdeps/generic/ifreq.h (__ifreq): Only declare here. | |
2385 | * sysdeps/unix/sysv/linux/ifreq.h: Likewise. | |
2386 | * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline. | |
2387 | * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline. | |
2388 | (fde_split): Likewise. | |
2389 | (fde_merge): Likewise. | |
2390 | (end_fde_sort): Likewise. | |
2391 | (init_object): Likewise. | |
2392 | (binary_search_unencoded_fdes): Likewise. | |
2393 | (binary_search_single_encoding_fdes): Likewise. | |
2394 | (binary_search_mixed_encoding_fdes): Likewise. | |
2395 | * sysdeps/generic/wordexp.c (w_addchar): Don't inline. | |
2396 | * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline. | |
2397 | * sysdeps/posix/sprofil.c (profil_count): Don't inline. | |
2398 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
2399 | Add xstatconv. | |
2400 | * sysdeps/unix/sysv/linux/xstatconv.h: New file. | |
2401 | * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function. | |
2402 | Export them. Prepend __ to name. | |
2403 | * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h. | |
2404 | * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of | |
2405 | conversion functions. | |
2406 | * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. | |
2407 | * sysdeps/unix/sysv/linux/lxstat.c: Likewise. | |
2408 | * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. | |
2409 | * sysdeps/unix/sysv/linux/xstat.c: Likewise. | |
2410 | * sysdeps/unix/sysv/linux/xstat64.c: Likewise. | |
2411 | * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. | |
2412 | * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. | |
2413 | * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. | |
2414 | * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max, | |
2415 | __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended | |
2416 | to name. Change callers. | |
2417 | * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max, | |
2418 | __statfs_filesize_max, __statfs_symlinks): Don't define here, just | |
2419 | declare. | |
2420 | * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers. | |
2421 | * time/tzfile.c (decode): Always inline. | |
2422 | * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*. | |
2423 | Remove cast in tomb function call. | |
2424 | * wcsmbs/wcsrtombs.c Likewise. | |
2425 | * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in | |
2426 | tomb function call. | |
2427 | ||
c98d505c UD |
2428 | 2003-06-10 Ulrich Drepper <drepper@redhat.com> |
2429 | ||
2430 | * po/zh_CN.po: Update from translation team. | |
2431 | ||
2432 | 2003-06-10 Jakub Jelinek <jakub@redhat.com> | |
2433 | ||
2434 | * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST, | |
2435 | IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define. | |
2436 | ||
06120d79 UD |
2437 | 2003-06-10 Ulrich Drepper <drepper@redhat.com> |
2438 | ||
66b110e8 UD |
2439 | * inet/Makefile (aux): Add check_pf. |
2440 | * include/ifaddrs.h: Add prototype for __check_pf. | |
2441 | * sysdeps/generic/check_pf.c: New file. | |
2442 | * sysdeps/unix/sysv/linux/check_pf.c: New file. | |
1dc869d1 UD |
2443 | * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed |
2444 | from no_netlink_support. Export. | |
2445 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, | |
2446 | call __check_pf. | |
2447 | ||
2448 | * sysdeps/generic/ifaddrs.h: Add libc_hidden_def. | |
2449 | ||
06120d79 UD |
2450 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory |
2451 | from getifaddr calls. | |
2452 | ||
54c92465 UD |
2453 | 2003-06-09 Jakub Jelinek <jakub@redhat.com> |
2454 | ||
2455 | * sysdeps/unix/sysv/linux/kernel-features.h | |
2456 | (__ASSUME_SETRESGID_SYSCALL): Define. | |
2457 | * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL | |
2458 | instead of __ASSUME_SETRESUID_SYSCALL. | |
2459 | (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is | |
2460 | defined. | |
2461 | * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32 | |
2462 | inline syscall if __NR_setresuid32 is defined. | |
2463 | * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use | |
2464 | __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. | |
2465 | * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes. | |
2466 | * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. | |
2467 | * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect | |
2468 | code handling non-existant setresgid32 syscall with | |
2469 | #if __ASSUME_SETRESGID_SYSCALL == 0. | |
2470 | ||
2471 | 2003-06-09 Andreas Schwab <schwab@suse.de> | |
2472 | ||
2473 | * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d. | |
2474 | ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on | |
2475 | $(objpfx)rpc-proto.d. | |
2476 | (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include | |
2477 | $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d. | |
2478 | ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules. | |
2479 | ||
bcd5f356 UD |
2480 | 2003-06-08 Ulrich Drepper <drepper@redhat.com> |
2481 | ||
eae59a56 UD |
2482 | * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32 |
2483 | syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is | |
2484 | defined drop compatibility code. | |
2485 | * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32 | |
2486 | syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is | |
2487 | defined drop compatibility code. | |
2488 | * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use | |
2489 | setresuid32 syscall directly if possible. | |
2490 | * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use | |
2491 | setresgid32 syscall directly if possible. | |
f0da6a7d UD |
2492 | * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX |
2493 | compliant. Don't change sgid. | |
2494 | * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX | |
2495 | compliant. Don't change suid. | |
2496 | ||
bcd5f356 UD |
2497 | * config.h.in: Add have-forced-unwind. |
2498 | * configure.in: Add AC_SUBST(libc_cv_forced_unwind). | |
2499 | ||
e1d8e1b7 UD |
2500 | 2003-06-07 Ulrich Drepper <drepper@redhat.com> |
2501 | ||
ede0f73a UD |
2502 | * test-skeleton.c (main): If EXPECTED_STATUS is defined check that |
2503 | returned status from child matches. | |
2504 | ||
e1d8e1b7 UD |
2505 | * Makeconfig (gnulib): Add -lgcc_eh once again. |
2506 | ||
3a370de8 UD |
2507 | 2003-06-06 Ulrich Drepper <drepper@redhat.com> |
2508 | ||
53854476 UD |
2509 | * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid. |
2510 | ||
3a370de8 UD |
2511 | * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow |
2512 | %edx for first parameter. This means no pushl and therefore the | |
2513 | unwind info isn't screwed up. | |
2514 | ||
6f1e513d RH |
2515 | 2003-06-04 Richard Henderson <rth@redhat.com> |
2516 | ||
bcd5f356 UD |
2517 | * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. |
2518 | * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. | |
2519 | * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation. | |
2520 | * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp | |
2521 | entry sequence and explicit relocs. Add unwind info for sigreturn | |
2522 | and rt_sigreturn. | |
2523 | * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state. | |
f212e8dc | 2524 | |
bcd5f356 UD |
2525 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. |
2526 | Annotate some parameters. | |
2527 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New. | |
a56e4568 | 2528 | |
bcd5f356 | 2529 | * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion. |
44c7664f | 2530 | |
bcd5f356 UD |
2531 | * include/libc-symbols.h (symbol_set_declare): Use arrays |
2532 | of unspecified size. | |
6f1e513d | 2533 | |
cc7ee408 UD |
2534 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> |
2535 | ||
2536 | * config.make.in (ASFLAGS-config): New. | |
2537 | * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). | |
2538 | * configure.in (libc_cv_as_noexecstack): New check. | |
2539 | (ASFLAGS_config): Substitute. | |
2540 | ||
2541 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> | |
2542 | ||
2543 | * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, | |
2544 | hypot, logb): Protect with #ifdef __FAST_MATH__. | |
2545 | ||
2546 | 2003-06-04 Thorsten Kukuk <kukuk@suse.de> | |
2547 | ||
2548 | * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with | |
2549 | #ifdef __FAST_MATH__. | |
2550 | ||
1fb2614a UD |
2551 | 2003-06-03 Ulrich Drepper <drepper@redhat.com> |
2552 | ||
2553 | * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow | |
2554 | DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. | |
2555 | * posix/globtest.sh: Adjust for this change. | |
2556 | ||
332afd9e UD |
2557 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname |
2558 | to get the actual PID value used in the records passed up. | |
2559 | (getifaddrs): Don't initialize nh.pid here. | |
2560 | ||
bb958f59 UD |
2561 | 2003-06-02 Ulrich Drepper <drepper@redhat.com> |
2562 | ||
7aebf855 UD |
2563 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor |
2564 | optimization. | |
2565 | ||
63ae67a9 UD |
2566 | * po/zh_CN.po: Update from translation team. |
2567 | ||
bb958f59 | 2568 | * posix/getconf.c (main): Also recognize names without the |
cc7ee408 | 2569 | _POSIX_ prefix. |
bb958f59 UD |
2570 | |
2571 | * elf/Makefile (CFLAGS-dl-lookup.c): Define. | |
2572 | ||
051ed63d UD |
2573 | 2003-06-02 Bernd Schmidt <bernds@redhat.com> |
2574 | ||
2575 | * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, | |
2576 | ldexpf, ldexpl): Only define if __FAST_MATH__. | |
2577 | ||
0f501b7f RM |
2578 | 2003-06-02 Richard C. Bilson <rcbilson@plg.uwaterloo.ca> |
2579 | ||
2580 | Replace hard-coded offsets into struct sigcontext with generated file. | |
2581 | * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. | |
2582 | * sysdeps/unix/sysv/linux/ia64/Makefile | |
2583 | [$(subdir) = stdlib] (gen-as-const-headers): Add it. | |
2584 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of | |
2585 | defining SC_* macros here. | |
2586 | ||
4a5f21e4 RM |
2587 | 2003-06-02 Jakub Jelinek <jakub@redhat.com> |
2588 | ||
2589 | * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove. | |
2590 | ||
32c1ba12 RM |
2591 | 2003-06-01 Jakub Jelinek <jakub@redhat.com> |
2592 | ||
2593 | * sysdeps/i386/dl-machine.h: Include <sysdep.h>. | |
2594 | ||
80b54217 UD |
2595 | 2003-06-01 Ulrich Drepper <drepper@redhat.com> |
2596 | ||
6f1acb30 UD |
2597 | * test-skeleton.c (main): Request getopt to not reorder the |
2598 | command line. | |
2599 | ||
80b54217 UD |
2600 | * elf/Makefile (CFLAGS-dl-runtime.c): Define. |
2601 | ||
2602 | * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match | |
2603 | stpncpy. | |
2604 | ||
31195be2 UD |
2605 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
2606 | ||
2607 | * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define. | |
2608 | ||
06e2e0a7 UD |
2609 | 2003-05-31 Jakub Jelinek <jakub@redhat.com> |
2610 | ||
2611 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): | |
2612 | New function. | |
2613 | (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid | |
2614 | RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, | |
2615 | call elf_machine_plt_conflict instead of elf_machine_fixup_plt. | |
2616 | ||
49b65043 UD |
2617 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
2618 | ||
06e2e0a7 UD |
2619 | * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add |
2620 | CFI directives. | |
2621 | ||
2622 | * csu/Makefile: Fix Makefile warnings regarding Scrt1.o. | |
b6da933b | 2623 | |
49b65043 UD |
2624 | * libio/fileops.c (_IO_file_open): Don't mark as inline. |
2625 | ||
b6da933b | 2626 | * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with |
49b65043 UD |
2627 | attribute used. |
2628 | ||
5d4f57bd UD |
2629 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
2630 | ||
2631 | * scripts/config.guess: Update from master copy. | |
2632 | * scripts/config.sub: Likewise. | |
2633 | ||
d38145ff AJ |
2634 | 2003-05-30 Guido Guenther <agx@sigxcpu.org> |
2635 | ||
2636 | * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for | |
2637 | SETUP_GP64 and friends. | |
2638 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register | |
2639 | names in internal_syscall{6,7}. | |
2640 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. | |
2641 | * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix | |
2642 | number of syscall arguments. | |
2643 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
2644 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
2645 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
2646 | ||
2b1c0eea AJ |
2647 | 2003-05-30 Andreas Jaeger <aj@suse.de> |
2648 | ||
2649 | * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): | |
2650 | Add CFI directives. | |
2651 | ||
2652 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI | |
2653 | directives. | |
2654 | ||
2655 | * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. | |
2656 | ||
2657 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): | |
2658 | Add CFI directives. | |
2659 | ||
284bdc42 UD |
2660 | 2003-05-30 Jakub Jelinek <jakub@redhat.com> |
2661 | ||
2662 | * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with | |
2663 | SHARED. | |
2664 | ||
73f082a2 RM |
2665 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
2666 | ||
2667 | * Makerules: Always use -MP together with -MD. | |
2668 | (sed-remove-dotot): Substitute $(..) also at start of line. | |
2669 | ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. | |
2670 | Generated defines with a single compiler call. | |
2671 | Use $(sed-remove-dotdot). | |
2672 | * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead | |
2673 | of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). | |
2674 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
2675 | Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). | |
2676 | * sysdeps/unix/sysv/linux/mips/Makefile | |
2677 | ($(objpfx)syscall-%.h): Likewise. | |
2678 | ||
862ef982 RM |
2679 | 2003-05-28 Roland McGrath <roland@redhat.com> |
2680 | ||
2681 | * malloc/malloc.h [! __GNUC__] (__const): Define if undefined. | |
2682 | ||
fe2dcbcc RM |
2683 | 2003-05-26 Aldy Hernandez <aldyh@redhat.com> |
2684 | ||
2685 | * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. | |
2686 | ||
f85a9e61 RM |
2687 | 2003-05-28 Roland McGrath <roland@redhat.com> |
2688 | ||
2689 | * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to | |
2690 | rt_sigprocmask system call. | |
2691 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. | |
2692 | From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>. | |
2693 | ||
bc4647a1 UD |
2694 | 2003-05-28 Ulrich Drepper <drepper@redhat.com> |
2695 | ||
2696 | * include/libc-symbols.h: Define hidden attribute for real also if | |
2697 | LIBC_NONSHARED is defined. Patch by Jakub Jelinek. | |
2698 | ||
2699 | * csu/Makefile: Add rules to build Scrt1.o. | |
2700 | * sysdeps/i386/elf/start.S: Make code compilable with SHARED. | |
2bcba929 | 2701 | * sysdeps/x86_64/elf/start.S: Likewise. |
bc4647a1 | 2702 | |
40a54e4d UD |
2703 | 2003-05-27 Jakub Jelinek <jakub@redhat.com> |
2704 | ||
2705 | * stdio-common/vfprintf.c (process_arg, process_string_arg): Use | |
2706 | pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. | |
2707 | * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, | |
2708 | pa_short_int, pa_u_short_int and pa_float. | |
2709 | ||
2710 | 2003-05-26 Jakub Jelinek <jakub@redhat.com> | |
2711 | ||
2712 | * libio/strops.c (_IO_str_init_static): Change into a wrapper around | |
2713 | _IO_str_init_static_internal. | |
2714 | (_IO_str_init_static_internal): Moved from _IO_str_init_static, | |
2715 | change size argument to _IO_size_t, don't limit sprintf to 64M. | |
2716 | (_IO_str_init_readonly): Call _IO_str_init_static_internal. | |
2717 | * libio/wstrops.c (_IO_wstr_init_static): Change size argument to | |
2718 | _IO_size_t, don't limit swprintf to 256M. | |
2719 | (_IO_wstr_init_readonly): Remove. | |
2720 | * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): | |
2721 | Adjust prototypes. | |
2722 | (_IO_wstr_init_readonly): Remove prototype. | |
2723 | * libio/iovsprintf.c (_IO_vsprintf): Use | |
2724 | _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). | |
2725 | * libio/iovsscanf.c (_IO_vsscanf): Likewise. | |
2726 | * libio/memstream.c (open_memstream): Likewise. | |
2727 | * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. | |
2728 | * libio/vasprintf.c (_IO_vasprintf): Likewise. | |
2729 | * libio/vsnprintf.c (_IO_vsnprintf): Likewise. | |
2730 | * stdio-common/tst-sprintf.c (main): Add new test. | |
2731 | ||
6458d814 UD |
2732 | 2003-05-26 Ulrich Drepper <drepper@redhat.com> |
2733 | ||
2734 | * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some | |
2735 | other implementation in respect of multiple uses of parameter with | |
2736 | different types. | |
2737 | ||
69431c9a UD |
2738 | 2003-05-25 Ulrich Drepper <drepper@redhat.com> |
2739 | ||
2740 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
2741 | __ASSUME_FUTEX_REQUEUE for >= 2.5.70. | |
2742 | ||
5550a8fa AJ |
2743 | 2003-05-22 Andreas Jaeger <aj@suse.de> |
2744 | ||
2745 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI | |
2746 | directives. | |
2747 | * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. | |
2748 | * sysdeps/x86_64/strtok.S: Likewise. | |
2749 | ||
3087604f AJ |
2750 | 2003-05-20 Guido Guenther <agx@sigxcpu.org> |
2751 | ||
2752 | * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL | |
2753 | to -60 and define SI_TKILL. | |
2754 | ||
cca4aa58 UD |
2755 | 2003-05-21 H.J. Lu <hongjiu.lu@intel.com> |
2756 | ||
69431c9a | 2757 | * math/test-fenv.c (feexcp_nomask_test): Fix comment. |
cca4aa58 UD |
2758 | (feexcp_mask_test): Likewise. |
2759 | ||
6d1d0720 UD |
2760 | 2003-05-21 Ulrich Drepper <drepper@redhat.com> |
2761 | ||
84c9409e UD |
2762 | * locale/programs/locale.c (main): Fix typo in last patch. |
2763 | ||
6d1d0720 UD |
2764 | * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, |
2765 | __init_array_start, __init_array_end, __fini_array_start, and | |
2766 | __fini_array_end as hidden. | |
2767 | ||
2e119864 UD |
2768 | 2003-05-21 Petter Reinholdtsen <pere@hungry.com> |
2769 | ||
2770 | * locale/programs/locale.c (main): Report an error if setlocale() | |
2771 | fails [PR libc/2254]. | |
2772 | ||
2773 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
2774 | ||
2775 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
2776 | ||
2777 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
2778 | ||
2779 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, | |
2780 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
2781 | LOADARGS_6): Don't error if syscall argument is a string literal. | |
2782 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, | |
2783 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
2784 | LOADARGS_6): Likewise. | |
2785 | ||
50189569 AJ |
2786 | 2003-05-21 Andreas Jaeger <aj@suse.de> |
2787 | ||
2788 | * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, | |
2789 | cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, | |
2790 | cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. | |
2791 | ||
2792 | * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. | |
2793 | (ENTRY): Likewise. | |
2794 | (END): Likewise. | |
2795 | ||
2796 | * configure.in: Test for asm cfi directives. | |
2797 | ||
2798 | * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. | |
2799 | ||
4bd2d98c AJ |
2800 | 2003-05-17 Andreas Jaeger <aj@suse.de> |
2801 | ||
2384fe20 AJ |
2802 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch. |
2803 | ||
4bd2d98c AJ |
2804 | * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep. |
2805 | ||
7ffac51f UD |
2806 | 2003-05-16 Ulrich Drepper <drepper@redhat.com> |
2807 | ||
0a8730cb UD |
2808 | * rt/Makefile (tests): Add tst-clock_nanosleep. |
2809 | * rt/tst-clock_nanosleep.c: New file. | |
2810 | * posix/Makefile (tests): Add tst-nanosleep. | |
2811 | * posix/tst-nanosleep.c: New file. | |
2812 | ||
a8078760 UD |
2813 | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition. |
2814 | ||
23ae6451 UD |
2815 | * include/features.h (__USE_XOPEN2K): Define also for |
2816 | _POSIX_C_SOURCE>=200112L. | |
2817 | ||
bc58c14e UD |
2818 | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold |
2819 | SI_TKILL code into SI_USER. | |
2820 | * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. | |
2821 | ||
7ffac51f UD |
2822 | * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all. |
2823 | ||
63c7a7e8 UD |
2824 | 2003-05-15 Jakub Jelinek <jakub@redhat.com> |
2825 | ||
2826 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): | |
2827 | Remove sym argument, always use refsym. | |
2828 | (__process_machine_rela): Adjust callers. | |
2829 | * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): | |
2830 | Likewise. | |
2831 | * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): | |
2832 | Adjust prototype. | |
2833 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. | |
2834 | ||
115a45a7 UD |
2835 | 2003-05-15 Ulrich Drepper <drepper@redhat.com> |
2836 | ||
2837 | * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo | |
2838 | (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known | |
2839 | print numeric values. | |
2840 | ||
b523afae UD |
2841 | 2003-05-12 Thorsten Kukuk <kukuk@suse.de> |
2842 | ||
2843 | * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD. | |
2844 | ||
f0725b01 UD |
2845 | 2003-05-14 Andreas Schwab <schwab@suse.de> |
2846 | ||
2847 | * sysdeps/unix/sysv/linux/ia64/umount.c: New file. | |
2848 | ||
81f3ac4c UD |
2849 | 2003-05-14 Jakub Jelinek <jakub@redhat.com> |
2850 | ||
2851 | * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope | |
2852 | even if no DT_NEEDED is present. | |
2853 | ||
c9300aef UD |
2854 | 2003-05-13 David Mosberger <davidm@hpl.hp.com> |
2855 | ||
2856 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from | |
2857 | 2003-03-27: setjmp is NOT a leaf-routine (due to the call to | |
2858 | __sigjmp_save) so we can't keep the saved unat value in a scratch | |
2859 | register (r16). Use loc2 instead. | |
2860 | ||
d7234d9f UD |
2861 | 2003-05-13 Ulrich Drepper <drepper@redhat.com> |
2862 | ||
1ad318d3 UD |
2863 | * csu/Makefile: Do compile elf-init with PIC flag since in dynamic |
2864 | binaries it has to be relocatable. | |
2865 | ||
d7234d9f UD |
2866 | * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available. |
2867 | ||
7158eae4 UD |
2868 | 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com> |
2869 | ||
2870 | * sysdeps/powerpc/bits/atomic.h | |
2871 | (__arch_compare_and_exchange_bool_8_rel): Define. | |
2872 | (__arch_compare_and_exchange_bool_16_rel): Define. | |
2873 | (__ARCH_REL_INSTR): Define if not already defined. | |
2874 | (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. | |
2875 | (__arch_atomic_decrement_if_positive_32): | |
2876 | Add "memory" to clobber list. | |
2877 | (__arch_compare_and_exchange_val_32_acq): Remove release sync. | |
2878 | (__arch_compare_and_exchange_val_32_rel): Define. | |
2879 | (__arch_atomic_exchange_32): Remove. | |
2880 | (__arch_atomic_exchange_32_acq): Define. | |
2881 | (__arch_atomic_exchange_32_rel): Define. | |
2882 | (atomic_compare_and_exchange_val_rel): Define. | |
2883 | (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. | |
2884 | (atomic_exchange_rel): Define. | |
2885 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
2886 | (__arch_compare_and_exchange_bool_32_acq): Remove release sync. | |
2887 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
2888 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
2889 | (__arch_compare_and_exchange_val_64_rel): Define. | |
2890 | (__arch_atomic_exchange_64): Remove. | |
2891 | (__arch_atomic_exchange_64_acq): Define. | |
2892 | (__arch_atomic_exchange_64_rel): Define. | |
2893 | * sysdeps/powerpc/powerpc64/bits/atomic.h | |
2894 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
2895 | (__arch_compare_and_exchange_bool_64_acq): Remove release sync. | |
2896 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
2897 | (__arch_compare_and_exchange_val_64_acq): Remove release sync. | |
2898 | (__arch_compare_and_exchange_val_64_rel): Define. | |
2899 | (__arch_atomic_exchange_64): Remove. | |
2900 | (__arch_atomic_exchange_64_acq): Define. | |
2901 | (__arch_atomic_exchange_64_rel): Define. | |
2902 | (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. | |
2903 | (__arch_atomic_decrement_if_positive_64): | |
2904 | Add "memory" to clobber list. | |
2905 | [!UP](__ARCH_REL_INSTR): Define as lwsync. | |
2906 | ||
edf205d5 UD |
2907 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
2908 | ||
2909 | * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. | |
2910 | ||
2911 | 2003-05-11 Ulrich Drepper <drepper@redhat.com> | |
2912 | ||
2913 | * time/tst-strftime.c (do_test): Add tests for - flag. | |
2914 | ||
2915 | 2003-05-11 Jim Meyering <jim@meyering.net> | |
2916 | ||
2917 | * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect | |
7158eae4 | 2918 | the space-padded-by-default conversion specifiers, %e, %k, %l. |
edf205d5 | 2919 | |
8403786b AS |
2920 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
2921 | ||
2922 | * sysdeps/generic/sched_setaffinity.c: Fix parameter name. | |
2923 | ||
0e563cd6 UD |
2924 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
2925 | ||
2926 | * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not | |
2927 | already defined and when really needed. | |
2928 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
2929 | ||
d9997a45 UD |
2930 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> |
2931 | ||
2932 | * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel | |
2933 | headers, add defines from kernel header, move it from here... | |
2934 | * inet/netinet/igmp.h: ... to here. | |
2935 | * inet/Makefile (headers): Add netinet/igmp.h. | |
2936 | * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. | |
2937 | * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. | |
2938 | ||
2939 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> | |
2940 | ||
2941 | * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, | |
2942 | use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. | |
2943 | ||
2944 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> | |
2945 | ||
2946 | * libio/bits/stdio.h: Sync prototypes with libio/stdio.h | |
2947 | (remove __THROW from possible cancellation points). | |
2948 | ||
de85d40b UD |
2949 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
2950 | ||
d067c97e | 2951 | * posix/sched.h (CPU_SETSIZE): Define. |
de85d40b | 2952 | |
880867a4 UD |
2953 | 2003-05-09 Ulrich Drepper <drepper@redhat.com> |
2954 | ||
c7652699 UD |
2955 | * Makeconfig (gnulib): Remove -lgcc_eh again. |
2956 | ||
949ec764 UD |
2957 | * posix/sched.h: Change prototypes of sched_getaffinity and |
2958 | sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. | |
2959 | * sysdeps/generic/sched_getaffinity.c: Adjust definition. | |
2960 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
2961 | * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, | |
2962 | __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, | |
2963 | __CPU_CLR, and __CPU_ISSET. | |
2964 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
2965 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. | |
2966 | * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. | |
2967 | ||
2968 | * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. | |
2969 | (atomic_exchange_rel): New #define. | |
2970 | * sysdeps/ia64/bits/atomic.h: Likewise. | |
2971 | * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from | |
2972 | atomic_exchange. | |
2973 | * sysdeps/m68k/m68020/bits/atomic.h: Likewise. | |
2974 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
2975 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. | |
2976 | * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. | |
2977 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2978 | * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange. | |
2979 | ||
880867a4 UD |
2980 | * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file. |
2981 | ||
92d83c72 UD |
2982 | 2003-05-08 Ulrich Drepper <drepper@redhat.com> |
2983 | ||
2984 | * malloc/thread-m.h: Remove special handling of thread_atfork if | |
2985 | HAVE_register_atfork_malloc is defined. | |
2986 | ||
7618d44c AJ |
2987 | 2003-05-07 Andreas Jaeger <aj@suse.de> |
2988 | ||
2989 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind | |
2990 | information. | |
2991 | ||
14a2bd4b UD |
2992 | 2003-05-06 Ulrich Drepper <drepper@redhat.com> |
2993 | ||
2994 | * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. | |
2995 | * libio/oldiofopen.c (_IO_old_fopen): Likewise. | |
2996 | * libio/libioP.h: Declare _IO_old_init. | |
2997 | * libio/genops.c (_IO_no_init): Split in two. New function | |
2998 | _IO_old_init. | |
2999 | ||
9946f75a UD |
3000 | 2003-05-05 Ulrich Drepper <drepper@redhat.com> |
3001 | ||
be4d8038 UD |
3002 | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New |
3003 | variable. | |
3004 | (__libc_init_secure): Don't do anything if __libc_enable_secure_decided | |
3005 | is nonzero. | |
3006 | * include/unistd.h: Declare __libc_enable_secure_decided. | |
3007 | * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, | |
3008 | and AT_EGID. If all found, set __libc_enable_secure and | |
3009 | __libc_enable_secure_decided. | |
3010 | ||
9946f75a UD |
3011 | * sysdeps/generic/libc-start.c [!SHARED]: Call |
3012 | __libc_check_standard_fds after __libc_init_first. | |
3013 | ||
955a7039 RM |
3014 | 2003-05-05 Roland McGrath <roland@redhat.com> |
3015 | ||
3016 | * Makerules (common-before-compile): New variable. | |
3017 | ($(common-objpfx)%.make): Depend on that instead of $(before-compile). | |
3018 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule | |
3019 | to after all setting of before-compile. | |
3020 | ||
4661a153 UD |
3021 | 2003-05-05 Jakub Jelinek <jakub@redhat.com> |
3022 | ||
3023 | * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
3024 | __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. | |
3025 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
3026 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
3027 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h | |
3028 | (__arch_compare_and_exchange_val_8_acq, | |
3029 | __arch_compare_and_exchange_val_16_acq, | |
3030 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
3031 | * sysdeps/sparc/sparc64/bits/atomic.h | |
3032 | (__arch_compare_and_exchange_val_8_acq, | |
3033 | __arch_compare_and_exchange_val_16_acq): Likewise. | |
3034 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
3035 | __arch_compare_and_exchange_val_16_acq, | |
3036 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
3037 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h | |
3038 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
3039 | * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut | |
3040 | up warning. | |
3041 | * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. | |
3042 | ||
3043 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | |
3044 | (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): | |
3045 | Return long instead of int. | |
3046 | (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace | |
3047 | 0xfffff001u with -4095UL. | |
3048 | ||
461e1ce0 AJ |
3049 | 2003-05-05 Andreas Jaeger <aj@suse.de> |
3050 | ||
c7c8ca97 AJ |
3051 | * sysdeps/x86_64/fpu_control.h: New from i386. |
3052 | ||
461e1ce0 AJ |
3053 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): |
3054 | Define if not defined. | |
3055 | ||
955a7039 RM |
3056 | * sunrpc/Makefile (generated-dirs): New variable. |
3057 | * resolv/Makefile (generated): New variable. | |
0696c2c0 | 3058 | |
4b0b5882 RM |
3059 | 2003-05-04 Roland McGrath <roland@redhat.com> |
3060 | ||
c6696b79 RM |
3061 | * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file. |
3062 | Depend on $(before-compile). | |
3063 | ||
4b0b5882 RM |
3064 | * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static |
3065 | pattern rule. The implicit rule could be ruled out when $(objpfx) | |
3066 | didn't exist at the time of its consideration (ugh!). | |
3067 | ||
3068 | * Makerules (+make-deps): Fix target matching. | |
3069 | Use $(sed-remove-dotdot). | |
3070 | ||
a12ce44f UD |
3071 | 2003-05-03 Ulrich Drepper <drepper@redhat.com> |
3072 | ||
3073 | * nscd/nscd.c (main): Parse config file right after parsing | |
3074 | parameters. Then, if get_stats is true, call receive_print_stats. | |
3075 | Drop parameter from nscd_init call. | |
3076 | (get_stats): New variable. | |
3077 | (parse_opt): Set get_stats, don't call receive_print_stats here. | |
3078 | * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init | |
3079 | prototype. | |
3080 | * nscd/connections.c (stat_user, stat_uid): New variables. | |
3081 | (dbs): Make global. | |
3082 | (nscd_init): Don't read configuration file here. Drop parameter. | |
3083 | (handle_request): Cleanup handling of non-database lookup requests. | |
3084 | * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. | |
3085 | Get UID of the specified user. Use xstrdup instead of strdup. | |
3086 | * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, | |
3087 | check stat_user. | |
3088 | * nscd/Makefile (nscd-modules): Add xstrdup. | |
3089 | * nscd/nscd.conf: Document stat-user entry. | |
3090 | ||
3091 | 2003-05-03 H.J. Lu <hongjiu.lu@intel.com> | |
3092 | ||
3093 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define | |
3094 | if not defined. | |
3095 | ||
f866314b UD |
3096 | 2003-04-22 Roland McGrath <roland@redhat.com> |
3097 | ||
3098 | * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. | |
3099 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove | |
3100 | dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. | |
3101 | * elf/dl-support.c: Update defn. | |
3102 | * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. | |
3103 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: | |
3104 | Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. | |
3105 | (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. | |
3106 | * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is | |
3107 | set, set up a link_map for the preloaded, prelinked object. | |
3108 | ||
05d3d580 RM |
3109 | 2003-05-03 Roland McGrath <roland@redhat.com> |
3110 | ||
3111 | * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... | |
3112 | * stdio-common/Makefile: ... not here. | |
3113 | ||
3114 | * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). | |
3115 | * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. | |
3116 | ||
0a8fe089 UD |
3117 | 2003-05-02 Ulrich Drepper <drepper@redhat.com> |
3118 | ||
ba080fa6 UD |
3119 | * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file. |
3120 | ||
90a315b0 UD |
3121 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define. |
3122 | ||
f903b515 UD |
3123 | * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for |
3124 | comparing ftab elements. | |
3125 | (_dl_unmap): Fix typo in test. | |
ceb927c9 UD |
3126 | (_dl_make_fptr): Fix typos introduced in last change. |
3127 | ||
0a8fe089 UD |
3128 | * sysdeps/generic/dl-fptr.c: Put back one optimization from the |
3129 | original patch. Use non-exported symbols. Mark translatable | |
3130 | strings. Pretty printing. | |
3131 | ||
a0c8a249 RM |
3132 | 2003-05-02 Roland McGrath <roland@redhat.com> |
3133 | ||
3134 | * Makerules (do-stamp): Do $(make-target-directory). | |
3135 | ||
a92026c9 UD |
3136 | 2003-04-07 H.J. Lu <hjl@gnu.org> |
3137 | ||
3138 | * sysdeps/generic/dl-fptr.c: Modify to remove the lock. | |
3139 | ||
3140 | 2003-04-03 H.J. Lu <hjl@gnu.org> | |
3141 | ||
3142 | * sysdeps/ia64/dl-fptr.c: Moved to ... | |
3143 | * sysdeps/generic/dl-fptr.c: Here. | |
3144 | ||
3145 | * sysdeps/generic/dl-fptr.h: New. | |
3146 | * sysdeps/ia64/dl-fptr.h: New. | |
3147 | ||
3148 | * sysdeps/ia64/dl-symaddr.c: Moved to ... | |
3149 | * sysdeps/generic/dl-symaddr.c: here. | |
3150 | ||
3151 | * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>. | |
3152 | (IA64_BOOT_FPTR_TABLE_LEN): Removed. | |
3153 | (ia64_fdesc): Likewise. | |
3154 | (ia64_fdesc_table): Likewise. | |
3155 | (__ia64_make_fptr): Likewise. | |
3156 | (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table | |
3157 | with _dl_boot_fptr_table. | |
3158 | (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with | |
3159 | `struct fdesc'. | |
3160 | (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr. | |
3161 | ||
362f5ae2 RM |
3162 | 2003-05-01 Roland McGrath <roland@redhat.com> |
3163 | ||
3164 | * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. | |
3165 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. | |
3166 | ||
3167 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
3168 | Use $(make-target-directory). | |
3169 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. | |
3170 | ||
3171 | * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. | |
3172 | (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). | |
3173 | (compile-command.s, compile-command.c): Likewise. | |
3174 | ($(objpfx)%.d): All such pattern rules removed. | |
3175 | ($(+sysdir_pfx)sysd-rules): Don't generate them. | |
3176 | ($(common-objpfx)dummy.d): Target removed. | |
3177 | (make-dummy-dep): Variable removed. | |
3178 | (generate-md5): Likewise. | |
3179 | (%.d: %.dt): New pattern rule. | |
3180 | (+depfiles): Use $(wildcard) function to get just existing *.d files | |
3181 | and .d files for existing *.dt files. | |
3182 | (common-clean): Remove all *.d and *.dt files. | |
3183 | (before-compile): Add $(objpfx). when it doesn't exist, | |
3184 | regardless of $(no_deps). | |
3185 | * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. | |
3186 | (rtld-depfiles): Use .os.d instead of .d names. | |
3187 | Include existing *.d files and .d files for existing *.dt files. | |
3188 | ||
3189 | * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. | |
3190 | Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. | |
3191 | ||
3192 | * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. | |
3193 | Do s-*.d includes only if we have some syscall routines in this subdir. | |
3194 | ||
3195 | * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of | |
3196 | @nobits. The former is accepted by gas on any ELF platform. | |
3197 | ||
a234e27d UD |
3198 | 2003-05-01 Ulrich Drepper <drepper@redhat.com> |
3199 | ||
cf20f569 UD |
3200 | * sysdeps/unix/sysv/linux/semtimedop.c: New file. |
3201 | ||
a234e27d UD |
3202 | * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. |
3203 | ||
3204 | 2003-04-29 Andreas Schwab <schwab@suse.de> | |
3205 | ||
3206 | * string/test-strcat.c (do_one_test): Fix attribute name. | |
3207 | ||
27b301e4 AO |
3208 | 2003-04-30 Alexandre Oliva <aoliva@redhat.com> |
3209 | ||
3210 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make | |
3211 | uc_flags long for all ABIs. | |
3212 | ||
f545f1df AJ |
3213 | 2003-04-30 Andreas Jaeger <aj@suse.de> |
3214 | ||
3215 | * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h | |
3216 | (DR_CONTROL_RESERVED): Use correct value for 64-bit. | |
3217 | Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>. | |
3218 | Add bi-arch support. | |
3219 | ||
f773ff64 UD |
3220 | 2003-04-30 Ulrich Drepper <drepper@redhat.com> |
3221 | ||
3222 | * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal. | |
3223 | (__posix_memalign): Use __memalign_internal instead of memalign. | |
3224 | ||
20792f99 RM |
3225 | 2003-04-29 Roland McGrath <roland@redhat.com> |
3226 | ||
3227 | * configure.in: Search for AUTOCONF unconditionally. | |
3228 | Just don't complain about missing it under --without-cvs. | |
20792f99 RM |
3229 | |
3230 | * include/libc-symbols.h (__symbol_set_attribute): New macro, | |
3231 | give hidden for [SHARED] and weak for [! SHARED]. | |
3232 | (symbol_set_declare): Use that. Never need weak_extern these days. | |
3233 | * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. | |
3234 | Depend on $(..)Makerules. | |
3235 | ||
85dd1003 UD |
3236 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
3237 | ||
153da599 UD |
3238 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected |
3239 | variants of socket, bind, recvmsg, and sendto. | |
3240 | ||
85dd1003 UD |
3241 | * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word. |
3242 | ||
3243 | * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset. | |
3244 | * signal/sigaddset.c: Add libc_hidden_def. | |
3245 | * signal/sigdelset.c: Likewise. | |
3246 | ||
3247 | 2003-04-29 Jakub Jelinek <jakub@redhat.com> | |
3248 | ||
3249 | * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move | |
3250 | to the end of the file. | |
3251 | ||
3252 | * configure.in: Change __oline__ to $LINENO. | |
3253 | (HAVE_BUILTIN_REDIRECTION): New check. | |
3254 | * config.h.in (HAVE_BUILTIN_REDIRECTION): Add. | |
3255 | * include/libc-symbols.h (libc_hidden_builtin_proto, | |
3256 | libc_hidden_builtin_def, libc_hidden_builtin_weak, | |
3257 | libc_hidden_builtin_ver): Define. | |
3258 | * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr, | |
3259 | strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr, | |
3260 | strspn, strstr): Add libc_hidden_builtin_proto. | |
3261 | * intl/plural.y: Include string.h. | |
3262 | * sysdeps/alpha/alphaev6/memchr.S (memchr): Add | |
3263 | libc_hidden_builtin_def. | |
3264 | * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise. | |
3265 | * sysdeps/alpha/alphaev6/memset.S (memset): Likewise. | |
3266 | * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise. | |
3267 | * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise. | |
3268 | * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise. | |
3269 | * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise. | |
3270 | * sysdeps/alpha/memchr.S (memchr): Likewise. | |
3271 | * sysdeps/alpha/memset.S (memset): Likewise. | |
3272 | * sysdeps/alpha/strcat.S (strcat): Likewise. | |
3273 | * sysdeps/alpha/strchr.S (strchr): Likewise. | |
3274 | * sysdeps/alpha/strcmp.S (strcmp): Likewise. | |
3275 | * sysdeps/alpha/strcpy.S (strcpy): Likewise. | |
3276 | * sysdeps/alpha/strlen.S (strlen): Likewise. | |
3277 | * sysdeps/alpha/strncmp.S (strncmp): Likewise. | |
3278 | * sysdeps/alpha/strncpy.S (strncpy): Likewise. | |
3279 | * sysdeps/alpha/strrchr.S (strrchr): Likewise. | |
3280 | * sysdeps/arm/memset.S (memset): Likewise. | |
3281 | * sysdeps/arm/strlen.S (strlen): Likewise. | |
3282 | * sysdeps/generic/memchr.c (memchr): Likewise. | |
3283 | * sysdeps/generic/memcpy.c (memcpy): Likewise. | |
3284 | * sysdeps/generic/memmove.c (memmove): Likewise. | |
3285 | * sysdeps/generic/memset.c (memset): Likewise. | |
3286 | * sysdeps/generic/strcat.c (strcat): Likewise. | |
3287 | * sysdeps/generic/strchr.c (strchr): Likewise. | |
3288 | * sysdeps/generic/strcmp.c (strcmp): Likewise. | |
3289 | * sysdeps/generic/strcpy.c (strcpy): Likewise. | |
3290 | * sysdeps/generic/strcspn.c (strcspn): Likewise. | |
3291 | * sysdeps/generic/strlen.c (strlen): Likewise. | |
3292 | * sysdeps/generic/strncmp.c (strncmp): Likewise. | |
3293 | * sysdeps/generic/strncpy.c (strncpy): Likewise. | |
3294 | * sysdeps/generic/strpbrk.c (strpbrk): Likewise. | |
3295 | * sysdeps/generic/strrchr.c (strrchr): Likewise. | |
3296 | * sysdeps/generic/strspn.c (strspn): Likewise. | |
3297 | * sysdeps/generic/strstr.c (strstr): Likewise. | |
3298 | * sysdeps/i386/i486/strcat.S (strcat): Likewise. | |
3299 | * sysdeps/i386/i486/strlen.S (strlen): Likewise. | |
3300 | * sysdeps/i386/i586/memcpy.S (memcpy): Likewise. | |
3301 | * sysdeps/i386/i586/memset.S (memset): Likewise. | |
3302 | * sysdeps/i386/i586/strchr.S (strchr): Likewise. | |
3303 | * sysdeps/i386/i586/strcpy.S (strcpy): Likewise. | |
3304 | * sysdeps/i386/i586/strlen.S (strlen): Likewise. | |
3305 | * sysdeps/i386/i686/memcpy.S (memcpy): Likewise. | |
3306 | * sysdeps/i386/i686/memmove.S (memmove): Likewise. | |
3307 | * sysdeps/i386/i686/memset.S (memset): Likewise. | |
3308 | * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. | |
3309 | * sysdeps/i386/memchr.S (memchr): Likewise. | |
3310 | * sysdeps/i386/memset.c (memset): Likewise. | |
3311 | * sysdeps/i386/strchr.S (strchr): Likewise. | |
3312 | * sysdeps/i386/strcspn.S (strcspn): Likewise. | |
3313 | * sysdeps/i386/strlen.c (strlen): Likewise. | |
3314 | * sysdeps/i386/strpbrk.S (strpbrk): Likewise. | |
3315 | * sysdeps/i386/strrchr.S (strrchr): Likewise. | |
3316 | * sysdeps/i386/strspn.S (strspn): Likewise. | |
3317 | * sysdeps/ia64/memchr.S (memchr): Likewise. | |
3318 | * sysdeps/ia64/memcpy.S (memcpy): Likewise. | |
3319 | * sysdeps/ia64/memmove.S (memmove): Likewise. | |
3320 | * sysdeps/ia64/memset.S (memset): Likewise. | |
3321 | * sysdeps/ia64/strcat.S (strcat): Likewise. | |
3322 | * sysdeps/ia64/strchr.S (strchr): Likewise. | |
3323 | * sysdeps/ia64/strcmp.S (strcmp): Likewise. | |
3324 | * sysdeps/ia64/strcpy.S (strcpy): Likewise. | |
3325 | * sysdeps/ia64/strlen.S (strlen): Likewise. | |
3326 | * sysdeps/ia64/strncmp.S (strncmp): Likewise. | |
3327 | * sysdeps/ia64/strncpy.S (strncpy): Likewise. | |
3328 | * sysdeps/m68k/memchr.S (memchr): Likewise. | |
3329 | * sysdeps/m68k/strchr.S (strchr): Likewise. | |
3330 | * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise. | |
3331 | * sysdeps/mips/mips64/memset.S (memset): Likewise. | |
3332 | * sysdeps/mips/memcpy.S (memcpy): Likewise. | |
3333 | * sysdeps/mips/memset.S (memset): Likewise. | |
3334 | * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. | |
3335 | * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise. | |
3336 | * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise. | |
3337 | * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise. | |
3338 | * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise. | |
3339 | * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. | |
3340 | * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. | |
3341 | * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise. | |
3342 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise. | |
3343 | * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise. | |
3344 | * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise. | |
3345 | * sysdeps/powerpc/strcat.c (strcat): Likewise. | |
3346 | * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise. | |
3347 | * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise. | |
3348 | * sysdeps/sparc/sparc32/memset.S (memset): Likewise. | |
3349 | * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise. | |
3350 | * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise. | |
3351 | * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise. | |
3352 | * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise. | |
3353 | * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise. | |
3354 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise. | |
3355 | * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise. | |
3356 | * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise. | |
3357 | * sysdeps/sparc/sparc64/memset.S (memset): Likewise. | |
3358 | * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise. | |
3359 | * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise. | |
3360 | * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise. | |
3361 | * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise. | |
3362 | * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise. | |
3363 | * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise. | |
3364 | * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise. | |
3365 | * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise. | |
3366 | * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise. | |
3367 | * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise. | |
3368 | * sysdeps/sh/memcpy.S (memcpy): Likewise. | |
3369 | * sysdeps/sh/memset.S (memset): Likewise. | |
3370 | * sysdeps/sh/strlen.S (strlen): Likewise. | |
3371 | * sysdeps/s390/s390-32/memchr.S (memchr): Likewise. | |
3372 | * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise. | |
3373 | * sysdeps/s390/s390-32/memset.S (memset): Likewise. | |
3374 | * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise. | |
3375 | * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise. | |
3376 | * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise. | |
3377 | * sysdeps/s390/s390-64/memchr.S (memchr): Likewise. | |
3378 | * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise. | |
3379 | * sysdeps/s390/s390-64/memset.S (memset): Likewise. | |
3380 | * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise. | |
3381 | * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise. | |
3382 | * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise. | |
3383 | * sysdeps/x86_64/memcpy.S (memcpy): Likewise. | |
3384 | * sysdeps/x86_64/memset.S (memset): Likewise. | |
3385 | * sysdeps/x86_64/strcat.S (strcat): Likewise. | |
3386 | * sysdeps/x86_64/strchr.S (strchr): Likewise. | |
3387 | * sysdeps/x86_64/strcmp.S (strcmp): Likewise. | |
3388 | * sysdeps/x86_64/strcpy.S (strcpy): Likewise. | |
3389 | * sysdeps/x86_64/strcspn.S (strcspn): Likewise. | |
3390 | * sysdeps/x86_64/strlen.S (strlen): Likewise. | |
3391 | * sysdeps/x86_64/strspn.S (strspn): Likewise. | |
3392 | * string/string-inlines.c: Move... | |
3393 | * sysdeps/generic/string-inlines.c: ...here. | |
3394 | (__memcpy_g, __strchr_g): Remove. | |
3395 | (__NO_INLINE__): Define before including <string.h>, | |
3396 | undefine after. Include bits/string.h and bits/string2.h. | |
3397 | * sysdeps/i386/i486/string-inlines.c: New file. | |
3398 | * sysdeps/i386/string-inlines.c: New file. | |
3399 | * sysdeps/i386/i486/Versions: Remove. | |
3400 | All GLIBC_2.1.1 symbols moved... | |
3401 | * sysdeps/i386/Versions (libc): ...here. | |
3402 | ||
e40468fa UD |
3403 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
3404 | ||
3405 | * sysdeps/i386/fpu/Makefile: New file. | |
3406 | * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word. | |
3407 | * sysdeps/i386/fpu/feenablxcpt.c: Likewise. | |
3408 | * sysdeps/i386/fpu/feholdexcpt.c: Likewise. | |
3409 | * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode | |
3410 | [PR libc/4987]. | |
3411 | ||
12c80513 UD |
3412 | 2003-04-28 Ulrich Drepper <drepper@redhat.com> |
3413 | ||
3414 | * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. | |
3415 | * nscd/nscd_getpw_r.c: Likewise. | |
3416 | * nscd/nscd_gethst_r.c: Likewise. | |
3417 | ||
fe453812 UD |
3418 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
3419 | ||
3420 | * nscd/pwdcache.c: Initialize .version element in result. | |
3421 | * nscd/grpcache.c: Likewise. | |
3422 | * nscd/pwdcache.c: Likewise. | |
3423 | ||
bf7725a9 RM |
3424 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
3425 | ||
3426 | * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in | |
3427 | subdirectory. | |
3428 | ||
26576375 AS |
3429 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
3430 | ||
3431 | * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file. | |
3432 | ||
a7ed068e UD |
3433 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
3434 | ||
a16e3585 UD |
3435 | * nscd/connections.c (client_queued): New variable. |
3436 | (nscd_run): Revamp the loop. Don't call poll except for cleanup | |
3437 | threads. Keep track of the number of delays caused because of busy | |
3438 | worker threads. | |
3439 | * nscd/nscd.h: Declare client_queued. | |
3440 | * nscd/nscd_stat.c: Transmit and print client_queued information. | |
3441 | ||
76352f64 UD |
3442 | * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX. |
3443 | ||
a7ed068e UD |
3444 | * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to |
3445 | define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs. | |
3446 | ||
541765b6 UD |
3447 | 2003-04-26 Ulrich Drepper <drepper@redhat.com> |
3448 | ||
3449 | * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement | |
3450 | tracking of freed memory in static TLS block. | |
3451 | * elf/Makefile: Add rules to build and run tst-tls13. | |
3452 | * elf/tst-tls13.c: New file. | |
3453 | * elf/tst-tlsmod13.c: New file. | |
3454 | * elf/tst-tlsmod13a.c: New file. | |
3455 | ||
3456 | * elf/tst-tls8.c: Adjust types of variables to avoid warnings. | |
3457 | ||
3458 | * elf/dl-reloc.c: Pretty printing. | |
3459 | ||
358cad7c RM |
3460 | 2003-04-26 Roland McGrath <roland@redhat.com> |
3461 | ||
3462 | * Makerules ($(common-objpfx)shlib.lds): New target. | |
3463 | (common-generated): Add it. | |
3464 | (build-shlib, build-module): Use that instead of generating every time. | |
3465 | ($(common-objpfx)libc.so): Depend on it. | |
3466 | (lib%.so rule): Likewise. | |
3467 | (build-module-helper-objlist): Remove %.lds. | |
5ae340e3 | 3468 | (LDSEDCMD-c.so): Variable removed. |
358cad7c RM |
3469 | * iconvdata/extra-module.mk ($(objpfx)$(mod).so): |
3470 | Depend on $(common-objpfx)shlib.lds. | |
3471 | * dlfcn/Makefile ($(test-modules)): Likewise. | |
3472 | ||
d3f063bc RM |
3473 | 2003-04-26 Roland McGrath <roland@frob.com> |
3474 | ||
3475 | * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals. | |
3476 | ||
06a04e09 UD |
3477 | 2003-04-26 Andreas Schwab <schwab@suse.de> |
3478 | ||
3479 | * elf/dl-close.c (remove_slotinfo): Fix missing parens. | |
3480 | ||
f24dca48 UD |
3481 | 2003-04-25 Ulrich Drepper <drepper@redhat.com> |
3482 | ||
c86e6aec UD |
3483 | * nscd/cache.c (cache_search): Keep track of how many chain links |
3484 | we searched and update table statistics. | |
3485 | (cache_add): Keep track of how many values are in the table. | |
3486 | (prune_cache): Likewise. Keep track of locking success. | |
3487 | Print messages about removed entries in separate pass. | |
3488 | * nscd/connections.c (handle_request): Don't print debug message here. | |
3489 | The caller will do it. Keep track of locking success. | |
3490 | (nscd_run): Print debug message. Also print PID of the client process. | |
3491 | * nscd/nscd.c (start_time): New variable. | |
3492 | (main): Remember start time. | |
3493 | * nscd/nscd.h: Declare start_time. | |
3494 | (struct database): Add more members for new statistics. | |
3495 | * nscd/nscd_stat.c: Add support for sending, receiving, and printing | |
3496 | of new statistics. | |
3497 | ||
f24dca48 UD |
3498 | * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>. |
3499 | ||
299601a1 UD |
3500 | 2003-04-22 Jakub Jelinek <jakub@redhat.com> |
3501 | ||
3502 | * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. | |
3503 | * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. | |
3504 | * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to | |
3505 | NO_TLS_OFFSET. | |
3506 | * elf/rtld.c (_dl_start_final, _dl_start): Likewise. | |
3507 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. | |
3508 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
3509 | * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract | |
3510 | TLS_TCB_SIZE. | |
3511 | ||
925c3c5c UD |
3512 | 2003-04-24 Ulrich Drepper <drepper@redhat.com> |
3513 | ||
29bfc945 UD |
3514 | * nss/getent.c: Implement alternative host database lookup via |
3515 | getaddrinfo. | |
3516 | ||
925c3c5c UD |
3517 | * include/ifaddrs.h: New file. |
3518 | * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and | |
3519 | AI_ADDRCONFIG... | |
3520 | * resolv/netdb.h: ...here. | |
3521 | * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. | |
3522 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
3523 | * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and | |
3524 | AI_ADDRCONFIG. | |
3525 | ||
4c513679 RM |
3526 | 2003-04-24 Roland McGrath <roland@redhat.com> |
3527 | ||
3528 | * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. | |
3529 | ||
8e27f45e RM |
3530 | 2003-04-24 Jakub Jelinek <jakub@redhat.com> |
3531 | ||
3532 | * elf/dl-reloc.c (allocate_static_tls): Rename to... | |
3533 | (_dl_allocate_static_tls): ... this function. No longer static. | |
3534 | (CHECK_STATIC_TLS): Adjust. | |
3535 | * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. | |
3536 | * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): | |
3537 | Add SYM_MAP argument. | |
3538 | (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. | |
3539 | Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit | |
3540 | TLS relocs here. #ifdef out relocs which never appear in | |
3541 | .gnu.conflict section from dl-conflict.c processing. | |
3542 | * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): | |
3543 | Add SYM_MAP argument. Handle 16-bit TLS relocs here. | |
3544 | ||
3545 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef | |
3546 | out relocs which never appear in .gnu.conflict section from | |
3547 | dl-conflict.c processing. | |
3548 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. | |
3549 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. | |
3550 | * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. | |
3551 | Use r_type in RESOLVE macro. | |
3552 | ||
b9b9a51e UD |
3553 | 2003-04-23 Ulrich Drepper <drepper@redhat.com> |
3554 | ||
4c513679 | 3555 | * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != |
345d9208 UD |
3556 | NULL. Remove code made redundant by this assumption. |
3557 | (__yp_unbind): Add call to free. Adjust all callers. | |
3558 | ||
47ae3942 | 3559 | * nis/ypclnt.c (yp_all): Free the dom_binding object after |
29bfc945 | 3560 | unbinding it. |
47ae3942 | 3561 | |
b9b9a51e UD |
3562 | * grp/initgroups.c (getgrouplist): Don't copy too much into the |
3563 | user buffer if more groups are found than fit into it. | |
3564 | ||
3565 | * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use | |
3566 | extend_alloca. | |
3567 | ||
63af556f RM |
3568 | 2003-04-23 Jakub Jelinek <jakub@redhat.com> |
3569 | ||
370b4d44 UD |
3570 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, |
3571 | not rc == errno. Use extend_alloca. | |
3572 | ||
63af556f RM |
3573 | * elf/tst-tls12.c (main): Fix declaration. |
3574 | * elf/tst-tls10.c (dummy): Make hidden instead of static. | |
3575 | * elf/tst-tlsmod7.c (dummy): Likewise. | |
3576 | * elf/tst-tlsmod8.c (dummy): Likewise. | |
3577 | * elf/tst-tlsmod9.c (dummy): Likewise. | |
3578 | ||
3579 | 2003-04-22 Roland McGrath <roland@redhat.com> | |
3580 | ||
3581 | * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. | |
3582 | (open_not_cancel): Make last argument non-optional. | |
3583 | * sysdeps/generic/check_fds.c (check_one_fd): Update caller. | |
3584 | * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. | |
3585 | * iconv/gconv_cache.c (__gconv_load_cache): Likewise. | |
3586 | ||
3587 | * include/tls.h: Protect against multiple inclusion. | |
3588 | ||
4c5dd2a2 UD |
3589 | 2003-04-22 Ulrich Drepper <drepper@redhat.com> |
3590 | ||
3591 | * nscd/nscd-client.h: Add declaration for __nscd_open_socket. | |
3592 | * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from | |
3593 | open_socket. Not static anymore. | |
3594 | (nscd_gethst_r): Use __nscd_open_socket. | |
3595 | * nscd/nscd_getgr_r.c (open_socket): Removed. | |
3596 | (nscd_getgr_r): Use __nscd_open_socket. | |
3597 | * nscd/nscd_getpw_r.c (open_socket): Removed. | |
3598 | (nscd_getpw_r): Use __nscd_open_socket. | |
3599 | ||
3600 | * nscd/nscd.c (main): Change type of fdn to long int and use strtol. | |
3601 | * nscd/connections.c (handle_request): Add cast to avoid warning. | |
3602 | ||
e7608d77 UD |
3603 | 2003-04-21 Ulrich Drepper <drepper@redhat.com> |
3604 | ||
6a87ee19 UD |
3605 | * signal/sigfillset.c: Moved to... |
3606 | * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined | |
3607 | do not set the corresponding bit. | |
3608 | ||
e7608d77 UD |
3609 | * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for |
3610 | SIGCANCEL. | |
3611 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. | |
3612 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. | |
3613 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. | |
3614 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. | |
3615 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. | |
3616 | ||
680dd6f2 UD |
3617 | 2003-04-20 Ulrich Drepper <drepper@redhat.com> |
3618 | ||
a4faf243 | 3619 | * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast |
e7608d77 | 3620 | first syscall parameter to const char*. |
680dd6f2 | 3621 | |
0b3df49e UD |
3622 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
3623 | ||
40c90e00 UD |
3624 | * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run. |
3625 | ||
58a7a325 UD |
3626 | * configure.in: Add AC_PROG_CXX. |
3627 | * config.make.in (CXX): Define. | |
3628 | ||
0b3df49e UD |
3629 | * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of |
3630 | __len to size_t to avoid warnings. | |
3631 | ||
84a420c0 UD |
3632 | 2003-04-18 Jes Sorensen <jes@wildopensource.com> |
3633 | ||
3634 | * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux | |
3635 | 2.5.67. | |
3636 | * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
3637 | ||
2c008571 UD |
3638 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
3639 | ||
4e648ea3 UD |
3640 | * stdlib/cxa_finalize.c (__cxa_finalize): Don't call |
3641 | UNREGISTER_ATFORK if d == NULL. | |
3642 | ||
2c008571 UD |
3643 | * catgets/nl_types.h: Remove __THROW marker from cancellation points. |
3644 | * dirent/dirent.h: Likewise. | |
3645 | * dlfcn/dlfcn.h: Likewise. | |
3646 | * grp/grp.h: Likewise. | |
3647 | * iconv/iconv.h: Likewise. | |
3648 | * io/fcntl.h: Likewise. | |
3649 | * io/ftw.h: Likewise. | |
3650 | * libio/stdio.h: Likewise. | |
3651 | * misc/sys/mman.h: Likewise. | |
3652 | * misc/sys/select.h: Likewise. | |
3653 | * misc/sys/syslog.h: Likewise. | |
3654 | * misc/sys/uio.h: Likewise. | |
3655 | * posix/spawn.h: Likewise. | |
3656 | * posix/unistd.h: Likewise. | |
3657 | * posix/sys/wait.h: Likewise. | |
3658 | * pwd/pwd.h: Likewise. | |
3659 | * resolv/netdb.h: Likewise. | |
3660 | * rt/aio.h: Likewise. | |
3661 | * shadow/shadow.h: Likewise. | |
3662 | * signal/signal.h: Likewise. | |
3663 | * socket/sys/socket.h: Likewise. | |
3664 | * stdlib/stdlib.h: Likewise. | |
3665 | * streams/stropts.h: Likewise. | |
3666 | * string/string.h: Likewise. | |
3667 | * sysdeps/gnu/utmpx.h: Likewise. | |
3668 | * sysvipc/sys/msg.h: Likewise. | |
3669 | * termios/termios.h: Likewise. | |
3670 | * time/time.h: Likewise. | |
3671 | * wcsmbs/wchar.h: Likewise. | |
3672 | * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable | |
3673 | functions. | |
3674 | * misc/daemon.c: Likewise. | |
3675 | * sysdeps/generic/backtracesymsfd.c: Likewise. | |
3676 | * sysdeps/generic/check_fds.c: Likewise. | |
3677 | * sysdeps/unix/sysv/linux/gethostid.c: Likewise. | |
3678 | * sysdeps/unix/sysv/linux/not-cancel.h: New file. | |
3679 | * sysdeps/generic/not-cancel.h: New file. | |
3680 | * csu/Makefile (distribute): Add not-cancel.h. | |
3681 | * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. | |
3682 | * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE | |
3683 | for assert.c and assert-perr.c to include <fatal-prepare.h>. | |
3684 | * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. | |
3685 | ||
3686 | * sysdeps/posix/remove.c (remove): Rewrite. No need to restore | |
3687 | errno and unlink first. | |
3688 | ||
3689 | * io/ftw.c (ftw_dir): In all places assume fchdir is available. | |
3690 | ||
3691 | 2003-04-18 Ulrich Drepper <drepper@redhat.com> | |
3692 | ||
3693 | * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use | |
3694 | INTERNAL_SYSCALL instead of INLINE_SYSCALL. | |
3695 | ||
aae9d42b UD |
3696 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
3697 | ||
7c2842bf UD |
3698 | * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. |
3699 | ||
3700 | * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. | |
3701 | * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not | |
3702 | replace. | |
3703 | ||
aae9d42b UD |
3704 | * signal/Makefile (tests): Add tst-sigsimple. |
3705 | * signal/tst-sigsimple.c: New file. | |
3706 | ||
94c24227 UD |
3707 | 2003-04-16 Jakub Jelinek <jakub@redhat.com> |
3708 | ||
3709 | * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and | |
3710 | tst-tls10.h. | |
3711 | (tests): Add tst-tls1[0-2]. | |
3712 | (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. | |
3713 | ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. | |
3714 | ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. | |
3715 | ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. | |
3716 | ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. | |
3717 | ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. | |
3718 | ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. | |
3719 | * elf/tst-tls10.c: New test. | |
3720 | * elf/tst-tls11.c: New test. | |
3721 | * elf/tst-tls12.c: New test. | |
3722 | * elf/tst-tls10.h: New file. | |
3723 | * elf/tst-tlsmod7.c: New file. | |
3724 | * elf/tst-tlsmod8.c: New file. | |
3725 | * elf/tst-tlsmod9.c: New file. | |
3726 | * elf/tst-tlsmod10.c: New file. | |
3727 | * elf/tst-tlsmod11.c: New file. | |
3728 | * elf/tst-tlsmod12.c: New file. | |
3729 | ||
3730 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> | |
3731 | ||
3732 | * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... | |
3733 | * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. | |
3734 | * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. | |
3735 | ||
ef4d5b32 UD |
3736 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
3737 | ||
94c24227 UD |
3738 | * posix/regex.h: Include <sys/types.h>. |
3739 | ||
66cd688c UD |
3740 | * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. |
3741 | The signal number must be checked. | |
89e28f65 UD |
3742 | * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. |
3743 | The signal number must be checked [PR libc/5004]. | |
3744 | ||
9e9f1f15 UD |
3745 | * sysdeps/unix/sysv/linux/system.c: If compiled without threads |
3746 | don't do anything fancy. | |
3747 | ||
3748 | * sysdeps/generic/bits/libc-lock.h: Define | |
3749 | __rtld_lock_define_initialized_recursive. | |
3750 | ||
ef4d5b32 UD |
3751 | * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry |
3752 | contacting nscd if NOT_USENSCD_NAME > 0. | |
3753 | * nss/nsswitch.c (__nss_disable_nscd): New function. | |
3754 | * nss/nsswitch.h: Declare it. | |
3755 | * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. | |
3756 | * nscd/nscd.c (main): Call __nss_disable_nscd. | |
3757 | ||
81641068 UD |
3758 | 2003-04-16 Ulrich Drepper <drepper@redhat.com> |
3759 | ||
a4de3776 UD |
3760 | * stdio-common/perror.c (perror): We don't need to set the offset |
3761 | to _IO_pos_bad, this is how streams are initialized. | |
3762 | ||
86d27307 UD |
3763 | * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. |
3764 | (time_output): If necessary, allocate new buffer for .name string if | |
3765 | padding is required. | |
3766 | ||
31dfab9e UD |
3767 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths |
3768 | before copying. This might leave holes in the list. Adjust | |
3769 | pointers if necessary. | |
3770 | (netlink_receive): Allocate only one block. | |
3771 | (free_netlink_handle): Adjust appropriately. | |
3772 | (getifaddrs): Lots of cleanups. | |
3773 | ||
1dd42dfc | 3774 | * string/test-strncpy.c (do_one_test): Mark start and stop as |
81641068 | 3775 | possibly unused. |
c9df3df9 UD |
3776 | * string/test-memchr.c: Likewise. |
3777 | * string/test-memcmp.c: Likewise. | |
3778 | * string/test-memcpy.c: Likewise. | |
3779 | * string/test-memmove.c: Likewise. | |
3780 | * string/test-memset.c: Likewise. | |
3781 | * string/test-strcat.c: Likewise. | |
3782 | * string/test-strchr.c: Likewise. | |
3783 | * string/test-strcmp.c: Likewise. | |
3784 | * string/test-strcpy.c: Likewise. | |
3785 | * string/test-strlen.c: Likewise. | |
3786 | * string/test-strncmp.c: Likewise. | |
3787 | * string/test-strpbrk.c: Likewise. | |
3788 | * string/test-strrchr.c: Likewise. | |
3789 | * string/test-strspn.c: Likewise. | |
81641068 | 3790 | |
4ab6f47c RM |
3791 | 2003-04-15 Roland McGrath <roland@redhat.com> |
3792 | ||
3793 | * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning. | |
3794 | ||
3795 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for | |
3796 | INTUSE(__register_frame_info_bases). | |
3797 | ||
162434a6 UD |
3798 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
3799 | ||
3800 | * elf/elf.h: Define AT_SYSINFO_EH_FRAME. | |
3801 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle | |
dce3db56 | 3802 | AT_SYSINFO_EH_FRAME. Adjust string width. |
162434a6 UD |
3803 | (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. |
3804 | * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): | |
3805 | Add _dl_sysinfo_eh_frame field. | |
3806 | * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. | |
3807 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj | |
3808 | variable. | |
3809 | [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases | |
3810 | if _dl_sysinfo_eh_frame is non-NULL. | |
3811 | ||
3812 | * Makeconfig (gnulib): Add -lgcc_eh. | |
3813 | ||
3814 | * config.h.in: Define HAVE_FORCED_UNWIND. | |
3815 | ||
482eb33c UD |
3816 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
3817 | ||
3818 | * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit. | |
3819 | * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. | |
3820 | ||
aa3f2410 UD |
3821 | 2003-04-15 Jakub Jelinek <jakub@redhat.com> |
3822 | ||
3823 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid | |
3824 | checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is | |
3825 | against local symbol in conflict processing. | |
3826 | ||
6087c485 UD |
3827 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
3828 | ||
3829 | * sysdeps/powerpc/bits/atomic.h | |
3830 | [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define. | |
3831 | [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined | |
3832 | as abort stub. | |
3833 | (__arch_compare_and_exchange_val_32_acq): Define. | |
3834 | (atomic_compare_and_exchange_val_acq): Define. | |
3835 | ||
a1b5424f UD |
3836 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
3837 | ||
3838 | * include/atomic.h: Pretty printing. | |
3839 | ||
52a7f7c0 UD |
3840 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
3841 | ||
3842 | * stdio-common/vfscanf.c: Add casts to avoid warnings. | |
3843 | ||
bd4f43b4 UD |
3844 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> |
3845 | ||
3846 | * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. | |
3847 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
3848 | ||
3849 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> | |
3850 | ||
3851 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and | |
3852 | POPARGS_1 to emit labels for the mov instructions. | |
3853 | ||
3854 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> | |
3855 | ||
3856 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define. | |
3857 | ||
8133a3fd RM |
3858 | 2003-04-14 Roland McGrath <roland@redhat.com> |
3859 | ||
3860 | * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence | |
3861 | compiler warning. | |
3862 | ||
3863 | * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge. | |
3864 | ||
39a46c42 UD |
3865 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
3866 | ||
3867 | * string/strxfrm.c (STRXFRM): Terminate rulearr at correct | |
3868 | position. Reported by jreiser@BitWagon.com. | |
3869 | ||
a1fb9649 UD |
3870 | 2003-04-13 Ulrich Drepper <drepper@redhat.com> |
3871 | ||
3872 | * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version. | |
3873 | * sysdeps/generic/unwind-dw2-fde.h: Likewise. | |
3874 | * sysdeps/generic/unwind-dw2.c: Likewise. | |
3875 | * sysdeps/generic/unwind-pe.h: Likewise. | |
3876 | ||
6a1aff69 AO |
3877 | 2003-04-13 Alexandre Oliva <aoliva@redhat.com> |
3878 | ||
3879 | * sysdeps/unix/sysv/linux/mips/profil-counter: New. | |
3880 | * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. | |
3881 | * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. | |
3882 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. | |
3883 | (mcontext_t): Make it match the 32-bit mips kernel in o32. | |
3884 | * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from | |
3885 | the mips and mips64 headers. | |
3886 | (struct user): Port to n32/n64. | |
3887 | ||
7cc1894c UD |
3888 | 2003-04-12 Ulrich Drepper <drepper@redhat.com> |
3889 | ||
3890 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to | |
3891 | avoid warning. | |
3892 | ||
3893 | * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If | |
3894 | __ASSUME_VSYSCALL is defined don't add restorer. | |
3895 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
3896 | __ASSUME_VSYSCALL for 2.5.53. | |
3897 | ||
09d65ff3 UD |
3898 | 2003-04-11 Ulrich Drepper <drepper@redhat.com> |
3899 | ||
3900 | * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. | |
3901 | Remove HAVE_CANCELBUF code. Replace with code using the new | |
3902 | initializers for unwind-based cleanup handling. | |
3903 | * sysdeps/generic/unwind.h: Update from latest gcc version. | |
3904 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few | |
3905 | places to allow unwind data generation. | |
3906 | * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. | |
3907 | * sysdeps/x86_64/bits/setjmp.h: Likewise. | |
3908 | * sysdeps/sh/bits/setjmp.h: Likewise. | |
3909 | * sysdeps/powerpc/bits/setjmp.h: Likewise. | |
3910 | * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. | |
3911 | * sysdeps/alpha/bits/setjmp.h: Likewise. | |
3912 | ||
0dc44b51 RM |
3913 | 2003-04-11 Roland McGrath <roland@redhat.com> |
3914 | ||
3915 | * csu/tst-empty.c: New file. | |
3916 | * csu/Makefile (tests, tests-static): Add it. | |
3917 | ||
52a5e975 RM |
3918 | 2003-04-11 Jakub Jelinek <jakub@redhat.com> |
3919 | ||
9fb0cae8 RM |
3920 | * string/test-strcmp.c (do_random_tests): Test whether return value |
3921 | has been promoted to wordsize if the ABI requires caller to do so. | |
3922 | * string/test-strncmp.c (do_random_tests): Likewise. | |
3923 | * string/test-memcmp.c (do_random_tests): Likewise. | |
3924 | ||
3925 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN | |
3926 | before returning. | |
3927 | ||
b35fce97 RM |
3928 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
3929 | (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL | |
3930 | is not defined, but the prctl constants are. | |
3931 | ||
52a5e975 RM |
3932 | * string/tester.c (test_strcmp): Fix a typo. |
3933 | ||
539f1d28 UD |
3934 | 2003-04-09 Ulrich Drepper <drepper@redhat.com> |
3935 | ||
3936 | * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. | |
3937 | * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. | |
3938 | ||
c9efbeda AO |
3939 | 2003-04-08 Alexandre Oliva <aoliva@redhat.com> |
3940 | ||
3941 | * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on | |
3942 | NewABI. | |
3943 | (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on | |
3944 | NewABI. | |
3945 | * sysdeps/mips/mips64/memcpy.S: Adjust register naming | |
3946 | conventions. | |
3947 | * sysdeps/mips/mips64/memset.S: Likewise. | |
3948 | * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: | |
3949 | Use t0 instead of t4 as temporary. | |
3950 | ||
cb4d04cd UD |
3951 | 2003-04-07 Ulrich Drepper <drepper@redhat.com> |
3952 | ||
3953 | * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use | |
3954 | feof_unlocked instead of feof. | |
3955 | (add_dir): Ignore trailing whitespace. | |
3956 | ||
0a7cfefb RM |
3957 | 2003-04-07 Jakub Jelinek <jakub@redhat.com> |
3958 | ||
3959 | * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to | |
3960 | sum of SIZE1 and SIZE2 arguments. | |
3961 | ||
e8b0d4a1 UD |
3962 | 2003-04-06 Ulrich Drepper <drepper@redhat.com> |
3963 | ||
3964 | * iconv/iconv_prog.c (process_block): Don't print message about | |
3965 | invalid input if the -c option is used. | |
3966 | (main): Correctly append IGNORE string for -c option. | |
3967 | ||
e87d07a0 RM |
3968 | 2002-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3969 | ||
3970 | * sysdeps/sh/bits/atomic.h: Moved to ... | |
3971 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. | |
3972 | (__arch_compare_and_exchange_val_*_acq): Add parens around macro | |
e8b0d4a1 | 3973 | arguments. |
e87d07a0 RM |
3974 | (atomic_bit_set, atomic_bit_test_set): Likewise. |
3975 | (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument | |
3976 | twice. | |
3977 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
3978 | ||
24ff6479 RM |
3979 | 2003-04-06 Roland McGrath <roland@redhat.com> |
3980 | ||
3981 | * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register | |
3982 | restoration as done for setcontext yesterday. | |
3983 | ||
efedd9cf UD |
3984 | 2003-04-06 Jakub Jelinek <jakub@redhat.com> |
3985 | ||
3986 | * elf/rtld.c: Revert 2003-03-14 change. | |
3987 | * elf/dl-conflict.c (_dl_resolve_conflicts): Move | |
3988 | #if ! ELF_MACHINE_NO_RELA conditional into the routine. | |
3989 | ||
abefbc51 UD |
3990 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
3991 | ||
a9f17952 UD |
3992 | * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999]. |
3993 | ||
abefbc51 UD |
3994 | * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): |
3995 | Always initialize *signgamp before returning an error. | |
3996 | ||
a5392bed UD |
3997 | 2003-04-05 Roland McGrath <roland@redhat.com> |
3998 | ||
3999 | * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing | |
4000 | below the stack pointer even if switching to the same context we are | |
4001 | running right now. | |
4002 | ||
ee6bf14d UD |
4003 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
4004 | ||
a5392bed UD |
4005 | * catgets/gencat.c (read_input_file): Make sure that \n is not |
4006 | alone on the line before testing for continuation. | |
4007 | ||
4008 | * math/test-tgmath.c (compile_test): Initialize c. | |
ee6bf14d | 4009 | |
743f1874 AO |
4010 | 2003-04-05 Alexandre Oliva <aoliva@redhat.com> |
4011 | ||
4012 | * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. | |
4013 | * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. | |
4014 | * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available | |
4015 | on mips n32. | |
ee6bf14d | 4016 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why |
743f1874 AO |
4017 | XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data |
4018 | structure on n32 as well. | |
4019 | * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant | |
4020 | data types on n32 and n64. | |
4021 | ||
54e0138f UD |
4022 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
4023 | ||
b4068b0a UD |
4024 | * libio/fileops.c (_IO_new_file_fopen): Don't free step data right |
4025 | after getting them. | |
4026 | ||
54e0138f UD |
4027 | * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If |
4028 | HAVE_register_atfork_malloc is defined use __register_atfork_malloc | |
4029 | instead of __register_atfork. | |
4030 | ||
d0f534e9 RM |
4031 | 2003-04-05 Jakub Jelinek <jakub@redhat.com> |
4032 | ||
4033 | * stdio-common/reg-printf.c (__register_printf_function): Calloc | |
4034 | instead of malloc __printf_arginfo_table and __printf_function_table. | |
4035 | Reported by John Reiser <jreiser@BitWagon.com>. | |
4036 | ||
beb03cee RM |
4037 | 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com> |
4038 | ||
4039 | * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations. | |
4040 | * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. | |
4041 | ||
4042 | * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before | |
4043 | defining. | |
4044 | ||
26b54a6b AO |
4045 | 2003-04-04 Alexandre Oliva <aoliva@redhat.com> |
4046 | ||
4047 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust | |
4048 | for n64 abi. | |
4049 | ||
ff084b87 RM |
4050 | 2003-04-03 Roland McGrath <roland@redhat.com> |
4051 | ||
4052 | * configure.in: Fix up use of compilation flags to match the build: | |
4053 | For .s files, $ASFLAGS; | |
4054 | For .S files, $CPPFLAGS $ASFLAGS; | |
4055 | For .c files, $CFLAGS $CPPFLAGS; | |
4056 | when linking, add $LDFLAGS. | |
4057 | * configure: Regenerated. | |
4058 | ||
dd59050d UD |
4059 | 2003-04-03 Jakub Jelinek <jakub@redhat.com> |
4060 | ||
4061 | * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test | |
4062 | for atomic_compare_and_exchange_bool_acq failure. | |
4063 | ||
148bb057 UD |
4064 | 2003-04-03 Ulrich Drepper <drepper@redhat.com> |
4065 | ||
4066 | * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, | |
4067 | _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and | |
4068 | _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. | |
4069 | Remove declaration of pthread_atfork. | |
4070 | ||
d903678a UD |
4071 | 2003-04-02 Ulrich Drepper <drepper@redhat.com> |
4072 | ||
fab07ed6 UD |
4073 | * locale/iso-639.def: Add many more languages from the current ISO 639. |
4074 | ||
d903678a UD |
4075 | * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. |
4076 | * sysdeps/generic/semtimedop.c: New file. | |
4077 | * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. | |
4078 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. | |
4079 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
4080 | * sysvipc/Makefile (routines): Add semtimedop. | |
4081 | * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. | |
4082 | * sysvipc/sys/sem.h: Declare semtimedop. | |
4083 | ||
42607429 RM |
4084 | 2003-04-02 Daniel Jacobowitz <drow@mvista.com> |
4085 | ||
4086 | * configure.in: Check for __register_frame_info in both | |
4087 | -lgcc and -lgcc_eh. | |
4088 | * configure: Regenerated. | |
4089 | ||
a95ced3e RM |
4090 | 2003-04-01 Roland McGrath <roland@redhat.com> |
4091 | ||
4092 | * scripts/abilist.awk: Allow dots in soname suffix. | |
4093 | ||
4094 | * scripts/abilist.awk (emit): Fix bailout condition. | |
4095 | ||
fbb7fc75 UD |
4096 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
4097 | ||
9a197dcc RM |
4098 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the |
4099 | IA-64 version. | |
4100 | ||
fbb7fc75 UD |
4101 | * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp |
4102 | register as input to asm. | |
4103 | ||
4b1a1328 UD |
4104 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
4105 | ||
4106 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo. | |
4107 | ||
73588175 AJ |
4108 | 2003-04-01 Andreas Jaeger <aj@suse.de> |
4109 | ||
4110 | * configure.in: Output as/ld as name if version is too old. | |
4111 | ||
640f0119 RM |
4112 | 2003-03-31 Daniel Jacobowitz <drow@mvista.com> |
4113 | ||
4114 | * configure.in: Don't require an installed C library in the test | |
4115 | for ".set" assembler support. | |
640f0119 RM |
4116 | |
4117 | 2003-03-31 Roland McGrath <roland@redhat.com> | |
4118 | ||
4119 | * signal/tst-sigset.c: New file. | |
4120 | * signal/Makefile (tests): Add it. | |
4121 | ||
582b54aa UD |
4122 | 2003-03-31 Ulrich Drepper <drepper@redhat.com> |
4123 | ||
4124 | * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. | |
4125 | * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. | |
4126 | * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. | |
4127 | * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. | |
4128 | (__SIGRTMAX): Adjust accordingly. | |
4129 | * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define | |
4130 | second compatibility symbol set. | |
4131 | * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. | |
4132 | ||
0c2601fa AS |
4133 | 2003-03-31 Andreas Schwab <schwab@suse.de> |
4134 | ||
4135 | * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test): | |
4136 | Define. | |
4137 | (atomic_decrement_and_test): Fix test. | |
4138 | ||
0a9d1b3b RM |
4139 | 2003-03-31 Jakub Jelinek <jakub@redhat.com> |
4140 | ||
4141 | * sysdeps/sparc/sparc32/bits/atomic.h: New file. | |
4142 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. | |
4143 | * sysdeps/sparc/sparc64/bits/atomic.h: New file. | |
4144 | * sysdeps/sparc/sparc32/atomicity.h: Removed. | |
4145 | * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. | |
4146 | * sysdeps/sparc/sparc64/atomicity.h: Removed. | |
4147 | ||
9ec8bbb1 RM |
4148 | 2003-03-30 Roland McGrath <roland@redhat.com> |
4149 | ||
d692f3f8 RM |
4150 | * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. |
4151 | ||
9ec8bbb1 RM |
4152 | * intl/po2test.sed: Anchor substitution regexps to fix last change. |
4153 | ||
f8278d5d RM |
4154 | 2003-03-29 Paolo Bonzini <bonzini@gnu.org> |
4155 | ||
582b54aa UD |
4156 | * intl/po2test.sed: Unify the transformations for msgid and msgstr |
4157 | and remove a useless s/// command. | |
f8278d5d | 4158 | |
266227ab UD |
4159 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
4160 | ||
4161 | * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" | |
4162 | directive into empty .prologue region to ensure that call-chain | |
4163 | is terminated even for the first instruction. | |
4164 | ||
4165 | * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom | |
4166 | to terminate call-chain right from the get-go. | |
4167 | ||
4168 | * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary | |
4169 | stop bit between compare & branch. | |
4170 | ||
ea473bad UD |
4171 | 2003-03-29 Ulrich Drepper <drepper@redhat.com> |
4172 | ||
d8592d04 UD |
4173 | * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal |
4174 | point correctly [PR libc/4993]. | |
4175 | ||
ea473bad UD |
4176 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid |
4177 | netlink_open calls if netlink is known to not be available. | |
4178 | ||
c7da3ff8 AO |
4179 | 2003-03-29 Alexandre Oliva <aoliva@redhat.com> |
4180 | ||
e077d10d | 4181 | * configure.in: Add mips64* support. |
e077d10d AO |
4182 | * sysdeps/mips/bits/endian.h: Make it bi-endian. |
4183 | * sysdeps/mips/mipsel/bits/endian.h: Removed. | |
4184 | * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. | |
4185 | * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. | |
4186 | * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. | |
4187 | * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. | |
4188 | * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. | |
4189 | * sysdeps/mips/Implies: Moved wordsize-32 to... | |
4190 | * sysdeps/mips/mips32/Implies: New file. | |
4191 | * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, | |
4192 | ret_NOERRNO): New. | |
4193 | (ret, PSEUDO_END): Moved past END. | |
4194 | (PSEUDO): Moved to... | |
4195 | * sysdeps/unix/mips/mips32/sysdep.h: New file. | |
4196 | * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. | |
4197 | * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. | |
4198 | * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... | |
4199 | * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. | |
4200 | * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. | |
4201 | ||
c7da3ff8 AO |
4202 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): |
4203 | Re-introduce ENTRY. | |
4204 | ||
e0c09a43 UD |
4205 | 2003-03-28 Thorsten Kukuk <kukuk@suse.de> |
4206 | ||
4207 | * sysdeps/unix/sysv/linux/ifaddrs.c: New file. | |
4208 | * inet/test-ifaddrs.c: Allow AF_PACKET. | |
4209 | * sysdeps/unix/sysv/linux/kernel-features.h: Add | |
4210 | __ASSUME_NETLINK_SUPPORT. | |
4211 | ||
129422e1 UD |
4212 | 2003-03-28 Ulrich Drepper <drepper@redhat.com> |
4213 | ||
4214 | * elf/vismain.c (do_test): Comment out tests which fail in the moment. | |
4215 | ||
5972c58b RM |
4216 | 2003-03-26 H.J. Lu <hjl@gnu.org> |
4217 | ||
4218 | * elf/vismod.h (getvarlocal1): Return const char **. | |
4219 | (getvarinmod1): Likewise. | |
4220 | (getvaritcpt1): Likewise. | |
4221 | (getvarlocal2): Likewise. | |
4222 | (getvarinmod2): Likewise. | |
4223 | (getvaritcpt2): Likewise. | |
4224 | (getvaritcpt3): Likewise. | |
4225 | * elf/vismain.c (do_test): Adjusted. | |
4226 | * elf/vismod1.c (getvarlocal1): Return address. | |
4227 | (getvarinmod1): Likewise. | |
4228 | (getvaritcpt1): Likewise. | |
4229 | * elf/vismod2.c (getvarlocal2): Likewise. | |
4230 | (getvarinmod2): Likewise. | |
4231 | (getvaritcpt2): Likewise. | |
4232 | * elf/vismod3.c (getvaritcpt3): Likewise. | |
4233 | ||
7e30918b RM |
4234 | 2003-03-28 Roland McGrath <roland@redhat.com> |
4235 | ||
5972c58b RM |
4236 | * elf/vismain.c (do_test): Print both addresses when they don't match. |
4237 | ||
f0248ca5 RM |
4238 | * scripts/abilist.awk: If given -v filename_regexp and/or -v |
4239 | libname_regexp when parsing names, then produce output only | |
4240 | for those matching the given regexps. In combine mode, save all | |
4241 | stanzas for a final sorting by stanza header at the end. | |
4242 | Emit a blank line between stanzas. | |
4243 | ||
7e30918b RM |
4244 | * scripts/abilist.awk: When given -v combine=1, do parse_names and |
4245 | emit a single output stream with lib name in stanza header lines. | |
4246 | ||
4247 | * scripts/abilist.awk: Emit A for all *ABS* regardless of type. | |
4248 | ||
c6acf1e3 RM |
4249 | 2003-03-27 Roland McGrath <roland@redhat.com> |
4250 | ||
4251 | * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] | |
4252 | (__arch_atomic_decrement_if_positive_64): Fix bogus definition. | |
4253 | ||
dd731d53 UD |
4254 | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
4255 | ||
4256 | * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
4257 | Return old value. Make asm output reg constraint earlyclobber. | |
4258 | Renamed from... | |
4259 | (__arch_compare_and_exchange_8_acq): ... this. | |
4260 | (__arch_compare_and_exchange_val_16_acq): | |
4261 | Return old value. Make asm output reg constraint earlyclobber. | |
4262 | Renamed from... | |
4263 | (__arch_compare_and_exchange_16_acq): ... this. | |
4264 | (__arch_compare_and_exchange_val_32_acq): | |
4265 | Return old value. Make asm output reg constraint earlyclobber. | |
4266 | Renamed from... | |
4267 | (__arch_compare_and_exchange_32_acq): ... this. | |
4268 | (__arch_compare_and_exchange_val_64_acq): | |
4269 | Renamed from... | |
4270 | (__arch_compare_and_exchange_64_acq): ... this. | |
4271 | (atomic_exchange_and_add): Use local variables and | |
4272 | __arch_compare_and_exchange_val_64_acq. | |
4273 | (atomic_add): Likewise. | |
4274 | (atomic_add_negative, atomic_add_zero): Use local variables. | |
4275 | ||
d270cb11 AO |
4276 | 2003-03-28 Alexandre Oliva <aoliva@redhat.com> |
4277 | ||
3e60b5f2 AO |
4278 | * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. |
4279 | ||
a854f531 UD |
4280 | 2003-03-27 Ulrich Drepper <drepper@redhat.com> |
4281 | ||
dd731d53 | 4282 | * Makefile: Remove libmd5crypt goal. |
a854f531 | 4283 | |
41bc895a RM |
4284 | 2003-03-25 Jakub Jelinek <jakub@redhat.com> |
4285 | ||
4286 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore | |
4287 | special handling of relocations against local symbols. | |
4288 | ||
3171ae99 UD |
4289 | 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com> |
4290 | ||
4291 | * sysdeps/powerpc/bits/atomic.h | |
4292 | (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. | |
4293 | [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): | |
4294 | Define PPC64 specific version. | |
4295 | [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): | |
4296 | Change (mem) constraint to "b". | |
4297 | [__powerpc64__] (__arch_atomic_exchange_and add_64): | |
4298 | Replace addi with add. Change (value) contraint to "r". | |
4299 | Change (mem) constraint to "b". | |
4300 | [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. | |
4301 | (__arch_atomic_exchange_32): Change (mem) constraint to "b". | |
4302 | (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". | |
4303 | (__arch_atomic_decrement_if_positive_32): New macro. | |
4304 | (atomic_decrement_if_positive): Use __arch* macros. | |
4305 | ||
d5527b17 UD |
4306 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
4307 | ||
4308 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
4309 | ||
c7356b6d RM |
4310 | 2003-03-27 Roland McGrath <roland@redhat.com> |
4311 | ||
4312 | * scripts/rpm2dynsym.sh: New file. | |
4313 | * Makefile (distribute): Add it. | |
4314 | ||
28cf3058 UD |
4315 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
4316 | ||
4317 | * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's | |
4318 | ar.unat before returning. Add missing .mem.offset directives | |
4319 | to ensure file gets assembled without warnings. | |
4320 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. | |
4321 | ||
0d5420ec UD |
4322 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
4323 | ||
4324 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>: | |
4325 | Return -1 instead of 0 if clock_getres failed. | |
4326 | ||
fd54683c RM |
4327 | 2003-03-27 Roland McGrath <roland@redhat.com> |
4328 | ||
15a686af RM |
4329 | * scripts/abilist.awk: If variable `parse_names' is set, grok the file |
4330 | header lines and write out foo.symlist files for each foo.so.NN listed. | |
4331 | ||
4332 | * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. | |
4333 | This symbol is exported, and we don't want to hide it. | |
4334 | Add libc_hidden_proto instead. | |
4335 | (_IO_file_jumps): Add libc_hidden_proto. | |
4336 | * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. | |
4337 | Remove INTVARDEF. | |
4338 | * libio/fileops.c (_IO_file_jumps): Likewise. | |
4339 | * libio/stdfiles.c: Don't use INTUSE on them. | |
4340 | * libio/iofdopen.c (_IO_new_fdopen): Likewise. | |
4341 | * libio/iofopen.c (__fopen_internal): Likewise. | |
4342 | * libio/freopen.c (freopen): Likewise. | |
4343 | * libio/freopen64.c (freopen64): Likewise. | |
4344 | * libio/iovdprintf.c (_IO_vdprintf): Likewise. | |
4345 | ||
fd54683c RM |
4346 | * Makerules (check-abi) [$(enable-check-abi) = warn]: |
4347 | Ignore exit status from diff. | |
4348 | * configure.in (enable_check_abi): Document possible value "warn". | |
4349 | Change default to no for now. | |
4350 | * configure: Regenerated. | |
4351 | ||
4352 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning | |
4353 | macro calls and a #include <stub-tag.h> at the end. | |
4354 | * Makerules ($(objpfx)stubs): Tweak sed commands. | |
4355 | ||
4356 | * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in | |
4357 | caller column for *xattr syscalls, since they are in sysdeps/generic. | |
4358 | ||
4359 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid | |
4360 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid | |
4361 | ||
4362 | 2003-03-26 Roland McGrath <roland@redhat.com> | |
4363 | ||
4364 | * Makerules (check-abi-config): Use /thread instead of /tls when | |
4365 | use-thread and not just use-tls is set. | |
4366 | ||
4367 | * Makerules (update-abi): Put quotes around $(update-abi-config). | |
4368 | ||
4369 | * elf/Makefile (check-abi): Depend on check-abi-ld. | |
4370 | (update-abi): Depend on update-abi-ld. | |
4371 | ||
85763515 UD |
4372 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> |
4373 | ||
4374 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and | |
4375 | do not check for errors (unless testing for 32bit variant). | |
4376 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. | |
4377 | ||
312472fc RM |
4378 | 2003-03-27 Philip Blundell <philb@gnu.org> |
4379 | ||
4380 | * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use | |
4381 | unconditional mov. Remove nop. | |
4382 | ||
4383 | * sysdeps/unix/sysv/linux/kernel-features.h | |
4384 | (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. | |
4385 | * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code | |
4386 | when __ASSUME_VFORK_SYSCALL is defined. | |
4387 | * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for | |
4388 | __ASSUME_MMAP2_SYSCALL. | |
4389 | * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for | |
4390 | __ASSUME_REALTIME_SIGNALS. | |
4391 | ||
18ef464b UD |
4392 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
4393 | ||
4394 | * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 | |
4395 | only if DL_NO_COPY_RELOCS is not defined. | |
4396 | * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS. | |
4397 | ||
04676765 RM |
4398 | 2003-03-26 Roland McGrath <roland@redhat.com> |
4399 | ||
4400 | * sysdeps/unix/make-syscalls.sh: When an undefined syscall has | |
4401 | SOURCE=-, append its symbol names to make variable unix-stub-syscalls. | |
4402 | * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] | |
4403 | (sysdep_routines): Add stub-syscalls. | |
4404 | ($(objpfx)stub-syscalls.c): New target. | |
4405 | (generated): Add stub-syscalls.c. | |
4406 | ||
4407 | * tls.make.c: Also define use-tls according to USE_TLS macro. | |
4408 | ||
11d52c31 UD |
4409 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
4410 | ||
4411 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid | |
4412 | no-op padding element. | |
4413 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. | |
4414 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
4415 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
4416 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
4417 | ||
4418 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> | |
4419 | ||
4420 | * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error | |
4421 | condition check for the return value of getgroups32. | |
4422 | ||
4423 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> | |
4424 | ||
4425 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): | |
4426 | Fix a typo. | |
4427 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, | |
4428 | PSEUDO_END_NOERRNO): Define. | |
4429 | * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. | |
4430 | Define to PSEUDO_END. | |
4431 | ||
f064e4c5 UD |
4432 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
4433 | ||
4434 | * abilist/librt.abilist: Add new timer interfaces for 64-bit archs. | |
4435 | ||
bdb6126c UD |
4436 | 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com> |
4437 | ||
4438 | * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. | |
4439 | * iconvdata/bug-iconv4.c: New file. | |
4440 | * iconvdata/Makefile (tests): Add bug-iconv4. | |
4441 | ||
697119d6 UD |
4442 | 2003-03-25 H.J. Lu <hjl@gnu.org> |
4443 | ||
4444 | * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected | |
4445 | symbols twice. | |
4446 | (_dl_lookup_versioned_symbol): Likewise. | |
4447 | ||
859e708f RM |
4448 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> |
4449 | ||
4450 | * csu/tst-atomic.c (do_test): Add some new | |
4451 | atomic_compare_and_exchange_val_acq, atomic_add_zero, | |
4452 | atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. | |
4453 | * include/atomic.h (atomic_add_negative, atomic_add_zero): | |
4454 | Prefix local variable so that it doesn't clash with the one | |
4455 | in atomic_exchange_and_add. | |
4456 | * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * | |
4457 | pointers. | |
4458 | (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. | |
4459 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force | |
4460 | value into register. | |
4461 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): | |
4462 | Cast newval to long. | |
4463 | * sysdeps/x86_64/bits/atomic.h | |
4464 | (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to | |
4465 | long. | |
4466 | (atomic_exchange): Cast newvalue to long if sizeof == 8. | |
4467 | (atomic_exchange_and_add): Cast value to long if sizeof == 8. | |
4468 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
4469 | (atomic_bit_set): Shift 1L up in all cases to shut up warnings. | |
4470 | ||
dd410d4d RM |
4471 | 2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com> |
4472 | ||
4473 | * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order | |
4474 | bit from backtrace addresses. | |
4475 | ||
4476 | 2003-03-21 Andreas Schwab <schwab@suse.de> | |
4477 | ||
4478 | * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned | |
4479 | __chown symbols. | |
4480 | ||
6a1c6a1f RM |
4481 | 2003-03-25 Roland McGrath <roland@redhat.com> |
4482 | ||
4483 | * config.make.in (enable-check-abi): New variable from configure. | |
4484 | * configure.in (enable_check_abi): New substituted variable, | |
4485 | controlled by --{enable,disable}-check-abi (default yes). | |
4486 | * configure: Regenerated. | |
4487 | * Makerules [$(enable-check-abi) = yes] (tests): Put this condition | |
4488 | on check-abi dependency. | |
4489 | ||
fb0216dd AS |
4490 | 2003-03-26 Andreas Schwab <schwab@suse.de> |
4491 | ||
9fdf211e AS |
4492 | * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. |
4493 | * include/atomic.h: Likewise. | |
4494 | ||
fb0216dd AS |
4495 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO. |
4496 | ||
7456156f RM |
4497 | 2003-03-25 Roland McGrath <roland@redhat.com> |
4498 | ||
4499 | * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. | |
4500 | (__arch_atomic_exchange_64): New macro. | |
4501 | (atomic_exchange): Use them. | |
4502 | (__arch_atomic_exchange_and_add_32): New macro. | |
4503 | (__arch_atomic_exchange_and_add_64): New macro. | |
4504 | (atomic_exchange_and_add): Use them. | |
4505 | Original patch from Steven Munroe <sjmunroe@us.ibm.com>. | |
4506 | ||
1b12060c AO |
4507 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
4508 | ||
4509 | * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): | |
4510 | Define. | |
4511 | * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all | |
4512 | ISA tests. | |
4513 | (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. | |
4514 | (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. | |
4515 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
4516 | to decide whether to add padding. | |
4517 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
4518 | to decide whether to add padding. | |
4519 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct | |
4520 | old_kernel_sigaction): Likewise. | |
4521 | ||
09402f5b UD |
4522 | 2003-03-25 Ulrich Drepper <drepper@redhat.com> |
4523 | ||
4524 | * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and | |
4525 | atomic_add_zero were supposed to do. | |
4526 | * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero | |
4527 | to x86 behavior. | |
4528 | ||
4529 | * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. | |
4530 | This matches the new timer implementation. | |
bacb0296 UD |
4531 | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): |
4532 | Likewise. | |
4533 | * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): | |
4534 | Likewise. | |
09402f5b UD |
4535 | * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust |
4536 | timer info for what the kernel provides these days. | |
4537 | (struct sigevent): Add _tid field. | |
4538 | Define SIGEV_THREAD_ID. | |
42374865 UD |
4539 | Remove struct __pthread_attr_s forward declaration. |
4540 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. | |
4541 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
4542 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
4543 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
09402f5b UD |
4544 | |
4545 | * Versions.def (librt): Add GLIBC_2.3.3. | |
4546 | ||
4547 | * abilist/libpthread.abilist: Update for nptl. | |
4548 | ||
5e826ab5 UD |
4549 | 2003-03-24 Jon Grimm <jgrimm@us.ibm.com> |
4550 | ||
4551 | * inet/netinet/in.h: Add IPPROTO_SCTP. | |
4552 | ||
4553 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
4554 | ||
4555 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define. | |
4556 | ||
c6289757 UD |
4557 | 2003-03-24 Philip Blundell <philb@gnu.org> |
4558 | ||
4559 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): | |
4560 | Remove a1 from clobber list. | |
4561 | ||
4562 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
4563 | ||
4564 | * timezone/antarctica: Update from tzdata2003a. | |
4565 | * timezone/asia: Likewise. | |
4566 | * timezone/australasia: Likewise. | |
4567 | * timezone/europe: Likewise. | |
4568 | * timezone/iso3166.tab: Likewise. | |
4569 | * timezone/northamerica: Likewise. | |
4570 | * timezone/southamerica: Likewise. | |
4571 | * timezone/zone.tab: Likewise. | |
4572 | ||
4573 | 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> | |
4574 | ||
4575 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo. | |
4576 | ||
9eb88290 UD |
4577 | 2003-03-23 Ulrich Drepper <drepper@redhat.com> |
4578 | ||
6ea5c103 UD |
4579 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid |
4580 | unwanted expansion by definining to ret. Patch by Ian Wienand. | |
4581 | ||
9eb88290 UD |
4582 | * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of |
4583 | the parameter description to denote no error checking. Generate | |
4584 | appropriate pseudo asm code. | |
4585 | * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. | |
4586 | * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, | |
4587 | getpgrp, and getppid with 'E'. | |
4588 | * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, | |
4589 | PSEUDO_END_NOERRNO, and ret_NOERRNO. | |
4590 | * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. | |
4591 | * sysdeps/unix/sysdep.h: Likewise. | |
4592 | * sysdeps/unix/alpha/sysdep.h: Likewise. | |
4593 | * sysdeps/unix/sparc/sysdep.h: Likewise. | |
4594 | * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. | |
4595 | * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. | |
4596 | * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. | |
4597 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. | |
4598 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. | |
4599 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. | |
4600 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. | |
4601 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. | |
4602 | * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. | |
4603 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
4604 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
4605 | ||
3045a1fe RM |
4606 | 2003-03-23 Roland McGrath <roland@redhat.com> |
4607 | ||
4608 | * Makeconfig (+includes): Don't use $(last-includes). | |
4609 | ||
ad551664 AO |
4610 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
4611 | ||
4612 | * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. | |
4613 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
4614 | ||
f92abad6 RM |
4615 | 2003-03-23 Jakub Jelinek <jakub@redhat.com> |
4616 | ||
4617 | * sysdeps/alpha/fpu/libm-test-ulps: Update. | |
4618 | * sysdeps/arm/libm-test-ulps: Update. | |
4619 | * sysdeps/hppa/fpu/libm-test-ulps: Update. | |
4620 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
4621 | * sysdeps/mips/fpu/libm-test-ulps: Update. | |
4622 | * sysdeps/powerpc/nofpu/libm-test-ulps: Update. | |
4623 | * sysdeps/powerpc/fpu/libm-test-ulps: Update. | |
4624 | * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. | |
4625 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. | |
4626 | * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. | |
4627 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
4628 | * sysdeps/x86_64/fpu/libm-test-ulps: Update. | |
4629 | ||
d15851ec RM |
4630 | 2003-03-22 Roland McGrath <roland@redhat.com> |
4631 | ||
fe4610b3 RM |
4632 | * include/atomic.h: Put parens around all macro arguments. |
4633 | (__atomic_val_bysize, __atomic_bool_bysize): New macros. | |
4634 | (atomic_compare_and_exchange_val_acq): Use it. | |
4635 | (atomic_compare_and_exchange_bool_acq): Likewise. | |
4636 | (atomic_increment_and_test): Invert sense of test. | |
4637 | (atomic_decrement_and_test): Likewise. | |
4638 | * csu/tst-atomic.c: Update those tests to match. | |
d15851ec RM |
4639 | |
4640 | 2003-03-22 Jakub Jelinek <jakub@redhat.com> | |
4641 | ||
4642 | * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. | |
4643 | Don't define if __arch_compare_and_exchange_val_32_acq is not defined. | |
4644 | (atomic_compare_and_exchange_bool_acq): Add comment. Don't use | |
4645 | __oldval variable in the macro, since it might be macro argument. | |
4646 | (atomic_decrement_if_positive): Initialize __memp, remove setting | |
4647 | of non-existent variable. | |
4648 | (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. | |
4649 | * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement | |
4650 | using atomic_compare_and_exchange_val_acq. | |
4651 | (atomic_decrement_if_positive, atomic_bit_test_set): Define. | |
4652 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
4653 | Renamed from... | |
4654 | (__arch_compare_and_exchange_bool_8_acq): ... this. | |
4655 | (__arch_compare_and_exchange_val_16_acq): Renamed from... | |
4656 | (__arch_compare_and_exchange_bool_16_acq): ... this. | |
4657 | (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed | |
4658 | from... | |
4659 | (__arch_compare_and_exchange_bool_32_acq): ... this. | |
4660 | (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed | |
4661 | from... | |
4662 | (__arch_compare_and_exchange_bool_64_acq): ... this. | |
4663 | (__arch_compare_and_exchange_val_32_acq): Use __typeof for local | |
4664 | variables types instead of assuming int. | |
4665 | Change prefix of local variables to __arch. | |
4666 | * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): | |
4667 | Remove. | |
4668 | (atomic_compare_and_exchange_val_acq, | |
4669 | atomic_compare_and_exchange_bool_acq): Define. | |
4670 | ||
4671 | * csu/tst-atomic.c: New test. | |
4672 | * csu/tst-atomic-long.c: New test. | |
4673 | * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. | |
4674 | ||
4675 | * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. | |
4676 | ||
4677 | * sysdeps/s390/Versions: Add trailing newline. | |
4678 | ||
4679 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning | |
4680 | if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument. | |
4681 | ||
faa58057 AS |
4682 | 2003-03-22 Andreas Schwab <schwab@suse.de> |
4683 | ||
01e694fc AS |
4684 | * sysdeps/m68k/fpu/libm-test-ulps: Update. |
4685 | ||
faa58057 AS |
4686 | * sysdeps/m68k/m68020/bits/atomic.h: New file. |
4687 | * sysdeps/m68k/m68020/atomicity.h: Removed. | |
4688 | ||
039f839c AO |
4689 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
4690 | ||
dda8854a AO |
4691 | * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation |
4692 | data structures and macros. Protect from multiple inclusion. | |
4693 | ||
039f839c AO |
4694 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless |
4695 | typo in #if test. | |
4696 | ||
34f8ef1b AJ |
4697 | 2003-03-21 Andreas Jaeger <aj@suse.de> |
4698 | ||
4699 | * sysdeps/i386/fpu/libm-test-ulps: Update. | |
4700 | ||
4701 | * math/libm-test.inc (tgamma_test): Recompute some constants with | |
4702 | 36 digits precision. | |
4703 | (lgamma_test): Likewise. | |
4704 | (ccos_test): Likewise. | |
4705 | (ccosh_test): Likewise. | |
4706 | (clog10_test): Likewise. | |
4707 | (csin_test): Likewise. | |
4708 | (csinh_test): Likewise. | |
4709 | (ctan_test): Likewise. | |
4710 | (ctanh_test): Likewise. | |
4711 | ||
4712 | 2003-03-19 Jakub Jelinek <jakub@redhat.com> | |
4713 | ||
4714 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated. | |
4715 | ||
4baa087a RM |
4716 | 2003-03-21 Roland McGrath <roland@redhat.com> |
4717 | ||
4718 | * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" | |
4719 | constraint to permit non-constant BIT argument. | |
4720 | (atomic_bit_test_set): Likewise. | |
4721 | * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. | |
4722 | (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. | |
4723 | For quadword case, use "i" constraint if __builtin_constant_p and < 32 | |
4724 | or "r" constraint otherwise. | |
4725 | ||
4726 | * configure.in: Move AC_PROG_CC and other program-finding before all | |
4727 | the version checks. | |
4728 | * configure: Regenerated. | |
4729 | ||
8f9fb000 AO |
4730 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
4731 | ||
4732 | * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke | |
4733 | unaligned copying of 8-15 bytes. From Chris Demetriou | |
4734 | <cgd@broadcom.com>. Fix label names. | |
4735 | * sysdeps/mips/mips64/memset.S: Fix label names. Make similar | |
4736 | change as to memcpy.S. | |
4737 | * sysdeps/mips/memcpy.S: Formatting changes. | |
4738 | * sysdeps/mips/memset.S: Likewise. | |
4739 | ||
88b3f3ed RM |
4740 | 2003-03-21 Roland McGrath <roland@redhat.com> |
4741 | ||
4742 | * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon. | |
4743 | ||
ee7b7036 AO |
4744 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
4745 | ||
4746 | * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. | |
4747 | * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. | |
4748 | ||
a60581ad RM |
4749 | 2003-03-21 Roland McGrath <roland@redhat.com> |
4750 | ||
4751 | * sysdeps/i386/i486/bits/atomic.h | |
4752 | (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling | |
4753 | version of the macro to avoid compile-time warnings. | |
4754 | [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above. | |
a60581ad RM |
4755 | (atomic_exchange_and_add, atomic_add): Fix name and usage of it. |
4756 | (atomic_increment, atomic_decrement): Likewise. | |
4757 | ||
4541b483 UD |
4758 | 2003-03-21 Ulrich Drepper <drepper@redhat.com> |
4759 | ||
4760 | * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. | |
4761 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
4762 | ||
2923c644 RM |
4763 | 2003-03-21 Roland McGrath <roland@redhat.com> |
4764 | ||
4765 | * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix. | |
4766 | ||
9f07eae2 UD |
4767 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
4768 | ||
4769 | * include/atomic.h: Define atomic_compare_and_exchange_val_acq, | |
4770 | atomic_compare_and_exchange_val_rel, | |
4771 | atomic_compare_and_exchange_bool_acq, and | |
4772 | atomic_compare_and_exchange_bool_rel instead of | |
4773 | atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel. | |
4774 | * sysdeps/i386/i486/bits/atomic.h: Define | |
4775 | __arch_compare_and_exchange_val_*_acq instead of | |
4776 | __arch_compare_and_exchange_*_acq. | |
4777 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
4778 | * sysdeps/ia64/bits/atomic.h: Define | |
4779 | __arch_compare_and_exchange_bool_*_acq instead of | |
4780 | __arch_compare_and_exchange_*_acq. | |
4781 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
4782 | * sysdeps/s390/bits/atomic.h: Likewise. | |
4783 | * gmon/mcount.c: Adjust for new form of compare&exchange macros. | |
4784 | * malloc/set-freeres.c: Likewise. | |
4785 | * nscd/cache.c: Likewise. | |
4786 | * stdlib/cxa_finalize.c: Likewise. | |
4787 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
4788 | ||
4b5e1c5f AO |
4789 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
4790 | ||
d20152e1 AO |
4791 | * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. |
4792 | * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. | |
4793 | * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. | |
4794 | ||
4b5e1c5f AO |
4795 | * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset |
4796 | into high and low halves on n64. | |
4797 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
4798 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
4799 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
4800 | ||
6848aba6 UD |
4801 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
4802 | ||
4803 | * include/atomic.h (atomic_decrement_if_positive): Adjust for the | |
4804 | correct atomic_compare_and_exchange_acq semantics. | |
4805 | ||
f1f8a9ec AO |
4806 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
4807 | ||
4808 | * sysdeps/mips/ieee754.h: Remove excess #endif. | |
4809 | ||
2ff16e04 RM |
4810 | 2003-03-20 Roland McGrath <roland@redhat.com> |
4811 | ||
4812 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused | |
4813 | variable. Remove superfluous memory clobber. | |
4814 | ||
4815 | * include/atomic.h: Syntax braino fix. | |
4816 | ||
4817 | * posix/tst-nice.c (do_test): Use %m formats instead of printing errno | |
4818 | in decimal. Don't bail if niced at start. Just check that nice call | |
4819 | bumps the total at all. | |
4820 | ||
53fcb885 AO |
4821 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
4822 | ||
4823 | * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, | |
4824 | including pc, gp, sp and fp, as long long. | |
4825 | * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. | |
4826 | * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. | |
4827 | Add gp argument, and set gp in the jmpbuf to it. | |
4828 | * sysdeps/mips/setjmp_aux.c: Revert to o32-only. | |
4829 | ||
f79466a8 UD |
4830 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
4831 | ||
4832 | * include/atomic.h: Define atomic_exchange and | |
4833 | atomic_decrement_if_positive if not already defined. Add some | |
4834 | __builtin_expect. | |
4835 | * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. | |
4836 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
4837 | * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. | |
4838 | * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define | |
4839 | atomic_exchange, atomic_exchange_and_add, and | |
4840 | atomic_decrement_if_positive | |
4841 | ||
50449bed AO |
4842 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
4843 | ||
bfd49d55 AO |
4844 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend |
4845 | with a single instruction. | |
4846 | ||
50449bed AO |
4847 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define |
4848 | properly for n64. | |
4849 | (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr | |
4850 | type. | |
4851 | (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf | |
4852 | Word before comparing with gotsym. Take reloc_addr argument as | |
4853 | void*. Remove the code added for the compiler to drop any | |
4854 | alignment assumptions. | |
4855 | ||
4009bf40 UD |
4856 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
4857 | ||
4858 | * Makefile (distribute): Add include/atomic.h and bits/atomic.h. | |
4859 | * include/atomic.h: New file. | |
4860 | * sysdeps/i386/i486/bits/atomic.h: New file. | |
4861 | * sysdeps/x86_64/bits/atomic.h: New file. | |
4862 | * sysdeps/s390/bits/atomic.h: New file. | |
4863 | * sysdeps/sh/bits/atomic.h: New file. | |
4864 | * sysdeps/ia64/bits/atomic.h: New file. | |
4865 | * sysdeps/powerpc/bits/atomic.h: New file. | |
4866 | * sysdeps/generic/bits/atomic.h: New file. | |
4867 | * sysdeps/i386/i486/atomicity.h: Removed. | |
4868 | * sysdeps/x86_64/atomicity.h: Removed. | |
4869 | * sysdeps/s390/s390-32/atomicity.h: Removed. | |
4870 | * sysdeps/s390/s390-64/atomicity.h: Removed. | |
4871 | * sysdeps/ia64/atomicity.h: Removed. | |
4872 | * sysdeps/powerpc/powerpc32/atomicity.h: Removed. | |
4873 | * sysdeps/powerpc/powerpc64/atomicity.h: Removed. | |
4874 | * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust | |
4875 | use of macros from atomicity.h to new names and semantics. | |
4876 | * gmon_mcount.c: Likewise. | |
4877 | * malloc/set-freeres.c: Likewise. | |
4878 | * nscd/cache.c: Likewise. | |
4879 | * stdlib/cxa_finalize.c: Likewise. | |
4880 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
4881 | ||
ce3a4adf AO |
4882 | 2003-03-19 Alexandre Oliva <aoliva@redhat.com> |
4883 | ||
4009bf40 | 4884 | * sysdeps/mips/ieee754.h: New file, suitable to replace both |
ce3a4adf AO |
4885 | ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept |
4886 | mips-specific for now. | |
4887 | ||
8c937b84 UD |
4888 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
4889 | ||
4009bf40 | 4890 | * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle |
85b5767c UD |
4891 | hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. |
4892 | * stdlib/tst-strtod.c: Add test for the bug. | |
4893 | ||
8c937b84 UD |
4894 | * posix/tst-nice.c (do_test): Remove invalid of return value. |
4895 | Don't run test if initial level != 0. | |
4896 | ||
cb8ed941 UD |
4897 | 2003-03-19 Amos Waterland <apw@us.ibm.com> |
4898 | ||
4899 | * posix/tst-nice.c: New file. | |
4900 | * posix/Makefile (tests): Add tst-nice. | |
4901 | ||
32a448ed RM |
4902 | 2003-03-18 Roland McGrath <roland@redhat.com> |
4903 | ||
94659495 RM |
4904 | * abilist: New directory of libfoo.abilist files maintained using |
4905 | scripts/merge-abilist.awk and "make update-abi" rules. | |
4906 | * Makefile (distribute): Add abilist/*.abilist. | |
4907 | * Makerules [$(build-shared) = yes] [$(subdir)] (tests): | |
4908 | Depend on check-abi. | |
4909 | ||
32a448ed RM |
4910 | * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER. |
4911 | * configure: Regenerated. | |
4912 | ||
4913 | * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name. | |
4914 | ||
dacb2bad UD |
4915 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
4916 | ||
4917 | * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK | |
4918 | correctly. | |
4919 | ||
a14b373c UD |
4920 | 2003-03-18 Steven Munroe <sjmunroe@us.ibm.com> |
4921 | ||
4922 | * sysdeps/powerpc/powerpc64/memcpy.S: New file. | |
4923 | ||
d5cb8389 UD |
4924 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
4925 | ||
4926 | * Versions.def: Add GLIBC_2.3.3 for libpthread. | |
4927 | ||
97026947 UD |
4928 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
4929 | ||
4930 | * sysdeps/generic/libc-start.c [!SHARED && | |
4931 | !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. | |
4932 | ||
98054a05 RM |
4933 | 2003-03-17 Roland McGrath <roland@redhat.com> |
4934 | ||
4935 | * include/ctype.h: Revert last change. | |
4936 | ||
0a8d8004 UD |
4937 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
4938 | ||
4939 | * argp/tst-argp1.c: Use test-skeleton.c. | |
4940 | * locale/tst-C-locale.c: Likewise. | |
4941 | ||
c27d6848 AO |
4942 | 2003-03-17 Alexandre Oliva <aoliva@redhat.com> |
4943 | ||
5a0e429d AO |
4944 | * sysdeps/mips/mips64/Implies: Move wordsize-64 to... |
4945 | * sysdeps/mips/mips64/n64/Implies: New file. | |
4946 | * sysdeps/mips/mips64/n64/Makefile: New file. | |
4947 | * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. | |
4948 | * sysdeps/mips/mips64/n32/Implies: New file. | |
4949 | * sysdeps/mips/mips64/n32/Makefile: New file. | |
4950 | * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. | |
4951 | * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. | |
4952 | * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. | |
4953 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. | |
4954 | * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. | |
4955 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. | |
4956 | * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. | |
4957 | * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. | |
4958 | * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. | |
4959 | * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. | |
4960 | * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. | |
4961 | * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. | |
4962 | * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. | |
4963 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. | |
4964 | ||
fc32835a AO |
4965 | * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use |
4966 | lib64 for mips64/n64 and lib32 for mips64/n32. | |
4967 | (ldd_rewrite_script): Needed for all mips64 configurations. | |
4968 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
4969 | * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. | |
4970 | * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file. | |
4971 | ||
c3b519b7 AO |
4972 | * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as |
4973 | well. | |
4974 | ||
c27d6848 AO |
4975 | * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process |
4976 | asm/unistd.h into asm-unistd.h. | |
4977 | * sysdeps/unix/sysv/linux/mips/configure: Generated. | |
4978 | * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing | |
4979 | of syscall list. | |
4980 | * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. | |
4981 | * sysdeps/unix/sysv/linux/mips/clone.S: Don't include | |
4982 | asm/unistd.h. | |
4983 | ||
935af0f2 AO |
4984 | * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. |
4985 | * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long | |
4986 | long type for registers on n32. | |
4987 | ||
4947b4b2 AO |
4988 | * sysdeps/mips/bits/wordsize.h: New file, appropriate for all |
4989 | 3 ABIs. | |
4990 | * sysdeps/mips/mips64/gmp-mparam.h: New file. Define | |
4991 | BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. | |
4992 | * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. | |
4993 | (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. | |
4994 | * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. | |
4995 | * sysdeps/unix/mips/brk.S: Likewise. | |
4996 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
4997 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
4998 | * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. | |
4999 | * sysdeps/mips/sys/ucontext.h: Likewise. | |
5000 | * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. | |
5001 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. | |
5002 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. | |
5003 | * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. | |
5004 | * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. | |
5005 | * sysdeps/mips/mips64/setjmp.S: Likewise. | |
5006 | * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. | |
5007 | * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for | |
5008 | 64-bit types. | |
5009 | ||
b6e2f87a UD |
5010 | 2003-03-16 Ulrich Drepper <drepper@redhat.com> |
5011 | ||
5012 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, | |
5013 | not at function level. | |
5014 | * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise. | |
5015 | ||
638bb1f3 RM |
5016 | 2003-03-15 Roland McGrath <roland@redhat.com> |
5017 | ||
8112cc70 RM |
5018 | * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t |
5019 | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. | |
5020 | * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. | |
5021 | * nis/nis_table.c (__create_ib_request): Likewise. | |
5022 | ||
eb64f8cb | 5023 | * posix/fnmatch_loop.c: Add casts for signedness. |
addc92bd | 5024 | * nss/nss_files/files-hosts.c: Likewise. |
eb64f8cb RM |
5025 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. |
5026 | * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. | |
5027 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT. | |
5028 | ||
385cce41 RM |
5029 | * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, |
5030 | get errors into the log file. | |
5031 | (libc_cv_broken_visibility_attribute): Likewise. | |
5032 | (libc_cv_broken_alias_attribute): Likewise. | |
5033 | (libc_cv_asm_weak_directive): Likewise. | |
5034 | (libc_cv_need_minus_P): Likewise. | |
5035 | (libc_cv_dot_text): Likewise. | |
5036 | (libc_cv_asm_global_directive): Likewise. | |
5037 | (libc_cv_asm_type_prefix): Likewise. | |
5038 | * configure: Regenerated. | |
5039 | ||
638bb1f3 RM |
5040 | * nscd/cache.c (cache_search): Give first arg type `request_type'. |
5041 | * nscd/nscd.h: Update decl. | |
5042 | ||
5043 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. | |
5044 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
5045 | * elf/dl-close.c (_dl_close): Likewise. | |
5046 | * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t | |
5047 | * io/fts.c (fts_build): Likewise. | |
5048 | * elf/cache.c (add_to_cache): Likewise. | |
5049 | * locale/programs/locarchive.c (show_archive_content): Likewise. | |
5050 | ||
5051 | * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. | |
5052 | ||
5053 | * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 | |
5054 | happy. | |
5055 | (__ctype_toupper_loc, __ctype_tolower_loc): Likewise. | |
5056 | ||
c04dad40 UD |
5057 | 2003-03-15 Ulrich Drepper <drepper@redhat.com> |
5058 | ||
5059 | * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux | |
5060 | code for most parts. | |
5061 | ||
124dcac8 RM |
5062 | 2003-03-15 Roland McGrath <roland@redhat.com> |
5063 | ||
7eecc0c2 RM |
5064 | * sysdeps/unix/sysv/linux/i386/system.c: Moved to ... |
5065 | * sysdeps/unix/sysv/linux/system.c: ... here. | |
5066 | (FORK): Don't #define if already #define'd. | |
5067 | * sysdeps/unix/sysv/linux/s390/system.c: File removed. | |
5068 | * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: | |
5069 | (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64. | |
5070 | ||
45e4762c RM |
5071 | * dlfcn/tst-dlinfo.c: New file. |
5072 | * dlfcn/Makefile (tests): Add tst-dlinfo. | |
5073 | ($(objpfx)tst-dlinfo): New target. | |
5074 | ||
5075 | * dlfcn/dlinfo.c: New file. | |
5076 | * dlfcn/Makefile (libdl-routines): Add it. | |
5077 | * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. | |
5078 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. | |
5079 | [__USE_GNU] (RTLD_DI_*): New enum constants. | |
5080 | [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. | |
5081 | * elf/dl-load.c (cache_rpath): New inline function. | |
5082 | (_dl_map_object): Use it. | |
5083 | (_dl_rtld_di_serinfo): New function. | |
5084 | * sysdeps/generic/ldsodefs.h: Declare it. | |
5085 | * elf/Versions (ld: GLIBC_PRIVATE): Add it. | |
5086 | ||
124dcac8 RM |
5087 | * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it. |
5088 | (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) | |
5089 | (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>. | |
5090 | (__libc_start_main): Just call the generic one for most of the work. | |
5091 | ||
5092 | * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a | |
5093 | static function by that name instead of BP_SYM (__libc_start_main). | |
5094 | [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. | |
5095 | [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. | |
5096 | [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. | |
5097 | ||
5098 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: | |
5099 | Use this macro for extra AT_* cases. | |
5100 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): | |
5101 | New macro, guts from ... | |
5102 | (__aux_init_cache): ... here, function removed. | |
5103 | (DL_PLATFORM_INIT): Don't define this. | |
5104 | ||
5105 | * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. | |
5106 | * sysdeps/powerpc/powerpc64/memset.S: Likewise. | |
5107 | ||
e993ec9a | 5108 | * Versions.def (libthread_db): Add GLIBC_2.3.3 set. |
124dcac8 | 5109 | |
39d8c1a2 RM |
5110 | 2003-03-14 Roland McGrath <roland@redhat.com> |
5111 | ||
5112 | * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it. | |
5113 | ||
c58859ce RM |
5114 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
5115 | ||
5116 | * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo. | |
5117 | ||
5118 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
5119 | sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c. | |
5120 | ||
44bc0afb AO |
5121 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
5122 | ||
882dda66 AO |
5123 | * sysdeps/mips/fpu/bits/mathdef.h: New. |
5124 | (__NO_LONG_DOUBLE_MATH): Define for o32. | |
5125 | ||
4abdb6ca AO |
5126 | * sysdeps/mips/sys/asm.h: Formatting changes. |
5127 | (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. | |
5128 | (CPADD): Define for all of them. | |
5129 | (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, | |
5130 | SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, | |
5131 | NARGSAVE): Define per ABI spec. | |
5132 | (END): Don't redefine. | |
5133 | (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, | |
5134 | LONG_SRAV): Remove duplicate definitions. | |
5135 | (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, | |
5136 | PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, | |
5137 | PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. | |
5138 | (PTR_LA): Define for all 3 ABIs. | |
5139 | ||
365eccdb AO |
5140 | * sysdeps/mips/dl-machine.h: Include sys/asm.h. |
5141 | (elf_machine_matches_host): Prevent linking of o32 and n32 | |
5142 | together. | |
5143 | (elf_machine_dynamic): Document assumption on $gp. | |
5144 | (STRINGXP, STRINGXV, STRINGV_): New macros. | |
5145 | (elf_machine_load_address): Use them to stringize PTR_LA and | |
5146 | PTR_SUBU. | |
5147 | (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS, | |
5148 | ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in... | |
5149 | (_dl_runtime_resolve): Adjust it for all 3 ABIs. | |
5150 | (__dl_runtime_resolve): Cast the symtab initializer to the | |
5151 | right type. | |
5152 | (RTLD_START): Use it. Adjust it for all 3 ABIs. | |
5153 | (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP. | |
5154 | Handle 64-bit R_MIPS_REL composite relocation and accept | |
5155 | R_MIPS_64 relocations to shift addend size to 64 bits. | |
5156 | Document assumption regarding local GOT entries. Document | |
5157 | backward-compatibility departing from the ABI behavior in | |
5158 | applying relocations that reference section symbols, no longer | |
5159 | used. Support relocations to mis-aligned offsets. | |
5160 | * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete. | |
5161 | ||
d4c803f8 AO |
5162 | * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. |
5163 | ||
84c63a76 AO |
5164 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h |
5165 | (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG. | |
5166 | * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and | |
5167 | restore_rt functions. Use them. | |
5168 | ||
44bc0afb AO |
5169 | * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't |
5170 | .set mips2 on new abis. | |
5171 | ||
564cd8b6 UD |
5172 | 2003-03-13 Ulrich Drepper <drepper@redhat.com> |
5173 | ||
5174 | * posix/getconf.c: Recognize POSIX2_SYMLINKS. | |
5175 | * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS. | |
5176 | * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS. | |
5177 | * sysdeps/posix/pathconf.c: Likewise. | |
5178 | * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. | |
5179 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
5180 | * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks. | |
5181 | ||
5182 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic | |
5183 | words. | |
5184 | ||
3be9dc8e AO |
5185 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
5186 | ||
5187 | * include/gmp.h: Include/gmp-mparam.h. | |
5188 | * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and | |
5189 | gmp-impl.h. | |
5190 | ||
a77dcecf AO |
5191 | * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if |
5192 | ELF_MACHINE_NO_RELA is set. | |
5193 | * elf/rtld.c (dl_main): No prelink support for REL-only. | |
5194 | ||
b5bac573 AO |
5195 | * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, |
5196 | FLAG_MIPS64_LIBN64): Define. | |
5197 | * elf/cache.c (print_entry): Handle mips64 n32 and n64. | |
5198 | ||
5ace1393 AO |
5199 | * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. |
5200 | * sysdeps/mips/memset.S: Likewise. | |
5201 | * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 | |
5202 | depending on the ABI. | |
5203 | ||
1b12a2cb AO |
5204 | * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): |
5205 | Don't .set mips2 on new abi. | |
5206 | (compare_and_swap): Likewise. Support 64-bit longs on n64. | |
5207 | ||
264befa8 AO |
5208 | * stdlib/fpioconst.h: Include gmp.h with angle brackets. |
5209 | ||
d8a5edc2 RM |
5210 | 2003-03-13 Roland McGrath <roland@redhat.com> |
5211 | ||
5212 | * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs | |
5213 | found. Reported by Alexandre Oliva <aoliva@redhat.com>. | |
5214 | ||
5215 | 2003-03-13 Alexandre Oliva <aoliva@redhat.com> | |
5216 | ||
5217 | * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit | |
5218 | literals long long. | |
5219 | * stdlib/fpioconst.c: Likewise. | |
5220 | * stdlib/strtod.c: Likewise. | |
5221 | ||
5222 | * sysdeps/mips/add_n.S: Use L macro for local labels. | |
5223 | * sysdeps/mips/addmul_1.S: Likewise. | |
5224 | * sysdeps/mips/lshift.S: Likewise. | |
5225 | * sysdeps/mips/memcpy.S: Likewise. | |
5226 | * sysdeps/mips/memset.S: Likewise. | |
5227 | * sysdeps/mips/mul_1.S: Likewise. | |
5228 | * sysdeps/mips/rshift.S: Likewise. | |
5229 | * sysdeps/mips/sub_n.S: Likewise. | |
5230 | * sysdeps/mips/submul_1.S: Likewise. | |
5231 | * sysdeps/mips/mips64/add_n.S: Likewise. | |
5232 | * sysdeps/mips/mips64/addmul_1.S: Likewise. | |
5233 | * sysdeps/mips/mips64/lshift.S: Likewise. | |
5234 | * sysdeps/mips/mips64/mul_1.S: Likewise. | |
5235 | * sysdeps/mips/mips64/rshift.S: Likewise. | |
5236 | * sysdeps/mips/mips64/sub_n.S: Likewise. | |
5237 | * sysdeps/mips/mips64/submul_1.S: Likewise. | |
5238 | * sysdeps/unix/mips/sysdep.h: Define L() according to ABI | |
5239 | conventions. Define END as in sys/asm.h. | |
5240 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
5241 | * sysdeps/unix/mips/wait.S: Likewise. | |
5242 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
5243 | ||
5244 | * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): | |
5245 | Cast shifted values that may be too narrow to mp_limb_t. | |
5246 | * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): | |
5247 | Likewise. | |
5248 | * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): | |
5249 | Likewise. | |
5250 | * sysdeps/ieee754/ldbl-128/ldbl2mpn.c | |
5251 | (__mpn_extract_long_double): Likewise. | |
5252 | * sysdeps/ieee754/ldbl-128/mpn2ldbl.c | |
5253 | (__mpn_construct_long_double): Likewise. | |
5254 | * sysdeps/ieee754/ldbl-96/ldbl2mpn.c | |
5255 | (__mpn_extract_long_double): Likewise. | |
5256 | * sysdeps/ieee754/ldbl-96/mpn2ldbl.c | |
5257 | (__mpn_construct_long_double): Likewise. | |
5258 | ||
6461e577 RM |
5259 | 2003-03-13 Roland McGrath <roland@redhat.com> |
5260 | ||
5261 | * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line | |
5262 | entries in the map file match too. | |
5263 | ||
6fde8d53 AJ |
5264 | 2003-03-13 Guido Guenther <agx@sigxcpu.org> |
5265 | ||
5266 | * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local | |
5267 | label .Lthread_start since current binutils don't allow branches | |
5268 | to globally visible symbols. | |
5269 | ||
b5ec5617 UD |
5270 | 2003-03-13 Jakub Jelinek <jakub@redhat.com> |
5271 | ||
5272 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, | |
5273 | ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, | |
5274 | ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. | |
5275 | (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments | |
5276 | clobbered by the syscall. | |
5277 | (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, | |
5278 | ASM_ARGS_6): Change constraints from r to index of corresponding | |
5279 | output register. | |
5280 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap | |
5281 | ptid and ctid to match kernel. | |
5282 | * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. | |
5283 | ||
3cd69852 RM |
5284 | 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com> |
5285 | ||
b5ec5617 | 5286 | * sysdeps/powerpc/powerpc64/elf/configure.in: Remove |
3cd69852 | 5287 | AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. |
b5ec5617 | 5288 | * sysdeps/powerpc/powerpc64/elf/configure: Regenerated. |
3cd69852 | 5289 | |
d63609a7 RM |
5290 | 2003-03-11 Roland McGrath <roland@redhat.com> |
5291 | ||
5292 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): | |
5293 | Check SYM_MAP rather than SYM as definedness check. | |
5294 | Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. | |
5295 | Don't handle R_PPC64_REL24 reloc. | |
5296 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
5297 | ||
5298 | * sysdeps/powerpc/powerpc64/dl-machine.h | |
5299 | [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a | |
5300 | block, so we cover all the TPREL16* flavors without 6 ||s. | |
5301 | [USE_TLS] (elf_machine_tprel): New function. | |
5302 | (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, | |
5303 | and handle TPREL16 relocs too. Return rather than break for DTPREL64. | |
5304 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
5305 | ||
b874af99 UD |
5306 | 2003-03-11 Ralf Baechle <ralf@linux-mips.org> |
5307 | ||
5308 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal | |
5309 | instead of jalr to invoke subroutine so restoring the $gp register | |
5310 | will work properly. | |
5311 | ||
6c477888 UD |
5312 | 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5313 | ||
5314 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define | |
5315 | to __NR_pread if not defined. | |
5316 | (__NR_pwrite64): Define to __NR_pwrite if not defined. | |
5317 | ||
f006d3a0 UD |
5318 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
5319 | ||
5320 | * sysdeps/unix/sysv/linux/ia64/system.c: New file. | |
5321 | * sysdeps/unix/sysv/linux/kernel-features.h | |
5322 | (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with | |
5323 | kernel >= 2.5.64. | |
5324 | ||
b33e6163 RM |
5325 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
5326 | ||
5327 | * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1, | |
5328 | allocate space even for the trailing '/'. | |
5329 | Reported by John Reiser <jreiser@BitWagon.com>. | |
5330 | ||
5331 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, | |
5332 | ASM_CLOBBERS_6): Define. | |
5333 | (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. | |
5334 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments | |
5335 | to match IA-32 order. | |
5336 | * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment. | |
5337 | ||
19afbd2c RM |
5338 | 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com> |
5339 | ||
f006d3a0 | 5340 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. |
19afbd2c RM |
5341 | Copy extra params for NPTL to registers used in clone syscall. |
5342 | ||
ce2290cb RM |
5343 | 2003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5344 | ||
5345 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system | |
5346 | call names for pread and pwrite. | |
5347 | ||
e48f9638 RM |
5348 | 2003-03-10 Roland McGrath <roland@redhat.com> |
5349 | ||
d38c777e RM |
5350 | * dlfcn/Makefile (libdl-routines): Add dladdr1. |
5351 | * dlfcn/dladdr1.c: New file. | |
5352 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. | |
5353 | [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. | |
5354 | * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and | |
5355 | a const ElfNN_Sym ** to fill in. | |
5356 | * include/dlfcn.h: Update decl. Include <link.h>. | |
5357 | * dlfcn/dladdr.c (dladdr): Update caller. | |
5358 | * malloc/mtrace.c (tr_where): Likewise. | |
5359 | * sysdeps/generic/elf/backtracesyms.c: Likewise. | |
5360 | * sysdeps/generic/elf/backtracesymsfd.c: Likewise. | |
5361 | * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. | |
5362 | * Versions.def (libdl): Define GLIBC_2.3.3 set. | |
5363 | ||
e48f9638 RM |
5364 | * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for |
5365 | assembler command. | |
5366 | * sysdeps/unix/Makefile (compile-syscall): New variable. | |
5367 | Pass -g0 to compiler for assembling syscall stubs from stdin. | |
5368 | ||
5369 | * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] | |
5370 | (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): | |
5371 | Define these to do nothing. | |
5372 | ||
5373 | * configure.in: New check for -g on .S files. | |
5374 | * configure: Regenerated. | |
5375 | * config.make.in (have-cpp-asm-debuginfo): New variable. | |
5376 | * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. | |
5377 | * Makeconfig (ASFLAGS): New variable, if undefined and | |
5378 | $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). | |
5379 | * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS). | |
5380 | ||
fcc60e3b RM |
5381 | 2003-03-09 Roland McGrath <roland@redhat.com> |
5382 | ||
5383 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args | |
5384 | used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>. | |
5385 | ||
e51838c8 UD |
5386 | 2003-03-09 Ulrich Drepper <drepper@redhat.com> |
5387 | ||
5388 | * po/fi.po: Update from translation team. | |
8049ef78 | 5389 | * po/ca.po: Likewise. |
c37cae9e | 5390 | * po/da.po: Likewise. |
e51838c8 | 5391 | |
05ae97d8 UD |
5392 | 2003-03-08 Ulrich Drepper <drepper@redhat.com> |
5393 | ||
5394 | * rt/tst-aio7.c (do_test): Change BYTES into a #define. | |
5395 | ||
b6b9ee9b UD |
5396 | 2003-03-07 Ulrich Drepper <drepper@redhat.com> |
5397 | ||
fcc60e3b | 5398 | * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too. |
35457070 | 5399 | |
b6b9ee9b UD |
5400 | * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment. |
5401 | ||
6326c93c RM |
5402 | 2003-03-07 Roland McGrath <roland@redhat.com> |
5403 | ||
5404 | * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. | |
5405 | * sysdeps/s390/s390-64/sysdep.h (L): Likewise. | |
5406 | ||
2090a1d0 AJ |
5407 | 2003-03-04 Guido Guenther <agx@sigxcpu.org> |
5408 | ||
5409 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded | |
5410 | stubs, we have INLINE_SYSCALL. | |
5411 | * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, | |
5412 | MAP_NONBLOCK. | |
5413 | ||
696efd11 RM |
5414 | 2003-03-06 Roland McGrath <roland@redhat.com> |
5415 | ||
5416 | * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1 | |
5417 | permanent extent and add a comment about testing its implicit teardown. | |
5418 | ||
f1a56a2b RM |
5419 | 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5420 | ||
5421 | * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. | |
5422 | ||
49400d0e UD |
5423 | 2003-03-05 Ulrich Drepper <drepper@redhat.com> |
5424 | ||
5425 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix | |
5426 | reversed __builtin_expect expectation. | |
5427 | ||
5fc728a2 RM |
5428 | 2003-03-05 Roland McGrath <roland@redhat.com> |
5429 | ||
5430 | * stdio-common/sscanf.c: Use prototype defn with ... syntax. | |
5431 | * libio/swscanf.c: Likewise. | |
5432 | * libio/swprintf.c: Likewise. | |
5433 | ||
510793fd RM |
5434 | 2003-03-04 Roland McGrath <roland@redhat.com> |
5435 | ||
790eed83 RM |
5436 | * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>. |
5437 | (elf_machine_rela): Always use RESOLVE_MAP, needed for | |
5438 | R_PPC64_JMP_SLOT as well as TLS cases. | |
5439 | (BIT_INSERT): Move parenthesis where it ought to have been. | |
5440 | Reported by Steven Munroe <sjmunroe@us.ibm.com>. | |
5441 | ||
510793fd RM |
5442 | * posix/confstr.c (confstr): Correct STRING_LEN values for |
5443 | _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing | |
5444 | break. Reported by Alexandre Julliard <julliard@winehq.com>. | |
5445 | ||
0de28d5c UD |
5446 | 2003-03-04 Jakub Jelinek <jakub@redhat.com> |
5447 | ||
5448 | * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. | |
5449 | ||
269e8af7 UD |
5450 | 2003-03-04 Ulrich Drepper <drepper@redhat.com> |
5451 | ||
e2b80a58 UD |
5452 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new |
5453 | clone parameters. | |
5454 | ||
269e8af7 UD |
5455 | * po/sv.po: Update from translation team. |
5456 | ||
330a187b | 5457 | 2003-03-04 Andreas Jaeger <aj@suse.de> |
269e8af7 | 5458 | Ulrich Drepper <drepper@redhat.com> |
330a187b AJ |
5459 | |
5460 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments. | |
5461 | ||
4f6f0a8f UD |
5462 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
5463 | ||
cc775edf UD |
5464 | * sysdeps/generic/dl-sysdep.h: Add double include protection. |
5465 | ||
75081542 UD |
5466 | * po/tr.po: Update from translation team. |
5467 | ||
6fffb9a2 UD |
5468 | * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there |
5469 | are holes between the segments. Only call mprotect to set | |
5470 | proection to PROT_NONE if there are some. | |
5471 | ||
5472 | * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. | |
5473 | Update comment. | |
5474 | ||
4f6f0a8f UD |
5475 | * include/sched.h (__clone2): Use ... instead of adding all the |
5476 | new parameters. | |
5477 | ||
ce78b460 RM |
5478 | 2003-03-03 Roland McGrath <roland@redhat.com> |
5479 | ||
868b9d6a RM |
5480 | * elf/dl-load.c (struct filebuf): Fix typo in last change. |
5481 | ||
ce78b460 RM |
5482 | * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define |
5483 | PI_STATIC_AND_HIDDEN. | |
ce78b460 | 5484 | |
625f22fc UD |
5485 | 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au> |
5486 | ||
5487 | * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone | |
5488 | flags. | |
5489 | * include/sched.h: Update clone2 prototype. | |
5490 | ||
71502ebe UD |
5491 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
5492 | ||
5493 | * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition. | |
5494 | (llrint): Use it to correct return type. | |
5495 | (lrint): Likewise. | |
5496 | (lround): Likewise. | |
5497 | (llround): Likewise. | |
5498 | ||
d15a8404 UD |
5499 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
5500 | ||
ca97fb53 UD |
5501 | * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640 |
5502 | byte filebuf size. | |
5503 | ||
1739d268 UD |
5504 | * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor |
5505 | if ccs parameter isn't valid. Reported by Andreas Schwab. | |
5506 | ||
5507 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
5508 | ||
5509 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support | |
5510 | for system call numbers > 255. | |
5511 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, | |
5512 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
5513 | INTERNAL_SYSCALL): Likewise. | |
5514 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. | |
5515 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, | |
5516 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
5517 | INTERNAL_SYSCALL): Likewise. | |
5518 | ||
5519 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
5520 | ||
5521 | * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv | |
5522 | array if it is the initial dtv. | |
5523 | ||
5524 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> | |
5525 | ||
5526 | * po/es.po: Update from translation team. | |
5527 | * po/fr.po: Likewise. | |
71502ebe | 5528 | * po/gl.po: Likewise. |
1739d268 UD |
5529 | * po/sk.po: Likewise. |
5530 | * po/sv.po: Likewise. | |
5531 | ||
d15a8404 UD |
5532 | * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. |
5533 | * misc/sys/mman.h: Add prototype for remap_file_pages. | |
5534 | * sysdeps/generic/remap_file_pages.c: New file. | |
3c531a87 | 5535 | * misc/Makefile (routines): Add remap_file_pages. |
a05be180 | 5536 | * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages. |
d15a8404 UD |
5537 | |
5538 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE | |
5539 | and MAP_NONBLOCK. | |
5540 | * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. | |
5541 | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise | |
5542 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. | |
5543 | * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. | |
5544 | * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. | |
5545 | * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. | |
5546 | * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. | |
5547 | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. | |
5548 | ||
ea6a015b RM |
5549 | 2003-03-03 Roland McGrath <roland@redhat.com> |
5550 | ||
a49f5762 RM |
5551 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. |
5552 | * sysdeps/ia64/dl-machine.h: Likewise. | |
5553 | * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from | |
5554 | argument type. | |
5555 | * sysdeps/ia64/dl-lookupcfg.h: Update decl. | |
5556 | ||
5557 | * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. | |
5558 | * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. | |
5559 | * locale/Versions (libc: GLIBC_2.3): Move those to ... | |
5560 | * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. | |
5561 | * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. | |
5562 | * Versions.def (libc): Add GLIBC_2.3.3 set. | |
5563 | ||
ea6a015b RM |
5564 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg. |
5565 | * sysdeps/ia64/dl-machine.h: Update decl. | |
5566 | ||
62584540 AJ |
5567 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
5568 | ||
d15a8404 | 5569 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace. |
62584540 | 5570 | |
78c3fb45 RM |
5571 | 2003-03-02 Roland McGrath <roland@redhat.com> |
5572 | ||
5573 | * scripts/abilist.awk: Reject data items with apparent 0 size. | |
5574 | ||
5575 | * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar | |
5576 | after foo.* as if it were a duplicate. | |
5577 | ||
5578 | * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk. | |
5579 | ||
885bafa1 UD |
5580 | 2003-03-02 Ulrich Drepper <drepper@redhat.com> |
5581 | ||
1be3d664 UD |
5582 | * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes. |
5583 | ||
885bafa1 UD |
5584 | * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. |
5585 | * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only | |
5586 | if not already defined. Use SYSDEP_GETRES to allow other files to | |
5587 | provide alternative implementations. | |
5588 | * sysdeps/unix/sysv/linux/clock_getres.c: New file | |
5589 | * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only | |
5590 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
5591 | provide alternative implementations. | |
5592 | * sysdeps/unix/sysv/linux/clock_gettime.c: New file. | |
5593 | * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only | |
5594 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
5595 | provide alternative implementations. | |
5596 | * sysdeps/unix/sysv/linux/clock_settime.c: New file. | |
5597 | * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow | |
5598 | other files to provide alternative implementations. Rearrange | |
5599 | tests for invalid parameters. | |
5600 | * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. | |
5601 | * sysdeps/unix/sysv/linux/sysconf.c: New file. | |
5602 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
78c3fb45 | 5603 | __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up. |
885bafa1 UD |
5604 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define |
5605 | _POSIX_MONOTONIC_CLOCK. | |
5606 | ||
bb0ddc2f RM |
5607 | 2003-03-02 Roland McGrath <roland@redhat.com> |
5608 | ||
8f3846a9 RM |
5609 | * scripts/merge-abilist.awk: More checks for bogus input. |
5610 | Uniquify duplicate config names. | |
5611 | ||
5612 | * scripts/abilist.awk: Don't distinguish weak symbols in normal output. | |
5613 | ||
7551556f RM |
5614 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed |
5615 | from dl_reloc_overflow, make global. | |
5616 | (__process_machine_rela): Update callers. | |
5617 | * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. | |
5618 | Add attribute_hidden to __process_machine_rela decl. | |
5619 | (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs. | |
5620 | ||
3a601d31 RM |
5621 | * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const |
5622 | variable. | |
5623 | ||
bb0ddc2f RM |
5624 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): |
5625 | Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. | |
5626 | (elf_machine_rela): Clean up. | |
5627 | ||
5628 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. | |
5629 | ||
5630 | PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. | |
5631 | * sysdeps/powerpc/powerpc32/elf/configure.in: New file. | |
5632 | * sysdeps/powerpc/powerpc32/elf/configure: New generated file. | |
5633 | * elf/tls-macros.h [__powerpc__ && !__powerpc64__] | |
5634 | (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. | |
5635 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support | |
5636 | new relocs for TLS. | |
5637 | ||
5638 | * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these | |
5639 | macros out of [SHARED]. | |
5640 | (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. | |
5641 | ||
5642 | * elf/elf.h: Define R_PPC_* relocs for TLS support. | |
5643 | Clean up R_PPC64_* macro definition comments. | |
7ed33cba | 5644 | |
d1149385 RM |
5645 | * configure.in: In "running configure fragment for" message, |
5646 | omit $srcdir from the name if we prepended it. | |
5647 | * configure: Regenerated. | |
5648 | ||
7ed33cba RM |
5649 | * elf/dl-reloc.c (allocate_static_tls): Fix calculations. |
5650 | From Jakub Jelinek <jakub@redhat.com>. | |
5651 | ||
5652 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, | |
5653 | which duplicated the O_DIRECT defn. | |
5654 | ||
5655 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> | |
5656 | ||
5657 | * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived | |
5658 | random functions. | |
5659 | ||
4191f43d AS |
5660 | 2003-03-01 Andreas Schwab <schwab@suse.de> |
5661 | ||
7ed33cba RM |
5662 | * resolv/Makefile (tests): Don't depend on |
5663 | $(objpfx)mtrace-tst-leaks when cross compiling. | |
5664 | ||
4191f43d AS |
5665 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Access |
5666 | __libc_stack_end through GOT since it is a global symbol. | |
5667 | ||
85c54a32 UD |
5668 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
5669 | ||
5670 | * argp/argp.h: Fix a typo. | |
5671 | Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>. | |
5672 | ||
5673 | * manual/terminal.texi: Fix cfmakeraw() definition from int to void. | |
5674 | ||
5675 | 2003-02-27 Pat Rankin <rankin@pactechdata.com> | |
5676 | ||
5677 | * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to | |
5678 | char *. | |
5679 | (get_subexp): Likewise. | |
5680 | ||
a6861e64 UD |
5681 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
5682 | ||
5683 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define. | |
5684 | ||
5685 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> | |
5686 | ||
5687 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define. | |
5688 | ||
a6963e69 RM |
5689 | 2003-02-27 Roland McGrath <roland@redhat.com> |
5690 | ||
5691 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove | |
5692 | special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to | |
5693 | repeat it and avoids the test for the common case. | |
5694 | Clean up and fix calculations for TLS relocs. | |
5695 | ||
5696 | * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... | |
5697 | * sysdeps/powerpc/dl-tls.h: ... here. | |
5698 | (TLS_TP_OFFSET): New macro. | |
5699 | ||
5700 | * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change. | |
5701 | ||
427f5fa1 UD |
5702 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
5703 | ||
5704 | * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to | |
5705 | code generation changes in recent gcc. | |
5706 | ||
73a061bb RM |
5707 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> |
5708 | ||
5709 | * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW): | |
5710 | Rename argument to avoid symbol conflict. | |
5711 | ||
5712 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h | |
5713 | [__USE_GNU] (O_DIRECT): New macro. | |
5714 | ||
d2637c70 UD |
5715 | 2003-02-24 David Mosberger <davidm@hpl.hp.com> |
5716 | ||
5717 | * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix | |
5718 | unwind info. | |
5719 | ||
d148ed25 UD |
5720 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
5721 | ||
e361e438 UD |
5722 | * resolv/res_libc.c [USE___THREAD] (_res): Don't need the |
5723 | initializer anymore now that res_thread_freeres is more careful. | |
5724 | ||
d148ed25 UD |
5725 | * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages |
5726 | except the PKTINFO. Reset interface in PKTINFO. | |
dbf6131c | 5727 | Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973]. |
d148ed25 | 5728 | |
fec41719 RM |
5729 | 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com> |
5730 | ||
d148ed25 UD |
5731 | * elf/elf.h: Add new R_PPC64_* relocs for TLS. |
5732 | * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): | |
5733 | Define. | |
fec41719 RM |
5734 | * sysdeps/powerpc/powerpc64/elf/configure.in: New file. |
5735 | * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). | |
afafddab RM |
5736 | * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. |
5737 | * sysdeps/powerpc/powerpc64/dl-tls.h: New file. | |
fec41719 | 5738 | |
d148ed25 | 5739 | * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): |
fec41719 RM |
5740 | Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file. |
5741 | ||
56ce76ea AJ |
5742 | 2003-02-25 Andreas Jaeger <aj@suse.de> |
5743 | ||
5744 | * manual/memory.texi (Malloc Tunable Parameters): Clarify | |
5745 | behaviour of M_MMAP_THRESHOLD. | |
5746 | ||
724fad20 RM |
5747 | 2003-02-25 Roland McGrath <roland@redhat.com> |
5748 | ||
5749 | * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is | |
5750 | zero, inidicating _res was not initialized yet. | |
5751 | ||
80d80779 UD |
5752 | 2003-02-24 Ulrich Drepper <drepper@redhat.com> |
5753 | ||
5754 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES | |
5755 | test. | |
5756 | ||
81b47a8b RM |
5757 | 2003-02-24 Roland McGrath <roland@redhat.com> |
5758 | ||
5759 | * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. | |
5760 | ||
de217051 RM |
5761 | 2003-02-23 Roland McGrath <roland@redhat.com> |
5762 | ||
5763 | * sysdeps/posix/pause.c: New file. | |
5764 | * sysdeps/unix/common/pause.c: File removed. | |
5765 | ||
fd1a0d0c UD |
5766 | 2003-02-23 Ulrich Drepper <drepper@redhat.com> |
5767 | ||
cdd8e46f UD |
5768 | * sysdeps/generic/bits/confname.h: Remove #ifs. |
5769 | ||
5a6bbb41 UD |
5770 | * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. |
5771 | * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. | |
5772 | ||
fd1a0d0c UD |
5773 | * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock |
5774 | element to -1. | |
5775 | ||
249062b0 UD |
5776 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
5777 | ||
5778 | * sysdeps/generic/dl-sysdep.c: Avoid warning. | |
5779 | ||
92cc462c RM |
5780 | 2003-02-22 Roland McGrath <roland@redhat.com> |
5781 | ||
ce84ab61 RM |
5782 | * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>. |
5783 | * resolv/Makefile (tests): Add tst-leaks. | |
5784 | ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. | |
5785 | (tst-leaks-ENV): New variable. | |
5786 | ($(objpfx)mtrace-tst-leaks): New target. | |
5787 | (tests): Depend on it. | |
5788 | ||
d2d442a5 RM |
5789 | * include/libc-internal.h: Declare __libc_thread_freeres. |
5790 | ||
7a0c303e RM |
5791 | * Makerules: Fix last change to use $($(subdir)-version) when set. |
5792 | ||
cc8bfce9 RM |
5793 | * Makerules (install-lib-nosubdir): Depend on installed |
5794 | libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed | |
5795 | regardless of the libfoo.so target's dependencies. | |
5796 | ||
92cc462c RM |
5797 | * MakeTAGS (sub-make-vars): New variable, includes generating=t. |
5798 | Use that in $(MAKE) calls. | |
5799 | ||
e57f9f75 UD |
5800 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
5801 | ||
819c56e7 UD |
5802 | * catgets/gencat.c (read_input_file): Collision between |
5803 | auto-assigned numbers and user-defined nubmers is not fatal. | |
5804 | Handle it. | |
5805 | Patch by Michael M. Lampkin <michael.lampkin@ieee.org>. | |
c780aa21 UD |
5806 | * catgets/Makefile: Add rules to run test2.msg test. |
5807 | * catgets/test2.msg: New file. | |
819c56e7 UD |
5808 | |
5809 | * catgets/gencat.c (main): Return 1 if messages have been printed. | |
5810 | ||
757f9fcb UD |
5811 | * iconv/iconv_prog.c (main): Unify messages. |
5812 | ||
e57f9f75 UD |
5813 | * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word |
5814 | when shifting retval. | |
5815 | * stdlib/tst-strtod.c (main): Add strtold test case. | |
5816 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
5817 | ||
e8783fd5 RM |
5818 | 2003-02-21 Roland McGrath <roland@redhat.com> |
5819 | ||
2a3d906e RM |
5820 | * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. |
5821 | * sunrpc/rpc_thread.c: Likewise for text_set_element use. | |
5822 | (__rpc_thread_destroy): Add it to __libc_subfreeres too. | |
5823 | ||
5824 | * include/resolv.h: Add libc_hidden_proto for __res_nclose. | |
5825 | * resolv/res_init.c (__res_nclose): Add libc_hidden_def. | |
5826 | (res_thread_freeres): New function, on __libc_thread_subfreeres and | |
5827 | __libc_subfreeres. | |
5828 | ||
5829 | * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. | |
e8783fd5 RM |
5830 | * malloc/thread-freeres.c: New file. |
5831 | * malloc/Makefile (aux): Add it. | |
2a3d906e | 5832 | * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. |
e8783fd5 RM |
5833 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section |
5834 | "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. | |
5835 | ||
5836 | * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. | |
5837 | * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. | |
5838 | ||
5839 | 2003-02-21 Roland McGrath <roland@frob.com> | |
5840 | ||
5841 | * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. | |
5842 | ||
5843 | * iconvdata/Makefile (tests): Add bug-iconv3 only if | |
5844 | [$(have-thread-library) = yes]. | |
5845 | ||
1c848253 UD |
5846 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
5847 | ||
9c03686d UD |
5848 | * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. |
5849 | ||
1c848253 UD |
5850 | * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do |
5851 | not chechk for errors (unless testing for 32bit variant). | |
5852 | * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. | |
5853 | * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. | |
5854 | * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. | |
5855 | ||
6f50cb00 UD |
5856 | 2003-02-21 Jakub Jelinek <jakub@redhat.com> |
5857 | ||
5858 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>: | |
5859 | Check for signed overflow, not unsigned. | |
5860 | ||
cef0a48d UD |
5861 | * sysdeps/sparc/sparc64/elf/configure.in: New file. |
5862 | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): | |
5863 | Use -fcall-used-g6, not -fcall-used-g7. | |
5864 | ||
dd3608b9 AJ |
5865 | 2003-02-21 Andreas Jaeger <aj@suse.de> |
5866 | ||
5867 | * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default | |
5868 | mode. | |
5869 | ||
5870 | * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not | |
5871 | clear whole mxcsr but only exceptions. | |
5872 | ||
59fed0e2 RM |
5873 | 2003-02-21 Roland McGrath <roland@redhat.com> |
5874 | ||
5875 | * Makerules: Filter $(install-lib-ldscripts) out of list of targets | |
5876 | for libfoo.so that need $(make-link) rules. | |
5877 | ||
36f0ccda RM |
5878 | 2003-02-21 Roland McGrath <roland@frob.com> |
5879 | ||
5880 | * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE | |
5881 | to match existing struct stat layout in mig protocols. | |
5882 | ||
ec503662 UD |
5883 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
5884 | ||
5885 | * version.h (VERSION): Bump to 2.3.2. | |
5886 | ||
5887 | * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, | |
5888 | tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, | |
5889 | and dl-sysdep.h. | |
5890 | * sysdeps/generic/Dist: Add sysdep-cancel.h. | |
5891 | * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. | |
5892 | * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. | |
5893 | * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. | |
5894 | * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. | |
5895 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and | |
5896 | ucontext_i.h. | |
5897 | * Makefile (distribute): Add include/stubs-prologue.h, | |
5898 | include/gnu/stubs.h, scripts/merge-abilist.awk, and | |
5899 | scripts/extract-abilist.awk. | |
5900 | ||
af57745c RM |
5901 | 2003-02-20 Roland McGrath <roland@redhat.com> |
5902 | ||
5903 | * math/Makefile (distribute): Don't add generated files. | |
5904 | ||
6314208a UD |
5905 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
5906 | ||
6314208a UD |
5907 | * math/Makefile: Rearrange variable definitions slightly to get |
5908 | definition in the right order. | |
5909 | ||
ab10a294 RM |
5910 | 2003-02-20 Roland McGrath <roland@redhat.com> |
5911 | ||
5912 | * Makerules: Clean up conditional around include of tls.make. | |
5913 | * Make-dist: Export generating=t to prevent using that. | |
5914 | (+distinfo): Likewise for $(shell $(MAKE) ...) runs. | |
5915 | ||
54e1cabc UD |
5916 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
5917 | ||
5918 | * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap | |
5919 | around in search if port IPPORT_RESERVED/2 has been test. | |
5920 | ||
ec503662 | 5921 | 2002-02-20 Paolo Bonzini <bonzini@gnu.org> |
54e1cabc UD |
5922 | |
5923 | * posix/regcomp.c: Remove inclusions. | |
5924 | * posix/regexec.c: Likewise. | |
5925 | * posix/regex_internal.c: Likewise. | |
5926 | * posix/regex_internal.h: Add inclusions here. | |
5927 | * posix/regex.c: Only include sys/types.h before regex.h. Include | |
5928 | regex_internal.h here. Include regex_internal.c before regcomp.c | |
5929 | and regexec.c (might expose more opportunities to the C compiler). | |
5930 | ||
5931 | * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. | |
5932 | ||
5933 | * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. | |
5934 | [!_LIBC] (__wcrtomb): New definition. | |
5935 | [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and | |
5936 | HAVE_LOCALE_H as well. | |
5937 | ||
6eb74f33 UD |
5938 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
5939 | ||
5940 | * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete | |
5941 | patch to check for system call errors. | |
5942 | ||
05856976 UD |
5943 | 2002-07-24 Philip Blundell <philb@gnu.org> |
5944 | ||
5945 | * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV | |
5946 | on unknown systems. | |
5947 | ||
5948 | 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
5949 | ||
5950 | * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. | |
5951 | * sysdeps/unix/sysv/linux/kernel-features.h | |
5952 | (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. | |
5953 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl | |
5954 | if possible. | |
5955 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short | |
5956 | interprocedure branches. | |
5957 | * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... | |
5958 | * sysdeps/powerpc/nofpu/Dist: ...here. | |
5959 | * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... | |
5960 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. | |
5961 | * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. | |
5962 | * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. | |
5963 | * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. | |
5964 | ||
a592f998 UD |
5965 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
5966 | ||
5967 | * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. | |
5968 | ||
44ed664b UD |
5969 | 2003-02-20 Philip Blundell <philb@gnu.org> |
5970 | ||
5971 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add | |
5972 | missing arguments to INTERNAL_SYSCALL_ERROR_P and | |
5973 | INTERNAL_SYSCALL_ERRNO. | |
5974 | ||
ffdcfcb0 UD |
5975 | 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5976 | ||
5977 | * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test | |
5978 | for __ASSUME_32BITUIDS. | |
5979 | ||
4b2ed419 AS |
5980 | 2003-02-20 Andreas Schwab <schwab@suse.de> |
5981 | ||
5982 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and | |
5983 | POSIX_MADV_* constants. | |
5984 | ||
01b28852 UD |
5985 | 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5986 | ||
5987 | * sysdeps/unix/sysv/linux/sh/pread.c: New file. | |
5988 | * sysdeps/unix/sysv/linux/sh/pread64.c: New file. | |
5989 | * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. | |
5990 | * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. | |
5991 | ||
a70e514b UD |
5992 | 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com> |
5993 | ||
5994 | * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. | |
5995 | ||
ade67411 RM |
5996 | 2003-02-16 Roland McGrath <roland@redhat.com> |
5997 | ||
5998 | * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>. | |
5999 | ||
1c524710 UD |
6000 | 2003-02-19 Ulrich Drepper <drepper@redhat.com> |
6001 | ||
01b28852 | 6002 | * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off |
1c524710 | 6003 | decimal input digits. |
b5f7b119 | 6004 | * stdlib/tst-strtod.c (main): Add test for strtof bug. |
1c524710 | 6005 | |
2f7dc594 UD |
6006 | 2003-02-18 Ulrich Drepper <drepper@redhat.com> |
6007 | ||
6008 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize | |
6009 | invalid file descriptors and missing access permissions. | |
6010 | ||
46d7e2ba UD |
6011 | 2003-02-17 Ulrich Drepper <drepper@redhat.com> |
6012 | ||
8bd3f184 | 6013 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has |
2cfe49db UD |
6014 | been found. |
6015 | ||
46d7e2ba UD |
6016 | * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and |
6017 | TTY_NAME_MAX and not the _POSIX_* minimal value macros. | |
6018 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX | |
6019 | and LOGIN_NAME_MAX. | |
6020 | ||
b2740a3b UD |
6021 | 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> |
6022 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
6023 | ||
6024 | * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. | |
6025 | * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. | |
6026 | * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. | |
6027 | * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. | |
6028 | * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. | |
6029 | ||
81b50572 UD |
6030 | 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6031 | ||
6032 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. | |
6033 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. | |
6034 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. | |
6035 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. | |
6036 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. | |
6037 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. | |
6038 | ||
6039 | * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... | |
6040 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. | |
6041 | * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... | |
6042 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. | |
6043 | ||
6044 | * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. | |
6045 | * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. | |
6046 | * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. | |
6047 | * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. | |
6048 | ||
fdcd8f9c UD |
6049 | 2003-02-14 Thorsten Kukuk <kukuk@suse.de> |
6050 | ||
6051 | * nss/getent.c (print_hosts): Print all IP addresses of one host. | |
6052 | ||
7125d3cf RM |
6053 | 2003-02-15 Roland McGrath <roland@frob.com> |
6054 | ||
8321ef15 RM |
6055 | * sysdeps/mach/hurd/tls.h: New file. |
6056 | * sysdeps/mach/hurd/i386/tls.h: New file. | |
6057 | ||
b0104b6f RM |
6058 | * mach/errsystems.awk: Include <errno.h> in generated output. |
6059 | ||
7125d3cf RM |
6060 | * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, |
6061 | use target mach-before-compile instead of generated. | |
6062 | (mach-before-compile): New target. | |
6063 | * Makerules: Disable use of tls.make if $(generating) is set. | |
6064 | * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. | |
6065 | * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on | |
6066 | mach-shortcuts.h so mach/ generation happens before hurd/. | |
6067 | ||
47202270 UD |
6068 | 2003-02-14 Ulrich Drepper <drepper@redhat.com> |
6069 | ||
a439bb2f UD |
6070 | * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa |
6071 | of demorm correctly if low word is zero. | |
6072 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
757de559 UD |
6073 | * math/libm-test.inc (nextafter_test): New test, but disabled due |
6074 | to gcc bug. | |
a439bb2f | 6075 | |
47202270 UD |
6076 | * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread |
6077 | counter and only call __exit_thread if this is not the last thread. | |
6078 | ||
dac0f772 UD |
6079 | 2003-02-13 Jakub Jelinek <jakub@redhat.com> |
6080 | ||
6081 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of | |
6082 | subtracting map->l_tls_offset. | |
6083 | ||
7437cbd1 UD |
6084 | 2003-02-12 Ulrich Drepper <drepper@redhat.com> |
6085 | ||
2067577c UD |
6086 | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and |
6087 | _CS_GNU_LIBPTHREAD_VERSION. | |
6088 | * posix/conststr.c: Handle these new values. | |
6089 | * posix/getconf.c: Likewise. | |
6090 | ||
7437cbd1 UD |
6091 | * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix |
6092 | masking of version index. | |
6093 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. | |
6094 | ||
969c9da7 UD |
6095 | 2003-02-11 Ulrich Drepper <drepper@redhat.com> |
6096 | ||
6097 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment | |
6098 | correctly. Reported by Thorsten Kukuk. | |
6099 | ||
e5ffa64a UD |
6100 | 2003-02-10 Ulrich Drepper <drepper@redhat.com> |
6101 | ||
6102 | * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and | |
6103 | _BSD_SOURCE to compiler. | |
6104 | * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. | |
6105 | Patches by Alan Modra. | |
6106 | ||
34c86f42 UD |
6107 | 2003-02-08 Ulrich Drepper <drepper@redhat.com> |
6108 | ||
6109 | * io/ftwtest.c: Get current working directory before and after the | |
6110 | nftw call and make sure they match. | |
6111 | ||
6112 | 2003-02-08 Jim Meyering <jim@meyering.net> | |
6113 | ||
2067577c | 6114 | * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember |
34c86f42 UD |
6115 | the current directory, not just when DIR contains a slash. |
6116 | Reported by Manoj Srivastava. | |
6117 | ||
ae9ecd08 UD |
6118 | 2003-02-07 Jim Meyering <jim@meyering.net> |
6119 | ||
6120 | * io/ftw.c: Add autoconf-recommended block of alloca-related code. | |
6121 | Include autoconf-recommended block of dirent/NAMELEN-related | |
6122 | definitions and includes. Use NAMELEN throughout, rather than | |
6123 | _D_EXACT_NAMLEN. | |
6124 | [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. | |
6125 | [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. | |
6126 | (stpcpy): Declare, if necessary. | |
6127 | (mempcpy): Define, if necessary. | |
6128 | [!_LIBC] (__stpcpy, __mempcpy): Define. | |
6129 | [!_LIBC] (LXSTAT, XSTAT): Define. | |
6130 | (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. | |
6131 | (find_object): Don't use c99-style struct initializer. | |
6132 | Tweak wording in a couple comments. | |
6133 | ||
2a051a7d UD |
6134 | 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
6135 | ||
6136 | * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list | |
6137 | for SH. | |
6138 | * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD | |
6139 | after the trapa instruction. | |
6140 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional | |
6141 | parameters. | |
6142 | * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. | |
6143 | (NEED_SYSCALL_INST_PAD): Define. | |
6144 | * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to | |
6145 | avoid to use definition for the kernel. | |
6146 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
6147 | Save and restore the frame pointer. | |
6148 | (SYSCALL_INST_PAD): Define. | |
6149 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
6150 | (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD | |
6151 | after trapa instruction. | |
6152 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
6153 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
6154 | ||
1f503475 UD |
6155 | 2003-02-07 Jakub Jelinek <jakub@redhat.com> |
6156 | ||
6157 | * resolv/res_libc.c (_res): Ensure _res is not common symbol, | |
6158 | so that it can have aliases. | |
6159 | * inet/herrno.c (h_errno): Put it into .bss not .data section. | |
6160 | ||
eecc378c UD |
6161 | 2003-02-07 Ulrich Drepper <drepper@redhat.com> |
6162 | ||
6163 | * elf/dl-runtime.c (fixup): Correct typo in version index computation. | |
6164 | (profile_fixup): Likewise. | |
1f503475 | 6165 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. |
eecc378c | 6166 | |
ce96c93d UD |
6167 | 2002-11-24 Robert Love <rml@tech9.net> |
6168 | ||
6169 | * posix/sched.h: Second parameter of sched_setaffinity and | |
6170 | sched_getaffinity is `unsigned int', not `unsigned long'. | |
6171 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
6172 | * sysdeps/generic/sched_getaffinity.c: Likewise. | |
6173 | ||
e0f86659 UD |
6174 | 2003-02-05 Ulrich Drepper <drepper@redhat.com> |
6175 | ||
432cf458 | 6176 | * debug/catchsegv.sh: Fix typo in error messsage. |
ce96c93d | 6177 | Reported by John Levon <levon@movementarian.org>. |
432cf458 | 6178 | |
5cd09cd6 UD |
6179 | * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. |
6180 | * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. | |
6181 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. | |
6182 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
6183 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
6184 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
6185 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
6186 | ||
e0f86659 UD |
6187 | * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. |
6188 | Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>. | |
6189 | ||
5049f197 UD |
6190 | 2003-02-05 Jim Meyering <jim@meyering.net> |
6191 | ||
6192 | Fix a heap-corrupting bug. | |
6193 | * io/ftw.c: Include <limits.h>. | |
6194 | (PATH_MAX) [!defined PATH_MAX]: Define to 1024. | |
6195 | (process_entry): Allocate enough space to hold the resulting | |
6196 | file name. Don't presume that 2*dirbufsize is enough. | |
6197 | (ftw_startup): Always use PATH_MAX to compute buffer size, now that | |
6198 | it is guaranteed to be defined. | |
6199 | ||
6f1cff95 UD |
6200 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
6201 | ||
6202 | * iconvdata/Makefile: Add rules to build and run bug-iconv3. | |
6203 | * iconvdata/bug-iconv3.c: New file. | |
6204 | ||
b33b0d0d UD |
6205 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
6206 | ||
6207 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
6208 | ||
6900ded2 UD |
6209 | 2003-02-03 Jakub Jelinek <jakub@redhat.com> |
6210 | ||
6211 | * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New | |
6212 | check. | |
6213 | * config.h.in (BROKEN_SPARC_WDISP22): Add. | |
6214 | ||
663684b2 UD |
6215 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
6216 | ||
6217 | * sysdeps/i386/i686/memmove.S: New file. | |
6218 | ||
3e4fc359 UD |
6219 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> |
6220 | ||
6221 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: | |
6222 | Include kernel-features.h | |
6223 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
6224 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. | |
6225 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
6226 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
6227 | ||
75dec09e UD |
6228 | 2003-02-02 Jakub Jelinek <jakub@redhat.com> |
6229 | ||
6230 | * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. | |
6231 | ||
78e88510 UD |
6232 | 2003-01-25 Jim Meyering <jim@meyering.net> |
6233 | ||
6234 | * io/ftw.c (object_compare): Compare inode numbers before device | |
6235 | numbers, since the former are much more likely to differ. | |
6236 | ||
38e68573 UD |
6237 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> |
6238 | ||
6239 | * time/tzfile.c (__tzfile_compute): Change return value type to | |
6240 | void. Adjust return statements. | |
6241 | * include/time.h (__tzfile_compute): Adjust prototype. | |
6242 | ||
6243 | 2003-02-01 Jim Meyering <jim@meyering.net> | |
6244 | ||
6245 | * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute | |
6246 | always returns 1. | |
6247 | ||
6248 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
6249 | ||
6250 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
6251 | [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. | |
6252 | ||
6253 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
6254 | ||
6255 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | |
6256 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. | |
6257 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | |
6258 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
6259 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
6260 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
6261 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
6262 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
6263 | ||
6264 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
6265 | ||
6266 | * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel | |
6267 | back to 2.4.19 for powerpc64. | |
6268 | * sysdeps/unix/sysv/linux/kernel-features.h | |
6269 | (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. | |
6270 | (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. | |
6271 | ||
6272 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> | |
6273 | ||
6274 | * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for | |
6275 | platforms with strange alignment requirements on wchar_t. | |
6276 | ||
b67fcc1e UD |
6277 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
6278 | ||
6279 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* | |
6280 | aliases, already added by make-syscalls.sh. | |
6281 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
6282 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. | |
6283 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. | |
6284 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
6285 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
6286 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
6287 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
6288 | * sysdeps/unix/inet/syscalls.list: Likewise. | |
6289 | * sysdeps/unix/syscalls.list: Likewise. | |
6290 | ||
fb784fd5 AS |
6291 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
6292 | ||
6293 | * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed | |
6294 | any more. | |
6295 | ||
c4c1336c UD |
6296 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
6297 | ||
6298 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, | |
6299 | not l to load tls from stack. | |
6300 | ||
d6f5e721 RM |
6301 | 2003-01-30 Roland McGrath <roland@redhat.com> |
6302 | ||
6303 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for | |
6304 | null argument before all else. | |
6305 | Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
6306 | ||
7ba7c829 UD |
6307 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
6308 | ||
6309 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): | |
6310 | Move to RESOLVE protected part of the header. | |
6311 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): | |
6312 | Likewise. | |
6313 | ||
6314 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
6315 | ||
6316 | * stdio-common/Makefile (tests): Add bug15. | |
6317 | (bug15-ENV): Define. | |
6318 | * stdio-common/bug15.c: New file. | |
6319 | ||
886d5973 UD |
6320 | 2002-10-07 Wolfram Gloger <wg@malloc.de> |
6321 | ||
6322 | * malloc/malloc.c (sYSMALLOc): Only check for breakage due | |
6323 | to foreign sbrk()'s if arena is contiguous. Bug report from | |
6324 | Bruno Haible <bruno@clisp.org>. | |
6325 | ||
6326 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
6327 | ||
6328 | * sysdeps/s390/libc-tls.c: Include stdlib.h. | |
6329 | ||
6330 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
6331 | ||
6332 | * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of | |
6333 | ps.__count. | |
6334 | ||
6335 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
6336 | ||
6337 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and | |
6338 | restoring of %r6. | |
6339 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use | |
6340 | 64-bit load. | |
6341 | Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
6342 | ||
6343 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
6344 | ||
6345 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... | |
6346 | (allocate_static_tls): ...here. Add __attribute_noinline__. | |
6347 | Don't return on failure. | |
6348 | (_dl_reloc_bad_type): Add __attribute_noinline__. | |
6349 | * elf/do-rel.h (elf_dynamic_do_rel): Add | |
6350 | __attribute__((always_inline)). | |
6351 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
6352 | elf_machine_rel_relative, elf_machine_rela_relative, | |
6353 | elf_machine_lazy_rel): Add prototypes with | |
6354 | __attribute__((always_inline)). | |
6355 | ||
6356 | 2003-01-29 David Mosberger <davidm@hpl.hp.com> | |
6357 | ||
6358 | * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. | |
6359 | ||
871afd6b RM |
6360 | 2003-01-29 Roland McGrath <roland@redhat.com> |
6361 | ||
6362 | * configure.in: Barf if configured in $srcdir. | |
871afd6b | 6363 | |
1e49399d UD |
6364 | 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> |
6365 | ||
6366 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
1e2f8718 | 6367 | (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. |
1e49399d | 6368 | |
db34912e UD |
6369 | 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> |
6370 | ||
6371 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional | |
6372 | clone parameters to match the order used on ia32. | |
6373 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
6374 | ||
e6ebd2e4 UD |
6375 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
6376 | ||
6377 | * elf/elf.h: Add new s390 relocs. | |
6378 | * elf/tls-macros.h: Add s390 versions. | |
6379 | * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. | |
6380 | * sysdeps/s390/dl-tls.h: New file. | |
6381 | * sysdeps/s390/libc-tls.c: New file. | |
6382 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS | |
6383 | relocs for class PLT. | |
6384 | (elf_machine_rela): Handle TLS relocs. | |
6385 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
6386 | * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. | |
6387 | * sysdeps/s390/s390-64/elf/configure.in: Likewise. | |
6388 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for | |
6389 | CLONE_CHILD_*TID flags. | |
6390 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
6391 | * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 | |
6392 | bit offset. | |
6393 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
6394 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
6395 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): | |
6396 | Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. | |
6397 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): | |
6398 | Likewise. | |
6399 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: | |
6400 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. | |
6401 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
6402 | variants. | |
6403 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: | |
6404 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use | |
6405 | direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. | |
6406 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
6407 | variants. | |
6408 | ||
772e3426 UD |
6409 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
6410 | ||
6411 | * sysdeps/unix/common/pause.c (do_pause): New function. Split | |
6412 | from __libc_pause. Implement using sigsuspend. | |
6413 | (__libc_pause): Call do_pause to do the real work. | |
6414 | ||
6415 | * sysdeps/posix/sigpause.c (do_sigpause): Check range of | |
6416 | sig_or_mask parameter is is_sig != 0. | |
6417 | ||
0566b130 UD |
6418 | 2003-01-21 Philip Blundell <philb@gnu.org> |
6419 | ||
6420 | * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. | |
6421 | ||
a15698cb UD |
6422 | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> |
6423 | ||
6424 | * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. | |
6425 | ||
b7e033f7 UD |
6426 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
6427 | ||
e6fb8846 UD |
6428 | * stdio-common/bug14.c: Use official name for the locale. |
6429 | ||
1fc46908 UD |
6430 | * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start |
6431 | instead of __libc_cleanup_region_start and _IO_cleanup_region_end | |
6432 | instead of __libc_cleanup_region_end. | |
6433 | ||
6434 | * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 | |
6435 | as first parameter to __libc_cleanup_region_start. | |
6436 | ||
68ff8426 UD |
6437 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
6438 | (__fe_nomask_env): Use __prctl not prctl. | |
6439 | * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for | |
6440 | prctl syscall. | |
6441 | ||
809cd222 UD |
6442 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. |
6443 | ||
6444 | * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. | |
6445 | ||
b7e033f7 UD |
6446 | * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic |
6447 | wrap-around in test. | |
6448 | ||
62f29da7 UD |
6449 | 2003-01-26 Andreas Schwab <schwab@suse.de> |
6450 | ||
6451 | * sysdeps/wordsize-32/divdi3.c: Export the functions only as | |
6452 | compatibility symbols. Remove INTDEF for __divdi3. | |
6453 | * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. | |
6454 | * sysdeps/powerpc/powerpc32/divdi3.c: Remove. | |
6455 | * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't | |
6456 | define. | |
6457 | * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. | |
6458 | ||
6459 | 2003-01-24 Jakub Jelinek <jakub@redhat.com> | |
6460 | ||
6461 | * elf/tls-macros.h: Add SPARC 32-bit definitions. | |
6462 | * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. | |
6463 | * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards | |
6464 | for the first half of the header. Include tls.h. | |
6465 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS | |
6466 | relocs too. | |
6467 | (elf_machine_rela): Handle TLS relocs. | |
6468 | * sysdeps/sparc/dl-tls.h: New file. | |
6469 | ||
6470 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation | |
6471 | support. | |
6472 | ||
6473 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. | |
6474 | * sysdeps/sparc/sparc32/memchr.S: Likewise. | |
6475 | * sysdeps/sparc/sparc32/memcpy.S: Likewise. | |
6476 | * sysdeps/sparc/sparc32/strcat.S: Likewise. | |
6477 | * sysdeps/sparc/sparc32/strchr.S: Likewise. | |
6478 | * sysdeps/sparc/sparc32/strcmp.S: Likewise. | |
6479 | * sysdeps/sparc/sparc32/strcpy.S: Likewise. | |
6480 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. | |
6481 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
6482 | * sysdeps/sparc/sparc64/memcpy.S: Likewise. | |
6483 | * sysdeps/sparc/sparc64/stpcpy.S: Likewise. | |
6484 | * sysdeps/sparc/sparc64/stpncpy.S: Likewise. | |
6485 | * sysdeps/sparc/sparc64/strcat.S: Likewise. | |
6486 | * sysdeps/sparc/sparc64/strchr.S: Likewise. | |
6487 | * sysdeps/sparc/sparc64/strcmp.S: Likewise. | |
6488 | * sysdeps/sparc/sparc64/strcpy.S: Likewise. | |
6489 | * sysdeps/sparc/sparc64/strncmp.S: Likewise. | |
6490 | * sysdeps/sparc/sparc64/strncpy.S: Likewise. | |
6491 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
6492 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. | |
6493 | ||
6494 | 2003-01-24 Andreas Schwab <schwab@suse.de> | |
6495 | ||
6496 | * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY | |
6497 | elements, and process them backwards. | |
6498 | * elf/Makefile ($(objpfx)tst-array4): New target. | |
6499 | ($(objpfx)tst-array4.out): Likewise. | |
6500 | (tests) [$(have-initfini-array) = yes]: Add tst-array4. | |
6501 | * elf/tst-array4.c: New file. | |
6502 | * elf/tst-array4.exp: Likewise. | |
6503 | ||
6504 | 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com> | |
6505 | ||
6506 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. | |
6507 | ||
6508 | 2003-01-27 Guido Guenther <agx@sigxcpu.org> | |
6509 | ||
6510 | * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. | |
6511 | * sysdeps/unix/sysv/linux/mips/pread.c: Add support for | |
6512 | cancellation handling and handle both __NR_pread64 and __NR_pread. | |
6513 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
6514 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for | |
6515 | cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. | |
6516 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
6517 | * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT | |
6518 | case, use register names consistently. | |
6519 | ||
6520 | 2003-01-27 Wolfram Gloger <wg@malloc.de> | |
6521 | ||
6522 | * malloc/hooks.c (mem2chunk_check): Check alignment of mem | |
6523 | pointer, not of the computed chunk. Bug report from Carlos | |
6524 | O'Donell <carlos@baldric.uwo.ca>. | |
6525 | ||
251c0f71 AS |
6526 | 2003-01-25 Andreas Schwab <schwab@suse.de> |
6527 | ||
6528 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative | |
6529 | addressing to save GOT entries. | |
6530 | ||
86dfa4eb RM |
6531 | 2003-01-21 Jakub Jelinek <jakub@redhat.com> |
6532 | ||
6533 | * sysdeps/unix/alpha/sysdep.h (inline_syscall0, | |
6534 | inline_syscall1, inline_syscall2, inline_syscall3, | |
6535 | inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. | |
6536 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add | |
6537 | __attribute__((unused)) to ChEcK. | |
6538 | ||
d5b6c817 UD |
6539 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
6540 | ||
6541 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): | |
6542 | Fix inline assembler constraints. | |
6543 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): | |
6544 | Likewise. | |
6545 | ||
6546 | * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of | |
6547 | -fPIC. | |
6548 | ||
83c9a671 RM |
6549 | 2003-01-20 Segher Boessenkool <segher@koffie.nl> |
6550 | ||
6551 | * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really | |
6552 | compute the cosine, not the sine, even if x > 0.8. | |
6553 | ||
b677d674 UD |
6554 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
6555 | ||
6556 | * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of | |
6557 | _nss_nis_setspent. Work around the different prototypes. | |
6558 | * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use | |
6559 | internal_nis_endrpcent. | |
6560 | (internal_nis_endrpcent): Change return type to void. Change callers. | |
6561 | * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of | |
6562 | _nss_nis_setpwent. Work around the different prototypes. | |
6563 | * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body | |
6564 | of the function to... | |
6565 | (internal_nis_endprotoent): ... here. New function. | |
6566 | (internal_nis_setprotoent): Use internal_nis_endprotoent. | |
6567 | * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of | |
6568 | _nss_nis_setnetent. Work around the different prototypes. | |
6569 | * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body | |
6570 | of the function to... | |
6571 | (internal_nis_endnetgrent): ... here. New function. | |
6572 | (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. | |
6573 | ||
978bd143 UD |
6574 | 2003-01-19 Jim Meyering <jim@meyering.net> |
6575 | ||
6576 | * time/strftime.c: (widen): Merge nearly-identical definitions. | |
6577 | (nl_get_alt_digit) [! defined my_strftime]: Define. | |
6578 | (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of | |
6579 | _nl_get_alt_digit and _nl_get_walt_digit. | |
6580 | ||
b1a173f7 UD |
6581 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
6582 | ||
6583 | * time/strftime.c (my_strftime): Handle very large width | |
6584 | specifications for numeric values correctly. Improve checks for | |
6585 | overflow. | |
6586 | * time/Makefile (tests): Add tst-strftime. | |
6587 | * time/tst-strftime.c: New file. | |
6588 | ||
039c1b75 UD |
6589 | 2003-01-18 Ulrich Drepper <drepper@redhat.com> |
6590 | ||
6675b191 UD |
6591 | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of |
6592 | _nss_nis_sethostent. Work around the different prototypes. | |
6593 | * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of | |
6594 | _nss_nis_setgrent. Work around the different prototypes. | |
6595 | * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New | |
6596 | function. Split out from _nss_nis_endetherent. | |
6597 | (internal_nis_setetherent): Use internal_nis_endetherent instead of | |
6598 | duplicating the code. | |
6599 | * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias | |
6600 | of _nss_nis_setaliasent. | |
6601 | * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse | |
6602 | internal_nis_endservent code, don't duplicate it. | |
6603 | ||
039c1b75 UD |
6604 | * inet/rexec.c (rexec_af): Protect socket operations with |
6605 | TEMP_FAILURE_RETRY. Use writev instead of multiple write. | |
6606 | * inet/rcmd.c (rcmd_af): Likewise. | |
6607 | ||
62431425 RM |
6608 | 2003-01-17 Roland McGrath <roland@redhat.com> |
6609 | ||
d32e4346 RM |
6610 | * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: |
6611 | Add test of value 0.80190127184058835. | |
6612 | ||
62431425 RM |
6613 | * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. |
6614 | ||
0f0b7994 UD |
6615 | 2003-01-17 Richard Henderson <rth@redhat.com> |
6616 | ||
6617 | * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS | |
6618 | relocs for class PLT. | |
6619 | * sysdeps/alpha/libc-tls.c: New file. | |
6620 | * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. | |
6621 | (LOADGP) [!PIC]: Rewrite to preserve caller's gp. | |
6622 | ||
6623 | 2003-01-17 Jakub Jelinek <jakub@redhat.com> | |
6624 | ||
6625 | * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use | |
6626 | __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock | |
6627 | on _dl_static_lock. | |
6628 | ||
1d4ff70e AJ |
6629 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
6630 | ||
6631 | * stdio-common/bug14.c: Include stdlib.h for exit prototype. | |
6632 | ||
609b4783 UD |
6633 | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> |
6634 | ||
6635 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. | |
6636 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. | |
6637 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. | |
6638 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. | |
6639 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. | |
6640 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. | |
6641 | * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 | |
6642 | is 2.4.21. | |
6643 | ||
6644 | 2003-01-16 Ulrich Drepper <drepper@redhat.com> | |
6645 | ||
6646 | * sysdeps/generic/glob.c (glob): Assume sysconf() always returns | |
6647 | values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed | |
6648 | buffers. | |
6649 | ||
6650 | * sysdeps/generic/sysconf.c: Unconditionally implement | |
6651 | _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. | |
6652 | * sysdeps/posix/sysconf.c: Likewise. | |
6653 | ||
7b7b9e70 UD |
6654 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
6655 | ||
6656 | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, | |
6657 | set *err to the returned error, not to REG_ESPACE unconditionally. | |
6658 | (build_word_op): Likewise. | |
6659 | * posix/Makefile (tests): Add bug-regex16. | |
6660 | * posix/bug-regex16.c: New test. | |
6661 | ||
850dcfca UD |
6662 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
6663 | ||
6664 | * elf/dl-load.c (_dl_map_object_from_fd): Use | |
6665 | GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has | |
6666 | been already initialized. | |
6667 | ||
a1f8ec97 UD |
6668 | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> |
6669 | ||
6670 | * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. | |
6671 | ||
f811dbdc UD |
6672 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
6673 | ||
6674 | * posix/regcomp.c (re_compile_internal): If clearing buffer, clear | |
6675 | allocated too. Reported by Al Viro <aviro@redhat.com>. | |
6676 | ||
4dd98447 RM |
6677 | 2003-01-16 Roland McGrath <roland@redhat.com> |
6678 | ||
6679 | Tweak merged .abilist file format to merge duplicate symbols in | |
6680 | different sets into multi-version stanzas with new "| SET regexp..." | |
6681 | header continuation lines. | |
6682 | * scripts/merge-abilist.awk: Rewritten for new format. | |
6683 | * scripts/extract-abilist.awk: Likewise. | |
6684 | ||
0f740059 UD |
6685 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
6686 | ||
e09edf23 UD |
6687 | * nscd/connections.c (nscd_run): Remove bogus return which isn't |
6688 | necessary with gcc 3.2+. | |
6689 | (nscd_init): Don't use error() to print message, use dbg_log. | |
6690 | ||
ea31b613 UD |
6691 | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total |
6692 | expected size into state. | |
6693 | (UNPACK_BYTES): Do the reverse. | |
41f112ad | 6694 | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. |
ea31b613 UD |
6695 | * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. |
6696 | Reported by Al Viro <aviro@redhat.com>. | |
6697 | ||
a1a2fec1 UD |
6698 | * stdio-common/Makefile (tests): Add bug14. |
6699 | * stdio-common/bug14.c: New file. | |
6700 | ||
0f740059 UD |
6701 | * stdio-common/vfscanf.c: When recognizing multibyte characters in |
6702 | string reset the byte counter after mbrtowc reported it is not a | |
6703 | partial character. Reported by Al Viro <aviro@redhat.com>. | |
6704 | ||
c16abc04 UD |
6705 | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> |
6706 | ||
6707 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include | |
6708 | sysdep-cancel.h, not sysdep.h. | |
6709 | ||
6710 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> | |
6711 | ||
6712 | * nscd/connections.c (nscd_run): Protect accept call with | |
6713 | TEMP_FAILURE_RETRY. | |
6714 | ||
c841fa22 AS |
6715 | 2003-01-15 Andreas Schwab <schwab@suse.de> |
6716 | ||
6717 | * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. | |
6718 | (common-generated): Add s-proto-bp.d. | |
6719 | * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies | |
6720 | of bp thunks. | |
6721 | * sysdeps/unix/s-proto-bp.S: New file. | |
6722 | * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. | |
6723 | Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. | |
6724 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. | |
6725 | ||
73917724 RM |
6726 | 2003-01-15 Roland McGrath <roland@redhat.com> |
6727 | ||
6728 | * Makerules: Use -include for tls.make, suppresses warning. | |
6729 | Move gen-as-const-headers rules up so before-compile is set in time. | |
6730 | (sed-remove-dotdot): Fix to work right for subdirs or top dir. | |
6731 | ||
c9f24336 UD |
6732 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
6733 | ||
d4397629 UD |
6734 | * nscd/nscd.c (main): Make code to close all file descriptors |
6735 | faster and more robust. | |
6736 | ||
9caf4f1c UD |
6737 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the |
6738 | request with one writev call. Protect all read calls with | |
6739 | TEMP_FAILURE_RETRY. | |
6740 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
6741 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
6742 | ||
6743 | * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. | |
6744 | Protect writev calls with TEMP_FAILURE_RETRY. | |
6745 | * nscd/grpcache.c: Likewise. | |
6746 | * nscd/pwdcache.c: Likewise. | |
6747 | ||
c9f24336 UD |
6748 | * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as |
6749 | IPv6 address in debug output. | |
6750 | ||
9ae10332 RM |
6751 | 2003-01-14 Roland McGrath <roland@redhat.com> |
6752 | ||
6753 | * Makerules (check-abi-%): Use two rules for $(common-objpfx) and | |
6754 | $(objpfx) directories, and get rid of vpath directives. The previous | |
6755 | arrangement resulted in files being written to the source directories | |
6756 | when run in a clean build. Find all .abilist files in $(..)abilist/. | |
6757 | (update-abi-%): Likewise. | |
6758 | (generated): Don't add .symlist files, they'll be intermediates. | |
6759 | ||
6760 | * sysdeps/generic/init-first.c: Add a comment. | |
6761 | ||
6762 | * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. | |
6763 | ||
6764 | * scripts/gen-as-const.awk: Grok lone "--" as a separator between | |
6765 | #includes and expressions. | |
6766 | ||
6767 | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged | |
6768 | config list when it already contains cpu-.*-os.* without / part. | |
6769 | ||
6770 | * Makerules (sed-remove-dotdot): New variable. | |
6771 | ($(common-objpfx)%.make): Use it. Depend on $(before-compile). | |
6772 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. | |
6773 | (check-abi-config): New variable, append /tls or /notls to the tuple. | |
6774 | (check-abi-%): Use that for -v config value. | |
6775 | Find .abilist files in abilist/libfoo.abilist, not in subdir. | |
6776 | * Rules: Move bits/stdio_lim.h generation rules to Makerules. | |
6777 | ||
a8d87c92 UD |
6778 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
6779 | ||
6780 | * manual/install.texi: Correct description of header preparation for | |
6781 | Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. | |
6782 | ||
574b892e UD |
6783 | 2003-01-14 Guido Guenther <agx@sigxcpu.org> |
6784 | ||
6785 | * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, | |
6786 | INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
6787 | INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. | |
6788 | ||
6789 | 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
6790 | ||
6791 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
6792 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
6793 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
6794 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
6795 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
6796 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. | |
6797 | ||
2c255347 UD |
6798 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
6799 | ||
086311a9 UD |
6800 | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol |
6801 | == IPPROTO_TCP. | |
6802 | Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943]. | |
6803 | ||
2f279b14 UD |
6804 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): |
6805 | Fix entry for bit 31. | |
6806 | ||
2c255347 UD |
6807 | * iconvdata/Makefile: Add rules to build IBM866NAV. |
6808 | * iconvdata/ibm866nav.c: New file. | |
6809 | * iconvdata/tst-tables.sh: Add IBM866NAV. | |
6810 | * iconvdata/gconv-modules: Add entries for IBM866NAV. | |
6811 | ||
642eb2a2 UD |
6812 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
6813 | ||
6814 | * string/tester.c (test_strcpy): Use the previously #if 0'ed code | |
6815 | to test void* parameters. | |
6816 | ||
6817 | * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast | |
6818 | source pointer before dereferencing. | |
6819 | (__STRING_SMALLL_GET32): Likewise. | |
6820 | (__memset_gc): Add missing parenthesis around macro arguments. | |
574b892e | 6821 | Patch by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 UD |
6822 | |
6823 | * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler | |
574b892e | 6824 | that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 | 6825 | |
115bb61d UD |
6826 | 2003-01-14 Jakub Jelinek <jakub@redhat.com> |
6827 | ||
6828 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before | |
6829 | defining. | |
6830 | ||
6831 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
6832 | ||
6833 | * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. | |
6834 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it | |
6835 | here. | |
6836 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. | |
6837 | ||
6838 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
6839 | ||
6840 | * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions | |
6841 | from here... | |
6842 | (PSEUDO): ... to here. | |
6843 | * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction | |
6844 | from here... | |
6845 | (PSEUDO): ... to here. | |
6846 | ||
9ef0a840 UD |
6847 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
6848 | ||
6849 | * locale/programs/charmap-dir.c (charmap_readdir): Use struct | |
6850 | dirent64 instead of struct dirent for dirent. Call readdir64 | |
6851 | instead of readdir. | |
6852 | ||
6853 | * locale/programs/locfile.c (siblings_uncached): Use struct | |
6854 | dirent64 instead of struct dirent for other_dentry. Call | |
6855 | readdir64 instead of readdir. | |
6856 | ||
6857 | * elf/ldconfig.c (direntry): Change type to struct dirent64. | |
6858 | (search_dir): Use readdir64 instead of readdir. | |
6859 | Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>. | |
6860 | ||
f1c5213d RM |
6861 | 2003-01-12 Roland McGrath <roland@redhat.com> |
6862 | ||
c01ec9c7 RM |
6863 | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, |
6864 | not strtol. The former is usable in ld.so, the latter not. | |
6865 | ||
f1c5213d RM |
6866 | * include/fcntl.h: Declare __libc_creat. |
6867 | ||
6868 | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, | |
6869 | libhurduser-link.so-no-z-defs): New variables. | |
6870 | ||
6871 | * malloc/malloc.c: Revert last change. | |
6872 | * malloc/malloc.h (_int_*): Move these decls to ... | |
6873 | * include/malloc.h: ... here. Add attribute_hidden. | |
6874 | (_int_valloc): Declare it too. | |
6875 | ||
73398a44 UD |
6876 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
6877 | ||
115bb61d | 6878 | * elf/dl-close.c (_dl_close): Fix typo, must be == not = in |
1376cd8c UD |
6879 | search for removed searchlist. Reported by Roland McGrath. |
6880 | ||
40212ce0 UD |
6881 | * io/ftwtest-sh: Add test for case of symlink to nonexisting file |
6882 | given as start file. | |
6883 | ||
6884 | * io/ftw.c (ftw_startup): Use correct name in check for symlink | |
6885 | without existing target. Patch by Jim Meyering. | |
6886 | ||
73398a44 UD |
6887 | * Makerules (build-shlib-helper): Don't use -z defs linker option |
6888 | if no-z-defs is defined either. | |
6889 | ||
6890 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
6891 | ||
6892 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused | |
6893 | file. | |
6894 | ||
6895 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
6896 | ||
6897 | * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. | |
6898 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
6899 | ||
b2608c22 UD |
6900 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
6901 | ||
6902 | * io/ftwtest-sh: Add test case for relative path with /. at the end. | |
6903 | ||
6904 | 2003-01-12 Jim Meyering <jim@meyering.net> | |
6905 | ||
6906 | * io/ftw.c (ftw_startup): When trying to stat the starting directory, | |
6907 | use the basename if we've already chdir'd into its parent directory. | |
6908 | ||
a5ce5fcf UD |
6909 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
6910 | ||
6911 | * io/ftw.c (process_entry): Use relative path when using chdir() | |
b2608c22 | 6912 | to change directory after call to ftw_dir. |
a5ce5fcf UD |
6913 | * io/ftwtest-sh: Add test for relative path argument to nftw() |
6914 | with FTW_CHDIR option. | |
6915 | ||
b398ae3c UD |
6916 | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6917 | ||
6918 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): | |
6919 | Define for powerpc. | |
6920 | * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment | |
6921 | into account. | |
6922 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | |
6923 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
6924 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
6925 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
6926 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
6927 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. | |
6928 | ||
6929 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
6930 | ||
6931 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute | |
6932 | DTPREL64 and TPREL64 without loadbase applied. | |
6933 | ||
6934 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
6935 | ||
6936 | * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno | |
6937 | for NOT_IN_libc. | |
6938 | ||
6939 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... | |
6940 | * sysdeps/unix/alpha/sysdep.h: ... here. | |
6941 | (PSEUDO_LOADGP): Remove. | |
6942 | (PSEUDO_PROLOGUE): Load GP in non-pic case. | |
6943 | (SYSCALL_ERROR_LABEL): New. | |
6944 | (PSEUDO): Use it in error branch. | |
6945 | (PSEUDO_END): Add $syscall_error label. | |
6946 | ||
1f8613a6 AJ |
6947 | 2003-01-12 Andreas Jaeger <aj@suse.de> |
6948 | ||
6949 | * math/bits/mathcalls.h: Round is a const function. | |
6950 | ||
aff4519d UD |
6951 | 2003-01-11 Jim Meyering <jim@meyering.net> |
6952 | ||
6953 | * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>. | |
6954 | [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>. | |
6955 | Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC. | |
6956 | [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. | |
6957 | [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. | |
6958 | [!_LIBC] (internal_function, dirent64, MAX): Define. | |
6959 | (__set_errno): Define if not already defined. | |
6960 | (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on | |
6961 | the basename, not the entire file name. | |
6962 | (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on | |
6963 | the basename, not the entire file name. | |
6964 | ||
6965 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
6966 | ||
6967 | * string/tester.c (test_strcpy): Disable last added strcpy until | |
6968 | it is fixed. | |
6969 | ||
6970 | 2003-01-11 Philip Blundell <philb@gnu.org> | |
6971 | ||
6972 | * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. | |
6973 | ||
6974 | 2003-01-11 Andreas Schwab <schwab@suse.de> | |
6975 | ||
6976 | * Makerules: Add vpath for %.dynsym and %.so so that the | |
6977 | implicit rule chaining for check-abi works. | |
6978 | ||
6979 | 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
6980 | ||
6981 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
6982 | Add non-PIC case. | |
6983 | ||
6984 | 2003-01-11 Jakub Jelinek <jakub@redhat.com> | |
6985 | ||
6986 | * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. | |
6987 | [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if | |
6988 | gp is used early. | |
6989 | [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. | |
6990 | * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): | |
6991 | Ensure libc.so in DT_NEEDED. | |
6992 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move | |
6993 | CHECK_STATIC_TLS before l_tls_offset use. | |
6994 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): | |
6995 | Likewise. | |
6996 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
6997 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: | |
6998 | Allocate TLS_PRE_TCB_SIZE bytes below result. | |
6999 | (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. | |
7000 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): If | |
7001 | TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS | |
7002 | segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE | |
7003 | bytes below result and add tcb_offset to memsz. | |
7004 | * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. | |
7005 | * sysdeps/ia64/dl-machine.h: Include tls.h. | |
7006 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs | |
7007 | too. | |
7008 | (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. | |
7009 | Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. | |
7010 | * sysdeps/ia64/libc-tls.c: New file. | |
7011 | ||
7012 | 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com> | |
7013 | ||
7014 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. | |
7015 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): | |
7016 | Fix type. Move definition out of #if. | |
7017 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. | |
7018 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. | |
7019 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. | |
7020 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. | |
7021 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. | |
7022 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation | |
7023 | support. | |
7024 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove | |
7025 | ftruncate64, pread64, pwrite64, truncate64 entries. | |
7026 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
7027 | (INLINE_SYSCALL): New version that supports function call like | |
7028 | syscalls. Add __builtin_expect. | |
7029 | (LOADARGS_n): Add argument size safety checks. | |
7030 | (INTERNAL_SYSCALL): New Macro. | |
7031 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. | |
7032 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid | |
7033 | redefinition of elf_fpreg_t and elf_fpregset_t. | |
7034 | ||
7035 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
7036 | ||
7037 | * elf/dl-close.c (_dl_close): Add several asserts. Correct and | |
7038 | simplify test for unloading. If loader of a DSO is unloaded do not | |
7039 | use its scope anymore. Fall back to own scope and adjust opencounts. | |
7040 | Fix several comments. | |
7041 | * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for | |
7042 | the l_searchlist, not only for l_initfini. | |
7043 | ||
7044 | * elf/dl-lookup.c (add_dependencies): Avoid creating relocation | |
7045 | dependencies if objects cannot be removed. Remove object with the | |
7046 | definition as not unloadable if necessary. | |
7047 | ||
7048 | * elf/reldep6.c: Create relocation dependency before closing the first | |
7049 | module. | |
7050 | ||
7051 |