]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove __ptrvalue, __bounded and __unbounded.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
70d9946a
JM
12013-02-13 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #13550]
4 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5 code.
6 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7 prototype or function definition. Rename ubp_* variables and
8 parameters. Remove argv definitions conditional on
9 [__BOUNDED_POINTERS__].
10 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11 * elf/dl-runtime.c (_dl_fixup): Likewise.
12 * include/set-hooks.h (RUN_HOOK): Likewise.
13 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14 definition.
15 * string/strcpy.c (strcpy): Do not use __unbounded.
16 * sysdeps/generic/frame.h (struct layout): Likewise.
17 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22 (__backtrace): Likewise.
23 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24 use __ptrvalue.
25 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28 Likewise.
29 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34 Do not use __unbounded.
35 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36 Rename __unboundedrlimits parameter to rlimits in prototype.
37 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38 Do not use __unbounded.
39 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40 not use __ptrvalue.
41 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45 __ptrvalue or __unbounded.
46 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48 use __unbounded.
49 (__new_msgctl): Do not use __ptrvalue.
50 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51 __unbounded.
52 (__libc_msgrcv): Do not use __ptrvalue.
53 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54 startup_info): Do not use __unbounded.
55 (__libc_start_main): Likewise. Rename ubp_* variables and
56 parameters. Remove argv definitions conditional on
57 [__BOUNDED_POINTERS__].
58 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59 __ptrvalue.
60 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61 use __unbounded.
62 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63 or __ptrvalue.
64 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65 use __unbounded.
66 (__new_shmctl): Do not use __ptrvalue.
67 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69 Likewise.
70 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
72 (__libc_sigaction): Likewise.
73 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
74 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
75 Likewise.
76 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
77
cc7834d6
OB
782013-02-13 Ondřej Bílka <neleai@seznam.cz>
79
ffb1ec7b 80 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
81
82 * string/mempcpy.c: Implement by calling memcpy.
83
bdf02814
SP
842013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
85
c2af38aa
SP
86 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
87
4e92d59e
SP
88 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
89 evaluation.
90
909279a5
SP
91 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
92 values in the mantissa.
93
bdf02814
SP
94 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
95 minimize writes to Z.
96 (sub_magnitudes): Simplify code a bit.
97
cd525923
RM
982013-02-12 Roland McGrath <roland@hack.frob.com>
99
100 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
101 from the message. The linker prefixes all warnings with that already.
102
7e2f0d2d
AS
1032013-02-12 Andreas Schwab <schwab@suse.de>
104
a445af0b
AS
105 [BZ #15078]
106 * posix/regexec.c (extend_buffers): Add parameter min_len.
107 (check_matching): Pass minimum needed length.
108 (clean_state_log_if_needed): Likewise.
109 (get_subexp): Likewise.
110 * posix/Makefile (tests): Add bug-regex34.
111 (bug-regex34-ENV): Define.
112 * posix/bug-regex34.c: New file.
113
7e2f0d2d
AS
114 [BZ #11561]
115 * posix/regcomp.c (parse_bracket_exp): When looking up collating
116 elements compare against the byte sequence of it, not its name.
117 * posix/Makefile (tests): Add bug-regex35.
118 (bug-regex35-ENV): Define.
119 * posix/bug-regex35.c: New file.
120
a175b684
TV
1212013-02-11 Tom de Vries <tom@codesourcery.com>
122
123 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
124 comment.
125 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
126 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
127 (CHECK_EOL): Add undef.
128
310998fe 1292013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
130
131 * bits/stdlib-bsearch.h: New file.
132 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 133 * stdlib/stdlib.h: Likewise.
41eda41d 134
8ded91fb
RM
1352013-02-11 Roland McGrath <roland@hack.frob.com>
136
137 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
138 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
139 declaration.
140 * manual/search.texi (Array Search Function): Add missing const in
141 lfind prototype.
142 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
143 declaration to use rlim_t.
144 (Basic Scheduling Functions): Remove erroneous const from
145 sched_getparam prototype. Remove erroneous * from
146 sched_get_priority_max and sched_get_priority_min prototypes.
147 (Resource Usage): Fix summary @comment on vtimes to refer to
148 sys/vtimes.h rather than vtimes.h.
149 Add missing *s in vtimes prototype.
150 (Limits on Resources): Fix ulimit prototype to return long int.
151 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
152 prototypes to use long int rather than double.
153 (BSD Random): Fix initstate and setstate to use char *, not void *.
154 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
155 prototype to make second argument 'struct aiocb64 *const[]'.
156 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
157 (Status of AIO Operations): Remove erroneous const in aio_return and
158 aio_return64 prototypes.
159 (Synchronizing I/O): Fix sync prototype to return void.
160 * manual/startup.texi (Suboptions): Remove an erroneous const in
161 getsubopt prototype.
162 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
163 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
164 use size_t rather than int.
165 (Scanning All Users): Likewise for getpwent_r.
166 (Setting Groups): Add missing const to setgroups prototype.
167 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
168 * manual/socket.texi (Host Names): Fix gethostbyaddr and
169 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
170 'const void *' rather than 'const char *'.
171 (Host Address Functions): Likewise for inet_ntop.
172 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
173 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
174 ssize_t for return value.
175 (Sending Data): Likewise for send, sendto, sendmsg.
176 (Socket Option Functions): Add a missing const in setsockopt prototype.
177 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
178 use wchar_t for the argument.
179 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
180 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
181 take no arguments.
182 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
183 double/float/long double for second argument.
184 Fix return types of significand, significandf, significandl.
185 * manual/filesys.texi (Setting Permissions): Use mode_t for second
186 argument in fchmod prototype.
187 (File Owner): Use uid_t and gid_t in fchown prototype.
188 (File Times): Add const to utimes, futimes, and lutimes prototypes.
189 (Making Special Files): Use mode_t and dev_t in mknod prototype.
190 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
191 use 'const struct dirent **' as argument types to CMP function pointer
192 argument.
193 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
194 (File Times): Fix summary magic @comment for struct utimbuf and utime
195 to refer to utime.h, not time.h.
196 * manual/string.texi (Argz Functions): Add missing const in
197 argz_extract and argz_next prototypes.
198 (Finding Tokens in a String): Likewise for basename.
199 (String/Array Comparison): Fix typo in wcscasecmp prototype.
200 (Copying and Concatenation): Fix typo in wmemmove prototype.
201 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
202 (Signal Stack): Remove erroneous const in sigstack prototype.
203 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
204 prototype.
205 (Simple Calendar Time): Likewise for stime.
206 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
207 prototype.
208 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
209 say sys/sysctl.h instead.
210 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
211 and vsyslog prototypes.
212
fe77fe6d
TV
2132013-02-11 Tom de Vries <tom@codesourcery.com>
214
215 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
216 Remove.
217
3a09b620
RM
2182013-02-11 Roland McGrath <roland@hack.frob.com>
219
220 * misc/sys/mman.h: Fix typo in mremap comment.
221
550a0b89
RM
2222013-02-08 Roland McGrath <roland@hack.frob.com>
223
224 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
225 the '\0' terminator.
226
a2da1673
JM
2272013-02-08 Joseph Myers <joseph@codesourcery.com>
228
229 [BZ #13550]
230 * debug/segfault.c: Don't include <bp-checks.h>.
231 * sysdeps/generic/bp-checks.h: Remove file.
232 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
233 (__GETDENTS): Don't use CHECK_N.
234 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
235 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
236 (__getgroups): Don't use CHECK_N.
237 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
238 (setgroups): Don't use CHECK_N.
239 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
240 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
241 (__libc_msgrcv): Don't use CHECK_N.
242 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
243 (__libc_msgsnd): Don't use CHECK_N.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
245 <bp-checks.h>.
246 (__libc_pread): Don't use CHECK_N.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
248 include <bp-checks.h>.
249 (__libc_pread64): Don't use CHECK_N.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
251 include <bp-checks.h>.
252 (__libc_pwrite): Don't use CHECK_N.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
254 include <bp-checks.h>.
255 (__libc_pwrite64): Don't use CHECK_N.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
257 <bp-checks.h>.
258 (__libc_pread): Don't use CHECK_N.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
260 include <bp-checks.h>.
261 (__libc_pread64): Don't use CHECK_N.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
263 include <bp-checks.h>.
264 (__libc_pwrite): Don't use CHECK_N.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
266 include <bp-checks.h>.
267 (__libc_pwrite64): Don't use CHECK_N.
268 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
269 (do_pread): Don't use CHECK_N.
270 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
271 (do_pread64): Don't use CHECK_N.
272 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
273 (do_pwrite): Don't use CHECK_N.
274 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
275 (do_pwrite64): Don't use CHECK_N.
276 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
277 (__libc_readv): Don't use CHECK_N.
278 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
279 (semop): Don't use CHECK_N.
280 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
281 <bp-checks.h>.
282 (semtimedop): Don't use CHECK_N.
283 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
284 (__libc_pread): Don't use CHECK_N.
285 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
286 <bp-checks.h>.
287 (__libc_pread64): Don't use CHECK_N.
288 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
289 <bp-checks.h>.
290 (__libc_pwrite): Don't use CHECK_N.
291 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
292 <bp-checks.h>.
293 (__libc_pwrite64): Don't use CHECK_N.
294 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
295 <bp-checks.h>.
296 (__libc_msgrcv): Don't use CHECK_N.
297 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
298 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
299 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
300 (__libc_writev): Don't use CHECK_N.
301
b84660a8
RM
3022013-02-08 Roland McGrath <roland@hack.frob.com>
303
7f3e75f8
RM
304 * string/strcpy.c: Removed unused variable.
305
b84660a8
RM
306 * Makeconfig (+sysdep-includes): Define with := rather than =.
307 Use an existing include/ subdir of each sysdeps dir before it.
308
471514d3
CD
3092013-02-08 Carlos O'Donell <carlos@redhat.com>
310
311 * nscd/connection.c (register_traced_file): Comment function.
312 [HAVE_INOTIFY] (union __inev): Define.
313 [HAVE_INOTIFY] (inotify_check_files): New function.
314 [HAVE_INOTIFY] (clear_db_cache): Likewise.
315 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
316 clear_db_cache.
317 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
318
b2d3c3be
CD
3192013-02-08 Carlos O'Donell <carlos@redhat.com>
320
321 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
322 loaded if not already and that a failure is permanent.
323
b39949d2
CD
3242013-02-08 Carlos O'Donell <carlos@redhat.com>
325
ddacd1db 326 [BZ #15006]
b39949d2
CD
327 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
328 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
329
b2c9eff4
JM
3302013-02-08 Joseph Myers <joseph@codesourcery.com>
331
f3aae3f3
JM
332 [BZ #13550]
333 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
334 (CHECK_1_NULL_OK): Likewise.
335 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
336 (__fxstat): Do not use CHECK_1.
337 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
338 <bp-checks.h>.
339 (___fxstat64): Do not use CHECK_1.
340 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
341 <bp-checks.h>.
342 (__fxstatat): Do not use CHECK_1.
343 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
344 <bp-checks.h>.
345 (__fxstatat64): Do not use CHECK_1.
346 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
347 <bp-checks.h>.
348 (__fxstat): Do not use CHECK_1.
349 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
350 <bp-checks.h>.
351 (__fxstatat): Do not use CHECK_1.
352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
353 <bp-checks.h>.
354 (__getresgid): Do not use CHECK_1.
355 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
356 <bp-checks.h>.
357 (__getresuid): Do not use CHECK_1.
358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
359 <bp-checks.h>.
360 (__lxstat): Do not use CHECK_1.
361 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
362 <bp-checks.h>.
363 (__old_msgctl): Do not use CHECK_1.
364 (__new_msgctl): Likewise.
365 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
366 <bp-checks.h>.
367 (__new_setrlimit): Do not use CHECK_1.
368 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
369 <bp-checks.h>.
370 (__old_shmctl): Do not use CHECK_1.
371 (__new_shmctl): Likewise.
372 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
373 <bp-checks.h>.
374 (__xstat): Do not use CHECK_1.
375 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
376 (__lxstat): Do not use CHECK_1.
377 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
378 <bp-checks.h>.
379 (___lxstat64): Do not use CHECK_1.
380 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
381 (__old_msgctl): Do not use CHECK_1.
382 (__new_msgctl): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
384 <bp-checks.h>.
385 (__gettimeofday): Do not use CHECK_1.
386 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
387 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
389 <bp-checks.h>.
390 (__gettimeofday): Do not use CHECK_1.
391 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
392 (__old_shmctl): Do not use CHECK_1_NULL_OK.
393 (__new_shmctl): Do not use CHECK_1.
394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
395 <bp-checks.h>.
396 (do_sigtimedwait): Do not use CHECK_1.
397 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
398 <bp-checks.h>.
399 (do_sigwaitinfo): Do not use CHECK_1.
400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
401 <bp-checks.h>.
402 (msgctl): Do not use CHECK_1.
403 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
404 <bp-checks.h>.
405 (shmctl): Do not use CHECK_1.
406 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
407 (ustat): Do not use CHECK_1.
408 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
409 <bp-checks.h>.
410 (__fxstat): Do not use CHECK_1.
411 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
412 <bp-checks.h>.
413 (__fxstatat): Do not use CHECK_1.
414 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
415 <bp-checks.h>.
416 (__lxstat): Do not use CHECK_1.
417 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
418 <bp-checks.h>.
419 (__xstat): Do not use CHECK_1.
420 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
421 (__xstat): Do not use CHECK_1.
422 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
423 (___xstat64): Do not use CHECK_1.
424
b2c9eff4
JM
425 [BZ #13550]
426 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
427 definitions.
428 (CHECK_BOUNDS_HIGH): Likewise.
429 * string/strcpy.c: Do not include <bp-checks.h>.
430 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
431
f1d70dad
RM
4322013-02-07 Roland McGrath <roland@hack.frob.com>
433
434 * nscd/nscd-client.h (__nscd_drop_map_ref):
435 Add __attribute__ ((unused)).
436 * nis/nss-nisplus.h (niserr2nss): Likewise.
437
438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
439 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
440
441 * csu/libc-tls.c (init_static_tls, init_slotinfo):
442 Remove inline keyword.
443 * include/rounding-mode.h (round_away): Likewise.
444 * libio/wfileops.c (adjust_wide_data): Likewise.
445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
446 (__m128i_strloadu_tolower): Likewise.
447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
448 (__m128i_strloadu_tolower): Likewise.
449 * time/mktime.c (ydhms_diff): Likewise.
450 * locale/elem-hash.h (elem_hash): Likewise.
451 * locale/setlocale.c (setdata): Likewise.
452 * posix/regex_internal.h (re_string_char_size_at): Likewise.
453 (re_string_wchar_at): Likewise.
454 (bitset_not, bitset_merge, bitset_mask): Likewise.
455 [!(__GNUC__ > 3)] (inline): Remove macro.
456 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
457 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
458 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
459 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
460 * string/memcmp.c (memcmp_bytes): Likewise.
461 * locale/programs/locarchive.c (compute_hashval): Likewise.
462 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
463 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
464 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
465 * nss/getent.c (print_rpc, print_protocols): Likewise.
466 (print_passwd, print_group, print_aliases): Likewise.
467 * nis/nss-nisplus.h (niserr2nss): Likewise.
468 * nscd/connections.c (restart_p): Likewise.
469 Change return type to bool.
470
eab55bfb
RM
4712013-02-05 Roland McGrath <roland@hack.frob.com>
472
7bd642f5
RM
473 * Makeconfig (all-Depend-files): Add existing
474 $(sorted-subdirs:=/Depend) files.
475 (all-subdirs): Remove nss.
476 * sysdeps/unix/inet/Subdirs: Add it here instead.
477 * hesiod/Depend: New file.
478
573c29b2
RM
479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
480 instead of calling alloca.
481
b2e25af0
RM
482 * io/lseek.c (__lseek): Rename to __libc_lseek.
483 Define __lseek as an alias.
484
eab55bfb
RM
485 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
486
9a0d1941
CD
4872013-02-04 Carlos O'Donell <carlos@redhat.com>
488
489 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
490 else clause and remove check for non-standard endianness.
491
b83bbec4
DM
4922013-02-04 David S. Miller <davem@davemloft.net>
493
494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
495
6277fdab
JM
4962013-02-04 Joseph Myers <joseph@codesourcery.com>
497
498 [BZ #13550]
499 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
500 (__ubp_memchr): Remove prototype.
501 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
502 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
503 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
504 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
505 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
506 Remove alias.
507 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
508 (__ubp_memchr): Likewise.
509 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
510 (__ubp_memchr): Likewise.
511 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
512 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
513 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
515 CHECK_STRING.
516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
517 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
518 (__getcwd): Do not use CHECK_STRING.
519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
520 <bp-checks.h>.
521 (__real_chown): Do not use CHECK_STRING.
522 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
523 <bp-checks.h>.
524 (fchownat): Do not use CHECK_STRING.
525 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
526 CHECK_STRING.
527 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
528 <bp-checks.h>.
529 (__lchown): Do not use CHECK_STRING.
530 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
531 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
532 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
533 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
535 include <bp-checks.h>.
536 (truncate64): Do not use CHECK_STRING.
537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
538 <bp-checks.h>.
539 (__real_chown): Do not use CHECK_STRING.
540 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
541 <bp-checks.h>.
542 (__lchown): Do not use CHECK_STRING.
543 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
544 <bp-checks.h>.
545 (__chown): Do not use CHECK_STRING.
546 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
547 <bp-checks.h>.
548 (truncate64): Do not use CHECK_STRING.
549 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
550 Likewise.
551 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
552 (__xmknod): Do not use CHECK_STRING.
553 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
554 <bp-checks.h>.
555 (__xmknodat): Do not use CHECK_STRING.
556 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
557 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
558
903ae060
AS
5592013-02-04 Andreas Schwab <schwab@suse.de>
560
561 [BZ #14142]
562 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
563 * include/netdb.h: Likewise for h_errno.
564 * elf/tst-stackguard1.c: Include <tls.h>.
565
542f9466
JK
5662013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
567
568 * elf/link.h (struct link_map): Extend the l_addr comment.
569 * include/link.h (struct link_map): Likewise.
570
e782a927
JM
5712013-02-01 Joseph Myers <joseph@codesourcery.com>
572
573 [BZ #13550]
574 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
575 (BOUNDED_1): Remove macro.
576 * debug/backtrace.c: Don't include <bp-checks.h>.
577 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
578 (__backtrace): Likewise.
579 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
580 <bp-checks.h>.
581 (__backtrace): Don't use BOUNDED_1.
582 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
583 <bp-checks.h>.
584 (__backtrace): Don't use BOUNDED_1.
585 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
586 (__backtrace): Don't use BOUNDED_1.
587 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
588 (shmat): Don't use BOUNDED_N.
589
8cf28c5e
JM
5902013-01-31 Joseph Myers <joseph@codesourcery.com>
591
3a7ac8a0
JM
592 [BZ #13550]
593 * sysdeps/generic/bp-start.h: Remove file.
594 * csu/libc-start.c: Don't include <bp-start.h>.
595 (LIBC_START_MAIN): Set up __environ directly instead of using
596 INIT_ARGV_and_ENVIRON.
597 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
598 <bp-start.h>.
599
f3499f95
JM
600 [BZ #13550]
601 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
602 definitions.
603 (CHECK_FCNTL): Likewise.
604 (CHECK_N_PAGES): Likewise.
605
32a45bea
JM
606 [BZ #13550]
607 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
608 definitions.
609 (CHECK_SIGSET_NULL_OK): Likewise.
610 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
611 <bp-checks.h>.
612 (sigpending): Don't use CHECK_SIGSET.
613 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
614 <bp-checks.h>.
615 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
616 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
617 <bp-checks.h>.
618 (do_sigsuspend): Don't use CHECK_SIGSET.
619 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
620 use CHECK_SIGSET.
621 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
622 (do_sigwait): Don't use CHECK_SIGSET.
623 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
624 use CHECK_SIGSET.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
626 include <bp-checks.h>.
627 (sigpending): Don't use CHECK_SIGSET.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
629 include <bp-checks.h>.
630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
631 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
632 <bp-checks.h>.
633 (sigpending): Don't use CHECK_SIGSET.
634 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
635 <bp-checks.h>.
636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
637
2e8a5c8c
JM
638 [BZ #13550]
639 * sysdeps/generic/bp-semctl.h: Remove file.
640 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
641 <bp-checks.h> and <bp-semctl.h>.
642 (__old_semctl): Don't use CHECK_SEMCTL.
643 (__new_semctl): Likewise.
644 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
645 and <bp-semctl.h>.
646 (__old_semctl): Don't use CHECK_SEMCTL.
647 (__new_semctl): Likewise.
648 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
649 <bp-checks.h> and <bp-semctl.h>.
650 (__old_semctl): Don't use CHECK_SEMCTL.
651 (__new_semctl): Likewise.
652 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
653 <bp-checks.h> and <bp-semctl.h>.
654 (semctl): Don't use CHECK_SEMCTL.
655
c2d54929
JM
656 [BZ #13550]
657 * Makerules (elide-bp-thunks): Remove variable.
658 (elide-routines.oS): Don't use $(elide-bp-thunks).
659 (elide-routines.os): Likewise.
660 (elide-routines.o): Likewise.
661 (elide-routines.op): Likewise.
662 (elide-routines.og): Likewise.
663 (objects): Don't use $(bp-thunks).
664 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
665 include.
666 (common-generated): Do not add s-proto-bp.d.
667 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
668 (int): Likewise.
669 (typ): Likewise.
670 Do not generate makefile rules for bounded-pointer thunks.
671 * sysdeps/generic/bp-thunks.h: Remove file.
672 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
673 * sysdeps/unix/s-proto-bp.S: Likewise.
674
8cf28c5e
JM
675 [BZ #15062]
676 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
677 parts of result separately when argument is not close to line from
678 -i to i and one part of argument is small.
679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
681 * math/libm-test.inc (cacos_test): Add more tests.
682 (casin_test): Likewise.
683 (casinh_test): Likewise.
684 * sysdeps/i386/fpu/libm-test-ulps: Update.
685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
686
c4e33b8d
DM
6872013-01-31 David S. Miller <davem@davemloft.net>
688
689 * po/de.po: Update from translation team.
690
3b60b421
MK
6912013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
692
693 * time/tzfile.c: Include stdint.h for SIZE_MAX.
694
bb931195
TS
6952013-01-25 Thomas Schwinge <thomas@codesourcery.com>
696
b5a5da23
TS
697 * configure.in (_AC_PROG_CC_C89): New definition.
698 * configure: Regenerate.
699
bb931195
TS
700 * configure.in (AC_PROG_CPP): New definition.
701 * configure: Regenerate.
702
8c53a12c
JM
7032013-01-23 Joseph Myers <joseph@codesourcery.com>
704
705 * debug/tst-backtrace.h: New file.
706 * debug/tst-backtrace2.c: Include tst-backtrace.h.
707 (ret): Remove variable.
708 (x): Likewise.
709 (FAIL): Remove macro.
710 (NO_INLINE): Likewise.
711 (fn1): Use match function instead of strstr.
712 * debug/tst-backtrace3.c: Include tst-backtrace.h.
713 (ret): Remove variable.
714 (x): Likewise.
715 (FAIL): Remove macro.
716 (NO_INLINE): Likewise.
717 (fn): Use match function instead of strstr.
718 * debug/tst-backtrace4.c: Include tst-backtrace.h.
719 (ret): Remove variable.
720 (x): Likewise.
721 (FAIL): Remove macro.
722 (NO_INLINE): Likewise.
723 (handle_signal): Use match function instead of strstr.
724 * debug/tst-backtrace5.c: Include tst-backtrace.h.
725 (ret): Remove variable.
726 (x): Likewise.
727 (FAIL): Remove macro.
728 (NO_INLINE): Likewise.
729 (handle_signal): Use match function instead of strstr.
730
4858fa2a
RM
7312013-01-23 Roland McGrath <roland@hack.frob.com>
732
733 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
734
bae8e7f5
DM
7352013-01-23 David S. Miller <davem@davemloft.net>
736
737 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
738 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
739 argument of CAS if possible.
740 * sysdeps/sparc/sparc64/bits/atomic.h
741 (__arch_compare_and_exchange_val_32_acq): Likewise.
742 (__arch_compare_and_exchange_val_64_acq): Likewise.
743
9cbbc4ae
PT
7442013-01-23 Pino Toscano <toscano.pino@tiscali.it>
745
746 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
747 * sysdeps/posix/ulimit.c: ... this.
92a601b8 748 Include <limits.h>.
67b3f58c 749 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 750
5655a0b5
AC
7512013-01-23 Adam Conrad <adconrad@0c3.net>
752
753 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
754 (LDFLAGS-tst-array5): Likewise.
755
052aff95
JM
7562013-01-23 Joseph Myers <joseph@codesourcery.com>
757
758 [BZ #15036]
759 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
760 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
761 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
762 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
763
7c1e01aa
DM
7642013-01-21 David S. Miller <davem@davemloft.net>
765
766 * sysdeps/sparc/backtrace.c: New file.
767 * sysdeps/sparc/sparc32/backtrace.h: New file.
768 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
769 * sysdeps/sparc/sparc64/backtrace.h: New file.
770 * sysdeps/sparc/sparc64/backtrace.c: Delete.
771 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
772 -funwind-tables.
773
ab087e0a
AS
7742013-01-21 Andreas Schwab <schwab@suse.de>
775
776 [BZ #15020]
777 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
778 closed its stdout.
779
ed689c2f
AS
7802013-01-20 Andreas Schwab <schwab@linux-m68k.org>
781
782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
783 "mpa2.h".
784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
785
31d470ac
JM
7862013-01-18 Joseph Myers <joseph@codesourcery.com>
787 Mark Mitchell <mark@codesourcery.com>
788 Tom de Vries <tom@codesourcery.com>
789 Paul Pluzhnikov <ppluzhnikov@google.com>
790
791 * debug/tst-backtrace2.c: New file.
792 * debug/tst-backtrace3.c: Likewise.
793 * debug/tst-backtrace4.c: Likewise.
794 * debug/tst-backtrace5.c: Likewise.
795 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
796 (CFLAGS-tst-backtrace3.c): Likewise.
797 (CFLAGS-tst-backtrace4.c): Likewise.
798 (CFLAGS-tst-backtrace5.c): Likewise.
799 (LDFLAGS-tst-backtrace2): Likewise.
800 (LDFLAGS-tst-backtrace3): Likewise.
801 (LDFLAGS-tst-backtrace4): Likewise.
802 (LDFLAGS-tst-backtrace5): Likewise.
803 (tests): Add new tests tst-backtrace2, tst-backtrace3,
804 tst-backtrace4 and tst-backtrace5.
805
90567f30 8062013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
807 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
808
809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
810 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
812 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
814 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
815 "+r" and remove output regs list as redundant. Add explicit inline
816 asm to specify register of return val to work around compiler codegen
817 bug. Remove (int) cast on return value. Add return type parameter to
818 use in macro so that this macro does not truncate return value for
819 64-bit values.
820 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
821 pass to INTERNAL_VSYSCALL_NCS.
822 (INLINE_VSYSCALL): Add 'long int' as return type to
823 INTERNAL_VSYSCALL_NCS macro invocation.
824 (INTERNAL_VSYSCALL): Add 'long int' as return type to
825 INTERNAL_VSYSCALL_NCS macro invocation.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
827
d3b9ea61
SP
8282013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
829
0b57daeb
SP
830 [BZ #14496]
831 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
832 Fix application of SIMD FP exception mask.
833
caa99d06
SP
834 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
835 mp_no from a power of two.
836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
837 __mpexp_twomm1. Use __pow_mp.
838
d3b9ea61
SP
839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
840 multiplication.
841
1dbaee3c
DM
8422013-01-17 David S. Miller <davem@davemloft.net>
843
844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
845
728d7b43
JM
8462013-01-17 Joseph Myers <joseph@codesourcery.com>
847
848 [BZ #15023]
849 * include/complex.h: Condition contents on [!_COMPLEX_H].
850 (__kernel_casinhf): New prototype.
851 (__kernel_casinh): Likewise.
852 (__kernel_casinhl): Likewise.
853 * math/Makefile (libm_calls): Add k_casinh.
854 * math/k_casinh.c: New file.
855 * math/k_casinhf.c: Likewise.
856 * math/k_casinhl.c: Likewise.
857 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
858 finite nonzero arguments.
859 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
860 finite nonzero arguments.
861 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
862 finite nonzero arguments.
863 * math/s_casinh.c: Do not include <float.h>.
864 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
865 * math/s_casinhf.c: Do not include <float.h>.
866 (__casinhf): Move code for finite nonzero arguments to
867 k_casinhf.c.
868 * math/s_casinhl.c: Do not include <float.h>.
869 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
870 redefine.
871 (__casinhl): Move code for finite nonzero arguments to
872 k_casinhl.c.
873 * math/libm-test.inc (cacos_test): Add more tests.
874 * sysdeps/i386/fpu/libm-test-ulps: Update.
875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
876
2a26ef3a
PT
8772013-01-17 Pino Toscano <toscano.pino@tiscali.it>
878
879 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
880 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
881 [!HAVE_MREMAP]: Remove [defined linux] case.
882 * malloc/arena.c: Do not include <malloc-sysdep.h>.
883
a897655d
SP
8842013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
885
886 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
887
881ebe89 8882013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
889
890 * elf/elf.h (R_386_SIZE32): New relocation.
891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
892 R_386_SIZE32.
893 (elf_machine_rela): Likewise.
894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
895 R_X86_64_SIZE64 and R_X86_64_SIZE32.
896
59981e9b
JM
8972013-01-17 Joseph Myers <joseph@codesourcery.com>
898
899 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
900 (FP_FAST_FMA): Do not define.
901 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
902 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
903 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
904 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
905 !_SOFT_FLOAT]: Likewise.
906 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
908 value.
909 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
910 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
913 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
914 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
915 file.
916
cfa8054f
AS
9172013-01-16 Andreas Schwab <schwab@suse.de>
918
919 [BZ #14327]
920 * include/stdlib.h (__mktemp): Add declaration.
921 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
922 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
923
dd930cc5
SP
9242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
925
881ebe89
SP
926 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
927 definitions.
928 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
929 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
930 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
931 definitions here.
932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
933 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
934 definitions.
935 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
936 and ONE.
937 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
938 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
940 definitions.
941 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
942 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
943 definitions.
944 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 945
dd930cc5
SP
946 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
947
c19a9f89
DM
9482013-01-15 David S. Miller <davem@davemloft.net>
949
1aa61767
DM
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
951 trunc{,f} to libm-sysdep_routes.
952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
954 file.
955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
957 file.
958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
959 file.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
962 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
963 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
964 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
965 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
966 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
967 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
968
c42d5e98
DM
969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
970 nearbyint{,f} to libm-sysdep_routes.
971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
973 New file.
974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
975 file.
976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
977 New file.
978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
979 file.
980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
983 file.
984 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
986 file.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
988 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
989 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
990
c19a9f89
DM
991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
992 libc_feholdexcept and libc_fesetenv.
993
357679d2
MF
9942013-01-15 Mike Frysinger <vapier@gentoo.org>
995
996 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
997
65a82e3d
DM
9982013-01-14 David S. Miller <davem@davemloft.net>
999
8b954ab9
DM
1000 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1001 (SPARC_ASM_VIS2_IFUNC): Likewise.
1002 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1004 use of 'siam' instruction.
1005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1006 Likewise.
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1008 Likewise.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1010 Likewise.
1011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1016 file.
1017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1018 file.
1019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1020 file.
1021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1022 file.
1023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1028 new VIS2 routines.
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1032 Likewise.
1033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1038 routines to libm-sysdep_routines.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1040
65a82e3d
DM
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1042 fdim/fdimf to libm-sysdep_routines.
1043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1044 file.
1045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1047 file.
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1051 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1052 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1053 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1054 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1055
e34ab705
SP
10562013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
2a91b573
SP
1058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1059 to optimize copies.
1060
1066a534
SP
1061 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1064
e34ab705
SP
1065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1066 local variable MPTWO.
1067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1068 Likewise.
1069
aba5e596
MF
10702013-01-13 Mike Frysinger <vapier@gentoo.org>
1071
1072 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1073 GLOB_NOESCAPE.
1074
e557e9e5
MF
10752013-01-13 Mike Frysinger <vapier@gentoo.org>
1076
1077 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1078
0428cec9
MF
10792013-01-13 Mike Frysinger <vapier@gentoo.org>
1080
1081 * manual/pattern.texi (glob_t): Document gl_flags.
1082 (glob64_t): Likewise.
1083
8794a964
DM
10842013-01-11 David S. Miller <davem@davemloft.net>
1085
66438c3f
RM
1086 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1087 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1088 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1089 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1090 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1091 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1092 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1093 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1094 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1095 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1096 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1097 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1098 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1099
4ae4244d
DM
1100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1101 sparc V9 rather than using V8 code.
1102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1104
8794a964
DM
1105 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1106 Move to...
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1108 Here.
1109
6270516e
RM
11102013-01-11 Roland McGrath <roland@hack.frob.com>
1111
1112 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1113 not in the main loop.
1114 * configure: Regenerated.
1115
6a57d931
JM
11162013-01-11 Joseph Myers <joseph@codesourcery.com>
1117
1118 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1119 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1120 to just #else.
1121 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1122 [!__GLIBC_HAVE_LONG_LONG] case.
1123 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1124 condition to just #else.
1125 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1126 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1127 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1128 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1129 unconditional.
1130 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1131 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1132 #elif condition to just #else.
1133 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1134 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1135 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1136 #elif condition to just #else.
1137
0e8529e9
SE
11382013-01-11 Steve Ellcey <sellcey@mips.com>
1139
1140 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1141 (EF_MIPS_ARCH_64): Fix value.
1142 (EF_MIPS_ARCH_32R2): New.
1143 (EF_MIPS_ARCH_64R2): New.
1144
740b3dbe
L
11452013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * Makeconfig (+link-pie-before-libc): New.
1148 (+link-pie-after-libc): Likewise.
1149 (+link-pie-tests): Likewise.
1150 (+link-pie): Rewritten.
1151 (link-before-libc): Remove $(config-LDFLAGS).
1152 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1153 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1154 (config-LDFLAGS): Renamed to ...
1155 (rtld-LDFLAGS): This.
1156 (rtld-tests-LDFLAGS): New macro.
1157 (link-libc-rpath-link): Likewise.
1158 (link-libc-tests-rpath-link): Likewise.
1159 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1160 (link-libc): Prepand $(link-libc-rpath-link).
1161 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1162 (test-program-prefix): New macro.
1163 (test-via-rtld-prefix): Likewise.
1164 (test-program-cmd): Likewise.
1165 (host-test-program-cmd): Likewise.
1166 * Makefile ($(common-objpfx)testrun.sh): Replace
1167 $(run-program-prefix) with $(test-program-prefix).
1168 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1169 $(rtld-LDFLAGS).
1170 ($(common-objpfx)shlib.lds): Likewise.
1171 (build-module-helper): Likewise.
1172 ($(common-objpfx)format.lds): Likewise.
1173 * Rules (binaries-pie-tests): New.
1174 (binaries-pie-notests): Likewise.
1175 (binaries-pie): Rewritten.
1176 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1177 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1178 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1179 (make-test-out): Replace $(host-built-program-cmd) with
1180 $(host-test-program-cmd).
1181 * config.make.in (build-hardcoded-path-in-tests): New variable.
1182 * configure.in (--enable-hardcoded-path-in-tests): New configure
1183 option.
1184 (hardcoded_path_in_tests): New AC_SUBST.
1185 * configure: Regenerated.
1186 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1187 $(built-program-cmd) with $(test-program-cmd).
1188 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1189 (test_program_cmd): This.
1190 * elf/Makefile ($(objpfx)order.out): Run test with
1191 $(test-program-prefix).
1192 ($(objpfx)order2.out): Likewise.
1193 ($(objpfx)tst-initorder.out): Likewise.
1194 ($(objpfx)tst-initorder2.out): Likewise.
1195 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1196 $(test-program-cmd).
1197 ($(objpfx)tst-array1-static.out): Likewise.
1198 ($(objpfx)tst-array2.out): Likewise.
1199 ($(objpfx)tst-array3.out): Likewise.
1200 ($(objpfx)tst-array4.out): Likewise.
1201 ($(objpfx)tst-array5.out): Likewise.
1202 ($(objpfx)tst-array5-static.out): Likewise.
1203 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1204 $(test-program-cmd).
1205 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1206 $(run-program-prefix) with $(test-program-prefix).
1207 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1208 (test_program_prefix): This.
1209 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1210 $(run-program-prefix) with $(test-program-prefix).
1211 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1212 (test_program_prefix): This.
1213 * iconvdata/tst-tables.sh: Likewise.
1214 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1215 $(run-program-prefix) with $(test-program-prefix).
1216 ($(objpfx)tst-translit.out): Likewise.
1217 ($(objpfx)tst-gettext2.out): Likewise.
1218 ($(objpfx)tst-gettext4.out): Likewise.
1219 ($(objpfx)tst-gettext6.out): Likewise.
1220 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1221 (test_program_prefix): This.
1222 * intl/tst-gettext2.sh: Likewise.
1223 * intl/tst-gettext4.sh Likewise.
1224 * intl/tst-gettext6.sh: Likewise.
1225 * intl/tst-translit.sh: Likewise.
1226 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1227 with $(test-program-cmd).
1228 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1229 $(run-program-prefix) with $(test-program-prefix).
1230 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1231 (test_program_prefix): This.
1232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1233 $(run-program-prefix) with $(test-program-prefix).
1234 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1235 (test_program_prefix): This.
1236 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1237 * posix/Makefile ($(objpfx)globtest.out): Replace
1238 $(run-via-rtld-prefix) and $(test-wrapper) with
1239 $(test-program-prefix) and $(test-via-rtld-prefix).
1240 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1241 $(test-program-prefix).
1242 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1243 $(host-test-program-cmd).
1244 (tst-spawn-ARGS): Likewise.
1245 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1246 $(test-program-prefix).
1247 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1248 (test_via_rtld_prefix): This.
1249 (test_wrapper): Renamed to ...
1250 (test_program_prefix): This.
1251 (run_program_prefix): Replaced by test_program_prefix.
1252 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1253 (test_program_prefix): This.
1254 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1255 with $(host-test-program-cmd).
1256 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1257 $(run-program-prefix) with $(test-program-prefix).
1258 ($(objpfx)tst-printf.out): Likewise.
1259 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1260 $(test-program-cmd).
1261 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1262 (test_program_prefix): This.
1263 * stdio-common/tst-unbputc.sh: Likewise.
1264 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1265 $(run-program-prefix) with $(test-program-prefix).
1266 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1267 (test_program_prefix): This.
1268 * string/Makefile ($(objpfx)tst-svc.out): Replace
1269 $(built-program-cmd) with $(test-program-cmd).
1270
c6fe55cf
AJ
12712013-01-11 Andreas Jaeger <aj@suse.de>
1272
1273 [BZ #15003]
1274 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1275 value. Sync with Linux 3.7.
1276
9e6919c8
DM
12772013-01-10 David S. Miller <davem@davemloft.net>
1278
1279 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1282
1c9f1a02
RM
12832013-01-10 Roland McGrath <roland@hack.frob.com>
1284
1285 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1286 never set.
1287 * configure: Regenerated.
1288
b9de2dde
DM
12892013-01-10 David S. Miller <davem@davemloft.net>
1290
1291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1292 sparc V9 rather than using V8 code.
1293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1295
e7f68ef4
RM
12962013-01-10 Roland McGrath <roland@hack.frob.com>
1297
1298 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1299 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1300 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1301 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1302 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1303 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1304 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1305 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1306 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1307 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1308 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1309 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1310 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1311 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1312 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1313 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1314 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1315 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1316 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1317 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1318 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1319 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1320 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1321 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1322 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1323 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1324 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1325
5a47cc9c
DM
13262013-01-10 David S. Miller <davem@davemloft.net>
1327
1328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1329
4cf8f209
L
13302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 * posix/Makefile (tests-static): New variable.
1333 (tests): Add $(tests-static).
1334 (tst-exec-static-ARGS): New variable.
1335 (tst-spawn-static-ARGS): Likewise.
1336 * posix/tst-exec-static.c: New file.
1337 * posix/tst-spawn-static.c: Likewise.
1338 * posix/tst-exec.c: Support run directly.
1339 * posix/tst-spawn.c: Likewise.
1340
fed0faa1
JM
13412013-01-10 Joseph Myers <joseph@codesourcery.com>
1342
828beb13
JM
1343 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1344 long.
1345 * math/bits/mathcalls.h (llrint): Likewise.
1346 (llround): Likewise.
1347 * stdlib/stdlib.h (struct drand48_data): Likewise.
1348 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1349 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1350 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1351 Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1353 Likewise.
1354 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1355 (elf_greg_t): Likewise.
1356 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1357 (__jmp_buf): Likewise.
1358 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1359 definitions.
1360 (llrint): Likewise, for all definitions.
1361 (llrintl): Likewise.
1362
fed0faa1
JM
1363 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1364 Remove [__GNUC__] condition.
1365 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1366 condition to just [__USE_ISOC99].
1367 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1368
1a20cb20
L
13692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 [BZ #14200]
1372 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1373 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1374 defined.
1375 (_POSIX_V6_ILP32_OFF32): Likewise.
1376 (_XBS5_ILP32_OFF32): Likewise.
1377 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1378 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1379
751b85f7
SP
13802013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1381
7490eb81
SP
1382 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1383
751b85f7
SP
1384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1385 doubles __mpexp_twomm1. Adjust usage.
1386 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1387 Remove.
1388
988197f0
AS
13892013-01-10 Andreas Schwab <schwab@suse.de>
1390
1391 [BZ #14964]
1392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1393 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1394
e83d7298
DM
13952013-01-09 David S. Miller <davem@davemloft.net>
1396
034ed64b 1397 [BZ #15003]
e83d7298
DM
1398 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1399 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1400 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1401 TCP_FASTOPEN): Define.
1402 (tcp_repair_opt): New structure.
1403 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1404 enum values.
1405 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1406 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1407 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1408 (tcp_cookie_transactions): New structure.
1409
d5e0b9bd
AB
14102013-01-09 Anton Blanchard <anton@samba.org>
1411
1412 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1413 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1416
0c07e3ea
JM
14172013-01-09 Joseph Myers <joseph@codesourcery.com>
1418
1419 * include/features.h (__USE_ANSI): Remove.
1420
232f7002
RM
14212013-01-09 Roland McGrath <roland@hack.frob.com>
1422
ad98e30c
RM
1423 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1424
232f7002
RM
1425 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1426
950c99ca
SP
14272013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
b5792741
SP
1429 * sysdeps/s390/fpu/libm-test-ulps: Update.
1430
47cf2278
SP
1431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1432
950c99ca
SP
1433 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1434 (__acr): Likewise.
1435 (__cpy): Likewise.
1436 (norm): Likewise.
1437 (denorm): Likewise.
1438 (__mp_dbl): Likewise.
1439 (__dbl_mp): Likewise.
1440 (add_magnitudes): Likewise.
1441 (sub_magnitudes): Likewise.
1442 (__add): Likewise.
1443 (__sub): Likewise.
1444 (__mul): Likewise.
1445 (__inv): Likewise.
1446 (__dvd): Likewise.
1447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1448 (__acr): Likewise.
1449 (__cpy): Likewise.
1450 (norm): Likewise.
1451 (denorm): Likewise.
1452 (__mp_dbl): Likewise.
1453 (__dbl_mp): Likewise.
1454 (add_magnitudes): Likewise.
1455 (sub_magnitudes): Likewise.
1456 (__add): Likewise.
1457 (__sub): Likewise.
1458 (__mul): Likewise.
1459 (__inv): Likewise.
1460 (__dvd): Likewise.
1461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1462 (__acr): Likewise.
1463 (__cpy): Likewise.
1464 (norm): Likewise.
1465 (denorm): Likewise.
1466 (__mp_dbl): Likewise.
1467 (__dbl_mp): Likewise.
1468 (add_magnitudes): Likewise.
1469 (sub_magnitudes): Likewise.
1470 (__add): Likewise.
1471 (__sub): Likewise.
1472 (__mul): Likewise.
1473 (__inv): Likewise.
1474 (__dvd): Likewise.
1475
eede9df9
JM
14762013-01-08 Joseph Myers <joseph@codesourcery.com>
1477
1478 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1479 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1480 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1481 2 && __USE_EXTERN_INLINES]: Likewise.
1482
c40ea3d9
AJ
14832013-01-08 Andreas Jaeger <aj@suse.de>
1484
1485 [BZ# 14985]
1486 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1487 Remove.
1488 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1489 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1490
2ccdea26
AB
14912013-01-07 Anton Blanchard <anton@samba.org>
1492
1493 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1494 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1495 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1496 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1497 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1498 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1499 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1500 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1508 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1516 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1517 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1520 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1523 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1525 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1536
a9708fed
JM
15372013-01-07 Joseph Myers <joseph@codesourcery.com>
1538
375607b9
JM
1539 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1540 (__MALLOC_PMT): Likewise.
1541 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1542 [__GNUC__], only on [_LIBC].
1543 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1544 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1545 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1546 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1547 forward declaration.
1548 (realloc_hook_ini): Likewise.
1549 (memalign_hook_ini): Likewise.
1550 (__libc_memalign): Do not use __MALLOC_PMT in variable
1551 declaration.
1552 (__libc_valloc): Likewise.
1553 (__libc_pvalloc): Likewise.
1554 (__libc_calloc): Likewise.
1555 (__posix_memalign): Likewise.
1556
a9708fed
JM
1557 [BZ #14996]
1558 * math/s_casinh.c: Include <float.h>.
1559 (__casinh): Do not do computation with squaring and square root
1560 for large arguments.
1561 * math/s_casinhf.c: Include <float.h>.
1562 (__casinhf): Do not do computation with squaring and square root
1563 for large arguments.
1564 * math/s_casinhl.c: Include <float.h>.
1565 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1566 (__casinhl): Do not do computation with squaring and square root
1567 for large arguments.
1568 * math/libm-test.inc (casin_test): Add more tests.
1569 (casinh_test): Likewise.
1570 * sysdeps/i386/fpu/libm-test-ulps: Update.
1571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1572
afec409a
L
15732013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1576 (__x86_64_raw_data_cache_size): Likewise.
1577 (__x86_64_data_cache_size_half): Likewise.
1578 (__x86_64_raw_data_cache_size_half): Likewise.
1579 (__x86_64_shared_cache_size): Likewise.
1580 (__x86_64_raw_shared_cache_size): Likewise.
1581 (__x86_64_shared_cache_size_half): Likewise.
1582 (__x86_64_raw_shared_cache_size_half): Likewise.
1583 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1584 to ...
1585 (__x86_data_cache_size): This.
1586 (__x86_64_raw_data_cache_size): Renamed to ...
1587 (__x86_raw_data_cache_size): This.
1588 (__x86_64_data_cache_size_half): Renamed to ...
1589 (__x86_data_cache_size_half): This.
1590 (__x86_64_raw_data_cache_size_half): Renamed to ...
1591 (__x86_raw_data_cache_size_half): This.
1592 (__x86_64_shared_cache_size): Renamed to ...
1593 (__x86_shared_cache_size): This.
1594 (__x86_64_raw_shared_cache_size): Renamed to ...
1595 (__x86_raw_shared_cache_size): This.
1596 (__x86_64_shared_cache_size_half): Renamed to ...
1597 (__x86_shared_cache_size_half): This.
1598 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1599 (__x86_raw_shared_cache_size_half): This.
1600 * sysdeps/x86_64/memcpy.S: Updated.
1601 * sysdeps/x86_64/memset.S: Likewise.
1602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1605
0b3986d0
DM
16062013-01-04 David S. Miller <davem@davemloft.net>
1607
1608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1609
e47686e9
AS
16102013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1611
d643bac1
AS
1612 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1613 1 to avoid redefinition warning.
1614 (__USE_GNU): Don't define.
1615 (init_signaling_nan): Protoize.
1616
e47686e9
AS
1617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1618
b18decba
SP
16192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
fffb407f
SP
1621 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1623 (__cpymn): Likewise.
1624 (norm): Remove commented code.
1625 (denorm): Likewise.
1626 (__mp_dbl): Likewise.
1627 (__inv): Likewise.
1628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1629 (__cpymn): Likewise.
1630 (norm): Remove commented code.
1631 (denorm): Likewise.
1632 (__mp_dbl): Likewise.
1633 (__inv): Likewise.
1634
b18decba
SP
1635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1636 mp_no value for 1.0 and 2.0.
1637 (norm): Use RADIXI instead of radixi.d.
1638 (denorm): Likewise.
1639 (__mul): Use 0.0 instead of zero.d.
1640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1641 mp_no value for 1.0 and 2.0.
1642 (norm): Use RADIXI instead of radixi.d.
1643 (denorm): Likewise.
1644 (__mul): Use 0.0 instead of zero.d.
1645
cdc1c96f
JM
16462013-01-04 Joseph Myers <joseph@codesourcery.com>
1647
1648 [BZ #14994]
1649 * math/s_casinh.c (__casinh): Reduce finite argument to first
1650 quadrant then set signs of results at the end.
1651 * math/s_casinhf.c (__casinhf): Likewise.
1652 * math/s_casinhl.c (__casinhl): Likewise.
1653 * math/libm-test.inc (casin_test): Add more tests.
1654 (casinh_test): Likewise.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1657
302913e1
SP
16582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1659
6420d207
SP
1660 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1661
a9e48ab4
SP
1662 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1663
b7837264
SP
1664 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1665 declarations.
1666 (denorm): Likewise.
1667 (__mp_dbl): Likewise.
1668 (__inv): Likewise.
1669
f8af25d2
SP
1670 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1671 and adjust the header comment.
1672
302913e1
SP
1673 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1674 variable name from declaration.
1675
5d7dd1ca
L
16762013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1679 Initialize COMMON_CPUID_INDEX_7 element.
1680 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1681 (CPUID_RTM): Likewise.
1682 (HAS_RTM): Likewise.
1683 (COMMON_CPUID_INDEX_7): New enum.
1684
2f5f40f4
AS
16852013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1686
1687 [BZ #14981]
1688 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1689 size is zero, record memory as freed.
1690
4056f4a0
AJ
16912013-01-03 Andreas Jaeger <aj@suse.de>
1692
1693 * po/ia.po: Add new Interlingua translation.
1694
ab15736f 16952012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1696
1697 * locale/programs/localedef.c: Fix description of '--posix' flag.
1698
568035b7
JM
16992013-01-02 Joseph Myers <joseph@codesourcery.com>
1700
e6898b8d
JM
1701 * NEWS: Update dates in second copyright notice.
1702 * README: Update copyright dates in example.
1703 * manual/libc.texinfo: Update copyright dates.
1704 * scripts/test-installation.pl: Update copyright date in --version
1705 output.
1706
0e2f9562
JM
1707 * hurd/ctty-input.c: Fix copyright notice formatting.
1708 * hurd/ctty-output.c: Likewise.
1709 * hurd/dtable.c: Likewise.
1710 * hurd/hurd-raise.c: Likewise.
1711 * hurd/hurdprio.c: Likewise.
1712 * hurd/msgportdemux.c: Likewise.
1713 * misc/sys/file.h: Likewise.
1714 * misc/sys/ioctl.h: Likewise.
1715 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1716 * sysdeps/mach/hurd/chdir.c: Likewise.
1717 * sysdeps/mach/hurd/fchdir.c: Likewise.
1718 * sysdeps/mach/hurd/rename.c: Likewise.
1719 * sysdeps/mach/hurd/rmdir.c: Likewise.
1720 * sysdeps/mach/hurd/seekdir.c: Likewise.
1721 * sysdeps/mach/hurd/setsid.c: Likewise.
1722 * sysdeps/posix/wait3.c: Likewise.
1723
568035b7
JM
1724 * All files with FSF copyright notices: Update copyright dates
1725 using scripts/update-copyrights.
1726 * intl/plural.c: Regenerated.
1727 * locale/programs/charmap-kw.h: Likewise.
1728 * locale/programs/locfile-kw.h: Likewise.
1729
da08f647
SP
17302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1731
0f5477af
SP
1732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1733 four values.
1734
44e0d4c2
SP
1735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1736 calculation loop and add branch prediction.
1737
4d55b4e5
SP
1738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1739 check access beyond bounds of m1np.
1740
da08f647
SP
1741 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1742 MPTWO.
1743 (__inv): Remove local variable MPTWO to use the global
1744 constant.
1745 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1747 variable MPTWO.
1748 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1749 MP3HALFS static const.
1750
8e051029
DM
17512013-01-01 David S. Miller <davem@davemloft.net>
1752
1753 * po/ca.po: Update from translation team.
1754
f4cf5f2d
JM
17552013-01-01 Joseph Myers <joseph@codesourcery.com>
1756
1757 * scripts/update-copyrights: New file.
1758 * Makeconfig: Reformat copyright notice.
1759 * ctype/ctype.h: Likewise.
1760 * debug/swprintf_chk.c: Likewise.
1761 * elf/dl-cache.c: Likewise.
1762 * elf/dl-debug.c: Likewise.
1763 * elf/dl-object.c: Likewise.
1764 * grp/initgroups.c: Likewise.
1765 * hurd/Makefile: Likewise.
1766 * hurd/hurd/signal.h: Likewise.
1767 * hurd/hurdfault.c: Likewise.
1768 * hurd/hurdioctl.c: Likewise.
1769 * hurd/hurdlookup.c: Likewise.
1770 * hurd/intr-msg.c: Likewise.
1771 * iconv/gconv_open.c: Likewise.
1772 * libio/swprintf.c: Likewise.
1773 * locale/lc-ctype.c: Likewise.
1774 * locale/nl_langinfo.c: Likewise.
1775 * mach/Machrules: Likewise.
1776 * mach/Makefile: Likewise.
1777 * malloc/obstack.h: Likewise.
1778 * manual/Makefile: Likewise.
1779 * manual/tsort.awk: Likewise.
1780 * misc/bits/stab.def: Likewise.
1781 * nis/nis_print_group_entry.c: Likewise.
1782 * nis/nis_table.c: Likewise.
1783 * nis/nss_compat/compat-pwd.c: Likewise.
1784 * nis/nss_compat/compat-spwd.c: Likewise.
1785 * po/Makefile: Likewise.
1786 * posix/fnmatch.c: Likewise.
1787 * posix/regex.h: Likewise.
1788 * resolv/Makefile: Likewise.
1789 * resolv/nss_dns/dns-network.c: Likewise.
1790 * resolv/res_hconf.c: Likewise.
1791 * scripts/gen-sorted.awk: Likewise.
1792 * soft-fp/soft-fp.h: Likewise.
1793 * stdio-common/printf.h: Likewise.
1794 * stdlib/monetary.h: Likewise.
1795 * stdlib/random.c: Likewise.
1796 * stdlib/random_r.c: Likewise.
1797 * sysdeps/generic/Makefile: Likewise.
1798 * sysdeps/gnu/Makefile: Likewise.
1799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1827 * sysdeps/mach/hurd/errnos.awk: Likewise.
1828 * sysdeps/mach/hurd/fork.c: Likewise.
1829 * sysdeps/mach/hurd/getcwd.c: Likewise.
1830 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1831 * sysdeps/mach/hurd/mmap.c: Likewise.
1832 * sysdeps/mach/hurd/utimes.c: Likewise.
1833 * sysdeps/mach/hurd/xmknod.c: Likewise.
1834 * sysdeps/posix/profil.c: Likewise.
1835 * sysdeps/posix/readdir_r.c: Likewise.
1836 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1837 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1838 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1839 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1845 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1846 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1847 * sysdeps/pthread/lio_listio.c: Likewise.
1848 * sysdeps/sparc/dl-procinfo.h: Likewise.
1849 * sysdeps/unix/i386/sysdep.S: Likewise.
1850 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1851 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1852 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1853 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1855 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1856 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1857 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1858 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1859 * sysdeps/wordsize-32/divdi3.c: Likewise.
1860 * time/sys/time.h: Likewise.
1861 * wcsmbs/Makefile: Likewise.
1862
0549fbba
DM
18632013-01-01 David S. Miller <davem@davemloft.net>
1864
a141f1a7
DM
1865 * po/fr.po: Update from translation team.
1866
0549fbba
DM
1867 * catgets/gencat.c: Update copyright year.
1868 * csu/version.c: Likewise.
1869 * debug/catchsegv.sh: Likewise.
1870 * debug/pcprofiledump.c: Likewise.
1871 * debug/xtrace.sh: Likewise.
1872 * elf/ldconfig.c: Likewise.
1873 * elf/ldd.bash.in: Likewise.
1874 * elf/pldd.c: Likewise.
1875 * elf/sotruss.ksh: Likewise.
1876 * elf/sprof.c: Likewise.
1877 * iconv/iconv_prog.c: Likewise.
1878 * iconv/iconvconfig.c: Likewise.
1879 * locale/programs/locale.c: Likewise.
1880 * locale/programs/localedef.c: Likewise.
1881 * login/programs/pt_chown.c: Likewise.
1882 * malloc/memusage.sh: Likewise.
1883 * malloc/memusagestat.c: Likewise.
1884 * malloc/mtrace.pl: Likewise.
1885 * nscd/nscd.c: Likewise.
1886 * nss/getent.c: Likewise.
1887 * nss/makedb.c: Likewise.
1888 * posix/getconf.c: Likewise.
1889
18ea052c
SP
18902012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1891
1892 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1893 numbers.
1894
9c89fca6
MF
18952012-12-30 Mike Frysinger <vapier@gentoo.org>
1896
1897 * math/bits/mathcalls.h (modf): Use __nonnull.
1898
085ec079
SP
18992012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1900
1901 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1902 (split): Use macro CN instead of the bare value.
1903 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1904 could be used.
1905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1906 instead of the bare value.
1907 (power1): Likewise.
1908
6d9f97e1
SP
19092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1910
d63f73be
SP
1911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1912 __ATAN_TWOM.
1913 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1914
6d9f97e1
SP
1915 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1916 their values.
1917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1919 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1920 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1921
4c4febf5
AJ
19222012-12-28 Andreas Jaeger <aj@suse.de>
1923
af5843ef
AJ
1924 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1925 values are from Linux 3.7.
1926
4c4febf5
AJ
1927 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1928 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1929
99136f82
SP
19302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1931
2f216c3c 1932 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1933 TRUE case.
1934
99136f82
SP
1935 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1936 (norm): Likewise.
1937 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1938 variables with preprocessor constants.
1939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1940 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1941 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1942
7fffbdff
BH
19432012-12-27 Bruno Haible <bruno@clisp.org>
1944
1945 [BZ #14317]
1946 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1947 only if needed.
1948
b76eb5f0
SP
19492012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1950
31a7fe5c
SP
1951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1952 and use variable directly.
1953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1954
b76eb5f0
SP
1955 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1956 MPONE.
1957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1959 variable MPONE.
1960 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1962 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1963 include directive. Remove local variable MPONE.
1964 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1967
2c8bfe7d
DM
19682012-12-25 David S. Miller <davem@davemloft.net>
1969
1970 * version.h (RELEASE): Set to "development".
1971 (VERSION): Set to "2.17.90".
1972 * NEWS: Add 2.18 section.
1973
147d03b0
DM
19742012-12-21 David S. Miller <davem@davemloft.net>
1975
1976 * po/hr.po: Update from translation team.
1977
a8ebb2b9
AK
19782012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1979
1980 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1981
95b4f1b6
SE
19822012-12-19 Steve Ellcey <sellcey@mips.com>
1983
b2d94007 1984 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1985
cedb2a90
MS
19862012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1987
1988 * manual/contrib.texi (Contributors): Spelling correction.
1989
bbf527d6
DM
19902012-12-15 David S. Miller <davem@davemloft.net>
1991
1992 * po/ru.po: Update from translation team.
1993
bc38c906
DM
19942012-12-13 David S. Miller <davem@davemloft.net>
1995
85429b1a
DM
1996 * NEWS: Mention IFUNC testsuite enhancements.
1997
d283e353
DM
1998 * po/pl.po: Update from translation team.
1999 * po/bg.po: Likewise.
2000
bc38c906
DM
2001 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2002 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2003
a181b0d7
DM
20042012-12-11 David S. Miller <davem@davemloft.net>
2005
4641d57e
DM
2006 * po/sv.po: Update from translation team.
2007
f7bc6495
DM
2008 * po/vi.po: Update from translation team.
2009
6fc9048f
DM
2010 * po/cs.po: Update from translation team.
2011
a181b0d7
DM
2012 * po/de.po: Update from translation team.
2013 * po/eo.po: Likewise.
2014 * po/nl.po: Likewise.
2015
f70bfe80
SP
20162012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
3c8b4190
SP
2018 [BZ #14246]
2019 * manual/argp.texi (Argp Helper Functions): Move node to follow
2020 Argp Parsing State.
2021
f70bfe80
SP
2022 [BZ #14872]
2023 * manual/conf.texi (Limits on File System Capacity): Mention if
2024 terminating null is included in the max size.
2025
188f0adf
AJ
20262012-12-10 Andreas Jaeger <aj@suse.de>
2027
2028 * po/cs.po: Update from translation team.
2029
56e7d3ad
SP
20302012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2031
2032 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2033 void pointer and cast to uintptr_t.
2034 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2035 path.
2036 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2037 * sysdeps/s390/s390-64/memset.S: Likewise.
2038
76f2d2ea 20392012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2040
2041 [BZ #14833]
2042 * menual/message.texi (Message Translation): Fix typos.
2043 (Helper programs for gettext): Likewise.
2044
67cbf9a2
AS
20452012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2046
2047 [BZ #14898]
2048 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2049 Change to -1.
2050
682d0e9a
DM
20512012-12-07 David S. Miller <davem@davemloft.net>
2052
2053 * po/libc.pot: Update.
2054
573cd484
RH
20552012-12-07 Richard Henderson <rth@redhat.com>
2056
7e9da188 2057 [BZ #10114]
573cd484
RH
2058 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2059 normal/normal case to before the switch.
2060 (_FP_DIV): Likewise.
2061
e933a943
MF
20622012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2063 Mike Frysinger <vapier@gentoo.org>
2064
2065 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2066 check for __NR_fadvise64_64.
2067
82123268
CM
20682012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2069
2070 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2071 0, not just to plain "0" as a statement.
2072 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2073 with cw.
2074
d9814526
JM
20752012-12-06 Joseph Myers <joseph@codesourcery.com>
2076
2077 * NEWS: Use sourceware.org in Bugzilla URL.
2078
7728c574
SP
20792012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2080
f16946dd
SP
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2082 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2083
5704bbcb
SP
2084 * stdio-common/tst-put-error.c (do_test): Add newline to the
2085 padded test to ensure flush.
2086
17aa0516
JL
20872012-12-05 Jeff Law <law@redhat.com>
2088
2089 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2090
363313b5
JM
20912012-12-05 Joseph Myers <joseph@codesourcery.com>
2092
effbd42a
JM
2093 * README: Don't refer to ports add-on as distributed separately.
2094 Mention AArch64 in list of systems supported in the ports add-on.
2095
87600365
JM
2096 * LICENSES: Add more non-FSF copyright and license notices.
2097
a0d7066a
JM
2098 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2099 ((unused)).
2100
66ca5a5b
JM
2101 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2102
363313b5
JM
2103 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2104 10000 as width of padded output.
2105
b37984ad
JM
21062012-12-04 Joseph Myers <joseph@codesourcery.com>
2107
9003570a
JM
2108 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2109
b37984ad
JM
2110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2111 variable LX with __attribute__ ((unused)).
2112 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2113 Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2117 with __attribute__ ((unused)).
2118
c8df52ec
DM
21192012-12-04 David S. Miller <davem@abraco.davemloft.net>
2120
2121 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2122
b3b099af
JM
21232012-12-04 Joseph Myers <joseph@codesourcery.com>
2124
c33aa6e3
JM
2125 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2126 (CFLAGS-nldbl-acos.c): New variable.
2127 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2128 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2129 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2130 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2131 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2132 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2133 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2134 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2135 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2136 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2137 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2141 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2142 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2143 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2144 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2145 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2146 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2147 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2148 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2149 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2150 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2151 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2152 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2153 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2154 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2155 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2156 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2157 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2158 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2159 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2160 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2161 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2162 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2163 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2164 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2165 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2166 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2167 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2168 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2169 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2170 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2171 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2172 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2173 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2174 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2175 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2176 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2177 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2178 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2179 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2180 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2181 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2182 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2183 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2184 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2185 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2186 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2187 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2188 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2189 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2190 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2191 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2192 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2193 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2194 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2195 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2196 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2197 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2198 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2199 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2200 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2201 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2202 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2203 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2204 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2205 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2206 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2207 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2208 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2209 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2210 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2211 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2212 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2213 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2214 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2215 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2216 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2217 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2218 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2219 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2220 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2221 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2222 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2223 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2224
20f0018d
JM
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2226 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2227
b3b099af
JM
2228 [BZ #14914]
2229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2230 whole low double instead of just low 47 bits when splitting values
2231 into two parts.
2232
029264d1
AM
22332012-12-03 Allan McRae <allan@archlinux.org>
2234
2235 * manual/stdio.texi (Predefined Printf Handlers): Remove
2236 @hsep and @vsep usage.
2237
c9d6789e
MF
22382012-12-03 Mike Frysinger <vapier@gentoo.org>
2239
2240 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2241 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2242
4b7634a5
JL
22432012-12-03 Jeff Law <law@redhat.com>
2244
2245 * time/sys/time.h (settimeofday): Do not mark TV argument
2246 as __nonnull.
2247
eb6cbd24
MF
22482012-12-01 Mike Frysinger <vapier@gentoo.org>
2249
2250 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2251 when currently writing and seek to current position when not.
2252 * libio/Makefile (tests): Remove bug-fclose1.
2253 * libio/bug-fclose1.c: Delete.
2254
f638872a
JM
22552012-12-01 Joseph Myers <joseph@codesourcery.com>
2256
2257 * manual/arith.texi (feenableexcept): Fix typo.
2258 (fedisableexcept): Likewise.
2259
48085d14
RM
22602012-11-30 Roland McGrath <roland@hack.frob.com>
2261
2262 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2263 second, differently-typed declaration, rather than a cast.
2264
1a538b9f
SP
22652012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2266
2267 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2268 * include/rpc/svc.h: ... here.
2269
d07f2ff1 22702012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2271
2272 [BZ #13013]
2273 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2274 depending n and resplen2 to catch cases where answer
2275 equals answerp2.
2276
c93ec1f0
CD
22772012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2278
2279 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2280 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2281
37db69de
MF
22822012-11-29 Mike Frysinger <vapier@gentoo.org>
2283
2284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2285
e10c4e4f
RM
22862012-11-29 Roland McGrath <roland@hack.frob.com>
2287
2288 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2289
2af1b328
JL
22902012-11-28 Jeff Law <law@redhat.com>
2291
2292 [BZ #13761]
2293 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2294 dataset_temporary. Track alloca usage into alloca_used.
2295 If dataset is large allocate and release it via malloc/free.
2296
111db5b1
FW
22972012-06-04 Florian Weimer <fweimer@redhat.com>
2298
f06cc227 2299 [BZ #14197]
111db5b1
FW
2300 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2301
dd694abd
DM
23022012-11-28 David S. Miller <davem@davemloft.net>
2303
2304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2305
9984dd01
JM
23062012-11-28 Joseph Myers <joseph@codesourcery.com>
2307
2308 [BZ #14803]
2309 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2310 of pi/2 rounded to nearest to 64 bits.
2311 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2312 nearest to 64 bits.
2313 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2314 bits.
2315
14bc93a9
JL
23162012-11-28 Jeff Law <law@redhat.com>
2317 Martin Osvald <mosvald@redhat.com>
2318
2319 [BZ #14889]
2320 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2321 * sunrpc/svc.c: Include time.h.
2322 (__svc_accept_failed): New function.
2323 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2324 any reason other than EINTR, call __svc_accept_failed.
2325 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2326 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2327
e3c6aa3a
AS
23282012-11-28 Andreas Schwab <schwab@suse.de>
2329
2330 * scripts/abilist.awk: Also handle indirect functions in .opd
2331 section.
2332
1bead169
JM
23332012-11-28 Joseph Myers <joseph@codesourcery.com>
2334
2335 [BZ #13881]
2336 * sysdeps/x86/fpu/powl_helper.c: New file.
2337 * sysdeps/x86/fpu/Makefile: Likewise.
2338 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2339 (p3): New object.
2340 (__ieee754_powl): Use __powl_helper for finite arguments except
2341 integer exponents below 8.
2342 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2343 (p3): New object.
2344 (__ieee754_powl): Use __powl_helper for finite arguments except
2345 integer exponents below 8.
2346 * math/libm-test.inc (pow_test): Add more tests and enable some
2347 previously disabled tests.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
0817d63d
SP
23512012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2352 Carlos O'Donell <carlos_odonell@mentor.com>
2353
2354 * nss/makedb.c (is_prime): Assert that input is odd and greater
2355 than 4. Note that fact in a comment too.
2356 (next_prime): Add 4 to input.
2357
de2fd463
SP
23582012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 [BZ #11741]
2361 * libio/Makefile (tests): Add test case tst-fwrite-error.
2362 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2363 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2364 * libio/tst-fwrite-error.c: New test case.
2365
c515fb51
L
23662012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2369 before casting to void *.
2370 * include/libc-internal.h (__pointer_type): New macro.
2371 (__integer_if_pointer_type_sub): Likewise.
2372 (__integer_if_pointer_type): Likewise.
2373 (cast_to_integer): Likewise.
2374 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2375 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2376 before casting to atomic64_t.
2377 (atomic_exchange_acq): Likewise.
2378 (__arch_exchange_and_add_body): Likewise.
2379 (__arch_add_body): Likewise.
2380 (atomic_add_negative): Likewise.
2381 (atomic_add_zero): Likewise.
2382
4cf77aa9
JM
23832012-11-26 Joseph Myers <joseph@codesourcery.com>
2384
2385 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2386 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2387 (add_fdes): Likewise.
2388 (linear_search_fdes): Likewise.
2389 (binary_search_unencoded_fdes): Likewise.
2390
d260b3b4
AS
23912012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2392
2393 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2394
67060746
AC
23952012-11-24 Adam Conrad <adconrad@0c3.net>
2396
2397 * configure.in: Autodetect C++ header directories.
2398 * configure: Regenerated.
2399
800938a1
MF
24002012-11-23 Mike Frysinger <vapier@gentoo.org>
2401
2402 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2403
4e6e34e6
AS
24042012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2405
2406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2407
7c7feb47
JM
24082012-11-22 Joseph Myers <joseph@codesourcery.com>
2409
7184dcdf
JM
2410 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2411 LDBL_MANT_DIG == 106]: Disable some tests.
2412 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2413 Likewise.
2414 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2415 Likewise.
2416
0a42601f
JM
2417 [BZ #14871]
2418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2419 input for small inputs. Return +/- pi/2 for large inputs.
2420 * math/libm-test.inc (atan_test): Add more tests.
2421
79c9b9fe
JM
2422 * sysdeps/generic/unwind-dw2-fde-glibc.c
2423 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2424 __attribute__ ((unused)).
2425
c60d3bf2
JM
2426 [BZ #14645]
2427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2428 x * y if x and y are nonzero and z is zero.
2429
ef1e0867
JM
2430 [BZ #14811]
2431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2432 nonzero exponents with absolute value below 0x1p-117 to +/-
2433 0x1p-117.
2434
1468ded3
JM
2435 [BZ #14869]
2436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2437 up arguments below 2**-450, not just those below 2**-500.
2438 * math/libm-test.inc (hypot_test): Add another test.
2439
8e27e3cc
JM
2440 [BZ #14868]
2441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2442 Return a+b for ratio over 2**120, not 2**60.
2443 * math/libm-test.inc (hypot_test): Add another test.
2444
c9c0279b
JM
2445 * math/libm-test.inc (clog_test): Use
2446 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2447 (clog10_test): Likewise.
2448
7c7feb47
JM
2449 [BZ #6778]
2450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2451
fff1530e
AS
24522012-11-22 Andreas Schwab <schwab@suse.de>
2453
2454 * sysdeps/i386/fpu/libm-test-ulps: Update.
2455
94558d30
PT
24562012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2457
2458 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2459 printf output with newline.
2460
7e1be741
L
24612012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2462
6bfea974
L
2463 [BZ #14865]
2464 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2465 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2466 -z nodlopen, -z initfirst and -z execstack support.
2467 * configure: Regenerated.
2468
7e1be741
L
2469 * elf/elf.h (DF_1_NODIRECT): New macro.
2470 (DF_1_IGNMULDEF): Likewise.
2471 (DF_1_NOKSYMS): Likewise.
2472 (DF_1_NOHDR): Likewise.
2473 (DF_1_EDITED): Likewise.
2474 (DF_1_NORELOC): Likewise.
2475 (DF_1_SYMINTPOSE): Likewise.
2476 (DF_1_GLOBAUDIT): Likewise.
2477 (DF_1_SINGLETON): Likewise.
2478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2479 DT_1_SUPPORTED_MASK bits.
2480 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2481
105ce2ce
CD
24822012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2483
2484 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2485
123be9de
TS
24862012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2487
d072f3f7
TS
2488 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2489 macro.
2490
123be9de
TS
2491 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2492 (sendmmsg): Move declarations...
2493 * socket/sys/socket.h: ... here.
2494 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2495 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2496 include it from...
2497 * socket/recvmmsg.c: ... this new file.
2498 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2499 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2500 definition of __sendmmsg hidden.
2501 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2502 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2503 Move ENOSYS stub into and include it from...
2504 * socket/sendmmsg.c: ... this new file.
2505 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2506 (sysdep_routines): Move recvmmsg and sendmmsg...
2507 * socket/Makefile (routines): ... here.
2508 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2509 (GLIBC_PRIVATE): Add __sendmmsg.
2510 * include/sys/socket.h (__sendmmsg): Add declarations.
2511 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2512 sendmmsg.
2513
cf9a5d18
JM
25142012-11-20 Joseph Myers <joseph@codesourcery.com>
2515
2516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2517 variable I1 with __attribute__ ((unused)).
2518 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2519
ecd4caf9
JM
25202012-11-19 Joseph Myers <joseph@codesourcery.com>
2521
be14d48f
JM
2522 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2523 DUMMY variables with __attribute__ ((unused)).
2524
ecd4caf9
JM
2525 * bits/byteswap.h: Include <bits/types.h>.
2526 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2527
986cab95
PT
25282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2529
2530 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2531 string_t. Do not manually set errno.
2532 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2533 length with __strnlen. Make sure to both set errno and return it on
2534 failure.
2535
6d33cc9d
DM
25362012-11-19 David S. Miller <davem@davemloft.net>
2537
2538 With help from Joseph Myers.
2539 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2540 very large arguments properly.
2541 * math/libm-test.inc (atan_test): New tests.
2542 (atan2_test): New tests.
2543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2545
ee663277
JM
25462012-11-19 Joseph Myers <joseph@codesourcery.com>
2547
877f2d8e
JM
2548 [BZ #14856]
2549 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2550 Define to 3.
2551
116fc08a
JM
2552 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2553 [POSIX] (EADDRNOTAVAIL): Likewise.
2554 [POSIX] (EAFNOSUPPORT): Likewise.
2555 [POSIX] (EALREADY): Likewise.
2556 [POSIX] (ECONNABORTED): Likewise.
2557 [POSIX] (ECONNREFUSED): Likewise.
2558 [POSIX] (ECONNRESET): Likewise.
2559 [POSIX] (EDESTADDRREQ): Likewise.
2560 [POSIX] (EDQUOT): Likewise.
2561 [POSIX] (EHOSTUNREACH): Likewise.
2562 [POSIX] (EIDRM): Likewise.
2563 [POSIX] (EISCONN): Likewise.
2564 [POSIX] (ELOOP): Likewise.
2565 [POSIX] (EMULTIHOP): Likewise.
2566 [POSIX] (ENETDOWN): Likewise.
2567 [POSIX] (ENETUNREACH): Likewise.
2568 [POSIX] (ENOBUFS): Likewise.
2569 [POSIX] (ENODATA): Likewise.
2570 [POSIX] (ENOLINK): Likewise.
2571 [POSIX] (ENOMSG): Likewise.
2572 [POSIX] (ENOPROTOOPT): Likewise.
2573 [POSIX] (ENOSR): Likewise.
2574 [POSIX] (ENOSTR): Likewise.
2575 [POSIX] (ENOTCONN): Likewise.
2576 [POSIX] (ENOTSOCK): Likewise.
2577 [POSIX] (EOPNOTSUPP): Likewise.
2578 [POSIX] (EOVERFLOW): Likewise.
2579 [POSIX] (EPROTO): Likewise.
2580 [POSIX] (EPROTONOSUPPORT): Likewise.
2581 [POSIX] (EPROTOTYPE): Likewise.
2582 [POSIX] (ESTALE): Likewise.
2583 [POSIX] (ETIME): Likewise.
2584 [POSIX] (ETXTBSY): Likewise.
2585 [POSIX] (EWOULDBLOCK): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2587 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2588 [POSIX] (SEEK_CUR): Likewise.
2589 [POSIX] (SEEK_END): Likewise.
2590 [POSIX || UNIX98] (mode_t): Do not require.
2591 [POSIX] (off_t): Likewise.
2592 [POSIX] (pid_t): Likewise.
2593 [POSIX] (sys/stat.h): Do not allow header.
2594 [POSIX] (unistd.h): Likewise.
2595 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2596 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2597 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2598 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2599 require.
2600 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2601 sigevent): Specify elements.
2602 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2603 entry.
2604 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2605 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2606
a483863f
JM
2607 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2608 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2609 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2610 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2611 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2612 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2613 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2614 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2615 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2616 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2617 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2618 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2619 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2621 Likewise.
2622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2623 Likewise.
2624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2625 Likewise.
2626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2627 Likewise.
2628 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2629 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2630 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2631 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2632 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2633 Specify lower bound on value.
2634 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2635 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2636 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2637 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2638 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2640 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2641 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2642 value.
2643 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2644 as optional.
2645 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2646 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2647 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2648 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2649 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2650 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2651 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2652 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2653 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2654 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2655 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2656 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2657 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2658 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2659 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2660 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2661 entry.
2662 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2663 optional.
2664 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2665 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2666 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2667 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2668 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2669 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2670 Likewise.
2671 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2672 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2673 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2674 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2675 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2676 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2678 as optional.
2679 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2680 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2682 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2683 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2684 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2685 specify as optional.
2686 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2687 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2688 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2690 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2691 [XPG3] (NL_LANGMAX): Likewise.
2692 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2693 [POSIX || XPG3] (NL_NMAX): Likewise.
2694 [POSIX || XPG3] (NL_SETMAX): Likewise.
2695 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2696 [XPG3] (NZERO): Likewise.
2697 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2698 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2699 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2700 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2701 (REG_ERANGE): Expect.
2702 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2703 optional-constant.
2704 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2705 Use (void) in prototype.
2706 [POSIX] (*_t): Allow.
2707 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2708 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2709 (WRDE_BADVAL): Expect.
2710
5ba924e3
JM
2711 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2712 expect.
2713 [XPG3 || XPG4] (O_RSYNC): Likewise.
2714 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2715 Likewise.
2716 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2717 [XPG3 || XPG4] (sigqueue): Likewise.
2718 [XPG3 || XPG4] (sigtimedwait): Likewise.
2719 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2720 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2721 [XPG3 || XPG4] (vsnprintf): Likewise.
2722 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2723 Likewise.
2724 [XPG3 || XPG4] (blksize_t): Likewise.
2725 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2726 Likewise.
2727 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2728 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2729 [XPG3 || XPG4] (struct itimerspec): Likewise.
2730 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2731 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2732 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2733 [XPG3 || XPG4] (clockid_t): Likewise.
2734 [XPG3 || XPG4] (timer_t): Likewise.
2735 [XPG3 || XPG4] (clock_getres): Likewise.
2736 [XPG3 || XPG4] (clock_gettime): Likewise.
2737 [XPG3 || XPG4] (clock_settime): Likewise.
2738 [XPG3 || XPG4] (nanosleep): Likewise.
2739 [XPG3 || XPG4] (timer_create): Likewise.
2740 [XPG3 || XPG4] (timer_delete): Likewise.
2741 [XPG3 || XPG4] (timer_gettime): Likewise.
2742 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2743 [XPG3 || XPG4] (timer_settime): Likewise.
2744 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2745 [XPG3 || XPG4] (getlogin_r): Likewise.
2746 [XPG3 || XPG4] (pread): Likewise.
2747 [XPG3 || XPG4] (pthread_atfork): Likewise.
2748 [XPG3 || XPG4] (pwrite): Likewise.
2749
ee663277
JM
2750 [BZ #14835]
2751 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2752 <bits/siginfo.h>.
2753
942caa16
PT
27542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2755
e19af380
PT
2756 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2757 finalizing MALLSTREAM.
2758
942caa16
PT
2759 * sysdeps/mach/hurd/syncfs.c: New file.
2760
cfde9b46
SP
27612012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2762
2763 [BZ #14719]
2764 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2765 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2766 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2767 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2768 (_nss_dns_gethostbyname4_r): Likewise.
2769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2770 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2771
f6da27e5
PH
27722012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2773
2774 [BZ #13763]
2775 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2776
6665d4a2
SM
27772012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2778
1f51ee92
SM
2779 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2780 * elf/cache.c (print_entry): Print ",AArch64" for
2781 FLAG_AARCH64_LIB64
2782
6665d4a2
SM
2783 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2784 * elf/cache.c (print_entry): Print ",hard-float" for
2785 FLAG_ARM_LIBHF.
2786
05b227bd
DM
27872012-11-18 David S. Miller <davem@davemloft.net>
2788
2789 With help from Joseph Myers.
2790 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2791 cutoff to 2**-13.
2792 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2793 cutoff to 2**-25.
2794 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2795 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2796 small.
2797 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2798 * math/libm-test.inc (y0_test): New tests.
2799 (y1_test): New tests.
2800 * sysdeps/i386/fpu/libm-test-ulps: Update.
2801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2803
786b0b67
AS
28042012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2805
2806 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2807 64-bit targets.
2808 * configure: Regenerated.
2809
8e18b86d
DM
28102012-11-17 David S. Miller <davem@davemloft.net>
2811
2812 [BZ #14811]
2813 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2814 nonzero exponents with absolute value below 0x1p-128 to +/-
2815 0x1p-128.
2816
531f1ae0
JM
28172012-11-17 Joseph Myers <joseph@codesourcery.com>
2818
12df29e2
JM
2819 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2820
150dc1a0
JM
2821 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2822
531f1ae0
JM
2823 * posix/getconf-speclist.c: New file.
2824 * posix/posix-envs.def: Likewise.
2825 * posix/confstr.c (START_ENV_GROUP): New macro.
2826 (END_ENV_GROUP): Likewise.
2827 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2828 (KNOWN_PRESENT_ENV_STRING): Likewise.
2829 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2830 (UNKNOWN_ENVIRONMENT): Likewise.
2831 (confstr): Include posix-envs.def instead of handling
2832 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2833 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2834 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2835 (END_ENV_GROUP): Likewise.
2836 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2837 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2838 (UNKNOWN_ENVIRONMENT): Likewise.
2839 (__sysconf): Include posix-envs.def instead of handling associated
2840 cases directly here.
2841 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2842 preprocessing getconf-speclist.c rather than running getconf or
2843 generating empty file.
2844
a93f9cbc
PT
28452012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2846
2847 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2848
d64d9f87
AL
28492012-11-16 Andrej Lajovic <natrij@gmail.com>
2850
2851 [BZ #14672]
2852 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2853
447885eb
DM
28542012-11-16 David S. Miller <davem@davemloft.net>
2855
2856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2857 smaller than LDBL_EPSILON/2.0L, just return xm1.
2858
bcbf9830
L
28592012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2860
2861 * elf/tst-array1.c (init): Set constructor priority to 1000.
2862 (fini): Set destructor priority to 1000.
2863 * elf/tst-array2dep.c: Likewise.
2864
2b766585
SP
28652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
2867 [BZ #11741]
2868 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2869 (_IO_new_file_xsputn): Also return EOF if none of the input
2870 data was written when overflow failed.
2871 * libio/iopadn.c (_IO_padn): Likewise.
2872 * libio/iowpadn.c (_IO_wpadn): Likewise.
2873 * stdio-common/tst-put-error.c: Add copyright notice.
2874 (do_test): Add case for printing padded string.
2875 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2876 _IO_padn returned error.
2877 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2878 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2879 return EOF.
2880
b1848fde
SP
28812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2882
2883 * libio/libioP.h: Add comment note that the references to C++
2884 bits are now obsolete.
2885
2fd89785
MS
28862012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2887
2888 * math/libm-test.inc (check_complex): Use asprintf.
2889
e3ea5409
JM
28902012-11-14 Joseph Myers <joseph@codesourcery.com>
2891
2892 * debug/pcprofiledump.c (print_version): Update copyright year.
2893 * malloc/memusagestat.c (print_version): Likewise.
2894
2e64d265
L
28952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 [BZ #14831]
2898 * elf/Makefile (tests): Add tst-audit8.
2899 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2900 ($(objpfx)tst-audit8.out): New target.
2901 (tst-audit8-ENV): New variable.
2902 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2903 audit if l_reloc_result is NULL.
2904 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2905 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2906 * elf/tst-audit8.c: New file.
2907
c485e4d2
MS
29082012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2909
2910 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2911 * misc/Makefile (CFLAGS-select.c): Define.
2912 * posix/Makefile (CFLAGS-pause.c): Define.
2913
3a0d900a
DM
29142012-11-13 David S. Miller <davem@davemloft.net>
2915
2916 * crypt/Makefile: Move test targets after toplevel Rules
2917 inclusion. Grab any necessary sysdep routines when linking.
2918 * crypt/md5.c (md5_process_block): Remove define, we will always
2919 name it __md5_process_block.
2920 (md5_finish_ctx): Update md5_process_block call.
2921 (md5_stream): Likewise.
2922 (md5_process_bytes): Likewise.
2923 (md5_process_block): Rename to __md5_process_block and move to ...
2924 * crypt/md5-block.c: ... here.
2925 * crypt/sha256.c (sha256_process_block): Move to ...
2926 * crypt/sha256-block.c: ... here.
2927 * crypt/sha512.c (sha512_process_block): Move to ...
2928 * crypt/sha512-block.c: ... here.
2929 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2930 path.
2931 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2932 * sysdeps/sparc/sparc64/multiarch/Makefile
2933 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2934 crypt subdir.
2935 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2937 multiarch changes.
2938 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2939 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2940 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2941 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2942 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2943 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2944 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2945 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2947 file.
2948 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2950 file.
2951 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2952
8ca89318
JM
29532012-11-13 Joseph Myers <joseph@codesourcery.com>
2954
e27d476a
JM
2955 * timezone/tzselect.ksh: Update from tzcode git revision
2956 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2957 * timezone/zdump.c: Likewise.
2958 * timezone/zic.c: Likewise.
2959 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2960 in TZVERSION setting, not $(PKGVERSION).
2961 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2962 REPORT_BUGS_TO settings.
2963
8ca89318
JM
2964 [BZ #14838]
2965 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2966 macro.
2967
47594329
MS
29682012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2969
2970 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2971 detection to immediately after _FP_ROUND().
2972 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2973 bits are 0.
2974
640ac3f1
DM
29752012-11-11 David S. Miller <davem@davemloft.net>
2976
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2978 inttypes.h
2979 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2980 __close rather than their public counterparts.
2981
3d2577bb
JM
29822012-11-10 Joseph Myers <joseph@codesourcery.com>
2983
2984 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2985 file.
2986 [UNIX98] (sem_timedwait): Do not expect.
2987 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2988 [XPG4 || UNIX98] (sockatmark): Do not expect.
2989 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2990 (clock_getcpuclockid): Do not expect.
2991 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2992 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2993 Do not expect.
2994 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2995 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2996 [UNIX98] (vwscanf): Likewise.
2997 [UNIX98] (vswscanf): Likewise.
2998
fb1ae1ee
JM
29992012-11-09 Joseph Myers <joseph@codesourcery.com>
3000
9ec6f8bd
JM
3001 * timezone/version.h: Remove file.
3002 * timezone/README: Do not refer to version.h.
3003 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3004 $(objpfx)version.h.
3005 ($(objpfx)zdump.o): Likewise.
c3f81911 3006 ($(objpfx)version.h): New target.
9ec6f8bd 3007
0aa8f8a1
JM
3008 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3009 2012i.
3010 * timezone/README: Don't mention modification to tzselect.ksh.
3011 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3012 work on unmodified tzselect.ksh. Substitute version numbers in
3013 tzselect.ksh.
3014
4e87147f
JM
3015 * Makefile (format-me): Remove.
3016 (INSTALL): Adjust indentation. Use commands directly instead of
3017 using $(format-me).
3018
8b748aed
JM
3019 * aclocal.m4 (ACX_PKGVERSION): New macro.
3020 (ACX_BUGURL): Likewise.
3021 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3022 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3023 (REPORT_BUGS_TO): Likewise.
3024 * configure: Regenerated.
3025 * config.h.in (PKGVERSION): New macro.
3026 (REPORT_BUGS_TO): Likewise.
3027 * config.make.in (PKGVERSION): New variable.
3028 (PKGVERSION_TEXI): Likewise.
3029 (REPORT_BUGS_TO): Likewise.
3030 (REPORT_BUGS_TEXI): Likewise.
3031 * Makefile (format-me): Use -I$(common-objpfx)manual.
3032 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3033 ($(common-objpfx)manual/%): New target.
3034 (manual/%): Remove target.
3035 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3036 (print_version): Use PKGVERSION.
3037 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3038 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3039 and REPORT_BUGS_TO.
3040 ($(objpfx)xtrace): Likewise.
3041 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3042 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3043 (print_version): Use PKGVERSION.
3044 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3045 (do_version): Use PKGVERSION.
3046 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3047 REPORT_BUGS_TO.
3048 (common-ldd-rewrite): Likewise.
3049 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3050 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3051 (print_version): Use PKGVERSION.
3052 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3053 * elf/pldd.c (argp_program_bug_address): Remove variable.
3054 (more_help): New function.
3055 (argp): Use more_help.
3056 (print_version): Use PKGVERSION.
3057 * elf/sln.c (main): Use PKGVERSION.
3058 (usage): Use REPORT_BUGS_TO.
3059 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3060 (top level): Use PKGVERSION.
3061 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3062 (print_version): Use PKGVERSION.
3063 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3064 (print_version): Use PKGVERSION.
3065 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3066 (print_version): Use PKGVERSION.
3067 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3068 (print_version): Use PKGVERSION.
3069 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3070 (print_version): Use PKGVERSION.
3071 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3072 (print_version): Use PKGVERSION.
3073 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3074 and BUGURL.
3075 ($(objpfx)memusage): Likewise.
3076 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3077 (do_version): Use PKGVERSION.
3078 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3079 (print_version): Use PKGVERSION.
3080 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3081 ($PKGVERSION): New variable.
3082 ($REPORT_BUGS_TO): Likewise.
3083 (usage): Use $REPORT_BUGS_TO.
3084 (top level): Use $PKGVERSION.
3085 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3086 ($(objpfx)pkgvers.texi): New rule.
3087 ($(objpfx)stamp-pkgvers): Likewise.
3088 * manual/install.texi: Include pkgvers.texi.
3089 (--with-pkgversion): Document new configure option.
3090 (--with-bugurl): Likewise.
3091 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3092 than necessarily for this particular distribution. Use
3093 REPORT_BUGS_TO for where to report bugs.
3094 * INSTALL: Regenerated.
3095 * manual/libc.texinfo: Include pkgvers.texi.
3096 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3097 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3098 (print_version): Use PKGVERSION.
3099 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3100 (print_version): Use PKGVERSION.
3101 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3102 (print_version): Use PKGVERSION.
3103 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3104 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3105 macro.
3106 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3107 (print_version): Use PKGVERSION.
3108 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3109 (print_version): Use PKGVERSION.
3110 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3111 and PKGVERSION.
3112
92e4b6a9
JM
3113 * timezone/checktab.awk: Update from tzcode 2012i.
3114 * timezone/ialloc.c: Likewise.
3115 * timezone/private.h: Likewise.
3116 * timezone/scheck.c: Likewise.
3117 * timezone/tzfile.h: Likewise.
3118 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3119 (TZVERSION): Hardcode tzcode version number.
3120 * timezone/zdump.c: Update from tzcode 2012i.
3121 * timezone/zic.c: Likewise.
3122 * timezone/version.h: New file.
3123 * timezone/README: Describe version.h. Update upstream location.
3124
9bde902c
JM
3125 [BZ #14824]
3126 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3127 (mktemp): Enable declaration.
3128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3132 Likewise.
3133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3134 Likewise.
3135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3136 Likewise.
3137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3138 Likewise.
3139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3140 Likewise.
3141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3142 Likewise.
3143
fb1ae1ee
JM
3144 [BZ #14821]
3145 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3146 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3147 for copies of such integer values.
3148 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3149 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3150
2c1adbcb
AJ
31512012-11-09 Andreas Jaeger <aj@suse.de>
3152
3153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3154 definitions and declarations that are provided by
3155 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3156
d0f8457e
AK
31572012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3158
3a235abb 3159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3160 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3161 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3162 definition.
3163
57241e26
MS
31642012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3165
3166 * elf/elf.h: Update comment before AArch64 relocations.
3167
60e8270d
DM
31682012-11-07 David S. Miller <davem@davemloft.net>
3169
3170 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3172 (__start_context): Declare.
3173 (__makecontext_ret): Delete.
3174 (__makecontext): Hook up __start_context instead of
3175 __makecontext_ret.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3177 (sysdep_routines): Add __start_context when in stdlib.
3178
0fbb0fbc
JM
31792012-11-07 Joseph Myers <joseph@codesourcery.com>
3180
3181 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3182 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3183 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3184 hardcoded "nm".
3185 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3186 (READELF): New variable. Use it instead of hardcoded "readelf".
3187
eb48db7e
L
31882012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3191 * sysdeps/x86/Makefile: Here.
3192 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3193 * sysdeps/x86/tst-xmmymm.sh: This.
3194
05bcf62a
JM
31952012-11-07 Joseph Myers <joseph@codesourcery.com>
3196
c4b6cf53
JM
3197 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3198 expectations.
3199 [UNIX98] (pthread_barrier_t): Do not expect.
3200 [UNIX98] (pthread_barrierattr_t): Likewise.
3201 [UNIX98] (pthread_spinlock_t): Likewise.
3202 [UNIX98] (pthread_barrier_destroy): Likewise.
3203 [UNIX98] (pthread_barrier_init): Likewise.
3204 [UNIX98] (pthread_barrier_wait): Likewise.
3205 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3206 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3207 [UNIX98] (pthread_barrierattr_init): Likewise.
3208 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3209 [UNIX98] (pthread_getcpuclockid): Likewise.
3210 [UNIX98] (pthread_mutex_timedlock): Likewise.
3211 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3212 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3213 [UNIX98] (pthread_sigmask): Likewise.
3214 [UNIX98] (pthread_spin_destroy): Likewise.
3215 [UNIX98] (pthread_spin_init): Likewise.
3216 [UNIX98] (pthread_spin_lock): Likewise.
3217 [UNIX98] (pthread_spin_trylock): Likewise.
3218 [UNIX98] (pthread_spin_unlock): Likewise.
3219 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3220 Do not expect.
3221 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3223 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3224 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3225 [XPG3 || XPG4] (pthread_key_t): Likewise.
3226 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3227 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3228 [XPG3 || XPG4] (pthread_once_t): Likewise.
3229 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3230 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3231 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3232 [XPG3 || XPG4] (pthread_t): Likewise.
3233
cbe6e120
JM
3234 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3235 not expect.
3236 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3237
1b126443
JM
3238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3239 Change function return type to int.
3240
b961a573
JM
3241 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3242 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3243 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3244 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3245 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3246 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3247 [!POSIX] (posix_madvise): Likewise.
3248 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3249 && !UNIX98].
3250 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3251 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3252 (mode_t): Likewise.
3253 (posix_mem_offset): Likewise.
3254 (posix_typed_mem_get_info): Likewise.
3255 (posix_typed_mem_open): Likewise.
3256
9e188909
JM
3257 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3258 Change condition to [XOPEN2K8].
3259
05bcf62a
JM
3260 * conform/conformtest.pl: Preprocess allow-header data with -x c
3261 instead of from stdin.
3262 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3263 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3264 [C99-based standards] (cerfc): Likewise.
3265 [C99-based standards] (cexp2): Likewise.
3266 [C99-based standards] (cexpm1): Likewise.
3267 [C99-based standards] (clog10): Likewise.
3268 [C99-based standards] (clog1p): Likewise.
3269 [C99-based standards] (clog2): Likewise.
3270 [C99-based standards] (clgamma): Likewise.
3271 [C99-based standards] (ctgamma): Likewise.
3272 [C99-based standards] (cerff): Likewise.
3273 [C99-based standards] (cerfcf): Likewise.
3274 [C99-based standards] (cexp2f): Likewise.
3275 [C99-based standards] (cexpm1f): Likewise.
3276 [C99-based standards] (clog10f): Likewise.
3277 [C99-based standards] (clog1pf): Likewise.
3278 [C99-based standards] (clog2f): Likewise.
3279 [C99-based standards] (clgammaf): Likewise.
3280 [C99-based standards] (ctgammaf): Likewise.
3281 [C99-based standards] (cerfl): Likewise.
3282 [C99-based standards] (cerfcl): Likewise.
3283 [C99-based standards] (cexp2l): Likewise.
3284 [C99-based standards] (cexpm1l): Likewise.
3285 [C99-based standards] (clog10l): Likewise.
3286 [C99-based standards] (clog1pl): Likewise.
3287 [C99-based standards] (clog2l): Likewise.
3288 [C99-based standards] (clgammal): Likewise.
3289 [C99-based standards] (ctgammal): Likewise.
3290 * conform/data/inttypes.h-data [C99-based standards]: Include
3291 stdint.h-data. Remove all expectations for stdint.h contents.
3292 [C99-based standards] (PRI*): Do not allow.
3293 [C99-based standards] (SCN*): Likewise.
3294 [C99-based standards] (*_t): Likewise.
3295 [C99-based-standards] (PRId8): Expect macro.
3296 [C99-based-standards] (PRIi8): Likewise.
3297 [C99-based-standards] (PRIo8): Likewise.
3298 [C99-based-standards] (PRIu8): Likewise.
3299 [C99-based-standards] (PRIx8): Likewise.
3300 [C99-based-standards] (PRIX8): Likewise.
3301 [C99-based-standards] (SCNd8): Likewise.
3302 [C99-based-standards] (SCNi8): Likewise.
3303 [C99-based-standards] (SCNo8): Likewise.
3304 [C99-based-standards] (SCNu8): Likewise.
3305 [C99-based-standards] (SCNx8): Likewise.
3306 [C99-based-standards] (PRIdLEAST8): Likewise.
3307 [C99-based-standards] (PRIiLEAST8): Likewise.
3308 [C99-based-standards] (PRIoLEAST8): Likewise.
3309 [C99-based-standards] (PRIuLEAST8): Likewise.
3310 [C99-based-standards] (PRIxLEAST8): Likewise.
3311 [C99-based-standards] (PRIXLEAST8): Likewise.
3312 [C99-based-standards] (SCNdLEAST8): Likewise.
3313 [C99-based-standards] (SCNiLEAST8): Likewise.
3314 [C99-based-standards] (SCNoLEAST8): Likewise.
3315 [C99-based-standards] (SCNuLEAST8): Likewise.
3316 [C99-based-standards] (SCNxLEAST8): Likewise.
3317 [C99-based-standards] (PRIdFAST8): Likewise.
3318 [C99-based-standards] (PRIiFAST8): Likewise.
3319 [C99-based-standards] (PRIoFAST8): Likewise.
3320 [C99-based-standards] (PRIuFAST8): Likewise.
3321 [C99-based-standards] (PRIxFAST8): Likewise.
3322 [C99-based-standards] (PRIXFAST8): Likewise.
3323 [C99-based-standards] (SCNdFAST8): Likewise.
3324 [C99-based-standards] (SCNiFAST8): Likewise.
3325 [C99-based-standards] (SCNoFAST8): Likewise.
3326 [C99-based-standards] (SCNuFAST8): Likewise.
3327 [C99-based-standards] (SCNxFAST8): Likewise.
3328 [C99-based-standards] (PRId16): Likewise.
3329 [C99-based-standards] (PRIi16): Likewise.
3330 [C99-based-standards] (PRIo16): Likewise.
3331 [C99-based-standards] (PRIu16): Likewise.
3332 [C99-based-standards] (PRIx16): Likewise.
3333 [C99-based-standards] (PRIX16): Likewise.
3334 [C99-based-standards] (SCNd16): Likewise.
3335 [C99-based-standards] (SCNi16): Likewise.
3336 [C99-based-standards] (SCNo16): Likewise.
3337 [C99-based-standards] (SCNu16): Likewise.
3338 [C99-based-standards] (SCNx16): Likewise.
3339 [C99-based-standards] (PRIdLEAST16): Likewise.
3340 [C99-based-standards] (PRIiLEAST16): Likewise.
3341 [C99-based-standards] (PRIoLEAST16): Likewise.
3342 [C99-based-standards] (PRIuLEAST16): Likewise.
3343 [C99-based-standards] (PRIxLEAST16): Likewise.
3344 [C99-based-standards] (PRIXLEAST16): Likewise.
3345 [C99-based-standards] (SCNdLEAST16): Likewise.
3346 [C99-based-standards] (SCNiLEAST16): Likewise.
3347 [C99-based-standards] (SCNoLEAST16): Likewise.
3348 [C99-based-standards] (SCNuLEAST16): Likewise.
3349 [C99-based-standards] (SCNxLEAST16): Likewise.
3350 [C99-based-standards] (PRIdFAST16): Likewise.
3351 [C99-based-standards] (PRIiFAST16): Likewise.
3352 [C99-based-standards] (PRIoFAST16): Likewise.
3353 [C99-based-standards] (PRIuFAST16): Likewise.
3354 [C99-based-standards] (PRIxFAST16): Likewise.
3355 [C99-based-standards] (PRIXFAST16): Likewise.
3356 [C99-based-standards] (SCNdFAST16): Likewise.
3357 [C99-based-standards] (SCNiFAST16): Likewise.
3358 [C99-based-standards] (SCNoFAST16): Likewise.
3359 [C99-based-standards] (SCNuFAST16): Likewise.
3360 [C99-based-standards] (SCNxFAST16): Likewise.
3361 [C99-based-standards] (PRId32): Likewise.
3362 [C99-based-standards] (PRIi32): Likewise.
3363 [C99-based-standards] (PRIo32): Likewise.
3364 [C99-based-standards] (PRIu32): Likewise.
3365 [C99-based-standards] (PRIx32): Likewise.
3366 [C99-based-standards] (PRIX32): Likewise.
3367 [C99-based-standards] (SCNd32): Likewise.
3368 [C99-based-standards] (SCNi32): Likewise.
3369 [C99-based-standards] (SCNo32): Likewise.
3370 [C99-based-standards] (SCNu32): Likewise.
3371 [C99-based-standards] (SCNx32): Likewise.
3372 [C99-based-standards] (PRIdLEAST32): Likewise.
3373 [C99-based-standards] (PRIiLEAST32): Likewise.
3374 [C99-based-standards] (PRIoLEAST32): Likewise.
3375 [C99-based-standards] (PRIuLEAST32): Likewise.
3376 [C99-based-standards] (PRIxLEAST32): Likewise.
3377 [C99-based-standards] (PRIXLEAST32): Likewise.
3378 [C99-based-standards] (SCNdLEAST32): Likewise.
3379 [C99-based-standards] (SCNiLEAST32): Likewise.
3380 [C99-based-standards] (SCNoLEAST32): Likewise.
3381 [C99-based-standards] (SCNuLEAST32): Likewise.
3382 [C99-based-standards] (SCNxLEAST32): Likewise.
3383 [C99-based-standards] (PRIdFAST32): Likewise.
3384 [C99-based-standards] (PRIiFAST32): Likewise.
3385 [C99-based-standards] (PRIoFAST32): Likewise.
3386 [C99-based-standards] (PRIuFAST32): Likewise.
3387 [C99-based-standards] (PRIxFAST32): Likewise.
3388 [C99-based-standards] (PRIXFAST32): Likewise.
3389 [C99-based-standards] (SCNdFAST32): Likewise.
3390 [C99-based-standards] (SCNiFAST32): Likewise.
3391 [C99-based-standards] (SCNoFAST32): Likewise.
3392 [C99-based-standards] (SCNuFAST32): Likewise.
3393 [C99-based-standards] (SCNxFAST32): Likewise.
3394 [C99-based-standards] (PRId64): Likewise.
3395 [C99-based-standards] (PRIi64): Likewise.
3396 [C99-based-standards] (PRIo64): Likewise.
3397 [C99-based-standards] (PRIu64): Likewise.
3398 [C99-based-standards] (PRIx64): Likewise.
3399 [C99-based-standards] (PRIX64): Likewise.
3400 [C99-based-standards] (SCNd64): Likewise.
3401 [C99-based-standards] (SCNi64): Likewise.
3402 [C99-based-standards] (SCNo64): Likewise.
3403 [C99-based-standards] (SCNu64): Likewise.
3404 [C99-based-standards] (SCNx64): Likewise.
3405 [C99-based-standards] (PRIdLEAST64): Likewise.
3406 [C99-based-standards] (PRIiLEAST64): Likewise.
3407 [C99-based-standards] (PRIoLEAST64): Likewise.
3408 [C99-based-standards] (PRIuLEAST64): Likewise.
3409 [C99-based-standards] (PRIxLEAST64): Likewise.
3410 [C99-based-standards] (PRIXLEAST64): Likewise.
3411 [C99-based-standards] (SCNdLEAST64): Likewise.
3412 [C99-based-standards] (SCNiLEAST64): Likewise.
3413 [C99-based-standards] (SCNoLEAST64): Likewise.
3414 [C99-based-standards] (SCNuLEAST64): Likewise.
3415 [C99-based-standards] (SCNxLEAST64): Likewise.
3416 [C99-based-standards] (PRIdFAST64): Likewise.
3417 [C99-based-standards] (PRIiFAST64): Likewise.
3418 [C99-based-standards] (PRIoFAST64): Likewise.
3419 [C99-based-standards] (PRIuFAST64): Likewise.
3420 [C99-based-standards] (PRIxFAST64): Likewise.
3421 [C99-based-standards] (PRIXFAST64): Likewise.
3422 [C99-based-standards] (SCNdFAST64): Likewise.
3423 [C99-based-standards] (SCNiFAST64): Likewise.
3424 [C99-based-standards] (SCNoFAST64): Likewise.
3425 [C99-based-standards] (SCNuFAST64): Likewise.
3426 [C99-based-standards] (SCNxFAST64): Likewise.
3427 [C99-based-standards] (PRIdMAX): Likewise.
3428 [C99-based-standards] (PRIiMAX): Likewise.
3429 [C99-based-standards] (PRIoMAX): Likewise.
3430 [C99-based-standards] (PRIuMAX): Likewise.
3431 [C99-based-standards] (PRIxMAX): Likewise.
3432 [C99-based-standards] (PRIXMAX): Likewise.
3433 [C99-based-standards] (SCNdMAX): Likewise.
3434 [C99-based-standards] (SCNiMAX): Likewise.
3435 [C99-based-standards] (SCNoMAX): Likewise.
3436 [C99-based-standards] (SCNuMAX): Likewise.
3437 [C99-based-standards] (SCNxMAX): Likewise.
3438 [C99-based-standards] (PRIdPTR): Likewise.
3439 [C99-based-standards] (PRIiPTR): Likewise.
3440 [C99-based-standards] (PRIoPTR): Likewise.
3441 [C99-based-standards] (PRIuPTR): Likewise.
3442 [C99-based-standards] (PRIxPTR): Likewise.
3443 [C99-based-standards] (PRIXPTR): Likewise.
3444 [C99-based-standards] (SCNdPTR): Likewise.
3445 [C99-based-standards] (SCNiPTR): Likewise.
3446 [C99-based-standards] (SCNoPTR): Likewise.
3447 [C99-based-standards] (SCNuPTR): Likewise.
3448 [C99-based-standards] (SCNxPTR): Likewise.
3449 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3450 allow.
3451 * conform/data/stdint.h-data: Update comments to clarify
3452 requirements.
3453 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3454 type.
3455 [C99-based standards] (INT8_MAX): Likewise.
3456 [C99-based standards] (INT16_MIN): Likewise.
3457 [C99-based standards] (INT16_MAX): Likewise.
3458 [C99-based standards] (INT32_MIN): Likewise.
3459 [C99-based standards] (INT32_MAX): Likewise.
3460 [C99-based standards] (INT64_MIN): Likewise.
3461 [C99-based standards] (INT64_MAX): Likewise.
3462 [C99-based standards] (UINT8_MAX): Likewise.
3463 [C99-based standards] (UINT16_MAX): Likewise.
3464 [C99-based standards] (UINT32_MAX): Likewise.
3465 [C99-based standards] (UINT64_MAX): Likewise.
3466 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3467 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3468 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3469 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3470 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3471 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3472 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3473 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3474 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3475 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3476 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3477 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3478 [C99-based standards] (INT_FAST8_MIN): Likewise.
3479 [C99-based standards] (INT_FAST8_MAX): Likewise.
3480 [C99-based standards] (INT_FAST16_MIN): Likewise.
3481 [C99-based standards] (INT_FAST16_MAX): Likewise.
3482 [C99-based standards] (INT_FAST32_MIN): Likewise.
3483 [C99-based standards] (INT_FAST32_MAX): Likewise.
3484 [C99-based standards] (INT_FAST64_MIN): Likewise.
3485 [C99-based standards] (INT_FAST64_MAX): Likewise.
3486 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3487 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3488 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3489 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3490 [C99-based standards] (INTPTR_MIN): Likewise.
3491 [C99-based standards] (INTPTR_MAX): Likewise.
3492 [C99-based standards] (UINTPTR_MAX): Likewise.
3493 [C99-based standards] (INTMAX_MIN): Likewise.
3494 [C99-based standards] (INTMAX_MAX): Likewise.
3495 [C99-based standards] (UINTMAX_MAX): Likewise.
3496 [C99-based standards] (PTRDIFF_MIN): Likewise.
3497 [C99-based standards] (PTRDIFF_MAX): Likewise.
3498 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3499 [C99-based standards] (SIZE_MAX): Likewise.
3500 [C99-based standards] (WCHAR_MAX): Likewise.
3501 [C99-based standards] (WINT_MAX): Likewise.
3502 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3503 constraint on value.
3504 [C99-based standards] (WCHAR_MIN): Likewise.
3505 [C99-based standards] (WINT_MIN): Likewise.
3506 [C99-based standards] (*_t): Allow.
3507 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3508 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3509 Include math.h-data and complex.h-data. Remove all expectations
3510 of math.h and complex.h contents.
3511 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3512 at end of line.
3513 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3514 (struct tm): Expect tag.
3515 [C99-based-standards] (wcstof): Expect function.
3516 [C99-based-standards] (wcstold): Likewise.
3517 [C99-based-standards] (wcstoll): Likewise.
3518 [C99-based-standards] (wcstoull): Likewise.
3519 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3520 macro-int-constant. Specify type.
3521 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3522 constraint on value.
3523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3524 Specify type.
3525 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3526 Specify value.
3527 [ISO C standards]: Do not allow headers.
3528 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3529 wcs[abcdefghijklmnopqrstuvwxyz]*.
3530 [ISO C standards] (*_t): Do not allow.
3531 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3532 Expect function.
3533 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3534 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3535 Specify type.
3536 [ISO C standards]: Do not allow headers.
3537 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3538 is[abcdefghijklmnopqrstuvwxyz]*.
3539 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3540 to[abcdefghijklmnopqrstuvwxyz]*.
3541 [ISO C standards] (*_t): Do not allow.
3542 * conform/data/stdalign.h-data: New file.
3543 * conform/data/stdbool.h-data: Likewise.
3544 * conform/data/stdnoreturn.h-data: Likewise.
3545
7514feb8
RM
35462012-11-07 Roland McGrath <roland@hack.frob.com>
3547
3548 [BZ #14815]
3549 * manual/filesys.texi (Directory Entries): Typo fix.
3550 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3551
19b2ecfc
MS
35522012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3553
3554 * elf/elf.h (EM_AARCH64): New macro.
3555 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3556 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3557 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3558 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3559 (R_AARCH64_TLSDESC): Likewise.
3560 (NT_ARM_TLS): Likewise.
3561 (NT_ARM_HW_BREAK): Likewise.
3562 (NT_ARM_HW_WATCH): Likewise.
3563
60e235ee
JM
35642012-11-07 Joseph Myers <joseph@codesourcery.com>
3565
3566 [BZ #14811]
3567 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3568 (__ieee754_powl): Saturate nonzero exponents with absolute value
3569 below 0x1p-79 to +/- 0x1p-79.
3570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3571 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3572 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3573 nonzero exponents with absolute value below 0x1p-32 to +/-
3574 0x1p-32.
3575 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3576 (__ieee754_powl): Saturate nonzero exponents with absolute value
3577 below 0x1p-79 to +/- 0x1p-79.
3578 * math/libm-test.inc (pow_test): Add more tests.
3579
0ab234b7
AK
35802012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3581
3582 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3583 _dl_s390_cap_flags with kernel. Increase string length.
3584 (_dl_s390_platforms): Add z196 and zEC12.
3585
45832f74
JM
35862012-11-07 Joseph Myers <joseph@codesourcery.com>
3587
3588 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3589 Change XOPEN21K to XOPEN2K.
3590
19218757
MK
35912012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3592
3593 * string/memmove.c: Use memcpy when possible.
3594
c5f45721
AJ
35952012-11-06 Andreas Jaeger <aj@suse.de>
3596
3597 * po/eo.po: Update from translation team.
3598
82477c28
JM
35992012-11-06 Joseph Myers <joseph@codesourcery.com>
3600
3601 [BZ #14793]
3602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3603 exponent and small x and y exponents, scale x or y up. Increase
3604 by 2 the exponent used in scaling up.
3605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3607 * math/libm-test.inc (fma_test): Add more tests.
3608 (fma_test_towardzero): Likewise.
3609 (fma_test_downward): Likewise.
3610 (fma_test_upward): Likewise.
3611
99252c8c
JM
36122012-11-05 Joseph Myers <joseph@codesourcery.com>
3613
acfa885f
JM
3614 [BZ #14805]
3615 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3616 fenv_t *.
3617
99252c8c
JM
3618 [BZ #14801]
3619 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3620 namespace for names of struct fields.
3621 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3622 fenv_t fields.
3623 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3624 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3625
d6d98dea
ST
36262012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3627
3628 [BZ #3665]
3629 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3630
e10bb107
TS
36312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3632
3633 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3634 PTR_DEMANGLE.
3635
3636 [BZ #5246]
3637 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3638 PTR_DEMANGLE.
3639
a0c2940d
JM
36402012-11-04 Joseph Myers <joseph@codesourcery.com>
3641
3642 [BZ #14797]
3643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3644 definitely overflow as x * y not x * y + z.
3645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3647 * math/libm-test.inc (fma_test): Add more tests.
3648 (fma_test_towardzero): Likewise.
3649 (fma_test_downward): Likewise.
3650 (fma_test_upward): Likewise.
3651
b830319d
TS
36522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3653
3654 [BZ #157]
3655
3656 * include/stub-tag.h: Remove file.
3657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3658 '#include' of it.
3659 * manual/maint.texi (Porting): Don't reference it.
3660 * Makerules ($(objpfx)stubs): Likewise.
3661 * dirent/closedir.c: Don't include <stub-tag.h>.
3662 * dirent/dirfd.c: Likewise.
3663 * dirent/fdopendir.c: Likewise.
3664 * dirent/getdents.c: Likewise.
3665 * dirent/getdents64.c: Likewise.
3666 * dirent/opendir.c: Likewise.
3667 * dirent/readdir.c: Likewise.
3668 * dirent/readdir64.c: Likewise.
3669 * dirent/readdir64_r.c: Likewise.
3670 * dirent/readdir_r.c: Likewise.
3671 * dirent/rewinddir.c: Likewise.
3672 * dirent/seekdir.c: Likewise.
3673 * dirent/telldir.c: Likewise.
3674 * gmon/profil.c: Likewise.
3675 * grp/setgroups.c: Likewise.
3676 * inet/if_index.c: Likewise.
3677 * io/access.c: Likewise.
3678 * io/chdir.c: Likewise.
3679 * io/chmod.c: Likewise.
3680 * io/chown.c: Likewise.
3681 * io/close.c: Likewise.
3682 * io/dup.c: Likewise.
3683 * io/dup2.c: Likewise.
3684 * io/dup3.c: Likewise.
3685 * io/euidaccess.c: Likewise.
3686 * io/faccessat.c: Likewise.
3687 * io/fchdir.c: Likewise.
3688 * io/fchmod.c: Likewise.
3689 * io/fchmodat.c: Likewise.
3690 * io/fchown.c: Likewise.
3691 * io/fchownat.c: Likewise.
3692 * io/fcntl.c: Likewise.
3693 * io/flock.c: Likewise.
3694 * io/fstatfs.c: Likewise.
3695 * io/fstatfs64.c: Likewise.
3696 * io/fstatvfs.c: Likewise.
3697 * io/fstatvfs64.c: Likewise.
3698 * io/futimens.c: Likewise.
3699 * io/fxstat.c: Likewise.
3700 * io/fxstat64.c: Likewise.
3701 * io/fxstatat.c: Likewise.
3702 * io/fxstatat64.c: Likewise.
3703 * io/getcwd.c: Likewise.
3704 * io/isatty.c: Likewise.
3705 * io/lchmod.c: Likewise.
3706 * io/lchown.c: Likewise.
3707 * io/link.c: Likewise.
3708 * io/linkat.c: Likewise.
3709 * io/lseek.c: Likewise.
3710 * io/lseek64.c: Likewise.
3711 * io/lxstat64.c: Likewise.
3712 * io/mkdir.c: Likewise.
3713 * io/mkdirat.c: Likewise.
3714 * io/mkfifo.c: Likewise.
3715 * io/mkfifoat.c: Likewise.
3716 * io/open.c: Likewise.
3717 * io/open64.c: Likewise.
3718 * io/openat.c: Likewise.
3719 * io/openat64.c: Likewise.
3720 * io/pipe.c: Likewise.
3721 * io/pipe2.c: Likewise.
3722 * io/poll.c: Likewise.
3723 * io/posix_fadvise.c: Likewise.
3724 * io/posix_fadvise64.c: Likewise.
3725 * io/posix_fallocate.c: Likewise.
3726 * io/posix_fallocate64.c: Likewise.
3727 * io/read.c: Likewise.
3728 * io/readlink.c: Likewise.
3729 * io/readlinkat.c: Likewise.
3730 * io/rmdir.c: Likewise.
3731 * io/sendfile.c: Likewise.
3732 * io/sendfile64.c: Likewise.
3733 * io/statfs.c: Likewise.
3734 * io/statfs64.c: Likewise.
3735 * io/statvfs.c: Likewise.
3736 * io/statvfs64.c: Likewise.
3737 * io/symlink.c: Likewise.
3738 * io/symlinkat.c: Likewise.
3739 * io/ttyname.c: Likewise.
3740 * io/ttyname_r.c: Likewise.
3741 * io/umask.c: Likewise.
3742 * io/unlink.c: Likewise.
3743 * io/unlinkat.c: Likewise.
3744 * io/utime.c: Likewise.
3745 * io/utimensat.c: Likewise.
3746 * io/write.c: Likewise.
3747 * io/xmknod.c: Likewise.
3748 * io/xmknodat.c: Likewise.
3749 * io/xstat.c: Likewise.
3750 * io/xstat64.c: Likewise.
3751 * login/getpt.c: Likewise.
3752 * login/grantpt.c: Likewise.
3753 * login/unlockpt.c: Likewise.
3754 * math/e_acoshl.c: Likewise.
3755 * math/e_acosl.c: Likewise.
3756 * math/e_asinl.c: Likewise.
3757 * math/e_atan2l.c: Likewise.
3758 * math/e_atanhl.c: Likewise.
3759 * math/e_coshl.c: Likewise.
3760 * math/e_expl.c: Likewise.
3761 * math/e_fmodl.c: Likewise.
3762 * math/e_gammal_r.c: Likewise.
3763 * math/e_hypotl.c: Likewise.
3764 * math/e_j0l.c: Likewise.
3765 * math/e_j1l.c: Likewise.
3766 * math/e_jnl.c: Likewise.
3767 * math/e_lgammal_r.c: Likewise.
3768 * math/e_log10l.c: Likewise.
3769 * math/e_log2l.c: Likewise.
3770 * math/e_logl.c: Likewise.
3771 * math/e_powl.c: Likewise.
3772 * math/e_rem_pio2l.c: Likewise.
3773 * math/e_sinhl.c: Likewise.
3774 * math/e_sqrtl.c: Likewise.
3775 * math/fclrexcpt.c: Likewise.
3776 * math/fedisblxcpt.c: Likewise.
3777 * math/feenablxcpt.c: Likewise.
3778 * math/fegetenv.c: Likewise.
3779 * math/fegetexcept.c: Likewise.
3780 * math/fegetround.c: Likewise.
3781 * math/feholdexcpt.c: Likewise.
3782 * math/fesetenv.c: Likewise.
3783 * math/fesetround.c: Likewise.
3784 * math/feupdateenv.c: Likewise.
3785 * math/fgetexcptflg.c: Likewise.
3786 * math/fraiseexcpt.c: Likewise.
3787 * math/fsetexcptflg.c: Likewise.
3788 * math/ftestexcept.c: Likewise.
3789 * math/k_cosl.c: Likewise.
3790 * math/k_rem_pio2l.c: Likewise.
3791 * math/k_sinl.c: Likewise.
3792 * math/k_tanl.c: Likewise.
3793 * math/s_asinhl.c: Likewise.
3794 * math/s_atanl.c: Likewise.
3795 * math/s_cbrtl.c: Likewise.
3796 * math/s_erfl.c: Likewise.
3797 * math/s_expm1l.c: Likewise.
3798 * math/s_log1pl.c: Likewise.
3799 * math/s_tanhl.c: Likewise.
3800 * misc/acct.c: Likewise.
3801 * misc/brk.c: Likewise.
3802 * misc/chflags.c: Likewise.
3803 * misc/chroot.c: Likewise.
3804 * misc/fchflags.c: Likewise.
3805 * misc/fgetxattr.c: Likewise.
3806 * misc/flistxattr.c: Likewise.
3807 * misc/fremovexattr.c: Likewise.
3808 * misc/fsetxattr.c: Likewise.
3809 * misc/fsync.c: Likewise.
3810 * misc/ftruncate.c: Likewise.
3811 * misc/futimes.c: Likewise.
3812 * misc/futimesat.c: Likewise.
3813 * misc/getdomain.c: Likewise.
3814 * misc/getdtsz.c: Likewise.
3815 * misc/gethostid.c: Likewise.
3816 * misc/gethostname.c: Likewise.
3817 * misc/getloadavg.c: Likewise.
3818 * misc/getpagesize.c: Likewise.
3819 * misc/getsysstats.c: Likewise.
3820 * misc/getxattr.c: Likewise.
3821 * misc/gtty.c: Likewise.
3822 * misc/ioctl.c: Likewise.
3823 * misc/lgetxattr.c: Likewise.
3824 * misc/listxattr.c: Likewise.
3825 * misc/llistxattr.c: Likewise.
3826 * misc/lremovexattr.c: Likewise.
3827 * misc/lsetxattr.c: Likewise.
3828 * misc/lutimes.c: Likewise.
3829 * misc/madvise.c: Likewise.
3830 * misc/mincore.c: Likewise.
3831 * misc/mlock.c: Likewise.
3832 * misc/mlockall.c: Likewise.
3833 * misc/mmap.c: Likewise.
3834 * misc/mprotect.c: Likewise.
3835 * misc/msync.c: Likewise.
3836 * misc/munlock.c: Likewise.
3837 * misc/munlockall.c: Likewise.
3838 * misc/munmap.c: Likewise.
3839 * misc/preadv.c: Likewise.
3840 * misc/preadv64.c: Likewise.
3841 * misc/ptrace.c: Likewise.
3842 * misc/pwritev.c: Likewise.
3843 * misc/pwritev64.c: Likewise.
3844 * misc/readv.c: Likewise.
3845 * misc/reboot.c: Likewise.
3846 * misc/remap_file_pages.c: Likewise.
3847 * misc/removexattr.c: Likewise.
3848 * misc/revoke.c: Likewise.
3849 * misc/select.c: Likewise.
3850 * misc/setdomain.c: Likewise.
3851 * misc/setegid.c: Likewise.
3852 * misc/seteuid.c: Likewise.
3853 * misc/sethostid.c: Likewise.
3854 * misc/sethostname.c: Likewise.
3855 * misc/setregid.c: Likewise.
3856 * misc/setreuid.c: Likewise.
3857 * misc/setxattr.c: Likewise.
3858 * misc/sstk.c: Likewise.
3859 * misc/stty.c: Likewise.
3860 * misc/swapoff.c: Likewise.
3861 * misc/swapon.c: Likewise.
3862 * misc/sync.c: Likewise.
3863 * misc/syncfs.c: Likewise.
3864 * misc/syscall.c: Likewise.
3865 * misc/truncate.c: Likewise.
3866 * misc/ualarm.c: Likewise.
3867 * misc/usleep.c: Likewise.
3868 * misc/ustat.c: Likewise.
3869 * misc/utimes.c: Likewise.
3870 * misc/vhangup.c: Likewise.
3871 * misc/writev.c: Likewise.
3872 * posix/_exit.c: Likewise.
3873 * posix/alarm.c: Likewise.
3874 * posix/execve.c: Likewise.
3875 * posix/fexecve.c: Likewise.
3876 * posix/fork.c: Likewise.
3877 * posix/fpathconf.c: Likewise.
3878 * posix/getaddrinfo.c: Likewise.
3879 * posix/getegid.c: Likewise.
3880 * posix/geteuid.c: Likewise.
3881 * posix/getgid.c: Likewise.
3882 * posix/getgroups.c: Likewise.
3883 * posix/getlogin.c: Likewise.
3884 * posix/getlogin_r.c: Likewise.
3885 * posix/getpgid.c: Likewise.
3886 * posix/getpid.c: Likewise.
3887 * posix/getppid.c: Likewise.
3888 * posix/getresgid.c: Likewise.
3889 * posix/getresuid.c: Likewise.
3890 * posix/getsid.c: Likewise.
3891 * posix/getuid.c: Likewise.
3892 * posix/glob64.c: Likewise.
3893 * posix/nanosleep.c: Likewise.
3894 * posix/pathconf.c: Likewise.
3895 * posix/pause.c: Likewise.
3896 * posix/posix_madvise.c: Likewise.
3897 * posix/pread.c: Likewise.
3898 * posix/pread64.c: Likewise.
3899 * posix/pwrite.c: Likewise.
3900 * posix/pwrite64.c: Likewise.
3901 * posix/sched_getaffinity.c: Likewise.
3902 * posix/sched_getp.c: Likewise.
3903 * posix/sched_gets.c: Likewise.
3904 * posix/sched_primax.c: Likewise.
3905 * posix/sched_primin.c: Likewise.
3906 * posix/sched_rr_gi.c: Likewise.
3907 * posix/sched_setaffinity.c: Likewise.
3908 * posix/sched_setp.c: Likewise.
3909 * posix/sched_sets.c: Likewise.
3910 * posix/sched_yield.c: Likewise.
3911 * posix/setgid.c: Likewise.
3912 * posix/setlogin.c: Likewise.
3913 * posix/setpgid.c: Likewise.
3914 * posix/setresgid.c: Likewise.
3915 * posix/setresuid.c: Likewise.
3916 * posix/setsid.c: Likewise.
3917 * posix/setuid.c: Likewise.
3918 * posix/sleep.c: Likewise.
3919 * posix/spawni.c: Likewise.
3920 * posix/sysconf.c: Likewise.
3921 * posix/times.c: Likewise.
3922 * posix/wait.c: Likewise.
3923 * posix/wait3.c: Likewise.
3924 * posix/wait4.c: Likewise.
3925 * posix/waitpid.c: Likewise.
3926 * resolv/gai_sigqueue.c: Likewise.
3927 * resource/getpriority.c: Likewise.
3928 * resource/getrlimit.c: Likewise.
3929 * resource/getrusage.c: Likewise.
3930 * resource/nice.c: Likewise.
3931 * resource/setpriority.c: Likewise.
3932 * resource/setrlimit.c: Likewise.
3933 * resource/ulimit.c: Likewise.
3934 * rt/aio_cancel.c: Likewise.
3935 * rt/aio_fsync.c: Likewise.
3936 * rt/aio_read.c: Likewise.
3937 * rt/aio_sigqueue.c: Likewise.
3938 * rt/aio_suspend.c: Likewise.
3939 * rt/aio_write.c: Likewise.
3940 * rt/clock_getres.c: Likewise.
3941 * rt/clock_gettime.c: Likewise.
3942 * rt/clock_nanosleep.c: Likewise.
3943 * rt/clock_settime.c: Likewise.
3944 * rt/lio_listio.c: Likewise.
3945 * rt/mq_close.c: Likewise.
3946 * rt/mq_getattr.c: Likewise.
3947 * rt/mq_notify.c: Likewise.
3948 * rt/mq_open.c: Likewise.
3949 * rt/mq_receive.c: Likewise.
3950 * rt/mq_send.c: Likewise.
3951 * rt/mq_setattr.c: Likewise.
3952 * rt/mq_timedreceive.c: Likewise.
3953 * rt/mq_timedsend.c: Likewise.
3954 * rt/mq_unlink.c: Likewise.
3955 * rt/shm_open.c: Likewise.
3956 * rt/shm_unlink.c: Likewise.
3957 * rt/timer_create.c: Likewise.
3958 * rt/timer_delete.c: Likewise.
3959 * rt/timer_getoverr.c: Likewise.
3960 * rt/timer_gettime.c: Likewise.
3961 * rt/timer_settime.c: Likewise.
3962 * setjmp/__longjmp.c: Likewise.
3963 * setjmp/setjmp.c: Likewise.
3964 * signal/kill.c: Likewise.
3965 * signal/killpg.c: Likewise.
3966 * signal/raise.c: Likewise.
3967 * signal/sigaction.c: Likewise.
3968 * signal/sigaltstack.c: Likewise.
3969 * signal/sigblock.c: Likewise.
3970 * signal/sigignore.c: Likewise.
3971 * signal/sigintr.c: Likewise.
3972 * signal/signal.c: Likewise.
3973 * signal/sigpause.c: Likewise.
3974 * signal/sigpending.c: Likewise.
3975 * signal/sigqueue.c: Likewise.
3976 * signal/sigreturn.c: Likewise.
3977 * signal/sigset.c: Likewise.
3978 * signal/sigsetmask.c: Likewise.
3979 * signal/sigstack.c: Likewise.
3980 * signal/sigsuspend.c: Likewise.
3981 * signal/sigtimedwait.c: Likewise.
3982 * signal/sigvec.c: Likewise.
3983 * signal/sigwait.c: Likewise.
3984 * signal/sigwaitinfo.c: Likewise.
3985 * signal/sysv_signal.c: Likewise.
3986 * socket/accept.c: Likewise.
3987 * socket/accept4.c: Likewise.
3988 * socket/bind.c: Likewise.
3989 * socket/connect.c: Likewise.
3990 * socket/getpeername.c: Likewise.
3991 * socket/getsockname.c: Likewise.
3992 * socket/getsockopt.c: Likewise.
3993 * socket/isfdtype.c: Likewise.
3994 * socket/listen.c: Likewise.
3995 * socket/recv.c: Likewise.
3996 * socket/recvfrom.c: Likewise.
3997 * socket/recvmsg.c: Likewise.
3998 * socket/send.c: Likewise.
3999 * socket/sendmsg.c: Likewise.
4000 * socket/sendto.c: Likewise.
4001 * socket/setsockopt.c: Likewise.
4002 * socket/shutdown.c: Likewise.
4003 * socket/sockatmark.c: Likewise.
4004 * socket/socket.c: Likewise.
4005 * socket/socketpair.c: Likewise.
4006 * stdio-common/ctermid.c: Likewise.
4007 * stdio-common/cuserid.c: Likewise.
4008 * stdio-common/remove.c: Likewise.
4009 * stdio-common/rename.c: Likewise.
4010 * stdio-common/renameat.c: Likewise.
4011 * stdio-common/tempname.c: Likewise.
4012 * stdlib/getcontext.c: Likewise.
4013 * stdlib/makecontext.c: Likewise.
4014 * stdlib/setcontext.c: Likewise.
4015 * stdlib/swapcontext.c: Likewise.
4016 * stdlib/system.c: Likewise.
4017 * streams/fattach.c: Likewise.
4018 * streams/fdetach.c: Likewise.
4019 * streams/getmsg.c: Likewise.
4020 * streams/getpmsg.c: Likewise.
4021 * streams/putmsg.c: Likewise.
4022 * streams/putpmsg.c: Likewise.
4023 * sysdeps/unix/bsd/getpt.c: Likewise.
4024 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4025 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4026 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4028 Likewise.
4029 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4030 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4031 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4032 * sysvipc/msgctl.c: Likewise.
4033 * sysvipc/msgget.c: Likewise.
4034 * sysvipc/msgrcv.c: Likewise.
4035 * sysvipc/msgsnd.c: Likewise.
4036 * sysvipc/semctl.c: Likewise.
4037 * sysvipc/semget.c: Likewise.
4038 * sysvipc/semop.c: Likewise.
4039 * sysvipc/semtimedop.c: Likewise.
4040 * sysvipc/shmat.c: Likewise.
4041 * sysvipc/shmctl.c: Likewise.
4042 * sysvipc/shmdt.c: Likewise.
4043 * sysvipc/shmget.c: Likewise.
4044 * termios/tcdrain.c: Likewise.
4045 * termios/tcflow.c: Likewise.
4046 * termios/tcflush.c: Likewise.
4047 * termios/tcgetattr.c: Likewise.
4048 * termios/tcgetpgrp.c: Likewise.
4049 * termios/tcsendbrk.c: Likewise.
4050 * termios/tcsetattr.c: Likewise.
4051 * termios/tcsetpgrp.c: Likewise.
4052 * time/adjtime.c: Likewise.
4053 * time/clock.c: Likewise.
4054 * time/getitimer.c: Likewise.
4055 * time/gettimeofday.c: Likewise.
4056 * time/setitimer.c: Likewise.
4057 * time/settimeofday.c: Likewise.
4058 * time/stime.c: Likewise.
4059 * time/time.c: Likewise.
4060
40612012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4062
a20492cf
PT
4063 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4064 /usr/old/bin.
4065
72e182e3
PT
4066 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4067 instead of spaces.
4068 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4069
fbeafede
JM
40702012-11-03 Joseph Myers <joseph@codesourcery.com>
4071
5b5b04d6
JM
4072 [BZ #14796]
4073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4074 FE_TONEAREST before applying Dekker multiplication and Knuth
4075 addition. Clear inexact exceptions and check for exact zero
4076 results afterwards.
4077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4080 * math/libm-test.inc (fma_test): Add more tests.
4081 (fma_test_towardzero): Likewise.
4082 (fma_test_downward): Likewise.
4083 (fma_test_upward): Likewise.
4084 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4085 function.
4086 (libc_fesetround): New macro.
4087 (libc_fesetroundf): Likewise.
4088 (libc_fesetroundl): Likewise.
4089 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4090 function.
4091 (libc_fesetround_387): Likewise.
4092 (libc_fesetroundf): New macro.
4093 (libc_fesetround): Likewise.
4094 (libc_fesetroundl): Likewise.
4095 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4096 function.
4097 (libc_fesetroundf): New macro.
4098 (libc_fesetround): Likewise.
4099 (libc_fesetroundl): Likewise.
4100 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4101 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4102 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4103 libm_hidden_ver.
4104 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4105 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4106 libm_hidden_def.
4107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4108 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4109 libm_hidden_ver.
4110 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4111 libm_hidden_def.
4112
fbeafede
JM
4113 [BZ #3439]
4114 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4115 integer constant usable in #if and use that to give value to enum
4116 constant.
4117 (FE_DIVBYZERO): Likewise.
4118 (FE_UNDERFLOW): Likewise.
4119 (FE_OVERFLOW): Likewise.
4120 (FE_INVALID): Likewise.
4121 (FE_INVALID_SNAN): Likewise.
4122 (FE_INVALID_ISI): Likewise.
4123 (FE_INVALID_IDI): Likewise.
4124 (FE_INVALID_ZDZ): Likewise.
4125 (FE_INVALID_IMZ): Likewise.
4126 (FE_INVALID_COMPARE): Likewise.
4127 (FE_INVALID_SOFTWARE): Likewise.
4128 (FE_INVALID_SQRT): Likewise.
4129 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4130 (FE_TONEAREST): Likewise.
4131 (FE_TOWARDZERO): Likewise.
4132 (FE_UPWARD): Likewise.
4133 (FE_DOWNWARD): Likewise.
4134 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4135 (FE_DIVBYZERO): Likewise.
4136 (FE_OVERFLOW): Likewise.
4137 (FE_UNDERFLOW): Likewise.
4138 (FE_INEXACT): Likewise.
4139 (FE_TONEAREST): Likewise.
4140 (FE_DOWNWARD): Likewise.
4141 (FE_UPWARD): Likewise.
4142 (FE_TOWARDZERO): Likewise.
4143 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4144 (FE_UNDERFLOW): Likewise.
4145 (FE_OVERFLOW): Likewise.
4146 (FE_DIVBYZERO): Likewise.
4147 (FE_INVALID): Likewise.
4148 (FE_TONEAREST): Likewise.
4149 (FE_TOWARDZERO): Likewise.
4150 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4151 (FE_OVERFLOW): Likewise.
4152 (FE_UNDERFLOW): Likewise.
4153 (FE_DIVBYZERO): Likewise.
4154 (FE_INEXACT): Likewise.
4155 (FE_TONEAREST): Likewise.
4156 (FE_TOWARDZERO): Likewise.
4157 (FE_UPWARD): Likewise.
4158 (FE_DOWNWARD): Likewise.
4159 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4160 (FE_DIVBYZERO): Likewise.
4161 (FE_OVERFLOW): Likewise.
4162 (FE_UNDERFLOW): Likewise.
4163 (FE_INEXACT): Likewise.
4164 (FE_TONEAREST): Likewise.
4165 (FE_DOWNWARD): Likewise.
4166 (FE_UPWARD): Likewise.
4167 (FE_TOWARDZERO): Likewise.
4168
105ca950
CM
41692012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4170
4171 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4172
a542b389
AS
41732012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4174
4175 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4176 commands. Quote $PWD.
4177 (blacklist_exports): Don't use remove_newlines. Replace "declare
4178 -x" by "export".
4179 (remove_newlines): Remove.
4180
f62c8abc
L
41812012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4184 * stdlib/stdlib.h (atof): Moved to ...
4185 * include/bits/stdlib-float.h: Here. New file.
4186 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4187 * stdlib/bits/stdlib-float.h: New file.
4188 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4189 -mno-sse -mno-mmx.
4190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4191 <xmmintrin.h>.
4192
0155d5b2
JM
41932012-11-02 Joseph Myers <joseph@codesourcery.com>
4194
a68d0680
JM
4195 * conform/conformtest.pl (@headers): Add fenv.h.
4196 * conform/data/fenv.h-data: New file.
4197 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4198 include of <math/fenv.h>.
4199
caf7f573
JM
4200 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4201 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4202 && !UNIX98]. Enables tests for XOPEN2K8.
4203 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4204 POSIX2008]: Likewise.
4205
6c073ad6
JM
4206 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4207 (struct rusage): Do not expect type or its members.
4208
0155d5b2
JM
4209 [BZ #3439]
4210 * math/math.h (FP_NAN): Define macro to integer constant usable in
4211 #if and use that to give value to enum constant.
4212 (FP_INFINITE): Likewise.
4213 (FP_ZERO): Likewise.
4214 (FP_SUBNORMAL): Likewise.
4215 (FP_NORMAL): Likewise.
4216
b5dcacb4
AS
42172012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4218
4219 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4220 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4221 arguments.
4222
f7934be8
RM
42232012-11-02 Roland McGrath <roland@hack.frob.com>
4224
4225 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4226 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4227 autoconf-time if not.
4228 * configure.in: Remove AC_PREREQ.
4229
d7d08bde
TMQMF
42302012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4231
4232 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4233 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4234 of the internal implementation.
4235
dcdae19a
JM
42362012-11-02 Joseph Myers <joseph@codesourcery.com>
4237
4238 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4239 except include of <misc/sys/syslog.h>.
4240
d6cffd3e
AS
42412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4242
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4244 function returns with a NULL context exit with zero.
4245
b3563932
TMQMF
42462012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4247
4248 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4249
b288a93d
L
42502012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4251
4252 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4253 (run_program_cmd): This.
4254 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4255 (tst_langinfo): New variable. Use it.
4256
a2421a68
SAS
42572012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4258
4259 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4260 floating point opcodes.
4261
6f796e1b
TS
42622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4263
7402596b
TS
4264 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4265 variable.
4266
d0d4f868
TS
4267 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4268
6f796e1b
TS
4269 * sysdeps/mach/hurd/powerpc: Remove directory.
4270 * sysdeps/mach/powerpc: Likewise.
4271
4da224a2
AS
42722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4273
4274 * scripts/check-local-headers.sh: Ignore c++ headers.
4275
341dd673
TS
42762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4277
4278 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4279 __libc_cleanup_region_start argument.
4280
473611b2
JM
42812012-11-01 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #14784]
4284 [BZ #14785]
4285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4286 x * y using scaling, not as x * y + z.
4287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4289 * math/libm-test.inc (fma_test): Add more tests.
4290 (fma_test_towardzero): Likewise.
4291 (fma_test_downward): Likewise.
4292 (fma_test_upward): Likewise.
4293
4078da3d
TS
42942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4295
4296 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4297
903252aa
JM
42982012-10-31 Joseph Myers <joseph@codesourcery.com>
4299
4300 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4301 New variable.
4302
cbc818d0
TS
43032012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4304
4305 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4306
5a03cb1e
AS
43072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4308
4309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4310 Fix sort order.
4311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4312 Likewise.
4313
90aff2ff
TMQMF
43142012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4315
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4317 Fix the order of the list for glibc 2.17.
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4319 Likewise.
4320
1818fcb7
AS
43212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4322
4323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4324
ef82f4da
JM
43252012-10-31 Joseph Myers <joseph@codesourcery.com>
4326
16a0e2ec
JM
4327 [BZ #14610]
4328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4329 for low part of x being zero before using __atanl (y).
4330 * math/libm-test.inc (atan2_test): Add another test.
4331
0eb69512
JM
4332 * manual/install.texi (Configuring and compiling): Document
4333 general use of test-wrapper and test-wrapper-env.
4334 * INSTALL: Regenerated.
4335
ef82f4da
JM
4336 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4337 (__fma): Do not extract and scale down low bits on after-rounding
4338 systems when result rounded to normal precision would have normal
4339 exponent.
4340 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4341 (__fmal): Do not extract and scale down low bits on after-rounding
4342 systems when result rounded to normal precision would have normal
4343 exponent.
4344 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4345 (__fmal): Do not extract and scale down low bits on after-rounding
4346 systems when result rounded to normal precision would have normal
4347 exponent.
4348 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4349 macro.
4350 (fma_test): Add more tests.
4351 (fma_test_towardzero): Likewise.
4352 (fma_test_downward): Likewise.
4353 (fma_test_upward): Likewise.
4354
954ef0d9
L
43552012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * sysdeps/i386/tininess.h: Renamed to ...
4358 * sysdeps/x86/tininess.h: This.
4359 * sysdeps/x86_64/tininess.h: Removed.
4360
df61ffb2
JM
43612012-10-30 Joseph Myers <joseph@codesourcery.com>
4362
4363 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4364 input. Use $(build-program-cmd).
4365 ($(objpfx)tst-array1-static.out): Likewise.
4366 ($(objpfx)tst-array2.out): Likewise.
4367 ($(objpfx)tst-array3.out): Likewise.
4368 ($(objpfx)tst-array4.out): Likewise.
4369 ($(objpfx)tst-array5.out): Likewise.
4370 ($(objpfx)tst-array5-static.out): Likewise.
4371
01767843
CM
43722012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4373
47cc1490
CM
4374 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4375 if defined.
4376
01767843
CM
4377 * nss/nsswitch.h (nss_interface_function): Provide new
4378 macro for use with NSS functions.
4379 * grp/initgroups.c: Use new macro.
4380 * nss/getXXbyYY.c: Likewise.
4381 * nss/getXXbyYY_r.c: Likewise.
4382 * nss/getXXent.c: Likewise.
4383 * nss/getXXent_r.c: Likewise.
4384 * sysdeps/posix/getaddrinfo.c: Likewise.
4385
8321aa97
AJ
43862012-10-30 Andreas Jaeger <aj@suse.de>
4387
4388 * po/ru.po: Update Russion translation from translation project.
4389
2a27fd6d
JM
43902012-10-30 Joseph Myers <joseph@codesourcery.com>
4391
8627a232
JM
4392 [BZ #14152]
4393 [BZ #14783]
4394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4395 result and shift together with sticky bit instead of replicating
4396 round-to-nearest rounding.
4397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4399 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4400 missing underflow exceptions.
4401 (fma_test_towardzero): Add more tests.
4402 (fma_test_downward): Likewise.
4403 (fma_test_upward): Likewise.
4404
2a27fd6d
JM
4405 [BZ #14047]
4406 * sysdeps/generic/tininess.h: New file.
4407 * sysdeps/i386/tininess.h: Likewise.
4408 * sysdeps/sh/tininess.h: Likewise.
4409 * sysdeps/x86_64/tininess.h: Likewise.
4410 * stdlib/tst-strtod-underflow.c: Likewise.
4411 * stdlib/tst-tininess.c: Likewise.
4412 * stdlib/strtod_l.c: Include <tininess.h>.
4413 (round_and_return): Do not set errno for exact underflow cases.
4414 Force an underflow exception when setting errno for underflow.
4415 Determine underflow based on rounding to normal precision if
4416 TININESS_AFTER_ROUNDING.
4417 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4418 ERANGE for exact underflow cases.
4419 * stdlib/Makefile (tests): Add tst-tininess and
4420 tst-strtod-underflow.
4421 ($(objpfx)tst-tininess): Use $(link-libm).
4422 ($(objpfx)tst-strtod-underflow): Likewise.
4423
e7170363
AJ
44242012-10-30 Andreas Jaeger <aj@suse.de>
4425
e5088dc6
AJ
4426 [BZ#14767]
4427 * elf/Makefile (tests): Remove conditional for have-initfini-array
4428 since this is now always required and the variable does not exist
4429 anymore.
4430 (tests-static): Likewise.
4431 (modules-names): Likewise.
4432
e7170363 4433 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4434
4435 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4436 merged with constructor/destructor.
4437 (init_array): Likewise.
4438 * elf/tst-array2dep.c (fini_array): Likewise.
4439 (init_array): Likewise.
4440
60457d8a
MF
44412012-10-29 Mike Frysinger <vapier@gentoo.org>
4442
4443 * manual/message.texi: Delete @cartouche tags.
4444
8bece752
PT
44452012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4446
94ce799f
PT
4447 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4448 EOPNOTSUPP.
4449 * sysdeps/mach/hurd/fsync.c: Likewise.
4450
8bece752
PT
4451 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4452 [_POSIX_REALTIME_SIGNALS]: Change condition to
4453 [_POSIX_REALTIME_SIGNALS > 0].
4454
86ebe6b1
AJ
44552012-10-27 Andreas Jaeger <aj@suse.de>
4456
4457 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4458 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4460 [__WORDSIZE != 64]: Likewise.
4461
54399c08
L
44622012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 * iconvdata/tst-table.sh: Remove ${SHELL}.
4465 * iconvdata/tst-tables.sh: Likewise.
4466
e2211bed
DM
44672012-10-25 David S. Miller <davem@davemloft.net>
4468
4469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4470 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4471 of strtoull.
4472
f303f97c
DM
4473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4474 ifunc-impl-list.c
4475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4476 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4477 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4478 file.
4479
1e9d84cd
RM
44802012-10-25 Roland McGrath <roland@hack.frob.com>
4481
4482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4483 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4484 __getdirentries.
4485
df381762
JM
44862012-10-25 Joseph Myers <joseph@codesourcery.com>
4487 Jim Blandy <jimb@codesourcery.com>
4488
4489 * scripts/cross-test-ssh.sh: New file.
4490 * manual/install.texi (Configuring and compiling): Document use of
4491 cross-test-ssh.sh.
4492 * INSTALL: Regenerated.
4493
bff64913
PT
44942012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4495
4496 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4497 EOPNOTSUPP.
4498
25fe8932
JM
44992012-10-25 Joseph Myers <joseph@codesourcery.com>
4500
4501 * Makeconfig (run-program-prefix): Fix comment.
4502
cc1290d0
JM
45032012-10-24 Joseph Myers <joseph@codesourcery.com>
4504 Jim Blandy <jimb@codesourcery.com>
4505
4506 * Makeconfig (test-wrapper): New variable,
4507 (test-wrapper-env): Likewise.
4508 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4509 (run-built-tests): Define to yes.
4510 (run-program-prefix): Use $(test-wrapper).
4511 (built-program-cmd): Likewise.
4512 * Rules (make-test-out): Use $(test-wrapper-env) and
4513 $(host-built-program-cmd).
4514 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4515 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4516 tst-pathopt.sh.
4517 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4518 $(test-wrapper-env) to tst-rtld-load-self.sh.
4519 ($(objpfx)order2.out): Use $(test-wrapper).
4520 ($(objpfx)tst-initorder.out): Likewise.
4521 ($(objpfx)tst-initorder2.out): Likewise.
4522 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4523 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4524 (test_wrapper_env): New variable. Use it to run ld.so.
4525 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4526 Use it to run ld.so.
4527 (test_wrapper_env): Likewise.
4528 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4529 $(test-wrapper) to run-iconv-test.sh.
4530 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4531 (ICONV): Use $test_wrapper.
4532 * posix/Makefile ($(objpfx)globtest.out): Pass
4533 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4534 globtest.sh, not $(run-program-prefix).
4535 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4536 (test_wrapper): Likewise.
4537 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4538 set together with run_via_rtld_prefix.
4539 (run_program_prefix): Define in terms of test_wrapper and
4540 run_via_rtld_prefix.
4541
6e6249d0
RM
45422012-10-24 Roland McGrath <roland@hack.frob.com>
4543
4544 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4545 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4546 Targets removed.
4547
4548 [BZ #14743]
4549 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4550 Declare __clock_getres, __clock_gettime, __clock_settime,
4551 __clock_nanosleep, and __clock_getcpuclockid.
4552 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4553 Remove librt_hidden_def (clock_gettime).
4554 * sysdeps/unix/clock_gettime.c: Likewise.
4555 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4557 * rt/clock_getres.c: Define __clock_getres as an alias.
4558 * sysdeps/posix/clock_getres.c: Likewise.
4559 * rt/clock_settime.c: Define __clock_settime as an alias.
4560 * sysdeps/unix/clock_settime.c: Likewise.
4561 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4562 * sysdeps/unix/clock_nanosleep.c: Likewise.
4563 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4564 * rt/clock-compat.c: New file.
4565 * rt/Makefile (librt-routines): Add clock-compat and move
4566 $(clock-routines) to ...
4567 (routines): ... here, new variable.
4568 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4569 Don't add get_clockfreq here.
4570 * rt/Versions (libc: GLIBC_2.17): New version set.
4571 Add clock_* symbols here.
4572 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4574 (GLIBC_2.17): Add clock_* symbols.
4575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4579 Likewise.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4581 Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4586 * NEWS: Mention the move.
4587
4588 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4589 Use __open, __read, __close rather than their public counterparts.
4590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4591 (__get_clockfreq_via_cpuinfo): Likewise.
4592 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4593 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4594
4595 * config.h.in (HAVE_IFUNC): New #undef.
4596 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4597 was successful.
4598 * configure: Regenerated.
4599
0cae3f4b
MF
46002012-10-24 Mike Frysinger <vapier@gentoo.org>
4601
4602 * configure.in: Move READELF check to start of file.
4603 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4604 libc_cv_asm_gnu_indirect_function in the process.
4605 * configure: Regenerated.
4606
8175a253
MF
46072012-10-24 Mike Frysinger <vapier@gentoo.org>
4608
4609 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4610 send the output to /dev/null.
4611 (libc_cv_cc_with_libunwind): Likewise.
4612 (libc_cv_as_noexecstack): Likewise.
4613 * configure: Regenerate.
4614
0708a7d1
JM
46152012-10-24 Joseph Myers <joseph@codesourcery.com>
4616
10b40d85
JM
4617 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4618
0708a7d1
JM
4619 * posix/globtest.sh (TMPDIR): Do not set.
4620 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4621 (testout): Likewise.
4622
9fddec1a
AJ
46232012-10-24 Andreas Jaeger <aj@suse.de>
4624
3a8db22f
AJ
4625 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4626 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4627 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4628 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4629 posix_fadvise64, posix_fallocate64.
4630
9fddec1a
AJ
4631 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4632 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4633 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4634 Likewise.
4635 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4636 Likewise.
4637 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4638
4639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4640 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4641 <bits/fcntl-linux.h>.
4642 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4643
4644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4645 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4646 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4647 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4648 [__WORDSIZE != 64]: Likewise.
4649
ebfd1bbd
JM
46502012-10-23 Joseph Myers <joseph@codesourcery.com>
4651
03ac099f
JM
4652 * Makeconfig (run-built-tests): New variable.
4653 * Rules [$(cross-compiling) = yes]: Change condition to
4654 [$(run-built-tests) = no].
4655 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4656 to [$(run-built-tests) = yes].
4657 * elf/Makefile [$(cross-compiling) = no]: Likewise
4658 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4659 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4660 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4661 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4662 * io/Makefile [$(cross-compiling) = no]: Likewise.
4663 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4664 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4665 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4666 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4667 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4668 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4669 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4670 * string/Makefile [$(cross-compiling) = no]: Likewise.
4671
ebfd1bbd
JM
4672 * posix/Makefile ($(objpfx)globtest.out): Pass
4673 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4674 $(rtld-installed-name).
4675 * posix/globtest.sh (elf_objpfx): Remove variable.
4676 (rtld_installed_name): Likewise.
4677 (library_path): Likewise.
4678 (run_program_prefix): New variable. Use for running globtest
4679 binary.
4680
166bca24
JB
46812012-10-23 Jim Blandy <jimb@codesourcery.com>
4682 Joseph Myers <joseph@codesourcery.com>
4683
4684 * Makeconfig (host-built-program-cmd): New variable.
4685 * elf/Makefile (tst-stackguard1-ARGS): Use
4686 $(host-built-program-cmd).
4687 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4688 (tst-spawn-ARGS): Likewise.
4689 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4690
88866099
JM
46912012-10-23 Joseph Myers <joseph@codesourcery.com>
4692 Jim Blandy <jimb@codesourcery.com>
4693
4694 * Makeconfig (run-via-rtld-prefix): New variable.
4695 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4696 (built-program-cmd): Likewise.
4697
b4b4c296
AJ
46982012-10-22 Andreas Jaeger <aj@suse.de>
4699
4700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4701 __O_RSYNC if it exists, otherwise to O_SYNC.
4702
6fb54a22
JB
47032012-10-22 Jim Blandy <jimb@codesourcery.com>
4704 Joseph Myers <joseph@codesourcery.com>
4705
4706 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4707 /dev/null.
4708 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4709 from /dev/null
4710 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4711 /dev/null.
4712
481b90b9
AJ
47132012-10-22 Andreas Jaeger <aj@suse.de>
4714
2a0e2669
AJ
4715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4716 Define always.
4717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4718
76e38f9a
AJ
4719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4720 bits/fcntl-linux.h.
4721
7cd37b43
AJ
4722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4723 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4724
481b90b9
AJ
4725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4726 to __O_LARGEFILE.
4727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4728 to __O_LARGEFILE.
4729
aba75984
JB
47302012-10-21 Jim Blandy <jimb@codesourcery.com>
4731 Joseph Myers <joseph@codesourcery.com>
4732
4733 * config.make.in (NM): New variable.
4734
88d4247f
AJ
47352012-10-21 Andreas Jaeger <aj@suse.de>
4736
4737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4738 definitions and declarations that are provided by
4739 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4740
f2eed205
L
47412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4742
4743 [BZ #14683]
4744 * elf/Makefile (tests-static): Add tst-leaks1-static.
4745 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4746 ($(objpfx)tst-leaks1-static): New rule.
4747 ($(objpfx)tst-leaks1-static-mem): Likewise.
4748 (tst-leaks1-static-ENV): New macro.
4749 * elf/dl-open.c (dl_open_worker): Check the main application
4750 only if SHARED is defined.
4751 * elf/tst-leaks1-static.c: New file.
4752
335e6931
AJ
47532012-10-20 Andreas Jaeger <aj@suse.de>
4754
4755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4756 generic values for Linux.
4757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4758 and declarations that are provided by <bits/fcntl-linux.h> and
4759 include <bits/fcntl-linux.h>.
4760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4762
ac5c94d3
RM
47632012-10-20 Roland McGrath <roland@hack.frob.com>
4764
4765 * io/fcntl.h: Move include of <bits/types.h> to the top and
4766 include it unconditionally.
4767
de54b33a
L
47682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4769
228cfb01
L
4770 * wcsmbs/Makefile (tests-ifunc): New variable.
4771 (tests): Add $(tests-ifunc).
4772 * wcsmbs/test-wcschr-ifunc.c: New file.
4773 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4774 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4775 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4776 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4777 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4778
69f07e5f
L
4779 * string/Makefile (tests-ifunc): New variable.
4780 (tests): Add $(tests-ifunc).
4781 * string/test-memccpy.c (TEST_NAME): New macro.
4782 * string/test-memchr.c (TEST_NAME): Likewise.
4783 * string/test-memcmp.c (TEST_NAME): Likewise.
4784 * string/test-memcpy.c (TEST_NAME): Likewise.
4785 * string/test-memmem.c (TEST_NAME): Likewise.
4786 * string/test-memmove.c (TEST_NAME): Likewise.
4787 * string/test-memset.c (TEST_NAME): Likewise.
4788 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4789 * string/test-stpcpy.c (TEST_NAME): Likewise.
4790 * string/test-stpncpy.c (TEST_NAME): Likewise.
4791 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4792 * string/test-strcasestr.c (TEST_NAME): Likewise.
4793 * string/test-strcat.c (TEST_NAME): Likewise.
4794 * string/test-strchr.c (TEST_NAME): Likewise.
4795 * string/test-strcmp.c(TEST_NAME): Likewise.
4796 * string/test-strcpy.c (TEST_NAME): Likewise.
4797 * string/test-strcspn.c (TEST_NAME): Likewise.
4798 * string/test-strlen.c (TEST_NAME): Likewise.
4799 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4800 * string/test-strncmp.c (TEST_NAME): Likewise.
4801 * string/test-strncpy.c (TEST_NAME): Likewise.
4802 * string/test-strnlen.c (TEST_NAME): Likewise.
4803 * string/test-strpbrk.c (TEST_NAME): Likewise.
4804 * string/test-strrchr.c (TEST_NAME): Likewise.
4805 * string/test-strspn.c (TEST_NAME): Likewise.
4806 * string/test-strstr.c (TEST_NAME): Likewise.
4807 * string/test-bcopy-ifunc.c: New file.
4808 * string/test-bzero-ifunc.c: Likewise.
4809 * string/test-memccpy-ifunc.c: Likewise.
4810 * string/test-memchr-ifunc.c: Likewise.
4811 * string/test-memcmp-ifunc.c: Likewise.
4812 * string/test-memcpy-ifunc.c: Likewise.
4813 * string/test-memmem-ifunc.c: Likewise.
4814 * string/test-memmove-ifunc.c: Likewise.
4815 * string/test-mempcpy-ifunc.c: Likewise.
4816 * string/test-memset-ifunc.c: Likewise.
4817 * string/test-rawmemchr-ifunc.c: Likewise.
4818 * string/test-stpcpy-ifunc.c: Likewise.
4819 * string/test-stpncpy-ifunc.c: Likewise.
4820 * string/test-strcasecmp-ifunc.c: Likewise.
4821 * string/test-strcasestr-ifunc.c: Likewise.
4822 * string/test-strcat-ifunc.c: Likewise.
4823 * string/test-strchr-ifunc.c: Likewise.
4824 * string/test-strchrnul-ifunc.c: Likewise.
4825 * string/test-strcmp-ifunc.c: Likewise.
4826 * string/test-strcpy-ifunc.c: Likewise.
4827 * string/test-strcspn-ifunc.c: Likewise.
4828 * string/test-strlen-ifunc.c: Likewise.
4829 * string/test-strncasecmp-ifunc.c: Likewise.
4830 * string/test-strncat-ifunc.c: Likewise.
4831 * string/test-strncmp-ifunc.c: Likewise.
4832 * string/test-strncpy-ifunc.c: Likewise.
4833 * string/test-strnlen-ifunc.c: Likewise.
4834 * string/test-strpbrk-ifunc.c: Likewise.
4835 * string/test-strrchr-ifunc.c: Likewise.
4836 * string/test-strspn-ifunc.c: Likewise.
4837 * string/test-strstr-ifunc.c: Likewise.
4838
de54b33a
L
4839 * debug/Makefile (tests-ifunc): New variable.
4840 (tests): Add $(tests-ifunc).
4841 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4842 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4843 * debug/test-stpcpy_chk-ifunc.c: New file.
4844 * debug/test-strcpy_chk-ifunc.c: Likewise.
4845
88481c16
SP
48462012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4847
4848 [BZ #13601]
4849 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4850 header is not read in.
4851
135948bd
JM
48522012-10-19 Joseph Myers <joseph@codesourcery.com>
4853
89f1c388
JM
4854 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4855 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4856 directly. Pass built executable to script as
4857 $(built-program-cmd).
4858 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4859 $testprogram without using LD_LIBRARY_PATH and $ldso.
4860
e40a0d21
JM
4861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4862 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4863 $(rtld-installed-name).
4864 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4865 (rtld_installed_name): Likewise.
4866 (library_path): Likewise.
4867 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4868 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4869 $(run-program-prefix) to tst-tables.sh.
4870 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4871 it to run tst-table-from and tst-table-to.
4872 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4873 Pass it to tst-table.sh.
4874 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4875 $(run-program-prefix) to tst-gettext.sh.
4876 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4877 tst-translit.sh.
4878 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4879 tst-gettext2.sh.
4880 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4881 to run tst-gettext.
4882 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4883 to run tst-gettext2.
4884 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4885 to run tst-translit.
4886 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4887 $(run-program-prefix) to tst-mtrace.sh.
4888 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4889 to run tst-mtrace.
4890 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4891 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4892 $(rtld-installed-name).
4893 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4894 (rtld_installed_name): Likewise.
4895 (run_program_prefix): New variable. Use it to run wordexp-test.
4896
728e272a
JM
4897 * Makeconfig (ARCH): Remove all definitions.
4898 (machine): Likewise.
4899 [ARCH]: Remove conditional code.
4900 [!objdir]: Give error.
4901 [!objdir] (objpfx): Remove.
4902 [!objdir] (common-objpfx): Likewise.
4903 [!objdir] (common-objdir): Likewise.
4904 * configure.in (config_makefile): Remove. Hardcode Makefile in
4905 AC_CONFIG_FILES call.
4906 * configure: Regenerated.
4907
d528cdcf
JM
4908 [BZ #13888]
4909 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4910 or TMPDIR.
4911 (testout): Likewise.
4912
135948bd
JM
4913 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4914 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4915 $(rtld-installed-name).
4916 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4917 (rtld_installed_name): Likwise.
4918 (runit): Remove function.
4919 (run_getconf): New variable, Use it for running getconf binary.
4920
38c78296
L
49212012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4922
4923 [BZ #14716]
4924 * string/test-memmem.c (check_result): New function.
4925 (do_one_test): Use it.
4926 (check1): New function.
4927 (test_main): Use it.
4928
d077f65f
MT
49292012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4930
4931 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4932
ced52c71
JM
49332012-10-18 Joseph Myers <joseph@codesourcery.com>
4934
4935 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4936 (_G_LSEEK64): Likewise.
4937 (_G_MMAP64): Likewise.
4938 (_G_FSTAT64): Likewise.
4939 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4940 (_G_LSEEK64): Likewise.
4941 (_G_MMAP64): Likewise.
4942 (_G_FSTAT64): Likewise.
4943 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4944 unconditional. Call __mmap64 directly.
4945 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4946 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4947 __lseek64 directly.
4948 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4949 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4950 __mmap64 directly.
4951 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4952 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4953 __lseek64 directly.
4954 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4955 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4956 __lseek64 directly.
4957 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4958 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4959 __lseek64 directly.
4960 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4961 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4962 __fxstat64 directly.
4963 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4964 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4965 unconditional.
4966 (freopen64) [!_G_OPEN64]: Remove conditional code.
4967 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4968 unconditional.
4969 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4970 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4971 unconditional.
4972 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4973 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4974 unconditional.
4975 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4976 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4977 unconditional.
4978 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4979 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4980 unconditional.
4981 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4982 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4983 unconditional.
4984 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4985 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4986 unconditional.
4987 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4988
b741de23
SP
49892012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 [BZ #12140]
4992 * manual/memory.texi (Malloc Tunable Parameters): Add note
4993 about free list pointers overwriting some perturb bytes.
4994 Wording suggested by Roland McGrath.
4995
f9b9d9c9
JM
49962012-10-17 Joseph Myers <joseph@codesourcery.com>
4997
4998 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4999 (lgamma_test): Likewise.
5000 (tgamma_test): Likewise.
5001
172a631a
FW
50022012-10-16 Florian Weimer <fweimer@redhat.com>
5003
5004 [BZ #14700]
5005 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5006 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5007
e9f37252
MK
50082012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5009
5010 * NEWS: Mention BZ #14716.
5011 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5012 when removing AVAILABLE1_USES_J macro.
5013
d394eb74
L
50142012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5015
5016 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5017 (__bswap_64): __uint64_t for unsigned 64-bit int.
5018
ca38dc17
AS
50192012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5020
5021 * include/string.h (memmem): Declare libc hidden alias.
5022 * string/memmem.c (memmem): Define libc hidden alias.
5023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5024 __read, __close instead of open, read, close.
5025
9a387d1f
L
50262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5027
ac49ecaf
L
5028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5029 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5030 global and hidden.
5031 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5032 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5033 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5034 Likewise.
5035 (__rawmemchr_sse2): Likewise.
5036 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5037 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5038 (__strchr_sse2): Likewise.
5039 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5040 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5041 (__strcasecmp_sse2): Likewise.
5042 (__strncasecmp_sse2): Likewise.
5043 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5044 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5045 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5046 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5047 (__strrchr_sse2): Likewise.
5048 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5049 ifunc-impl-list.c.
5050 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5051 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5052 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5054 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5056 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5057 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5058 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5059 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5060 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5061 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5062 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5063 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5064 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5065 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5066 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5067 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5068 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5069 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5070 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5071 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5072 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5073 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5074 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5076 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5077 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5078 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5079 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5080
b090e8ea
L
5081 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5082 global and hidden.
5083 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5084 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5085 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5086 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5087 Likewise.
5088 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5089 Likewise.
5090 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5091 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5092 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5093 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5094 ifunc-impl-list.c.
5095 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5096 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5097 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5105 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5106 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5107 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5108 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5112 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5114 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5115 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5117 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5118 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5120 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5121 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5123 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5126 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5127 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5128 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5130 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5131 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5132 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5136
11dd4af6
L
5137 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5138 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5139 * include/ifunc-impl-list.h: New file.
5140 * misc/ifunc-impl-list.c: Likewise.
5141 * misc/Makefile (routines): Add ifunc-impl-list.
5142 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5143 * string/test-string.h: Include <ifunc-impl-list.h>.
5144 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5145 impl_array): New variables.
5146 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5147 are defined.
5148 (test_init): Call __libc_ifunc_impl_list to initialize
5149 func_list if TEST_IFUNC and TEST_NAME are defined.
5150
9a387d1f
L
5151 * string/Makefile (strop-tests): Add bcopy and bzero.
5152 * string/test-bcopy.c: New file.
5153 * string/test-bzero.c: Likewise.
5154 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5155 defined.
5156 * string/test-memset.c: Support bzero test if TEST_BZERO is
5157 defined.
5158 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5159 __libc_memmove.
5160 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5161 __libc_memset.
5162 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5163 of memset.
5164
472371b9
JM
51652012-10-10 Joseph Myers <joseph@codesourcery.com>
5166
1e4a9536
JM
5167 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5168 * configure: Regenerated.
5169
d173d12e
JM
5170 * Makeconfig (+link-static-before-libc): Don't include
5171 $(link-static-libc).
5172
472371b9
JM
5173 * libio/libio.h (_IO_pos_t): Remove.
5174
89a3ad0b
AO
51752012-10-10 Alexandre Oliva <aoliva@redhat.com>
5176
5177 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5178 McGrath.
5179
e7451425
AO
51802012-10-10 Alexandre Oliva <aoliva@redhat.com>
5181
5182 * crypt/crypt-entry.c: Include fips-private.h.
5183 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5184 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5185 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5186 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5187
4ba74a35
AO
51882012-10-10 Alexandre Oliva <aoliva@redhat.com>
5189
5190 * crypt/crypt-private.h: Include stdbool.h.
5191 (_ufc_setup_salt_r): Return bool.
5192 * crypt/crypt-entry.c: Include errno.h.
5193 (__crypt_r): Return NULL with EINVAL for bad salt.
5194 * crypt/crypt_util.c (bad_for_salt): New.
5195 (_ufc_setup_salt_r): Check that salt is long enough and within
5196 the specified alphabet.
5197 * crypt/badsalttest.c: New file.
5198 * crypt/Makefile (tests): Add it.
5199 ($(objpfx)badsalttest): New.
5200
f96f1242
MK
52012012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5202
5203 * NEWS: Add entry for BZ #14602.
5204
0e8e0c1c
JM
52052012-10-09 Joseph Myers <joseph@codesourcery.com>
5206
5207 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5208 type-generic.
5209 * math/libm-test.inc: Update comment listing what functions and
5210 macros are tested.
5211 (isgreater_test): New function.
5212 (isgreaterequal_test): Likewise.
5213 (isless_test): Likewise.
5214 (islessequal_test): Likewise.
5215 (islessgreater_test): Likewise.
5216 (isunordered_test): Likewise.
5217 (main): Call the new functions.
5218
273edc5e
RM
52192012-10-09 Roland McGrath <roland@hack.frob.com>
5220
b8493de0
RM
5221 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5222 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5223 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5224 * sysdeps/i386/configure: Regenerated.
5225 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5226 * sysdeps/mach/configure: Regenerated.
5227 * sysdeps/mach/hurd/configure: Regenerated.
5228 * sysdeps/powerpc/configure: Regenerated.
5229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5231 * sysdeps/s390/s390-32/configure: Regenerated.
5232 * sysdeps/s390/s390-64/configure: Regenerated.
5233 * sysdeps/sh/configure: Regenerated.
5234 * sysdeps/sparc/configure: Regenerated.
5235 * sysdeps/unix/sysv/linux/configure: Regenerated.
5236 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5237 * sysdeps/x86_64/configure: Regenerated.
5238
273edc5e
RM
5239 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5240 defined. Don't check if MAP is NULL.
5241
c8450f70
JM
52422012-10-09 Joseph Myers <joseph@codesourcery.com>
5243
5244 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5245 (_G_stat64): Likewise.
5246 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5247 (_G_stat64): Likewise.
5248 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5249 instead of struct _G_stat64.
5250 * libio/fileops.c (mmap_remap_check): Likewise.
5251 (decide_maybe_mmap): Likewise.
5252 (_IO_new_file_seekoff): Likewise.
5253 (_IO_file_stat): Likewise.
5254 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5255 _G_off64_t.
5256 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5257 instead of struct _G_stat64.
5258 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5259
57e605ba
MK
52602012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5261
5262 [BZ #14602]
5263 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5264 Replace with ...
5265 (CHECK_EOL): New macro.
5266 (two_way_short_needle): Check beginning of haystack for EOL. Use
5267 CHECK_EOL.
5268 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5269 Replace with CHECK_EOL.
5270 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5271 Replace with CHECK_EOL.
5272
ef1bb361
JM
52732012-10-08 Joseph Myers <joseph@codesourcery.com>
5274
5275 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5276 type-generic.
5277 * math/libm-test.inc: Update comment listing what functions and
5278 macros are tested.
5279 (finite_test): New function.
5280 (isinf_test): Likewise.
5281 (isnan_test): Likewise.
5282 (fpclassify_test): Test subnormal input.
5283 (isfinite_test): Likewise.
5284 (isnormal_test): Likewise.
5285 (main): Call the new functions.
5286
55f11534
JN
52872012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5288
5289 [BZ #14660]
5290 * Makerules (%.dynsym): Force C locale when running
5291 $(OBJDUMP) --dynamic-syms.
5292
1ab29350
AS
52932012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5294
5295 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5296 <stdint.h>.
5297
f1ecb7ef
DM
52982012-10-06 David S. Miller <davem@davemloft.net>
5299
5300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5301 upper 32-bits of the length value in %o2 since we use branch-on-register
5302 tests which consider the entire 64-bit register.
5303
5d41d91a
L
53042012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 * string/test-strstr.c (check2): Add a test for page boundary.
5307
3baddb72
DM
53082012-10-05 David S. Miller <davem@davemloft.net>
5309
5310 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5311 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5312 file.
5313 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5314 sysdep_routines.
5315 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5316 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5317 and bzero when HWCAP_SPARC_CRYPTO is present.
5318
9cee5585
L
53192012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5320
d7e0dab9
L
5321 [BZ #14602]
5322 * string/test-strstr.c (check2): New function.
5323 (test_main): Call check2.
5324
03759f47
L
5325 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5326 and bug-strchr1.
5327 * string/bug-strcasestr1.c (do_test): Moved to ...
5328 * string/test-strcasestr.c (check1): Here. New function.
5329 (do_one_test): Break out result checking code into ...
5330 (check_result): This. New function.
5331 (do_one_test): Call check_result.
5332 (test_main): Call check1.
5333 * string/bug-strchr1.c (do_test): Moved to ...
5334 * string/test-strchr.c (check1): Here. New function.
5335 (do_one_test): Break out result checking code into ...
5336 (check_result): This. New function.
5337 (do_one_test): Call check_result.
5338 (test_main): Call check1.
5339 * string/bug-strstr1.c (main): Moved to ...
046f153e 5340 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5341 (do_one_test): Break out result checking code into ...
5342 (check_result): This. New function.
5343 (do_one_test): Call check_result.
5344 (test_main): Call check1.
5345 * string/bug-strcasestr1.c: Removed.
5346 * string/bug-strchr1.c: Likewise.
5347 * string/bug-strstr1.c: Likewise.
5348
53cea63e
L
5349 * elf/Makefile (dl-routines): Add hwcaps.
5350 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5351 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5352 (_dl_important_hwcaps): Moved to ...
5353 * elf/dl-hwcaps.c: Here. New file.
5354 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5355
9cee5585 5356 [BZ #14557]
bb859b06
L
5357 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5358 if IS_IN_rtld isn't defined.
5359
9cee5585
L
5360 * elf/dl-support.c (_dl_sysinfo_map): New.
5361 Include "get-dynamic-info.h" and "setup-vdso.h".
5362 (_dl_non_dynamic_init): Call setup_vdso.
5363 * elf/dynamic-link.h: Don't include <assert.h>.
5364 (elf_get_dynamic_info): Moved to ...
5365 * elf/get-dynamic-info.h: Here. New file.
5366 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5367 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5368 * elf/setup-vdso.h: Here. New file.
5369 * elf/rtld.c: Include "setup-vdso.h".
5370 (dl_main): Call setup_vdso.
5371
23c31b76
JM
53722012-10-05 Joseph Myers <joseph@codesourcery.com>
5373
28234b07
JM
5374 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5375 creal in comment listing functions tested. List finite, isinf,
5376 isnan, isless, islessequal, isgreater, isgreaterequal,
5377 islessgreater, isunordered, lgamma_r and pow10 as functions and
5378 macros not tested. Mention which functions not tested are aliases
5379 for other functions. Fix typo. Note that signs of NaNs are not
5380 tested.
5381
23c31b76
JM
5382 * scripts/config.guess: Update from config.git.
5383 * scripts/config.sub: Likewise.
5384
9043e228
RM
53852012-10-04 Roland McGrath <roland@hack.frob.com>
5386
5387 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5388 * misc/madvise.c (madvise): Renamed to __madvise.
5389 Make madvise a weak alias.
5390 * include/sys/mman.h: Declare __madvise.
5391 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5392 * sysdeps/unix/syscalls.list
5393 (madvise): Make __madvise the strong name, and madvise a weak alias.
5394 * sysdeps/unix/sysv/linux/syscalls.list
5395 (madvise, mmap): Remove redundant entries.
5396 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5397 * malloc/malloc.c (mtrim): Likewise.
5398 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5399
f57f8055
RM
54002012-10-03 Roland McGrath <roland@hack.frob.com>
5401
5402 * sysdeps/mach/hurd/dl-cache.c: File removed.
5403 * config.h.in (USE_LDCONFIG): New #undef.
5404 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5405 * configure: Regenerated.
5406 * elf/Makefile (dl-routines): Add dl-cache only under
5407 [$(use-ldconfig) = yes].
5408 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5409 cache on [USE_LDCONFIG].
5410 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5411 [USE_LDCONFIG].
5412 * elf/rtld.c (dl_main): Likewise.
5413
5bb0c10a
PT
54142012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5415
5416 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5417 _SC_LEVEL4_CACHE_LINESIZE.
5418
010188c6
RM
54192012-10-03 Roland McGrath <roland@hack.frob.com>
5420
5421 * sysdeps/unix/bsd/confstr.h: File removed.
5422
b6c5ec07
AO
54232012-10-02 Alexandre Oliva <aoliva@redhat.com>
5424
5425 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5426 sys/sdt-config.h.
5427
408223d4
RM
54282012-10-02 Roland McGrath <roland@hack.frob.com>
5429
5430 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5431 Make 'mapoff' field ElfW(Off) rather than off_t.
5432
bb9510dc
DL
54332012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5434
fc997c6e
DL
5435 * nscd/Makefile: Remove nscd-cflags and all its users.
5436 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5437 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5438
bb9510dc
DL
5439 [BZ #10631]
5440 * malloc.c (malloc_printerr): Clarify error message.
5441
05699367
L
54422012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5443
5444 [BZ #14648]
5445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5446 Set bit_FMA_Usable if FMA is supported.
5447 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5448 macro.
5449 (bit_FMA4_Usable): Updated.
5450 (index_FMA_Usable): New macro.
5451 (CPUID_FMA): Likewise
5452 (HAS_FMA): Defined with bit_FMA_Usable.
5453
51367701
RM
54542012-10-01 Roland McGrath <roland@hack.frob.com>
5455
5456 * bits/types.h (__swblk_t): Type removed.
5457 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5458 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5460 (__SWBLK_T_TYPE): Likewise.
5461 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5462 (__SWBLK_T_TYPE): Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5464 (__SWBLK_T_TYPE): Likewise.
5465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5466 (__SWBLK_T_TYPE): Likewise.
5467
4d57bf63 54682012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5469 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5470
5471 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5472 (xdr_mapname): Use YPMAXMAP as maxsize.
5473 (xdr_peername): Use YPMAXPEER as maxsize.
5474 (xdr_keydat): Use YPAXRECORD as maxsize.
5475 (xdr_valdat): Use YPMAXRECORD as maxsize.
5476
93c65d43
RM
54772012-10-01 Roland McGrath <roland@hack.frob.com>
5478
497a03d6
RM
5479 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5480
93c65d43
RM
5481 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5482 * csu/init-first.c: ... here.
5483 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5484 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5487 * sysdeps/i386/init-first.c: File removed.
5488 * sysdeps/sh/init-first.c: File removed.
5489
bec749fd
JM
54902012-10-01 Joseph Myers <joseph@codesourcery.com>
5491
5492 [BZ #14645]
5493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5494 if x * y might underflow to zero and z is zero.
5495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5497 * math/libm-test.inc (min_subnorm_value): New variable.
5498 (fma_test): Add more tests.
5499 (fma_test_towardzero): Likewise.
5500 (fma_test_downward): Likewise
5501 (fma_test_upward): Likewise.
5502 (initialize): Set min_subnorm_value.
5503
8ec5b013
JM
55042012-09-29 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #14638]
5507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5508 0 + 0.
5509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5510 mode for addition resulting in exact zero.
5511 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5513 exact 0 + 0.
5514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5516 * math/libm-test.inc (fma_test): Add more tests.
5517 (fma_test_towardzero): New function.
5518 (fma_test_downward): Likewise.
5519 (fma_test_upward): Likewise.
5520 (main): Call the new functions.
5521
b1fa802e
DM
55222012-09-28 David S. Miller <davem@davemloft.net>
5523
5524 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5525
d3b9fd9e
RM
55262012-09-28 Roland McGrath <roland@hack.frob.com>
5527
ea4d37b3
RM
5528 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5529 instead of SIGALRM.
5530
ac51c949
RM
5531 * sysdeps/gnu/_G_config.h: Moved to ...
5532 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5533 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5534 * sysdeps/generic/_G_config.h: ... here.
5535
28c195f7
RM
5536 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5537
848917f9
RM
5538 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5539
6bacf05b
RM
5540 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5541 Conditionalize target on [libnss_test1.so-version].
5542
91363dbb
RM
5543 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5544
cc87f7d8
RM
5545 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5546 (elfobjdir): Move out of conditionals.
5547
b1c608fe
RM
5548 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5549 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5550 (__nss_lookup_function): Conditionalize label remove_from_tree on
5551 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5552
1d9a6d96
DM
55532012-09-28 David S. Miller <davem@davemloft.net>
5554
5555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5557 file.
5558 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5559 sysdep_routines.
5560 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5562 when HWCAP_SPARC_CRYPTO is present.
5563
72581615
PT
55642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5565
5566 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5567
715a900c
JL
55682012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5569
5570 [BZ #6530]
5571 * stdio-common/vfprintf.c (process_string_arg): Revert
5572 2000-07-22 change.
5573
55742011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5575
5576 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5577 for testcase.
5578 * stdio-common/tst-sprintf.c: Include <locale.h>
5579 (main): Test sprintf's handling of incomplete multibyte
5580 characters.
5581
9bac1d86
L
55822012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * elf/dl-runtime.c (VERSYMIDX): Removed.
5585 * elf/dl-version.c (VERSYMIDX): Likewise.
5586 * elf/do-rel.h (VERSYMIDX): Likewise.
5587 (VALIDX): Likewise.
5588 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5589 * elf/rtld.c (VALIDX): Likewise.
5590 (ADDRIDX): Likewise.
9bac1d86
L
5591 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5592 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5593 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5594 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5595 (VALIDX): Likewise.
5596 (ADDRIDX): Likewise.
9bac1d86 5597
b31606c0
PT
55982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5599
5600 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5601
11541177
JL
56022012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5603
5604 [BZ #11438]
5605 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5606 to global scope.
5607 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5608 addresses are in the same scope as 192.0.2/24.
5609 * posix/gai.conf: Document new scope table defaults.
5610
adb26fae
SP
56112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5612
5613 [BZ #5298]
5614 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5615 for ftell. Compute offsets from write pointers instead.
5616 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5617
4573c6b0
SP
56182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5619
5620 [BZ #14543]
5621 * libio/Makefile (tests): New test case tst-fseek.
5622 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5623 combination works in wide mode.
5624 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5625 state when the external buffer state changes.
5626
aa9bbfe6
DM
56272012-09-27 David S. Miller <davem@davemloft.net>
5628
5629 [BZ #14376]
5630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5631 pass reloc->r_addend in as the 'high' argument to
5632 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5633
784421e7
DM
5634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5635
c39bc8b8
PT
56362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5637
5638 * rt/tst-aio2.c: Include <pthread.h>.
5639 * rt/tst-aio3.c: Likewise.
5640
1ccc2399
SE
56412012-09-27 Steve Ellcey <sellcey@mips.com>
5642
5643 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5644
31ed4153
L
56452012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5646
25f5f885
L
5647 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5648 contents on [SHARED].
31ed4153 5649
b7bfe116
MP
56502012-09-26 Marek Polacek <polacek@redhat.com>
5651
5652 [BZ #14530]
5653 [BZ #13741]
5654 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5655 for C++ and GCC <4.3 as well as for non GCC compilers.
5656
43c4edba
MT
56572012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5658
5659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5660
6a1bf82f
RM
56612012-09-25 Roland McGrath <roland@hack.frob.com>
5662
5663 * Makefile.in (all, install): Declare with .PHONY.
5664 Reported by Michael Hope <michael.hope@linaro.org>.
5665
8ad11b9a
TMQMF
56662012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5667
5668 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5669 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5670 system header.
5671 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5672 Likewise.
5673 (sydep_routines): Add the new and the internal functions.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5675 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5677 (GLIBC_2.17): Add the new function.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5679 (GLIBC_2.17): Likewise.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5681 (GLIBC_2.17): Likewise.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5683 (GLIBC_2.17): Likewise.
5684 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5685
7e2fca8d
AM
56862012-09-25 Alan Modra <amodra@gmail.com>
5687
5688 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5689 Add release barrier before setting once_control to say
5690 initialisation is done. Add hints on lwarx. Use macro in
5691 place of isync.
5692 (clear_once_control): Add release barrier.
5693
b87c4b24
JM
56942012-09-25 Joseph Myers <joseph@codesourcery.com>
5695
d032e0d2
JM
5696 [BZ #13629]
5697 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5698 specially.
5699 * math/s_clog10.c (__clog10): Likewise.
5700 * math/s_clog10f.c (__clog10f): Likewise.
5701 * math/s_clog10l.c (__clog10l): Likewise.
5702 * math/s_clogf.c (__clogf): Likewise.
5703 * math/s_clogl.c (__clogl): Likewise.
5704 * math/Makefile (libm-calls): Add x2y2m1.
5705 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5706 (__x2y2m1): Likewise.
5707 (__x2y2m1l): Likewise.
5708 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5709 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5712 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5713 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5714 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5717
b87c4b24
JM
5718 [BZ #14621]
5719 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5720 int as type of variable DEPTH.
5721 (glob): Use size_t instead of int as type of variables NEWCOUNT
5722 and OLD_PATHC.
5723
6d3bf199
LD
57242012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5725
22bf5c17
LD
5726 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5727 Add s_sincosf-sse2.
5728 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5729 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5730 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5731 macros for using routine as __sincosf_ia32.
5732 Use macro for function declaration and weak_alias.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734
5735 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5737
5738 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5739 subnormal argument.
5740 * math/s_cexpf.c (__cexpf): Likewise.
5741 * math/s_csinf.c (__csinf): Likewise.
5742 * math/s_csinhf.c (__csinhf): Likewise.
5743 * math/s_ctanf.c (__ctanf): Likewise.
5744 * math/s_ctanhf.c (__ctanhf): Likewise.
5745 * math/s_ccosh.c (__ccoshf): Likewise.
5746 * math/s_cexp.c (__cexpl): Likewise.
5747 * math/s_csin.c (__csin): Likewise.
5748 * math/s_csinh.c (__csinh): Likewise.
5749 * math/s_ctan.c (__ctan): Likewise.
5750 * math/s_ctanh.c (ctanh): Likewise.
5751 * math/s_ccoshl.c (__ccoshl): Likewise.
5752 * math/s_cexpl.c (__cexpl): Likewise.
5753 * math/s_csinl.c (__csinl): Likewise.
5754 * math/s_csinhl.c (__csinhl): Likewise.
5755 * math/s_ctanl.c (__ctanl): Likewise.
5756 * math/s_ctanhl.c (__ctanhl): Likewise.
5757
203e5603
JM
57582012-09-25 Joseph Myers <joseph@codesourcery.com>
5759
5760 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5761 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5762 (_IO_off_t): Define to __off_t, not _G_off_t.
5763 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5764 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5765 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5766 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5767 type of __dummy and __dummy2 fields.
5768 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5769 (_G_ssize_t): Likewise.
5770 (_G_off_t): Likewise.
5771 (_G_pid_t): Likewise.
5772 (_G_uid_t): Likewise.
5773 (_G_wchar_t): Likewise.
5774 (_G_wint_t): Likewise.
5775 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5776 (_G_ssize_t): Likewise.
5777 (_G_off_t): Likewise.
5778 (_G_pid_t): Likewise.
5779 (_G_uid_t): Likewise.
5780 (_G_wchar_t): Likewise.
5781 (_G_wint_t): Likewise.
5782 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5783 (_G_ssize_t): Likewise.
5784 (_G_off_t): Likewise.
5785 (_G_pid_t): Likewise.
5786 (_G_uid_t): Likewise.
5787 (_G_wchar_t): Likewise.
5788 (_G_wint_t): Likewise.
5789
9fab36eb
SP
57902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5791
5792 * malloc/arena.c: Include malloc-sysdep.h.
5793 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5794 is sufficient to shrink the heap or an unmap is needed.
5795 * sysdeps/generic/malloc-sysdep.h: New file. Define
5796 new function check_may_shrink_heap.
5797 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5798 new function check_may_shrink_heap.
5799
2b4f00d1
SP
58002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5801
5802 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5803 comments.
5804
9a9028b1
DL
58052012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5806
57c69bef
DL
5807 * catgets/test-gencat.sh: Add "set -e".
5808 * elf/tst-pathopt.sh: Likewise.
5809 * grp/tst_fgetgrent.sh: Likewise.
5810 * iconvdata/run-iconv-test.sh: Likewise.
5811 * intl/tst-gettext.sh: Likewise.
5812 * intl/tst-gettext2.sh: Likewise.
5813 * intl/tst-gettext4.sh: Likewise.
5814 * intl/tst-gettext6.sh: Likewise.
5815 * intl/tst-translit.sh: Likewise.
5816 * io/ftwtest-sh: Likewise.
5817 * libio/test-freopen.sh: Likewise.
5818 * malloc/tst-mtrace.sh: Likewise.
5819 * posix/globtest.sh: Likewise.
5820 * posix/tst-getconf.sh: Likewise.
5821 * posix/wordexp-tst.sh: Likewise.
5822 * stdio-common/tst-printf.sh: Likewise.
5823 * stdio-common/tst-unbputc.sh: Likewise.
5824 * stdlib/tst-fmtmsg.sh: Likewise.
5825 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5826 * catgets/Makefile: Do not specify -e option when running
5827 testsuite shell scripts.
5828 * elf/Makefile: Likewise.
5829 * grp/Makefile: Likewise.
5830 * iconvdata/Makefile: Likewise.
5831 * intl/Makefile: Likewise.
5832 * io/Makefile: Likewise.
5833 * libio/Makefile: Likewise.
5834 * malloc/Makefile: Likewise.
5835 * posix/Makefile: Likewise.
5836 * stdio-common/Makefile: Likewise.
5837 * stdlib/Makefile: Likewise.
5838 * sysdeps/x86_64/Makefile: Likewise.
5839
9a9028b1
DL
5840 * io/ftwtest-sh: Add copyright header.
5841 * posix/globtest.sh: Likewise.
5842 * posix/tst-getconf.sh: Likewise.
5843 * posix/wordexp-tst.sh: Likewise.
5844 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5845
ced6f16e
L
58462012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5847
94b32c39
L
5848 [BZ #13679]
5849 * Makeconfig (+link): Defined as $(+link-static) if
5850 $(build-shared) isn't yes.
5851 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5852 isn't yes.
5853 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5854
189e935b
L
5855 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5856
ced6f16e
L
5857 [BZ #14562]
5858 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5859 new chunk size with MALLOC_ALIGN_MASK.
5860
a9f8e53a
JM
58612012-09-24 Joseph Myers <joseph@codesourcery.com>
5862
5863 [BZ #5044]
5864 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5865 <rounding-mode.h>.
5866 (__printf_fphex): Determine rounding using get_rounding_mode and
5867 round_away.
5868 * stdio-common/tst-printf-round.c (struct hex_test): New
5869 structure.
5870 (hex_tests): New variable.
5871 (test_hex_in_one_mode): New function.
5872 (do_test): Also run tests for hex float output.
5873
43153109
JM
58742012-09-21 Joseph Myers <joseph@codesourcery.com>
5875
5876 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5877 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5878 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5879 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5880 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5881 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5882 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5883 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5884
8a26625d
JM
58852012-09-20 Joseph Myers <joseph@codesourcery.com>
5886
5887 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5888 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5889 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5890 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5891
f3fd569c
DL
58922012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5893
5894 [BZ #14579]
5895 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5896 mode only.
5897 * elf/tst-rtld-load-self.sh: New test.
5898 * elf/Makefile: Run it.
5899
63bbedd4
JM
59002012-09-18 Joseph Myers <joseph@codesourcery.com>
5901
5902 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5903 (tst-writev-ENV): Remove.
5904 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5905
626f8b6a
CM
59062012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5907
5908 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5909
b7aaa4d6
JM
59102012-09-17 Joseph Myers <joseph@codesourcery.com>
5911
5912 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5913 unconditional.
5914 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5915 Likewise.
5916 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5917 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5919 Likewise.
5920
65513990
L
59212012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 [BZ #14587]
5924 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5925 * config.make.in (have-cpp-asm-debuginfo): Removed.
5926 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5927 * configure: Regenerated.
5928
784761be
JM
59292012-09-14 Joseph Myers <joseph@codesourcery.com>
5930
5931 [BZ #5044]
5932 * stdio-common/printf_fp.c: Include <stdbool.h> and
5933 <rounding-mode.h>.
5934 (___printf_fp): Determine rounding using get_rounding_mode and
5935 round_away.
5936 * stdio-common/tst-printf-round.c: New file.
5937 * stdio-common/Makefile (tests): Add tst-printf-round.
5938 (link-libm): New variable.
5939 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5940
9503345f
L
59412012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 [BZ #14576]
5944 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5945 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5946 Likewise.
5947 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5948 Likewise.
5949
ad35fc00
JM
59502012-09-13 Joseph Myers <joseph@codesourcery.com>
5951
5952 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5953 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5954 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5955 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5956
6c9b0f68
JM
59572012-09-12 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #14518]
5960 * include/rounding-mode.h: New file.
5961 * sysdeps/generic/get-rounding-mode.h: Likewise.
5962 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5963 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5964 (MAX_VALUE): New macro.
5965 (MIN_VALUE): Likewise.
5966 (overflow_value): New function.
5967 (underflow_value): Likewise.
5968 (round_and_return): Use overflow_value and underflow_value to
5969 determine return values in overflow and underflow cases. Use
5970 round_away to determine rounding depending on rounding mode.
5971 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5972 determine return values in overflow and underflow cases.
5973 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5974 (struct test_results): New structure.
5975 (struct test): Use struct test_results to store expected results
5976 for all rounding modes.
5977 (TEST): Include expected results for all rounding modes.
5978 (test_in_one_mode): New function.
5979 (do_test): Use test_in_one_mode to compute and check results.
5980 Check results for all rounding modes.
5981 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5982 $(link-libm).
5983
19fcedd5
AM
59842012-12-09 Allan McRae <allan@archlinux.org>
5985
1e9d84cd 5986 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5987
8bbfd2f1
JM
59882012-09-11 Joseph Myers <joseph@codesourcery.com>
5989
5990 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5991 (_G_int32_t): Likewise.
5992 (_G_uint16_t): Likewise.
5993 (_G_uint32_t): Likewise.
5994 (_G_HAVE_BOOL): Likewise.
5995 (_G_HAVE_ATEXIT): Likewise.
5996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5997 (_G_HAVE_IO_FILE_OPEN): Likewise.
5998 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5999 (_G_int32_t): Likewise.
6000 (_G_uint16_t): Likewise.
6001 (_G_uint32_t): Likewise.
6002 (_G_HAVE_BOOL): Likewise.
6003 (_G_HAVE_ATEXIT): Likewise.
6004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6005 (_G_HAVE_IO_FILE_OPEN): Likewise.
6006 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6007 (_G_int32_t): Likewise.
6008 (_G_uint16_t): Likewise.
6009 (_G_uint32_t): Likewise.
6010 (_G_HAVE_BOOL): Likewise.
6011 (_G_HAVE_ATEXIT): Likewise.
6012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6013 (_G_HAVE_IO_FILE_OPEN): Likewise.
6014
b1dc5912
L
60152012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6016
6017 * csu/libc-tls.c: Update copyright years.
6018
0e886ef9
JM
60192012-09-10 Joseph Myers <joseph@codesourcery.com>
6020
28361c5e
JM
6021 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6022 [!_G_USING_THUNKS]: Remove conditional code.
6023 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6024 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6025
0e886ef9
JM
6026 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6027 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6028 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6029 (_G_VTABLE_LABEL_PREFIX): Likewise.
6030 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6031 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6032 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6033 (_G_VTABLE_LABEL_PREFIX): Likewise.
6034 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6035 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6037 (_G_VTABLE_LABEL_PREFIX): Likewise.
6038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6039
bcba7aa2
L
60402012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * libio/Makefile: Include ../Makeconfig before tests.
6043 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6044 only if $(build-shared) is yes.
6045
06585ee8
L
6046 * iconv/gconv_db.c: Update copyright years.
6047
80ccd52c
LD
60482012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6049
6050 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6051 unwind info if defined PIC. Fix special cases description.
6052 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6053
6054 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6055 DP_HI_MASK entry.
6056 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6057
691bc9c1
L
60582012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6059
3d9b46b3
L
6060 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6061
de2139a9
L
6062 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6063 is NULL.
6064
5ca78dd0
L
6065 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6066 (LDLIBS-tst-chk4): This.
6067 (LDFLAGS-tst-chk5): Renamed to ...
6068 (LDLIBS-tst-chk5): This.
6069 (LDFLAGS-tst-chk6): Renamed to ...
6070 (LDLIBS-tst-chk6): This.
6071 (LDFLAGS-tst-lfschk4): Renamed to ...
6072 (LDLIBS-tst-lfschk4): This.
6073 (LDFLAGS-tst-lfschk5): Renamed to ...
6074 (LDLIBS-tst-lfschk5): This.
6075 (LDFLAGS-tst-lfschk6): Renamed to ...
6076 (LDLIBS-tst-lfschk6): This.
6077
691bc9c1
L
6078 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6079 on $(common-objpfx)soversions.mk.
6080
65cafb1c
JM
60812012-09-07 Joseph Myers <joseph@codesourcery.com>
6082
6083 [BZ #10014]
6084 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6085 example host name.
6086
c78ab094
SP
60872012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6088
6089 * malloc/arena.c (arena_get_retry): New function that gets
6090 another arena for the caller to try its request on.
6091 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6092 current arena cannot fulfill the request.
6093 (__libc_memalign): Likewise.
6094 (__libc_memalign): Likewise.
6095 (__libc_pvalloc): Likewise.
6096 (__libc_calloc): Likewise.
6097
01f49f59
JT
60982012-09-05 John Tobey <john.tobey@gmail.com>
6099
6100 [BZ #13542]
6101 * manual/arith.texi (Operations on Complex): Fix description
6102 of carg branch cut.
6103
4c23fed5
JM
61042012-09-06 Joseph Myers <joseph@codesourcery.com>
6105
1d3c8572
JM
6106 [BZ #10014]
6107 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6108 host name.
6109
4c23fed5
JM
6110 [BZ #10038]
6111 * manual/memory.texi (Memory): Make order of menu items match
6112 order of sections.
6113
04570aaa
L
61142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6117 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6118 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6119
b80af2f4
L
61202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 * csu/libc-tls.c (static_dtv): Renamed to ...
6123 (_dl_static_dtv): This. Make it global.
6124 (_dl_initial_dtv): Removed.
6125 (__libc_setup_tls): Updated.
6126 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6127 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6128 DL_INITIAL_DTV.
6129
2abe9f15
PM
61302012-09-06 Petr Machata <pmachata@redhat.com>
6131
6132 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6133 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6134 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6135 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6136
0948c3af
L
61372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 [BZ #14545]
6140 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6141 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6142 freeing dtv[-1].
6143
a5055ad1
L
61442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6145
6146 [BZ #14544]
6147 * Makeconfig (link-static-before-libc): Replace $(+prector)
6148 with $(+prectorT).
6149 (link-static-after-libc): Replace $(+postctor) with
6150 $(+postctorT).
6151 (link-bounded): Replace $(+prector)/$(+postctor) with
6152 $(+prectorT)/$(+postctorT).
6153 (+prectorT): New macro.
6154 (+postctorT): Likewise.
6155
ed8c2ecd
JM
61562012-09-06 Joseph Myers <joseph@codesourcery.com>
6157
6158 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6159 (round_str): Handle values above the maximum for IBM long double
6160 as inexact.
6161 * stdlib/tst-strtod-round.c (tests): Regenerated.
6162
14c996c8
AK
61632012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6164
6165 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6166 assembler flag.
6167 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6168 zarch_nohighgprs around the zarch optimized routines.
6169 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6170 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6171 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6172 for zarch.
6173
430d6ce6
DM
61742012-09-05 David S. Miller <davem@davemloft.net>
6175
6176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6177
ff04dda4
DM
6178 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6179 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6180 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6181 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6182 entries.
6183
24d4e01b
AO
61842012-09-05 Alexandre Oliva <aoliva@redhat.com>
6185
6186 * malloc/arena.c: Fold copyright years.
6187 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6188
61d58174
AO
61892012-09-05 Alexandre Oliva <aoliva@redhat.com>
6190
6191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6192
20196a5e
AO
61932012-09-05 Alexandre Oliva <aoliva@redhat.com>
6194
6195 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6196
5c447383
AO
61972012-09-05 Alexandre Oliva <aoliva@redhat.com>
6198
6199 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6200 change internal state upon failure.
6201
fad64255
AO
62022012-09-05 Alexandre Oliva <aoliva@redhat.com>
6203
6204 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6205 * malloc/memusage.c (mmap): Likewise.
6206 (mmap64, mremap): Likewise. Adjust name in comment.
6207
1ffb8c90
SP
62082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6209
6210 * libio/fileops.c: Fix typos in comments.
6211 * libio/oldfileops.c: Likewise.
6212 * libio/wfileops.c: Likewise.
6213
6ef9cc37
SP
62142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6215
6216 [BZ #1349]
6217 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6218 (tst-malloc-usable-ENV): Set environment for test case.
6219 * malloc/hooks.c (malloc_check_get_size): New function to get
6220 requested size.
6221 * malloc/malloc.c (musable): Use malloc_check_get_size.
6222 * malloc/tst-malloc-usable.c: New test case.
6223
4d038ae3
AS
62242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6227
c4e85184
AM
62282012-09-05 Allan McRae <allan@archlinux.org>
6229
b9dafc56 6230 [BZ #13966]
c4e85184
AM
6231 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6232 determine header location.
6233 * configure: Regenerated.
6234
e1343020
AS
62352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6236
6237 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6238 float format.
6239 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6240 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6241 format.
e1343020
AS
6242 (test): Regenerate.
6243
0a9f1987
DM
62442012-09-04 David S. Miller <davem@davemloft.net>
6245
6246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6248 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6249
29237804
FW
62502012-09-04 Florian Weimer <fweimer@redhat.com>
6251
6252 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6253 failures.
6254
edb3cb88
FW
6255 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6256
60160d83
JM
62572012-09-04 Joseph Myers <joseph@codesourcery.com>
6258
6259 [BZ #9914]
6260 * libio/iogetdelim.c: Include <limits.h>.
6261 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6262 + len + 1 would overflow.
6263
bcd6c8dc
AJ
62642012-09-03 Andreas Jaeger <aj@suse.de>
6265
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6267 * sysdeps/i386/fpu/libm-test-ulps: Update.
6268
4ffffbd2
LD
62692012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6270
6271 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6272 Add s_sinf-sse2, s_conf-sse2.
6273
6274 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6275 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6276 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6277 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6278
6279 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6280 for using routine as __sinf_ia32.
6281 Use macro for function declaration and weak_alias.
6282 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6283 for using routine as __cosf_ia32.
6284 Use macro for function declaration and weak_alias.
6285
6286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6287 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6288
6289 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6290 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6292
6293 * math/libm-test.inc (cos_test): Add more test cases.
6294 (sin_test): Likewise.
6295 (sincos_test): Likewise.
6296
511fa286
AK
62972012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6298
6299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6300 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6301 hidden.
6302 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6303
5f30cfec
L
63042012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 [BZ #14538]
6307 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6308 first element of the GOT.
6309 (elf_machine_load_address): Return the difference between
6310 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6311
0786794f
AM
63122012-09-01 Allan McRae <allan@archlinux.org>
6313
5f30cfec
L
6314 [BZ #13412]
6315 * configure.in (AWK): Require gawk version 3.0 or later.
6316 * configure: Regenerated.
0786794f 6317
26889eac
JM
63182012-09-01 Joseph Myers <joseph@codesourcery.com>
6319
6320 * sysdeps/unix/sysv/linux/kernel-features.h
6321 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6323 [__NR_clock_getres]: Make code unconditional.
6324 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6325 (clock_getcpuclockid): Remove code left unreachable by removal of
6326 conditionals.
6327 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6328 code unconditional.
6329 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6331 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6332 Make code unconditional.
6333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6335 * sysdeps/unix/sysv/linux/clock_settime.c
6336 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6337 conditional code.
6338 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6340
d22e28b0
L
63412012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6342
6343 [BZ #14476]
6344 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6345 scripts/test-installation.pl.
6346
6347 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6348 and $ld_so_version if it is set.
6349
050af9c4
SP
63502012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 [BZ #14516]
6353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6354 failure if reading from procfs failed.
6355 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6356
ad845c0b
JM
63572012-08-27 Joseph Myers <joseph@codesourcery.com>
6358
6359 * sysdeps/unix/sysv/linux/kernel-features.h
6360 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6361 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6362 Remove conditional code.
6363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6364 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6365 Remove conditional code.
6366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6367 * sysdeps/unix/sysv/linux/i386/fxstat.c
6368 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6370 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6373 * sysdeps/unix/sysv/linux/i386/lxstat.c
6374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6376 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6377 Remove conditional code.
6378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6379 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6380 Remove conditional code.
6381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6382 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6383 <kernel-features.h>.
6384 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6385 Remove.
6386 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6387 Remove conditional code.
6388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6389 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6390 Remove conditional.
6391
5dbf56af
MF
63922012-08-27 Mike Frysinger <vapier@gentoo.org>
6393
6394 [BZ #5400]
6395 * NEWS: Add fixed bug number.
6396
d6e70f43
JM
63972012-08-27 Joseph Myers <joseph@codesourcery.com>
6398
7efb4737
JM
6399 [BZ #14519]
6400 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6401 underflowing exponent in case of negative sign.
6402 * stdlib/tst-strtod-round-data: Add more tests.
6403 * stdlib/tst-strtod-round.c (tests): Regenerated.
6404
af92131a
JM
6405 [BZ #3479]
6406 * stdlib/strtod_l.c (NDIG): Remove.
6407 (HEXNDIG): Likewise.
6408 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6409 smallest representable value.
6410 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6411 lie within an exact representation of 1/2 ulp of the result.
6412 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6413 unconditionally.
6414 (TENS_P9_IDX): Define unconditionally.
6415 (TENS_P9_SIZE): Likewise.
6416 (TENS_P10_IDX): Likewise.
6417 (TENS_P10_SIZE): Likewise.
6418 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6419 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6420 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6421 entries for 10^2^13 and 10^2^14.
6422 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6423 (TENS_P13_IDX): Define.
6424 (TENS_P13_SIZE): Likewise.
6425 (TENS_P14_IDX): Likewise.
6426 (TENS_P14_SIZE): Likewise.
6427 (_fpioconst_pow10): Change array size to
6428 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6429 unconditional.
6430 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6431 1024]: Add entries for 10^2^13 and 10^2^14.
6432 [LAST_POW10 > _LAST_POW10]: Remove #error.
6433 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6434 (_fpioconst_pow10): Change array size to
6435 FPIOCONST_POW10_ARRAY_SIZE.
6436 * stdlib/gen-fpioconst.c: New file.
6437 * stdlib/gen-tst-strtod-round.c: Likewise.
6438 * stdlib/tst-strtod-round-data: Likewise.
6439 * stdlib/tst-strtod-round.c: Likewise.
6440 * stdlib/Makefile (tests): Add tst-strtod-round.
6441
d6e70f43
JM
6442 [BZ #14459]
6443 * stdlib/strtod_l.c: Include <stdint.h>.
6444 (NDEBUG): Do not define.
6445 (round_and_return): Change EXPONENT parameter to type intmax_t.
6446 Rearrange calculations to avoid internal overflow possibilities.
6447 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6448 Rearrange calculations to avoid internal overflow possibilities.
6449 Assert that number fits inside MPNSIZE limbs.
6450 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6451 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6452 calculations and add assertions to avoid internal overflow
6453 possibilities. Add casts to avoid signed/unsigned operations.
6454 * stdlib/tst-strtod-overflow.c: New file.
6455 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6456
1f529f7d
MP
64572012-08-25 Marek Polacek <polacek@redhat.com>
6458
6459 * time/time.h: Fix some typos in comments.
6460
59a629f1
RM
64612012-08-23 Roland McGrath <roland@hack.frob.com>
6462
6463 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6464 * posix/tst-rfc3484-2.c: Likewise.
6465 * posix/tst-rfc3484-3.c: Likewise.
6466
d3bafbc9
SM
64672012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6468
6469 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6470 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6471
4efcc022
JM
64722012-08-23 Joseph Myers <joseph@codesourcery.com>
6473
6474 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6475 #include of fxstatat64.c.
6476
3cc3ef96
RM
64772012-08-22 Roland McGrath <roland@hack.frob.com>
6478
f04e2132
RM
6479 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6480 * shadow/getspent_r.c: Likewise.
6481 * shadow/getspnam.c: Likewise.
6482 * shadow/getspnam_r.c: Likewise.
6483 * gshadow/getsgent.c: Likewise.
6484 * gshadow/getsgent_r.c: Likewise.
6485 * gshadow/getsgnam.c: Likewise.
6486 * gshadow/getsgnam_r.c: Likewise.
6487 * inet/getnetbyad.c: Likewise.
6488 * inet/getnetbyad_r.c: Likewise.
6489 * inet/getnetbynm.c: Likewise.
6490 * inet/getnetbynm_r.c: Likewise.
6491 * inet/getnetent.c: Likewise.
6492 * inet/getnetent_r.c: Likewise.
6493 * inet/getproto.c: Likewise.
6494 * inet/getproto_r.c: Likewise.
6495 * inet/getprtent.c: Likewise.
6496 * inet/getprtent_r.c: Likewise.
6497 * inet/getprtname.c: Likewise.
6498 * inet/getprtname_r.c: Likewise.
6499 * inet/getrpcbyname.c: Likewise.
6500 * inet/getrpcbyname_r.c: Likewise.
6501 * inet/getrpcbynumber.c: Likewise.
6502 * inet/getrpcbynumber_r.c: Likewise.
6503 * inet/getrpcent.c: Likewise.
6504 * inet/getrpcent_r.c: Likewise.
6505 * inet/getaliasent.c: Likewise.
6506 * inet/getaliasent_r.c: Likewise.
6507 * inet/getaliasname.c: Likewise.
6508 * inet/getaliasname_r.c: Likewise.
6509 * nscd/getgrgid_r.c: Likewise.
6510 * nscd/getgrnam_r.c: Likewise.
6511 * nscd/gethstbyad_r.c: Likewise.
6512 * nscd/gethstbynm3_r.c: Likewise.
6513 * nscd/getpwnam_r.c: Likewise.
6514 * nscd/getpwuid_r.c: Likewise.
6515 * nscd/getsrvbynm_r.c: Likewise.
6516 * nscd/getsrvbypt_r.c: Likewise.
6517 * nscd/gai.c: Likewise.
6518
c53d909c
RM
6519 * configure.in (build_nscd): New substituted variable, set
6520 by --disable-build-nscd and defaults to $use_nscd.
6521 * configure: Regenerated.
6522 * config.make.in (build-nscd): New substituted variable.
6523 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6524 Change conditional to require [$(build-nscd) = yes] as well.
6525 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6526
3cc3ef96
RM
6527 [BZ# 13696]
6528 * configure.in (use_nscd): New substituted variable, set by
6529 --disable-nscd. If enabled, define USE_NSCD.
6530 * configure: Regenerated.
6531 * config.h.in: Add USE_NSCD.
6532 * config.make.in (use-nscd): New substituted variable.
6533 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6534 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6535 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6536 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6537 (CFLAGS-getgrnam_r.c): Likewise.
6538 (CFLAGS-initgroups.c): Likewise.
6539 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6540 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6541 Variables removed.
6542 * inet/getnetgrent_r.c
6543 (nscd_setnetgrent): New function, broken out of ...
6544 (setnetgrent): ... here. Call it.
6545 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6546 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6547 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6548 * nscd/Makefile (routines, aux): Move definitions after include of
6549 Makeconfig. Conditionalize on [$(use-nscd) != no].
6550 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6551 Conditionalize on [USE_NSCD].
6552 (is_nscd, nscd_init_cb): Likewise.
6553 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6554 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6555 * nss/nss_db/db-init.c: Likewise.
6556 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6557 [USE_NSCD].
6558 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6559 (make_request): Use it.
6560 (cache_valid_p): New function.
6561 (__check_pf): Use it.
6562 * NEWS: Add item for --disable-nscd.
6563
07e51550
DL
65642012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6565
6566 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6567 to support sed >= 4.2.1-20-ga9bf076.
6568 * configure: Regenerated.
6569
35a5b08b
RM
65702012-08-22 Roland McGrath <roland@hack.frob.com>
6571
6572 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6573 Conditionalize whole body on [IREL].
6574
8479f23a
JL
65752012-08-22 Jeff Law <law@redhat.com>
6576
6577 [BZ #14505]
6578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6579 if the family is PF_UNSPEC.
6580
48da0b21
MF
65812012-08-22 Mike Frysinger <vapier@gentoo.org>
6582
6583 * Makerules (lib-version): Rename from V.
6584 (install-lib-nosubdir): Change V to lib-version.
6585
15d0da8c
WS
65862012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6587
6588 [BZ #14252]
6589 * powerpc32/power6/wcschr.c: New file.
6590 * powerpc32/power6/wcscpy.c: New file.
6591 * powerpc32/power6/wcsrchr.c: New file.
6592 * powerpc64/power6/wcschr.c: New file.
6593 * powerpc64/power6/wcscpy.c: New file.
6594 * powerpc64/power6/wcsrchr.c: New file.
6595
bcca0895
MK
65962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6597
6598 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6599 (two_way_short_needle): Use it.
5a4aaa33
RM
6600 * string/strstr.c (AVAILABLE1_USES_J): Define.
6601 * string/strcasestr.c: Likewise.
99677e57
MK
6602
6603 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6604 array references.
6605 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6606
400726de
MK
6607 [BZ #11607]
6608 * NEWS: Add an entry.
6609 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6610 define their defaults.
6611 (two_way_short_needle): Detect end-of-string on-the-fly.
6612 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6613 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6614 * string/bug-strcasestr1.c: New test.
6615 * string/Makefile: Run it.
6616
20a71f2c
MK
66172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6618
6619 [BZ #11607]
6620 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6621 the first character.
6622
21ad0558
RM
66232012-08-21 Roland McGrath <roland@hack.frob.com>
6624
6625 * csu/elf-init.c (__libc_csu_irel): Function removed.
6626 * csu/libc-start.c (apply_irel): New function.
6627 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6628
0e1d9911
JM
66292012-08-21 Joseph Myers <joseph@codesourcery.com>
6630
6631 * sysdeps/unix/sysv/linux/kernel-features.h
6632 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6634 <kernel-features.h>.
6635 [__NR_fadvise64_64]: Make code unconditional.
6636 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6637 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6638 !__NR_fadvise64_64)]: Likewise.
6639 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6640 !__NR_fadvise64_64))]: Likewise.
6641 [__NR_fadvise64]: Make code unconditional.
6642 [!__NR_fadvise64]: Remove conditional code.
6643 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6644 <kernel-features.h>.
6645 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6646 unconditional.
6647 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6648 conditional code.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6650 not include <kernel-features.h>.
6651 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6652 unconditional.
6653 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6654 conditional code.
6655 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6656 include <kernel-features.h>.
6657 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6658 unconditional.
6659 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6660 conditional code.
6661
14a50c9d
WS
66622012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6665 slight instruction rearrangements per scrollpipe analysis.
6666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6667
c0f4faf0
RM
66682012-08-20 Roland McGrath <roland@hack.frob.com>
6669
696da859
RM
6670 * manual/syslog.texi (syslog; vsyslog, closelog):
6671 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6672 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6673
c0f4faf0
RM
6674 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6675 DSOCAPS to match condition on defining it.
6676
348363b2
JM
66772012-08-20 Joseph Myers <joseph@codesourcery.com>
6678
a35cbf28
JM
6679 * sysdeps/unix/sysv/linux/kernel-features.h
6680 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6682 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6683 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6690
445f7ecd
JM
6691 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6692 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6693
348363b2
JM
6694 * sysdeps/unix/sysv/linux/kernel-features.h
6695 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6696 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6697 unconditional.
6698 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6700 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6701 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6703 Make code unconditional.
6704 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6705 (__mmap64) [!__NR_mmap2]: Likewise.
6706 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6707 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6708 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6710 [__NR_mmap2]: Make code unconditional.
6711 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6712 (__mmap64) [!__NR_mmap2]: Likewise.
6713
bc5bc0e5
AK
67142012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6715
6716 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6717
88d506de
AJ
67182012-08-18 Andreas Jaeger <aj@suse.de>
6719
6720 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6721
493387d2
MF
67222012-08-18 Mike Frysinger <vapier@gentoo.org>
6723
6724 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6725 * include/unistd.h (__have_sock_cloexec): Likewise.
6726 (__have_pipe2): Likewise.
6727 (__have_dup3): Likewise.
6728
a277af22
MF
67292012-08-18 Mike Frysinger <vapier@gentoo.org>
6730
6731 [BZ #9685]
6732 * include/unistd.h (__have_pipe2): Change define into an extern int.
6733 (__have_dup3): Likewise.
6734 * socket/have_sock_cloexec.c: Include fcntl.h.
6735 (__have_pipe2): New variable.
6736 (__have_dup3): Likewise.
6737
fdab8fd3
MF
67382012-08-17 Mike Frysinger <vapier@gentoo.org>
6739
6740 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6741
31035e80
MP
67422012-08-17 Marek Polacek <polacek@redhat.com>
6743
6744 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6745 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6746
3bd9e993
RM
67472012-08-17 Roland McGrath <roland@hack.frob.com>
6748
c91c505f
RM
6749 * configure.in: Add AC_SUBST for sysheaders.
6750 * configure: Regenerated.
6751 * config.make.in (sysheaders): New substituted variable.
6752
7c6f9d53
RM
6753 * sysdeps/unix/mkfifo.c: Moved ...
6754 * sysdeps/posix/mkfifo.c: ... here.
6755 * sysdeps/unix/mkfifoat.c: Moved ...
6756 * sysdeps/posix/mkfifoat.c: ... here.
6757
6758 * sysdeps/unix/utime.c: Moved ...
6759 * sysdeps/posix/utime.c: ... here.
6760
6761 * sysdeps/unix/time.c: Moved ...
6762 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6763 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6764 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6765
6766 * sysdeps/unix/nice.c: Moved ...
6767 * sysdeps/posix/nice.c: ... here.
6768
6769 * sysdeps/unix/alarm.c: Moved ...
6770 * sysdeps/posix/alarm.c: ... here.
6771
3bd9e993
RM
6772 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6773
d1f09384
JL
67742012-08-17 Jeff Law <law@redhat.com>
6775
6776 * intl/Makefile (codeset_mo): New variable.
6777 ($(codeset_mo)): New target.
6778 (tst-codeset.out): Depend on that. Remove explicit rule.
6779 (tst-gettext3.out, tst-gettext5.out): Likewise.
6780 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6781 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6782 * intl/tst-codeset.sh: Remove.
6783 * intl/tst-gettext3.sh: Likewise.
6784 * intl/tst-gettext5.sh: Likewise.
6785
2ae1ae5c
RM
67862012-08-17 Roland McGrath <roland@hack.frob.com>
6787
c31fdb83
RM
6788 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6789 * sysdeps/unix/syscalls.list: ... here.
6790
a0844057
RM
6791 * sysdeps/posix/getaddrinfo.c
6792 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6793 (gaiconf_init, gaiconf_reload): Use them.
6794 [!_STATBUF_ST_NSEC]
6795 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6796 Define using time_t rather than struct timespec.
6797
750c1f2a
RM
6798 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6799 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6800 Macros removed.
6801 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6802 [!NO_THREADS].
6803 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6804 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6805 Likewise.
6806
2ae1ae5c
RM
6807 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6808 __libc_cleanup_push argument.
6809
e66a42f5
RM
6810 * bits/param.h: New file.
6811 * misc/sys/param.h: New file.
6812 * include/sys/param.h: New file.
6813 * misc/Makefile (headers): Add bits/param.h.
6814 * sysdeps/generic/sys/param.h: File removed.
6815 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6816 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6817 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6818 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6819
b7c08a66
RM
6820 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6821 last change.
6822
b2e1c562
RM
6823 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6824 [_IO_MTSAFE_IO].
6825 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6826 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6827 New macros.
6828
c75ccd4c
RM
6829 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6830 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6831 rather than -D_IO_MTSAFE_IO conditionally.
6832 * stdio-common/Makefile (CPPFLAGS): Likewise.
6833 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6834 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6835 Use $(libio-mtsafe).
6836 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6837 of -D_IO_MTSAFE_IO.
6838 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6839 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6840 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6841 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6842 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6843 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6844 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6845 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6846 (CFLAGS-fread_u_chk.c): Likewise.
6847 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6848 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6849 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6850 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6851 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6852 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6853 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6854 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6855 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6856
6857 * libio/Makefile: Test [$(libc-reentrant) = yes]
6858 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6859
6860 * Makeconfig
6861 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6862 * sysdeps/pthread/configure: File removed.
6863 * sysdeps/pthread/Makeconfig: New file.
6864 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6865 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6866
d9195db8
GB
68672012-08-16 Gary Benson <gbenson@redhat.com>
6868
6869 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6870 unmapping the first object in a namespace.
6871
86466cd9
RM
68722012-08-16 Roland McGrath <roland@hack.frob.com>
6873
6874 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6875 (__internal_setnetgrent): ... this. Add internal_function to
6876 definition. Add libc_hidden_def.
6877 (setnetgrent): Update caller.
6878 (internal_endnetgrent): Renamed to ...
6879 (__internal_endnetgrent): ... this. Add internal_function to
6880 definition. Add libc_hidden_def.
6881 (endnetgrent): Update caller.
6882 (internal_getnetgrent_r): Renamed to ...
6883 (__internal_getnetgrent_r): ... this. Add internal_function to
6884 definition. Add libc_hidden_def.
6885 (__getnetgrent_r): Update caller.
6886 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6887
c3c8283c
JM
68882012-08-16 Joseph Myers <joseph@codesourcery.com>
6889
6890 * stdlib/longlong.h: Update from GCC.
6891
db1ee0a8
RM
68922012-08-16 Roland McGrath <roland@hack.frob.com>
6893
6894 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6895 on _QL, which is set by umul_ppmm but never used.
6896 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6897 variables, which are set by GMP macros but never used.
6898 * stdio-common/_itowa.c (_itowa): Likewise.
6899 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6900 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6901
30f69637
CD
69022012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6903
6904 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6905 struct La_sh_regs is not constant.
6906 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6907 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6908 and struct La_sparc64_regs are not constant.
6909
93a78ac4
JM
69102012-08-16 Joseph Myers <joseph@codesourcery.com>
6911
6912 * sysdeps/unix/sysv/linux/kernel-features.h
6913 (__ASSUME_POSIX_TIMERS): Remove.
6914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6916 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6917 Make code unconditional.
6918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6919 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6920 Make code unconditional.
6921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6922 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6923 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6925 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6926 Make code unconditional.
6927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6928 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6929 (__libc_missing_posix_timers): Remove.
6930
dd924cd7
RM
69312012-08-15 Roland McGrath <roland@hack.frob.com>
6932
4b4f2771
RM
6933 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6934 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6935
601c888b
RM
6936 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6937
176790a7
RM
6938 * elf/dl-sym.c: Include <stdlib.h>.
6939
329bc018
RM
6940 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6941 constants, which avoids warnings in 32-bit builds.
6942
e04e272d
RM
6943 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6944 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6945
952bf94a
RM
6946 * misc/lseek.c: File moved to ...
6947 * io/lseek.c: ... here.
6948
7c99b50a
RM
6949 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6950
dd924cd7
RM
6951 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6952 shifting LEN more than 31 bits at once.
6953
b3f479a8
LD
69542012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6955
6956 [BZ #14195]
8c4ae0d4
RM
6957 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6958 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6959 * string/test-strncasecmp.c (check1): Renamed to...
6960 (bz12205): ...this.
6961 (bz14195): Add new testcase for two empty input strings and N > 0.
6962 (test_main): Call new testcase, adapt for renamed function.
6963
9c55864e
AJ
69642012-08-15 Andreas Jaeger <aj@suse.de>
6965
6966 [BZ #14090]
6967 * crypt/md5test2.c: New test, based on test supplied by Serge
6968 Belyshev <belyshev@depni.sinp.msu.ru>.
6969 * crypt/Makefile (xtests): Add md5test-giant..
6970 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6971
02dcb6c5
PE
69722012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6973
6974 [BZ #14090]
6975 * crypt/md5.c (md5_process_block): Don't assume the buffer
6976 length is less than 2**32.
6977 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6978 length is less than 2**64.
6979
a3f95dcc
RM
69802012-08-15 Roland McGrath <roland@hack.frob.com>
6981
be75d758
RM
6982 * string/str-two-way.h: Include <sys/param.h>.
6983 (MAX): Macro removed.
6984
7312ca90
RM
6985 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6986 Move #define and #undef of memmove to just before and after
6987 including <string.h>.
6988
9a0a5486
RM
6989 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6990 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6991 and after including <string.h>. Move declarations of
6992 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6993 to before #include "string/memmove.c".
6994
67cc348d
RM
6995 * include/dirent.h: Declare __getdirentries.
6996
a3f95dcc
RM
6997 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6998 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6999
ca98e171
MF
70002012-08-14 Mike Frysinger <vapier@gentoo.org>
7001
7002 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7003 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7004 * sysdeps/i386/configure: Regenerated.
7005 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7006 STABS_CURRENT_FILE, and STABS_FUN.
7007 (END): Remove call to STABS_FUN_END.
7008 (STABS_CURRENT_FILE1): Delete.
7009 (STABS_CURRENT_FILE): Likewise.
7010 (STABS_FUN): Likewise.
7011 (STABS_FUN_END): Likewise.
7012 (STABS_FUN2): Likewise.
7013 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7014 * sysdeps/x86_64/configure: Regenerated.
7015
5908bf46
RM
70162012-08-14 Roland McGrath <roland@hack.frob.com>
7017
7018 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7019 * elf/dl-lookup.c: Likewise.
5908bf46 7020
f2c05b9e
JM
70212012-08-14 Joseph Myers <joseph@codesourcery.com>
7022
7023 * sysdeps/unix/sysv/linux/kernel-features.h
7024 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7025 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7026 unconditionally.
7027 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7028 unconditionally.
7029 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7030 condition on __ASSUME_CLONE_THREAD_FLAGS.
7031
e11f5155
AJ
70322012-08-14 Andreas Jaeger <aj@suse.de>
7033
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035
51a9ba86
MK
70362012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7037
2fdd4f78
AJ
7038 * include/atomic.h (atomic_exchange_and_add): Split into ...
7039 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7040 New atomic macros.
51a9ba86 7041
ba6cba9e
MT
70422012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7043
7044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7045
42443a47
JL
70462012-08-13 Jeff Law <law@redhat.com>
7047
7048 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7049 null byte in the output string.
7050
121dce05
JM
70512012-08-10 Joseph Myers <joseph@codesourcery.com>
7052
7053 * sysdeps/unix/sysv/linux/kernel-features.h
7054 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7055 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7056 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7057 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7058 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7059 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7060 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7061
bf51f568
JL
70622012-08-09 Jeff Law <law@redhat.com>
7063
7064 [BZ #13939]
7065 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7066 When avoid_arena is set, don't retry in the that arena. Pick the
7067 next one, whatever it might be.
7068 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7069 (arena_lock): Pass in new parameter to arena_get2.
7070 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7071 arena_get2.
7072 (__libc_malloc): Unify retrying after main arena failure with
7073 __libc_memalign version.
7074 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7075
f85fa270
L
70762012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7077
7078 [BZ #14166]
7079 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7080 to __redirect_strstr.
7081 (__strstr_sse42): Use typeof __redirect_strstr.
7082 (__strstr_ia32): Likewise.
7083 (__libc_strstr): New prototype.
7084 (strstr): Renamed to ...
7085 (__libc_strstr): This.
7086 (strstr): New strong alias of __libc_strstr.
7087 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7088 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7089 __redirect_time.
7090 Include <time.h>.
7091 (__libc_time): New prototype.
7092 (time_ifunc): Replace time with __libc_time.
7093 (time): New strong alias and hidden definition of __libc_time.
7094 (__GI_time): Remove strong alias.
7095 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7096 Include <stddef.h>.
7097 (memmove): Redefined to __redirect_memmove.
7098 (__memmove_sse2): Use typeof __redirect_memmove.
7099 (__memmove_ssse3): Likewise.
7100 (__memmove_ssse3_back): Likewise.
7101 (__libc_memmove): New prototype.
7102 (memmove): Renamed to ...
7103 (__libc_memmove): This.
7104 (memmove): New strong alias of __libc_memmove.
7105
33b4a91e
MS
71062012-08-08 Mark Salter <msalter@redhat.com>
7107
7108 * elf/elf.h
7109 (R_MN10300_TLS_GD): Define.
7110 (R_MN10300_TLS_LD): Likewise.
7111 (R_MN10300_TLS_LDO): Likewise.
7112 (R_MN10300_TLS_GOTIE): Likewise.
7113 (R_MN10300_TLS_IE): Likewise.
7114 (R_MN10300_TLS_LE): Likewise.
7115 (R_MN10300_TLS_DTPMOD): Likewise.
7116 (R_MN10300_TLS_DTPOFF): Likewise.
7117 (R_MN10300_TLS_TPOFF): Likewise.
7118 (R_MN10300_SYM_DIFF): Likewise.
7119 (R_MN10300_ALIGN): Likewise.
7120 (R_MN10300_NUM): Update.
7121
b36137f1
JM
71222012-08-08 Joseph Myers <joseph@codesourcery.com>
7123
7124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7125 Remove.
7126
cdd915fd
RM
71272012-08-08 Roland McGrath <roland@hack.frob.com>
7128
a2433aac
RM
7129 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7130
cdd915fd
RM
7131 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7132 sysdeps/unix -> sysdeps/posix move.
7133 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7134
bf9b740a
AM
71352012-08-07 Allan McRae <allan@archlinux.org>
7136
7137 [BZ #14303]
7138 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7139 (SUNOS_CPP): Likewise.
7140 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7141 not found.
7142 (open_input): Call CPP using execvp.
7143
93df14ee
JM
71442012-08-07 Joseph Myers <joseph@codesourcery.com>
7145
7146 * sysdeps/unix/sysv/linux/kernel-features.h
7147 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7148 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7149 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7150 (__ASSUME_WAITID_SYSCALL): Likewise.
7151 * sysdeps/unix/sysv/linux/dl-execstack.c
7152 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7153 code unconditional.
7154 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7155 conditional code.
7156 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7157 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7158 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7159 code.
7160 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7161 unconditional.
7162 [__ASSUME_WAITID_SYSCALL]: Likewise.
7163 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7164
d34689de
RM
71652012-08-07 Roland McGrath <roland@hack.frob.com>
7166
a281decc
RM
7167 * sysdeps/unix/closedir.c: Renamed to ...
7168 * sysdeps/posix/closedir.c: ... here.
7169 * sysdeps/unix/dirfd.c: Renamed to ...
7170 * sysdeps/posix/dirfd.c: ... here.
7171 * sysdeps/unix/dirstream.h: Renamed to ...
7172 * sysdeps/posix/dirstream.h: ... here.
7173 * sysdeps/unix/fdopendir.c: Renamed to ...
7174 * sysdeps/posix/fdopendir.c: ... here.
7175 * sysdeps/unix/opendir.c: Renamed to ...
7176 * sysdeps/posix/opendir.c: ... here.
7177 * sysdeps/unix/readdir.c: Renamed to ...
7178 * sysdeps/posix/readdir.c: ... here.
7179 * sysdeps/unix/readdir_r.c: Renamed to ...
7180 * sysdeps/posix/readdir_r.c: ... here.
7181 * sysdeps/unix/rewinddir.c: Renamed to ...
7182 * sysdeps/posix/rewinddir.c: ... here.
7183 * sysdeps/unix/seekdir.c: Renamed to ...
7184 * sysdeps/posix/seekdir.c: ... here.
7185 * sysdeps/unix/telldir.c: Renamed to ...
7186 * sysdeps/posix/telldir.c: ... here.
7187 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7188 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7190 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7191
22895b47
RM
7192 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7193 * bits/fcntl.h: ... here.
7194
707a53b6
RM
7195 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7196 not 0.
7197 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7198 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7199 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7200 (struct flock): Move l_start, l_len to the beginning.
7201 Use __pid_t for l_pid.
7202 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7203 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7204 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7205 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7206 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7207 [__USE_LARGEFILE64] (struct flock64): New type.
7208 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7209
f0bd3e25
RM
7210 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7211 * bits/dirent.h: ... here.
7212
d34689de
RM
7213 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7214 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7215
6dad2c06
JM
72162012-08-07 Joseph Myers <joseph@codesourcery.com>
7217
7218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7219 Change from 2.6.0 to 2.6.16.
7220 * sysdeps/unix/sysv/linux/configure: Regenerated.
7221 * sysdeps/unix/sysv/linux/kernel-features.h
7222 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7223 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7224 version.
7225 (__ASSUME_UTIMES): Likewise.
7226 (__ASSUME_CLONE_STOPPED): Remove.
7227 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7228 architectures, not kernel version.
7229 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7230 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7231 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7232 (__ASSUME_WAITID_SYSCALL): Likewise.
7233 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7234 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7235 * README: State 2.6.16 as minimum Linux kernel version. Do not
7236 refer to older versions.
7237
03af9520
RM
72382012-08-06 Roland McGrath <roland@hack.frob.com>
7239
8e49df1d
RM
7240 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7241 Define alphasort64 as an alias.
7242 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7243 Define versionsort64 as an alias.
7244 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7245 Define scandir64 as an alias.
7246 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7247 Define scandirat64 as an alias.
7248 * dirent/alphasort64.c (alphasort64):
7249 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7250 * dirent/versionsort64.c: Likewise.
7251 * dirent/scandir64.c: Likewise.
7252 * dirent/scandirat64.c: Likewise.
7253 * sysdeps/wordsize-64/alphasort.c: File removed.
7254 * sysdeps/wordsize-64/alphasort64.c: File removed.
7255 * sysdeps/wordsize-64/scandir.c: File removed.
7256 * sysdeps/wordsize-64/scandir64.c: File removed.
7257 * sysdeps/wordsize-64/scandirat.c: File removed.
7258 * sysdeps/wordsize-64/scandirat64.c: File removed.
7259 * sysdeps/wordsize-64/versionsort.c: File removed.
7260 * sysdeps/wordsize-64/versionsort64.c: File removed.
7261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7263 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7265 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7267 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7268 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7269
7270 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7272 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7274 [defined __arch64__ || defined __sparcv9]
7275 (__INO_T_MATCHES_INO64_T): New macro.
7276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7277 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7278 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7279 * sysdeps/unix/sysv/linux/bits/dirent.h
7280 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7281 (_DIRENT_MATCHES_DIRENT64): New macro.
7282
03af9520
RM
7283 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7284 Define lockf64 as an alias.
7285 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7286 Define fseeko64 as an alias.
7287 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7288 Define ftello64 as an alias.
7289 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7290 Define _IO_fgetpos64 and fgetpos64 as aliases.
7291 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7292 Define _IO_fsetpos64 and fsetpos64 as aliases.
7293 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7294 Conditionalize body on this.
7295 * libio/fseeko64.c: Likewise.
7296 * libio/ftello64.c: Likewise.
7297 * libio/iofgetpos64.c: Likewise.
7298 * libio/iofsetpos64.c: Likewise.
7299 * sysdeps/wordsize-64/lockf.c: File removed.
7300 * sysdeps/wordsize-64/lockf64.c: File removed.
7301 * sysdeps/wordsize-64/fseeko.c: File removed.
7302 * sysdeps/wordsize-64/fseeko64.c: File removed.
7303 * sysdeps/wordsize-64/ftello.c: File removed.
7304 * sysdeps/wordsize-64/ftello64.c: File removed.
7305 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7306 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7307 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7308 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7309 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7317 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7319
7320 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7322 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7324 [defined __arch64__ || defined __sparcv9]
7325 (__OFF_T_MATCHES_OFF64_T): New macro.
7326 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7327 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7329 (__OFF_T_MATCHES_OFF64_T): New macro.
7330
c5757acd
L
73312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7332
7333 * stdlib/secure-getenv.c (__secure_getenv): Replace
7334 GLIBC_2_16 with GLIBC_2_17.
7335
3a31811e
L
73362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7340
faa2bccb
DM
73412012-08-03 David S. Miller <davem@davemloft.net>
7342
7343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7344
85fe1997
JM
73452012-08-03 Joseph Myers <joseph@codesourcery.com>
7346
7347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7348 Remove.
7349 (__ASSUME_CORRECT_SI_PID): Likewise.
7350 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7351 (__ASSUME_TMPFS_NAME): Likewise.
7352 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7353 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7354 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7355 (HAVE_AUX_SECURE): Make definition unconditional.
7356 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7357 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7358
4f75b7a0
RM
73592012-08-03 Roland McGrath <roland@hack.frob.com>
7360
7361 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7362 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7363 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7365 __eloop_threshold instead of SYMLOOP_MAX.
7366
7367 * sysdeps/generic/eloop-threshold.h: New file.
7368 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7369 of MAXSYMLINKS.
7370 * elf/chroot_canon.c (chroot_canon): Likewise.
7371
7aab07e4
JM
73722012-08-03 Joseph Myers <joseph@codesourcery.com>
7373
7374 [BZ #13717]
7375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7376 Change to 2.6.0 everywhere.
7377 * sysdeps/unix/sysv/linux/configure: Regenerated.
7378 * sysdeps/unix/sysv/linux/kernel-features.h
7379 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7380 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7381 kernel versions.
7382 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7383 (__ASSUME_FUTEX_REQUEUE): Remove.
7384 (__ASSUME_STATFS64): Define unconditionally.
7385 (__ASSUME_AT_SECURE): Likewise.
7386 (__ASSUME_CORRECT_SI_PID): Likewise.
7387 (__ASSUME_TGKILL): Define without depending on kernel version for
7388 i386.
7389 (__ASSUME_UTIMES): Likewise.
7390 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7391 kernel version.
7392 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7393 (__ASSUME_TMPFS_NAME): Likewise.
7394 * README: Update reference to Linux kernel versions.
7395
b67e9372
MP
73962012-08-02 Marek Polacek <polacek@redhat.com>
7397
1f529f7d 7398 [BZ# 14150]
b67e9372
MP
7399 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7400 libc_cv_asm_type_prefix with %.
7401 * configure: Regenerated.
d2441631
RM
7402 * include/libc-symbols.h: Remove comment about
7403 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7404 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7405 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7406 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7407 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7408 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7409 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7410 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7411 * elf/tst-unique2mod1.c: Likewise.
7412 * elf/tst-unique1mod2.c: Likewise.
7413 * elf/tst-unique1mod1.c: Likewise.
7414 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7415 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7416 Replace ASM_TYPE_DIRECTIVE with .type.
7417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7418 * sysdeps/i386/sysdep.h: Likewise.
7419 * sysdeps/x86_64/sysdep.h: Likewise.
7420 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7422 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7423 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7424 * sysdeps/powerpc/powerpc32/sysdep.h:
7425 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7426 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7427 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7428 * sysdeps/i386/fpu/e_powf.S: Likewise.
7429 * sysdeps/i386/fpu/e_expl.S: Likewise.
7430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7432 * sysdeps/i386/fpu/e_pow.S: Likewise.
7433 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7435 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7436 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7437 * sysdeps/i386/fpu/e_log2.S: Likewise.
7438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7440 * sysdeps/i386/fpu/e_powl.S: Likewise.
7441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7443 * sysdeps/i386/fpu/e_logl.S: Likewise.
7444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7445 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7446 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7447 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7448 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7449 * sysdeps/i386/fpu/e_log.S: Likewise.
7450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7451 * sysdeps/i386/fpu/e_logf.S: Likewise.
7452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7455 * sysdeps/i386/fpu/e_log10.S: Likewise.
7456 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7458 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7459 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7463 * sysdeps/i386/i686/strtok.S: Likewise.
7464 * sysdeps/i386/i386-mcount.S: Likewise.
7465 * sysdeps/i386/strtok.S: Likewise.
7466 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7468 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7469 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7470 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7475 * sysdeps/x86_64/_mcount.S: Likewise.
7476 * sysdeps/x86_64/strtok.S: Likewise.
7477 * sysdeps/sh/_mcount.S: Likewise.
7478
2747bf9a
RM
74792012-08-01 Roland McGrath <roland@hack.frob.com>
7480
7481 * libio/iofopen.c: Include <fcntl.h>.
7482 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7483 (_IO_fopen64, fopen64): Define as aliases.
7484 * libio/iofopen64.c: Include <fcntl.h>.
7485 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7486 Conditionalize body on this.
7487 * sysdeps/wordsize-64/iofopen.c: File removed.
7488 * sysdeps/wordsize-64/iofopen64.c: File removed.
7489
3fb791b8
MP
74902012-08-01 Marek Polacek <polacek@redhat.com>
7491
7492 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7493 Use dlfcn directly instead of a variable.
7494 (binfmt-subdir): Do not define.
7495 (dlfcn): Likewise.
7496
a9f1039f
JM
74972012-08-01 Joseph Myers <joseph@codesourcery.com>
7498
23bddc06
JM
7499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7500 Remove all definitions.
7501 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7502 <kernel-features.h>.
7503 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7504 (miss_F_GETOWN_EX): Remove all definitions.
7505 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7506 macro definition.
7507 [!__ASSUME_FCNTL64]: Remove conditional code.
7508 [__ASSUME_FCNTL64]: Make code unconditional.
7509 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7510 <kernel-features.h>.
7511 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7512 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7513 (lockf64) [__NR_fcntl64]: Make code unconditional.
7514 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7515
a9f1039f
JM
7516 * sysdeps/unix/sysv/linux/kernel-features.h
7517 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7518 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7519 Make code unconditional.
7520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7523 [__NR_vfork]: Make code unconditional.
7524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7527 [__NR_vfork]: Make code unconditional.
7528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7530
09c0ee5f
RM
75312012-08-01 Roland McGrath <roland@hack.frob.com>
7532
48aec5b9
RM
7533 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7534 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7535
cd97c966
RM
7536 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7537 Define mkstemp64 as an alias.
3f55550c
RM
7538 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7539 Define mkstemps64 as an alias.
cd97c966
RM
7540 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7541 Define mkostemp64 as an alias.
b8625cfc
RM
7542 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7543 Define mkostemps64 as an alias.
cd97c966
RM
7544 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7545 Conditionalize body on this.
7546 * misc/mkostemp64.c: Likewise.
b8625cfc 7547 * misc/mkostemps64.c: Likewise.
3f55550c 7548 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7549 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7550 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7551 * sysdeps/wordsize-64/mkostemp.c: File removed.
7552 * sysdeps/wordsize-64/mkstemp.c: File removed.
7553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7554 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7557
09c0ee5f
RM
7558 [BZ #14138]
7559 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7560 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7561 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7562 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7563
7564 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7565 compat_symbol macros from <shlib-compat.h> rather than the underlying
7566 default_symbol_version and symbol_version macros, so that DEFAULT
7567 lines in shlib-versions are respected.
7568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7569
7e66ee51
FW
75702012-08-01 Florian Weimer <fweimer@redhat.com>
7571
7572 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7573 Declare with warn_unused_result.
7574 (setgid, setregid, setegid, setresgid): Likewise.
7575 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7576 Likewise.
7577 * WUR-REPORT: Remove set*id functions.
7578
d2a54255
PT
75792012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7580
7581 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7582
7ecdb005
RM
75832012-07-31 Roland McGrath <roland@hack.frob.com>
7584
789bd351
RM
7585 * include/sys/socket.h (__libc_accept, __libc_accept4):
7586 Add attribute_hidden.
7587 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7588
40ce302d
RM
7589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7590 use of PTR_MANGLE.
7591 * inet/getnetgrent_r.c (setup): Likewise.
7592
7ecdb005
RM
7593 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7594
e2eabb2c
DM
75952012-07-31 David S. Miller <davem@davemloft.net>
7596
7597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7598
d0419dbf
JM
75992012-07-31 Joseph Myers <joseph@codesourcery.com>
7600
7601 [BZ #13629]
7602 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7603 value between 1.0 and 2.0 and smaller part has absolute value less
7604 than 1.0.
7605 * math/s_clog10.c (__clog10): Likewise.
7606 * math/s_clog10f.c (__clog10f): Likewise.
7607 * math/s_clog10l.c (__clog10l): Likewise.
7608 * math/s_clogf.c (__clogf): Likewise.
7609 * math/s_clogl.c (__clogl): Likewise.
7610 * math/libm-test.inc (clog_test): Add more tests.
7611 (clog10_test): Likewise.
7612 * sysdeps/i386/fpu/libm-test-ulps: Update.
7613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7614
2bc13872
FW
76152012-07-31 Florian Weimer <fweimer@redhat.com>
7616
7617 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7618 Exit with zero in case no suitable GID is found, and write a
7619 message to standard error.
7620
bea9b193
RM
76212012-07-30 Roland McGrath <roland@hack.frob.com>
7622
7623 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7624 rather than to 1.
7625 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7626 (MAXPATHLEN): Removed.
7627 (NOGROUP, NODEV): New macros.
7628 (setbit, clrbit, isset, isclr): New macros.
7629 (howmany, roundup, powerof2): New macros.
7630 (DEV_BSIZE): New macro.
7631
7632 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7633 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7634
7635 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7636 definition on [!__NO_LONG_DOUBLE_MATH].
7637
7638 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7639 PTR_MANGLE and PTR_DEMANGLE.
7640
7641 * socket/accept4.c (accept4): Rename to __libc_accept4.
7642 Define accept4 as a weak alias.
7643
7644 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7645 on [_DIRENT_HAVE_D_TYPE].
7646 * io/ftw.c (ftw_dir): Likewise.
7647
7648 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7649
7650 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7651
7652 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7653 Use the BSD numbers rather than the arbitrary ones we had.
7654 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7655 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7656 (SIGXCPU, SIGXFSZ): New macros.
7657 (_NSIG): Now 32.
7658
7659 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7660 initializer on [_LIBC_REENTRANT].
7661
7662 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7663 definitions inside [_POSIX_MAPPED_FILES].
7664
7665 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7666
7667 * dirent/opendir.c: Include <fcntl.h>.
7668
7669 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7670 (__libc_getspecific): Likewise.
7671 (__libc_key_create): Likewise.
7672
7673 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7674 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7675 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7676 (tmpfile64): Define as alias.
7677 * sysdeps/wordsize-64/tmpfile.c: File removed.
7678 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7681
7682 * stdio-common/vfscanf.c: Include <stdbool.h>.
7683 * nss/makedb.c: Likewise.
7684 * stdio-common/_i18n_number.h: Likewise.
7685 * argp/argp-help.c: Likewise.
7686 * posix/wordexp.c: Likewise.
7687 * sysdeps/posix/spawni.c: Likewise.
7688 * nss/nss_files/files-initgroups.c: Likewise.
7689 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7690 * nss/nss_files/files-initgroups.c: Likewise.
7691 * nss/nss_db/db-netgrp.c: Likewise.
7692 * nss/nss_db/db-initgroups.c: Likewise.
7693 * io/fchmodat.c: Include <sys/stat.h>.
7694
7695 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7696 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7697
7698 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7699 [HAVE_MMAP].
7700
7701 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7702 Add multiple inclusion protection.
7703
e5abc686
DM
77042012-07-27 David S. Miller <davem@davemloft.net>
7705
7706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7707
815e6fa3
GB
77082012-07-27 Gary Benson <gbenson@redhat.com>
7709
7710 [BZ #14298]
7711 * elf/rtld.c: Include <stap-probe.h>.
7712 (dl_main): Added static probes "init_start" and "init_complete".
7713 * elf/dl-load.c: Include <stap-probe.h>.
7714 (lose): Take new parameter "nsid".
7715 Added static probe "map_failed".
7716 (_dl_map_object_from_fd): Pass namespace id to lose.
7717 Added static probe "map_start".
7718 (open_verify): Pass namespace id to lose.
7719 * elf/dl-open.c: Include <stap-probe.h>.
7720 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7721 and "reloc_complete".
7722 * elf/dl-close.c: Include <stap-probe.h>.
7723 (_dl_close_worker): Added static probes "unmap_start" and
7724 "unmap_complete".
7725 * elf/rtld-debugger-interface.txt: New file documenting the above.
7726
9f98c16c
RM
77272012-07-26 Roland McGrath <roland@hack.frob.com>
7728
7729 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7730 rather than a string variable.
7731 * sunrpc/rpc_main.c (h_output): Likewise.
7732 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7733
f3c22df3
PT
77342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7735
7736 * inet/check_native.c: New file.
7737
3129cfc6
JM
77382012-07-26 Joseph Myers <joseph@codesourcery.com>
7739
da865e95
JM
7740 [BZ #13629]
7741 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7742 if larger part has absolute value 1.0.
7743 * math/s_clog10.c (__clog10): Likewise.
7744 * math/s_clog10f.c (__clog10f): Likewise.
7745 * math/s_clog10l.c (__clog10l): Likewise.
7746 * math/s_clogf.c (__clogf): Likewise.
7747 * math/s_clogl.c (__clogl): Likewise.
7748 * math/libm-test.inc (clog_test): Add more tests.
7749 (clog10_test): Likewise.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7752
3129cfc6
JM
7753 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7754 (pltexit): Likewise.
7755 (La_regs): Likewise.
7756 (La_retval): Likewise.
7757 (int_retval): Likewise.
7758 Update #error for removed macros to refer only to definitions in
7759 tst-audit.h.
7760 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7761 macro.
7762 (pltexit): Likewise.
7763 (La_regs): Likewise.
7764 (La_retval): Likewise.
7765 (int_retval): Likewise.
7766 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7767 macro.
7768 (pltexit): Likewise.
7769 (La_regs): Likewise.
7770 (La_retval): Likewise.
7771 (int_retval): Likewise.
7772 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7773 macro.
7774 (pltexit): Likewise.
7775 (La_regs): Likewise.
7776 (La_retval): Likewise.
7777 (int_retval): Likewise.
7778 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7779 macro.
7780 (pltexit): Likewise.
7781 (La_regs): Likewise.
7782 (La_retval): Likewise.
7783 (int_retval): Likewise.
7784 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7785 macro.
7786 (pltexit): Likewise.
7787 (La_regs): Likewise.
7788 (La_retval): Likewise.
7789 (int_retval): Likewise.
7790 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7791 macro.
7792 (pltexit): Likewise.
7793 (La_regs): Likewise.
7794 (La_retval): Likewise.
7795 (int_retval): Likewise.
7796 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7797 macro definitions in tst-audit.h.
7798 * sysdeps/i386/tst-audit.h: New file.
7799 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7800 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7801 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7802 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7803 * sysdeps/sh/tst-audit.h: Likewise.
7804 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7805 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7806 * sysdeps/x86_64/tst-audit.h: Likewise.
7807
bfc07087
AJ
78082012-07-26 Andreas Jaeger <aj@suse.de>
7809
b1b2aaf8
AJ
7810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7811 ptrace.
7812
7813 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7814 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7815 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7816 PTRACE_O_MASK.
7817 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7820
bfc07087
AJ
7821 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7822 value.
7823
7824 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7825 _sigsys.
7826 (si_call_addr, si_syscall, si_arch): Define new macro.
7827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7828 _sigsys.
7829 (si_call_addr, si_syscall, si_arch): Define new marcro.
7830 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7831 _sigsys.
7832 (si_call_addr, si_syscall, si_arch): Define new macro.
7833 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7834 _sigsys.
7835 (si_call_addr, si_syscall, si_arch): Define new macro.
7836
89b4b02f
JM
78372012-07-25 Joseph Myers <joseph@codesourcery.com>
7838
7839 [BZ #13717]
7840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7841 Change to 2.4.21 where previously 2.4.1.
7842 * sysdeps/unix/sysv/linux/configure: Regenerated.
7843 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7844 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7845 Linux kernel version.
7846 (__ASSUME_STD_AUXV): Remove.
7847 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7848 kernel version.
7849 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7850 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7851 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7852 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7853 (__ASSUME_NETLINK_SUPPORT): Likewise.
7854 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7855 (__no_netlink_support): Remove conditional definition.
7856 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7857 Remove.
7858 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7859 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7860 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7861 (if_nameindex_ioctl): Remove.
7862 (if_nameindex_netlink): Do not handle __no_netlink_support.
7863 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7864 code.
7865 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7866 Remove conditional code.
7867 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7868 code.
7869 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7870 unconditional.
7871 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7872 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7873 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7874 Remove.
7875 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7876 [!__ASSUME_STD_AUXV]: Remove conditional code.
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7878 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7879 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7881 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7882 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7883 code.
7884 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7886 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7887 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7888 conditional code.
7889 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7891 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7892 code.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7894 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7895 conditional code.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7897 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7898 code unconditional.
7899 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7900 conditional code.
7901 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7902 unconditional.
7903 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7904 conditional code.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7906 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7907 unconditional.
7908 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7909 conditional code.
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7911 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7912 code unconditional.
7913 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7914 conditional code.
7915 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7916 unconditional.
7917 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7918 conditional code.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7920 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7921 code unconditional.
7922 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7923 conditional code.
7924 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7925 unconditional.
7926 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7927 conditional code.
7928
842a39cd
AS
79292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7932 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7933 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7934 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7935 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7936 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7937 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7938 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7939 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7940 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7941 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7942 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7943 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7944 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7946 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7947 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7948 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7949 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7951 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7954
84b3fd84
FW
79552012-07-25 Florian Weimer <fweimer@redhat.com>
7956
7957 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7958 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7959 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7960 Introduce __libc_secure_getenv.
0c7936d5
FW
7961 * stdlib/Versions (2.17): Add secure_getenv
7962 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7963 * stdlib/secure-getenv.c: Rename __secure_getenv to
7964 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7965 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7966 * stdlib/tst-secure-getenv.c: New.
7967 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7968 * manual/startup.texi (Environment Access): Document
7969 secure_getenv.
84b3fd84
FW
7970 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7971 __libc_secure_getenv.
7972 * inet/ruserpass.c (ruserpass): Likewise.
7973 * malloc/mtrace.c (mtrace): Likewise.
7974 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7975 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7976 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7977 * sysdeps/posix/tempname.c: Likewise. Evaluate
7978 HAVE_SECURE_GETENV.
7979 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7980 __secure_getenv to __libc_secure_getenv.
84b3fd84 7981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7983 Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7985 Likewise.
7986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7993
56e49b71
JM
79942012-07-25 Joseph Myers <joseph@codesourcery.com>
7995
7996 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7997 (struct La_i86_retval): Likewise.
7998 (struct La_x86_64_regs): Likewise.
7999 (struct La_x86_64_retval): Likewise.
8000 (struct La_x32_regs): Likewise.
8001 (struct La_x32_retval): Likewise.
8002 (struct La_ppc32_regs): Likewise.
8003 (struct La_ppc32_retval): Likewise.
8004 (struct La_ppc64_regs): Likewise.
8005 (struct La_ppc64_retval): Likewise.
8006 (struct La_sh_regs): Likewise.
8007 (struct La_sh_retval): Likewise.
8008 (struct La_s390_32_regs): Likewise.
8009 (struct La_s390_32_retval): Likewise.
8010 (struct La_s390_64_regs): Likewise.
8011 (struct La_s390_64_retval): Likewise.
8012 (struct La_sparc32_regs): Likewise.
8013 (struct La_sparc32_retval): Likewise.
8014 (struct La_sparc64_regs): Likewise.
8015 (struct La_sparc64_retval): Likewise.
8016 (struct audit_ifaces): Remove architecture-specific pltenter and
8017 pltexit members.
8018 * sysdeps/i386/ldsodefs.h: New file.
8019 * sysdeps/powerpc/ldsodefs.h: Likewise.
8020 * sysdeps/s390/ldsodefs.h: Likewise.
8021 * sysdeps/sh/ldsodefs.h: Likewise.
8022 * sysdeps/sparc/ldsodefs.h: Likewise.
8023 * sysdeps/x86_64/ldsodefs.h: Likewise.
8024
354691b7
MP
80252012-07-25 Marek Polacek <polacek@redhat.com>
8026
8027 [BZ #6808]
8028 * math/libm-test.inc (yn_test): Add another test.
8029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8030 to ERANGE when the result is +-Inf.
8031 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8032 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8033 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8034 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8035
bf9e2071
JM
80362012-07-24 Joseph Myers <joseph@codesourcery.com>
8037
8038 * conform/data/time.h-data (NULL): Use macro-constant. Require
8039 equal to 0.
8040 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8041 clock_t.
8042 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8043
57633811
TS
80442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8045
8046 * configure.in <sysdeps resolving>: Correct printing
8047 Implies_before.
8048 * configure: Regenerate.
8049
c23c33b0
TS
80502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8051
8052 * math/w_ilogb.c: Include <limits.h>.
8053 * math/w_ilogbl.c: Likewise.
8054
b5982523
JM
80552012-07-20 Joseph Myers <joseph@codesourcery.com>
8056
8057 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8058 va_copy. Document allowing for unavailable va_copy only as
8059 pre-C99 compatibility.
8060 * manual/string.texi (Copying and Concatenation): Use va_copy
8061 instead of __va_copy in concat example.
8062
ac4ea442
PT
80632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8064
8065 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8066 (__sendto): Use create_address_port. Initialize APORT and deallocate
8067 it if not null.
8068
f98eafbd
PT
8069 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8070 with O_NOLINK passed to __file_name_lookup.
8071
898c7aab
PT
8072 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8073 with O_NOLINK passed to __file_name_lookup.
8074
0ced335a
PT
8075 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8076 negative N or less than NGIDS.
8077
b3404dbd
PT
8078 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8079 type to string_t. Set ERANGE as errno and return it if NAME is not big
8080 enough. Use memcpy instead of strncpy.
8081
0f48659e
JM
80822012-07-20 Joseph Myers <joseph@codesourcery.com>
8083
8084 * elf/Makefile (check-data): Remove.
8085 (localplt.data): New vpath directive.
8086 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8087 instead of $(check-data).
8088 * scripts/data/localplt-generic.data: Move to ...
8089 * sysdeps/generic/localplt.data: ... here.
8090 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8091 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8092 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8094 ... here.
8095 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8097 ... here.
8098 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8100 ... here.
8101 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8103 ... here.
8104 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8106 ... here.
8107 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8109 ... here.
8110
d37cbdaa
AZ
81112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8112
8113 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8114 PPC32 and PPC64 files.
8115 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8116 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8117
46f85fc2
AK
81182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8119
8120 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8121 __makecontext_ret to ...
8122 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8123 ... here and call exit if uc_link is NULL. New file.
8124 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8125 __makecontext_ret.S.
8126 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8127 __makecontext_ret to ...
8128 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8129 ... here and call exit if uc_link is NULL. New file.
8130 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8131 __makecontext_ret.S.
8132
08f43f9b
AK
81332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8134
8135 * elf/elf.h (R_390_IRELATIVE): New definition.
8136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8137 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8138 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8140 (elf_machine_lazy_rel): Likewise.
8141 * sysdeps/s390/dl-irel.h: New file.
8142 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8143 * sysdeps/s390/s390-64/memset.S: New asm code.
8144 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8145 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8146 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8147 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8148 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8149 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8151 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8152 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8153 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8154 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8155 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8156 * sysdeps/s390/s390-32/memset.S: New asm code.
8157 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8158
3b05db33
MP
81592012-07-17 Marek Polacek <polacek@redhat.com>
8160
8161 [BZ #14349]
8162 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8163 * sysdeps/s390/s390-64/configure.in: Likewise.
8164 * sysdeps/sparc/configure.in: Likewise.
8165 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8166 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8167 * sysdeps/i386/configure.in: Likewise.
8168 * sysdeps/x86_64/configure.in: Likewise.
8169 * sysdeps/sh/configure.in: Likewise.
8170 * sysdeps/s390/s390-32/configure: Regenerated.
8171 * sysdeps/s390/s390-64/configure: Likewise.
8172 * sysdeps/x86_64/configure: Likewise.
8173 * sysdeps/sh/configure: Likewise.
8174 * sysdeps/powerpc/powerpc64/configure: Likewise.
8175 * sysdeps/powerpc/powerpc32/configure: Likewise.
8176 * sysdeps/sparc/configure: Likwise.
8177 * sysdeps/i386/configure: Likewise.
8178
a66877c6
MP
8179 * elf/dl-open.c: Comment fixes.
8180
cfc82fd8
JM
81812012-07-17 Joseph Myers <joseph@codesourcery.com>
8182
bd29910a
JM
8183 * Makefile [CXX] (check-data): Remove.
8184 [CXX] (c++-types.data): New vpath directive.
8185 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8186 vpath. Do not allow for C++ type data being missing.
8187 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8188 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8189 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8190 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8191 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8192 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8193 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8195 ... here.
8196 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8198 ... here.
8199 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8201 ... here.
8202 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8204 ... here.
8205 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8207 ... here.
8208 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8210 ... here.
8211 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8213 ... here.
8214 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8216
cfc82fd8
JM
8217 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8218 definitions to architecture-specific files.
8219 (TLS_IE): Likewise.
8220 (TLS_LD): Likewise.
8221 (TLS_GD): Likewise.
8222 * sysdeps/i386/tls-macros.h: New file.
8223 * sysdeps/powerpc/tls-macros.h: Likewise.
8224 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8225 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8226 * sysdeps/sh/tls-macros.h: Likewise.
8227 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8228 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8229 * sysdeps/x86_64/tls-macros.h: Likewise.
8230
f7db3170
TS
82312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8232
07cbfc23
TS
8233 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8234 zero value for regular exit case.
8235
f7db3170
TS
8236 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8237 (__start_context): Preserve zero value for regular exit case.
8238
dc97c227
TS
82392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8240 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8241
8242 * manual/setjmp.texi (setcontext): Clarify normal process
8243 termination when uc_link is the null pointer.
8244 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8245 exit call.
8246
d0cd7d02
AS
82472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8248
8249 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8250 preprocessor. Test for each exception mask separately.
8251
dd318934
AJ
82522012-07-16 Andreas Jaeger <aj@suse.de>
8253
8254 * po/ru.po: Update from translation team.
8255
8048311a
JM
82562012-07-15 Joseph Myers <joseph@codesourcery.com>
8257
8258 * conform/data/string.h-data (NULL): Use macro-constant. Require
8259 equal to 0.
8260 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8261 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8262 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8263 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8265
b637d46e
AJ
82662012-07-13 Andreas Jaeger <aj@suse.de>
8267
8268 * po/fr.po: Update from translation team.
8269
541428fe
MP
82702012-07-12 Marek Polacek <polacek@redhat.com>
8271
8272 [BZ #14173]
8273 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8274 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8275 loop condition.
8276
ec332e94
JM
82772012-07-12 Joseph Myers <joseph@codesourcery.com>
8278
8279 [BZ #13717]
8280 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8281 Change to 2.4.1 where previously 2.4.0.
8282 * sysdeps/unix/sysv/linux/configure: Regenerated.
8283 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8284 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8285 version.
8286 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8287 (__ASSUME_AT_CLKTCK): Remove.
8288 (__ASSUME_AT_PAGESIZE): Likewise.
8289 (__ASSUME_AT_XID): Likewise.
8290 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8291 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8292 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8293 unconditionally.
8294 (HAVE_AUX_PAGESIZE): Likewise.
8295 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8296 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8297 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8298
7b6e99be
JB
82992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8300
8301 [BZ #14307]
8302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8303 the temporary buffer used to invoke __gethostbyname2_r,
8304 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8305 host_data / struct gaih_addrtuple.
8306 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8307 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8308 header file nss/nsswitch.h.
8309 * nss/nsswitch.h (global scope): Add definition of implementation
8310 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8311 resolv/nss_dns/dns-host.c).
8312
608404eb
AJ
83132012-07-11 Andreas Jaeger <aj@suse.de>
8314
8315 * po/fr.po: Update from translation team.
8316
71220aca
AJ
8317 * po/sv.po: Update from translation team
8318 * po/fr.po: Another update from translation team.
8319
28cfe843
AZ
83202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8321
8322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8323 for subnormals or multiply small sinh result by itself.
8324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8326
6b90f981
DM
83272012-07-11 David S. Miller <davem@davemloft.net>
8328
8329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8330
c6825772
AS
83312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8332
8333 [BZ #14347]
8334 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8335 (INTERNAL_MARK): Shift it here.
8336
7b8e0d49
MP
83372012-07-10 Marek Polacek <polacek@redhat.com>
8338
8339 [BZ #14151]
8340 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8341 libc_cv_asm_global_directive with .globl.
8342 * configure: Regenerated.
8343 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8344 with .globl.
8345 * sysdeps/i386/configure: Regenerated.
8346 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8347 with .globl.
8348 * sysdeps/x86_64/configure: Regenerated.
8349 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8350 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8351 * elf/tst-unique2mod2.c: Likewise.
8352 * elf/tst-unique2mod1.c: Likewise.
8353 * elf/tst-unique1mod2.c: Likewise.
8354 * elf/tst-unique1mod1.c: Likewise.
8355 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8356 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8359 * sysdeps/mach/sysdep.h: Likewise.
8360 * sysdeps/i386/sysdep.h: Likewise.
8361 * sysdeps/i386/i386-mcount.S: Likewise.
8362 * sysdeps/x86_64/_mcount.S: Likewise.
8363 * sysdeps/x86_64/sysdep.h: Likewise.
8364 * sysdeps/sh/_mcount.S: Likewise.
8365 * sysdeps/sh/sysdep.h: Likewise.
8366 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8367 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8368 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8370 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8371 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8372 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8373 * locale/localeinfo.h: Likewise.
8374 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8375 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8376
6c55cda3
RM
83772012-07-09 Roland McGrath <roland@hack.frob.com>
8378
8379 [BZ #14336]
8380 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8381 system".
8382 * manual/message.texi (The Uniforum approach): Likewise.
8383 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8384 (glibc iconv Implementation): Likewise.
8385
638a572e
JM
83862012-07-09 Joseph Myers <joseph@codesourcery.com>
8387
8388 [BZ #14337]
8389 * math/s_clog.c (__clog): Avoid scaling a value down where that
8390 could result in underflow.
8391 * math/s_clog10.c (__clog10): Likewise.
8392 * math/s_clog10f.c (__clog10f): Likewise.
8393 * math/s_clog10l.c (__clog10l): Likewise.
8394 * math/s_clogf.c (__clogf): Likewise.
8395 * math/s_clogl.c (__clogl): Likewise.
8396 * math/libm-test.inc (clog_test): Add more tests.
8397 (clog10_test): Likewise.
8398 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400
261f4859
AS
84012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8402
0abaf3e4
AS
8403 [BZ #14283]
8404 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8405 by 7 not 8 to examine high bit of fractional part.
8406
261f4859
AS
8407 [BZ #14042]
8408 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8409 for call to __mcount_internal.
8410 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8411 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8412 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8413
f17ac40d
JM
84142012-07-06 Joseph Myers <joseph@codesourcery.com>
8415
9ad63c23
JM
8416 [BZ #14154]
8417 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8418 approximation for values within 0x1p-13f of an odd multiple of
8419 pi/4.
8420 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8421 exception. Add more tests.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423
f17ac40d
JM
8424 [BZ #6778]
8425 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8426 inputs and return -1 for them. Do not check for +Inf in case not
8427 reachable for +Inf.
8428 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8429 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8430 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8431 and return -1 for them. Do not check for +Inf in case not
8432 reachable for +Inf.
8433 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8434 define.
8435 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8436 and return -1 for them. Do not check for +Inf in case not
8437 reachable for +Inf.
8438 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8439 spurious underflow.
8440 * sysdeps/i386/fpu/libm-test-ulps: Update.
8441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8442
fb21f89b
MF
84432012-07-06 Mike Frysinger <vapier@gentoo.org>
8444
8445 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8446
cdfe2c5e
JM
84472012-07-05 Joseph Myers <joseph@codesourcery.com>
8448
8449 [BZ #14157]
8450 [BZ #14331]
8451 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8452 could result in spurious underflow. Scale down values above
8453 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8454 * math/s_csqrtf.c (__csqrtf): Likewise.
8455 * math/s_csqrtl.c (__csqrtl): Likewise.
8456 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8457 spurious underflow.
8458 * sysdeps/i386/fpu/libm-test-ulps: Update.
8459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8460
70d35b67
AS
84612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8462
704bc459
AS
8463 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8464 xopen-msg.sed.
8465 * catgets/xopen-msg.awk: New file.
8466 * catgets/xopen-msg.sed: Removed.
8467
70d35b67
AS
8468 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8469 po2text.sed.
8470 * intl/po2test.awk: New file.
8471 * intl/po2test.sed: Removed.
8472
ca61cf32
JM
84732012-07-04 Joseph Myers <joseph@codesourcery.com>
8474
8475 [BZ #14328]
8476 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8477 or multiply small sinh result by itself.
8478 * math/s_ctanf.c (__ctanf): Likewise.
8479 * math/s_ctanh.c (__ctanh): Likewise.
8480 * math/s_ctanhf.c (__ctanhf): Likewise.
8481 * math/s_ctanhl.c (__ctanhl): Likewise.
8482 * math/s_ctanl.c (__ctanl): Likewise.
8483 * math/libm-test.inc (ctan_test_tonearest): New function.
8484 (ctan_test_towardzero): Likewise.
8485 (ctan_test_downward): Likewise.
8486 (ctan_test_upward): Likewise.
8487 (ctanh_test_tonearest): Likewise.
8488 (ctanh_test_towardzero): Likewise.
8489 (ctanh_test_downward): Likewise.
8490 (ctanh_test_upward): Likewise.
8491 (main): Call these new functions.
8492 * sysdeps/i386/fpu/libm-test-ulps: Update.
8493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8494
ca48a46a
MF
84952012-07-03 Mike Frysinger <vapier@gentoo.org>
8496
8497 * .gitignore: Delete /ports entry.
8498
9d63d37d
AJ
84992012-07-03 Andreas Jaeger <aj@suse.de>
8500
8501 * po/bg.po: Update from translation team.
8502 * po/cs.po: Likewise.
8503 * po/de.po: Likewise.
8504 * po/hr.po: Likewise.
8505 * po/nl.pl: Likewise.
8506 * po/pl.po: Likewise.
8507 * po/vi.po: Likewise.
8508
370ca3d2
JM
85092012-07-03 Joseph Myers <joseph@codesourcery.com>
8510
95f5a9a8
JM
8511 * Makeconfig [!+link] (+link-before-libc): New variable.
8512 [!+link] (+link-after-libc): Likewise.
8513 [!+link] (+link-tests): Likewise.
8514 [!+link] (+link): Define in terms of $(+link-before-libc) and
8515 $(+link-after-libc).
8516 [!+link-static] (+link-static-before-libc): New variable.
8517 [!+link-static] (+link-static-after-libc): Likewise.
8518 [!+link-static] (+link-static-tests): Likewise.
8519 [!+link-static] (+link-static): Define in terms of
8520 $(+link-static-before-libc) and $(+link-static-after-libc).
8521 [build-shared] (link-libc-before-gnulib): New variable.
8522 [build-shared] (link-libc-tests): Likewise.
8523 [build-shared] (link-libc): Define in terms of
8524 $(link-libc-before-gnulib).
8525 [!build-shared] (link-libc-tests): New variable.
8526 (link-libc-static-tests): New variable.
8527 [!gnulib] (gnulib-arch): New variable.
8528 [!gnulib] (gnulib-tests): Likewise.
8529 [!gnulib] (static-gnulib-arch): Likewise.
8530 [!gnulib] (static-gnulib-tests): Likewise.
8531 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8532 Define with "=" instead of ":=".
8533 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8534 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8535 * Rules (binaries-all-notests): New variable.
8536 (binaries-all-tests): Likewise.
8537 (binaries-static-notests): Likewise.
8538 (binaries-static-tests): Likewise.
8539 (binaries-all): Define using $(binaries-all-notests) and
8540 $(binaries-all-tests).
8541 (binaries-static): Define using $(binaries-static-notests) and
8542 $(binaries-static-tests).
8543 (binaries-shared-tests): New variable.
8544 (binaries-shared-notests): Likewise.
8545 (binaries-shared): Remove variable.
8546 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8547 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8548 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8549 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8550 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8551 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8552 * elf/Makefile (sln-modules): New variable.
8553 (extra-objs): Add $(sln-modules:=.o).
8554 (ldconfig-modules): Add static-stubs.
8555 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8556 * elf/static-stubs.c: New file.
8557
7a845b2c
JM
8558 [BZ #14283]
8559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8560 by 7 not 8 to examine high bit of fractional part. Use volatile
8561 variables when splitting into final array of floats if
8562 __FLT_EVAL_METHOD__ != 0.
8563 * math/libm-test.inc (cos_test): Add another test.
8564 (sin_test): Likewise.
8565 * sysdeps/i386/fpu/libm-test-ulps: Update.
8566
e2283f38
JM
8567 [BZ #14273]
8568 * math/libm-test.inc (cosh_test): Add more tests.
8569
370ca3d2
JM
8570 * version.h (RELEASE): Set to "development".
8571 (VERSION): Set to "2.16.90".
8572
ee9247c3
CD
85732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8574
8575 * NEWS: Update copyright. Remove last-updated date.
8576 Mention math library bug fixes and timezone data changes.
8577 * README: Mention GNU/Hurd, x32, and HPPA support status.
8578
4648c381
TS
85792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8580
8581 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8582
aac78a43
AJ
85832012-06-27 Andreas Jaeger <aj@suse.de>
8584
8585 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8586
ed3dbfad
AJ
85872012-06-25 Andreas Jaeger <aj@suse.de>
8588
8589 * sysdeps/s390/fpu/libm-test-ulps: Update.
8590
4d0ee855
AS
85912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8592 Thomas Schwinge <thomas@codesourcery.com>
8593
8594 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8595 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8597 fanotify_mark.
8598
af1bce34
TS
85992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8600
a9fa33ba
TS
8601 * sysdeps/mach/start.c: Remove file.
8602 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8603 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8604 * sysdeps/sh/init-first.c: Likewise.
8605
58f902b8
TS
8606 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8607 registers for frame unwinding purposes, add CFI directives.
8608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8610 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8611 Likewise.
8612
1518f58b
TS
8613 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8614 __fortify_fail returning.
8615 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8616
db9b5059
TS
8617 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8618 sysdeps/sh/____longjmp_chk.S.
8619 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8620 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8621 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8622 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8623
967705fe
TS
8624 * sysdeps/sh/abort-instr.h: New file.
8625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8626 process in case exit returns.
8627
a9def8c4
TS
8628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8629 initialize the GOT register before use.
8630
2a649725
TS
8631 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8632 calculation of ARGC > 4.
8633
af1bce34
TS
8634 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8635 meaningful names to some local labels.
8636
d230f50a
KK
86372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8638 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8639
8640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8641 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8642 (__arch_compare_and_exchange_val_16_acq): Likewise.
8643 (__arch_compare_and_exchange_val_32_acq): Likewise.
8644 (atomic_exchange_and_add): Fix gUSA sequence.
8645 (atomic_add): Likewise.
8646 (atomic_add_negative): Likewise.
8647 (atomic_add_zero): Likewise.
8648 (atomic_bit_test_set): Likewise.
8649
0479b305
AS
86502012-06-22 Andreas Schwab <schwab@redhat.com>
8651
8652 [BZ #13579]
8653 * include/link.h (struct link_map): Add l_free_initfini.
8654 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8655 l_initfini.
8656 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8657 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8658 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8659 set.
8660
0e3933b9
CD
86612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8662
8663 * configure.in: Use AC_LANG_SOURCE.
8664 * configure: Regenerate.
8665
4248b1b1
RM
86662012-06-22 Roland McGrath <roland@hack.frob.com>
8667
8668 * configure.in (libc_cv_localstatedir): New substituted variable.
8669 * configure: Regenerated.
8670 * config.make.in (localstatedir): New variable, substituted from
8671 libc_cv_localstatedir.
8672 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8673 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8674 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8675 * sysdeps/gnu/configure: Regenerated.
8676
006dd861
JL
86772012-06-21 Jeff Law <law@redhat.com>
8678
8679 [BZ #14277]
8680 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8681 free. Simplify list management for _LIBC case.
8682
79662d42
JM
86832012-06-21 Joseph Myers <joseph@codesourcery.com>
8684
b7abb4bf
JM
8685 [BZ #14273]
8686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8687 Clear sign bit of 64-bit integer value before comparing against
8688 overflow value.
8689
79662d42
JM
8690 * sysdeps/mach/configure: Regenerated.
8691
1f150908
L
86922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8693
8694 [BZ #14278]
8695 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8696
28363bbf
JL
86972012-06-21 Jeff Law <law@redhat.com>
8698
8699 [BZ #13882]
8700 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8701 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8703 * elf/dl-open.c (dl_open_worker): Likewise.
8704
09615db4
CD
87052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8706
8707 * scripts/list-sources.sh: Scan PORTS for translations.
8708 * po/libc.pot: Regenerated.
8709
2174c6dd
AJ
87102012-06-21 Andreas Jaeger <aj@suse.de>
8711
8712 [BZ #12194]
8713 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8714 warning.
8715 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8716 * bits/byteswap-16.h (__bswap_16): Likewise.
8717 * bits/byteswap.h (__bswap_constant_16): Likewise.
8718
3ee947b1
L
87192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 [BZ #14117]
a2f34833
L
8722 * sysdeps/i386/fpu_control.h: Removed.
8723 * sysdeps/x86_64/fpu_control.h: Moved to ...
8724 * sysdeps/x86/fpu_control.h: Here.
8725
3ee947b1
L
8726 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8727 (_FPU_SETCW): Likewise.
8728
ed1825f8
L
87292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8730
25f1282a
L
8731 [BZ #14117]
8732 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8733 * sysdeps/x86/fpu/bits/mathinline.h: This.
8734 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8735
ed1825f8
L
8736 [BZ #14050]
8737 [BZ #14117]
8738 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8739 functions if __x86_64__ is defined.
8740
36d54b74
CLT
87412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8742
8743 * string/endian.h: Add !__ASSEMBLER__ condition for including
8744 conversion interfaces.
8745
10285c21
JM
87462012-06-15 Joseph Myers <joseph@codesourcery.com>
8747
8748 [BZ #14241]
8749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8750 of ABS(x) in calculating zero to negative powers other than odd
8751 integers.
8752 * math/libm-test.inc (pow_test): Add more tests.
8753
06c5abbd
AJ
87542012-06-15 Andreas Jaeger <aj@suse.de>
8755
8756 * manual/contrib.texi (Contributors): Update entry of Liubov
8757 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8758 Machado Filho.
8759
a3aeac40
CH
87602012-06-15 Cyril Hrubis <metan@ucw.cz>
8761
8762 * string/string.h: Add __wur to GNU version of strerror_r.
8763
49bdf4c1
L
87642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 [BZ #14229]
8767 * string/Makefile (tests): Add tst-strtok_r.
8768 * string/tst-strtok_r.c: New file.
8769 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8770 RAX_LP/RDX_LP on SAVE_PTR.
8771
834f9b8d
RM
87722012-06-14 Roland McGrath <roland@hack.frob.com>
8773
8774 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8775
75fa1921
JM
87762012-06-14 Joseph Myers <joseph@codesourcery.com>
8777
8778 * libm_test.inc (csqrt_test): Allow more spurious underflow
8779 exceptions.
8780 (j0_test): Likewise.
8781 (j1_test): Likewise.
8782 (y0_test): Likewise.
8783 (y1_test): Likewise.
8784
771766df
CD
87852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8786
8787 * po/Makefile (libc.pot): Use UTF-8 charset.
8788
ceb9e56b
PP
87892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8790
8791 [BZ #14210]
8792 Suppress sign-conversion warning from FD_SET.
8793 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8794 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8795 not unsigned long int.
8796 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8797
ddb28975
L
87982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 [BZ #14050]
8801 [BZ #14117]
8802 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8803 __extern_always_inline instead of __extern_inline.
8804 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8805 (__signbit): Likewise.
8806 (__signbitl): Support C++ namespace.
8807 (lrintf): New inline function.
8808 (lrint): Likewise.
8809 (llrintf): Likewise.
8810 (llrint): Likewise.
8811 (fmaxf): Likewise.
8812 (fmax): Likewise.
8813 (fminf): Likewise.
8814 (fmin): Likewise.
8815 (rint): Likewise.
8816 (rintf): Likewise.
8817 (ceil): Likewise.
8818 (ceilf): Likewise.
8819 (floor): Likewise.
8820 (floorf): Likewise.
8821 (nearbyint): Likewise.
8822 (nearbyintf): Likewise.
8823
d7b4fb26
TS
88242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8825
8826 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8827 non-default versions.
8828
eb55f5c2
RM
88292012-06-11 Roland McGrath <roland@hack.frob.com>
8830
8831 [BZ #14218]
8832 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8833
366af02c
TS
88342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8835
99ff6e5c
TS
8836 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8837 (FE_UPWARD, FE_DOWNWARD): Don't define.
8838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8839 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8840
366af02c
TS
8841 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8842 reading it.
8843 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8845
793ea851
KK
88462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8847
8848 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8850 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8851 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8852
a728a38f
L
88532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8854
8855 [BZ #14117]
c08010c7
L
8856 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8857 * sysdeps/i386/fpu/Implies: New file.
8858 * sysdeps/x86_64/fpu/Implies: Likewise.
8859 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8860 * sysdeps/x86/fpu/bits/fenv.h: This.
8861
a728a38f
L
8862 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8863 __SSE_MATH__.
8864
6e230d11
SP
88652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8866
8867 [BZ #14134]
8868 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8869 character 0xffff that matches the last element of the
8870 conversion table.
8871
1b671feb
AZ
88722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873
8874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8875 fmodl commit.
8876
6043738b
AZ
88772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8878
8879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8880 values higher than 25.6283.
8881
34ae0b32
AZ
88822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8883
8884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8885 subnormal exponent extraction and add some __builtin_expect.
8886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8887 Fix for subnormal mantissa calculation.
8888
1214ec8f
MF
88892012-06-04 Mike Frysinger <vapier@gentoo.org>
8890
8891 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8892 cpu2 is -1 and errno is not ENOSYS.
8893
f3d1f93c
L
88942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 [BZ #14117]
0e4a3cd7
L
8897 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8898 * sysdeps/x86/bits/string.h: This.
8899 * sysdeps/x86_64/bits/string.h: Removed.
8900
6704c645
L
8901 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8902 if not compiling for x86-64, but compiling for >= i486.
8903
48495318
L
8904 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8905 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8906
14adcbfc
L
8907 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8908 New macro from Linux kernel 3.4.0.
8909 (FP_XSTATE_MAGIC2): Likewise.
8910 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8911 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8912 (struct _fpx_sw_bytes): New struct.
8913 (struct _xsave_hdr): Likewise.
8914 (struct _ymmh_state): Likewise.
8915 (struct _xstate): Likewise.
8916
68e408ab
L
8917 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8918 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8920 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8922 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8923
f3d1f93c
L
8924 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8925 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8926 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8927 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8928 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8929 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8930
d9dc34cd
TMQMF
89312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8932
8933 [BZ #13743]
8934 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8935 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8936 (sysdep_headers): Include sys/platform/ppc.h.
8937 * sysdeps/powerpc/test-gettimebase.c: Test for
8938 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8939 * manual/Makefile (appendices): Include platform.texi.
8940 * manual/contrib.texi (Contributors): Update @node pointers.
8941 * manual/maint.texi (Maintenance): Likewise.
8942 (Platform): New node.
8943 * manual/platform.texi: New file. Document the new features.
8944
4af3879c
SP
89452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8946 Jakub Jelinek <jakub@redhat.com>
8947
8948 [BZ #14188]
8949 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8950 where __builtin_expect is unavailable.
8951
2fd6ff13
DM
89522012-06-03 David S. Miller <davem@davemloft.net>
8953
8954 * stdlib/longlong.h: Updated from GCC.
8955
173f7220
AS
89562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8957
8958 [BZ #14042]
8959 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8960 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8961 __mcount_internal.
8962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8963 (GLIBC_2.16): Likewise.
8964
f34a1c6f
L
89652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8966
8967 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8968
88a4576f
JM
89692012-06-01 Joseph Myers <joseph@codesourcery.com>
8970
ea32bcdd
JM
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8972 (default-abi): New variable.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8974 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8975 variable.
8976 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8977 Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8979 Likewise.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8981 Likewise.
8982
88a4576f
JM
8983 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8984 definition. Document in comment.
8985
402fe938
DM
89862012-06-01 David S. Miller <davem@davemloft.net>
8987
8988 * stdlib/longlong.h: Updated from GCC.
8989
3553723f
L
89902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 [BZ #14117]
3bd872c4
L
8993 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8994 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8995 sys/debugreg.h sys/io.h here.
8996 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8997 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8998 sys/io.h.
8999 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9000 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9001 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9002 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9003 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9004 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9005
3553723f
L
9006 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9007 Define only if __x86_64__ is defined.
9008
4842e4fe
JM
90092012-06-01 Joseph Myers <joseph@codesourcery.com>
9010
c5bfe3d5
JM
9011 [BZ #14048]
9012 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9013 Use int64_t for variable i.
9014 * math/libm-test.inc (fmod_test): Add more tests.
9015
4842e4fe
JM
9016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9017 z computation is not scheduled after fetestexcept.
9018 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9019 Use math_force_eval instead of asm to ensure calculation scheduled
9020 before exception test.
9021 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9022 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9023
efb73488
AJ
90242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9025
9026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9027 computation is not scheduled after fetestexcept.
9028
29bcce7c
L
90292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 [BZ #14117]
9032 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9033 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9034
73a68f94
AZ
90352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9036
9037 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9038 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9039
67b6df78
L
90402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9041
edf2933a 9042 [BZ #14117]
ebc64a18
L
9043 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9044 <bits/wordsize.h>.
9045 (__WCHAR_MIN): Support __WORDSIZE == 64.
9046 (__WCHAR_MAX): Likewise.
9047
edf2933a
L
9048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9049 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9050
57c6cf40
L
9051 [BZ #14183]
9052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9053 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9054
67b6df78 9055 [BZ #14117]
8eb6281e
L
9056 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9057 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9058
aac639f4
L
9059 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9060 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9061
67b6df78
L
9062 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9063 Defined to 1 if __x86_64__ isn't defined.
9064 (_STAT_VER_LINUX_OLD): New.
9065 (st_atime): Remove duplicate.
9066 (st_mtime): Likewise.
9067 (st_ctime): Likewise.
9068
1c2cfe81
DM
90692012-05-31 David S. Miller <davem@davemloft.net>
9070
9071 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9072 entries.
9073
5be8418c
AS
90742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9075
e7725326
AS
9076 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9077 gen-libm-test.pl.
9078
5be8418c
AS
9079 [BZ #14132]
9080 * elf/dl-reloc.c: Include <_itoa.h>.
9081 (_dl_reloc_bad_type): Remove use of INTUSE.
9082 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9083 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9084 * stdio-common/psiginfo.c (psiginfo): Likewise.
9085 * stdio-common/psignal.c (psignal): Likewise.
9086 * string/strsignal.c (strsignal): Likewise.
9087 * include/signal.h (_sys_siglist): Declare hidden proto.
9088 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9089 INTVARDEF with libc_hidden_data_def.
9090 * stdio-common/itoa-udigits.c: Likewise.
9091 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9092 (_itoa_lower_digits_internal): Remove declaration.
9093 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9094 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9095 (_sys_sigabbrev_internal): Remove aliases.
9096 (_sys_siglist): Define hidden alias.
9097
507352f1
MT
90982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9099
9100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9101 bits/sysctl.h.
9102
42bbb1c3
L
91032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 [BZ #14117]
6bd784b6
L
9106 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9107 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9108
8bca20f0
L
9109 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9110 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9111 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9112 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9114 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9115
f9e890a9
L
9116 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9117 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9118 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9119
471101a1
L
9120 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9121 with __addr.
9122 (insw): Likewise.
9123 (insl): Likewise.
9124 (outsb): Likewise.
9125 (outsw): Likewise.
9126 (outsl): Likewise.
9127
6451c862
L
9128 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9131
a254b8c9
L
9132 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9133 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9135 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9136 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9138
b8dfdd92
L
9139 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9140 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9141
578cd270
L
9142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9143 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9144
de662f5f
L
9145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9147 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9148
25653439
L
9149 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9150 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9151 to ...
9152 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9153
6bad24a0
L
9154 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9155 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9156 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9157
42bbb1c3
L
9158 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9159 for x86-64.
9160 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9161
2d10d547
JM
91622012-05-31 Joseph Myers <joseph@codesourcery.com>
9163
9164 * math/math.h (M_El): Use two more decimal places.
9165 (M_LOG2El): Likewise.
9166 (M_LOG10El): Likewise.
9167 (M_LN2l): Likewise.
9168 (M_LN10l): Likewise.
9169 (M_PIl): Likewise.
9170 (M_PI_2l): Likewise.
9171 (M_PI_4l): Likewise.
9172 (M_1_PIl): Likewise.
9173 (M_2_PIl): Likewise.
9174 (M_2_SQRTPIl): Likewise.
9175 (M_SQRT2l): Likewise.
9176 (M_SQRT1_2l): Likewise.
9177
f230c29b
DM
91782012-05-31 David S. Miller <davem@davemloft.net>
9179
9180 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9181 values between float registers.
9182 * sysdeps/sparc/sparc64/memset.S: Likewise.
9183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9184
fed806c3
MF
91852012-05-31 Mike Frysinger <vapier@gentoo.org>
9186
9187 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9188 -D_FORTIFY_SOURCE=1.
9189 (CPPFLAGS-tst-longjmp_chk.c): Define.
9190 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9191 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9192 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9193 CFLAGS-tst-wchar-h.c.
9194
30917259
MP
91952012-05-31 Marek Polacek <polacek@redhat.com>
9196
9197 [BZ #14132]
9198 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9199 __endmntent_internal): Remove declaration.
9200 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9201 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9202 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9203
1c58d5dc
DM
92042012-05-30 David S. Miller <davem@davemloft.net>
9205
9206 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9207 (___Q_simulate_exceptions): Use real FP ops rather than writing
9208 into the %fsr.
9209 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9210 Likewise.
9211
7dc00e0d
L
92122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 [BZ #14117]
0bd53985
L
9215 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9216 * sysdeps/x86/bits/xtitypes.h: This.
9217
3a257e66
L
9218 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9219 * sysdeps/x86/bits/wordsize.h: This.
9220
62f62904
L
9221 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9222 * sysdeps/x86/bits/huge_vall.h: This.
9223
404fe9d9
L
9224 * sysdeps/i386/bits/select.h: Removed.
9225 * sysdeps/x86_64/bits/select.h: Renamed to ...
9226 * sysdeps/x86/bits/select.h: This.
9227
d48d0446
L
9228 * sysdeps/i386/bits/setjmp.h: Removed.
9229 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9230 * sysdeps/x86/bits/setjmp.h: This.
9231
7dc00e0d
L
9232 * sysdeps/i386/bits/mathdef.h: Removed.
9233 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9234 * sysdeps/x86/bits/mathdef.h: This.
9235
03277f8f
AS
92362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 [BZ #14132]
9239 * include/sys/socket.h (__connect_internal)
9240 (__libc_sa_len_internal): Remove declaration.
9241 (__connect, __libc_sa_len): Declare hidden_proto.
9242 (SA_LEN): Remove use of INTUSE.
9243 * socket/connect.c: Add libc_hidden_def.
9244 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9245 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9246 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9247 alias.
9248 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9250 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9251 of adding _internal alias.
9252
13764867
L
92532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9254
9255 [BZ #14117]
6bd97696
L
9256 * sysdeps/i386/bits/link.h: Removed.
9257 * sysdeps/i386/bits/linkmap.h: Likewise.
9258 * sysdeps/x86_64/bits/link.h: Renamed to ...
9259 * sysdeps/x86/bits/link.h: This.
9260 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9261 * sysdeps/x86/bits/linkmap.h: This.
9262
f726f0bb
L
9263 * sysdeps/i386/bits/endian.h: Removed.
9264 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9265 * sysdeps/x86/bits/endian.h: This.
9266
13764867
L
9267 * sysdeps/i386/bits/byteswap.h: Removed.
9268 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9269 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9270 * sysdeps/x86/bits/byteswap.h: This.
9271 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9272 * sysdeps/x86/bits/byteswap-16.h: This.
9273 * sysdeps/i386/Implies: Add x86.
9274 * sysdeps/x86_64/Implies: Likewise.
9275
ae251b0b
DM
92762012-05-30 David S. Miller <davem@davemloft.net>
9277
9278 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9279 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9280 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9281 (FP_TRAPPING_EXCEPTIONS): Define.
9282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9283 (FP_TRAPPING_EXCEPTIONS): Define.
9284 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9285 subnormals only when inexact has been signalled or underflow
9286 exceptions are enabled.
9287 (_FP_PACK_CANONICAL): Likewise.
9288
d5c90867
L
92892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 [BZ #14183]
9292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9293 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9294
63f1549e
RH
92952012-05-30 Richard Henderson <rth@twiddle.net>
9296
8d8f2279
RH
9297 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9298 with #ifndef NOT_IN_libc.
9299
63f1549e
RH
9300 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9301 marked to avoid plt entry.
9302
0ab0291b
L
93032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 [BZ #14112]
9306 * Makeconfig (default-abi): New macro.
9307 (abi-includes): Likewise.
9308 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9309 $(abi-$(default-abi)-lib-soname) for soname if defined.
9310 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9311 abi-variants.
9312 * Makefile (installed-stubs): Likewise.
9313 * include/stubs-biarch.h: Removed.
9314 * scripts/lib-names.awk: Only handle one library at a time.
9315 * scripts/soversions.awk: Remove WORDSIZE support.
9316 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9317 entries.
9318 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9319 Removed.
9320 (syscall-list-default-condition): Likewise.
9321 (syscall-list-default-condition): Likewise.
9322 (syscall-list-includes): Likewise.
9323 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9324 syscall-list-* with abi-*. Handle undefined abi-variants.
9325 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9326 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9327 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9328 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9329 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9330 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9331 Removed.
9332 (syscall-list-32-options): Likewise.
9333 (syscall-list-32-condition): Likewise.
9334 (syscall-list-64-options): Likewise.
9335 (syscall-list-64-condition): Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9337 macro.
9338 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9339 Renamed to ...
9340 (abi-*): This.
9341 (abi-64-ld-soname): New macro.
9342 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9343 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9344 Renamed to ...
9345 (abi-*): This.
9346 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9347 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9348
4da0431d
JM
93492012-05-30 Joseph Myers <joseph@codesourcery.com>
9350
3a85279c
JM
9351 * sysdeps/unix/sysv/linux/kernel-features.h
9352 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9353 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9354 include <kernel-features.h>.
9355 [!__NR_ftruncate64]: Remove conditional code.
9356 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9357 [__NR_ftruncate64]: Make code unconditional.
9358 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9359 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9360 include <kernel-features.h>.
9361 [!__NR_ftruncate64]: Remove conditional code.
9362 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9363 [__NR_ftruncate64]: Make code unconditional.
9364 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9366 include <kernel-features.h>.
9367 [!__NR_ftruncate64]: Remove conditional code.
9368 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9369 [__NR_ftruncate64]: Make code unconditional.
9370 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9372 include <kernel-features.h>.
9373 [!__NR_ftruncate64]: Remove conditional code.
9374 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9375 [__NR_ftruncate64]: Make code unconditional.
9376 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9377
4da0431d
JM
9378 * configure.in (libc_cv_fpie): Weaken to a compile test using
9379 LIBC_TRY_CC_OPTION.
9380 * configure: Regenerated.
9381
11ef492c
AK
93822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9383
9384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9388 Refreshed.
9389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9395 Refreshed.
9396
d66ef399
DM
93972012-05-27 David S. Miller <davem@davemloft.net>
9398
9399 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9400 (___Q_zero): New.
9401 (__Q_simulate_exceptions): Return void. Change to simulate
9402 exceptions by writing into the %fsr.
9403 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9404 (__Qp_handle_exceptions): Likewise.
9405 (numbers): Delete.
9406 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9407 __Qp_handle_exceptions.
9408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9409 __Qp_handle_exceptions.
9410 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9411 as unused and give dummy FP_RND_NEAREST initializer.
9412 (FP_INHIBIT_RESULTS): Define.
9413 (___Q_simulate_exceptions): Update declaration.
9414 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9415 formatting.
9416 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9417 as unused and give dummy FP_RND_NEAREST initializer.
9418 (__Qp_handle_exceptions): Update declaration.
9419 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9420 formatting.
9421
04fb54b5
TS
94222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9423
9424 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9425 the temporary FPU control word.
9426 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9427 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9428 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9429 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9430 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9431 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9432 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9434 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9435 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9436 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9437
3f99608f
KK
94382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9439
9440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9441 fields.
9442
65a4de4e
CLT
94432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9444
9445 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9446 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9447 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9448 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9449 Likewise.
9450 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9451 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9452 Likewise.
9453
15749d40
UD
94542012-05-27 Ulrich Drepper <drepper@gmail.com>
9455
9456 * po/h.po: Update from translation team.
9457
25dbcb27
AS
94582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9459
3d3f8e55
AS
9460 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9461
25dbcb27
AS
9462 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9463 handling of denormals.
9464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9465 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9467 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9471 Likewise.
9472
7ad47a80 94732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9474
9475 [BZ #14152]
9476 * math/libm-test.inc (fma_test): Don't always expect underflow
9477 exception.
9478
9c6ea9fa
SP
94792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9480
9481 [BZ #12416]
9482 * elf/tst-execstack.c: Include stackinfo.h.
9483 (do_test): Adjust test case to ensure that pthread_getattr_np
9484 behaviour remains the same after marking stack executable.
9485
a8239222
JM
94862012-05-25 Joseph Myers <joseph@codesourcery.com>
9487
9488 * sysdeps/unix/sysv/linux/kernel-features.h
9489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9490 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9491 kernel-features.h.
9492 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9493 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9494 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9495 kernel-features.h.
9496 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9497 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9498
918b5606
L
94992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9500
9501 * configure.in: Define the default includes to being none.
9502 * configure: Regenerated.
9503
3a097cc7
RM
95042012-05-25 Roland McGrath <roland@hack.frob.com>
9505
8422c9a5
RM
9506 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9507 * sysdeps/x86_64/setjmp.S: Likewise.
9508 * sysdeps/i386/bsd-setjmp.S: Likewise.
9509 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9510 * sysdeps/i386/setjmp.S: Likewise.
9511 * sysdeps/i386/__longjmp.S: Likewise.
9512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9514
3a097cc7
RM
9515 * include/stap-probe.h: New file.
9516 * configure.in: Handle --enable-systemtap.
9517 * configure: Regenerated.
9518 * config.h.in (USE_STAP_PROBE): New #undef.
9519 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9520 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9521 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9522
21708942
JM
95232012-05-25 Joseph Myers <joseph@codesourcery.com>
9524
9525 [BZ #13717]
9526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9527 to 2.4.0 where earlier.
9528 * sysdeps/unix/sysv/linux/configure: Regenerated.
9529 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9530 <kernel-features.h>.
9531 [__ASSUME_32BITUIDS]: Make code unconditional.
9532 [!__ASSUME_32BITUIDS]: Remove conditional code.
9533 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9534 <kernel-features.h>.
9535 [__ASSUME_32BITUIDS]: Make code unconditional.
9536 [!__ASSUME_32BITUIDS]: Remove conditional code.
9537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9538 [__ASSUME_32BITUIDS]: Make code unconditional.
9539 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9540 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9541 <kernel-features.h>.
9542 [__ASSUME_32BITUIDS]: Make code unconditional.
9543 [!__ASSUME_32BITUIDS]: Remove conditional code.
9544 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9545 <kernel-features.h>.
9546 [__ASSUME_32BITUIDS]: Make code unconditional.
9547 [!__ASSUME_32BITUIDS]: Remove conditional code.
9548 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9549 <kernel-features.h>.
9550 [__ASSUME_32BITUIDS]: Make code unconditional.
9551 [!__ASSUME_32BITUIDS]: Remove conditional code.
9552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9553 <kernel-features.h>.
9554 [__ASSUME_32BITUIDS]: Make code unconditional.
9555 [!__ASSUME_32BITUIDS]: Remove conditional code.
9556 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9557 <kernel-features.h>.
9558 [__ASSUME_32BITUIDS]: Make code unconditional.
9559 [!__ASSUME_32BITUIDS]: Remove conditional code.
9560 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9561 <kernel-features.h>.
9562 [__ASSUME_32BITUIDS]: Make code unconditional.
9563 [!__ASSUME_32BITUIDS]: Remove conditional code.
9564 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9565 <kernel-features.h>.
9566 [__ASSUME_32BITUIDS]: Make code unconditional.
9567 [!__ASSUME_32BITUIDS]: Remove conditional code.
9568 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9569 <kernel-features.h>.
9570 [__ASSUME_32BITUIDS]: Make code unconditional.
9571 [!__ASSUME_32BITUIDS]: Remove conditional code.
9572 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9573 <kernel-features.h>.
9574 [__ASSUME_32BITUIDS]: Make code unconditional.
9575 [!__ASSUME_32BITUIDS]: Remove conditional code.
9576 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9577 <kernel-features.h>.
9578 [__ASSUME_32BITUIDS]: Make code unconditional.
9579 [!__ASSUME_32BITUIDS]: Remove conditional code.
9580 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9581 <kernel-features.h>.
9582 [__NR_setresgid] (__setresgid): Do not declare.
9583 [__ASSUME_32BITUIDS]: Make code unconditional.
9584 [!__ASSUME_32BITUIDS]: Remove conditional code.
9585 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9586 <kernel-features.h>.
9587 [__NR_setresuid] (__setresuid): Do not declare.
9588 [__ASSUME_32BITUIDS]: Make code unconditional.
9589 [!__ASSUME_32BITUIDS]: Remove conditional code.
9590 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9591 <kernel-features.h>.
9592 [__ASSUME_32BITUIDS]: Make code unconditional.
9593 [!__ASSUME_32BITUIDS]: Remove conditional code.
9594 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9595 <kernel-features.h>.
9596 [__ASSUME_32BITUIDS]: Make code unconditional.
9597 [!__ASSUME_32BITUIDS]: Remove conditional code.
9598 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9599 <kernel-features.h>.
9600 [__ASSUME_32BITUIDS]: Make code unconditional.
9601 [!__ASSUME_32BITUIDS]: Remove conditional code.
9602 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9603 <kernel-features.h>.
9604 [__ASSUME_32BITUIDS]: Make code unconditional.
9605 [!__ASSUME_32BITUIDS]: Remove conditional code.
9606 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9607 <kernel-features.h>.
9608 [__ASSUME_32BITUIDS]: Make code unconditional.
9609 [!__ASSUME_32BITUIDS]: Remove conditional code.
9610 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9611 <kernel-features.h>.
9612 [__ASSUME_32BITUIDS]: Make code unconditional.
9613 [!__ASSUME_32BITUIDS]: Remove conditional code.
9614 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9615 <kernel-features.h>.
9616 [__ASSUME_32BITUIDS]: Make code unconditional.
9617 [!__ASSUME_32BITUIDS]: Remove conditional code.
9618 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9619 <kernel-features.h>.
9620 [__ASSUME_32BITUIDS]: Make code unconditional.
9621 [!__ASSUME_32BITUIDS]: Remove conditional code.
9622 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9623 <kernel-features.h>.
9624 [__ASSUME_32BITUIDS]: Make code unconditional.
9625 [!__ASSUME_32BITUIDS]: Remove conditional code.
9626 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9627 <kernel-features.h>.
9628 [__ASSUME_32BITUIDS]: Make code unconditional.
9629 [!__ASSUME_32BITUIDS]: Remove conditional code.
9630 * sysdeps/unix/sysv/linux/kernel-features.h
9631 (__ASSUME_SETRESUID_SYSCALL): Remove.
9632 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9633 (__ASSUME_32BITUIDS): Likewise.
9634 (__ASSUME_LDT_WORKS): Likewise.
9635 (__ASSUME_O_DIRECTORY): Likewise.
9636 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9637 architecture but not kernel version.
9638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9639 (__ASSUME_MMAP2_SYSCALL): Likewise.
9640 (__ASSUME_STAT64_SYSCALL): Likewise.
9641 (__ASSUME_IPC64): Likewise.
9642 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9643 <kernel-features.h>.
9644 [__ASSUME_32BITUIDS]: Make code unconditional.
9645 [!__ASSUME_32BITUIDS]: Remove conditional code.
9646 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9647 <kernel-features.h>.
9648 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9649 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9650 132096]: Remove conditional code.
9651 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9652 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9653 <kernel-features.h>.
9654 [__ASSUME_32BITUIDS]: Make code unconditional.
9655 [!__ASSUME_32BITUIDS]: Remove conditional code.
9656 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9657 <kernel-features.h>.
9658 [__ASSUME_32BITUIDS]: Make code unconditional.
9659 [!__ASSUME_32BITUIDS]: Remove conditional code.
9660 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9661 <kernel-features.h>.
9662 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9663 unconditional.
9664 (__setresgid): Do not declare.
9665 [__ASSUME_32BITUIDS]: Make code unconditional.
9666 [!__ASSUME_32BITUIDS]: Remove conditional code.
9667 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9668 <kernel-features.h>.
9669 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9670 unconditional.
9671 (__setresuid): Do not declare.
9672 [__ASSUME_32BITUIDS]: Make code unconditional.
9673 [!__ASSUME_32BITUIDS]: Remove conditional code.
9674 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9675 <kernel-features.h>.
9676 [__ASSUME_32BITUIDS]: Make code unconditional.
9677 [!__ASSUME_32BITUIDS]: Remove conditional code.
9678 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9679 <kernel-features.h>.
9680 [__ASSUME_32BITUIDS]: Make code unconditional.
9681 [!__ASSUME_32BITUIDS]: Remove conditional code.
9682
a386f1cc
RH
96832012-05-25 Richard Henderson <rth@twiddle.net>
9684
9685 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9686 dl_hwcap to ifunc resolver.
9687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9688 elf_ifunc_invoke.
9689 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9690 dl_hwcap to ifunc resolver.
9691 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9692
b6550497
JM
96932012-05-24 Joseph Myers <joseph@codesourcery.com>
9694
9695 [BZ #14153]
9696 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9697 for |x| <= 2**-26, not 2**-57.
9698 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9699 exception.
9700
b0bc23a1
JL
97012012-05-24 Jeff Law <law@redhat.com>
9702
9703 * stdio-common/Makefile (tests): Add bug25.
9704 * stdio-common/bug25.c: New test.
9705
347c92e9
L
97062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 [BZ #13576]
9709 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9710 multiple of MALLOC_ALIGNMENT in size.
9711 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9712
6bcc8b3f
JM
97132012-05-24 Joseph Myers <joseph@codesourcery.com>
9714
9715 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9716 Require >= 256.
9717 (FILENAME_MAX): Use macro-int-constant.
9718 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9719 (_IOFBF): Use macro-int-constant.
9720 (_IOLBF): Likewise.
9721 (_IONBF): Likewise.
9722 (SEEK_CUR): Likewise.
9723 (SEEK_END): Likewise.
9724 (SEEK_SET): Likewise.
9725 (TMP_MAX): Likewise.
9726 (EOF): Use macro-int-constant. Require < 0.
9727 (NULL): Use macro-constant. Require == 0.
9728 (stdin): Require type to be FILE *.
9729 (stdout): Likewise.
9730 (stderr): Likewise.
9731 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9732 macro-int-constant.
9733 (EXIT_SUCCESS): Likewise.
9734 (NULL): Use macro-constant. Require == 0.
9735 (RAND_MAX): Use macro-int-constant.
9736 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9737 [C99-based standards] (strtof): Require function.
9738 [C99-based standards] (strtold): Likewise.
9739 [C99-based standards] (strtoll): Likewise.
9740 [C99-based standards] (strtoull): Likewise.
9741 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9742 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9743 [ISO || ISO99 || ISO11] (math.h): Likewise.
9744 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9745 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9747
d18ea0c5
AS
97482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9749
9750 [BZ #14132]
56d25bb8
AS
9751 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9752 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9753 * intl/dgettext.c (DCGETTEXT): Likewise.
9754 * intl/gettext.c (DCGETTEXT): Likewise.
9755 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9756 * posix/regex_internal.h (gettext): Likewise.
9757 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9758 Remove declaration.
9759 * include/argz.h (__argz_count_internal)
9760 (__argz_stringify_internal): Remove declaration.
9761 (__argz_count, __argz_stringify): Declare hidden proto.
9762 * intl/dcgettext.c: Remove use of INTDEF.
9763 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9764 * string/argz-stringify.c: Likewise.
9765 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9766 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9767 Declare hidden proto.
d18ea0c5
AS
9768 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9769 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9770 Declare hidden proto.
9771 * include/stdio.h (__asprintf_internal): Don't declare.
9772 (__asprintf): Don't define as macro. Declare hidden proto.
9773 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9774 (__fsetlocking): Declare hidden proto.
9775 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9776 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9777 hidden proto.
9778 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9779 (_IO_setlinebuf): Remove use of INTUSE.
9780 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9781 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9782 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9783 Remove declaration.
9784 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9785 (_IO_do_flush): Remove use of INTUSE.
9786 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9787 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9788 (_IO_adjust_column, _IO_least_wmarker)
9789 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9790 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9791 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9792 (_IO_default_doallocate, _IO_wdefault_doallocate)
9793 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9794 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9795 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9796 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9797 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9798 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9799 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9800 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9801 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9802 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9803 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9804 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9805 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9806 proto.
9807 (_IO_flush_all_internal, _IO_adjust_column_internal)
9808 (_IO_default_uflow_internal, _IO_default_finish_internal)
9809 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9810 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9811 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9812 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9813 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9814 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9815 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9816 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9817 (_IO_file_close_internal, _IO_file_close_it_internal)
9818 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9819 (_IO_file_init_internal, _IO_file_attach_internal)
9820 (_IO_file_fopen_internal, _IO_file_read_internal)
9821 (_IO_file_sync_internal, _IO_file_seek_internal)
9822 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9823 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9824 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9825 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9826 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9827 (_IO_list_all_internal, _IO_link_in_internal)
9828 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9829 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9830 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9831 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9832 (_IO_do_write_internal, _IO_padn_internal)
9833 (_IO_getline_info_internal, _IO_getline_internal)
9834 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9835 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9836 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9837 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9838 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9839 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9840 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9841 with libc_hidden_ver, remove use of INTUSE.
9842 * libio/genops.c: Likewise.
9843 * libio/freopen.c: Likewise.
9844 * libio/freopen64.c: Likewise.
9845 * libio/iofclose.c: Likewise.
9846 * libio/iofdopen.c: Likewise.
9847 * libio/iofflush.c: Likewise.
9848 * libio/iofflush_u.c: Likewise.
9849 * libio/iofgets.c: Likewise.
9850 * libio/iofgets_u.c: Likewise.
9851 * libio/iofopen.c: Likewise.
9852 * libio/iofopncook.c: Likewise.
9853 * libio/iofread.c: Likewise.
9854 * libio/iofread_u.c: Likewise.
9855 * libio/ioftell.c: Likewise.
9856 * libio/iofwrite.c: Likewise.
9857 * libio/iogetline.c: Likewise.
9858 * libio/iogets.c: Likewise.
9859 * libio/iogetwline.c: Likewise.
9860 * libio/iopadn.c: Likewise.
9861 * libio/iopopen.c: Likewise.
9862 * libio/ioseekoff.c: Likewise.
9863 * libio/ioseekpos.c: Likewise.
9864 * libio/iosetbuffer.c: Likewise.
9865 * libio/iosetvbuf.c: Likewise.
9866 * libio/ioungetc.c: Likewise.
9867 * libio/ioungetwc.c: Likewise.
9868 * libio/iovdprintf.c: Likewise.
9869 * libio/iovsprintf.c: Likewise.
9870 * libio/iovsscanf.c: Likewise.
9871 * libio/memstream.c: Likewise.
9872 * libio/obprintf.c: Likewise.
9873 * libio/oldfileops.c: Likewise.
9874 * libio/oldiofclose.c: Likewise.
9875 * libio/oldiofdopen.c: Likewise.
9876 * libio/oldiofopen.c: Likewise.
9877 * libio/oldiopopen.c: Likewise.
9878 * libio/oldstdfiles.c: Likewise.
9879 * libio/putc.c: Likewise.
9880 * libio/setbuf.c: Likewise.
9881 * libio/setlinebuf.c: Likewise.
9882 * libio/stdfiles.c: Likewise.
9883 * libio/strops.c: Likewise.
9884 * libio/vasprintf.c: Likewise.
9885 * libio/vscanf.c: Likewise.
9886 * libio/vsnprintf.c: Likewise.
9887 * libio/vswprintf.c: Likewise.
9888 * libio/wfiledoalloc.c: Likewise.
9889 * libio/wfileops.c: Likewise.
9890 * libio/wgenops.c: Likewise.
9891 * libio/wmemstream.c: Likewise.
9892 * libio/wstrops.c: Likewise.
9893 * libio/__fpurge.c: Likewise.
9894 * libio/__fsetlocking.c: Likewise.
9895 * assert/assert.c: Likewise.
9896 * debug/fgets_chk.c: Likewise.
9897 * debug/fgets_u_chk.c: Likewise.
9898 * debug/fread_chk.c: Likewise.
9899 * debug/fread_u_chk.c: Likewise.
9900 * debug/gets_chk.c: Likewise.
9901 * debug/obprintf_chk.c: Likewise.
9902 * debug/vasprintf_chk.c: Likewise.
9903 * debug/vdprintf_chk.c: Likewise.
9904 * debug/vsnprintf_chk.c: Likewise.
9905 * debug/vsprintf_chk.c: Likewise.
9906 * malloc/mtrace.c: Likewise.
9907 * misc/error.c: Likewise.
9908 * misc/syslog.c: Likewise.
9909 * stdio-common/asprintf.c: Likewise.
9910 * stdio-common/fxprintf.c: Likewise.
9911 * stdio-common/getw.c: Likewise.
9912 * stdio-common/isoc99_fscanf.c: Likewise.
9913 * stdio-common/isoc99_scanf.c: Likewise.
9914 * stdio-common/isoc99_vfscanf.c: Likewise.
9915 * stdio-common/isoc99_vscanf.c: Likewise.
9916 * stdio-common/isoc99_vsscanf.c: Likewise.
9917 * stdio-common/printf-prs.c: Likewise.
9918 * stdio-common/printf_fp.c: Likewise.
9919 * stdio-common/printf_fphex.c: Likewise.
9920 * stdio-common/printf_size.c: Likewise.
9921 * stdio-common/putw.c: Likewise.
9922 * stdio-common/scanf.c: Likewise.
9923 * stdio-common/sprintf.c: Likewise.
9924 * stdio-common/tmpfile.c: Likewise.
9925 * stdio-common/vfprintf.c: Likewise.
9926 * stdio-common/vfscanf.c: Likewise.
9927 * stdlib/strfmon_l.c: Likewise.
9928 * sunrpc/openchild.c: Likewise.
9929 * sunrpc/xdr_stdio.c: Likewise.
9930 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9931 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9932
d6c33fda
RM
99332012-05-24 Roland McGrath <roland@hack.frob.com>
9934
c1487492
RM
9935 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9936
9937 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9938 in the third column, to generate for the shared library an IFUNC
9939 that uses _dl_vdso_vsym.
9940 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9941 * Makeconfig (object-suffixes-noshared): New variable.
9942
9943 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9944 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9945 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9946 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9947
d6c33fda
RM
9948 [BZ #14132]
9949 * include/sys/time.h (__gettimeofday): Remove macro.
9950 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9951 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9952 Remove INTDEF.
9953 (__gettimeofday): Add libc_hidden_def.
9954 (gettimeofday): Add libc_hidden_weak.
9955 * sysdeps/mach/gettimeofday.c: Likewise.
9956 * sysdeps/posix/gettimeofday.c: Likewise.
9957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9958 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9960 (__gettimeofday_internal): Remove strong_alias.
9961 (__gettimeofday): Add libc_hidden_def.
9962 (gettimeofday): Add libc_hidden_weak.
9963 * sysdeps/unix/syscalls.list (gettimeofday):
9964 Remove __gettimeofday_internal alias.
9965
b5a2bbe6
L
99662012-05-24 Daniel Jacobowitz <drow@false.org>
9967 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 [BZ #12495]
9970 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9971 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9972 (largebin_index_32_big): New.
9973 (largebin_index): Use it for 16-byte alignment.
9974 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9975 correction with front_misalign.
9976
cfba4fda
L
99772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9978
7f907421
L
9979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9981 Likewise.
9982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9985 Likewise.
9986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9987 Likewise.
9988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9991 Likewise.
9992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9995 Likewise.
9996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9997 Likewise.
9998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9999 Likewise.
10000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10001 Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10003 Likewise.
10004
cfba4fda
L
10005 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10006 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10007
80bad0cc
JM
100082012-05-24 Joseph Myers <joseph@codesourcery.com>
10009
7a25eb06
JM
10010 [BZ #10846]
10011 [BZ #14036]
10012 * math/libm-test.inc (exp_test): Add test from bug 14036.
10013 (pow_test): Add test from bug 10846.
10014
795405f9
JM
10015 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10016 and other flags.
10017 (special_function): Do not include flags in test name.
10018 (parse_args): Likewise.
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10021 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10024
80bad0cc
JM
10025 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10026 exceptions.
10027 * math/libm-test.inc ("Philosophy"): Update comment about
10028 exception testing.
10029 (UNDERFLOW_EXCEPTION): New macro.
10030 (UNDERFLOW_EXCEPTION_OK): Likewise.
10031 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10032 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10033 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10034 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10035 (INVALID_EXCEPTION_OK): Update value.
10036 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10037 (OVERFLOW_EXCEPTION_OK): Likewise.
10038 (IGNORE_ZERO_INF_SIGN): Likewise.
10039 (test_exceptions): Handle underflow exceptions.
10040 (acos_test): Update for underflow exception expectations.
10041 (cexp_test): Likewise.
10042 (clog_test): Likewise.
10043 (clog10_test): Likewise.
10044 (csqrt_test): Likewise.
10045 (ctan_test): Likewise.
10046 (ctanh_test): Likewise.
10047 (exp_test): Likewise.
10048 (exp10_test): Likewise.
10049 (exp2_test): Likewise.
10050 (expm1_test): Likewise.
10051 (fma_test): Likewise.
10052 (j0_test): Likewise.
10053 (jn_test): Likewise.
10054 (nexttoward_test): Likewise.
10055 (pow_test): Likewise.
10056 (scalbn_test): Likewise.
10057 (scalbln_test): Likewise.
10058 (tan_test): Likewise.
10059 (y1_test): Likewise.
10060 * sysdeps/i386/fpu/libm-test-ulps: Update.
10061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10062
9e0e3d0b
DM
100632012-05-23 David S. Miller <davem@davemloft.net>
10064
10065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10066 (__libc_sigaction): Remove unused local variables.
10067
ccd0a08f
L
100682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10069
10070 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10071
62bdf9a6
PE
100722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10073
f8591f80
PE
10074 mktime: avoid signed integer overflow
10075 * time/mktime.c (__mktime_internal): Do not mishandle the case
10076 where diff == INT_MIN.
10077
94c7d826
PE
10078 mktime: simplify computation of average
10079 * time/mktime.c (ranged_convert): Use new time_t_avg function
10080 instead of rolling our own (probably-slower) code.
10081
ce73d683
PE
10082 mktime: do not assume signed right shift propagates sign bit
10083 * time/mktime.c (isdst_differ): New static function.
10084 (__mktime_internal): No need to normalize tm_isdst now.
10085 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10086 tm_isdst values.
10087
72a22e59
PE
10088 mktime: merge another wrapv change from gnulib
10089 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10090 from some compilers.
10091
68605433
PE
10092 mktime: remove incorrect attempt at unusual arithmetics
10093 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10094 The code didn't really work on such machines anyway.
10095 (TYPE_MINIMUM): Assume two's complement.
10096 (twos_complement_arithmetic): Verify that long_int and time_t
10097 are two's complement (or unsigned, in the latter case).
10098
03cf7fe3
PE
10099 mktime: check signed shifts on long_int and time_t, too
10100 * time/mktime.c (SHR): Check that shifts work as desired
10101 on the types long_int and time_t too, as SHR is used on
10102 such types.
10103
f04dfbc2
PE
10104 mktime: do not assume 'long' is wide enough
10105 * time/mktime.c (verify): Move decl up.
10106 (long_int): New type.
10107 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10108 to remove assumption in the code that 'long' is wide enough to
10109 store year values. This assumption is not true on x32 and on
10110 some non-glibc platforms.
10111
62bdf9a6
PE
10112 mktime: merge wrapv change from gnulib
10113 * time/mktime.c (WRAPV): New macro.
10114 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10115 (guess_time_tm, __mktime_internal): Do not assume that signed
10116 integer overflow wraps around; modern compilers generate code
10117 where this assumption is no longer valid.
10118
5e292e4f
L
101192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10120
10121 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10122 Replace "jmp L(pseudo_end)" with "ret".
10123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10124 Likewise.
10125
8caf8c87
AJ
101262012-05-23 Andreas Jaeger <aj@suse.de>
10127
10128 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10129 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10130
1a09dc56
AJ
101312012-05-23 Andreas Jaeger <aj@suse.de>
10132 Maximilian Attems <max@stro.at>
10133
10134 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10135 New macros.
10136
1c87aba0
L
101372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10140 code so that pseudo_end is just ret and the stack pointer is
10141 correct also for static library in error case.
10142
40e45bd5
JM
101432012-05-23 Joseph Myers <joseph@codesourcery.com>
10144
c2670533
JM
10145 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10146 move to syscalls.list.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10151
40e45bd5
JM
10152 * manual/install.texi (Running make install): Do not mention Linux
10153 kernel version for which pt_chown is not needed.
10154 (Linux): Do not mention problems with nscd with 2.0 kernels.
10155 * INSTALL: Regenerated.
10156
be08eda5
AJ
101572012-05-23 Andreas Jaeger <aj@suse.de>
10158
10159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10160 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10161 macro.
10162 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10164 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10166 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10172 * sysdeps/unix/sysv/linux/bits/in.h
10173 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10174
a6a056bb
RM
101752012-05-22 Roland McGrath <roland@hack.frob.com>
10176
10177 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10178 (PREPARE_VERSION): Just use assert instead, it will be elided
10179 under [NDEBUG] anyway.
10180
c9009328
L
101812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 * sysdeps/unix/sysv/linux/Makefile: Include
10184 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10185 (sysdep_routines): Remove sysctl.
c9009328
L
10186 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10187 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10188 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10189 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10190 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10191
73338355
AJ
101922012-05-22 Andreas Jaeger <aj@suse.de>
10193
10194 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10195 that pseudo_end is just ret and the stack pointer is correct also
10196 for static library in error case.
10197
d44638b0
PP
101982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10199
10200 [BZ #14122]
10201 * nss/nsswitch.c (defconfig_entries): New variable.
10202 (__nss_database_lookup): Don't leak defconfig entries.
10203 (nss_parse_service_list): Don't leak on error paths.
10204 (free_database_entries): New function.
10205 (free_defconfig): New function.
10206 (free_mem): Move common code to free_database_entries.
10207
31a39bd8
L
102082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10209
da0331a8
L
10210 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10211 Add arch_prctl.
10212 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10213
31a39bd8
L
10214 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10215 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10217 New macro.
10218 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10219 (INTERNAL_SYSCALL_TYPES): Likewise.
10220 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10221 (LOAD_REGS_TYPES_[1-6]): Likewise.
10222 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10223 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10224
45470df3
AZ
102252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226
10227 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10228 copysignl for GLIBC_2_0.
10229 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10230 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10232 logbl for GLIBC_2_0.
10233 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10234 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10235
98a61bcb
L
102362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10237
a4f6e481
L
10238 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10239 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10240
f63d5db6
L
10241 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10242 Use "neg %eax".
10243
98a61bcb
L
10244 * time/mktime.c: Update copyright years.
10245
95770f14
PE
102462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10247
6226efbd
PE
10248 mktime: merge comment-quoting-style change from gnulib
10249 * time/mktime.c: Quote 'like this' in comments.
10250 The GNU coding standards suggest that we no longer quote `like this',
10251 as "`" and "'" are typically rendered asymmetrically nowadays.
10252 The typical gnulib style is to quote 'like this' when quoting
10253 code, and "like this" when quoting English.
10254
b99e4f78
PE
10255 * time/mktime.c (compile-command): Add "-I.".
10256
643e01e6
PE
10257 mktime: merge mktime-internal.h change from gnulib
10258 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10259
2554247d
PE
10260 mktime: merge time_r change from gnulib
10261 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10262
826dd0ab
PE
10263 mktime: merge DEBUG change from gnulib
10264 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10265 case system <time.h> has a #define.
10266
bd83aabe
PE
10267 mktime: merge <sys/types.h> change from gnulib
10268 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10269 since <time.t> is now guaranteed to define time_t.
10270
95770f14
PE
10271 mktime: merge HAVE_CONFIG_H change from gnulib
10272 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10273
5e1a27a9
L
102742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10275
0e44a77e
L
10276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10277 Use "neg %eax".
10278
5e1a27a9
L
10279 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10280 __rlim_t cast.
10281 (struct rusage): Use anonymous union to pad each field to
10282 __syscall_slong_t.
10283
46259bec
DM
102842012-05-21 David S. Miller <davem@davemloft.net>
10285
10286 * Makefules (o-iterator): Remove .s cases.
10287 (compile-command.s): Delete.
10288 (COMPILE.s): Delete.
10289 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10290
59f0c22e
JM
102912012-05-21 Joseph Myers <joseph@codesourcery.com>
10292
10293 * configure.in (libc_cv_predef_stack_protector): Only consider
10294 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10295 * configure: Regenerated.
10296
20c07380
L
102972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10298
bbb3154b
L
10299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10300 New macro. Use R*LP on int and pointer.
10301 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10302 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10303 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10304 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10305
20c07380
L
10306 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10307 [__WORDSIZE_TIME64_COMPAT32] instead of
10308 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10309 (struct utmp): Likewise.
10310 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10311 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10312 Renamed to ...
10313 (__WORDSIZE_TIME64_COMPAT32): This.
10314 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10315 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10316 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10318 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10319 (__WORDSIZE_TIME64_COMPAT32): New macro.
10320
d8d1017e
AJ
103212012-05-21 Andreas Jaeger <aj@suse.de>
10322
10323 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10324 only if [SHARED]. Add prototype for __wcschr_ia32.
10325
6c7fb145
RM
103262012-05-21 Roland McGrath <roland@hack.frob.com>
10327
10328 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10329 of %rbp unmolested in the jmp_buf while mangling the low bits.
10330 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10331 unmolested high bits of %rbp while demangling the low bits.
10332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10333
66274218
AJ
103342012-05-21 Andreas Jaeger <aj@suse.de>
10335
07c58f8f
AJ
10336 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10337 * sunrpc/svc_simple.c: Use it for registerrpc.
10338 * sunrpc/xcrypt.c: Use it for passwd2des.
10339
66274218
AJ
10340 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10341
61f65140
L
103422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10345 Don't define if [__SYSCALL_WORDSIZE != 32].
10346 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10347 New macro.
10348
5fefb436
AJ
103492012-05-21 Bruno Haible <bruno@clisp.org>
10350 Andreas Jaeger <aj@suse.de>
10351
10352 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10353 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10354 inptr and inend for must_buffer_ch.
10355 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10356 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10357 * stdio-common/Makefile (tests): Remove bug15.
10358 (bug15-ENV): Remove macro.
10359 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10360 anymore.
10361
d8e272ab
AJ
103622012-05-19 Andreas Jaeger <aj@suse.de>
10363 Roland McGrath <roland@hack.frob.com>
10364
10365 * manual/contrib.texi: Completely rewritten. It contains now an
10366 alphabetical list of contributors and their contributions.
10367
4a56a162
RH
103682012-05-21 Richard Henderson <rth@twiddle.net>
10369
10370 * misc/getauxval.c (__getauxval): Use unsigned long int.
10371 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10372 (getauxval): Use unsigned long int.
10373
d024d23c
L
103742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10377
cbc00a03
RM
103782012-05-21 Roland McGrath <roland@hack.frob.com>
10379
10380 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10381 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10382 __alignof__ (long double).
10383
478143fa
AZ
103842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385
10386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10387
c7683a6d
RH
103882012-05-20 Richard Henderson <rth@twiddle.net>
10389
10390 * misc/getauxval.c: New file.
10391 * misc/sys/auxv.h: New file.
10392 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10393 (routines): Add getauxval.
10394 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10395 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10396 * elf/dl-sysdep.c (_dl_auxv): Remove.
10397 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10398 * elf/dl-support.c (_dl_auxv): New variable.
10399 (_dl_aux_init): Initialize it.
10400 * manual/startup.texi (Auxiliary Vector): New node.
10401 * sysdeps/generic/bits/hwcap.h: New file.
10402 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10403 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10404 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10405 * sysdeps/sparc/sysdep.h: ... here. Include it.
10406 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10409 Update.
c7683a6d
RH
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10418
a6f1845d
AZ
104192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420
10421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10422
cbcbe830
DM
104232012-05-19 David S. Miller <davem@davemloft.net>
10424
10425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10426
e0b16cc2
JM
104272012-05-19 Joseph Myers <joseph@codesourcery.com>
10428
10429 [BZ #14123]
10430 * math/s_ccosh.c: Include <float.h>
10431 (__ccosh): Avoid internal overflow calculating sinh and cosh
10432 values before multiplying by sin and cos values.
10433 * math/s_ccoshf.c: Likewise.
10434 * math/s_ccoshl.c: Likewise.
10435 * math/s_csin.c: Likewise.
10436 * math/s_csinf.c: Likewise.
10437 * math/s_csinl.c: Likewise.
10438 * math/s_csinh.c: Likewise.
10439 * math/s_csinhf.c: Likewise.
10440 * math/s_csinhl.c: Likewise.
10441 * math/libm-test.inc (ccos_test): Add more tests.
10442 (ccosh_test): Likewise.
10443 (csin_test): Likewise.
10444 (csinh_test): Likewise.
10445 * sysdeps/i386/fpu/libm-test-ulps: Update.
10446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10447
6ad13e08
L
104482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10449
f66f0ce8
L
10450 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10451 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10452
6ad13e08
L
10453 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10454
b1d072a7
JM
104552012-05-19 Joseph Myers <joseph@codesourcery.com>
10456
10457 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10458 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10459 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10460 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10461 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10462 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10463 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10464 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10465 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10466 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10467 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10468 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10469 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10470 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10471 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10472 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10473 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10474 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10475 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10476 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10477 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10478 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10479 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10480 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10481 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10482 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10483 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10484 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10485 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10486 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10487 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10488
9eae47cb
AJ
104892012-05-18 Andreas Jaeger <aj@suse.de>
10490
10491 * csu/.gitignore: Delete.
10492
bb07f69f
L
104932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10494
10495 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10496 (timex): Use __syscall_slong_t.
10497
e6bdb741
AJ
104982012-05-18 Andreas Jaeger <aj@suse.de>
10499 Carlos O'Donell <carlos_odonell@mentor.com>
10500
10501 * manual/install.texi (Configuring and compiling): Update
10502 description about files modified in the source directory.
d6c33fda 10503 * INSTALL: Regenerated.
e6bdb741 10504
1b74487e
L
105052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10508 value. Use "or" to set return value to -1.
10509 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10510 negate return value.
10511
a88b64b9
TMQMF
105122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10513
10514 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10515 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10516 failure if the compiler has Graphite support disabled.
10517 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10518 Likewise.
10519 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10520 CFLAGS-memmove.c): Likewise.
10521 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10522 Likewise.
10523
3707636e
L
105242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10525
610b8622
L
10526 * sysdeps/x86_64/x32/_itoa.h: New file.
10527
7cd195df
L
10528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10529 getdents system call only if kernel and user dirents have the
10530 same d_ino and d_off.
10531
94b07d20
L
10532 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10533 LLONG_MAX != LONG_MAX.
10534 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10535 (_fitoa_word): Likewise.
10536
18298070
L
10537 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10538 years.
10539 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10542
553c7ea4
L
10543 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10544 include <bits/wordsize.h>. Check __x86_64__ instead of
10545 __WORDSIZE.
10546 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10547 if __x86_64__ is defined. Use anonymous union on fpstate.
10548
3707636e
L
10549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10550 anonymous union.
10551
b53ef01a
AS
105522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10553
37fb1dc0
AS
10554 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10555 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10556 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10557 Refer to _rtld_local_ro instead of _rtld_global_ro.
10558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10559 Likewise.
10560 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10561 Likewise.
10562 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10563 Likewise.
10564 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10565 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10566 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10567
b53ef01a
AS
10568 * sysdeps/powerpc/powerpc32/dl-machine.c
10569 (__elf_machine_runtime_setup) [PROF]: Don't reference
10570 _dl_prof_resolve.
10571
7a185db2
AJ
105722012-05-18 Andreas Jaeger <aj@suse.de>
10573
10574 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10575 function only available for GCCs before 3.4 since GCC 3.4
10576 introduced a builtin.
10577 (lrint): Likewise.
10578 (llrintf): Likewise.
10579 (llrint): Likewise.
10580 (fmaxf): Likewise.
10581 (fmax): Likewise.
10582 (fminf): Likewise.
10583 (fmin): Likewise.
10584 (rint): Likewise.
10585 (rintf): Likewise.
10586 (nearbyint): Likewise.
10587 (nearbyintf): Likewise.
10588 (ceil): Likewise.
10589 (ceilf): Likewise.
10590 (floor): Likewise.
10591 (floorf): Likewise.
10592
3e5aef87
L
105932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10594
428bd707
L
10595 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10596 on both fields and cast pointer to __syscall_ulong_t.
10597
3e5aef87
L
10598 * bits/types.h (__fsword_t): New type.
10599 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10600 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10602 (__FSWORD_T_TYPE): Likewise.
10603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10604 (__FSWORD_T_TYPE): Likewise.
10605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10606 (__FSWORD_T_TYPE): Likewise.
10607 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10608 (__FSWORD_T_TYPE): Likewise.
10609 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10610 __SWORD_TYPE with __fsword_t.
10611 (statfs64): Likewise.
10612
1ba7c3dc
DM
106132012-05-17 David S. Miller <davem@davemloft.net>
10614
10615 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10616
59910343
AJ
106172012-05-17 Andreas Jaeger <aj@suse.de>
10618
10619 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10620 warning.
10621
2e4c1e9e
L
106222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10623
10624 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10625
de7f5ce7
AJ
106262012-05-17 Andreas Jaeger <aj@suse.de>
10627
10628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10629 when it is used.
10630
286abc3d
CM
106312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10632
10633 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10634
477cc68e
L
106352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10636
10637 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10638 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10639
1a0994f5
CD
106402012-05-17 Andreas Jaeger <aj@suse.de>
10641 Carlos O'Donell <carlos_odonell@mentor.com>
10642
10643 [BZ #14059]
10644 * sysdeps/x86_64/multiarch/init-arch.h
10645 (bit_YMM_Usable): Rename to...
10646 (bit_AVX_Usable): ... this.
10647 (bit_FMA4_Usable): New macro.
10648 (bit_XMM_state): New macro.
10649 (bit_YMM_state): New macro.
10650 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10651 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10652 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10653 (CPUID_OSXSAVE): New macro.
10654 (CPUID_AVX): New macro.
10655 (CPUID_FMA4): New macro.
10656 (index_YMM_Usable): Rename to...
10657 (index_AVX_Usable): ... this.
10658 (HAS_AVX): Use HAS_ARCH_FEATURE.
10659 (HAS_FMA4): Likewise.
10660 (HAS_YMM_USABLE): Remove.
10661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10662 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10663 are present.
10664 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10665 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10666 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10667 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10668 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10669
0af797de
CM
106702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10671
10672 * math/libm-test.c: Support platforms without multiple rounding modes.
10673 * math/bug-nextafter.c: Support platforms without FP exceptions.
10674 * math/bug-nexttoward.c: Likewise.
10675 * math/test-fenv.c: Likewise.
10676 * math/test-misc.c: Likewise.
10677 * stdlib/bug-getcontext.c: Likewise.
10678
e39745ff
AJ
106792012-05-17 Andreas Jaeger <aj@suse.de>
10680
10681 * manual/examples/search.c (critter_cmp): Change signature to
10682 avoid warnings.
10683 * manual/string.texi (Collation Functions): Likewise.
10684
48970aba
L
106852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * bits/types.h: Fold copyright years.
10688 * bits/typesizes.h: Likewise.
10689 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10693 * time/time.h: Likewise.
10694
bedee953
PP
106952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10696
10697 [BZ #208]
10698 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10699 in instead of returning them. Return void.
10700 (__libc_mallinfo): Accumulate over all arenas.
10701 (__malloc_stats): Adjust for change in int_mallinfo interface.
10702
61653dfb
RM
107032012-05-16 Roland McGrath <roland@hack.frob.com>
10704
30b99d79
RM
10705 [BZ #10375]
10706 * configure.in (NM): Add AC_CHECK_TOOL for it.
10707 (libc_extra_cflags): New substituted variable.
10708 Check for -fstack-protector being used implicitly.
10709 * configure: Regenerated.
10710 * config.make.in (config-extra-cflags): New variable,
10711 gets @libc_extra_cflags@.
10712 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10713
61653dfb
RM
10714 [BZ #10375]
10715 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10716 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10717 * configure: Regenerated.
10718 * config.make.in (CPPUNDEFS): New substituted variable.
10719 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10720 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10721 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10722
661768bb
L
107232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10726 (mq_attr): Use __syscall_slong_t.
10727
d4261567
L
107282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10731 Check __x86_64__ instead of __WORDSIZE.
10732 (_STAT_VER_LINUX): Likewise.
10733 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10734 __syscall_ulong_t and __syscall_slong_t.
10735 (stat64): Likewise.
10736
cf3ff365
L
107372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10740
76cf3e4d
L
107412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10744
a637753a
L
107452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10746
10747 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10748 __syscall_ulong_t.
10749
d5e05119
L
10750 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10751 include <bits/wordsize.h>. Check __x86_64__ instead of
10752 __WORDSIZE.
10753 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10754 defined.
10755 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10756
f62ee380
L
10757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10758 include <bits/wordsize.h>. Check __x86_64__ instead of
10759 __WORDSIZE.
10760 (user_regs_struct): Use "__extension__ unsigned long long"
10761 instead of "unsigned long" if __x86_64__ is defined.
10762 (user): Likewise. Pad after pointer field if __ILP32__ is
10763 defined.
10764
4e124ced
JM
107652012-05-16 Joseph Myers <joseph@codesourcery.com>
10766
6a3951a0
JM
10767 * configure.in (makeinfo): Require version 4.5 or later. Allow
10768 versions 5 to 9.
10769 * configure: Regenerated.
10770 * manual/install.texi (texinfo): Increase version requirement to
10771 4.5 or later.
10772 * INSTALL: Regenerated.
10773
4e124ced
JM
10774 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10775
953ca31a
L
107762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10779
617aca05
L
10780 * sysdeps/x86_64/x32/ffs.c: New file.
10781
5762f7ae
L
10782 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10783 __syscall_ulong_t.
10784 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10785 defined. Use __syscall_ulong_t.
10786 (shminfo): Use __syscall_ulong_t.
10787 (shm_info): Likewise.
10788
a26b6856
L
10789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10790 __syscall_ulong_t.
10791
cb2b9ef7
L
10792 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10793 <bits/wordsize.h>.
10794 (msgqnum_t): Use __syscall_ulong_t.
10795 (msglen_t): Likewise.
10796 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10797 __syscall_ulong_t.
10798
34683bb0
L
10799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10800 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10801
84a68786
L
10802 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10803
48baa5f1
L
10804 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10805 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10806
180be88b
L
10807 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10808 __syscall_slong_t.
10809
5e90c8ad
L
10810 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10811 include <bits/wordsize.h>. Check __x86_64__ instead of
10812 __WORDSIZE.
10813
23dfb58b
L
10814 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10815 "unsigned long long int" if __x86_64__ is defined.
10816 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10817
ce5d54b0
L
10818 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10820 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10821
13dc9eac
L
10822 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10823 <stdint.h>.
10824 (GET_PC): Cast to uintptr_t first.
10825 (GET_FRAME): Likewise.
10826 (GET_STACK): Likewise.
10827
a7895d15
L
10828 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10829 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10834 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10835 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10836 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10838 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10839 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10840 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10846 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10848 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10853 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10854 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10857
656416c9
AS
108582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10859
5bd66283
AS
10860 * Makerules (+depfiles): Also collect depfiles from .oS in
10861 $(extra-objs).
10862 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10863 .oS, $(libnldbl-routines)).
10864
656416c9
AS
10865 * Makerules (native-compile-mkdep-flags): Define.
10866 * sunrpc/Makefile (extra-objs): Add $(addprefix
10867 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10868 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10869 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10870 calling $(make-target-directory).
10871
a46f2169
L
108722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 * bits/types.h (__snseconds_t): Removed.
10875 * time/time.h (struct timespec): Replace __snseconds_t with
10876 __syscall_slong_t.
10877 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10878 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10879 Likewise.
10880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10881 (__SNSECONDS_T_TYPE): Likewise.
10882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10883 (__SNSECONDS_T_TYPE): Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10885 (__SNSECONDS_T_TYPE): Likewise.
10886
6af6528b
L
108872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 * sysdeps/mach/hurd/bits/typesizes.h
10890 (__SYSCALL_SLONG_TYPE): New macro.
10891 (__SYSCALL_ULONG_TYPE): Likewise.
10892
de986b56
L
108932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10894
10895 * bits/types.h (__syscall_slong_t): New type.
10896 (__syscall_ulong_t): Likewise.
10897
10898 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10899 (__SYSCALL_ULONG_TYPE): Likewise.
10900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10901 (__SYSCALL_SLONG_TYPE): Likewise.
10902 (__SYSCALL_ULONG_TYPE): Likewise.
10903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10904 (__SYSCALL_SLONG_TYPE): Likewise.
10905 (__SYSCALL_ULONG_TYPE): Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10907 (__SYSCALL_SLONG_TYPE): Likewise.
10908 (__SYSCALL_ULONG_TYPE): Likewise.
10909
85736dc7
L
109102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10911
10912 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10913 Add sigaltstack-offsets.sym.
10914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10915 <sigaltstack-offsets.h>.
10916 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10917 longjmp_msg pointer.
10918 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10919 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10920 signal stack.
10921 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10922
cc03b296
JM
109232012-05-15 Joseph Myers <joseph@codesourcery.com>
10924
a9538892
JM
10925 * elf/stackguard-macros.h: Remove file.
10926 * sysdeps/generic/stackguard-macros.h: New file.
10927 * sysdeps/i386/stackguard-macros.h: Likewise.
10928 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10929 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10930 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10931 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10932 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10933 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10934 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10935 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10936 <elf/stackguard-macros.h>.
10937
cc03b296
JM
10938 [BZ #14109]
10939 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10940 __aligned__ in attribute.
10941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10942 (gregset_t): Likewise.
10943
93171016
L
109442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10947 * sysdeps/x86_64/64/Implies-after: Here. New file.
10948 * sysdeps/x86_64/x32/Implies-after: New file.
10949
d86813a0
L
109502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10951
10952 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10953 and access return value for _dl_profile_fixup. Use R10_LP to
10954 load frame size.
10955
2953ec75
L
109562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10959
3b550e9e
L
109602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10961
10962 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10963 * sysdeps/x86_64/x32/sysdep.h: New file.
10964
eda41706
L
109652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10968 * sysdeps/x86_64/setjmp.S: Likewise.
10969
9ea01d93
AZ
109702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971
10972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10974 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10975 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10976 remove unused global constant.
10977
02a91938
CM
109782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10979
10980 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10981 include of <not-cancel.h>.
10982
6540185f
RM
109832012-05-15 Roland McGrath <roland@hack.frob.com>
10984
10985 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10986
509072a0
AJ
109872012-05-15 Jeff Law <law@redhat.com>
10988 Andreas Jaeger <aj@suse.de>
10989
10990 [BZ #13594]
10991 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10992 out from...
10993 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10994 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10995 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10996 code changing __hst_map_handle.map.
10997
ba75122d
RM
109982012-05-15 Roland McGrath <roland@hack.frob.com>
10999
11000 * configure.in (sysnames): Look for Implies-before and Implies-after
11001 files.
11002 * configure: Regenerated.
11003
890d8bd8
L
110042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11007 8-byte data alignment with LP_SIZE alignment.
11008
f6ee6623
L
110092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11012 into R10_LP.
11013
ea2626f6
L
110142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11015
11016 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11017
085f715e
L
110182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11019
11020 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11021 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11023 Likewise.
11024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11025
be8498fc
L
110262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11029 (stackinfo_sub_sp): Likewise.
11030
70bc83b9
L
110312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11034 RAX_LP.
11035
9bc0b730
L
110362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11039 into R*_LP.
11040
6d2850e7
L
110412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11042
11043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11044 sizes into R*_LP.
11045
3cb84561
L
110462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11047
11048 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11049
54e2ed81
L
110502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11053 into R11_LP and load __x86_64_shared_cache_size_half into
11054 R8_LP.
11055
8a17f349
L
110562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11059 R8_LP.
11060
777b1eea
AZ
110612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11062
11063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11064 logb for POWER7.
11065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11066 logbf for POWER7.
11067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11068 logbl for POWER7.
11069 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11070 powerpc32/power7/fpu/s_logb.c via #include.
11071 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11072 powerpc32/power7/fpu/s_logbf.c via #include.
11073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11074 powerpc32/power7/fpu/s_logbl.c via #include.
11075
d20d4ac2
JM
110762012-05-15 Joseph Myers <joseph@codesourcery.com>
11077
11078 * README.libm: Remove file.
11079
6cdef1ab
L
110802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11081
11082 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11083 count for x32. Use R*_LP and omit operand-size suffix.
11084
0b254d8f
L
110852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11088 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11089 * sysdeps/x86_64/x32/shlib-versions: New file.
11090
ceb809dc
RM
110912012-05-14 Roland McGrath <roland@hack.frob.com>
11092
11093 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11094 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11095 Use _dl_fatal_printf instead.
11096
37f1abd4
JM
110972012-05-14 Joseph Myers <joseph@codesourcery.com>
11098
11099 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11100 set if not set by the user. Do not allow for being unset.
11101 * sysdeps/unix/sysv/linux/configure: Regenerated.
11102
11de3a33
L
111032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11106 the `q' suffix from lea and replace .quad with ASM_ADDR.
11107
e02f153a
L
111082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11111 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11112 instead of $17.
11113 (PTR_DEMANGLE): Likewise.
11114
520ae0fd
L
111152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11118 (LP_OP): Likewise.
11119 (ASM_ADDR): Likewise.
11120 (RAX_LP): Likewise.
11121 (RBP_LP): Likewise.
11122 (RBX_LP): Likewise.
11123 (RCX_LP): Likewise.
11124 (RDI_LP): Likewise.
11125 (RSI_LP): Likewise.
11126 (RSP_LP): Likewise.
11127 (R8_LP): Likewise.
11128 (R9_LP): Likewise.
11129 (R10_LP): Likewise.
11130 (R10_LP): Likewise.
11131 (R11_LP): Likewise.
11132 (R12_LP): Likewise.
11133 (R13_LP): Likewise.
11134 (R14_LP): Likewise.
11135 (R15_LP): Likewise.
11136
b985be81
L
111372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 * sysdeps/x86_64/x32/dl-machine.h: New file.
11140
6a4888ff
AJ
111412012-05-14 Andreas Jaeger <aj@suse.de>
11142
11143 * manual/Makefile (subdir): Remove export of subdir.
11144 (all): Remove target.
11145 (.PHONY): Remove all from list.
11146 (mkinstalldirs): Remove.
11147 (.PHONY): Remove installdirs from list.
11148 ($(inst_infodir)/libc.info): Use make-target-directory.
11149 (installdirs): Remove.
11150 (subdir_%): Remove.
11151 (glibc-targets): Remove.
11152 (lib): Remove.
11153 (stubs): Remove.
11154 ($(objpfx)stubs ../po/manual.pot): Remove.
11155 ($(objpfx)stamp%): Remove.
11156 (make-target-directory): Remove.
11157 (subdir_install): Remove.
11158 (routines): Remove.
11159 (aux): Remove.
11160 (sources): Remove.
11161 (objects): Remove.
11162 (headers): Remove.
11163
11164 [BZ #13750]
11165 * manual/.gitignore: Remove, it's not needed anymore.
11166 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11167 all files in it.
11168 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11169 directory.
11170 (texis): Renamed to $(objpfx)texis.
11171 (texis-path): New, contains path to generated files.
11172 (chapters.%): Use texis-path for complete path, add extra argument
11173 libc-texinfo.sh.
11174 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11175 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11176 (summary,texi, stamp-summary): Use complete path of
11177 files. Generate files in build dir.
11178 (dir-add.texi): Build in build dir.
11179 (libm-err.texi,stamp-libm-err): Likewise.
11180 (version.texi, stamp-version): Likewise.
11181 (.%c.texi): Likewise.
11182 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11183 (mostlyclean): Remove target.
11184 (realclean): Remove target.
11185 (generated): Add new variable with contents from mostlyclean and
11186 realclean, remove entries duplicated in common-mostlyclean, add
11187 stamp-libm-err and stamp-version.
11188 (generated-dirs): Add libc directory.
11189 ($(inst_infodir)/libc.info): Install files from build dir.
11190
11191 * manual/install.texi (Configuring and compiling): Adjust since
11192 the info files are not part of the tar ball anymore.
11193
7ac77294
AJ
111942012-05-14 Andreas Jaeger <aj@suse.de>
11195
11196 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11197 variable.
11198
ffb7875d
JM
111992012-05-14 Joseph Myers <joseph@codesourcery.com>
11200
11201 [BZ #13717]
11202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11203 to 2.2.0 where earlier.
11204 * sysdeps/unix/sysv/linux/configure: Regenerated.
11205 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11206 Remove conditional code.
11207 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11208 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11209 Remove conditional code.
11210 [!__NR_lchown]: Likewise.
11211 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11212 [__NR_lchown]: Likewise.
11213 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11214 comment referencing __ASSUME_LCHOWN_SYSCALL.
11215 * sysdeps/unix/sysv/linux/i386/sigaction.c
11216 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11217 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11218 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11219 Remove conditional code.
11220 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11221 (__protocol_available): Remove #if 0 code.
11222 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11223 conditional code.
11224 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11225 * sysdeps/unix/sysv/linux/kernel-features.h
11226 (__ASSUME_GETCWD_SYSCALL): Don't define.
11227 (__ASSUME_REALTIME_SIGNALS): Likewise.
11228 (__ASSUME_PREAD_SYSCALL): Likewise.
11229 (__ASSUME_PWRITE_SYSCALL): Likewise.
11230 (__ASSUME_POLL_SYSCALL): Likewise.
11231 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11232 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11233 non-SPARC.
11234 (__ASSUME_SIOCGIFNAME): Don't define.
11235 (__ASSUME_MSG_NOSIGNAL): Likewise.
11236 (__ASSUME_SENDFILE): Define unconditionally.
11237 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11238 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11239 conditional code.
11240 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11241 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11242 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11243 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11244 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11245 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11246 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11271 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11272 Remove conditional code.
11273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11274 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11275 Remove conditional code.
11276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11277 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11278 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11279 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11280 Remove conditional code.
11281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11282 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11283 Remove conditional code.
11284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11285 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11286 Remove conditional code.
11287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11288 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11289 Remove conditional code.
11290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11291 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11292 Remove conditional code.
11293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11294 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11297 * sysdeps/unix/sysv/linux/sigaction.c
11298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11300 * sysdeps/unix/sysv/linux/sigpending.c
11301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11303 * sysdeps/unix/sysv/linux/sigprocmask.c
11304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11306 * sysdeps/unix/sysv/linux/sigsuspend.c
11307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11310 (__libc_missing_rt_sigs): Remove.
11311 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11312 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11313 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11314 Remove conditional code.
11315 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11316 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11317 return 1.
11318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11319 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11320 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11321 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11322
1bfb7291
AJ
113232012-05-14 Andreas Jaeger <aj@suse.de>
11324
caae5a81
AJ
11325 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11326 it's not used in glibc.
11327 (__coshm1): Likewise.
11328 (__acosh1p): Likewise.
11329 (__sgn): Likewise.
11330
1bfb7291
AJ
11331 * manual/string.texi (Copying and Concatenation): Add missing
11332 variable in concat example.
11333 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11334
c044d724
L
113352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11336
144c5467 11337 [BZ #14103]
c044d724
L
11338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11339 __builtin_clzl with __builtin_clzll.
11340
2523c62b
L
113412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 [BZ #14104]
11344 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11345 libc_freeres_ptr.
11346
d7bb4c42
LD
113472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11348
11349 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11350 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11351 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11352 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11353
9dc4e1fb
MF
113542012-05-14 Mike Frysinger <vapier@gentoo.org>
11355
11356 * NEWS: Update ia64 info.
11357
c7df0112
AS
113582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11359
11360 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11361 used as bcopy.
11362
dc70356c
TS
113632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11364
11365 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11366 * sysdeps/unix/syscalls.list (dup3): Likewise.
11367 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11368 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11369
9fb1a21f
L
113702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11373 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11374
4822a2a5
L
113752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11376
11377 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11378 thread pointer.
11379 (TLS_IE): Use mov/add instead of movq/addq to load thread
11380 pointer.
11381 (TLS_GD_PREFIX): New.
11382 (TLS_GD): Use it.
11383
842b81d6
DM
113842012-05-11 David S. Miller <davem@davemloft.net>
11385
11386 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11387 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11388 (_FPU_SETCW): Likewise.
11389
1cf463cd
L
113902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11393 is 32-byte aligned.
11394
60cc4a18
AS
113952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11396
11397 [BZ #11837]
11398 * iconvdata/gb18030.c: Update tables.
11399 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11400 characters specially.
11401 (BODY for TO_LOOP): Add encoding of missing ranges.
11402
febb44a4
TS
114032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11404
11405 [BZ #13673]
11406 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11407 * sysdeps/mach/hurd/dup3.c: Likewise.
11408 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11409 * sysdeps/powerpc/memmove.c:: Likewise.
11410
0a10fb9e
L
114112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11412
11413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11414 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11415
df8a552f
L
114162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * elf/elf.h (R_X86_64_RELATIVE64): New.
11419 (R_X86_64_NUM): Updated.
11420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11421 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11422 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11423 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11424 tst-quad1pie tst-quad2pie
11425 (modules-names): Add tst-quadmod1 tst-quadmod2.
11426 ($(objpfx)tst-quad1): New dependency.
11427 ($(objpfx)tst-quad2): Likewise.
11428 ($(objpfx)tst-quad1pie): Likewise.
11429 ($(objpfx)tst-quad2pie): Likewise.
11430 * sysdeps/x86_64/tst-quad1.c: New file.
11431 * sysdeps/x86_64/tst-quad1pie.c: New file.
11432 * sysdeps/x86_64/tst-quad2.c: Likewise.
11433 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11434 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11435 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11436 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11437 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11438
f34d6f84
ST
114392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11440
f42d41d1
ST
11441 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11442 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11443 * streams/stropts.h (t_scalar_t): Define type.
11444
3c3571fc
ST
11445 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11446 (_PATH_PRESERVE): Set to "/var/lib".
11447 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11448
61f06bd3
ST
11449 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11450 instead of int.
11451
918d4d71
ST
11452 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11453 if __dir_mkfile succeeded.
11454
f34d6f84
ST
11455 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11456 checking for _hurd_dtablesize. Unlock it right after having
11457 finished _hurd_dtable allocation.
11458
10589b4a
TS
114592012-05-10 Thomas Schwinge <thomas@schwinge.name>
11460
674cdbc7
TS
11461 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11462 * sysdeps/mach/hurd/configure: Regenerated.
11463 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11464 special-casing to...
11465 * sysdeps/gnu/configure.in: ... this new file.
11466 * sysdeps/unix/sysv/linux/configure: Regenerated.
11467 * sysdeps/gnu/configure: New generated file.
11468
8e41b99f
TS
11469 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11470 for Linux: use nsec instead of usec, as well as:
11471 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11472 members of type struct timespec.
11473 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11474 New macros.
11475 (struct stat64): Likewise.
11476 (_STATBUF_ST_NSEC): New macro.
11477 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11478
10589b4a
TS
11479 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11480 __strtoul_internal rather than strtoul.
11481
63643c85
PT
114822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11483
11484 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11485 and reject them.
11486
3faebe6a
ST
114872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11488
11489 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11490 which preserves existing values.
11491 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11492
c6474b07
PT
114932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11494
11495 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11496 TIMEOUT values. Return EINVAL for NFDS values either negative or
11497 greater than FD_SETSIZE.
11498
1043890b
ST
114992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11500
11501 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11502 allocated, call __vm_protect to finish enabling the existing space, and
11503 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11504 allocate the remainder.
11505
37ed8b9b
PT
115062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11507
11508 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11509 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11510
db653660
ST
115112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11512
37ed8b9b
PT
11513 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11514 sysdeps/mach/hurd/readlink.c.
b29d4053 11515
db653660
ST
11516 * posix/tst-sysconf.c (posix_options): Only use
11517 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11518 _POSIX_SYNCHRONIZED_IO when they are defined
11519 * sysdeps/mach/hurd/bits/posix_opt.h:
11520 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11521 (_XOPEN_REALTIME): Undefine macro.
11522 (_XOPEN_REALTIME_THREADS): Undefine macro.
11523 (_XOPEN_SHM): Undefine macro.
11524 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11525 macro to -1.
11526 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11527 macro to -1.
11528 (_POSIX_ASYNC_IO): Undefine macro.
11529 (_POSIX_PRIORITIZED_IO): Undefine macro.
11530 (_POSIX_SPIN_LOCKS): Define macro to -1.
11531
ee16e894
ST
11532 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11533 SA_NODEFER, SA_RESETHAND.
11534 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11535 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11536 F_DUPFD_CLOEXEC.
11537
6103ae3b
TS
115382012-05-10 Thomas Schwinge <thomas@schwinge.name>
11539
11540 * elf/Makefile (pldd-modules): Define unconditionally.
11541
80b4e5f3
TS
115422012-05-10 Thomas Schwinge <thomas@schwinge.name>
11543
11544 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11545
edadcbd6
ST
115462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11547
11548 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11549 Return ENOENT when name is empty.
11550 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11551
80694780
TS
115522012-05-10 Thomas Schwinge <thomas@schwinge.name>
11553
1792c087
TS
11554 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11555
80694780
TS
11556 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11557
6b645f0d
ST
115582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11559
80694780
TS
11560 Fix mlock in all cases except non-readable pages.
11561 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11562 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11563
6b645f0d
ST
11564 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11565 (__mkdir): When path is `/', just fail with EEXIST.
11566 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11567
e468f8a3
TS
115682012-05-10 Thomas Schwinge <thomas@schwinge.name>
11569
11570 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11571 <sys/uio.h> (for writev).
11572 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11573 and <sys/param.h> (for MIN).
11574
a4186cff
PT
115752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11576
11577 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11578 REQUESTED_TIME. Properly set the remaining time and return EINTR
11579 if interrupted.
11580
510bbf14
TS
115812012-05-10 Thomas Schwinge <thomas@schwinge.name>
11582
11583 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11584 Depend on against $(link-rpcuserlibs).
11585
5d5722e8
ST
115862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11587
a4186cff
PT
11588 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11589 (__libc_stack_end): Do not use attribute_relro.
11590 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11591 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11592 to libthread-provided value.
a4186cff
PT
11593 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11594 attribute_relro.
5d5722e8 11595
37233df9
TS
115962012-05-10 Thomas Schwinge <thomas@schwinge.name>
11597
be971a2b
TS
11598 [BZ #3748]
11599 * bits/libc-lock.h (__libc_once_get): New macro.
11600 * sysdeps/mach/bits/libc-lock.h: Likewise.
11601 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11603 instead of using implementation details.
11604
37233df9
TS
11605 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11606 * libio/freopen.c: Likewise.
11607 * libio/freopen64.c: Likewise.
11608 * misc/syslog.c: Likewise.
11609 * nscd/connections.c: Likewise.
11610 * nscd/netgroupcache.c: Likewise.
11611 * sysdeps/posix/getcwd.c: Likewise.
11612
38de94a5
RM
116132012-05-10 Roland McGrath <roland@hack.frob.com>
11614
11615 * math/w_ilogbf.c: Add #include <limits.h>.
11616
67530489
ST
116172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11618
a4186cff 11619 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11620 path instead of returning without unlocking.
11621
67530489
ST
11622 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11623 immediate-write ioctls.
11624 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11625
5aa3a74a
TS
116262012-05-10 Thomas Schwinge <thomas@schwinge.name>
11627
18bad2ae
TS
11628 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11629 __builtin_frame_address instead of making assumptions about the
11630 location of the return address relative to DATA. Force early load of
11631 the return address.
11632 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11633 __builtin_frame_address.
11634
5aa3a74a
TS
11635 dup3 for GNU Hurd.
11636 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11637 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11638 implement dup3 and do some further code clean-ups.
11639 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11640 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11641
ecd0de9a
ST
116422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11643
cd9fa985
ST
11644 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11645
a4186cff
PT
11646 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11647 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11648 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11649 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11650 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11651 d->port.lock.
802ca5a5 11652
a4186cff
PT
11653 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11654 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11655 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11656
bcf55240
TS
116572012-05-10 Thomas Schwinge <thomas@schwinge.name>
11658
6960eb42
TS
11659 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11660 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11661 definitions.
11662
eb43375f
TS
11663 accept4 for GNU Hurd.
11664 * include/sys/socket.h (__libc_accept4): New prototype.
11665 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11666 to implement __libc_accept4.
11667 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11668 __libc_accept4.
11669 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11670
bcf55240
TS
11671 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11672 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11673 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11674 signal-defines.sym.
11675
6178c55b
ST
116762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11677
a4186cff 11678 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11679
6f080c2f
TS
116802012-05-10 Thomas Schwinge <thomas@schwinge.name>
11681
11682 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11683 assertion on O_CLOEXEC flag.
11684 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11685 * hurd/intern-fd.c: Likewise.
11686 * hurd/port2fd.c: Likewise.
11687
bcfe3a54
ST
116882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11689
11690 [BZ #3906]
11691 * bits/in.h (IPV6_PKTINFO): Define new macro.
11692 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11693
89c9aa49
AZ
116942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11695
11696 [BZ #13954]
11697 [BZ #13955]
11698 [BZ #13956]
11699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11701 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11702 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11704 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11705 * math/libm-test.inc (logb_test) : Additional logb tests.
11706
021db4be
AJ
117072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11708 Andreas Jaeger <aj@suse.de>
11709
11710 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11711 * configure: Regenerated.
11712 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11713 * config.make.in (link-obsolete-rpc): New substituted variable.
11714 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11715 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11716 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11717 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11718 so that libc.a contains the symbols.
11719 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11720 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11721 * sunrpc/auth_none.c: Likewise.
11722 * sunrpc/auth_unix.c: Likewise.
11723 * sunrpc/authdes_prot.c: Likewise.
11724 * sunrpc/authuxprot.c: Likewise.
11725 * sunrpc/clnt_gen.c: Likewise.
11726 * sunrpc/clnt_perr.c: Likewise.
11727 * sunrpc/clnt_raw.c: Likewise.
11728 * sunrpc/clnt_simp.c: Likewise.
11729 * sunrpc/clnt_tcp.c: Likewise.
11730 * sunrpc/clnt_udp.c: Likewise.
11731 * sunrpc/clnt_unix.c: Likewise.
11732 * sunrpc/des_crypt.c: Likewise.
11733 * sunrpc/des_soft.c: Likewise.
11734 * sunrpc/get_myaddr.c: Likewise.
11735 * sunrpc/key_call.c: Likewise.
11736 * sunrpc/key_prot.c: Likewise.
11737 * sunrpc/netname.c: Likewise.
11738 * sunrpc/pm_getmaps.c: Likewise.
11739 * sunrpc/pm_getport.c: Likewise.
11740 * sunrpc/pmap_clnt.c: Likewise.
11741 * sunrpc/pmap_prot.c: Likewise.
11742 * sunrpc/pmap_prot2.c: Likewise.
11743 * sunrpc/pmap_rmt.c: Likewise.
11744 * sunrpc/publickey.c: Likewise.
11745 * sunrpc/rpc_cmsg.c: Likewise.
11746 * sunrpc/rpc_common.c: Likewise.
11747 * sunrpc/rpc_dtable.c: Likewise.
11748 * sunrpc/rpc_prot.c: Likewise.
11749 * sunrpc/rpc_thread.c: Likewise.
11750 * sunrpc/rtime.c: Likewise.
11751 * sunrpc/svc.c: Likewise.
11752 * sunrpc/svc_auth.c: Likewise.
11753 * sunrpc/svc_raw.c: Likewise.
11754 * sunrpc/svc_run.c: Likewise.
11755 * sunrpc/svc_tcp.c: Likewise.
11756 * sunrpc/svc_udp.c: Likewise.
11757 * sunrpc/svc_unix.c: Likewise.
11758 * sunrpc/svcauth_des.c: Likewise.
11759 * sunrpc/xcrypt.c: Likewise.
11760 * sunrpc/xdr.c: Likewise.
11761 * sunrpc/xdr_array.c: Likewise.
11762 * sunrpc/xdr_float.c: Likewise.
11763 * sunrpc/xdr_intXX_t.c: Likewise.
11764 * sunrpc/xdr_mem.c: Likewise.
11765 * sunrpc/xdr_rec.c: Likewise.
11766 * sunrpc/xdr_ref.c: Likewise.
11767 * sunrpc/xdr_sizeof.c: Likewise.
11768 * sunrpc/xdr_stdio.c: Likewise.
11769
b5c086a2
RM
117702012-05-10 Roland McGrath <roland@hack.frob.com>
11771
11772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11773 change. Update copyright years.
11774
6d74dd09
JM
117752012-05-10 Joseph Myers <joseph@codesourcery.com>
11776
11777 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11778
28e72501
MK
117792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11780 Joseph Myers <joseph@codesourcery.com>
11781 Paul Pluzhnikov <ppluzhnikov@google.com>
11782
11783 [BZ #14012]
11784 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11785 requiring rpcgen.
11786 [cross-compiling] (extra-libs): Likewise.
11787 [cross-compiling] (extra-libs-others): Likewise.
11788 [cross-compiling] (librpcsvc-routines): Likewise.
11789 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11790 [cross-compiling] (omit-deps): Likewise.
11791 (sunrpc-CPPFLAGS): New variable.
11792 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11793 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11794 (cross-rpcgen-objs): New variable.
11795 (extra-objs): Append $(cross-rpcgen-objs).
11796 ($(cross-rpcgen-objs)): New rule.
11797 ($(objpfx)cross-rpcgen): Likewise.
11798 (rpcgen-cmd): Define to use $(built-program-file). Expand
11799 comment.
11800 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11801 ($(objpfx)x%.stmp): Likewise.
11802 * sunrpc/proto.h [IS_IN_build] (_): Define.
11803 [IS_IN_build] (_libc_intl_domainname): Likewise.
11804
c8c59454
L
118052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11808 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11809 and R_X86_64_TPOFF64.
11810
6f27cd16
JM
118112012-05-10 Joseph Myers <joseph@codesourcery.com>
11812
11813 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11814 sysdeps/unix/sysv/syscalls.list.
11815 (stime): Likewise.
11816 (utime): Likewise.
11817 * sysdeps/unix/sysv/syscalls.list: Remove file.
11818
02467e1c
PE
118192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11820
11821 [BZ #3440]
11822 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11823 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11824 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11825 (__LC_IDENTIFICATION): Make these macros useful in #if
11826 expressions, as required by C99.
11827
da392631
AS
118282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11829
11830 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11831 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11832 after this.
11833
8115f29b
L
118342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * stdlib/longlong.h: Updated from GCC.
11837
bdd74070
AJ
118382012-05-09 Andreas Jaeger <aj@suse.de>
11839
edfe0dbe
AJ
11840 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11841 default is first entry.
11842 (run_mode): Set type.
11843 (main): Remove informal message about syslog.
11844 (options): Fix typo.
11845
bcfe3a54
ST
11846 [BZ #14053]
11847 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11848 to asm.
bcfe3a54
ST
11849 (lrint): Likewise.
11850 (llrintf): Likewise.
11851 (llrint): Likewise.
11852 (rint): Likewise.
11853 (rintf): Likewise.
11854 (nearbyint): Likewise.
11855 (nearbyintf): Likewise.
bdd74070 11856
91d8d69e
AJ
118572012-05-09 Andreas Jaeger <aj@suse.de>
11858 Pedro Alves <palves@redhat.com>
11859
11860 * nscd/nscd.c (run_mode): Use enum.
11861 (main): Cleanup coding style issue.
11862
bb90b80b
AJ
118632012-05-09 Alexandre Oliva <aoliva@redhat.com>
11864 Andreas Jaeger <aj@suse.de>
11865
bcfe3a54
ST
11866 * nscd/nscd.c (go_background): Replaced with...
11867 (run_mode): ... this.
bb90b80b 11868 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11869 (options): Add -F --foreground.
11870 (main): Implement it.
11871 (parse_opt): Parse it.
bb90b80b 11872
1a4b75a1
AJ
118732012-05-09 Andreas Jaeger <aj@suse.de>
11874
11875 [BZ #14083]
11876 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11877 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11878 -Wconversion warning.
11879 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11880 Likewise.
11881
b1cc2472
JM
118822012-05-09 Joseph Myers <joseph@codesourcery.com>
11883
11884 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11885 == 0.
11886 (LC_ALL): Use macro-int-constant.
11887 (LC_COLLATE): Likewise.
11888 (LC_CTYPE): Likewise.
11889 (LC_MESSAGES): Likewise.
11890 (LC_MONETARY): Likewise.
11891 (LC_NUMERIC): Likewise.
11892 (LC_TIME): Likewise.
11893 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11894 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11896 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11897 Specify type.
11898 [C99-based standards] (float_t): Expect type.
11899 [C99-based standards] (double_t): Expect type.
11900 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11901 type.
11902 [C99-based standards] (HUGE_VALL): Likewise.
11903 [C99-based standards] (INFINITY): Likewise.
11904 [C99-based standards] (NAN): Likewise.
11905 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11906 [C99-based standards] (FP_NAN): Likewise.
11907 [C99-based standards] (FP_NORMAL): Likewise.
11908 [C99-based standards] (FP_SUBNORMAL): Likewise.
11909 [C99-based standards] (FP_ZERO): Likewise.
11910 [C99-based standards] (FP_FAST_FMA): Use
11911 optional-macro-int-constant. Specify type. Require == 1.
11912 [C99-based standards] (FP_FAST_FMAF): Likewise.
11913 [C99-based standards] (FP_FAST_FMAL): Likewise.
11914 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11915 [C99-based standards] (FP_ILOGBNAN): Likewise.
11916 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11917 Specify type.
11918 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11919 [C99-based standards] (math_errhandling): Specify type.
11920 [ISO99 || ISO11] (signgam): Do not allow.
11921 [non-C99-based standards] (copysignf): Do not allow.
11922 [non-C99-based standards] (exp2f): Likewise.
11923 [non-C99-based standards] (log2f): Likewise.
11924 [non-C99-based standards] (modff): Allow.
11925 [non-C99-based standards] (erff): Do not allow.
11926 [non-C99-based standards] (erfcf): Likewise.
11927 [non-C99-based standards] (gammaf): Likewise.
11928 [non-C99-based standards] (hypotf): Likewise.
11929 [non-C99-based standards] (j0f): Likewise.
11930 [non-C99-based standards] (j1f): Likewise.
11931 [non-C99-based standards] (jnf): Likewise.
11932 [non-C99-based standards] (lgammaf): Likewise.
11933 [non-C99-based standards] (tgammaf): Likewise.
11934 [non-C99-based standards] (y0f): Likewise.
11935 [non-C99-based standards] (y1f): Likewise.
11936 [non-C99-based standards] (ynf): Likewise.
11937 [non-C99-based standards] (isnanf): Likewise.
11938 [non-C99-based standards] (acoshf): Likewise.
11939 [non-C99-based standards] (asinhf): Likewise.
11940 [non-C99-based standards] (atanhf): Likewise.
11941 [non-C99-based standards] (cbrtf): Likewise.
11942 [non-C99-based standards] (expm1f): Likewise.
11943 [non-C99-based standards] (ilogbf): Likewise.
11944 [non-C99-based standards] (log1pf): Likewise.
11945 [non-C99-based standards] (logbf): Likewise.
11946 [non-C99-based standards] (nextafterf): Likewise.
11947 [non-C99-based standards] (remainderf): Likewise.
11948 [non-C99-based standards] (rintf): Likewise.
11949 [non-C99-based standards] (scalbf): Likewise.
11950 [non-C99-based standards] (copysignl): Likewise.
11951 [non-C99-based standards] (exp2l): Likewise.
11952 [non-C99-based standards] (log2l): Likewise.
11953 [non-C99-based standards] (modfl): Allow.
11954 [non-C99-based standards] (erfl): Do not allow.
11955 [non-C99-based standards] (erfcl): Likewise.
11956 [non-C99-based standards] (gammal): Likewise.
11957 [non-C99-based standards] (hypotl): Likewise.
11958 [non-C99-based standards] (j0l): Likewise.
11959 [non-C99-based standards] (j1l): Likewise.
11960 [non-C99-based standards] (jnl): Likewise.
11961 [non-C99-based standards] (lgammal): Likewise.
11962 [non-C99-based standards] (tgammal): Likewise.
11963 [non-C99-based standards] (y0l): Likewise.
11964 [non-C99-based standards] (y1l): Likewise.
11965 [non-C99-based standards] (ynl): Likewise.
11966 [non-C99-based standards] (isnanl): Likewise.
11967 [non-C99-based standards] (acoshl): Likewise.
11968 [non-C99-based standards] (asinhl): Likewise.
11969 [non-C99-based standards] (atanhl): Likewise.
11970 [non-C99-based standards] (cbrtl): Likewise.
11971 [non-C99-based standards] (expm1l): Likewise.
11972 [non-C99-based standards] (ilogbl): Likewise.
11973 [non-C99-based standards] (log1pl): Likewise.
11974 [non-C99-based standards] (logbl): Likewise.
11975 [non-C99-based standards] (nextafterl): Likewise.
11976 [non-C99-based standards] (remainderl): Likewise.
11977 [non-C99-based standards] (rintl): Likewise.
11978 [non-C99-based standards] (scalbl): Likewise.
11979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11980 [non-C99-based standards] (FP_*): Do not allow.
11981 [C99-based standards] (FP_*): Change to
11982 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11983 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11984 allow.
11985 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11986 (SIG_ERR): Likewise.
11987 [X/Open-based standards] (SIG_HOLD): Likewise.
11988 (SIG_IGN): Likewise.
11989 (SIGABRT): Use macro-int-constant. Specify type. Require
11990 positive value.
11991 (SIGFPE): Likewise.
11992 (SIGILL): Likewise.
11993 (SIGINT): Likewise.
11994 (SIGSEGV): Likewise.
11995 (SIGTER): Likewise.
11996 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11997 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11998 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11999 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12000 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12001 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12002 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12003 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12004 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12005 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12006 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12007 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12008 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12009 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12010 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12011 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12012 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12013 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12014 [X/Open-based standards] (SIGTRAP): Likewise.
12015 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12016 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12017 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12018 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12019 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12020 allow.
12021
b9f1922d
IW
120222012-05-08 Ian Wienand <ianw@vmware.com>
12023
12024 [BZ #14080]
12025 * time/tzset.c (__tzset_parse_tz): Update default rules for
12026 daylight time changes in the Energy Policy Act of 2005.
12027
1db86e88
AJ
120282012-05-09 Andreas Jaeger <aj@suse.de>
12029
12030 [BZ #13983]
12031 * elf/ldconfig.c (parse_conf): Change string to make clear that
12032 ldconfig only issued a warning if ld.so.conf does not exist.
12033
dee4a4e3
DM
120342012-05-08 David S. Miller <davem@davemloft.net>
12035
ee0db190
DM
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12037 movxtod instead of popping the value on the stack.
12038
dee4a4e3
DM
12039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12040
6a43ec98
CD
120412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12042
12043 * config.h.in: Add HAVE_ARM_PCS_VFP.
12044
05c2c961
RMG
120452012-05-08 Roland Mc Grath <roland@hack.frob.com>
12046
bcfe3a54
ST
12047 [BZ #13979]
12048 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12049 checking but the checks are disabled for any reason.
05c2c961 12050
4b30f61a
L
120512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12054 and ELF64_R_TYPE with ELFW(R_TYPE).
12055
eee2bc67
JM
120562012-05-08 Joseph Myers <joseph@codesourcery.com>
12057
7ea5391a
JM
12058 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12059 (ulimit): Likewise.
12060
eee2bc67
JM
12061 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12062 (settimeofday): Likewise.
12063
abb66a67
MF
120642012-05-08 Mike Frysinger <vapier@gentoo.org>
12065
12066 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12067 a struct th_u2 inside the union, and move tu_block/tu_code into
12068 a new th_u3 union of tu_block/tu_code inside of that. Move
12069 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12070 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12071 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12072 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12073 (th_stuff): Change to th_u1.tu_stuff.
12074 (th_data): Define.
12075 (th_msg): Change to th_u1.th_u2.tu_data.
12076
7f18b530
DM
120772012-05-07 David S. Miller <davem@davemloft.net>
12078
05760585
DM
12079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12080
7f18b530
DM
12081 [BZ #14074]
12082 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12083 (SETUP_PIC_REG): Use it.
12084 (SETUP_PIC_REG_LEAF): Use it.
12085
495fd99f
JM
120862012-05-07 Joseph Myers <joseph@codesourcery.com>
12087
12088 [BZ #13885]
12089 [BZ #13923]
12090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12091 USE_AS_EXPM1L.
12092 (EXPL_FINITE): Likewise.
12093 (FLDLOG): Likewise.
12094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12095 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12096 e_expl.S.
12097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12098 USE_AS_EXPM1L.
12099 (EXPL_FINITE): Likewise.
12100 (FLDLOG): Likewise.
12101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12102 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12103 e_expl.S.
12104 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12105 test of -max_value argument for long double.
12106 * sysdeps/i386/fpu/libm-test-ulps: Update.
12107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
6693d694
DM
121092012-05-06 David S. Miller <davem@davemloft.net>
12110
12111 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12112 quad soft-float symbols whose references which are compiler
12113 generated.
12114 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12115
6c23e11c
JM
121162012-05-06 Joseph Myers <joseph@codesourcery.com>
12117
d8b82cad
JM
12118 [BZ #13884]
12119 [BZ #13914]
12120 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12121 USE_AS_EXP10L.
12122 (EXPL_FINITE): Likewise.
12123 (FLDLOG): Likewise.
12124 (c0): Likewise.
12125 (c1): Likewise.
12126 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12127 Adjust comments for base varying.
12128 (__expl_finite): Change alias to EXPL_FINITE.
12129 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12130 e_expl.S.
12131 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12132 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12134 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12136 USE_AS_EXP10L.
12137 (EXPL_FINITE): Likewise.
12138 (FLDLOG): Likewise.
12139 (c0): Likewise.
12140 (c1): Likewise.
12141 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12142 Adjust comments for base varying.
12143 (__expl_finite): Change alias to EXPL_FINITE.
12144 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12145 tests for bugs.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12147
6c23e11c
JM
12148 [BZ #14064]
12149 * math/libm-test.inc (check_float_internal): Correct ulp
12150 calculation for subnormal expected results.
12151
29ba805c
AJ
121522012-05-06 Andreas Jaeger <aj@suse.de>
12153
12154 * Makeconfig (+math-flags): New, set to -frounding-math.
12155 (+cflags): Add +math-flags so that all of glibc gets compiled with
12156 it.
12157
12158 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12159
7b17aeda
JM
121602012-05-05 Joseph Myers <joseph@codesourcery.com>
12161
5779f134
JM
12162 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12163 Disable one test.
12164
41498f4d
JM
12165 [BZ #13787]
12166 [BZ #13922]
12167 [BZ #14036]
12168 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12169 (__ieee754_expl): Allow for and saturate large arguments.
12170 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12171 (u_threshold): Likewise.
12172 (__exp): Call __ieee754_exp before checking for overflow and
12173 underflow.
12174 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12175 (u_threshold): Likewise.
12176 (__expf): Call __ieee754_expf before checking for overflow and
12177 underflow.
12178 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12179 (u_threshold): Likewise.
12180 (__expl): Call __ieee754_expl before checking for overflow and
12181 underflow.
12182 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12183 (__ieee754_expl): Allow for and saturate large arguments.
12184 * math/libm-test.inc (exp_test): Add another test. Do not allow
12185 missing overflow exception on overflow.
12186 (expm1_test): Do not allow missing overflow exception on overflow.
12187
6698b8bf
JM
12188 * sysdeps/i386/fpu/e_expl.c: Move to ...
12189 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12190 rather than using inline asm.
12191 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12192 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12193 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12194
7b17aeda
JM
12195 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12196 (nice): Likewise.
12197 (poll): Likewise.
12198 (signal): Likewise.
12199 (time): Likewise.
12200 (times): Likewise.
12201
f7c85819
JM
122022012-05-04 Joseph Myers <joseph@codesourcery.com>
12203
12204 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12205 sysdeps/unix/common/syscalls.list.
12206 (fchmod): Likewise.
12207 (fchown): Likewise.
12208 (ftruncate): Likewise.
12209 (getrusage): Likewise.
12210 (gettimeofday): Likewise.
12211 (setpgid): Likewise.
12212 (setregid): Likewise.
12213 (setreuid): Likewise.
12214 (sigaction): Likewise.
12215 (truncate): Likewise.
12216 (vhangup): Likewise.
12217 * sysdeps/unix/common/syscalls.list: Remove file.
12218 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12219 * sysdeps/unix/sysv/linux/Implies: Likewise.
12220
336270d0
L
122212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12225 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12226 Moved to ...
12227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12228 Here.
12229 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12230 to ...
12231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12232 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12233 to ...
12234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12235 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12236 to ...
12237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12239 to ...
12240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12241 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12242 to ...
12243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12244 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12245 to ...
12246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12247 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12248 to ...
12249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12250 Here.
12251 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12252 to ...
12253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12254 Here.
12255 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12256 to ...
12257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12258 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12259 Moved to ...
12260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12261 Here.
12262 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12263 to ...
12264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12265
d128e450
JM
122662012-05-04 Joseph Myers <joseph@codesourcery.com>
12267
fa8ee516
JM
12268 * sysdeps/unix/common/bits/dirent.h: Remove file.
12269 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12270
d128e450
JM
12271 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12272 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12273 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12274 * sysdeps/unix/bsd/isatty.c: Likewise.
12275 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12276 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12277 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12278
ff8faaf0 122792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12280
62881be4 12281 [BZ #13563]
31dc8730
AZ
12282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12283 long double comparison inaccuracies.
12284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12286
6fef930c
AS
122872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12291
8f203e6c
JM
122922012-05-04 Joseph Myers <joseph@codesourcery.com>
12293
12294 [BZ #14049]
12295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12296 nonzero digits before rounding a hex value.
12297 * stdlib/tst-strtod.c (tests): Add another test.
12298
5197d9c2
AK
122992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12300
12301 * sysdeps/s390/fpu/libm-test-ulps: Update.
12302
f0c1dedf
AJ
123032012-05-03 Andreas Jaeger <aj@suse.de>
12304
12305 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12306 does not get optimized out.
12307 (malloc_opt_barrier): New.
12308
a65ef2ae 123092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12310 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12311
2b942cb7 12312 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12313 intermediate file deletion.
2b942cb7 12314 (generated): Add .symlist files.
a65ef2ae 12315
54b71e02
JM
123162012-05-03 Joseph Myers <joseph@codesourcery.com>
12317
12318 [BZ #13775]
12319 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12320 Redirect under this condition.
12321 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12322 [__USE_GNU] (__dprintf_chk): Not under this condition.
12323 [__USE_GNU] (__vdprintf_chk): Likewise.
12324 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12325 under this condition.
12326 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12327 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12328 [__USE_XOPEN2K8] (vdprintf): Likewise.
12329 [__USE_GNU] (__dprintf_chk): Not under this condition.
12330 [__USE_GNU] (__vdprintf_chk): Likewise.
12331 [__USE_GNU] (dprintf): Likewise.
12332 [__USE_GNU] (vdprintf): Likewise.
12333
d3dfcc41
RM
123342012-05-03 Roland McGrath <roland@hack.frob.com>
12335
12336 * elf/Makefile (common-generated): Set this instead of generated for
12337 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12338 $(all-built-dso)-derived lists.
12339
7ac30cc5
AJ
123402012-05-03 Andreas Jaeger <aj@suse.de>
12341
0c51e550
AJ
12342 * sysdeps/i386/fpu/libm-test-ulps: Update.
12343
7ac30cc5
AJ
12344 * FAQ: Removed.
12345 * FAQ.in: Likewise.
12346 * scripts/gen-FAQ.pl: Likewise.
12347 * manual/install.texi (Installation): Point to online location of
12348 FAQ.
12349 * Makefile (files-for-dist): Remove FAQ.
12350 (FAQ): Remove.
12351
d4c2917f
AM
123522012-05-02 Allan McRae <allan@archlinux.org>
12353
12354 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12355 (LDFLAGS-reldepmod5.so): Likewise.
12356 (LDFLAGS-reldep6mod1.so): Likewise.
12357 (LDFLAGS-reldep6mod4.so): Likewise.
12358 (LDFLAGS-reldep8mod3.so): Likewise.
12359 (LDFLAGS-unload4mod1.so): Likewise.
12360 (LDFLAGS-unload4mod2.so): Likewise.
12361 (LDFLAGS-tst-initorder): Likewise.
12362 (LDFLAGS-tst-initordera2.so): Likewise.
12363 (LDFLAGS-tst-initordera3.so): Likewise.
12364 (LDFLAGS-tst-initordera4.so): Likewise.
12365 (LDFLAGS-tst-initorderb2.so): Likewise.
12366 (LDFLAGS-noload): Likewise.
12367 (LDFLAGS-next): Likewise.
12368 (LDFLAGS-order2mod1.so): Likewise.
12369 (LDFLAGS-order2mod2.so): Likewise.
12370 (LDFLAGS-tst-initorder2): Likewise.
12371 (LDFLAGS-tst-initorder2a.so): Likewise.
12372 (LDFLAGS-tst-initorder2b.so): Likewise.
12373 (LDFLAGS-tst-initorder2c.so): Likewise.
12374 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12375
d77f993f
DM
123762012-05-02 David S. Miller <davem@davemloft.net>
12377
12378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12379
171a70b4
PP
123802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12381
12382 [BZ #14055]
12383 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12384
0be196ad
AJ
123852012-05-02 Andreas Jaeger <aj@suse.de>
12386
12387 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12388 since we manipulate rounding mode.
12389 (CPPFLAGS-test-idouble.c): Likewise.
12390 (CPPFLAGS-test-ifloat.c): Likewise.
12391 (CFLAGS-test-ldouble.c): Likewise.
12392 (CFLAGS-test-double.c): Likewise.
12393 (CFLAGS-test-float.c): Likewise.
12394 (CFLAGS-test-misc.c): Likewise.
12395 (CFLAGS-test-test-fenv.c): Likewise.
12396
4f9d04aa
AZ
123972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12398
2b942cb7
RM
12399 [BZ #2550]
12400 [BZ #2570]
12401 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12402 comparisons to determine direction to adjust input.
4f9d04aa 12403
82a79e7d
RM
124042012-05-01 Roland McGrath <roland@hack.frob.com>
12405
f5a01ca9
RM
12406 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12407 output to the target.
12408
90fe4186
RM
12409 * scripts/localplt.awk: New file.
12410 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12411 (check-localplt-CFLAGS): Variable removed.
12412 ($(all-built-dso:=.jmprel)): New static pattern rule.
12413 (generated): Add those targets.
12414 (localplt-built-dso): New variable.
12415 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12416
12417 * elf/check-localplt.c: File removed.
12418
82397ed6
RM
12419 * scripts/check-execstack.awk: New file.
12420 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12421 (check-execstack-CFLAGS): Variable removed.
12422 ($(objpfx)check-execstack.h): Target removed.
12423 ($(objpfx)execstack-default): New target.
12424 (generated): Add that instead of check-execstack.h.
12425 ($(all-built-dso:=.phdr)): New static pattern rule.
12426 (generated): Add those targets.
12427 * elf/check-execstack.c: File removed.
12428
82a79e7d
RM
12429 * scripts/check-textrel.awk: New file.
12430 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12431 (check-textrel-CFLAGS): Variable removed.
12432 (all-built-dso): Use := to define.o
12433 ($(all-built-dso:=.dyn)): New static pattern rule.
12434 (generated): Add those targets.
12435 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12436 * config.make.in (READELF): New substituted variable.
12437 * elf/check-textrel.c: File removed.
12438
62fde54f 124392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12440
615605c9
JM
12441 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12442 allow.
12443 * conform/data/ctype.h-data [C99-based standards] (isblank):
12444 Expect function.
12445 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12446 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12448 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12449 Specify type. Require positive value.
12450 (EILSEQ): Likewise.
12451 (ERANGE): Likewise.
12452 [ISO || POSIX] (EILSEQ): Do not expect.
12453 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12454 Specify type. Require positive value.
12455 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12456 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12457 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12458 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12459 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12460 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12461 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12462 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12463 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12464 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12465 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12466 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12467 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12468 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12469 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12470 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12471 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12472 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12473 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12474 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12475 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12476 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12477 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12478 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12479 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12480 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12481 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12482 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12483 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12484 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12485 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12486 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12487 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12488 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12489 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12490 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12491 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12492 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12493 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12494 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12495 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12496 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12497 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12498 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12499 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12500 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12501 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12502 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12503 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12504 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12505 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12506 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12507 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12508 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12509 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12510 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12511 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12512 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12513 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12514 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12515 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12516 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12523 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12524 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12525 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12529 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12530 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12531 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12532 Require >= 2.
12533 (FLT_ROUNDS): Expect as macro, not constant.
12534 (FLT_MANT_DIG): Use macro-int-constant.
12535 (DBL_MANT_DIG): Likewise.
12536 (LDBL_MANT_DIG): Likewise.
12537 (FLT_DIG): Likewise.
12538 (DBL_DIG): Likewise.
12539 (LDBL_DIG): Likewise.
12540 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12541 (DBL_MIN_EXP): Likewise.
12542 (LDBL_MIN_EXP): Likewise.
12543 (FLT_MAX_EXP): Use macro-int-constant.
12544 (DBL_MAX_EXP): Likewise.
12545 (LDBL_MAX_EXP): Likewise.
12546 (FLT_MAX_10_EXP): Likewise.
12547 (DBL_MAX_10_EXP): Likewise.
12548 (LDBL_MAX_10_EXP): Likewise.
12549 (FLT_MAX): Use macro-constant.
12550 (DBL_MAX): Likewise.
12551 (LDBL_MAX): Likewise.
12552 (FLT_EPSILON): Use macro-constant. Give upper bound.
12553 (DBL_EPSILON): Likewise.
12554 (LDBL_EPSILON): Likewise.
12555 (FLT_MIN): Likewise.
12556 (DBL_MIN): Likewise.
12557 (LDBL_MIN): Likewise.
12558 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12559 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12560 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12561 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12562 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12563 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12564 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12565 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12566 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12567 [ISO11] (FLT_TRUE_MIN): Likewise.
12568 [ISO11] (LDBL_TRUE_MIN): Likewise.
12569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12570 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12571 (SCHAR_MIN): Use macro-int-constant. Specify type.
12572 (SCHAR_MAX): Likewise.
12573 (UCHAR_MAX): Likewise.
12574 (CHAR_MIN): Likewise.
12575 (CHAR_MAX): Likewise.
12576 (MB_LEN_MAX): Use macro-int-constant.
12577 (SHRT_MIN): Use macro-int-constant. Specify type.
12578 (SHRT_MAX): Likewise.
12579 (USHRT_MAX): Likewise.
12580 (INT_MAX): Likewise.
12581 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12582 bound negative.
12583 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12584 bound with "U".
12585 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12586 bound with "L".
12587 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12588 bound negative. Suffix upper bound with "L".
12589 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12590 bound with "UL".
12591 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12592 Specify type.
12593 [C99-based standards] (LLONG_MAX): Likewise.
12594 [C99-based standards] (ULLONG_MAX): Likewise.
12595 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12596 == 0.
12597 [ISO11] (max_align_t): Require type.
12598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12599
c9140a62
JM
12600 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12601 from $CFLAGS, without defining away __attribute__ calls.
12602 (checknamespace): Use $CFLAGS_namespace.
12603
9af0bf29
JM
12604 * conform/conformtest.pl (@keywords): Only include C99 keywords
12605 for standards based on C99 or C11.
12606
343222a2
JM
12607 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12608 Disable tests.
12609 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12610 UNIX98]: Likewise.
12611
661f8cf0
JM
12612 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12613 usability of symbols in #if.
12614
ee74b9cb
JM
12615 * conform/conformtest.pl: If macro or constant types start
12616 "promoted:", expect the symbol to be of the following type
12617 promoted by the integer promotions.
62fde54f 12618
aafc49b3
JM
12619 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12620 in one place. Also handle "macro-constant".
12621
fefdf574
JM
12622 * conform/conformtest.pl: Only accept expected macro values with
12623 "==". Parse all "macro" lines in one place.
12624 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12625
f2d922fe
JM
12626 * conform/conformtest.pl: Handle braced types on "constant" lines
12627 instead of handling "typed-constant".
12628 * conform/data/signal.h-data: Use "constant" instead of
12629 "typed-constant".
12630
d22956c9
JM
12631 * conform/conformtest.pl: Handle "optional-" at start of lines in
12632 one place rather than duplicating several cases. Handle each
12633 format of "macro" line with initial "optional-".
12634
028e2e38
JM
12635 * conform/conformtest.pl: Only accept expected constant or
12636 optional-constant values with "==". Parse all "constant" lines in
12637 one place. Parse all "optional-constant" lines in one place.
12638 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12639 * conform/data/fmtmsg.h-data: Likewise.
12640 * conform/data/netinet/in.h-data: Likewise.
12641 * conform/data/tar.h-data: Likewise.
12642 * conform/data/limits.h-data: Use "==" form on "constant" and
12643 "optional-constant" lines.
12644
1b8f2850
JM
12645 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12646 Use -std=c99 for XOPEN2K.
12647 (@knownproblems): Remove.
12648 (newtoken): Don't check %isknown.
12649
a05a144b
JM
12650 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12651 Do not expect macro.
12652 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12664 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12665 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12682 [XPG3] (acosh): Likewise.
12683 [XPG3] (asinh): Likewise.
12684 [XPG3] (atanh): Likewise.
12685 [XPG3] (cbrt): Likewise.
12686 [XPG3] (expm1): Likewise.
12687 [XPG3] (ilogb): Likewise.
12688 [XPG3] (log1p): Likewise.
12689 [XPG3] (logb): Likewise.
12690 [XPG3] (nextafter): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12693 [XPG3] (remainder): Likewise.
12694 [XPG3] (rint): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12702 [UNIX98 || XOPEN2K] (scalb): Expect.
12703 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12704 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12706 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12707 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12708 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12709 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12710 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12711 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12712 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12713 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12714 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12715 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12716 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12717 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12718 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12719 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12720 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12721 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12722 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12723 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12724 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12725 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12726 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12727 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12728 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12729 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12730 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12731 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12732 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12733 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12734 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12735 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12736 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12737 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12738 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12739 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12740 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12741 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12742 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12743 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12744 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12745 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12746 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12747 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12748 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12749 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12750 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12751 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12752 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12753 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12754 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12755 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12756 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12757 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12758 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12759 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12760 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12761 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12762 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12763 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12764 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12765 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12766 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12767 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12768 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12769 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12770 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12771 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12772 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12773 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12774 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12775 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12776 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12777 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12778 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12779 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12780 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12781 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12782 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12783 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12784 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12785 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12786 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12787 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12788 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12789 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12790 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12791 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12792 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12793 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12794 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12795 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12796 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12797 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12798 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12799 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12800 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12801 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12802 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12803 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12804 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12805 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12806 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12807 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12808 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12809 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12810 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12811 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12812 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12813 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12814 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12815 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12816 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12817 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12818 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12819 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12820 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12821 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12822 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12823 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12824 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12825 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12826 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12827 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12828 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12829 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12830 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12831 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12832 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12833 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12834 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12835 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12836 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12837 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12838 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12839 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12840
73c5ebe3
JM
12841 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12842 _XOPEN_SOURCE_EXTENDED for XPG4.
12843
39c33b6c
JM
12844 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12845
62fde54f
JM
12846 * Makeconfig (localtime): Remove variable.
12847 (inst_localtime-file): Likewise.
12848
0741d64c
AS
128492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12850
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12852 Update.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12854 Update.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12856 Update.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12858 Update.
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12860 Update.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12862 Update.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12864 Update.
12865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12866 Update.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12868 Update.
12869
7cb029ee
JM
128702012-05-01 Joseph Myers <joseph@codesourcery.com>
12871
12872 [BZ #2550]
12873 [BZ #2570]
12874 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12875 comparisons to determine direction to adjust input.
12876 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12877 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12878 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12879 Likewise.
12880 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12881 Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12883 Likewise.
12884 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12886 Likewise.
12887 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12888 Likewise.
12889 * math/libm-test.inc (nexttoward_test): Add more tests.
12890
412bd966
AS
128912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12892
12893 [BZ #14040]
12894 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12895 in version GLIBC_2.1, not GLIBC_2.0.
12896 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12897 Likewise.
12898
9568c0c2
JM
128992012-04-30 Joseph Myers <joseph@codesourcery.com>
12900
adfbc8ac
JM
12901 [BZ #13942]
12902 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12903 (1 - x) * (1 + x).
12904 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12905 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12906 * math/libm-test.inc (acos_test): Add more tests.
12907 (asin_test): Likewise.
12908 * sysdeps/i386/fpu/libm-test-ulps: Update.
12909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12910
5ba3cc69
JM
12911 [BZ #14034]
12912 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12913 of square root.
12914 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12915 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12916 * math/libm-test.inc (acos_test_tonearest): New function.
12917 (acos_test_towardzero): Likewise.
12918 (acos_test_downward): Likewise.
12919 (acos_test_upward): Likewise.
12920 (asin_test_tonearest): Likewise.
12921 (asin_test_towardzero): Likewise.
12922 (asin_test_downward): Likewise.
12923 (asin_test_upward): Likewise.
12924 (main): Call the new functions.
12925 * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12927
9568c0c2
JM
12928 [BZ #13884]
12929 [BZ #13924]
12930 * math/e_exp10.c: Include <float.h>.
12931 (__ieee754_exp10): Handle underflow here rather than multiplying
12932 large negative argument by M_LN10.
12933 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12934 of __ieee754_expf.
12935 * math/e_exp10l.c: Include <float.h>.
12936 (__ieee754_exp10l): Handle underflow here rather than multiplying
12937 large negative argument by M_LN10l.
12938 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12939 spurious overflow exception on underflow.
12940
5ac3ea17
MP
129412012-04-29 Marek Polacek <polacek@redhat.com>
12942
12943 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12944 (__fortify_function): New macro.
12945 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12946 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12947 __extern_always_inline.
12948 * libio/bits/stdio2.h: Likewise.
12949 * libio/bits/stdio.h: Likewise.
12950 * string/string.h: Likewise.
12951 * string/bits/string3.h: Likewise.
12952 * include/stdio.h: Likewise.
12953 * stdlib/bits/stdlib.h: Likewise.
12954 * stdlib/stdlib.h: Likewise.
12955 * rt/bits/mqueue2.h: Likewise.
12956 * rt/mqueue.h: Likewise.
12957 * posix/bits/unistd.h: Likewise.
12958 * posix/unistd.h: Likewise.
12959 * io/bits/poll2.h: Likewise.
12960 * io/bits/fcntl2.h: Likewise.
12961 * io/fcntl.h: Likewise.
12962 * io/sys/poll.h: Likewise.
12963 * misc/bits/syslog.h: Likewise.
12964 * misc/bits/syslog-ldbl.h: Likewise.
12965 * misc/sys/syslog.h: Likewise.
12966 * socket/bits/socket2.h: Likewise.
12967 * socket/sys/socket.h: Likewise.
12968 * debug/tst-chk1.c: Likewise.
12969 * wcsmbs/bits/wchar2.h: Likewise.
12970 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12971 * wcsmbs/wchar.h: Likewise.
12972
ecf0ebfb
AJ
129732012-04-29 Andreas Jaeger <aj@suse.de>
12974
12975 * Makerules (tests): Remove enable-check-abi protection.
12976 (check-abi-warn): Remove.
12977 (check-abi-%): Remove check-abi-warn usage.
12978
12979 * configure.in: Remove check-abi configure option.
12980 * configure: Regenerated.
12981 * config.make.in (enable-check-abi): Remove.
12982
6d5c57fa
AS
129832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12984
24c5d07e 12985 [BZ #14033]
ded5180a
AS
12986 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12987 double functions to double *_finite functions.
12988
7e0d315d
AS
12989 [BZ #13941]
12990 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12991 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12992 LDBL_MIN_EXP.
12993 * stdio-common/Makefile (tests): Add tst-sprintf3.
12994 * stdio-common/tst-sprintf3.c: New file.
12995
6d5c57fa
AS
12996 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12997 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12998
0749ff8b
JM
129992012-04-28 Joseph Myers <joseph@codesourcery.com>
13000
13001 * conform/conformtest.pl: Remove duplicate typed-constant
13002 handling.
13003
8dbd5d7b
DM
130042012-04-28 David S. Miller <davem@davemloft.net>
13005
13006 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13007 (check-abi-%): Remove AWK script prerequisite and explicit
13008 abilist directory.
13009 (check-abi): Rewrite to just diff the symlist with the abilist.
13010 (config-tls, config-abi-config): Delete, no longer used.
13011 (update-abi-%): Remove AWK script and explicit abilist directory.
13012 (update-abi): Rewrite to simply compare and conditionally copy the
13013 symlist and the sysdep abilist file. Remove update-abi-config
13014 checks.
13015 * abilist/ld.abilist: Remove.
13016 * abilist/libBrokenLocale.abilist: Remove.
13017 * abilist/libanl.abilist: Remove.
13018 * abilist/libcrypt.abilist: Remove.
13019 * abilist/libdl.abilist: Remove.
13020 * abilist/librt.abilist: Remove.
13021 * abilist/libthread_db.abilist: Remove.
13022 * abilist/libutil.abilist: Remove.
13023 * scripts/extract-abilist.awk: Remove.
13024 * scripts/merge-abilist.awk: Remove.
13025 * sysdeps/generic/libcidn.abilist: New file.
13026 * sysdeps/generic/libnss_compat.abilist: New file.
13027 * sysdeps/generic/libnss_db.abilist: New file.
13028 * sysdeps/generic/libnss_dns.abilist: New file.
13029 * sysdeps/generic/libnss_files.abilist: New file.
13030 * sysdeps/generic/libnss_hesiod.abilist: New file.
13031 * sysdeps/generic/libnss_nis.abilist: New file.
13032 * sysdeps/generic/libnss_nisplus.abilist: New file.
13033 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13034 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13035 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13036 file.
13037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13038 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13039 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13040 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13041 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13042 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13043 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13044 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13045 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13046 file.
13047 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13048 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13050 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13051 file.
13052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13053 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13054 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13055 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13056 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13057 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13058 file.
13059 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13060 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13061 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13062 file.
13063 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13065 New file.
13066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13067 New file.
13068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13069 New file.
13070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13071 New file.
13072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13073 New file.
13074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13075 New file.
13076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13077 New file.
13078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13079 New file.
13080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13081 New file.
13082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13083 New file.
13084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13085 New file.
13086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13087 New file.
13088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13089 New file.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13091 file.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13093 New file.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13095 New file.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13097 file.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13099 New file.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13101 New file.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13103 file.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13105 New file.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13107 New file.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13109 New file.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13111 New file.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13113 New file.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13115 New file.
13116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13118 file.
13119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13120 New file.
13121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13122 file.
13123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13124 file.
13125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13126 file.
13127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13128 file.
13129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13130 file.
13131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13132 New file.
13133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13134 file.
13135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13136 file.
13137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13138 New file.
13139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13140 file.
13141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13143 file.
13144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13145 New file.
13146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13147 file.
13148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13149 file.
13150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13151 file.
13152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13153 file.
13154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13155 file.
13156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13157 New file.
13158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13159 file.
13160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13161 file.
13162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13163 New file.
13164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13165 file.
13166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13167 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13168 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13169 file.
13170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13171 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13172 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13173 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13174 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13175 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13176 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13177 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13178 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13179 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13182 file.
13183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13184 New file.
13185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13186 file.
13187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13188 file.
13189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13190 file.
13191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13192 file.
13193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13194 file.
13195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13196 New file.
13197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13198 New file.
13199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13200 file.
13201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13202 New file.
13203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13204 file.
13205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13207 file.
13208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13209 New file.
13210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13211 file.
13212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13213 file.
13214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13215 file.
13216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13217 file.
13218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13219 file.
13220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13221 New file.
13222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13223 New file.
13224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13225 file.
13226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13227 New file.
13228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13229 file.
13230
41d73a1b
JM
132312012-04-28 Joseph Myers <joseph@codesourcery.com>
13232
13233 * conform/conformtest.pl: Fix typo in handling typed-constant from
13234 allow-header.
13235
28aeeda4
JM
132362012-04-27 Joseph Myers <joseph@codesourcery.com>
13237
adae8f5e
JM
13238 * README: Cut down references to pre-2.6 Linux kernels and
13239 Linuxthreads. Update lists of configurations in libc and ports
13240 and sort alphabetically. Say "or newer" with Linux kernel version
13241 requirements.
13242
28aeeda4
JM
13243 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13244
a462cb63
RA
132452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13246
13247 [BZ #887]
13248 * math/libm-test.inc (logb_test_downward): New test to expose
13249 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13250 rounding mode.
13251
6ad3493e
JM
132522012-04-27 Joseph Myers <joseph@codesourcery.com>
13253
13254 [BZ #14027]
13255 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13256 to be done.
13257 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13258 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13259
2ce4f015
JM
132602012-04-26 Joseph Myers <joseph@codesourcery.com>
13261
5aeb141a
JM
13262 * sysdeps/unix/i386/brk.S: Remove file.
13263 * sysdeps/unix/i386/dl-brk.S: Likewise.
13264 * sysdeps/unix/i386/pipe.S: Likewise.
13265 * sysdeps/unix/i386/sigreturn.S: Likewise.
13266 * sysdeps/unix/i386/syscall.S: Likewise.
13267 * sysdeps/unix/i386/vfork.S: Likewise.
13268 * sysdeps/unix/i386/wait.S: Likewise.
13269
7143acae
JM
13270 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13271 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13272
2ce4f015
JM
13273 * configure.in (arm*-none*): Do not allow without
13274 --enable-hacker-mode.
13275 (netbsd*): Remove case setting base_os.
13276 (386bsd*): Likewise.
13277 (freebsd*): Likewise.
13278 (bsdi*): Likewise.
13279 (osf*): Likewise.
13280 (sunos*): Likewise.
13281 (ultrix*): Likewise.
13282 (newsos*): Likewise.
13283 (dynix*): Likewise.
13284 (*bsd*): Likewise.
13285 (sysv*): Likewise.
13286 (isc*): Likewise.
13287 (esix*): Likewise.
13288 (sco*): Likewise.
13289 (minix*): Likewise.
13290 (irix4*): Likewise.
13291 (irix6*): Likewise.
13292 (solaris[2-9]*): Likewise.
13293 (none): Likewise.
13294 * configure: Regenerated.
13295
0ac229c8
AZ
132962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13297
13298 [BZ #11521]
13299 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13300 overflow or cancellation in calculating denominator.
13301 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13303 down expression to avoid unexpected rounding in newer GCCs.
13304 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13305
33f244f4
DM
133062012-04-26 David S. Miller <davem@davemloft.net>
13307
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13309 long-double compat symbols.
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13323
cfa1f3e8
DM
133242012-04-25 David S. Miller <davem@davemloft.net>
13325
13326 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13327 HWCAP_* values only after the memory barriers have been defined.
13328 (atomic_full_barrier): Define.
13329 (atomic_read_barrier): Define.
13330 (atomic_write_barrier): Define.
13331
6e236b92
SP
133322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13333
13334 * shlib-versions: Add libgcc_s version information.
13335 * sysdeps/generic/libgcc_s.h: Remove.
13336 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13337 libgcc_s.h.
13338 * sysdeps/gnu/unwind-resume.c: Likewise.
13339 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13340
aab39a09
DM
133412012-04-25 David S. Miller <davem@davemloft.net>
13342
13343 * sysdeps/unix/sparc/brk.S: Delete.
13344 * sysdeps/unix/sparc/dl-brk.S: Delete.
13345 * sysdeps/unix/sparc/pipe.S: Delete.
13346 * sysdeps/unix/sparc/sysdep.S: Delete.
13347 * sysdeps/unix/sparc/sysdep.h: Delete.
13348 * sysdeps/unix/sparc/vfork.S: Delete.
13349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13350 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13351 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13352 ret_ERRVAL, r0, r1, MOVE): Define.
13353 (JUMPTARGET): Remove.
13354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13355 sysdeps/unix/sparc/sysdep.h
13356 (ENTRY, END): Remove.
13357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13358
a3cc4f48
JM
133592012-04-25 Joseph Myers <joseph@codesourcery.com>
13360
2ed8cda2
JM
13361 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13362 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13363 -DIS_IN_build.
13364
35d76d59
JM
13365 * timezone/README: Update upstream location and email address for
13366 tzcode and tzdata.
13367 * timezone/zdump.c: Update from tzcode 2012b.
13368 * timezone/zic.c: Likewise.
13369
a3cc4f48
JM
13370 * configure.in (libc_cv_as_needed): Remove test.
13371 * configure: Regenerated.
13372 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13373 conditional definition.
13374 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13375 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13376 * config.make.in (have-as-needed): Remove variable.
13377
ceab42c3
SP
133782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 Paul Pluzhnikov <ppluzhnikov@google.com>
13380
13381 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13382 strings correctly.
13383
3ce2865f
CLT
133842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13385
13386 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13387 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13388 * sysdeps/sh/strlen.S: Likewise.
13389
f37e0d68
JM
133902012-04-24 Joseph Myers <joseph@codesourcery.com>
13391
ae186e9a
JM
13392 * sysdeps/unix/fork.S: Remove file.
13393 * sysdeps/unix/i386/fork.S: Likewise.
13394 * sysdeps/unix/sparc/fork.S: Likewise.
13395
b96914af
JM
13396 * sysdeps/unix/system.c: Remove file.
13397 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13398
f37e0d68
JM
13399 * sysdeps/unix/getegid.S: Remove file.
13400 * sysdeps/unix/geteuid.S: Likewise.
13401
87ef29ca
RM
134022012-04-24 Roland McGrath <roland@hack.frob.com>
13403
83bcd236
RM
13404 * scripts/check-localplt.awk: New file.
13405 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13406 of diff.
13407 * scripts/data/localplt-generic.data: Add a comment.
13408
87ef29ca
RM
13409 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13410 NODE when __dir_mkfile failed.
13411 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13412 Reported by Ludovic Courtès <ludo@gnu.org>.
13413
e5a6e567
AJ
134142012-04-24 Andreas Jaeger <aj@suse.de>
13415
13416 * Makerules (common-clean): Also remove gen-as-const-headers
13417 files.
13418
c1820385
JM
134192012-04-24 Joseph Myers <joseph@codesourcery.com>
13420
13421 * Makerules (native-compile): Do not change working directory for
13422 build. Use $(OUTPUT_OPTION) in command.
13423 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13424
94e02fc4
AZ
134252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 [BZ #13886]
13428 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13429 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13430 * math/libm-test.inc (floor_test): Add more tests.
13431 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13432
3a533ca3
JM
134332012-04-24 Joseph Myers <joseph@codesourcery.com>
13434
940ab4b3
JM
13435 * sysdeps/unix/getdents.c: Remove file.
13436 * sysdeps/unix/sysv/getdents.c: Likewise.
13437 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13438
90e037bd
JM
13439 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13440 sysdeps/unix/mman/syscalls.list.
13441 (mmap): Likewise.
13442 (mprotect): Likewise.
13443 (msync): Likewise.
13444 (munmap): Likewise.
13445 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13446 * sysdeps/unix/mman/syscalls.list: Remove.
13447 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13448
3a533ca3
JM
13449 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13450 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13451 * configure: Regenerated.
13452 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13453 $(libgcc_s_suffix).
13454 * config.make.in (libgcc_s_suffix): Remove variable.
13455
1ad743de
JM
134562012-04-23 Joseph Myers <joseph@codesourcery.com>
13457
4ad451e2
JM
13458 * sysdeps/unix/sysv/gethostname.c: Move to ...
13459 * sysdeps/posix/gethostname.c: ... here.
13460
5e37ce39
JM
13461 * sysdeps/unix/execve.S: Remove file.
13462
1ad743de
JM
13463 * sysdeps/unix/_exit.S: Remove file.
13464
4e681b5b
AJ
134652012-04-23 Andreas Jaeger <aj@suse.de>
13466
13467 [BZ #13739]
13468 * manual/Makefile: Remove make dist support, there's no
13469 need for a stand-alone documentation tar ball.
13470 (TEXI2DVI): Define always, it's not in Makeconfig.
13471 (dist): Removed.
13472 (tar-it): Removed.
13473 (edition): Removed.
13474 (glibc-doc-$(edition).tar): Removed
13475 (%.Z): Removed.
13476 (%.gz): Removed.
13477 (%.uu): Removed.
13478 (ETAGS): Remove, it's in Makeconfig.
13479 (move-if-change): Remove, it's in Makeconfig.
13480
38686a03 134812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13482
13483 [BZ #13970]
13484 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13485 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13486 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13487 (strtod_l, strtof_l, strtold_l): Remove __wur.
13488 It is not necessarily an error to ignore strtol's return value.
13489 One can reliably look at the stored endptr to decide whether
13490 the number had valid syntax.
13491
7c0616fa
AJ
134922012-04-21 Andreas Jaeger <aj@suse.de>
13493
803cb6b7 13494 [BZ #13739]
7c0616fa
AJ
13495 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13496
b0fe253f
JM
134972012-04-21 Joseph Myers <joseph@codesourcery.com>
13498
13499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13500 * sysdeps/unix/sysv/Versions: Remove file.
13501
8280f22d
MT
135022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13503
13504 [BZ #13927]
13505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13506
75ce411f 135072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13508
13509 [BZ #7064]
13510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13511 version from __vm86.
13512
097d59fa
JM
135132012-04-20 Joseph Myers <joseph@codesourcery.com>
13514
a90f3bcb
JM
13515 * sysdeps/unix/common/lxstat.c: Remove file.
13516 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13517
edc7ea78
JM
13518 * sysdeps/unix/sysv/Makefile: Remove file.
13519
cb78c221
JM
13520 * sysdeps/unix/sysv/direct.h: Remove file.
13521
efa6a45f
JM
13522 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13523 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13524 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13525 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13526 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13527 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13528 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13529
9c9f2d0c
JM
13530 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13531
4541c83b
JM
13532 * sysdeps/unix/xmknod.c: Remove file.
13533 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13534
f5d153a0
JM
13535 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13536
aa746595
JM
13537 * sysdeps/unix/sysv/i386/time.S: Remove file.
13538
cce5905e
JM
13539 * sysdeps/unix/fxstat.c: Remove file.
13540 * sysdeps/unix/xstat.c: Likewise.
13541 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13542
37fa3841
JM
13543 * sysdeps/unix/sysv/sigaction.c: Remove file.
13544
ff1962a3
JM
13545 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13546 (sysdep_headers): Remove variable.
13547 [termio.h not in sysdep_headers] (generated): Likewise.
13548 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13549 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13550 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13551 * sysdeps/unix/sysv/tcflow.c: Likewise.
13552 * sysdeps/unix/sysv/tcflush.c: Likewise.
13553 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13554 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13555 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13556 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13557 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13558
e7740d31
JM
13559 * sysdeps/unix/siglist.c: Remove file.
13560
ee06f18b
JM
13561 * sysdeps/unix/getppid.S: Remove file.
13562
097d59fa
JM
13563 * sysdeps/unix/mkdir.c: Remove file.
13564 * sysdeps/unix/rmdir.c: Likewise.
13565
ff3d51ec
AS
135662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13567
13568 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13569 ERR_MAX value.
13570 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13571 errlist-compat value.
13572
50f81fd7
DM
135732012-04-18 David S. Miller <davem@davemloft.net>
13574
13575 * sysdeps/generic/memcopy.h (reg_char): Delete.
13576 * debug/strcat_chk.c: Use char, not reg_char.
13577 * debug/strcpy_chk.c: Likewise.
13578 * debug/strncat_chk.c: Likewise.
13579 * debug/strncpy_chk.c: Likewise.
13580 * string/memchr.c: Likewise.
13581 * string/memrchr.c: Likewise.
13582 * string/rawmemchr.c: Likewise.
13583 * string/strcat.c: Likewise.
13584 * string/strchr.c: Likewise.
13585 * string/strchrnul.c: Likewise.
13586 * string/strcmp.c: Likewise.
13587 * string/strcpy.c: Likewise.
13588 * string/strncat.c: Likewise.
13589 * string/strncmp.c: Likewise.
13590 * string/strncpy.c: Likewise.
13591
8ff41c46
WS
135922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13593
13594 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13595 __builtin_memcopy is called when src and dest ranges are known to not
13596 overlap.
13597
6b652f46
WS
135982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13599
13600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13601 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13602 fwd_align_merge macro call.
13603 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13604 bwd_align_merge macro call.
13605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13606
b282631e
WS
136072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13608
13609 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13610 bwd_align_merge macros.
13611 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13612 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13613 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13614
95aa737c
DM
136152012-04-18 David S. Miller <davem@davemloft.net>
13616
13617 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13618
7a99a614
AJ
136192012-04-18 Andreas Jaeger <aj@suse.de>
13620
13621 [BZ# 6794]
13622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13623 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13624 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13625
13626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13627 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13629
13630 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13631 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13632 Adjust for changed ldbl-128 files.
13633
13634 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13635 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13636 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13637
e5270c23
DM
136382012-04-17 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13641
fb5e92c9
AS
136422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13643
13644 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13645 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13646 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13647 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13648 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13649 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13650
76da7265
AZ
136512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13652
13653 [BZ #6794]
13654 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13655 * math/libm-test.inc: Add ilogb errno and exception tests.
13656 * math/w_ilogb.c: New file: ilogb wrapper.
13657 * math/w_ilogbf.c: New file: ilogbf wrapper.
13658 * math/w_ilogbl.c: New file: ilogbl wrapper.
13659 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13660 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13661 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13662 exception being thrown with 0.0 as argument.
13663 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13664 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13665 exception being thrown with 0.0 as argument.
13666 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13667 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13668 exception being thrown with 0.0 as argument.
13669 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13670 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13671 exception being thrown with 0.0 as argument.
13672 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13673 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13675 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13677 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13678 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13679 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13680 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13681
0396e69d
PB
136822012-04-17 Petr Baudis <pasky@ucw.cz>
13683
13684 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13685 with altivec.
13686
750b5926
MP
136872012-04-16 Marek Polacek <polacek@redhat.com>
13688
13689 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13690
751728a1
MP
136912012-04-16 Marek Polacek <polacek@redhat.com>
13692
13693 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13694 operands of fdivp instruction.
13695
34a27407
L
136962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13697
13698 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13699 * elf/tst-auditmod3b.c: Likewise.
13700 * elf/tst-auditmod4b.c: Likewise.
13701 * elf/tst-auditmod5b.c: Likewise.
13702 * elf/tst-auditmod6b.c: Likewise.
13703 * elf/tst-auditmod6c.c: Likewise.
13704 * elf/tst-auditmod7b.c: Likewise.
13705 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13706 * sysdeps/x86_64/preconfigure.in: Likewise.
13707 * sysdeps/x86_64/preconfigure: Regenerated.
13708
7e73e17d
L
137092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13710
13711 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13712 __ILP32__.
13713
c7a6ab72
AB
137142012-04-13 Antoine Balestrat <merkil33@gmail.com>
13715
13716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13717 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13718
a9e8e0e0
CL
137192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13720
13721 [BZ #13973]
13722 * locale/iso-639.def: Fix gl language name. Spotted by
13723 Yaron Shahrabani.
13724
ec98af7d
RM
137252012-04-12 Roland McGrath <roland@hack.frob.com>
13726
13727 [BZ #2074]
13728 * libio/libio.h (__io_write_fn): Update comment.
13729
247c3ede
PB
137302012-04-12 Petr Baudis <pasky@ucw.cz>
13731
13732 [BZ #2074]
13733 * stdio.texi (Hook Functions): The user provided writer function
13734 is not allowed to return -1.
13735
55939d6d
DM
137362012-04-11 David S. Miller <davem@davemloft.net>
13737
13738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13739
90020f5a
MF
137402012-04-11 Mike Frysinger <vapier@gentoo.org>
13741
13742 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13743 Add a leading slash to rtkaio.
13744
288f9098
JM
137452012-04-11 Jim Meyering <meyering@redhat.com>
13746
90020f5a
MF
13747 [BZ #11959]
13748 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13749 It is not necessarily an error to ignore fwrite's return
13750 value. One can reliably use ferror to test for errors after
13751 the fact.
288f9098 13752
4be2b570
L
137532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 * bits/types.h (__snseconds_t): New type.
13756 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13757
13758 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13760 (__SNSECONDS_T_TYPE): Likewise.
13761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13762 (__SNSECONDS_T_TYPE): Likewise.
13763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13764 (__SNSECONDS_T_TYPE): Likewise.
13765
288f9098 137662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13767
13768 [BZ #2636]
13769 * manual/time.texi (Processor Time): Return type of times is
13770 elapsed real time since an arbitrary point in the past.
13771 (CPU Time): Move CLK_TCK from here...
13772 (Processor Time): ...to here. Correct description.
13773 * manual/conf.texi (Constants for Sysconf): Correct description of
13774 _SC_CLK_TCK.
13775
d7dd4413
DM
137762012-04-10 David S. Miller <davem@davemloft.net>
13777
13778 [BZ #13967]
13779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13780 where the is a gap between DT_REL(A) and DT_JMPREL.
13781
b46068fc
L
137822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13783
13784 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13787
73d65cc3
SP
137882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13789
13790 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13791 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13792 (dl_main): Handle --inhibit-cache.
13793 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13794 _dl_inhibit_cache.
13795 * elf/dl-load.c (_dl_map_object): Use it.
13796 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13797
bcc8d661
JM
137982012-04-09 Joseph Myers <joseph@codesourcery.com>
13799
8f9a2fae
JM
13800 [BZ #13872]
13801 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13802 (__ieee754_powl): Saturate large exponents rather than testing for
13803 overflow of y*log2(x).
13804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13805 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13806 exceptions.
13807
bcc8d661
JM
13808 [BZ #11521]
13809 * math/s_ctan.c: Include <float.h>.
13810 (__ctan): Avoid internal overflow or cancellation in calculating
13811 denominator.
13812 * math/s_ctanf.c: Likewise.
13813 * math/s_ctanl.c: Likewise.
13814 * math/s_ctanh.c: Likewise.
13815 * math/s_ctanhf.c: Likewise.
13816 * math/s_ctanhl.c: Likewise.
13817 * math/libm-test.inc (ctan_test): Add more tests.
13818 (ctanh_test): Likewise.
13819 * sysdeps/i386/fpu/libm-test-ulps: Update.
13820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13821
823fbbb4
AJ
138222012-04-09 Andreas Jaeger <aj@suse.de>
13823
03879793
AJ
13824 [BZ #6894]
13825 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13826 is an optional BSD extension.
13827
823fbbb4
AJ
13828 [BZ #10254]
13829 * manual/stdio.texi (Opening Streams): Document additional fopen
13830 parameters.
13831
8de131cb
RM
138322012-04-09 Roland McGrath <roland@hack.frob.com>
13833
13834 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13835 %eax without telling the compiler.
13836
c0ed9d7d
CD
138372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13838
13839 [BZ # 13963]
13840 * manual/install.texi: Use sourceware.org.
13841
c483f6b4
JM
138422012-04-09 Joseph Myers <joseph@codesourcery.com>
13843
d7dd9453
JM
13844 [BZ #13873]
13845 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13846 (__ieee754_pow): Generate overflow and underflow using huge*huge
13847 and tiny*tiny rather than just returning constant infinity or zero
13848 for large exponents.
13849 * math/libm-test.inc (pow_test): Require overflow exceptions for
13850 applicable cases of large exponents.
13851
c483f6b4
JM
13852 [BZ #706]
13853 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13854 (__ieee754_pow): Use iterative multiplication algorithm only for
13855 integer exponents with absolute value below 1024. Check for odd
13856 integer exponents when using algorithm for real exponents.
13857 * math/libm-test.inc (pow_test): Add more tests.
13858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13859
d2de7579
JM
138602012-04-08 Joseph Myers <joseph@codesourcery.com>
13861
13862 [BZ #13705]
13863 * math/libm-test.inc (exp_test): Do not allow overflow exception
13864 on underflow test.
13865
f77f1232
AJ
138662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13867
13868 [BZ #13705]
13869 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13870 instead of __kernel_standard_f.
13871
3884932b
MF
138722012-04-08 Mike Frysinger <vapier@gentoo.org>
13873
13874 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13875 * sysdeps/x86_64/memset_chk.S: Likewise.
13876
54472e9c
AJ
138772012-04-08 Andreas Jaeger <aj@suse.de>
13878
6ab0fbfc
AJ
13879 [BZ #10153]
13880 * manual/startup.texi (Environment Access): Describe return value
13881 for putenv and setenv.
13882
61efba8c
AJ
13883 [BZ #6895]
13884 * manual/filesys.texi (Directory Entries): Add description for
13885 DT_LNK.
13886
95c3f29a
AJ
13887 [BZ #6890]
13888 * manual/filesys.texi (Directory Entries): Clarify that it's file
13889 system not operating system in the description of DT_UNKNOWN.
13890
54472e9c
AJ
13891 [BZ #6578]
13892 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13893
624254b1
SC
138942012-04-08 Stephen Compall <s11@member.fsf.org>
13895
13896 [BZ #6649]
13897 * manual/llio.texi (Opening and Closing Files): Add cross
13898 reference to explain mode argument.
13899
1e4920e0
MF
139002012-04-07 Mike Frysinger <vapier@gentoo.org>
13901
13902 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13903 * sysdeps/x86_64/memset_chk.S: Likewise.
13904
5ed848f3
DM
139052012-04-07 David S. Miller <davem@davemloft.net>
13906
13907 * elf/elf.h (R_SPARC_WDISP10): Define.
13908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13909 R_SPARC_SIZE32.
13910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13911 R_SPARC_SIZE64 and R_SPARC_H34.
13912
96154cd8
CD
139132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13914
13915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13916 conditions and remove no longer applicable assertion.
13917
9904dc47
L
139182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 * bits/byteswap.h: Include <features.h>.
13921 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13922 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13923
f8887d0a
L
139242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 * bits/byteswap.h (__bswap_16): Removed.
13927 Include <bits/byteswap-16.h> to get __bswap_16.
13928 * sysdeps/i386/bits/byteswap.h: Likewise.
13929 * sysdeps/s390/bits/byteswap.h: Likewise.
13930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13931 * bits/byteswap-16.h: New file.
13932 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13933 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13934 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13935 * string/Makefile (headers): Add bits/byteswap-16.h.
13936
62470f60
PP
139372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13938
13939 [BZ #13895]
13940 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13941 extra indirection.
13942 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13943 * nss/tst-nss-static.c: New.
13944
4dad7bab
RM
139452012-04-06 Robert Millan <rmh@gnu.org>
13946
13947 [BZ #6486]
13948 * manual/llio.texi (File Position Primitive): lseek
13949 refers to WHENCE when it really means OFFSET.
13950
e9142a17
AJ
139512012-04-06 Andreas Jaeger <aj@suse.de>
13952
2c040eff
AJ
13953 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13954 strncmp declarations.
13955
e9142a17
AJ
13956 * abilist/libc.abilist: Add __poll and __ppoll.
13957
ff9f1c5f
DM
139582012-04-05 David S. Miller <davem@davemloft.net>
13959
dcd2ae90
DM
13960 * scripts/check-local-headers.sh: Accept a host triplet in the
13961 path matched by the exclude regexp.
13962
993eb054
DM
13963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13964 definition.
13965 * sysdeps/powerpc/powerpc32/dl-machine.h
13966 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13967 * sysdeps/s390/s390-32/dl-machine.h
13968 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13969 * sysdeps/sparc/sparc32/dl-machine.h
13970 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13971 * sysdeps/sparc/sparc64/dl-machine.h
13972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13973
ff9f1c5f
DM
13974 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13975 lazy binding.
48e2e132 13976 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13977 undefined symbol errors.
13978
48e2e132 13979 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13980 DT_NEEDED entries.
13981
e80d6f94
MM
139822012-04-05 Michael Matz <matz@suse.de>
13983
13984 [BZ #13592]
13985 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13986
349fa79f
AJ
139872012-04-05 Andreas Jaeger <aj@suse.de>
13988
13989 [BZ #13908]
13990 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13991 comment.
13992
f402708f
KK
139932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13994
13995 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13996 which ROUND is no valid rounding mode.
13997
2ecccfc9
KK
139982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13999
14000 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14001 read again.
14002 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14003
8a53f50f
KK
140042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14005
14006 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14007 an exception using FPU order intentionally.
14008
140092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14010
14011 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14012 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14013 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14014 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14015
d653abb7
SJ
140162012-04-05 Simon Josefsson <simon@josefsson.org>
14017
14018 [BZ #12340]
14019 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14020 EINVAL when BUFLEN is too smal.
14021
c3b1bf7d
TS
140222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14023
14024 [BZ #13553]
14025 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14026 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14027
b1aa60f3
AJ
140282012-04-03 Andreas Jaeger <aj@suse.de>
14029
c3b1bf7d 14030 [BZ #13938]
67f60a26
AJ
14031 * manual/setjmp.texi (System V contexts): Fix sentence.
14032
b1aa60f3
AJ
14033 [BZ #13926]
14034 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14035 New macro for this case.
14036 [!__GNUC__] (__bswap_64): New inline function for this case.
14037 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14038 * bits/byteswap.h: Likewise.
14039 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14040 ull, guard with __GLIBC_HAVE_LONG_LONG.
14041
14042 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14043 __GLIBC_HAVE_LONG_LONG.
14044
14045 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14046 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14047
39c59c35
TMQMF
140482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14049
14050 [BZ #13691]
14051 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14052 inptr and inend, rather than using last_ch.
14053
135ffda8
DM
140542012-04-02 David S. Miller <davem@davemloft.net>
14055
14056 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14057 * stdio-common/printf-parse.h (read_int): Change return type to
14058 'int', return -1 on INT_MAX overflow.
14059 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14060 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14061 overflows INT_MAX. Check for overflow of in-format-string precision
14062 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14063 SIZE_MAX not INT_MAX for integer overflow test.
14064 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14065 skip the construct in the format string but do not record anything.
14066 * stdio-common/bug22.c: Adjust to test both width/prevision
14067 INT_MAX overflow as well as total length INT_MAX overflow. Check
14068 explicitly for proper errno values.
14069
228c019e
TS
140702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14071
302cadd3
TS
14072 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14073 CHAR_MAX.
14074 * string/test-strcmp.c [! WIDE]: Likewise.
14075 * time/tst-mktime2.c: Likewise for INT_MAX.
14076 * string/test-string.h: #include <sys/param.h> for MIN.
14077
228c019e
TS
14078 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14079 * sysdeps/i386/init-first.c (init): Likewise.
14080 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14081 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14082 * sysdeps/sh/init-first.c (init): Likewise.
14083
cfa633f5
UD
140842012-04-01 Ulrich Drepper <drepper@gmail.com>
14085
14086 * po/ru.po: Update from translation team.
d1635ef8 14087 * po/vi.po: Likewise.
cfa633f5 14088
6cd0a5ea
SP
140892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14090
14091 * resolv/nss_dns/dns-host.c: Merge copyright years.
14092
4b43400f
LD
140932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14094
14095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14096 Optimize memcpy with prefetch if
14097 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14098 src, dst pointers have unequal 16 byte alignments.
14099
48c41d04
SP
141002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14101
14102 [BZ #13928]
14103 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14104 from a CNAME entry and return the minimum ttl for the query.
14105 (gaih_getanswer_slice): Likewise.
14106
b8dc394d
JL
141072012-03-30 Jeff Law <law@redhat.com>
14108
14109 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14110 due to long keys.
14111 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14112 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14113
2f5a5ed0
JL
14114 * resolv/nss_dns/dns-host.c: Update copyright year.
14115
1d39e359
UD
141162012-03-30 Ulrich Drepper <drepper@gmail.com>
14117
c030f70c 14118 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14119 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14120
1d39e359
UD
14121 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14122 comments for sendmmsg.
14123
141242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14125
14126 [BZ #13691]
14127 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14128 with only 1 character between 0x0041 and 0x01b0.
14129 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14130 * wcsmbs/tst-mbsnrtowcs.c: New file.
14131
20fde227
DM
141322012-03-29 David S. Miller <davem@davemloft.net>
14133
14134 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14135 small copies by hand.
14136
984a4237
JL
141372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14138
14139 [BZ #13761]
14140 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14141 _nss_compat_initgroups_dyn): Fall back to malloc/free
14142 for large group memberships.
14143
18c9d62b
DM
141442012-03-28 David S. Miller <davem@davemloft.net>
14145
88d85d4f
DM
14146 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14147 that branches into memcpy.
14148 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14151 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14153 bits.
14154 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14155 implementation too.
14156 * sysdeps/sparc/mempcpy.S: New file.
14157
e5aa83e1
DM
14158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14159 the IFUNC routine in the libc case.
14160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14161
88570753
DM
14162 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14163 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14164 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14165 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14166 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14167 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14168 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14169 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14170
249d7567
DM
14171 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14172 loop to 256 bytes instead of 64 bytes and fix test signedness.
14173
18c9d62b
DM
14174 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14175 * sysdeps/sparc/sparc32/Makefile: rather than here...
14176 * sysdeps/sparc/sparc64/Makefile: and here.
14177
05f3d1f6
UD
141782012-03-28 Ulrich Drepper <drepper@gmail.com>
14179
14180 * malloc/mallocbug.c: Avoid warnings about unused variables.
14181
86ae07a8
JL
141822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14183
14184 [BZ #13760]
14185 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14186 in the right place. Discard and retry query if response is
14187 larger than input buffer size.
14188
41bf21a1
JM
141892012-03-28 Joseph Myers <joseph@codesourcery.com>
14190
d6270972
JM
14191 [BZ #369]
14192 [BZ #2678]
14193 [BZ #3866]
14194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14195 x for large integer exponent.
14196 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14197 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14198 sign of result as needed afterwards.
14199 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14200 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14201 result for underflowing pow the same as for overflow.
14202 (__kernel_standard_l): Handle powl overflow and underflow here
14203 rather than calling __kernel_standard.
14204 * math/libm-test.inc (pow_test): Add more tests.
14205
414fca03 14206 [BZ #3868]
41bf21a1
JM
14207 [BZ #13879]
14208 [BZ #13910]
14209 [BZ #13911]
14210 [BZ #13912]
14211 [BZ #13913]
14212 [BZ #13915]
14213 [BZ #13916]
14214 [BZ #13917]
14215 [BZ #13918]
14216 [BZ #13919]
14217 [BZ #13920]
14218 [BZ #13921]
14219 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14220 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14221 (__kernel_standard_l): New function.
14222 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14223 __kernel_standard.
14224 * math/w_acosl.c (__acosl): Likewise.
14225 * math/w_asinl.c (__asinl): Likewise.
14226 * math/w_atan2l.c (__atan2l): Likewise.
14227 * math/w_atanhl.c (__atanhl): Likewise.
14228 * math/w_coshl.c (__coshl): Likewise.
14229 * math/w_exp10l.c (__exp10l): Likewise.
14230 * math/w_exp2l.c (__exp2l): Likewise.
14231 * math/w_fmodl.c (__fmodl): Likewise.
14232 * math/w_hypotl.c (__hypotl): Likewise.
14233 * math/w_j0l.c (__j0l, __y0l): Likewise.
14234 * math/w_j1l.c (__j1l, __y1l): Likewise.
14235 * math/w_jnl.c (__jnl, __ynl): Likewise.
14236 * math/w_lgammal.c (__lgammal): Likewise.
14237 * math/w_log10l.c (__log10l): Likewise.
14238 * math/w_log2l.c (__log2l): Likewise.
14239 * math/w_logl.c (__logl): Likewise.
14240 * math/w_powl.c (__powl): Likewise.
14241 * math/w_remainderl.c (__remainderl): Likewise.
14242 * math/w_scalbl.c (sysv_scalbl): Likewise.
14243 * math/w_sinhl.c (__sinhl): Likewise.
14244 * math/w_sqrtl.c (__sqrtl): Likewise.
14245 * math/w_tgammal.c (__tgammal): Likewise.
14246 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14247 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14248 * math/libm-test.inc (acos_test): Add more tests.
14249 (acosh_test): Likewise.
14250 (asin_test): Likewise.
14251 (atanh_test): Likewise.
14252 (exp_test): Likewise.
14253 (exp10_test): Likewise.
14254 (exp2_test): Likewise.
14255 (expm1_test): Likewise.
14256 (lgamma_test): Likewise.
14257 (log_test): Likewise.
14258 (log10_test): Likewise.
14259 (log1p_test): Likewise.
14260 (log2_test): Likewise.
14261 (pow_test): Do not allow some spurious overflow exceptions.
14262 (sqrt_test): Add more tests.
14263 (tgamma_test): Likewise.
14264 (y0_test): Likewise.
14265 (y1_test): Likewise.
14266 (yn_test): Likewise.
14267
dd62fda6
AB
142682012-03-27 Anton Blanchard <anton@samba.org>
14269
14270 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14271 MAP_HUGETLB.
14272 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14273 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14275
1e3cdfda
AJ
142762012-03-27 David S. Miller <davem@davemloft.net>
14277
b855ab85
DM
14278 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14279
1e3cdfda
AJ
14280 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14281 have-as-vis3 check.
14282
142832012-03-27 Andreas Jaeger <aj@suse.de>
14284
14285 * sysdeps/x86_64/elf/configure.in: Moved to ...
14286 * sysdeps/x86_64/configure.in: ... here.
14287 * sysdeps/x86_64/elf/start.S: Moved to ...
14288 * sysdeps/x86_64/start.S: ... here.
14289 * sysdeps/x86_64/elf/configure: Delete.
14290
14291 * sysdeps/x86_64/configure.in: Merge contents from
14292 sysdeps/i386/configure.in (without i686 check).
14293
14294 * sysdeps/i386/elf/Versions: Merge into ...
14295 * sysdeps/i386/Versions: ... this.
14296 * sysdeps/i386/elf/Versions: Delete file.
14297 * sysdeps/i386/elf/start.S: Moved to ...
14298 * sysdeps/i386/start.S: ...here.
14299 * sysdeps/i386/elf/configure.in: Merge into...
14300 * sysdeps/i386/configure.in: ...here.
14301 * sysdeps/i386/elf/configure.in: Delete file.
14302 * sysdeps/i386/elf/configure: Delete file.
14303
14304 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14305 * debug/backtracesyms.c: ... here.
14306 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14307 * debug/backtracesymsfd.c: ... here.
14308 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14309 * sysdeps/generic/ifunc-sel.h: ... here.
14310
14311 * sysdeps/unix/i386/start.c: Delete file.
14312 * sysdeps/unix/sparc/start.c: Delete file.
14313 * sysdeps/unix/start.c: Delete file.
14314
14315 * sysdeps/sh/elf/configure.in: Moved to ...
14316 * sysdeps/sh/configure.in: ... here.
14317 * sysdeps/sh/elf/start.S: Moved to ...
14318 * sysdeps/sh/start.S: ... here.
14319 * sysdeps/sh/elf/configure: Delete file.
14320
14321 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14322 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14323 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14324 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14325 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14326 * sysdeps/powerpc/powerpc64/start.S: here.
14327 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14328 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14329 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14330 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14331 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14332
14333 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14334 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14335 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14336 * sysdeps/powerpc/powerpc32/start.S: ... here.
14337 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14338 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14339 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14340
14341 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14342 * sysdeps/powerpc/ifunc-sel.h: ... here.
14343 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14344 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14345
14346 * sysdeps/sparc/elf/configure.in: Moved to ...
14347 * sysdeps/sparc/configure.in: ... here.
14348 * sysdeps/sparc/elf/configure: Delete file.
14349 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14350 * sysdeps/sparc/sparc32/start.S: ... here.
14351 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14352 * sysdeps/sparc/sparc64/start.S: ... here.
14353 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14354 * sysdeps/sparc/sparc32/Makefile: ... this.
14355 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14356 * sysdeps/sparc/sparc64/Makefile: ... this.
14357
14358 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14359 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14360 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14361 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14362 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14363 * sysdeps/s390/s390-32/setjmp.S: ... here.
14364 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14365 * sysdeps/s390/s390-32/configure.in: ... here.
14366 * sysdeps/s390/s390-32/elf/configure: Delete file.
14367 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14368 * sysdeps/s390/s390-32/start.S: ... here.
14369
14370 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14371 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14372 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14373 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14374 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14375 * sysdeps/s390/s390-64/setjmp.S: ... here.
14376 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14377 * sysdeps/s390/s390-64/configure.in: ... here
14378 * sysdeps/s390/s390-64/elf/configure: Delete file.
14379 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14380 * sysdeps/s390/s390-64/start.S: ... here.
14381 * sysdeps/s390/s390-64/elf/configure: Delete.
14382
14383 * configure.in: Remove support for elf directories in sysdeps.
14384
14385 * configure: Regenerated.
14386 * sysdeps/i386/configure: Regenerated.
14387 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14388 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14389 * sysdeps/s390/s390-32/configure: Regenerated.
14390 * sysdeps/s390/s390-64/configure: Regenerated.
14391 * sysdeps/sh/configure: Regenerated.
14392 * sysdeps/sparc/configure: Regenerated.
14393 * sysdeps/x86_64/configure: Regenerated.
14394
a3f61311
AS
143952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14396
c876e002
AS
14397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398
a3f61311
AS
14399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14400 denormal result into account.
14401
ac4c54f0
RM
144022012-03-25 Roland McGrath <roland@hack.frob.com>
14403
14404 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14405 Reported by Allan McRae <allan@archlinux.org>.
14406
6a9b9c02
JL
144072012-03-23 Jeff Law <law@redhat.com>
14408
14409 * nss/getnssent.c (__nss_getent): Fix typo.
14410
4c42a0c1
DM
144112012-03-23 David S. Miller <davem@davemloft.net>
14412
14413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14414
1532c7ac
L
144152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14418 to pad to uint64_t for each field.
14419 (dl_tls_index): Replace unsigned long with uint64_t.
14420
3ff42526
PP
144212012-03-23 Daniel Jacobowitz <dmj@google.com>
14422 Paul Pluzhnikov <ppluzhnikov@google.com>
14423
14424 [BZ #6528]
14425 * grp/Makefile (otherlibs): Don't set it.
14426 * inet/Makefile (otherlibs): Likewise.
14427 * login/Makefile (otherlibs): Likewise.
14428 * nscd/Makefile (otherlibs): Likewise.
14429 * posix/Makefile (otherlibs): Likewise.
14430 * pwd/Makefile (otherlibs): Likewise.
14431 * rt/Makefile (otherlibs): Likewise.
14432 * sunrpc/Makefile (otherlibs): Likewise.
14433 * nss/Makefile (otherlibs): Likewise.
14434 Add libnss_files to routines and static-only-routines.
14435 ($(objpfx)getent): Remove rule.
14436 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14437 static-only-routines.
14438
7c69cd14
JM
144392012-03-22 Joseph Myers <joseph@codesourcery.com>
14440
14441 [BZ #13892]
14442 * math/s_cexp.c: Include <float.h>.
14443 (__cexp): Handle exp result overflowing not necessarily
14444 overflowing both real and imaginary parts of result.
14445 * math/s_cexpf.c: Likewise.
14446 * math/s_cexpl.c: Likewise.
14447 * math/libm-test.inc (cexp_test): Add more tests.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450
81b035fe
L
144512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 * include/link.h (ELFW): New macro.
14454 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14455 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14456
1da7940c
L
144572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14460 with uint64_t.
14461
b749dbb9
L
144622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14465 declaration.
14466 (struct La_x32_retval): Likewise.
14467
2ff87f3f
L
144682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14469
14470 * sysdeps/x86_64/preconfigure.in: New file.
14471 * sysdeps/x86_64/preconfigure: New generated file.
14472
c0df8e69
JM
144732012-03-22 Joseph Myers <joseph@codesourcery.com>
14474
48e44791
JM
14475 [BZ #13824]
14476 * math/e_exp2l.c: Include <float.h>.
14477 (__ieee754_exp2l): Handle overflow and underflow cases
14478 separately. Only pass fractional part of argument to
14479 __ieee754_expl.
14480 * math/libm-test.inc (exp2_test): Add more tests.
14481
c0df8e69
JM
14482 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14483 negating x to take absolute value.
14484 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14485 Likewise.
14486 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14487 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14488 Likewise.
14489 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14490 computing low part if x was negated.
14491 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14492
c8e43ba7
L
144932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14496 la_x32_gnu_pltexit.
14497 (pltexit): Cast int_retval to ptrdiff_t.
14498 * elf/tst-auditmod3b.c: Likewise.
14499 * elf/tst-auditmod4b.c: Likewise.
14500 * elf/tst-auditmod5b.c: Likewise.
14501 * elf/tst-auditmod6b.c: Likewise.
14502 * elf/tst-auditmod6c.c: Likewise.
14503 * elf/tst-auditmod7b.c: Likewise.
14504
14505 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14506 and x32_gnu_pltexit.
14507
14508 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14509 __ELF_NATIVE_CLASS.
14510 (La_x32_regs): New macro.
14511 (La_x32_retval): Likewise.
14512 (la_x32_gnu_pltenter): New function prototype.
14513 (la_x32_gnu_pltexit): Likewise.
14514
7998fa78
AS
145152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14516
dcb33988
AS
14517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14518 exponent.
14519
233fc563
AS
14520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14521
7998fa78
AS
14522 * configure.in (libc_cv_cc_nofma): Check for option to disable
14523 generation of FMA instructions.
14524 * configure: Regenerate.
14525 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14526 * sysdeps/ieee754/dbl-64/Makefile: New file.
14527 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14528 Remove brandred-fma4.
14529 (CFLAGS-brandred-fma4.c): Remove.
14530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14532 define.
14533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14534 define.
14535
8e95c99a
L
145362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14537
14538 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14539 LLONG_MAX != LONG_MAX.
14540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14541 (_fitoa_word): Likewise.
14542 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14543 LLONG_MAX != LONG_MAX.
14544 * stdio-common/_itowa.h: Include <_itoa.h>.
14545 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14546 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14547 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14548 only if not defined.
14549 (_ITOA_WORD_TYPE): Likewise.
14550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14551 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14552
6f4db457
DM
145532012-03-21 David S. Miller <davem@davemloft.net>
14554
14555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14556
7785fe5a
L
145572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14558
14559 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14560 of x86_64 when setting libc_cv_slibdir, libdir and
14561 libc_cv_localedir.
14562 * sysdeps/unix/sysv/linux/configure: Regenerated.
14563
4535cd55
JM
145642012-03-21 Joseph Myers <joseph@codesourcery.com>
14565
14566 * manual/lang.texi (Old Varargs): Remove section.
14567 (How Variadic): Update menu.
14568 (va_start): Do not mention varargs.h.
14569
17228132
TS
145702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14571 Joseph Myers <joseph@codesourcery.com>
14572
14573 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14574 link test.
14575 * configure: Regenerated.
14576
8149f976
TS
145772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14578
05f3d1f6
UD
14579 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14580 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14581 conformtest.pl
8149f976 14582
1a4ac776
JM
145832012-03-21 Joseph Myers <joseph@codesourcery.com>
14584
be22ce65
JM
14585 * NOTES: Remove.
14586 * Makefile (files-for-dist): Remove NOTES.
14587 (NOTES): Remove rule.
14588 * README: Don't refer to NOTES.
14589 * manual/creature.texi: Don't include macros.texi.
14590 * manual/intro.texi (creature.texi): Remove comment referring to
14591 NOTES.
14592
40b601fb
JM
14593 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14594 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14595 * configure: Regenerated.
14596 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14597 LIBC_TRY_CC_OPTION.
14598 (libc_cv_as_i686): Likewise.
14599 (libc_cv_cc_avx): Likewise.
14600 (libc_cv_cc_sse2avx): Likewise.
14601 (libc_cv_cc_fma4): Likewise.
14602 (libc_cv_cc_novzeroupper): Likewise.
14603 * sysdeps/i386/configure: Regenerated.
14604
1a4ac776
JM
14605 [BZ #13883]
14606 * sysdeps/i386/fpu/s_cexp.S: Remove.
14607 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14608 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14609 * math/libm-test.inc (cexp_test): Add more tests.
14610 * sysdeps/i386/fpu/libm-test-ulps: Update.
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14612
a458e7fe
AM
146132012-03-21 Allan McRae <allan@archlinux.org>
14614
14615 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14616
0cb7efc5
JM
146172012-03-21 Joseph Myers <joseph@codesourcery.com>
14618
14619 [BZ #13871]
14620 * math/w_exp2.c: Do not include <float.h>.
14621 (o_threshold, u_threshold): Remove.
14622 (__exp2): Calculate result before checking finiteness and calling
14623 __kernel_standard.
14624 * math/w_exp2f.c: Likewise.
14625 * math/w_exp2l.c: Likewise.
14626 * math/libm-test.inc (exp2_test): Require overflow exception for
14627 1e6 input.
2460d3aa
JM
14628
14629 [BZ #3866]
14630 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14631 range of signed 64-bit integers before using fistpll. Remove
14632 checks for whether integers fit in mantissa bits.
14633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14634 the range of signed 32-bit integers before using fistpl. Remove
14635 checks for whether integers fit in mantissa bits.
14636 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14637 (__ieee754_powl): Test for y outside the range of signed 64-bit
14638 integers before using fistpll. Reduce 64-bit values to 63-bit
14639 ones as needed.
14640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14641 divide-by-zero is raised for zero to large negative powers.
14642 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14643 (__ieee754_powl): Test for y outside the range of signed 64-bit
14644 integers before using fistpll. Reduce 64-bit values to 63-bit
14645 ones as needed.
14646 * math/libm-test.inc (pow_test): Add more tests.
14647
eb96ffb0
L
146482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14649
14650 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14651 <stdio-common/_itoa.h>.
14652 * debug/segfault.c: Likewise.
14653 * elf/dl-cache.c: Likewise.
14654 * elf/dl-minimal.c: Likewise.
14655 * elf/dl-misc.c: Likewise.
14656 * elf/dl-sysdep.c: Likewise.
14657 * elf/dl-version.c: Likewise.
14658 * elf/rtld.c: Likewise.
14659 * hurd/hurdsock.c: Likewise.
14660 * hurd/lookup-retry.c: Likewise.
14661 * malloc/malloc.c: Likewise.
14662 * malloc/mtrace.c: Likewise.
14663 * nscd/nscd_getgr_r.c: Likewise.
14664 * nscd/nscd_getpw_r.c: Likewise.
14665 * nscd/nscd_getserv_r.c: Likewise.
14666 * posix/getopt_init.c: Likewise.
14667 * posix/wordexp.c: Likewise.
14668 * stdio-common/_itoa.c: Likewise.
14669 * stdio-common/printf_fphex.c: Likewise.
14670 * stdio-common/vfprintf.c: Likewise.
14671 * string/_strerror.c: Likewise.
14672 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14673 * sysdeps/i386/i686/hp-timing.h: Likewise.
14674 * sysdeps/mach/_strerror.c: Likewise.
14675 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14676 * sysdeps/mach/hurd/sethostid.c: Likewise.
14677 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14678 * sysdeps/mach/xpg-strerror.c: Likewise.
14679 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14681 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14682 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14683 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14684 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14685 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14686 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14687 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14688 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14689 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14690 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14692 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14693 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14695 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14697 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14698 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14699 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14700
14701 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14702
14703 * stdio-common/_itoa.h: Moved to ...
14704 * sysdeps/generic/_itoa.h: Here.
14705
14706 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14707
14708 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14709 instead of "_itoa.h" and "_itowa.h".
14710 * stdio-common/vfprintf.: Likewise.
14711
d1af992d
L
147122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14713
14714 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14715 <bits/wordsize.h>.
14716 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14717 (__signbit): Likwise.
14718 (llrintf): Likwise.
14719 (llrint): Likwise.
14720
114883e0
L
147212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14724 __WORDSIZE != 64.
14725
c135cc1b
JM
147262012-03-20 Joseph Myers <joseph@codesourcery.com>
14727
14728 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14729 OVERFLOW_EXCEPTION_OK.
14730 * math/libm-test.inc ("Philosophy"): Update comment about
14731 exception testing.
14732 (OVERFLOW_EXCEPTION): Define.
14733 (OVERFLOW_EXCEPTION_OK): Likewise.
14734 (INVALID_EXCEPTION_OK): Renumber.
14735 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14736 (IGNORE_ZERO_INF_SIGN): Likewise.
14737 (test_exceptions): Handle FE_OVERFLOW.
14738 (exp10_test): Expect overflow exceptions.
14739 (exp2_test): Likewise.
14740 (expm1_test): Likewise.
14741 (nextafter_test): Likewise.
14742 (pow_test): Likewise.
14743 (scalbn_test): Likewise.
14744 (scalbln_test): Likewise.
14745
95443d88
L
147462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 * sysdeps/x86_64/bits/atomic.h
14749 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14750 64bit integer.
14751 (atomic_exchange_acq): Likewise.
14752 (__arch_exchange_and_add_body): Likewise.
14753 (__arch_add_body): Likewise.
14754 (atomic_add_negative): Likewise.
14755 (atomic_add_zero): Likewise.
14756
490df6c4
L
147572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14758
c2722551 14759 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14760 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14761
5e52b189
L
147622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14763
14764 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14765 Check __x86_64__ instead of __WORDSIZE.
14766
a9879d4c
L
147672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14768
14769 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14770
5df98260
DM
147712012-03-19 David S. Miller <davem@davemloft.net>
14772
e1497744
DM
14773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14774
5df98260
DM
14775 * sysdeps/sparc/fpu/fenv_private.h: New file.
14776 * sysdeps/sparc/fpu/math_private.h: Use it.
14777 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14778 Remove.
14779 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14780 (libc_feholdexcept_setroundl): Remove.
14781 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14782 Remove.
14783 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14784 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14785
b4c35121
L
147862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14787
14788 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14789 int64_t instead of long int.
14790 (INSERT_WORDS64): Likwise.
14791
56965fd7
L
147922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14795 _Unwind_GetCFA return to _Unwind_Ptr first.
14796
83d1aec8
JM
147972012-03-19 Joseph Myers <joseph@codesourcery.com>
14798
1897ad44
JM
14799 [BZ #13629]
14800 * math/s_clog.c: Include <float.h>.
14801 (__clog): Scale large or subnormal inputs.
14802 * math/s_clogf.c: Likewise.
14803 * math/s_clogl.c: Likewise.
14804 * math/s_clog10.c: Include <float.h>.
14805 (M_LOG10_2): Define.
14806 (__clog10): Scale large or subnormal inputs.
14807 * math/s_clog10f.c: Likewise.
14808 * math/s_clog10l.c: Likewise.
14809 * math/libm-test.inc (clog_test): Add more tests.
14810 (clog10_test): Likewise.
14811 * sysdeps/i386/fpu/libm-test-ulps: Update.
14812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14813
7726d6a9
JM
14814 [BZ #11451]
14815 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14816 x and y.
14817 * math/libm-test.inc (atan2_test): Add another test.
14818
83d1aec8
JM
14819 * Makerules (common-objdir-compile): Remove.
14820 * sysdeps/unix/Makefile (config-generated): Do not add
14821 $(unix-generated) to variable.
14822 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14823 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14824 Remove rule.
14825 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14826 Likewise.
14827 [generic bits/local_lim.h] (before-compile): Do not append to
14828 variable.
14829 [generic bits/local_lim.h] (common-generated): Likewise.
14830 [generic sys/param.h] (before-compile): Do not append to variable.
14831 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14832 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14833 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14834 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14835 include.
14836 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14837 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14838 [generic sys/param.h] ($(addprefix
14839 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14840 [generic sys/param.h] (common-generated): Do not append to
14841 variable.
14842 [generic sys/param.h] (sysdep_headers): Likewise.
14843 [generic bits/errno.h] (before-compile): Do not append to
14844 variable.
14845 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14846 rule.
14847 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14848 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14849 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14850 [generic bits/errno.h] (common-generated): Do not append to
14851 variable.
14852 [generic bits/ioctls.h] (before-compile): Do not append to
14853 variable.
14854 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14855 rule.
14856 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14857 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14858 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14859 rule.
14860 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14861 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14862 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14863 [generic bits/ioctls.h] (common-generated): Do not append to
14864 variable.
14865 [generic sys/syscall.h] (syscall.h): Remove variable.
14866 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14867 rule.
14868 [generic sys/syscall.h] (before-compile): Do not append to
14869 variable.
14870 [generic sys/syscall.h] (common-generated): Likewise.
14871 * sysdeps/unix/errnos-tmpl.c: Remove file.
14872 * sysdeps/unix/errnos.awk: Likewise.
14873 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14874 * sysdeps/unix/ioctls.awk: Likewise.
14875 * sysdeps/unix/mk-local_lim.c: Likewise.
14876 * sysdeps/unix/snarf-ioctls: Likewise.
14877
4851a949
RH
148782012-03-19 Richard Henderson <rth@twiddle.net>
14879
bd37f2ee
RH
14880 * sysdeps/i386/fpu/fenv_private.h: New file.
14881 * sysdeps/i386/fpu/math_private.h: Use it.
14882 (math_opt_barrier, math_force_eval): Remove.
14883 (libc_feholdexcept_setround_53bit): Remove.
14884 (libc_feupdateenv_53bit): Remove.
14885 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14886 (math_opt_barrier, math_force_eval): Remove.
14887 (libc_feholdexcept): Remove.
14888 (libc_feholdexcept_setround): Remove.
14889 (libc_fetestexcept, libc_fesetenv): Remove.
14890 (libc_feupdateenv_test): Remove.
14891 (libc_feupdateenv, libc_feholdsetround): Remove.
14892 (libc_feresetround): Remove.
14893
d0adc922
RH
14894 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14895 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14896
0fe0f1f8
RH
14897 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14898 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14899 (libc_feupdateenv_testl): New.
14900 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14901 (libc_feupdateenv_testf): New.
14902 (libc_feupdateenv): Use libc_feupdateenv_test.
14903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14904 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14905
eb92c487
RH
14906 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14907 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14908 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14909 (libc_feresetround_noex): New.
14910 (libc_feresetround_noexf): New.
14911 (libc_feresetround_noexl): New.
14912 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14913 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14914 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14915 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14916 SET_RESTORE_ROUND.
14917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14918 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14919 (__cos): Likewise.
14920 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14921 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14922 SET_RESTORE_ROUND_NOEX.
14923 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14924 SET_RESTORE_ROUND_NOEXF.
14925 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14926 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14927 (libc_feholdsetroundf): New.
14928 (libc_feresetround, libc_feresetroundf): New.
14929
7d2e8012
RH
14930 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14931 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14932 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14933
b4dabbb4
RH
14934 * sysdeps/generic/math_private.h: Include <fenv.h>.
14935 (default_libc_feholdexcept): New.
14936 (default_libc_feholdexcept_setround): New.
14937 (default_libc_fesetenv, default_libc_feupdateenv): New.
14938 (libc_feholdexcept): Only define if undefined.
14939 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14940 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14941 (libc_feholdexcept_setroundl): Likewise.
14942 (libc_feholdexcept_setround_53bit): Likewise.
14943 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14944 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14945 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14946 (libc_feupdateenv_53bit): Likewise.
14947 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14948 (libc_feholdexcept): Convert from macro to inline function.
14949 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14950 (libc_fesetenv, libc_feupdateenv): Likewise.
14951
4851a949
RH
14952 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14953 not previously defined.
14954 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14955 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14956 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14957 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14958 * sysdeps/ieee754/flt-32/math_private.h: New file.
14959 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14960 math_private.h below SET_FLOAT_WORD.
14961 (__isnan, __isinf_ns, __finite): Remove.
14962 (__isnanf, __isinf_nsf, __finitef): Remove.
14963
e79d442e
AS
149642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14965
14966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14967
90b80344
DM
149682012-03-17 David S. Miller <davem@davemloft.net>
14969
14970 [BZ #6471]
14971 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14972 for 2.16.
14973
edc21804
DM
149742012-03-16 David S. Miller <davem@davemloft.net>
14975
77e927af
DM
14976 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14977 warnings.
14978
374976dd
DM
14979 [BZ #6471]
14980 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14981 properly.
14982 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14983 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14984 sysdep_routines when subdir is sysvipc.
14985 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14986 __getshmlba helper.
14987
edc21804
DM
14988 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14989
473c3ef3
L
149902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14991
14992 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14993 [__LP64__].
14994
eb0f39b6
L
149952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14996
14997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14998 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14999 (__lround): Renamed to ...
15000 (__llround): This. Replace long int with long long int.
15001 Define lround functions as aliases of llround functions.
15002 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15003
6b6cd74b
L
150042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15005
15006 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15007 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15008 adresses to uintptr_t. Replace "long int" and "unsigned long
15009 int" with "greg_t" on va_arg.
15010
f1a77b01
L
150112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15012
15013 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15014 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15015
15016 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15017 Move e_machine check before EI_CLASS check. Handle x32
15018 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15019 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15020 SKIP_EM_IA_64 and include
15021 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15022
15023 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15024 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15025 (add_system_dir): New macro.
15026
15027 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15028 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15029
11b90b9f
JM
150302012-03-16 Joseph Myers <joseph@codesourcery.com>
15031
c36e1d23
JM
15032 [BZ #2551]
15033 [BZ #2552]
15034 [BZ #2553]
15035 [BZ #2554]
15036 [BZ #2562]
15037 [BZ #2563]
15038 [BZ #2565]
15039 [BZ #2566]
15040 [BZ #2576]
15041 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15042 (y0): Likewise.
15043 * math/w_j0f.c (j0f): Likewise.
15044 (y0f): Likewise.
15045 * math/w_j0l.c (__j0l): Likewise.
15046 (__y0l): Likewise.
15047 * math/w_j1.c (j1): Likewise.
15048 (y1): Likewise.
15049 * math/w_j1f.c (j1f): Likewise.
15050 (y1f): Likewise.
15051 * math/w_j1l.c (__j1l): Likewise.
15052 (__y1l): Likewise.
15053 * math/w_jn.c (jn): Likewise.
15054 (yn): Likewise.
15055 * math/w_jnf.c (jnf): Likewise.
15056 (ynf): Likewise.
15057 * math/w_jnl.c (__jnl): Likewise.
15058 (__ynl): Likewise.
15059 * math/libm-test.inc (j0_test): Add more tests.
15060 (j1_test): Likewise.
15061 (jn_test): Likewise. Add trailing semicolon to existing test.
15062 (y0_test): Likewise.
15063 (y1_test): Likewise.
15064 * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066
11b90b9f
JM
15067 [BZ #13851]
15068 [BZ #13854]
15069 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15070 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15071 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15072 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15073 (__tanl): Set errno for infinite argument.
15074 * sysdeps/i386/fpu/mptan.c: Remove.
15075 * sysdeps/i386/fpu/s_tan.S: Likewise.
15076 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15077 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15078 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15079 * math/libm-test.inc (tan_test): Add more tests and enable more
15080 tests for double and long double.
15081 * sysdeps/i386/fpu/libm-test-ulps: Update.
15082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15083
6a1bd2a1
JK
150842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15085
15086 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15087 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15088
10a803e0
RM
150892012-03-16 Roland McGrath <roland@hack.frob.com>
15090
15091 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15092 * configure.in: Use it for both main tree and add-ons.
15093 * configure: Regenerated.
15094
f196c7f7
L
150952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15096
15097 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15098
8848d99d
JM
150992012-03-16 Joseph Myers <joseph@codesourcery.com>
15100
96cbe7f4
JM
15101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15102 in comment.
15103
8848d99d
JM
15104 [BZ #13851]
15105 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15106 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15110 infinite argument.
15111 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15113 != 0 for prec == 2.
15114 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15115 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15116 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15117 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15118 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15119 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15120 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15121 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15122 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15123 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15124 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15125 * math/libm-test.inc (cos_test): Add more tests and enable more
15126 tests for long double.
15127 (sin_test): Likewise.
15128 (sincos_test): Likewise.
15129 * sysdeps/i386/fpu/libm-test-ulps: Update.
15130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15131
dd7f4703
DM
151322012-03-16 David S. Miller <davem@davemloft.net>
15133
15134 * sysdeps/sparc/fpu/math_private.h: New file.
15135
006f1daa
DM
151362012-03-15 David S. Miller <davem@davemloft.net>
15137
c0c83bc8
DM
15138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15139 file.
e6a62e18 15140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15142 file.
e6a62e18
DM
15143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15149 sysdep routines.
15150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15151
88cb87d9
DM
15152 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15153 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15154
006f1daa 15155 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15157 sparc-ifunc.h
006f1daa 15158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15160 Likewise.
15161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15162 Likewise.
006f1daa
DM
15163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15167 Likewise.
006f1daa
DM
15168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15173 Likewise.
15174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15175 Likewise.
006f1daa
DM
15176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15200
11e0098e
AS
152012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15202
15203 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15204 scaling.
15205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15206
e85b09d0
AJ
152072012-03-15 Andreas Jaeger <aj@suse.de>
15208
15209 [BZ #13852]
15210 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15211 ieee754/flt-32 implementation for sin, cos and sincos.
15212 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15213 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15214 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15215 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15216 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15217 ieee754/flt-32 implementation for tan.
15218
15219 * math/libm-test.inc (cos_test): Enable some large input tests for
15220 float as well
15221 (sin_test): Likewise.
15222 (sincos_test): Likewise.
15223 (tan_test): Add tests for large input.
15224
15225 * sysdeps/i386/fpu/libm-test-ulps: Update.
15226
81c64153
AJ
152272012-03-15 Andreas Jaeger <aj@suse.de>
15228
15229 [BZ #13658]
15230 * math/libm-test.inc (cos_test): Add more test cases.
15231 (sin_test): Likewise.
15232 (sincos_test): Likewise.
15233
7bbfa5c6
AJ
152342012-03-15 Andreas Jaeger <aj@suse.de>
15235
15236 [BZ #13837]
15237 * math/libm-test.inc (cos_test): Add a test case for large input
15238 value.
15239 (sin_test): Likewise.
15240 (sincos_test): Likewise.
15241
152422012-03-15 Andreas Jaeger <aj@suse.de>,
15243 Joseph Myers <joseph@codesourcery.com>
15244
15245 [BZ #13658]
0671f479 15246 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15247 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15248 * sysdeps/i386/fpu/branred.c: Likewise.
15249 * sysdeps/i386/fpu/dosincos.c: Likewise.
15250 * sysdeps/i386/fpu/mpa.c: Likewise.
15251 * sysdeps/i386/fpu/s_cos.S: Likewise.
15252 * sysdeps/i386/fpu/s_sin.S: Likewise.
15253 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15254 * sysdeps/i386/fpu/sincos32.c: Likewise.
15255
15256 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15257 Define.
15258 (libc_feupdateenv_53bit): Define.
15259 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15260 Define.
15261 (libc_feupdateenv_53bit): Define.
15262
15263 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15264 53 bit (without extend i386 double precision).
15265
15266 * math/libm-test.inc (sincos_test): Add tests for large input.
15267 (sin): Likewise.
15268 (cos): Likewise.
15269
15270 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15271
9cad04ea
AS
152722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15273
15274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15275
f7062b9a
DM
152762012-03-15 David S. Miller <davem@davemloft.net>
15277
15278 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15279 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15280 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15281 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15294 file.
f7062b9a 15295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15297 file.
f7062b9a 15298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15300 file.
f7062b9a 15301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15303 file.
f7062b9a
DM
15304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15306 fmin/fmax sysdep routines.
15307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15308
7bd951ff
DM
153092012-03-14 David S. Miller <davem@davemloft.net>
15310
559398ab
DM
15311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15340 routines.
15341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15342 file.
559398ab 15343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15345 file.
559398ab 15346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15348 file.
559398ab 15349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15351 file.
559398ab 15352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15354 file.
559398ab 15355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15357 file.
15358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15359 file.
15360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15361 file.
15362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15363 file.
15364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15365 New file.
15366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15367 file.
15368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15369 file.
559398ab 15370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15372 file.
559398ab 15373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15375 file.
559398ab 15376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15378 file.
559398ab 15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15381 VIS3 routines.
559398ab
DM
15382
15383 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15384 New file.
15385
5a1c1e32
DM
15386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15387
eae47a36
DM
15388 * sysdeps/sparc/configure.in: New file.
15389 * sysdeps/sparc/configure: Generate.
15390 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15391 * configure: Regenerate.
15392 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15393 * config.make.in (have-as-vis3): New.
15394 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15395 available use -Av9d instead of -Av9a.
15396 * sysdeps/sparc/sparc64/Makefile: Likewise.
15397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15399 New file.
15400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15401 file.
15402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15403 New file.
15404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15405 file.
eae47a36
DM
15406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15411
c0c83bc8
DM
15412 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15413 fzeros/fnegs to load 0x80000000 into a float register instead of
15414 using the stack.
7bd951ff
DM
15415 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15416
bd951ccb
JM
154172012-03-14 Joseph Myers <joseph@codesourcery.com>
15418
15419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15420 bits/syscall.h.
15421 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15422 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15423 ($(inst_includedir)/bits/syscall.h): Remove rule.
15424 ($(objpfx)bits/syscall.d): Include instead of
15425 $(objpfx)syscall-list.d.
15426 (generated): Change syscall-list.h and syscall-list.d to
15427 bits/syscall.h and bits/syscall.d.
15428
bb4e6db2
RM
154292012-03-14 Roland McGrath <roland@hack.frob.com>
15430
15431 [BZ #13846]
15432 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15433
aa4a2ae1
JM
154342012-03-14 Joseph Myers <joseph@codesourcery.com>
15435
e456826d
JM
15436 [BZ #13841]
15437 * math/s_csqrt.c: Include <float.h>.
15438 (__csqrt): Scale large or subnormal inputs.
15439 * math/s_csqrtf.c: Likewise.
15440 * math/s_csqrtl.c: Likewise.
15441 * math/libm-test.inc (csqrt_test): Add more tests.
15442 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444
aa4a2ae1
JM
15445 [BZ #13840]
15446 * math/libm-test.inc (hypot_test): Add more tests.
15447
7c10fd35
DM
154482012-03-13 David S. Miller <davem@davemloft.net>
15449
15450 [BZ #13840]
15451 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15452 double-precision for the calculation instead of scaling.
15453
f453b98b
JM
154542012-03-13 Joseph Myers <joseph@codesourcery.com>
15455
15456 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15457 manipulate bits before adding and subtracting TWO52[sx].
15458 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15459 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15460 Likewise.
15461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15462
09a3453f
DM
154632012-03-13 David S. Miller <davem@davemloft.net>
15464
8e59da90
DM
15465 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15466 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15468 rtld-global-offsets.h
15469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15470
2a8ab7f2
DM
15471 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15472 large parameters.
15473
10f62770
DM
15474 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15475
5f0bdb18
DM
15476 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15477 'err' in the ifdef scope in which it is actually used.
15478
09a3453f
DM
15479 * nss/nss_db/db-init.c: Include string.h
15480
b4b2eb5e
DM
154812012-03-12 David S. Miller <davem@davemloft.net>
15482
98bb2f1c
DM
15483 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15484 masking out of the most significant byte of random value used.
15485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15486 Fix coding style in previous change.
15487
b4b2eb5e
DM
15488 * sysdeps/unix/sysv/linux/kernel-features.h
15489 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15490 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15491 expression.
15492 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15493 later.
15494
6e226b09
DM
154952012-03-11 David S. Miller <davem@davemloft.net>
15496
a1bcbd40
DM
15497 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15498 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15500 for 'resultvar' otherwise things get truncated on 64-bit.
15501
cb9d6174
DM
15502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15503 Fix masking out of the most significant byte of random value used.
15504
6e226b09
DM
15505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15506
058c132d
AS
155072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15508
15509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15510
2d2cd515
DM
155112012-03-09 David S. Miller <davem@davemloft.net>
15512
15513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15514 variables with appropriate CPP guards.
15515 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15516 frame pointer, not the stack pointer. Correct layout comments. Fix test
15517 on resulting framesize and the management of the outregs buffer for pltexit.
15518 Preserve floating point return values across _dl_call_pltexit call.
15519 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15520 framesize and the management of the outregs buffer for pltexit.
15521 Preserve floating point return values across _dl_call_pltexit
15522 call.
15523 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15524 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15525 (print_exit): Fix format string for return register value.
15526
9a07f9d0
JM
155272012-03-10 Joseph Myers <joseph@codesourcery.com>
15528
15529 * sunrpc/Makefile (others): Add rpcgen.
15530 ($(objpfx)rpcgen): Remove special build rule and dependency on
15531 libc.
15532 * sunrpc/rpcgen.c: New file.
15533
547b5e30
PE
155342012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15535
c524201a
PE
15536 [BZ #13673]
15537 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15538 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15539 * sysdeps/i386/crti.S: Likewise.
15540 * sysdeps/i386/crtn.S: Likewise.
15541 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15542 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15543 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15544 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15545 * sysdeps/sh/crti.S: Likewise.
15546 * sysdeps/sh/crtn.S: Likewise.
15547 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15548
7b6235f2
PE
15549 [BZ #13673]
15550 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15551 with URL.
15552 * locale/programs/locfile-kw.gperf: Likewise.
15553 * locale/programs/charmap-kw.h: Regenerated.
15554 * locale/programs/locfile-kw.h: Likewise.
15555
547b5e30
PE
15556 [BZ #13673]
15557 * intl/plural.y: Replace FSF snail mail address with URL.
15558 * intl/plural.c: Regenerated.
15559
5f0a5dae
RH
155602012-03-09 Richard Henderson <rth@twiddle.net>
15561
15562 * include/math_private.h: Remove file.
15563 * math/math_private.h: Move file ...
15564 * sysdeps/generic/math_private.h: ... here.
15565
b8c03620
RH
15566 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15567 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15568 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15569
4e234f5d 15570 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15571 and <math_private.h>.
15572 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15573 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15574 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15575 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15576 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15584 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15589 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15590 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15591 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15593 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15594 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15596 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15605 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15606 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15607 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15608 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15612 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15613 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15614 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15624 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15625 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15630 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15632 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15633 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15660 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15663 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15665 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15666 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15667 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15669 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15673 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15674 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15675 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15677 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15678 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15679 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15680 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15681 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15682 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15683 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15684 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15686 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15689 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15691 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15692 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15693 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15695 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15696 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15699 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15700 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15701 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15702 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15703 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15704 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15705 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15706 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15707 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15708 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15709 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15710 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15711 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15713 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15714 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15715 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15716 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15717 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15718 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15719 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15720 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15721 * sysdeps/ieee754/k_standard.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15841 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15842 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15844 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15849 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15854 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15870 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15871 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15882 * sysdeps/ieee754/s_lib_version.c: Likewise.
15883 * sysdeps/ieee754/s_matherr.c: Likewise.
15884 * sysdeps/ieee754/s_signgam.c: Likewise.
15885 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15886 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15887 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15888 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15889 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15890 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15891 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15892 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15893 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15894 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15895 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15896 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15897 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15898 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15899 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15901 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15902 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15906
1991fa03
JM
159072012-03-09 Joseph Myers <joseph@codesourcery.com>
15908
15909 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15910 * sunrpc/rpc_main.c: Likewise.
15911 * sunrpc/rpc_svcout.c: Likewise.
15912
60d6f5a6
DM
159132012-03-09 David S. Miller <davem@davemloft.net>
15914
15915 * include/math_private.h: New file.
15916
4962050e
JM
159172012-03-09 Joseph Myers <joseph@codesourcery.com>
15918
02a6f887
JM
15919 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15920 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15921 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15922 from <bits/socket_type.h>.
15923 (enum __socket_type): Don't define here.
15924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15926 bits/socket_type.h.
15927
c6e013c1
JM
15928 [BZ #13566]
15929 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15930 checking __USE_GNU.
15931
4962050e
JM
15932 * Makerules ($(inst_includedir)/%.h): New rule.
15933 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15934 (install-others): Remove variable setting.
15935 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15936
38842f45
RH
159372012-03-08 Richard Henderson <rth@twiddle.net>
15938
67bb6da6
RH
15939 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15940 from macro to inline function; merge with the
15941 !__LIBC_INTERNAL_MATH_INLINES version.
15942 (__ieee754_sqrtf): Likewise.
15943
15194b4b
RH
15944 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15945 to inline function.
15946 (__rintf, __floor, __floorf): Likewise.
15947
64e21ede
RH
15948 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15949 macro to inline function.
15950 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15951
38842f45
RH
15952 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15953 not <math/math_private.h>.
15954
c64bf5fe
DM
159552012-03-08 David S. Miller <davem@davemloft.net>
15956
15957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15958 copyright year.
15959 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15960
82d86f28
TS
159612012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15962
15963 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15964 normalization.
15965 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15966 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15967
aea5d727
UD
159682012-03-08 Ulrich Drepper <drepper@gmail.com>
15969
15970 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15971 be defined individually, they must be defined as a block. Define
15972 S for printing a string instead of hidint the different by using a
15973 macro for adding the 'l'.
15974 * stdio-common/tst-fphex-wide.c: Adjust.
15975
70bca0a3
MP
159762012-03-07 Marek Polacek <polacek@redhat.com>
15977
15978 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15979
65b81130
MP
159802012-03-08 Marek Polacek <polacek@redhat.com>
15981
15982 [BZ #13806]
15983 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15984 * stdio-common/tst-fphex.c: Define a few macros to make the
15985 test reusable. Use them.
15986 * stdio-common/tst-fphex-wide.c: New file.
15987
07037eeb
JM
159882012-03-08 Joseph Myers <joseph@codesourcery.com>
15989
a7a93d50
JM
15990 [BZ #6911]
15991 * manual/macros.texi (gnusystems): New macro.
15992 (nongnusystems): Likewise.
15993 (gnulinuxhurdsystems): Likewise.
15994 (gnuhurdsystems): Likewise..
15995 (gnulinuxsystems): Likewise.
15996 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15997 variants of the GNU system, not "GNU system".
15998 * manual/conf.texi: Likewise.
15999 * manual/errno.texi: Likewise. Update example of errno macro
16000 expansion.
16001 * manual/filesys.texi: Likewise.
16002 (getumask): Document as specific to GNU/Hurd.
16003 * manual/install.texi: Likewise. Reword some references to
16004 GNU/Linux.
16005 * manual/intro.texi: Likewise.
16006 * manual/io.texi: Likewise.
16007 (File Name Portability): Detail which constraints are inapplicable
16008 to all GNU systems and which are only inapplicable to GNU/Hurd.
16009 * manual/job.texi: Likewise.
16010 * manual/llio.texi: Likewise.
16011 (O_NOCTTY): Document as present on GNU/Linux.
16012 * manual/maint.texi: Likewise.
16013 * manual/memory.texi: Likewise.
16014 * manual/pattern.texi: Likewise.
16015 * manual/pipe.texi: Likewise.
16016 * manual/process.texi: Likewise.
16017 * manual/resource.texi: Likewise.
16018 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16019 child on GNU/Hurd.
16020 * manual/setjmp.texi: Likewise.
16021 * manual/signal.texi: Likewise.
16022 * manual/startup.texi: Likewise.
16023 * manual/stdio.texi: Likewise.
16024 * manual/terminal.texi: Likewise.
16025 (ONLCR): Document as POSIX.
16026 (OXTABS): Document availability on GNU/Linux as XTABS.
16027 (ONOEOT): Document availability separately from other bits.
16028 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16029 * manual/time.texi: Likewise.
16030 * manual/users.texi: Likewise.
16031 * INSTALL: Regenerated.
16032 * sysdeps/gnu/errlist.c: Regenerated.
16033
07037eeb
JM
16034 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16035 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16036 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16037 puts.
16038 * configure: Regenerated.
16039
d1d3431a
JM
160402012-03-07 Joseph Myers <joseph@codesourcery.com>
16041
af6a1e37
JM
16042 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16043 default includes instead of AC_HEADER_CHECK.
16044 * sysdeps/i386/configure: Regenerated.
16045
d1d3431a
JM
16046 [BZ #10716]
16047 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16048 * math/s_cacoshf.c (__cacoshf): Likewise.
16049 * math/s_cacoshl.c (__cacoshl): Likewise.
16050 * math/s_casinh.c (__casinh): Set signs of result from argument.
16051 * math/s_casinhf.c (__casinhf): Likewise.
16052 * math/s_casinhl.c (__casinhl): Likewise.
16053 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16054 (casinh_test): Add more tests.
16055 * sysdeps/i386/fpu/libm-test-ulps: Update.
16056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16057
482ff4da
UD
160582012-03-07 Ulrich Drepper <drepper@gmail.com>
16059
872fda05
UD
16060 * po/zh_TW.po: Update from translation team.
16061
a4300c7a
UD
16062 * login/Makefile (distribute): Remove variable.
16063 * catgets/Makefile: Likewise.
16064 * mach/Makefile: Likewise.
16065 * malloc/Makefile: Likewise.
16066 * misc/Makefile: Likewise.
16067 * iconv/Makefile: Likewise.
16068 * nscd/Makefile: Likewise.
16069 * hurd/Makefile: Likewise.
16070 * manual/Makefile: Likewise.
16071 * locale/Makefile: Likewise.
16072 * intl/Makefile: Likewise.
16073 * conform/Makefile: Likewise.
16074 * nss/Makefile: Likewise.
16075 * time/Makefile: Likewise.
16076 * soft-fp/Makefile: Likewise.
16077 * dirent/Makefile: Likewise.
16078 * gmon/Makefile: Likewise.
16079 * po/Makefile: Likewise.
16080 * rt/Makefile: Likewise.
16081 * socket/Makefile: Likewise.
16082 * math/Makefile: Likewise.
16083 * signal/Makefile: Likewise.
16084 * debug/Makefile: Likewise.
16085 * elf/Makefile: Likewise.
16086 * timezone/Makefile: Likewise.
16087 * stdlib/Makefile: Likewise.
16088 * iconvdata/Makefile: Likewise.
16089 * sunrpc/Makefile: Likewise.
16090 * io/Makefile: Likewise.
16091 * argp/Makefile: Likewise.
16092 * inet/Makefile: Likewise.
16093 * hesiod/Makefile: Likewise.
16094 * grp/Makefile: Likewise.
16095 * csu/Makefile: Likewise.
16096 * wctype/Makefile: Likewise.
16097 * crypt/Makefile: Likewise.
16098 * libio/Makefile: Likewise.
16099 * string/Makefile: Likewise.
16100 * nis/Makefile: Likewise.
16101 * resolv/Makefile: Likewise.
16102 * stdio-common/Makefile: Likewise.
16103 * wcsmbs/Makefile: Likewise.
16104 * dlfcn/Makefile: Likewise.
16105 * posix/Makefile: Likewise.
16106
3b7c4e74 16107 [BZ #6959]
482ff4da
UD
16108 * timezone/Makefile: Don't install timezone files, just the programs
16109 and scripts.
16110
f72ed77d
UD
161112012-03-06 Ulrich Drepper <drepper@gmail.com>
16112
a000466f
UD
16113 * nss/databases.def: Add missing gshadow entry.
16114
f72ed77d
UD
16115 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16116
a53b7a4e
MP
161172012-03-06 Marek Polacek <polacek@redhat.com>
16118
16119 [BZ #13726]
16120 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16121 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16122 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16123 * stdio-common/tst-long-dbl-fphex.c: New file.
16124
e9258400
DM
161252012-03-06 David S. Miller <davem@davemloft.net>
16126
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16128 (set_obp_int): New function.
16129 (get_obp_int): New function.
16130 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16132 Avoid unused variable warnings on 'val' and use builtin_expect.
16133 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16134 __builtin_expect.
e9258400
DM
16135 (INLINE_CLONE_SYSCALL): Likewise.
16136
3bd2c723
DM
161372012-03-05 David S. Miller <davem@davemloft.net>
16138
16139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16140
bbb78d03
AS
161412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16142
884c5db4
AS
16143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16144
bbb78d03
AS
16145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16146 only for |x| >= 40.
16147 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16148
1c9f702a 161492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16150
16151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16152 Replace gettimeofday with __vdso_gettimeofday.
16153
7be16f82
RM
16154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16155 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16156 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16157
16158 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16159 time with __vdso_time.
16160
ed58a00f
JM
161612012-03-05 Joseph Myers <joseph@codesourcery.com>
16162
16163 * manual/lang.texi (size_t): Note types to which size_t may be
16164 equivalent with the GNU C Library, but do not describe when
16165 differences between them are significant.
16166
30ee4ced
AJ
161672012-03-05 Andreas Jaeger <aj@suse.de>
16168
16169 * sysdeps/i386/fpu/libm-test-ulps: Update.
16170
b7cd39e8
JM
161712012-03-05 Joseph Myers <joseph@codesourcery.com>
16172
16173 [BZ #3976]
16174 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16175 (__ieee754_pow): Save and restore rounding mode and use
16176 round-to-nearest for main computations.
16177 * math/libm-test.inc (pow_test_tonearest): New function.
16178 (pow_test_towardzero): Likewise.
16179 (pow_test_downward): Likewise.
16180 (pow_test_upward): Likewise.
16181 (main): Call the new functions.
16182 * sysdeps/i386/fpu/libm-test-ulps: Update.
16183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16184
16185 [BZ #3976]
16186 * math/libm-test.inc (cosh_test_tonearest): New function.
16187 (cosh_test_towardzero): Likewise.
16188 (cosh_test_downward): Likewise.
16189 (cosh_test_upward): Likewise.
16190 (sinh_test_tonearest): Likewise.
16191 (sinh_test_towardzero): Likewise.
16192 (sinh_test_downward): Likewise.
16193 (sinh_test_upward): Likewise.
16194 (main): Call the new functions.
16195 * sysdeps/i386/fpu/libm-test-ulps: Update.
16196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16197
6c6a98c9
TV
161982012-03-05 Tom de Vries <tom@codesourcery.com>
16199
16200 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16201 default stack guard is set in last bytes.
16202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16203
21bb2d2e 162042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16205
21bb2d2e 16206 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16207
21bb2d2e
AJ
16208 [BZ #13656]
16209 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16210 possibly allocate from heap instead of stack.
16211 * stdio-common/bug-vfprintf-nargs.c: New file.
16212 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16213
c6922934
AS
162142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16215
16216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16217
bc957d53
MP
162182012-03-03 Marek Polacek <polacek@redhat.com>
16219
16220 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16221 * math/math_private.h: Likewise.
16222 * stdlib/tst-strtod.c: Likewise.
16223 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16224 * sysdeps/x86_64/bits/atomic.h: Likewise.
16225
6358490d
DM
162262012-03-02 David S. Miller <davem@davemloft.net>
16227
16228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16232 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16233 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16234 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16235 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16236
01ae168d
RM
162372012-03-02 Roland McGrath <roland@hack.frob.com>
16238
d9a17c07
RM
16239 [BZ #13792]
16240 * manual/examples/README: New file, says the example source files
16241 can be used under GPL>=2.
16242 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16243 line containing just "*/".
16244 * manual/examples/add.c: Add copyright header (GPL>=2).
16245 * manual/examples/argp-ex1.c: Likewise.
16246 * manual/examples/argp-ex2.c: Likewise.
16247 * manual/examples/argp-ex3.c: Likewise.
16248 * manual/examples/argp-ex4.c: Likewise.
16249 * manual/examples/atexit.c: Likewise.
16250 * manual/examples/db.c: Likewise.
16251 * manual/examples/dir.c: Likewise.
16252 * manual/examples/dir2.c: Likewise.
16253 * manual/examples/execinfo.c: Likewise.
16254 * manual/examples/filecli.c: Likewise.
16255 * manual/examples/filesrv.c: Likewise.
16256 * manual/examples/fmtmsgexpl.c: Likewise.
16257 * manual/examples/genpass.c: Likewise.
16258 * manual/examples/inetcli.c: Likewise.
16259 * manual/examples/inetsrv.c: Likewise.
16260 * manual/examples/isockad.c: Likewise.
16261 * manual/examples/longopt.c: Likewise.
16262 * manual/examples/memopen.c: Likewise.
16263 * manual/examples/memstrm.c: Likewise.
16264 * manual/examples/mkfsock.c: Likewise.
16265 * manual/examples/mkisock.c: Likewise.
16266 * manual/examples/mygetpass.c: Likewise.
16267 * manual/examples/pipe.c: Likewise.
16268 * manual/examples/popen.c: Likewise.
16269 * manual/examples/rprintf.c: Likewise.
16270 * manual/examples/search.c: Likewise.
16271 * manual/examples/select.c: Likewise.
16272 * manual/examples/setjmp.c: Likewise.
16273 * manual/examples/sigh1.c: Likewise.
16274 * manual/examples/sigusr.c: Likewise.
16275 * manual/examples/stpcpy.c: Likewise.
16276 * manual/examples/strdupa.c: Likewise.
16277 * manual/examples/strftim.c: Likewise.
16278 * manual/examples/strncat.c: Likewise.
16279 * manual/examples/subopt.c: Likewise.
16280 * manual/examples/swapcontext.c: Likewise.
16281 * manual/examples/termios.c: Likewise.
16282 * manual/examples/testopt.c: Likewise.
16283 * manual/examples/testpass.c: Likewise.
16284 * manual/examples/timeval_subtract.c: Likewise.
16285
01ae168d
RM
16286 [BZ #13792]
16287 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16288 function to ...
16289 * manual/timeval_subtract.c.texi: ... here, new file.
16290
49efa33d
DM
162912012-03-02 David S. Miller <davem@davemloft.net>
16292
16293 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16294
28afd92d
JM
162952012-03-02 Joseph Myers <joseph@codesourcery.com>
16296
804360ed
JM
16297 [BZ #3976]
16298 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16299 (__sin): Save and restore rounding mode and use round-to-nearest
16300 for all computations.
16301 (__cos): Save and restore rounding mode and use round-to-nearest
16302 for all computations.
16303 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16304 <fenv.h>.
16305 (tan): Save and restore rounding mode and use round-to-nearest for
16306 all computations.
16307 * math/libm-test.inc (cos_test_tonearest): New function.
16308 (cos_test_towardzero): Likewise.
16309 (cos_test_downward): Likewise.
16310 (cos_test_upward): Likewise.
16311 (sin_test_tonearest): Likewise.
16312 (sin_test_towardzero): Likewise.
16313 (sin_test_downward): Likewise.
16314 (sin_test_upward): Likewise.
16315 (tan_test_tonearest): Likewise.
16316 (tan_test_towardzero): Likewise.
16317 (tan_test_downward): Likewise.
16318 (tan_test_upward): Likewise.
16319 (main): Call the new functions.
16320 * sysdeps/i386/fpu/libm-test-ulps: Update.
16321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16322
a6d06d7b
JM
16323 [BZ #10135]
16324 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16325 small n, then large n, before computing and testing k+n.
16326 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16328 Likewise.
16329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16330 Likewise.
16331 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16332 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16339 * math/libm-test.inc (scalbn_test): Add more tests.
16340 (scalbln_test): Likewise.
16341
07e12bb3
JM
16342 * manual/filesys.texi (mode_t): Describe constraints on size and
16343 signedness, not exact equivalence to a particular type.
16344 (ino_t): Likewise.
16345 (ino64_t): Likewise.
16346 (dev_t): Likewise.
16347 (nlink_t): Likewise.
16348 (blkcnt_t): Likewise.
16349 (blkcnt64_t): Likewise.
16350 * manual/llio.texi (off_t): Likewise.
16351
28afd92d
JM
16352 [BZ #3976]
16353 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16354 (__ieee754_exp): Save and restore rounding mode and use
16355 round-to-nearest for all computations.
16356 * math/libm-test.inc (exp_test_tonearest): New function.
16357 (exp_test_towardzero): Likewise.
16358 (exp_test_downward): Likewise.
16359 (exp_test_upward): Likewise.
16360 (main): Call the new functions.
16361 * sysdeps/i386/fpu/libm-test-ulps: Update.
16362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363
b1eeb65d
CD
163642012-03-01 Chris Demetriou <cgd@google.com>
16365
16366 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16367 have predictable order.
16368
53362a4b
DM
163692012-03-01 David S. Miller <davem@davemloft.net>
16370
3c969083
DM
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16372
759707de
DM
16373 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16374 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16375 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16376 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16377
dfdb8ff2
DM
16378 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16379 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16380 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16382 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16383 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16384 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16385 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16386 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16387
ead89f96
DM
16388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16389
7f66bd07
DM
16390 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16391 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16393
53362a4b
DM
16394 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16395 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16396 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16397 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16398 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16401 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16402 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16403 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16404 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16410 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16411 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16412 * sysdeps/sparc/elf/configure: Regenerated.
16413
7b1902cb
JM
164142012-03-01 Joseph Myers <joseph@codesourcery.com>
16415
bec039bc
JM
16416 * configure.in (AS, LD): Require binutils 2.20 or later.
16417 * configure: Regenerated.
16418 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16419 as required minimum version.
16420 * INSTALL: Regenerated.
16421
7b1902cb
JM
16422 [BZ #2541]
16423 [BZ #4108]
16424 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16425 before squaring exponent.
16426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16427 bottom long double and 27 bits of top long double before squaring
16428 exponent.
16429 * math/libm-test.inc (erfc_test): Add more tests.
16430 * sysdeps/i386/fpu/libm-test-ulps: Update.
16431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16433
f775c276
KT
164342012-03-01 Kai Tietz <ktietz@redhat.com>
16435
16436 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16437 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16438 containing bit-fields.
16439 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16440 * soft-fp/single.h (_FP_UNION_S): Likewise.
16441 * soft-fp/double.h (_FP_UNION_D): Likewise.
16442
5b8a4d4a
JM
164432012-02-29 Joseph Myers <joseph@codesourcery.com>
16444
0bab47b6
JM
16445 [BZ #13786]
16446 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16447 not include ../strcmp.S.
16448 [USE_AS_STRNCASECMP_L]: Likewise.
16449 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16450 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16451 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16452 (__strncasecmp_l_ia32): Define as alias to
16453 __strncasecmp_l_nonascii.
16454
0fcad3e2
JM
16455 [BZ #5794]
16456 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16457 * sysdeps/i386/fpu/libm-test-ulps: Update.
16458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459
5b8a4d4a
JM
16460 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16462
8fdceb2e
JL
164632012-02-29 Jeff Law <law@redhat.com>
16464
16465 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16466 out of bounds read.
16467
1f393a11
MP
164682012-02-29 Marek Polacek <polacek@redhat.com>
16469
16470 [BZ #13706]
16471 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16472 * elf/Makefile: Add rules to run tst-unused-dep.out.
16473
8847f037
DM
164742012-02-28 David S. Miller <davem@davemloft.net>
16475
16476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16480 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16481 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16482
169d7f11
JM
164832012-02-29 Joseph Myers <joseph@codesourcery.com>
16484
16485 * math/libm-test.inc (llround_test): Move one test from
16486 lround_test. Use TEST_f_L in moved test.
16487 (lround_test): Move misplaced test to llround_test. Add testcase
16488 from bug 2561.
16489
39adf059
UD
164902012-02-28 Ulrich Drepper <drepper@gmail.com>
16491
16492 * sysdeps/x86_64/fpu/e_expf.S: New file.
16493 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16494
71b5d1c5
SB
164952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16496
16497 [BZ #13637]
16498 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16499 of remain_len that may cause incomplete multi-byte character and
16500 false match.
16501 * posix/bug-regex33.c: New file.
16502 * posix/Makefile (tests): Add bug-regex33.
16503
1f77f049
JM
165042012-02-28 Joseph Myers <joseph@codesourcery.com>
16505
16506 * manual/macros.texi: New file.
16507 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16508 * manual/libc.texinfo: Include macros.texi.
16509 * manual/creatute.texi: Likewise.
16510 * manual/install.texi: Likewise.
16511 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16512 @glibcadj{} in references to the GNU C Library.
16513 * manual/charset.texi: Likewise.
16514 * manual/conf.texi: Likewise.
16515 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16516 when not using those macros.
16517 * manual/creature.texi: Likewise.
16518 * manual/crypt.texi: Likewise.
16519 * manual/errno.texi: Likewise.
16520 * manual/filesys.texi: Likewise.
16521 * manual/header.texi: Likewise.
16522 * manual/install.texi: Likewise.
16523 * manual/intro.texi: Likewise.
16524 * manual/io.texi: Likewise.
16525 * manual/job.texi: Likewise.
16526 * manual/lang.texi: Likewise.
16527 * manual/libc.texiinfo: Likewise.
16528 * manual/llio.texi: Likewise.
16529 * manual/locale.texi: Likewise.
16530 * manual/maint.texi: Likewise.
16531 * manual/math.texi: Likewise.
16532 * manual/memory.texi: Likewise.
16533 * manual/message.texi: Likewise.
16534 * manual/nss.texi: Likewise.
16535 * manual/pattern.texi: Likewise.
16536 * manual/process.texi: Likewise.
16537 * manual/resource.texi: Likewise.
16538 * manual/search.texi: Likewise.
16539 * manual/setjmp.texi: Likewise.
16540 * manual/signal.texi: Likewise.
16541 * manual/socket.texi: Likewise.
16542 * manual/startup.texi: Likewise.
16543 * manual/stdio.texi: Likewise.
16544 * manual/string.texi: Likewise.
16545 * manual/sysinfo.texi: Likewise.
16546 * manual/syslog.texi: Likewise.
16547 * manual/terminal.texi: Likewise.
16548 * manual/time.texi: Likewise.
16549 * manual/users.texi: Likewise.
16550 * INSTALL: Regenerated.
16551 * NOTES: Regenerated.
d40c5d54 16552 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16553
450bf206
AS
165542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16555
16556 * include/dirent.h: Include <dirstream.h> before
16557 <dirent/dirent.h>.
16558
741a235b
DM
165592012-02-28 David S. Miller <davem@davemloft.net>
16560
16561 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16562 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16563 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16564 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16565
d6b5aa58
DM
165662012-02-27 David S. Miller <davem@davemloft.net>
16567
1aff59a3
DM
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16570 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16571 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16572
d6b5aa58
DM
16573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16574 frame pointer instead of stack pointer relative arg slot.
16575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16578
433f48bf
CD
165792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16580
16581 [BZ #3992]
16582 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16583
d674b76d
DM
165842012-02-27 David S. Miller <davem@davemloft.net>
16585
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16590 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16591 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16592 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16593 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16594
0e7727f7
JM
165952012-02-27 Joseph Myers <joseph@codesourcery.com>
16596
16597 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16598 later. Allow versions 5-9.
43be4ca2 16599 * configure: Regenerated.
0e7727f7
JM
16600 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16601 required minimum version and 4.6 as recommended version. Do not
16602 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16603 * INSTALL: Regenerated.
0e7727f7 16604
a78bc654
DM
166052012-02-27 David S. Miller <davem@davemloft.net>
16606
428d5830
DM
16607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16613 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16614 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16615
a78bc654
DM
16616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16617 manipulate bits before adding and subtracting TWO112[sx].
16618 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16619
4579f81c
RM
166202012-02-27 Roland McGrath <roland@hack.frob.com>
16621
36c8acb4
RM
16622 [BZ #13775]
16623 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16624 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16625 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16626 being in POSIX, because they are in 1003.1-2008.
16627
84ad622b
RM
16628 * rt/tst-aio.c: Include <fcntl.h>.
16629 * rt/tst-aio7.c: Likewise.
16630 * rt/tst-aio64.c: Likewise.
16631
4579f81c
RM
16632 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16633
abd923db
JM
166342012-02-27 Joseph Myers <joseph@codesourcery.com>
16635
16636 * manual/install.texi (--with-headers): Describe headers as
16637 interface headers, not private headers.
16638 (Specific advice for GNU/Linux systems): Describe use of headers
16639 from "make headers_install", not private headers from older
16640 kernels.
43be4ca2 16641 * INSTALL: Regenerated.
abd923db
JM
16642 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16643 Change to 2.6.19.
16644 * sysdeps/unix/sysv/linux/configure: Regenerated.
16645
6664049b
JM
16646 * manual/llio.texi (fclean): Remove documentation.
16647
bb8b6697
JM
16648 * manual/Makefile (libc-texi-generated): New variable. Include
16649 version.texi.
16650 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16651 $(libc-texi-generated), not duplicated list of files.
16652 (version.texi, stamp-version): New rules.
16653 (realclean): Remove $(libc-texi-generated), not individual files
16654 from that list. Do not remove dir-add.texinfo.
16655 * manual/libc.texinfo: Comment out uses of edition numbers and
16656 references to printed manual. Remove last-updated dates.
16657 (EDITION): Comment out.
16658 (ISBN): Likewise.
16659 (VERSION, UPDATED): Remove.
16660 (version.texi): Include.
16661
12e5c3b9
AS
166622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16663
16664 * sysdeps/posix/spawni.c: Include <signal.h>.
16665 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16666 * sysdeps/pthread/aio_fsync.c: Likewise.
16667
4efeffc1 166682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16669
ba63ba08
UD
16670 * conform/Makefile (tests): Run only when not cross-compiling and
16671 when fast-check is not defined.
16672
d94a4670
UD
16673 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16674 * conform/data/limits.h-data: Fixes for POSIX2008.
16675 * conform/run-conformtest.sh: Run all tests.
16676 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16677 headers.
16678 * include/bits/dlfcn.h: Likewise.
16679 * include/langinfo.h: Likewise.
16680 * include/monetary.h: Likewise.
16681 * include/sys/poll.h: Likewise.
16682
16683 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16684 for __USE_GNU.
16685 * posix/spawn.h: Define __need_sigset_t.
16686 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16687 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16688 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16689 to get sigevent_t only.
16690 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16691 only for __USE_GNU.
16692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16693 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16694 process_vm_writev only for __USE_GNU.
16695 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16696
16697 * conform/Makefile: For now ignore errors from run-conformtest.
16698 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16699 POSIX to avoid namespace pollution. Don't prepend headers.
16700 * conform/data/aio.h-data: Fixes for POSIX testing.
16701 * conform/data/fcntl.h-data: Likewise.
16702 * conform/data/glob.h-data: Likewise.
16703 * conform/data/grp.h-data: Likewise.
16704 * conform/data/pthread.h-data: Likewise.
16705 * conform/data/pwd.h-data: Likewise.
16706 * conform/data/signal.h-data: Likewise.
16707 * conform/data/spawn.h-data: Likewise.
16708 * conform/data/stdio.h-data: Likewise.
16709 * conform/data/stdlib.h-data: Likewise.
16710 * conform/data/stropts.h-data: Likewise.
16711 * conform/data/sys/mman.h-data: Likewise.
16712 * conform/data/sys/stat.h-data: Likewise.
16713 * conform/data/sys/types.h-data: Likewise.
16714 * conform/data/sys/wait.h-data: Likewise.
16715 * conform/data/time.h-data: Likewise.
16716 * conform/data/unistd.h-data: Likewise.
16717 * conform/data/utime.h-data: Likewise.
16718
16719 * io/sys/stat.h: fchmod was always in POSIX.
16720 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16721 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16722 * rt/aio.h: Define __need_timespec before including <time.h>.
16723 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16724 struct. Add forward declaration of pthread_attr_t and use it in
16725 sigevent.
16726 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16727 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16728 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16729 always remove CLK_TCK definition.
16730
c20105c3
AS
167312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16732
16733 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16734
7a270350
UD
167352012-02-25 Ulrich Drepper <drepper@gmail.com>
16736
31341567
UD
16737 * conform/run-conformtest.sh: New file.
16738 * conform/Makefile: Run run-conformtest for tests.
16739 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16740 support.
16741
16742 * conform/data/uchar.h-data: New file.
16743 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16744 * conform/data/arpa/inet.h-data: Likewise.
16745 * conform/data/assert.h-data: Likewise.
16746 * conform/data/complex.h-data: Likewise.
16747 * conform/data/cpio.h-data: Likewise.
16748 * conform/data/ctype.h-data: Likewise.
16749 * conform/data/dirent.h-data: Likewise.
16750 * conform/data/dlfcn.h-data: Likewise.
16751 * conform/data/errno.h-data: Likewise.
16752 * conform/data/fcntl.h-data: Likewise.
16753 * conform/data/float.h-data: Likewise.
16754 * conform/data/fmtmsg.h-data: Likewise.
16755 * conform/data/fnmatch.h-data: Likewise.
16756 * conform/data/ftw.h-data: Likewise.
16757 * conform/data/glob.h-data: Likewise.
16758 * conform/data/grp.h-data: Likewise.
16759 * conform/data/iconv.h-data: Likewise.
16760 * conform/data/inttypes.h-data: Likewise.
16761 * conform/data/langinfo.h-data: Likewise.
16762 * conform/data/libgen.h-data: Likewise.
16763 * conform/data/limits.h-data: Likewise.
16764 * conform/data/locale.h-data: Likewise.
16765 * conform/data/math.h-data: Likewise.
16766 * conform/data/monetary.h-data: Likewise.
16767 * conform/data/mqueue.h-data: Likewise.
16768 * conform/data/ndbm.h-data: Likewise.
16769 * conform/data/net/if.h-data: Likewise.
16770 * conform/data/netdb.h-data: Likewise.
16771 * conform/data/netinet/in.h-data: Likewise.
16772 * conform/data/nl_types.h-data: Likewise.
16773 * conform/data/poll.h-data: Likewise.
16774 * conform/data/pthread.h-data: Likewise.
16775 * conform/data/pwd.h-data: Likewise.
16776 * conform/data/regex.h-data: Likewise.
16777 * conform/data/sched.h-data: Likewise.
16778 * conform/data/search.h-data: Likewise.
16779 * conform/data/semaphore.h-data: Likewise.
16780 * conform/data/setjmp.h-data: Likewise.
16781 * conform/data/signal.h-data: Likewise.
16782 * conform/data/spawn.h-data: Likewise.
16783 * conform/data/stdarg.h-data: Likewise.
16784 * conform/data/stdio.h-data: Likewise.
16785 * conform/data/stdlib.h-data: Likewise.
16786 * conform/data/string.h-data: Likewise.
16787 * conform/data/strings.h-data: Likewise.
16788 * conform/data/stropts.h-data: Likewise.
16789 * conform/data/sys/ipc.h-data: Likewise.
16790 * conform/data/sys/mman.h-data: Likewise.
16791 * conform/data/sys/msg.h-data: Likewise.
16792 * conform/data/sys/resource.h-data: Likewise.
16793 * conform/data/sys/select.h-data: Likewise.
16794 * conform/data/sys/sem.h-data: Likewise.
16795 * conform/data/sys/shm.h-data: Likewise.
16796 * conform/data/sys/socket.h-data: Likewise.
16797 * conform/data/sys/stat.h-data: Likewise.
16798 * conform/data/sys/statvfs.h-data: Likewise.
16799 * conform/data/sys/time.h-data: Likewise.
16800 * conform/data/sys/timeb.h-data: Likewise.
16801 * conform/data/sys/times.h-data: Likewise.
16802 * conform/data/sys/types.h-data: Likewise.
16803 * conform/data/sys/uio.h-data: Likewise.
16804 * conform/data/sys/un.h-data: Likewise.
16805 * conform/data/sys/utsname.h-data: Likewise.
16806 * conform/data/sys/wait.h-data: Likewise.
16807 * conform/data/syslog.h-data: Likewise.
16808 * conform/data/tar.h-data: Likewise.
16809 * conform/data/termios.h-data: Likewise.
16810 * conform/data/utime.h-data: Likewise.
16811 * conform/data/utmpx.h-data: Likewise.
16812 * conform/data/varargs.h-data: Likewise.
16813 * conform/data/wchar.h-data: Likewise.
16814 * conform/data/wctype.h-data: Likewise.
16815 * conform/data/wordexp.h-data: Likewise.
16816
16817 * include/stropts.h: New file.
16818 * include/uchar.h: New file.
16819 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16820 * include/assert.h: Likewise.
16821 * include/ctype.h: Likewise.
16822 * include/dirent.h: Likewise.
16823 * include/dlfcn.h: Likewise.
16824 * include/fcntl.h: Likewise.
16825 * include/fnmatch.h: Likewise.
16826 * include/glob.h: Likewise.
16827 * include/grp.h: Likewise.
16828 * include/libio.h: Likewise.
16829 * include/locale.h: Likewise.
16830 * include/math.h: Likewise.
16831 * include/net/if.h: Likewise.
16832 * include/netdb.h: Likewise.
16833 * include/netinet/in.h: Likewise.
16834 * include/pthread.h: Likewise.
16835 * include/pwd.h: Likewise.
16836 * include/regex.h: Likewise.
16837 * include/sched.h: Likewise.
16838 * include/search.h: Likewise.
16839 * include/setjmp.h: Likewise.
16840 * include/signal.h: Likewise.
16841 * include/stdio.h: Likewise.
16842 * include/stdlib.h: Likewise.
16843 * include/string.h: Likewise.
16844 * include/sys/cdefs.h: Likewise.
16845 * include/sys/mman.h: Likewise.
16846 * include/sys/msg.h: Likewise.
16847 * include/sys/resource.h: Likewise.
16848 * include/sys/select.h: Likewise.
16849 * include/sys/socket.h: Likewise.
16850 * include/sys/stat.h: Likewise.
16851 * include/sys/statvfs.h: Likewise.
16852 * include/sys/time.h: Likewise.
16853 * include/sys/times.h: Likewise.
16854 * include/sys/uio.h: Likewise.
16855 * include/sys/utsname.h: Likewise.
16856 * include/sys/wait.h: Likewise.
16857 * include/termios.h: Likewise.
16858 * include/time.h: Likewise.
16859 * include/ulimit.h: Likewise.
16860 * include/unistd.h: Likewise.
16861 * include/utime.h: Likewise.
16862 * include/wchar.h: Likewise.
16863 * include/wctype.h: Likewise.
16864 * include/wordexp.h: Likewise.
16865
16866 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16867
7a270350
UD
16868 * time/time.h: TIME_UTC must be a macro.
16869 Make timespec_get available for ISO C11 only as well.
16870
7724defc
UD
168712012-02-24 Ulrich Drepper <drepper@gmail.com>
16872
16873 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16874 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16875
6b1d1d46
JM
168762012-02-24 Joseph Myers <joseph@codesourcery.com>
16877
16878 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16879
0f8bbd69
JM
168802012-02-24 Joseph Myers <joseph@codesourcery.com>
16881
16882 * manual/texinfo.tex: Update to version 2012-01-19.16.
16883
66ab80bc
JM
168842012-02-24 Joseph Myers <joseph@codesourcery.com>
16885
16886 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16887
74981cc5
RM
168882012-02-24 Roland McGrath <roland@hack.frob.com>
16889
ee968201
RM
16890 [BZ #13738]
16891 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16892 * manual/fdl-1.3.texi: New file.
16893 * manual/fdl-1.1.texi: File removed.
16894
74981cc5
RM
16895 [BZ #13738]
16896 * manual/libc.texinfo (FDL_VERSION): New @set.
16897 Use it for mention of FDL in cover text.
16898 (Documentation License): Use it in @include file name.
16899
7bb764bc
JM
169002012-02-22 Joseph Myers <joseph@codesourcery.com>
16901 Roland McGrath <roland@hack.frob.com>
16902
16903 [BZ #5461]
16904 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16905 not LONG_LONG_MAX and LONG_LONG_MIN.
16906 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16907 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16908 name.
16909 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16910
6cbeae47
JM
169112012-02-22 Joseph Myers <joseph@codesourcery.com>
16912
16913 [BZ #2547]
16914 [BZ #11365]
16915 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16916 manipulate bits before adding and subtracting TWO23[sx].
16917 * math/libm-test.inc (nearbyint_test): Add more tests.
16918
fe45ce09
JM
169192012-02-22 Joseph Myers <joseph@codesourcery.com>
16920
16921 [BZ #2548]
16922 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16923 bits before adding and subtracting TWO23[sx].
16924 * math/libm-test.inc (rint_test): Add more tests.
16925 (rint_test_tonearest): Likewise.
16926 (rint_test_towardzero): Likewise.
16927 (rint_test_downward): Likewise.
16928 (rint_test_upward: Likewise.
16929
ff3b3d82
JM
169302012-02-22 Joseph Myers <joseph@codesourcery.com>
16931
16932 [BZ #10110]
16933 * include/stdc-predef.h: New file. Extracted from features.h.
16934 * include/features.h: Include stdc-predef.h.
16935 * Makefile (headers): Add stdc-predef.h.
16936 * CONFORMANCE (Compiler limitations): Update.
16937
ef0aab35
JM
169382012-02-22 Joseph Myers <joseph@codesourcery.com>
16939
16940 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16941
58639409
DM
169422012-02-21 David S. Miller <davem@davemloft.net>
16943
16944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16945 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16946
c0e70b25
DM
169472012-02-20 David S. Miller <davem@davemloft.net>
16948
16949 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16950 using a normal save/restore sequence, rather than allocating a
16951 dummy stack frame just to store a frame pointer and restore.
16952 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16953
fb06851d
JM
169542012-02-21 Joseph Myers <joseph@codesourcery.com>
16955
16956 * manual/install.texi: Fix stray word in line-wrapped comment.
16957
7a8b71c3
DM
169582012-02-20 David S. Miller <davem@davemloft.net>
16959
d510c123
DM
16960 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16961 both binutils and gcc support GOTDATA.
16962
0722d7c2
DM
16963 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16964 "rd %pc" in the PIC register setup sequences.
16965
3d2b3019
DM
16966 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16967 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16968 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16969 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16970 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16972 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16975 (SYSCALL_ERROR_HANDLER): Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16979 (SYSCALL_ERROR_HANDLER): Likewise.
16980
c80098a9
DM
16981 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16982 (HAVE_GCC_GOTDATA): New.
16983 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16984 relocation support in both binutils and gcc.
16985 * sysdeps/sparc/elf/configure: Regenerate.
16986
3a2545a0
DM
16987 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16988 * sysdeps/sparc/sparc32/elf/configure: Delete.
16989 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16990 * sysdeps/sparc/sparc64/elf/configure: Delete.
16991 * sysdeps/sparc/elf/configure.in: New file.
16992 * sysdeps/sparc/elf/configure: Generate.
16993
7a8b71c3
DM
16994 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16995 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16996 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16997 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16998 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16999
f1e86fca
JM
170002012-02-21 Joseph Myers <joseph@codesourcery.com>
17001
17002 * manual/install.texi: Do not mention specific glibc version
17003 numbers.
17004 * manual/libc.texinfo (VERSION, UPDATED): Update.
17005 (@copying): Use @copyright{} and range of years.
17006
0e7dfaef
JM
170072012-02-21 Joseph Myers <joseph@codesourcery.com>
17008
17009 [BZ #13695]
17010 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17011 [crti.S not in sysdirs] (generated): Do not append.
17012 [crti.S not in sysdirs] (omit-deps): Likewise.
17013 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17014 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17015 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17016 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17017 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17018 Likewise.
17019 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17020 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17021 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17022 * csu/defs.awk: Remove file.
17023 * sysdeps/generic/initfini.c: Likewise.
17024 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17025 variable.
17026 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17027 Likewise.
17028
599af3ca
JM
170292012-02-20 Joseph Myers <joseph@codesourcery.com>
17030
17031 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17032 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17033 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17036 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17037 <bits/epoll.h>.
17038 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17039 (__EPOLL_PACKED): Define to empty if not defined by
17040 <bits/epoll.h>.
17041 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17043 bits/epoll.h.
17044
0e499750
JM
170452012-02-20 Joseph Myers <joseph@codesourcery.com>
17046
17047 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17048 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17049 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17050 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17051 <bits/timerfd.h>.
17052 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17054 bits/timerfd.h.
17055
5ad91f6e
JM
170562012-02-20 Joseph Myers <joseph@codesourcery.com>
17057
17058 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17059 in C locale.
17060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17061 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17064
06b99b02
AJ
170652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17066
17067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17068 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17069
7638c0fd
AS
170702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17071
17072 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17073 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17074 defined.
17075 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17076 Likewise.
17077 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17078 entry for 2.16.
17079
92221550
AJ
170802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17081
17082 * math/w_acos.c: Use non-signaling floating-point comparisons.
17083 * math/w_acosf.c: Likewise.
17084 * math/w_acosh.c: Likewise.
17085 * math/w_acoshf.c: Likewise.
17086 * math/w_acoshl.c: Likewise.
17087 * math/w_acosl.c: Likewise.
17088 * math/w_asin.c: Likewise.
17089 * math/w_asinf.c: Likewise.
17090 * math/w_asinl.c: Likewise.
17091 * math/w_atanh.c: Likewise.
17092 * math/w_atanhf.c: Likewise.
17093 * math/w_atanhl.c: Likewise.
17094 * math/w_exp2.c: Likewise.
17095 * math/w_exp2f.c: Likewise.
17096 * math/w_exp2l.c: Likewise.
17097 * math/w_j0.c: Likewise.
17098 * math/w_j0f.c: Likewise.
17099 * math/w_j0l.c: Likewise.
17100 * math/w_j1.c: Likewise.
17101 * math/w_j1f.c: Likewise.
17102 * math/w_j1l.c: Likewise.
17103 * math/w_jn.c: Likewise.
17104 * math/w_jnf.c: Likewise.
17105 * math/w_log.c: Likewise.
17106 * math/w_log10.c: Likewise.
17107 * math/w_log10f.c: Likewise.
17108 * math/w_log10l.c: Likewise.
17109 * math/w_log2.c: Likewise.
17110 * math/w_log2f.c: Likewise.
17111 * math/w_log2l.c: Likewise.
17112 * math/w_logf.c: Likewise.
17113 * math/w_logl.c: Likewise.
17114 * math/w_sqrt.c: Likewise.
17115 * math/w_sqrtf.c: Likewise.
17116 * math/w_sqrtl.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17120 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17122
ebaf36eb
JM
171232012-02-19 Joseph Myers <joseph@codesourcery.com>
17124
17125 [BZ #9739]
17126 * manual/string.texi (strnlen): Use correct parameter name in
17127 equivalent expression.
17128
71c254a6
JM
171292012-02-19 Joseph Myers <joseph@codesourcery.com>
17130
17131 [BZ #11174]
17132 * manual/users.texi (seteuid): Consistently use neweuid for
17133 argument name.
17134
16d2c631
JM
171352012-02-19 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #13704]
17138 * manual/nss.texi (Services in the NSS configuration): Correct
17139 list of services in example configuration file.
17140
cd837b09
NB
171412012-02-19 Nick Bowler <nbowler@draconx.ca>
17142
17143 [BZ #11322]
17144 * manual/arith.texi: Remove statements about negative zero
17145 behaving identically to zero.
17146
02c4bbad
JM
171472012-02-18 Joseph Myers <joseph@codesourcery.com>
17148
17149 [BZ #5993]
17150 * manual/install.texi: Do not document upgrading from libc5.
17151
366842e7
JM
171522012-02-18 Joseph Myers <joseph@codesourcery.com>
17153
17154 [BZ #4596]
17155 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17156
dd54084d
DM
171572012-02-18 David S. Miller <davem@davemloft.net>
17158
17159 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17160 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17161 %o7 across the call.
17162 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17163 instead.
17164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17165 SETUP_PIC_REG_LEAF.
17166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17167 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17168 * sysdeps/sparc/crtn.S: Likewise.
17169
2bcc53a3
UD
171702012-02-17 Ulrich Drepper <drepper@gmail.com>
17171
17172 * aout/Makefile: Remove.
17173
09c093b5
RK
171742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17175
17176 [BZ #13058]
17177 * manual/examples/argp-ex1.c (main): Format definition in GNU
17178 style.
17179 * manual/examples/argp-ex2.c (main): Likewise.
17180 * manual/examples/argp-ex3.c (main): Likewise.
17181 * manual/examples/argp-ex4.c (main): Likewise.
17182 * manual/examples/longopt.c (main): Use new-style prototype
17183 definition.
17184 * manual/examples/strncat.c (main): Specify return type and use
17185 (void) for arguments.
17186 * manual/examples/subopt.c (main): Use char **argv argument.
17187
2ee633a2
JM
171882012-02-17 Joseph Myers <joseph@codesourcery.com>
17189
17190 [BZ #5077]
17191 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17192 rounding modes.
17193
0520adde
FB
171942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17195
17196 [BZ #6907]
17197 * manual/string.texi (strchr): Change when strchrnul is
17198 recommended.
17199
3f4081cd
DGM
172002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17201
17202 [BZ #174]
17203 * manual/locale.texi (setlocale): Document LOCPATH.
17204
d1b10e78
JM
172052012-02-17 Joseph Myers <joseph@codesourcery.com>
17206
17207 [BZ #10210]
17208 * manual/process.texi (execle): Move @dots{} before last argument.
17209
79c6869c
PB
172102012-02-17 Paul Bolle <pebolle@tiscali.nl>
17211
17212 [BZ #12047]
17213 * manual/charset.texi (Generic Charset Conversion): Fix typo
17214 (LC_TYPE -> LC_CTYPE).
17215
cc6e48bc
NB
172162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17217
17218 [BZ #5805]
17219 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17220 (scalbnf): Likewise.
17221 (scalbnl): Likewise.
17222 (scalbln): Likewise.
17223 (scalblnf): Likewise.
17224 (scalblnl): Likewise.
17225 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17226 (vwarnx): Likewise.
17227 (verr): Likewise.
17228 (verrx): Likewise.
17229 * manual/filesys.texi (telldir): Use braces around return type.
17230 * manual/llio.texi (mmap): Add space after comma.
17231 (mmap64): Likewise.
17232 * manual/math.texi (jn): Use @var{} on parameter names.
17233 (jnf): Likewise.
17234 (jnl): Likewise.
17235 (yn): Likewise.
17236 (ynf): Likewise.
17237 (ynl): Likewise.
17238 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17239 line.
17240 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17241 "...".
17242 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17243 (sched_get_priority_max): Likewise.
17244 * manual/signal.texi (sigvec): Add space after comma.
17245 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17246 names.
17247 (if_indextoname): Likewise.
17248 (if_freenameindex): Likewise.
17249 (sendto): Use ',' instead of '.' in prototype.
17250 * manual/startup.texi (syscall): Use @dots{} instead of literal
17251 "...".
17252 * manual/stdio.texi (__fpending): Separate initial words of
17253 paragraph from @deftypefun line.
17254 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17255 "...".
17256 (vsyslog): Use @var{} on parameter names.
17257 * manual/terminal.texi (stty): Use @var{} on parameter names.
17258 * manual/users.texi (getutmp): Use @var{} on parameter names.
17259 (getutmpx): Likewise.
17260
5b23062f
JM
172612012-02-17 Joseph Myers <joseph@codesourcery.com>
17262
17263 [BZ #6884]
17264 * manual/stdio.texi (fopen): Fix typos in description of
17265 ",ccs=STRING".
17266
8dee4833
AJ
172672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17268
17269 [BZ #4026]
17270 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17271 get clock_id definition.
17272
9078ce93
TS
172732012-02-17 Thomas Schwinge <thomas@schwinge.name>
17274
17275 [BZ #4822]
17276 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17277 (madvise): Cast every argument to void on its own.
17278
3835c55f
JM
172792012-02-17 Joseph Myers <joseph@codesourcery.com>
17280
17281 [BZ #9902]
17282 * manual/startup.texi (Exit Status): Fix typo.
17283
35c47e37
JM
172842012-02-17 Joseph Myers <joseph@codesourcery.com>
17285
17286 [BZ #10140]
17287 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17288 * manual/examples/argp-ex2.c: Likewise.
17289 * manual/examples/argp-ex3.c: Likewise.
17290
e3b69ca7
RH
172912012-02-16 Richard Henderson <rth@redhat.com>
17292
17293 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17294 * sysdeps/s390/s390-32/initfini.c: Remove.
17295 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17296 * sysdeps/s390/s390-64/initfini.c: Remove.
17297
df83af67
KK
172982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17299
17300 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17301 compiler output for sysdeps/generic/initfini.c.
17302 * sysdeps/sh/elf/initfini.c: Remove file.
17303
f63f3380
DM
173042012-02-16 David S. Miller <davem@davemloft.net>
17305
fb59b3a4
DM
17306 [BZ #11494]
17307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17308
f63f3380
DM
17309 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17310 * sysdeps/sparc/crti.S: New file.
17311 * sysdeps/sparc/crtn.S: New file.
17312 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17313 * sysdeps/sparc/sparc64/Makefile: Likewise.
17314
df6a4a4a
MF
173152012-02-15 Mike Frysinger <vapier@gentoo.org>
17316
6dd8f3dc 17317 [BZ #3335]
df6a4a4a
MF
17318 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17319
1cac7236
RM
173202012-02-15 Roland McGrath <roland@hack.frob.com>
17321
d2c736f8
RM
17322 [BZ #4822]
17323 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17324
1cac7236
RM
17325 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17326 (write, read, close): Likewise.
17327 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17328
8e475601
JM
173292012-02-15 Joseph Myers <joseph@codesourcery.com>
17330
17331 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17332 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17334 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17335 <bits/signalfd.h>.
17336 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17338 bits/signalfd.h.
17339
ed656b40
MP
173402012-02-14 Marek Polacek <polacek@redhat.com>
17341
17342 * sysdeps/x86_64/crti.S: New file.
17343 * sysdeps/x86_64/crtn.S: New file.
17344 * sysdeps/x86_64/elf/initfini.c: Remove file.
17345
2a979d3a
JM
173462012-02-13 Joseph Myers <joseph@codesourcery.com>
17347
17348 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17349 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17350 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17351 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17352 <bits/inotify.h>.
17353 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17355 bits/inotify.h.
17356
2a418ac3
JM
173572012-02-13 Joseph Myers <joseph@codesourcery.com>
17358
17359 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17360 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17361 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17362 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17363 <bits/eventfd.h>.
17364 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17366 bits/eventfd.h.
17367
fb779be7
TS
173682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17369
e19e83c5
RM
17370 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17371 __feraiseexcept instead of feraiseexcept.
7c35ffed 17372
fb779be7
TS
17373 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17374 nanosleep invocations.
17375 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17376 strings, and add error checking for a nanosleep invocations.
17377
59ba27a6
PE
173782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17379
17380 Replace FSF snail mail address with URLs, as per GNU coding standards.
17381 Most of the snail mail addresses were wrong anyway, and omitting
17382 them makes the source code easier to maintain. Almost all of the
17383 changes are to license notices and to locale LC_IDENTIFICATION
17384 addresses, except for this one:
17385 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17386 not its snail mail address.
17387
57b957eb
RH
173882012-02-09 Richard Henderson <rth@twiddle.net>
17389
af850b1c
RH
17390 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17391 of kernel-features.h.
17392
57b957eb
RH
17393 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17394
6b73181a
MP
173952012-02-08 Marek Polacek <polacek@redhat.com>
17396
17397 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17398 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17399 * sysdeps/gnu/_G_config.h: Likewise.
17400 * sysdeps/generic/_G_config.h: Likewise.
17401
26ecc33a
AS
174022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17403
6c6dbc63
AS
17404 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17405 tests.
17406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17407
e216c012
AS
17408 * sysdeps/powerpc/powerpc32/crti.S: New file.
17409 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17410 * sysdeps/powerpc/powerpc64/crti.S: New file.
17411 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17412
26ecc33a
AS
17413 * Makeconfig (have-initfini): Don't set.
17414 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17415 * configure.in (nopic_initfini): Don't substitute.
17416 * config.h.in (HAVE_INITFINI): Don't #undef.
17417 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17418 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17419
3add8e13
JM
174202012-02-08 Joseph Myers <joseph@codesourcery.com>
17421
17422 Support crti.S and crtn.S provided directly by architectures.
17423 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17424 [crti.S in sysdirs] (omit-deps): Likewise.
17425 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17426 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17427 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17428 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17429 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17430 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17431 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17432 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17433 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17434 compiler output for sysdeps/generic/initfini.c.
17435 * sysdeps/i386/elf/Makefile: Remove file.
17436 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17437
a22f12b4
MP
174382012-02-07 Marek Polacek <polacek@redhat.com>
17439
17440 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17441 * sysdeps/gnu/_G_config.h: Likewise.
17442 * sysdeps/mach/hurd/_G_config.h: Likewise.
17443
148cf100
MP
174442012-02-07 Marek Polacek <polacek@redhat.com>
17445
17446 * math/Makefile (tests): Add tst-CMPLX2.
17447 * math/tst-CMPLX2.c: New file.
17448
cfdc0dd7
AS
174492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17450
84ba42c4
AS
17451 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17452
cfdc0dd7
AS
17453 * math/libm-test.inc (jn_test): Add missing L suffix.
17454
622c86f4
MP
174552012-02-06 Marek Polacek <polacek@redhat.com>
17456
17457 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17458 * sysdeps/i386/fpu/e_powf.S: Likewise.
17459 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17460 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17461 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17462 * sysdeps/i386/fpu/e_pow.S: Likewise.
17463 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17464 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17465 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17466 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17467 * sysdeps/i386/fpu/e_log2.S: Likewise.
17468 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17469 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17470 * sysdeps/i386/fpu/e_powl.S: Likewise.
17471 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17472 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17473 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17474 * sysdeps/i386/fpu/e_logl.S: Likewise.
17475 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17476 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17477 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17478 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17481 * sysdeps/i386/fpu/e_log.S: Likewise.
17482 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17484 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17485 * sysdeps/i386/fpu/e_logf.S: Likewise.
17486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17488 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17489 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17490 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17491 * sysdeps/i386/fpu/e_log10.S: Likewise.
17492 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17493 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17494 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17495 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17496 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17497 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17498 * sysdeps/i386/asm-syntax.h: Likewise.
17499 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17500 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17502 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17503 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17504 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17505 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17506 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17508 * sysdeps/powerpc/sysdep.h: Likewise.
17509 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17511
d4a54ac6
JM
175122012-02-06 Joseph Myers <joseph@codesourcery.com>
17513
17514 [BZ #411]
17515 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17516
314054ea
JM
175172012-02-06 Joseph Myers <joseph@codesourcery.com>
17518
17519 * sysdeps/i386/sysdep.h: Include <features.h>.
17520 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17521 version.
17522
d8e0ca50
JM
175232012-02-05 Joseph Myers <joseph@codesourcery.com>
17524
17525 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17526 Define.
17527 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17528 LOAD_PIC_REG_STR.
17529
b1da7dd9
JM
175302012-02-03 Joseph Myers <joseph@codesourcery.com>
17531
17532 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17533 (SETUP_PIC_REG): Use GET_PC_THUNK.
17534 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17535 macro.
17536
9a1d9254
JM
175372012-02-03 Joseph Myers <joseph@codesourcery.com>
17538
17539 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17540 for non-PIC compilation.
17541 (SETUP_PIC_REG): Add .p2align directive.
17542 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17543 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17544 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17545 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17546 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17547 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17548 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17550 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17551 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17552 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17553 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17554 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17555 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17556 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17558 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17559 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17560 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17561 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17564 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17565 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17566 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17570 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17571 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17572 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17574 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17575 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17576 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17577 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17578 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17579 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17580 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17581 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17582 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17583
65dc3b75
JM
175842012-02-03 Joseph Myers <joseph@codesourcery.com>
17585
17586 * math/tst-CMPLX.c: Include <stdio.h>.
17587
d55bf177
JM
175882012-01-31 Joseph Myers <joseph@codesourcery.com>
17589
17590 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17591 float.
17592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17593 * sysdeps/sparc/bits/mathdef.h: Likewise.
17594
69db4f8f
MP
175952012-01-31 Marek Polacek <polacek@redhat.com>
17596
17597 * libio/libio.h: Don't define _PARAMS.
17598 * locale/programs/config.h: Don't define PARAMS.
17599 * stdlib/strtol_l.c: Likewise.
17600 (__strtol_l): Remove PARAMS from the prototype.
17601
41b81892
UD
176022012-01-31 Ulrich Drepper <drepper@gmail.com>
17603
3b49edc0
UD
17604 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17605 names. Just use the correct names. Remove unnecessary wrapper
17606 functions.
17607 * malloc/arena.c: Likewise.
17608 * malloc/hooks.c: Likewise.
17609
41b81892
UD
17610 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17611 ARENA_TEST says not to. Simplify test for creation of a new arena.
17612 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17613
27a25b6e
UD
176142012-01-30 Ulrich Drepper <drepper@gmail.com>
17615
17616 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17617 into tail calls.
17618 (update_get_addr): New function.
17619 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17620 GET_ADDR_MODULE parameter.
17621
c8a89e7d
JM
176222012-01-30 Joseph Myers <joseph@codesourcery.com>
17623
17624 * crypt/cert.c: Remove __STDC__ conditionals.
17625 * crypt/crypt-entry.c: Likewise.
17626 * crypt/crypt_util.c: Likewise.
17627 * libio/filedoalloc.c: Likewise.
17628 * libio/fileops.c: Likewise.
17629 * libio/genops.c: Likewise.
17630 * libio/iofclose.c: Likewise.
17631 * libio/iofdopen.c: Likewise.
17632 * libio/iofopen.c: Likewise.
17633 * libio/iofopen64.c: Likewise.
17634 * libio/iogetdelim.c: Likewise.
17635 * libio/iopopen.c: Likewise.
17636 * libio/obprintf.c: Likewise.
17637 * libio/oldfileops.c: Likewise.
17638 * libio/oldiofclose.c: Likewise.
17639 * libio/oldiofdopen.c: Likewise.
17640 * libio/oldiofopen.c: Likewise.
17641 * libio/oldiopopen.c: Likewise.
17642 * libio/wfiledoalloc.c: Likewise.
17643 * libio/wgenops.c: Likewise.
17644 * locale/programs/xmalloc.c: Likewise.
17645 * misc/syslog.c: Likewise.
17646 * stdio-common/xbug.c: Likewise.
17647 * string/memchr.c: Likewise.
17648 * string/memcmp.c: Likewise.
17649 * string/memrchr.c: Likewise.
17650 * string/rawmemchr.c: Likewise.
17651 * sysdeps/posix/getcwd.c: Likewise.
17652 * time/strftime_l.c: Likewise.
17653
3b100462
JM
176542012-01-30 Joseph Myers <joseph@codesourcery.com>
17655
17656 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17657 * config.make.in (config-cflags-sse2avx): Define.
17658 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17659 Fix typo.
17660
607998af
CM
176612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17662
17663 * scripts/config.guess: Update from upstream config git repository.
17664 * scripts/config.sub: Likewise.
17665
3601428f
CM
176662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17667
3ac8b282
CM
17668 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17669 (EM_NUM): Update.
17670 (R_TILEPRO_*, R_TILEGX_*): New macros.
17671
e034841e
CM
17672 * scripts/firstversions.awk: Fix bug in version range handling.
17673
540d7568
CM
17674 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17675
3601428f
CM
17676 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17677
463de862
CM
17678 * include/sys/epoll.h: New file.
17679 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17680 libc_hidden_def.
17681
73139a76
UD
176822012-01-28 Ulrich Drepper <drepper@gmail.com>
17683
96bc5b45
UD
17684 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17685 Avoid unnecessary __WORDSIZE == 64 test.
17686 (fmaxf): Use VEX format if possible.
17687 (fmax): Likewise.
17688 (fminf): Likewise.
17689 (fmin): Likewise.
17690
56f6f6a2
UD
17691 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17692 * math/math_private.h: Remove libc_fegetround* and
17693 libc_fesetround*.
17694 * sysdeps/i386/configure.in: Check for -msse2avx.
17695 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17696 also if SSE2AVX is defined.
17697 Remove libc_fegetround* and libc_fesetround*.
17698 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17699 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17700 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17701 of HAS_YMM_USABLE.
17702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17707
73139a76
UD
17708 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17709
d73f93a4
AZ
177102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17711
17712 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17713 size is not set.
17714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17715
6ee65ed6
UD
177162012-01-27 Ulrich Drepper <drepper@gmail.com>
17717
17718 [BZ #13618]
17719 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17720 relocation.
17721 * Makeconfig (libm): Define.
17722 * elf/Makefile: Add rules to build and run tst-relsort1.
17723 * elf/tst-relsort1.c: New file.
17724 * elf/tst-relsort1mod1.c: New file.
17725 * elf/tst-relsort1mod2.c: New file.
17726
8db21882
JM
177272012-01-27 Joseph Myers <joseph@codesourcery.com>
17728
17729 * math/s_ldexp.c: Remove __STDC__ conditionals.
17730 * math/s_ldexpf.c: Likewise.
17731 * math/s_ldexpl.c: Likewise.
17732 * math/s_nextafter.c: Likewise.
17733 * math/s_nexttowardf.c: Likewise.
17734 * math/s_significand.c: Likewise.
17735 * math/s_significandf.c: Likewise.
17736 * math/s_significandl.c: Likewise.
17737 * math/w_jnl.c: Likewise.
17738 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17739 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17740 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17741 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17742 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17759 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17760 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17762 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17763 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17765 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17766 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17767 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17769 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17770 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17771 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17774 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17776 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17777 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17778 * sysdeps/ieee754/k_standard.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17840 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17845 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17853 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17858 * sysdeps/ieee754/s_matherr.c: Likewise.
17859 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17860 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17863
965a54a4
JM
178642012-01-26 Joseph Myers <joseph@codesourcery.com>
17865
17866 * crypt/md5.h: Remove __STDC__ conditionals.
17867 * libio/libioP.h: Likewise.
17868 * locale/programs/config.h: Likewise.
17869 * sysdeps/generic/sysdep.h: Likewise.
17870 * sysdeps/i386/asm-syntax.h: Likewise.
17871 * sysdeps/s390/asm-syntax.h: Likewise.
17872 * sysdeps/unix/sysdep.h: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17875
7071ad79
JM
178762012-01-26 Joseph Myers <joseph@codesourcery.com>
17877
17878 * libio/libio.h: Remove __STDC__ conditionals.
17879 * malloc/obstack.h: Likewise.
17880 * math/complex.h: Likewise.
17881 * math/math.h: Likewise.
17882 * sysdeps/generic/_G_config.h: Likewise.
17883 * sysdeps/gnu/_G_config.h: Likewise.
17884 * sysdeps/mach/hurd/_G_config.h: Likewise.
17885 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17886 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17887 * sysdeps/sparc/bits/mathdef.h: Likewise.
17888
afc5ed09
UD
178892012-01-26 Ulrich Drepper <drepper@gmail.com>
17890
17891 [BZ #13583]
17892 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17893 Clean up HAS_* macros.
afc5ed09 17894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17895 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17896 possible.
17897 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17898 HAS_AVX.
17899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17900 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17903 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17904
bdb6de1d
JM
179052012-01-25 Joseph Myers <joseph@codesourcery.com>
17906
17907 * elf/tst-unique3.cc (gets): Remove declaration.
17908 * elf/tst-unique3lib.cc (gets): Likewise.
17909 * elf/tst-unique3lib2.cc (gets): Likewise.
17910 * elf/tst-unique4.cc (gets): Likewise.
17911
b15549e6
UD
179122012-01-24 Ulrich Drepper <drepper@gmail.com>
17913
17914 * include/stdio.h: Add C++ protection. Add gets declarations and
17915 definitions.
17916 * debug/tst-chk1.c: Don't declare gets here.
17917 * stdio-common/tst-gets.c: Likewise.
17918
a037381f
JM
179192012-01-24 Joseph Myers <joseph@codesourcery.com>
17920
17921 * posix/glob: Remove directory.
17922
f1d4aa75
JM
179232012-01-24 Joseph Myers <joseph@codesourcery.com>
17924
17925 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17926
81c0c964
PT
179272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17928
17929 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17930 of the non-standard EPFNOSUPPORT.
17931
0ea698ae
ST
179322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17933
17934 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17935 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17936 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17937
d220b117
UD
179382012-01-21 Ulrich Drepper <drepper@gmail.com>
17939
17940 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17941
3e1aa84e
UD
179422012-01-20 Ulrich Drepper <drepper@gmail.com>
17943
17944 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17945 transient errors.
17946 * nscd/grpcache.c (cache_addgr): Likewise.
17947 * nscd/hstcache.c (cache_addhst): Likewise.
17948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17949 * nscd/pwdcache.c (cache_addpw): Likewise.
17950 * nscd/servicescache.c (cache_addserv): Likewise.
17951
400aa020
UD
179522012-01-16 Ulrich Drepper <drepper@gmail.com>
17953
d77e7869
UD
17954 * malloc/malloc.c: Various cleanups.
17955 * malloc/hooks.c: Likewise.
17956
400aa020
UD
17957 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17958 * stdlib/bug-fmtmsg1.c: New file.
17959
17960 * stdlib/fmtmsg.c (init): Add missing unlock.
17961 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17962
e0a309cf
MP
179632012-01-12 Marek Polacek <polacek@redhat.com>
17964
17965 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17966 and _GNU_SOURCE.
17967
929d11c7
WS
179682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17969
17970 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17971 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17972 macro to ensure uniqueness of label name.
17973 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17974 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17975
41d0e869
UD
179762012-01-11 Ulrich Drepper <drepper@gmail.com>
17977
0cc5ed3b
UD
17978 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17979
41d0e869
UD
17980 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17981 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17984
a47a831a
UD
179852012-01-10 Ulrich Drepper <drepper@gmail.com>
17986
daa891c0
UD
17987 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17988
17989 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17990 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17991 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17992
e58ef0f2
UD
17993 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17994
a47a831a 17995 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17996 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17999
18000 * math/bits/math-finite.h: Add ldexp support.
18001
a0bfc9c7
MP
180022012-01-10 Marek Polacek <polacek@redhat.com>
18003
18004 * locale/programs/localedef.h (show_archive_content): Add noreturn
18005 attribute.
18006
d6e97a1d
UD
180072012-01-09 Ulrich Drepper <drepper@gmail.com>
18008
18009 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18010
d5835c26
UD
180112012-01-08 Ulrich Drepper <drepper@gmail.com>
18012
e5f484c6
UD
18013 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18014
d5835c26
UD
18015 * io/Makefile (headers): Add bits/poll2.h.
18016
d1f741e9
WS
180172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18018
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18020 typo #include statement.
18021
ec09c1c4
UD
180222012-01-08 Ulrich Drepper <drepper@gmail.com>
18023
18024 * include/sys/cdefs.h: Define __attribute_alloc_size.
18025 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18026 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18027 * elf/pldd.c: Likewise.
18028 * iconv/iconv_charmap.c: Likewise.
18029 * iconv/iconvconfig.c: Likewise.
18030 * iconv/strtab.c: Likewise.
18031 * locale/programs/locale.c: Likewise.
18032 * locale/programs/localedef.h: Likewise.
18033 * locale/programs/simple-hash.c: Likewise.
18034 * nscd/nscd.h: Likewise.
18035 * nss/makedb.c: Likewise.
18036 * sysdeps/generic/ldconfig.h: Likewise.
18037 * locale/programs/localedef.c: Remove xmalloc prototype.
18038 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18039
20b38e03
PP
180402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18041
18042 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18043 appropriate.
18044
a0da5fe1
UD
180452012-01-08 Ulrich Drepper <drepper@gmail.com>
18046
1d5a644a 18047 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18048 * math/tst-CMPLX.c: New file.
1d5a644a 18049
8784a6db
UD
18050 * math/complex.h (CMPLXL): Fix typo.
18051
d9a216c0
UD
18052 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18053 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18054 GLIBC_2.16.
18055 * debug/tst-chk1.c: Add poll and ppoll tests.
18056 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18057 * include/sys/poll.h: Add hidden proto for ppoll.
18058 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18059 * sysdeps/mach/hurd/ppoll.c: Likewise.
18060 * io/ppoll.c: Likewise.
18061 * debug/poll_chk.c: New file.
18062 * debug/ppoll_chk.c: New file.
18063 * include/bits/poll2.h: New file.
18064 * io/bits/poll2.h: New file.
18065
ac097f5c
UD
18066 [BZ #1350]
18067 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18068
2119dcfa
UD
18069 * configure.in: static is always set to yes. Remove.
18070 * config.make.in: Don't set build-static.
18071 * Makeconfig: Remove use of build-static.
18072 * dlfcn/Makefile: Likewise.
18073 * elf/Makefile: Likewise.
18074 * math/Makefile: Likewise.
18075 * misc/Makefile: Likewise.
18076 * nptl/Makefile: Likewise.
18077 * sysdeps/mach/hurd/Makefile: Likewise.
18078
121766a9
UD
18079 * configure.in: PWD_P is not used anymore.
18080 * config.make.in: Remove PWD_P entry.
18081
51a1d39c 18082 * configure.in: Remove last remnants of RANLIB.
8720d066 18083 No need to check for signed size_t anymore.
215f4bdc
UD
18084 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18085 and IA-64.
3857022a 18086 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18087 * aclocal.m4: Likewise.
18088
d3ed7225
UD
18089 * wcsmbs/mbrtoc16.c: Implement using towc function.
18090 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18091 * wcsmbs/wcsmbsload.c: Likewise.
18092 * iconv/gconv_simple.c: Likewise.
18093 * iconv/gconv_int.h: Likewise.
18094 * iconv/gconv_builtin.h: Likewise.
18095 * iconv/iconv_prog.c: Remove CHAR16 handling.
18096
18097 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18098
18099 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18100
a0da5fe1
UD
18101 * configure.in: Remove --with-elf and --enable-bounded options.
18102 Dont set base_machine for ia64. More non-ELF conditions removed.
18103 Remove testing and setting of leading underscore information.
18104 * config.make.in (build-bounded): Set to no.
18105 * config.h.in: Remove NO_UNDERSCORES entry.
18106 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18107 them.
18108 * csu/start.c: Remove !NO_UNDERSCORE code.
18109 * locale/localeinfo.h: Likewise.
18110 * sysdeps/generic/machine-gmon.h: Likewise.
18111 * sysdeps/generic/sysdep.h: Likewise.
18112 * sysdeps/i386/sysdep.h: Likewise.
18113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18114 * sysdeps/mach/sysdep.h: Likewise.
18115 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18116 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18117 * sysdeps/sh/sysdep.h: Likewise.
18118 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18119 * sysdeps/unix/i386/sysdep.S: Likewise.
18120 * sysdeps/unix/sparc/start.c: Likewise.
18121 * sysdeps/unix/sparc/sysdep.S: Likewise.
18122 * sysdeps/unix/sparc/sysdep.h: Likewise.
18123 * sysdeps/unix/start.c: Likewise.
18124 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18125 * sysdeps/x86_64/sysdep.h: Likewise.
18126
df78418a
UD
181272012-01-07 Ulrich Drepper <drepper@gmail.com>
18128
a784e502
UD
18129 [BZ #13553]
18130 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18131 for non-gcc.
18132 * argp/argp-fmtstream.h: Use const instead __const.
18133 * argp/argp.h: Likewise.
18134 * assert/assert.h: Likewise.
18135 * bits/fenv.h: Likewise.
18136 * bits/sched.h: Likewise.
18137 * bits/sigset.h: Likewise.
18138 * bits/sigthread.h: Likewise.
18139 * catgets/nl_types.h: Likewise.
18140 * conform/data/pthread.h-data: Likewise.
18141 * crypt/crypt-private.h: Likewise.
18142 * crypt/crypt.h: Likewise.
18143 * crypt/crypt_util.c: Likewise.
18144 * ctype/ctype.h: Likewise.
18145 * debug/execinfo.h: Likewise.
18146 * debug/mbsnrtowcs_chk.c: Likewise.
18147 * debug/mbsrtowcs_chk.c: Likewise.
18148 * debug/wcsnrtombs_chk.c: Likewise.
18149 * debug/wcsrtombs_chk.c: Likewise.
18150 * debug/wcstombs_chk.c: Likewise.
18151 * dirent/dirent.h: Likewise.
18152 * dlfcn/dlfcn.h: Likewise.
18153 * elf/neededtest4.c: Likewise.
18154 * grp/grp.h: Likewise.
18155 * gshadow/gshadow.h: Likewise.
18156 * iconv/gconv.h: Likewise.
18157 * iconv/gconv_int.h: Likewise.
18158 * iconv/gconv_simple.c: Likewise.
18159 * iconv/iconv.h: Likewise.
18160 * iconv/loop.c: Likewise.
18161 * iconv/skeleton.c: Likewise.
18162 * include/aio.h: Likewise.
18163 * include/aliases.h: Likewise.
18164 * include/argz.h: Likewise.
18165 * include/arpa/inet.h: Likewise.
18166 * include/assert.h: Likewise.
18167 * include/dirent.h: Likewise.
18168 * include/dlfcn.h: Likewise.
18169 * include/execinfo.h: Likewise.
18170 * include/fcntl.h: Likewise.
18171 * include/fenv.h: Likewise.
18172 * include/glob.h: Likewise.
18173 * include/grp.h: Likewise.
18174 * include/libintl.h: Likewise.
18175 * include/mntent.h: Likewise.
18176 * include/netdb.h: Likewise.
18177 * include/pwd.h: Likewise.
18178 * include/rpc/netdb.h: Likewise.
18179 * include/sched.h: Likewise.
18180 * include/search.h: Likewise.
18181 * include/shadow.h: Likewise.
18182 * include/signal.h: Likewise.
18183 * include/stdio.h: Likewise.
18184 * include/stdlib.h: Likewise.
18185 * include/string.h: Likewise.
18186 * include/sys/socket.h: Likewise.
18187 * include/sys/stat.h: Likewise.
18188 * include/sys/statfs.h: Likewise.
18189 * include/sys/statvfs.h: Likewise.
18190 * include/sys/syslog.h: Likewise.
18191 * include/sys/time.h: Likewise.
18192 * include/sys/uio.h: Likewise.
18193 * include/time.h: Likewise.
18194 * include/unistd.h: Likewise.
18195 * include/utmp.h: Likewise.
18196 * include/wchar.h: Likewise.
18197 * include/wctype.h: Likewise.
18198 * inet/aliases.h: Likewise.
18199 * inet/arpa/inet.h: Likewise.
18200 * inet/netinet/ether.h: Likewise.
18201 * inet/netinet/in.h: Likewise.
18202 * intl/libintl.h: Likewise.
18203 * io/bits/fcntl2.h: Likewise.
18204 * io/fcntl.h: Likewise.
18205 * io/ftw.h: Likewise.
18206 * io/sys/poll.h: Likewise.
18207 * io/sys/stat.h: Likewise.
18208 * io/sys/statfs.h: Likewise.
18209 * io/sys/statvfs.h: Likewise.
18210 * io/utime.h: Likewise.
18211 * libio/bits/stdio.h: Likewise.
18212 * libio/bits/stdio2.h: Likewise.
18213 * libio/libio.h: Likewise.
18214 * libio/libioP.h: Likewise.
18215 * libio/stdio.h: Likewise.
18216 * locale/lc-ctype.c: Likewise.
18217 * locale/locale.h: Likewise.
18218 * login/utmp.h: Likewise.
18219 * malloc/arena.c: Likewise.
18220 * malloc/malloc.c: Likewise.
18221 * malloc/malloc.h: Likewise.
18222 * malloc/mcheck.c: Likewise.
18223 * malloc/mtrace.c: Likewise.
18224 * math/bits/mathcalls.h: Likewise.
18225 * math/fenv.h: Likewise.
18226 * math/math_private.h: Likewise.
18227 * misc/bits/error.h: Likewise.
18228 * misc/bits/syslog.h: Likewise.
18229 * misc/err.h: Likewise.
18230 * misc/error.h: Likewise.
18231 * misc/fstab.h: Likewise.
18232 * misc/mntent.h: Likewise.
18233 * misc/regexp.h: Likewise.
18234 * misc/search.h: Likewise.
18235 * misc/sgtty.h: Likewise.
18236 * misc/sys/mman.h: Likewise.
18237 * misc/sys/syslog.h: Likewise.
18238 * misc/sys/uio.h: Likewise.
18239 * misc/sys/xattr.h: Likewise.
18240 * misc/ttyent.h: Likewise.
18241 * nis/rpcsvc/ypclnt.h: Likewise.
18242 * nss/nss.h: Likewise.
18243 * posix/bits/unistd.h: Likewise.
18244 * posix/fnmatch.h: Likewise.
18245 * posix/glob.h: Likewise.
18246 * posix/sched.h: Likewise.
18247 * posix/spawn.h: Likewise.
18248 * posix/sys/wait.h: Likewise.
18249 * posix/unistd.h: Likewise.
18250 * posix/wordexp.h: Likewise.
18251 * pwd/pwd.h: Likewise.
18252 * resolv/netdb.h: Likewise.
18253 * resource/sys/resource.h: Likewise.
18254 * rt/aio.h: Likewise.
18255 * rt/bits/mqueue2.h: Likewise.
18256 * rt/mqueue.h: Likewise.
18257 * shadow/shadow.h: Likewise.
18258 * signal/signal.h: Likewise.
18259 * socket/send.c: Likewise.
18260 * socket/sendto.c: Likewise.
18261 * socket/sys/socket.h: Likewise.
18262 * stdio-common/printf.h: Likewise.
18263 * stdlib/bits/stdlib.h: Likewise.
18264 * stdlib/fmtmsg.h: Likewise.
18265 * stdlib/monetary.h: Likewise.
18266 * stdlib/stdlib.h: Likewise.
18267 * stdlib/ucontext.h: Likewise.
18268 * streams/stropts.h: Likewise.
18269 * string/argz.h: Likewise.
18270 * string/bits/string2.h: Likewise.
18271 * string/string.h: Likewise.
18272 * string/strings.h: Likewise.
18273 * sunrpc/rpc/auth.h: Likewise.
18274 * sunrpc/rpc/auth_des.h: Likewise.
18275 * sunrpc/rpc/clnt.h: Likewise.
18276 * sunrpc/rpc/netdb.h: Likewise.
18277 * sunrpc/rpc/pmap_clnt.h: Likewise.
18278 * sunrpc/rpc/xdr.h: Likewise.
18279 * sysdeps/generic/inttypes.h: Likewise.
18280 * sysdeps/generic/net/if.h: Likewise.
18281 * sysdeps/generic/sys/swap.h: Likewise.
18282 * sysdeps/gnu/net/if.h: Likewise.
18283 * sysdeps/gnu/utmpx.h: Likewise.
18284 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18285 * sysdeps/i386/i486/bits/string.h: Likewise.
18286 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18287 * sysdeps/s390/bits/string.h: Likewise.
18288 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18289 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18290 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18291 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18292 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18293 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18294 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18295 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18296 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18297 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18298 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18299 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18300 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18301 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18302 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18303 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18304 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18308 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18309 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18311 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18312 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18313 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18314 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18316 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18318 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18319 * sysvipc/sys/ipc.h: Likewise.
18320 * sysvipc/sys/msg.h: Likewise.
18321 * sysvipc/sys/sem.h: Likewise.
18322 * sysvipc/sys/shm.h: Likewise.
18323 * termios/termios.h: Likewise.
18324 * time/sys/time.h: Likewise.
18325 * time/time.h: Likewise.
18326 * wcsmbs/bits/wchar2.h: Likewise.
18327 * wcsmbs/uchar.h: Likewise.
18328 * wcsmbs/wchar.h: Likewise.
18329 * wctype/wctype.h: Likewise.
18330
0269750c
UD
18331 [BZ #13551]
18332 * Makeconfig: Remove all but ELF support including AIX support.
18333 * Makerules: Likewise.
18334 * config.h.in: Likewise.
18335 * config.make.in: Likewise.
18336 * configure: Likewise.
18337 * configure.in: Likewise.
18338 * csu/Makefile: Likewise.
18339 * csu/version.c: Likewise.
18340 * debug/Makefile: Likewise.
18341 * dlfcn/Makefile: Likewise.
18342 * elf/Makefile: Likewise.
18343 * extra-lib.mk: Likewise.
18344 * iconv/Makefile: Likewise.
18345 * include/libc-symbols.h: Likewise.
18346 * include/shlib-compat.h: Likewise.
18347 * resolv/Makefile: Likewise.
18348 * resolv/res_libc.c: Likewise.
18349 * rt/Makefile: Likewise.
18350 * sysdeps/i386/asm-syntax.h: Likewise.
18351 * sysdeps/i386/sysdep.h: Likewise.
18352 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18353 * sysdeps/mach/sysdep.h: Likewise.
18354 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18355 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18356 * sysdeps/s390/asm-syntax.h: Likewise.
18357 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18359 * sysdeps/sh/sysdep.h: Likewise.
18360 * sysdeps/unix/sparc/sysdep.h: Likewise.
18361 * sysdeps/wordsize-32/divdi3.c: Likewise.
18362 * sysdeps/x86_64/sysdep.h: Likewise.
18363
00bbd29b
UD
18364 * argp/Versions: Remove _argp_unlock_xxx.
18365
18366 [BZ #13559]
18367 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18368 * abilist/libBrokenLocale.abilist: Likewise.
18369 * abilist/libanl.abilist: Likewise.
18370 * abilist/libc.abilist: Likewise.
18371 * abilist/libcrypt.abilist: Likewise.
18372 * abilist/libdl.abilist: Likewise.
18373 * abilist/libm.abilist: Likewise.
18374 * abilist/libnsl.abilist: Likewise.
18375 * abilist/libpthread.abilist: Likewise.
18376 * abilist/libresolv.abilist: Likewise.
18377 * abilist/librt.abilist: Likewise.
18378 * abilist/libthread_db.abilist: Likewise.
18379 * abilist/libutil.abilist: Likewise.
18380 * abilist/libnss_db.abilist: New file.
18381
18382 * scripts/abilist.awk: Add support for indirect functions.
18383
a2693a0e
UD
18384 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18385
3f05895f
UD
18386 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18387
ecb6fb48
UD
18388 * shlib-versions: Remove entries for ports architectures.
18389
664f8cb9
UD
18390 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18391 files in ports.
18392 * elf/stackguard-macros.h: Remove support for IA-64.
18393 * elf/tst-auditmod1.c: Likewise.
18394 * sysdeps/generic/ldsodefs.h: Likewise.
18395
7ae81d88
UD
18396 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18397 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18398 configure files.
18399
bdeba135
UD
18400 [BZ #13552]
18401 * configure.in: Remove --enable-omitfp support.
18402 * FAQ.in: Adjust.
18403 * config.make.in: Likewise.
18404 * Makeconfig: Likewise.
18405 * manual/install.texi: Likewise.
18406
d75a0a62
UD
18407 In case anyone cares, the IA-64 architecture could move to ports.
18408 * sysdeps/ia64/*: Removed.
18409 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18410 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18411
dcc9756b
UD
18412 [BZ #13555]
18413 * configure.in: Remove entries for unsupported architectures.
18414
d3761ebc 18415 [BZ #13533]
9954432e
UD
18416 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18417 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18418 routines.
18419 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18420 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18421 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18422 fall back to using wcrtomb.
18423 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18424 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18425 renaming.
18426 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18427 * wcsmbs/tst-c16c32-1.c: New file.
18428
18429 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18430 local variable.
18431
c3a87236
UD
18432 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18433
28926a1b
UD
18434 * elf/tst-unique3.cc: Add explicit declaration of gets.
18435 * elf/tst-unique3lib.cc: Likewise.
18436 * elf/tst-unique3lib2.cc: Likewise.
18437 * elf/tst-unique4.cc: Likewise.
18438
df78418a
UD
18439 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18440
8ecd6b2a
JM
184412012-01-06 Joseph Myers <joseph@codesourcery.com>
18442
18443 [BZ #13566]
18444 * assert/assert.h (static_assert): Don't define for C++.
18445 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18446 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18447
9f115170
UD
184482012-01-03 Ulrich Drepper <drepper@gmail.com>
18449
5e0d0300
UD
18450 * iconv/loop.c (single loop): Fix assertion in storing of
18451 remaining bytes.
18452
9f115170
UD
18453 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18454
81fb02b0
UD
184552012-01-01 Ulrich Drepper <drepper@gmail.com>
18456
18457 * posix/getconf.c: Update copyright year.
18458 * nss/getent.c: Likewise.
a316c1f6 18459 * nss/makedb.c: Likewise.
81fb02b0
UD
18460 * iconv/iconvconfig.c: Likewise.
18461 * iconv/iconv_prog.c: Likewise.
18462 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18463 * elf/pldd.c: Likewise.
18464 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18465 * catgets/gencat.c: Likewise.
18466 * csu/version.c: Likewise.
18467 * elf/ldd.bash.in: Likewise.
18468 * elf/sprof.c (print_version): Likewise.
18469 * locale/programs/locale.c: Likewise.
18470 * locale/programs/localedef.c: Likewise.
a316c1f6 18471 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18472 * nscd/nscd.c (print_version): Likewise.
18473 * debug/xtrace.sh: Likewise.
18474 * malloc/memusage.sh: Likewise.
18475 * malloc/mtrace.pl: Likewise.
18476 * debug/catchsegv.sh: Likewise.
18477
2ba92745
JJ
184782011-12-30 Jakub Jelinek <jakub@redhat.com>
18479
18480 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18481 pure attribute.
18482
dadebdae
UD
184832011-12-24 Ulrich Drepper <drepper@gmail.com>
18484
d3761ebc 18485 [BZ #13533]
db6af3eb
UD
18486 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18487 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18488 transformations.
18489 * iconv/gconv_int.h: Likewise.
18490 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18491 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18492 from libc for GLIBC_2.16.
18493 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18494 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18495 * wcsmbs/uchar.h: Really define mbstate_t.
18496 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18497 * wcsmbs/c16rtomb.c: New file.
18498 * wcsmbs/mbrtoc16.c: New file.
18499 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18500 for C/POSIX locale.
18501 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18502 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18503
dadebdae
UD
18504 * wcsmbs/wchar.h: Add missing __restrict.
18505
67371b56
UD
185062011-12-23 Ulrich Drepper <drepper@gmail.com>
18507
74033a25
UD
18508 [BZ #13532]
18509 * time/Makefile (routines): Add timespec_get.
18510 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18511 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18512 timespec for ISO C11.
18513 * time/timespec_get.c: New file.
18514 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18515 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18516
380d7e87
UD
18517 [BZ #13531]
18518 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18519 * stdlib/stdlib.h: Declare aligned_alloc.
18520 * Versions.def: Add GLIBC_2.16 for libc.
18521 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18522
4e9e7a35
UD
18523 [BZ 13527]
18524 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18525 ISO C11.
18526
380d7e87 18527 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18528 code.
18529
03a71829
UD
18530 [BZ #13528]
18531 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18532
839e283e
UD
18533 [BZ #13529]
18534 * assert/assert.h (static_assert): Define.
18535
ce5294e2 18536 * version.h: Update for 2.16 development version.
90fa7312 18537
8d44e150 18538 [BZ #13526]
d7809905
UD
18539 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18540 _ISOC11_SOURCE.
18541
c0da14cd
UD
18542 * version.h (RELEASE): Bump for 2.15 release.
18543 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18544
530a3249
MP
18545 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18546 Patch by Marek Polacek <mpolacek@redhat.com>.
18547
67371b56
UD
18548 * bits/byteswap.h: Protect long long constants with __extension__.
18549 * sysdeps/i386/bits/byteswap.h: Likewise.
18550 * sysdeps/ia64/bits/byteswap.h: Likewise.
18551 * sysdeps/s390/bits/byteswap.h: Likewise.
18552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18553
15db4de1
LD
185542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18555
18556 [BZ #13540]
bbe315ea
LD
18557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18558 destination buffer.
15db4de1
LD
18559 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18560
2b2596b1
MP
185612011-12-23 Marek Polacek <polacek@redhat.com>
18562
18563 * elf/dl-addr.c (determine_info): Add inline keyword.
18564 * elf/tst-auditmod4b.c (check_avx): Likewise.
18565 * elf/tst-auditmod6b.c (check_avx): Likewise.
18566 * elf/tst-auditmod6c.c (check_avx): Likewise.
18567 * elf/tst-auditmod7b.c (check_avx): Likewise.
18568
70c6c246
UD
185692011-12-23 Ulrich Drepper <drepper@gmail.com>
18570
18571 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18572 !__SSE_MATH__.
18573
c044cf14
LD
185742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18575
15db4de1 18576 [BZ #13540]
c044cf14
LD
18577 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18578 processing for last bytes.
18579
6b13d9d9
BH
185802011-08-06 Bruno Haible <bruno@clisp.org>
18581
d455f537
BH
18582 [BZ #13061]
18583 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18584 U+0385, not to U+1FEE.
18585
6b13d9d9
BH
18586 [BZ #13062]
18587 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18588 entry for U+00A5 U+0301.
18589
db910efd
UD
185902011-12-22 Ulrich Drepper <drepper@gmail.com>
18591
27deeafc
UD
18592 [BZ #13166]
18593 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18594 buffer for the output is too small.
18595
aed9d171
UD
18596 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18597 optimization.
18598
db910efd
UD
18599 [BZ #13185]
18600 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18601 SSE flags if possible.
18602
2bd779ae
LD
186032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18604
e7f9dac3 18605 [BZ #13540]
2bd779ae
LD
18606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18607 processing for last bytes.
18608
154bfc16
JM
186092011-12-22 Joseph Myers <joseph@codesourcery.com>
18610
18611 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18612 (syscall-list-default-options, syscall-list-default-condition)
18613 (syscall-list-includes): Define.
18614 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18615 list of ABIs and options and #if conditions for each ABI. Do not
18616 handle common syscalls between ABIs specially.
18617 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18618 Remove.
18619 (syscall-list-variants, syscall-list-32bit-options)
18620 (syscall-list-32bit-condition, syscall-list-64bit-options)
18621 (syscall-list-64bit-condition): Define.
18622 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18623 (syscall-list-variants, syscall-list-32bit-options)
18624 (syscall-list-32bit-condition, syscall-list-64bit-options)
18625 (syscall-list-64bit-condition): Define.
18626 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18627 Remove.
18628 (syscall-list-variants, syscall-list-32bit-options)
18629 (syscall-list-32bit-condition, syscall-list-64bit-options)
18630 (syscall-list-64bit-condition): Define.
18631 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18632 Remove.
18633 (syscall-list-variants, syscall-list-32bit-options)
18634 (syscall-list-32bit-condition, syscall-list-64bit-options)
18635 (syscall-list-64bit-condition): Define.
18636
21eaf3a5
UD
186372011-12-22 Ulrich Drepper <drepper@gmail.com>
18638
16c6f992
UD
18639 * locale/iso-639.def: Add brx entry.
18640
41043168
UD
18641 [BZ #13328]
18642 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18643 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18644
21eaf3a5
UD
18645 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18646 __feraiseexcept_renamed.
18647
e3a851a2
UD
186482011-12-21 Ulrich Drepper <drepper@gmail.com>
18649
4920765e
UD
18650 [BZ #13538]
18651 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18652 EPOLLET with unsigned values.
18653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18655
e3a851a2
UD
18656 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18657 to large cancellation.
18658 * math/s_cacoshf.c: Likewise.
18659 * math/s_cacoshl.c: Likewise.
18660
b27e24b8
RK
186612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18662
18663 [BZ #13305]
aebefeee 18664 [BZ #12786]
b27e24b8
RK
18665 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18666 * math/s_cacoshf.c: Likewise.
18667 * math/s_cacoshl.c: Likewise.
18668
ee190f67
UD
186692011-12-21 Ulrich Drepper <drepper@gmail.com>
18670
18671 [BZ #13439]
18672 * iconv/gconv.h: Define __GCONV_SWAP.
18673 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18674 * iconvdata/utf-16.c: Likewise.
18675 * iconvdata/utf-32.c: Likewise.
18676
707f25df
AS
186772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18678
18679 [BZ #13524]
18680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18681 numerator after shifting it by one limb.
18682
d2daaa1e
RÁE
186832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18684
18685 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18686 under [__USE_EXTERN_INLINES].
18687
a4647e72
UD
186882011-12-17 Ulrich Drepper <drepper@gmail.com>
18689
18690 [BZ #13446]
18691 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18692
f0b264f1
AZ
186932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18694
18695 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18696 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18697 optimized code.
18698 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18699 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18700 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18701 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18702 for strncasecmp/strncasecmp_l compilation.
18703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18704 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18705
8ef4f244
MP
187062011-12-08 Marek Polacek <mpolacek@redhat.com>
18707
18708 [BZ #13484]
18709 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18710 of __asm__.
18711
97ac2654
UD
187122011-12-17 Ulrich Drepper <drepper@gmail.com>
18713
18714 [BZ #13506]
18715 * time/tzfile.c (__tzfile_read): Check values from file header.
18716
91d2a845
WS
187172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18718
18719 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18720 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18721 * powerpc/powerpc32/dl-start.S: Likewise.
18722 * powerpc/powerpc32/elf/start.S: Likewise.
18723 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18724 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18725 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18726 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18727 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18728 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18729 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18730 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18731 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18732 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18733 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18734 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18735 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18736 * powerpc/powerpc32/memset.S: Likewise.
18737 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18738 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18739 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18740 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18741 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18742 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18743 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18744 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18745 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18746 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18747 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18748 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18749 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18750
a1267ba1
AZ
187512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18752
18753 * math/libm-test.inc: Added more nearbyint tests.
18754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18757 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18758
ad8ac1bd
RL
187592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18760
18761 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18762 FD_CLOEXEC.
18763
1d3e4b61
UD
187642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18765
18766 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18767 Add wcscpy-ssse3 wcscpy-c.
18768 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18769 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18770 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18771 * sysdeps/x86_64/wcschr.S: New file.
18772 * sysdeps/x86_64/wcsrchr.S: New file.
18773 * string/test-strcmp.c: Remove checking of wcscmp function for
18774 wrong alignments.
18775 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18776 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18777 wcsrchr-sse2 wcsrchr-c.
18778 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18779 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18780 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18781 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18782 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18783 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18784 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18785 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18786 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18787 * wcsmbc/wcschr.c (WCSCHR): New macro.
18788
5b330a2d
UD
187892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18790
18791 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18792 * wcsmbs/test-wcsrchr.c: New file.
18793 * string/test-strrchr.c: Add wcsrchr support.
18794 (WIDE): New macro.
18795 * wcsmbs/test-wcscpy.c: New file.
18796 * string/test-strcpy.c: Add wcscpy support.
18797 (WIDE): New macro.
26428b7c 18798
f039c043
UD
187992011-12-10 Ulrich Drepper <drepper@gmail.com>
18800
18801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18802 the inner loop.
18803
850fb039
AS
188042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18805
18806 [BZ #13472]
18807 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18808
4efbd5cb
UD
188092011-12-04 Ulrich Drepper <drepper@gmail.com>
18810
52ff5dd0 18811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18812 Minor optimizations.
52ff5dd0 18813
4efbd5cb
UD
18814 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18815 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18816 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18817
8a426e12
UD
188182011-12-03 Ulrich Drepper <drepper@gmail.com>
18819
aff2453d
UD
18820 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18821 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18822 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18823 for gcc to avoid warnings.
18824 * inet/Makefile (tests): Add tst-checks.
18825 * inet/tst-checks.c: New file.
18826
18827 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18828 warning.
18829
18830 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18831 __wmemcmp_sse2.
18832
18833 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18834 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18835
8a426e12
UD
18836 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18837
9bea3473
UD
188382011-12-02 Ulrich Drepper <drepper@gmail.com>
18839
3a965496
UD
18840 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18841 problem.
18842
9bea3473
UD
18843 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18844
f101631b
UD
188452011-11-29 Joseph Myers <joseph@codesourcery.com>
18846
18847 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18848 conditional on GCC version.
18849 (__arch_compare_and_exchange_val_8_acq)
18850 (__arch_compare_and_exchange_val_16_acq)
18851 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18852 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18853 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18854
a98275aa
UD
188552011-12-02 Joseph Myers <joseph@codesourcery.com>
18856
18857 * sysdeps/sh/backtrace.c: New file.
18858
d4cc29a2
AS
188592011-12-02 Andreas Schwab <schwab@redhat.com>
18860
18861 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18862 parenthesis.
18863
6257af2d
AS
188642011-12-01 Andreas Schwab <schwab@redhat.com>
18865
18866 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18867 falling back to utime.
18868
b5f44c1a
AS
188692011-11-30 Andreas Schwab <schwab@redhat.com>
18870
18871 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18872 expectations for float.
18873
f3a6cc0a
AS
188742011-11-29 Andreas Schwab <schwab@redhat.com>
18875
18876 * locale/weight.h (findidx): Add parameter len.
18877 * locale/weightwc.h (findidx): Likewise.
18878 * posix/fnmatch_loop.c (FCT): Adjust caller.
18879 * posix/regcomp.c (build_equiv_class): Likewise.
18880 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18881 * posix/regexec.c (check_node_accept_bytes): Likewise.
18882 * string/strcoll_l.c (STRCOLL): Likewise.
18883 * string/strxfrm_l.c (STRXFRM): Likewise.
18884
9d65ea3a
UD
188852011-11-17 Ulrich Drepper <drepper@gmail.com>
18886
18887 * Makefile.in: Remove CVSOPT handling.
18888 * configure.in: Remove use of AC_REVISION.
18889 * iconvdata/Makefile (distribute): No need to filter out CVS.
18890 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18891 handling.
18892
5583a086
AS
188932011-11-16 Andreas Schwab <schwab@redhat.com>
18894
18895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18896 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18897 [USE_AS_STRNCASECMP_L]: Likewise.
18898 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18899 NO_TLS_DIRECT_SEG_REFS.
18900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18901 Fix argument offsets for non-PIC.
18902 [USE_AS_STRNCASECMP_L]: Likewise.
18903 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18904 NO_TLS_DIRECT_SEG_REFS.
18905
d62a8200
UD
189062011-11-15 Ulrich Drepper <drepper@gmail.com>
18907
9d65ea3a 18908 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18909 O_CLOEXEC.
18910 * locale/loadlocale.c (_nl_load_locale): Likewise.
18911
09f93bd3
AS
189122011-11-15 Andreas Schwab <schwab@redhat.com>
18913
446514f9
AS
18914 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18915 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18916 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18917 (SYSCALL_GETTIME): Set errno on error.
18918
09f93bd3
AS
18919 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18920 count references to noai6ai_cached.
18921
312be3f9
UD
189222011-11-15 Ulrich Drepper <drepper@gmail.com>
18923
18924 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18925
18926 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18927 FD_CLOEXEC for /proc/self/maps.
18928
18929 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18930 FD_CLOEXEC for /proc/meminfo.
18931
18932 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18933 gai.conf.
18934
18935 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18936 FD_CLOEXEC for given file.
18937
18938 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18939
18940 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18941 FD_CLOEXEC for /etc/hosts.
18942 (_gethtent): Likewise.
18943
18944 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18945
18946 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18947 cancellation and set FD_CLOEXEC for /etc/netgroup.
18948
18949 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18950 reading /etc/publickey.
18951
18952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18953 allow cancellation when reading /etc/group.
18954
18955 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18956 cancellation.
18957 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18958
18959 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18960 when using data file.
18961
18962 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18963
18964 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18965 (write_nis_obj): Use "c" and "e" in fopen.
18966
18967 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18968
18969 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18970
18971 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18972
18973 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18974
18975 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18976 locale.alias.
18977
18978 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18979
18980 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18981
18982 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18983
18984 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18985 file parsing and set FD_CLOEXEC.
18986
82af0fa8
UD
189872011-11-14 Ulrich Drepper <drepper@gmail.com>
18988
18989 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18990
a5fb313c
AS
189912011-11-14 Andreas Schwab <schwab@redhat.com>
18992
18993 * malloc/arena.c (arena_get2): Don't call reused_arena when
18994 _int_new_arena failed.
18995
6abf3465
UD
189962011-11-14 Ulrich Drepper <drepper@gmail.com>
18997
18998 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18999 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19001 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19004 to compile strcasecmp and strncasecmp.
19005 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19006 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19007
19008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19009
76e3966e
UD
190102011-11-13 Ulrich Drepper <drepper@gmail.com>
19011
19012 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19013 locale-defines.sym to gen-as-const-headers.
19014 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19015 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19017 to compile strcasecmp and strncasecmp.
19018 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19019 strcasecmp_l and strncasecmp_l.
19020 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19021 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19022 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19023 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19024 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19025 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19026 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19027 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19028 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19029 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19030 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19031
ab26144e
UD
190322011-11-12 Ulrich Drepper <drepper@gmail.com>
19033
7edb22ef
UD
19034 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19035 result of SYSDEP_GETTIME_CPU to retval.
19036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19037 parameter list to macro. Remove trailing semicolon. Adjust users.
19038
9694fc44
UD
19039 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19040 variable.
19041
8ad89ef8
UD
19042 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19043 mantissa words.
19044 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19045
0c822ef9
UD
19046 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19047 from unused variable.
19048
874e0564
UD
19049 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19050 DWARF definitions.
19051 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19052 for assembling.
19053
3a2edc79
UD
19054 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19055 over namespaces.
19056
f3c2577f
UD
19057 * sunrpc/rpc_prot.c (rejected): Fix case value.
19058
294ce126
UD
19059 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19060 unsigned long long int to avoid warnings in shift.
19061
5e2b63c6
UD
19062 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19063 of use of trans.
19064 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19065 variable tmp.
19066
e7f4b08e
UD
19067 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19068 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19069 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19070
ab26144e
UD
19071 * nis/nis_table.c (nis_list): Use variable of correct type for
19072 result of __follow_path call.
19073
8a6d5255
AZ
190742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19075
19076 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19077 of math functions ceil, trunc, floor, round, and sqrt, when
19078 avaliable on the platform.
19079 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19080 name clash.
19081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19082 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19083 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19084
aaddc98c
MP
190852011-10-30 Marek Polacek <mpolacek@redhat.com>
19086
19087 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19088 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19089
95b7042b
RM
190902011-11-11 Roland McGrath <roland@hack.frob.com>
19091
19092 * include/unistd.h: Fix __readlink return type.
19093 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19094
57769839
UD
190952011-11-11 Ulrich Drepper <drepper@gmail.com>
19096
19097 * stdlib/ucontext.h: Undo last change for makecontext.
19098
edc5984d
AS
190992011-11-11 Andreas Schwab <schwab@redhat.com>
19100
98591e58
AS
19101 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19102
edc5984d
AS
19103 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19104 * setjmp/setjmp.h: Mark functions as non-leaf.
19105 * setjmp/bits/setjmp2.h: Likewise.
19106 * stdlib/ucontext.h: Likewise.
19107
77cdc054
AS
191082011-11-10 Andreas Schwab <schwab@redhat.com>
19109
19110 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19111 (reused_arena): Don't check arena limit.
19112 (arena_get2): Atomically check arena limit.
19113
fe72eebd
UD
191142011-11-08 Ulrich Drepper <drepper@gmail.com>
19115
5f078c32
UD
19116 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19117 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19118
fe72eebd
UD
19119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19120 instructions.
19121
ae1bc2fa
AS
191222011-11-07 Andreas Schwab <schwab@redhat.com>
19123
7583a88d
AS
19124 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19125 handler when locking.
19126
ae1bc2fa
AS
19127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19128 Fix size of allocated buffer.
19129
10fb0bfa
AS
191302011-11-04 Andreas Schwab <schwab@redhat.com>
19131
998832a4
AS
19132 [BZ #10103]
19133 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19134 declarations for long double functions.
19135 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19136
10fb0bfa
AS
19137 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19138
3d7ba52b
AS
191392011-11-03 Andreas Schwab <schwab@redhat.com>
19140
a9ae54a1
AS
19141 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19142 installed.
19143
3d7ba52b
AS
19144 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19145 is disabled.
19146
bc8db248
ST
191472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19148
19149 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19150
45b96dd6
AS
191512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19152
647776f6
AS
19153 * include/alloca.h (stackinfo_alloca_round): Define.
19154 (extend_alloca): Use it.
19155 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19156 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19157 here.
19158
d91a8b93
AS
19159 * scripts/check-local-headers.sh: Ignore libaudit.h.
19160
45b96dd6
AS
19161 * nscd/Makefile (extra-objs): Make recursively expanded.
19162
432d41ce
UD
191632011-11-01 Ulrich Drepper <drepper@gmail.com>
19164
34372fc6
UD
19165 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19167
fadb59f8
UD
19168 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19169 * posix/tst-rfc3484-2.c: Likewise.
19170 * posix/tst-rfc3484-3.c: Likewise.
19171
78239589
UD
19172 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19173 process_vm_writev.
19174 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19175 process_vm_writev.
19176 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19177 process_vm_writev from libc using GLIBC_2.15 version.
19178
432d41ce
UD
19179 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19180
02f9c6cf
PP
191812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19182
19183 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19184 stack usage.
19185
3a2c0242
UD
191862011-10-31 Ulrich Drepper <drepper@gmail.com>
19187
f4ec4833
UD
19188 [BZ #13367]
19189 * nss/getent.c (initgroups_keys): Show error message in case no group
19190 names are given.
19191
3a2c0242
UD
19192 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19193 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19194 __bump_nl_timestamp.
19195 * nscd/connections (nscd_init): When host database is served open
19196 netlink socket and request notification about configuration changes.
19197 (main_loop_poll): Track netlink file descriptor and bump timestamp
19198 in case data becomes available.
19199 (main_loop_epoll): Likewise.
19200 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19201 (database_pers_head): Add extra_data fileds.
19202 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19203 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19204 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19205 Adjust caller.
19206 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19207 in6ai data, call __free_in6ai.
19208 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19209 Add -DHAVE_NETLINK.
19210 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19211 interface information. Reuse previous data if netlink timestamp
19212 is not changed.
19213 (__bump_nl_timestamp): New function.
19214 (__free_in6ai): New function.
19215
636064eb
UD
192162011-10-30 Ulrich Drepper <drepper@gmail.com>
19217
19218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19219 close_not_cancel_no_status here.
19220 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19221
9beb2334
UD
192222011-10-29 Ulrich Drepper <drepper@gmail.com>
19223
6ef76f3b
UD
19224 [BZ #13276]
19225 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19226 return value.
19227
0ffc4f3e 19228 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19229 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19230 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19231
cb95113e
UD
192322011-07-03 Andreas Jaeger <aj@suse.de>
19233
19234 [BZ #10709]
19235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19236 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19237 * math/libm-test.inc (sin_test): Add test case.
19238
a1b560ff
UD
192392011-10-29 Ulrich Drepper <drepper@gmail.com>
19240
c9aaface
UD
19241 [BZ #13337]
19242 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19243 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19244
d272e7f1
UD
19245 * elf/chroot_canon.c (chroot_canon): Cleanups.
19246
1bc33071
UD
19247 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19248
1760874d
TJ
19249 [BZ #13335]
19250 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19251 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19252
51d91b18
UD
19253 * string/test-strchr.c: Make usable for strchrnul testing.
19254 * string/test-strchrnul.c: New file.
19255 * string/Makefile (strop-tests): Add strchrnul.
19256
a1b560ff 19257 * po/it.po: Update from translation team.
b611fb81 19258 * po/es.po: Likewise.
a1b560ff 19259
a5b81e1f
UD
192602011-10-28 Ulrich Drepper <drepper@gmail.com>
19261
fd52bc6d
UD
19262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19263 the three constants needed as parameters. Drop the others.
19264 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19265 __m128i_strloadu_tolower.
52e4b9eb
UD
19266 Create and initialize variable zero and use it in all the places
19267 where _mm_setzero_si128 was used.
fd52bc6d 19268
a5b81e1f
UD
19269 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19270 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19271 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19273 anymore.
19274 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19275 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19276 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19277 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19279 __mpranred, __mptan.
19280 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19281 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19282 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19283 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19284 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19285 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19286 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19287 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19288 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19289
b4343346
AS
192902011-10-28 Andreas Schwab <schwab@redhat.com>
19291
0c92d8a8
AS
19292 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19293 redefine if SHARED.
19294 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19295
b4343346
AS
19296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19297 wide char related routines to wcsmbs subdir.
19298
3871f58f
AS
192992011-10-27 Andreas Schwab <schwab@redhat.com>
19300
19301 [BZ #13344]
19302 * misc/sys/cdefs.h (__THROWNL): Define.
19303 * posix/unistd.h: Use __THREADNL instead of __THREAD
19304 for memory synchronization functions.
19305
94d44d9f
RM
193062011-10-26 Roland McGrath <roland@hack.frob.com>
19307
21b64b15 19308 [BZ #13349]
94d44d9f
RM
19309 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19310 doesn't exist.
19311 * manual/stdio.texi (Obstack Streams): Node removed.
19312
f6ce9294
AS
193132011-10-26 Andreas Schwab <schwab@redhat.com>
19314
80479147
AS
19315 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19316 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19318
f6ce9294
AS
19319 * math/math_private.h (math_force_eval): Allow non-addressable
19320 arguments.
19321 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19322
618280a1
UD
193232011-10-25 Ulrich Drepper <drepper@gmail.com>
19324
e0016b11
UD
19325 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19326 file is not needed.
19327
19328 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19335 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19336 Add AVX variants.
19337 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19338 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19339 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19340 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19341 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19342 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19343 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19344 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19345 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19346 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19347 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19348 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19350 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19353 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19354 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19355 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19356
19357 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19358 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19359
618280a1
UD
19360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19361 place. Use VEX encoding when compiling for AVX.
19362
37822576
AS
193632011-10-25 Andreas Schwab <schwab@redhat.com>
19364
1f1e1947
AS
19365 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19366 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19367
37822576
AS
19368 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19369
31ea014d
UD
193702011-10-25 Ulrich Drepper <drepper@gmail.com>
19371
d7826aa1 19372 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19373 useless if() expression.
d7826aa1
UD
19374 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19384 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19385 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19386 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19387 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19388 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19390 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19392 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19393
31ea014d
UD
19394 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19395
16437fec
AS
193962011-10-25 Andreas Schwab <schwab@redhat.com>
19397
19398 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19399 condition.
19400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19401
31d3cc00
UD
194022011-10-25 Ulrich Drepper <drepper@gmail.com>
19403
19404 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19405 .text section. Avoid duplicate constants.
19406 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19416 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19418 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19421 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19423 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19429 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19430 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19431 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19432 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19433 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19434 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19435 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19437 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19438 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19439 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19440 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19441 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19442 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19443 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19444 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19445 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19446 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19447 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19448 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19449 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19450 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19451
58985aa9
UD
194522011-10-24 Ulrich Drepper <drepper@gmail.com>
19453
202c9deb
UD
19454 * sysdeps/x86_64/dla.h: Move to ...
19455 * sysdeps/x86_64/fpu/dla.h: ...here.
19456 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19457 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19458
af968f62
UD
19459 * config.make.in: Add have-mfma4 entry.
19460 * configure.in: Substitute libc_cv_cc_fma4.
19461 * math/Makefile (dbl-only-routines): Add sincostab.
19462 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19463 Use __sincostab not sincos.
19464 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19465 name is a macro.
19466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19470 using __copysign.
19471 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19472 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19473 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19474 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19475 and __inv.
19476 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19477 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19478 __copysign.
19479 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19480 define aliases when function name is a macro.
19481 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19482 sysdeps/ieee754/dbl-64/sincos.tbl.
19483 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19484 fma4-enabled routines.
19485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19486 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19487 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19488 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19489 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19490 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19494 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19495 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19497 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19498 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19499 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19500 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19501 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19503 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19504 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19505 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19506 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19507 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19508 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19509 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19510 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19511 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19512 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19513 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19514 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19515
58985aa9
UD
19516 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19517 rename.
19518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19526
a201fbcf
AS
195272011-10-24 Andreas Schwab <schwab@redhat.com>
19528
19529 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19530
fc2ee42a
LD
195312011-10-23 Ulrich Drepper <drepper@gmail.com>
19532
bb3129bd
UD
19533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19534
0275fff8
UD
19535 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19536 prediction.
19537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19538
2fa2ae85
UD
19539 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19540 Remove unused variable magic_bits.
19541 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19542
fc2ee42a
LD
19543 * string/strnlen.c: Define and use STRNLEN macro.
19544 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19545 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19547 * wcsmbs/wcslen.c: Define and use WCSLEN.
19548 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19549 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19550 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19551 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19552 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19553 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19555
ce7dd29f
LD
195562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19557
19558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19559 strnlen-sse2-no-bsf.
19560 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19562 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19563 Add strnlen support.
19564 (USE_AS_STRNLEN): New macro.
19565 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19566 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19567 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19568 * sysdeps/x86_64/wcslen.S: New file.
19569
979c70a3
MZ
195702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19571
19572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19573 XMM-moves are used for copying on small sizes.
19574
2d09f82f
LD
195752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19576
19577 * wcsmbs/Makefile (strop-tests): Add wcschr.
19578 * wcsmbs/test-wcschr.c: New file.
19579 * string/test-strchr.c: Update.
19580 Add wcschr support.
19581 (WIDE): New macro.
19582
619fccca
LD
195832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19584
2d09f82f 19585 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19586 * wcsmbs/test-wcslen.c: New file.
19587 * string/test-strlen.c: Update.
19588 Add wcslen support.
19589 (WIDE): New macro.
19590
09f699ea
UD
195912011-10-23 Ulrich Drepper <drepper@gmail.com>
19592
19593 * po/it.po: Update from translation team.
19594
95584d3b
LD
195952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19596
19597 * sysdeps/x86_64/wcscmp.S: Update.
19598 Fix wrong comparison semantics.
19599 wcscmp shall use signed comparison not unsigned.
19600 Don't use substraction to avoid overflow bug.
19601 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19602 * wcsmbc/wcscmp.c: Likewise.
19603 * string/test-strcmp.c: Likewise.
19604 Add new tests to check cases with negative values.
19605
c8b3296b
UD
196062011-10-23 Ulrich Drepper <drepper@gmail.com>
19607
19608 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19609 * sysdeps/x86_64/dla.h: ...here. New file.
19610 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19619
246ad57a
AS
196202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19621
19622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19623 __ynl_finite aliases.
19624
a1a87169
UD
196252011-10-22 Ulrich Drepper <drepper@gmail.com>
19626
0d355eb7
UD
19627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19628
a1a87169
UD
19629 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19630 define DLA_FMA.
19631 [DLA_FMA] (EMULV): Use DLA_FMA.
19632 [DLA_FMA] (MUL12): Use EMULV.
19633 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19634 that are not needed.
19635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19642
ee2aafe0
AS
196432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19644
19645 * math/s_nan.c: Undef __nan.
19646 * math/s_nanf.c: Undef __nanf.
19647 * math/s_nanl.c: Undef __nanl.
19648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19649 "math_private.h".
19650
bc62c2fb
UD
196512011-10-22 Ulrich Drepper <drepper@gmail.com>
19652
77425c63
UD
19653 * math/s_catan.c: Add branch predictions.
19654 * math/s_catanf.c: Likewise.
19655 * math/s_catanh.c: Likewise.
19656 * math/s_catanhf.c: Likewise.
19657 * math/s_catanhl.c: Likewise.
19658 * math/s_catanl.c: Likewise.
19659 * math/s_cexp.c: Likewise.
19660 * math/s_cexpf.c: Likewise.
19661 * math/s_cexpl.c: Likewise.
19662 * math/s_clog.c: Likewise.
19663 * math/s_clog10.c: Likewise.
19664 * math/s_clog10f.c: Likewise.
19665 * math/s_clog10l.c: Likewise.
19666 * math/s_clogf.c: Likewise.
19667 * math/s_clogl.c: Likewise.
19668 * math/s_csqrt.c: Likewise.
19669 * math/s_csqrtf.c: Likewise.
19670 * math/s_csqrtl.c: Likewise.
19671 * math/s_ctanf.c: Likewise.
19672 * math/s_ctanh.c: Likewise.
19673 * math/s_ctanhf.c: Likewise.
19674 * math/s_ctanhl.c: Likewise.
19675 * math/s_ctanl.c: Likewise.
19676
bc62c2fb
UD
19677 * math/math_private.h: Define __nan, __nanf, __nanl.
19678 * math/s_cacosh.c: Include <math_private.h>.
19679 * math/s_cacoshl.c: Likewise.
19680 * math/s_casinh.c: Likewise.
19681 * math/s_casinhf.c: Likewise.
19682 * math/s_casinhl.c: Likewise.
19683 * math/s_ccos.c: Rely entire on ccosh.
19684 * math/s_ccosf.c: Rely entire on ccoshf.
19685 * math/s_ccosl.c: Rely entirely on ccoshl.
19686 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19687 Remove tests for FE_INVALID.
19688 * math/s_ccoshf.c: Likewise.
19689 * math/s_ccoshl.c: Likewise.
19690 * math/s_csin.c: Likewise.
19691 * math/s_csinf.c: Likewise.
19692 * math/s_csinh.c Likewise.
19693 * math/s_csinhf.c: Likewise.
19694 * math/s_csinhl.c: Likewise.
19695 * math/s_csinl.c: Likewise.
19696 * math/s_ctan.c: Likewise.
19697 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19698 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19700
8ec250a4
UD
197012011-10-21 Ulrich Drepper <drepper@gmail.com>
19702
c196fed8
UD
19703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19704 compilation problems.
19705
8ec250a4
UD
19706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19707 __builtin_expect.
19708
8d4f46c6
UD
197092011-10-20 Ulrich Drepper <drepper@gmail.com>
19710
ed72b654
UD
19711 * sysdeps/i386/configure.in: Test for -mfma4 option.
19712 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19713 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19714 COMMON_CPUID_INDEX_80000001.
19715 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19716 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19717 use it if FMA3 is not supported.
19718 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19719
8d4f46c6
UD
19720 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19721 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19722
d45c60c2
AS
197232011-10-20 Andreas Schwab <schwab@redhat.com>
19724
19725 [BZ #12892]
19726 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19727 it would create a cycle with a link time dependency.
19728
d9a4d2ab
UD
197292011-10-19 Ulrich Drepper <drepper@gmail.com>
19730
855d1560
UD
19731 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19732 instruction.
19733 * string/Makefile (strop-tests): Add rawmemchr.
19734 * string/test-rawmemchr.c: New file.
19735
d9a4d2ab
UD
19736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19738 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19739 when compiling str{,n}casecmp and when AVX is available. Hook up
19740 new optimized code in initializers.
19741
8f3b1ffe
AS
197422011-10-19 Andreas Schwab <schwab@redhat.com>
19743
19744 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19745 __feraiseexcept instead of feraiseexcept.
19746
d38f1dba
UD
197472011-10-18 Ulrich Drepper <drepper@gmail.com>
19748
d9a8d0ab
UD
19749 * math/math_private.h: Define defaults for libc_fetestexcept and
19750 libc_feupdateenv.
19751 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19752 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19753 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19756 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19757 libc_fetestexcept and libc_feupdateenv.
19758
4855e3dd
UD
19759 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19760 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19761 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19762 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19763 libc_feholdexcept_setround.
19764
581d30e3
UD
19765 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19766 Add s_nearbyint-c and s_nearbyintf-c.
19767 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19768 nearbyintf inlines.
19769 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19770 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19771 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19772 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19773
d38f1dba
UD
19774 * math/math_private.h: Define defaults for libc_fegetround,
19775 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19776 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19777 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19778 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19779 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19780 standard functions.
19781 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19782 Remove comments and hacks for old compiler versions.
19783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19784 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19785 libc_feholdexceptl.
19786
caa6c9d8
AS
197872011-10-18 Andreas Schwab <schwab@redhat.com>
19788
19789 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19790 (__feraiseexcept_renamed): Add __NTH.
19791 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19792 namespace violations.
19793
97c066e6
UD
197942011-10-17 Ulrich Drepper <drepper@gmail.com>
19795
99ce7b04
UD
19796 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19797
1004d182
UD
19798 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19799
228a984d
UD
19800 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19801 recently added interfaces.
19802 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19803
c8553a6a
UD
19804 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19805 about macro parameter expansion.
19806
ed22dcf6
UD
19807 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19808 __NO_MATH_INLINES is defined. Cleanups.
19809
19810 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19811 and __floorf is target has SSE4.1.
19812 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19813 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19814 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19815 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19816
b171c137
UD
19817 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19818 name.
19819 (floorf): Likewise.
19820
97c066e6
UD
19821 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19822
629f62ef
AS
198232011-10-17 Andreas Schwab <schwab@redhat.com>
19824
49a43d80
AS
19825 * misc/sys/cdefs.h: Fix last change.
19826
629f62ef
AS
19827 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19828 database lookup.
19829
e453f6cd
UD
198302011-10-16 Ulrich Drepper <drepper@gmail.com>
19831
aa78043a
UD
19832 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19833
ad0f5cad
UD
19834 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19841 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19843 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19844 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19845 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19846 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19847 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19848 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19849 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19850 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19851 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19852 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19853 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19854 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19855 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19856
19857 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19858 ceil, ceilf, floor, floorf.
19859
19860 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19861 Perform IRELATIVE relocations last.
19862
e453f6cd
UD
19863 * elf/do-rel.h: Add another parameter nrelative, replacing the
19864 local variable with the same name. Change name of the function
19865 to end in Rel or Rela (uppercase).
19866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19867 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19868 elf_dynamic_do_##reloc function.
19869
fd5bdc09
UD
198702011-10-15 Ulrich Drepper <drepper@gmail.com>
19871
79b195b5
UD
19872 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19873 is sufficient, at least on modern CPUs.
19874
d4a28569
UD
19875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19876
b61099b5
UD
19877 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19879
bcf01e6d
UD
19880 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19881 __expl_finite.
19882 * math/bits/math-finite.h: Add entries for exp.
19883 * math/e_expl.c: Add __*_finite alias.
19884 * sysdeps/i386/fpu/e_exp.S: Likewise.
19885 * sysdeps/i386/fpu/e_expf.S: Likewise.
19886 * sysdeps/i386/fpu/e_expl.c: Likewise.
19887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19888 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19892 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19893 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19894
ba1a0d59
UD
19895 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19896 is sufficient, at least on modern CPUs.
19897
fd5bdc09
UD
19898 * ctype/ctype-info.c (__ctype_init): Define.
19899 * include/ctype.h (__ctype_init): Declare.
19900 (__ctype_b_loc): The variable is always initialized.
19901 (__ctype_toupper_loc): Likewise.
19902 (__ctype_tolower_loc): Likewise.
19903 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19904 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19905
7872cfb0
AS
199062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19907
b468825a
AS
19908 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19909
7872cfb0
AS
19910 * configure.in: Also look in $cxxmachine/include for C++ system
19911 headers.
19912
be13f7bf
LD
199132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19914
19915 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19916 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19917 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19918 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19920 (USE_AS_WMEMCMP): New macro.
19921 Fixing indents.
19922 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19923 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19924 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19925 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19927 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19928 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19929 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19930 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19931 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19932 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19933 (USE_AS_WMEMCMP): New macro.
19934 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19935 * sysdeps/string/test-memcmp.c: Update.
19936 Fix simple_wmemcmp.
19937 Add new tests.
19938 * wcsmbs/wmemcmp.c: Update.
19939 (WMEMCMP): New macro.
19940 Fix overflow bug.
19941
556a2007
AJ
199422011-10-12 Andreas Jaeger <aj@suse.de>
19943
19944 [BZ #13268]
19945 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19946
538faaa7
UD
199472011-10-15 Ulrich Drepper <drepper@gmail.com>
19948
ab6737ff
UD
19949 * libio/iofwide.c (do_length): Avoid warning.
19950
538faaa7
UD
19951 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19952
396a21b1
UD
199532011-10-14 Ulrich Drepper <drepper@gmail.com>
19954
cdf2901f
UD
19955 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19956
38ad40ce
UD
19957 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19958 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19959 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19960 * sysdeps/i386/i686/fpu/e_log.S: New file.
19961 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19962 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19963
396a21b1
UD
19964 * ctype/ctype.h: Add support for inlined isXXX functions when
19965 compiling C++ code.
19966
6b1f68c9
AS
199672011-10-14 Andreas Schwab <schwab@redhat.com>
19968
349290c0
AS
19969 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19970
6b1f68c9
AS
19971 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19972
f2282d42
RM
199732011-10-13 Roland McGrath <roland@hack.frob.com>
19974
19975 [BZ #13291]
19976 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19977
5298ffa8
AS
199782011-10-13 Andreas Schwab <schwab@redhat.com>
19979
714fad23
AS
19980 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19981 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19982 feraiseexcept.
19983
81dcc7fb
AS
19984 * sysdeps/x86_64/memrchr.S: Check for zero size.
19985
5298ffa8
AS
19986 * string/stratcliff.c: Add memrchr tests.
19987
951fbcec
LD
199882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19989
19990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19991 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19992 rawmemchr-sse2 rawmemchr-sse2-bsf.
19993 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19994 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19995 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19996 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19997 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19998 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19999 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20000 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20001 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20002 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20003 * string/memrchr.c (MEMRCHR): New macro.
20004
0ac5ae23
UD
200052011-10-12 Ulrich Drepper <drepper@gmail.com>
20006
20007 Add integration with gcc's -ffinite-math-only and optimize wrapper
20008 functions in libm.
20009 * Versions.def: Define GLIBC_2.15 version for libm.
20010 * math/Makefile (headers): Add bits/math-finite.h.
20011 * math/bits/math-finite.h: New file.
20012 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20013 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20014 * math/e_acoshl.c: Add __*_finite alias.
20015 * math/e_acosl.c: Likewise.
20016 * math/e_asinl.c: Likewise.
20017 * math/e_atan2l.c: Likewise.
20018 * math/e_atanhl.c: Likewise.
20019 * math/e_coshl.c: Likewise.
20020 * math/e_exp10.c: Likewise.
20021 * math/e_exp10f.c: Likewise.
20022 * math/e_exp10l.c: Likewise.
20023 * math/e_exp2l.c: Likewise.
20024 * math/e_fmodl.c: Likewise.
20025 * math/e_gammal_r.c: Likewise.
20026 * math/e_hypotl.c: Likewise.
20027 * math/e_j0l.c: Likewise.
20028 * math/e_j1l.c: Likewise.
20029 * math/e_jnl.c: Likewise.
20030 * math/e_lgammal_r.c: Likewise.
20031 * math/e_log10l.c: Likewise.
20032 * math/e_log2l.c: Likewise.
20033 * math/e_logl.c: Likewise.
20034 * math/e_powl.c: Likewise.
20035 * math/e_sinhl.c: Likewise.
20036 * math/e_sqrtl.c: Likewise.
20037 * math/e_scalb.c: Completely rewritten and optimized.
20038 * math/e_scalbf.c: Likewise.
20039 * math/e_scalbl.c: Likewise.
20040 * math/w_acos.c: Likewise.
20041 * math/w_acosf.c: Likewise.
20042 * math/w_acosl.c: Likewise.
20043 * math/w_acosh.c: Likewise.
20044 * math/w_acoshf.c: Likewise.
20045 * math/w_acoshl.c: Likewise.
20046 * math/w_asin.c: Likewise.
20047 * math/w_asinf.c: Likewise.
20048 * math/w_asinl.c: Likewise.
20049 * math/w_atan2.c: Likewise.
20050 * math/w_atan2f.c: Likewise.
20051 * math/w_atan2l.c: Likewise.
20052 * math/w_atanh.c: Likewise.
20053 * math/w_atanhf.c: Likewise.
20054 * math/w_atanhl.c: Likewise.
20055 * math/w_exp10.c: Likewise.
20056 * math/w_exp10f.c: Likewise.
20057 * math/w_exp10l.c: Likewise.
20058 * math/w_fmod.c: Likewise.
20059 * math/w_fmodf.c: Likewise.
20060 * math/w_fmodl.c: Likewise.
20061 * math/w_j0.c: Likewise.
20062 * math/w_j0f.c: Likewise.
20063 * math/w_j0l.c: Likewise.
20064 * math/w_j1.c: Likewise.
20065 * math/w_j1f.c: Likewise.
20066 * math/w_j1l.c: Likewise.
20067 * math/w_jn.c: Likewise.
20068 * math/w_jnf.c: Likewise.
20069 * math/w_log.c: Likewise.
20070 * math/w_logf.c: Likewise.
20071 * math/w_logl.c: Likewise.
20072 * math/w_log10.c: Likewise.
20073 * math/w_log10f.c: Likewise.
20074 * math/w_log10l.c: Likewise.
20075 * math/w_log2.c: Likewise.
20076 * math/w_log2f.c: Likewise.
20077 * math/w_log2l.c: Likewise.
20078 * math/w_pow.c: Likewise.
20079 * math/w_powf.c: Likewise.
20080 * math/w_powl.c: Likewise.
20081 * math/w_remainder.c: Likewise.
20082 * math/w_remainderf.c: Likewise.
20083 * math/w_remainderl.c: Likewise.
20084 * math/w_scalb.c: Likewise.
20085 * math/w_scalbf.c: Likewise.
20086 * math/w_scalbl.c: Likewise.
20087 * math/w_sqrt.c: Likewise.
20088 * math/w_sqrtf.c: Likewise.
20089 * math/w_sqrtl.c: Likewise.
20090 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20091 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20092 used.
20093 * math/math_private.h: Declare __kernel_standard_f.
20094 * math/w_cosh.c: Remove cruft and optimize a bit.
20095 * math/w_coshf.c: Likewise.
20096 * math/w_coshl.c: Likewise.
20097 * math/w_exp2.c: Likewise.
20098 * math/w_exp2f.c: Likewise.
20099 * math/w_exp2l.c: Likewise.
20100 * math/w_hypot.c: Likewise.
20101 * math/w_hypotf.c: Likewise.
20102 * math/w_hypotl.c: Likewise.
20103 * math/w_lgamma.c: Likewise.
20104 * math/w_lgamma_r.c: Likewise.
20105 * math/w_lgammaf.c: Likewise.
20106 * math/w_lgammaf_r.c: Likewise.
20107 * math/w_lgammal.c: Likewise.
20108 * math/w_lgammal_r.c: Likewise.
20109 * math/w_sinh.c: Likewise.
20110 * math/w_sinhf.c: Likewise.
20111 * math/w_sinhl.c: Likewise.
20112 * math/w_tgamma.c: Likewise.
20113 * math/w_tgammaf.c: Likewise.
20114 * math/w_tgammal.c: Likewise.
20115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20117 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20118 Minor optimizations. Pretty printing. Remove cruft.
20119 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20121 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20122 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20123 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20124 * sysdeps/i386/fpu/e_asin.S: Likewise.
20125 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20126 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20127 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20128 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20129 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20131 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20132 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20133 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20134 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20135 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20136 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20137 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20138 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20139 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20140 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20141 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20142 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20143 * sysdeps/i386/fpu/e_log.S: Likewise.
20144 * sysdeps/i386/fpu/e_log10.S: Likewise.
20145 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20146 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20147 * sysdeps/i386/fpu/e_log2.S: Likewise.
20148 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20149 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20150 * sysdeps/i386/fpu/e_logf.S: Likewise.
20151 * sysdeps/i386/fpu/e_logl.S: Likewise.
20152 * sysdeps/i386/fpu/e_pow.S: Likewise.
20153 * sysdeps/i386/fpu/e_powf.S: Likewise.
20154 * sysdeps/i386/fpu/e_powl.S: Likewise.
20155 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20156 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20157 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20160 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20161 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20162 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20163 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20180 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20181 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20185 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20188 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20190 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20191 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20192 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20193 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20194 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20195 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20197 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20198 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20199 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20200 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20201 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20202 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20203 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20204 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20205 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20255 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20257 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20258 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20259 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20260 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20261 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20262 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20263 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20264 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20265 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20266 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20267 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20269 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20270 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20272 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20273 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20274 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20275 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20276 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20277 (__isnanf): Likewise.
20278 (__isinf_ns): Likewise.
20279 (__isinf_nsf): Likewise.
20280 (__finite): Likewise.
20281 (__finitef): Likewise.
20282 (__ieee754_sqrt): Define as macro.
20283 (__ieee754_sqrtf): Define as macro.
20284 (__ieee754_sqrtl): Define as macro.
20285 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20286 inlined copy.
20287 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20288 __FINITE_MATH_ONLY__ consistent.
20289 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20290
12cc2fcd
AS
202912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20292
a843a204
AS
20293 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20294 of rawmemchr.
20295
12cc2fcd
AS
20296 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20297
c853acd5
UD
202982011-10-09 Ulrich Drepper <drepper@gmail.com>
20299
20300 * po/ja.po: Update from translation team.
20301
c658d255
RM
203022011-10-08 Roland McGrath <roland@hack.frob.com>
20303
110946e4
RM
20304 * locale/programs/locarchive.c (prepare_address_space): New function.
20305 (create_archive, enlarge_archive, open_archive): Use it.
20306
50604220
RM
20307 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20308 inside [SHARED], where it is used.
20309
c658d255
RM
20310 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20311
20312 * nss/getent.c (netgroup_keys): Remove unused variable.
20313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20314
6a621eb7
UD
203152011-10-08 Ulrich Drepper <drepper@gmail.com>
20316
7edb55ce
UD
20317 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20318 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20321 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20322 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20323 * math/Makefile (libm-calls): Add s_isinf_ns.
20324 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20325 * math/multc3.c: Likewise.
20326 * math/s_casin.c: Likewise.
20327 * math/s_casinf.c: Likewise.
20328 * math/s_casinl.c: Likewise.
20329 * math/s_ccos.c: Likewise.
20330 * math/s_ccosf.c: Likewise.
20331 * math/s_ccosl.c: Likewise.
20332 * math/s_ctan.c: Likewise.
20333 * math/s_ctanf.c: Likewise.
20334 * math/s_ctanh.c: Likewise.
20335 * math/s_ctanhf.c: Likewise.
20336 * math/s_ctanhl.c: Likewise.
20337 * math/s_ctanl.c: Likewise.
20338 * math/w_fmod.c: Likewise.
20339 * math/w_fmodf.c: Likewise.
20340 * math/w_fmodl.c: Likewise.
20341 * math/w_remainder.c: Likewise.
20342 * math/w_remainderf.c: Likewise.
20343 * math/w_remainderl.c: Likewise.
20344 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20345 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20346 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20348 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20349 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20350 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20351 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20352
187da0ae
UD
20353 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20354 of the number.
20355 * stdio-common/printf_fphex.c: Likewise.
20356 * stdio-common/printf_size.c: Likewise.
20357
9277c064
UD
20358 * math/e_exp10.c: Include math_private.h using <...> not "...".
20359 * math/e_exp10f.c: Likewise.
20360 * math/e_exp10l.c: Likewise.
20361 * math/e_exp2l.c: Likewise.
20362 * math/e_j0l.c: Likewise.
20363 * math/e_j1l.c: Likewise.
20364 * math/e_jnl.c: Likewise.
20365 * math/e_lgammal_r.c: Likewise.
20366 * math/e_rem_pio2l.c: Likewise.
20367 * math/e_scalb.c: Likewise.
20368 * math/e_scalbf.c: Likewise.
20369 * math/e_scalbl.c: Likewise.
20370 * math/k_cosl.c: Likewise.
20371 * math/k_sinl.c: Likewise.
20372 * math/k_tanl.c: Likewise.
20373 * math/s_cacoshf.c: Likewise.
20374 * math/s_catan.c: Likewise.
20375 * math/s_catanf.c: Likewise.
20376 * math/s_catanh.c: Likewise.
20377 * math/s_catanhf.c: Likewise.
20378 * math/s_catanhl.c: Likewise.
20379 * math/s_catanl.c: Likewise.
20380 * math/s_ccosh.c: Likewise.
20381 * math/s_ccoshf.c: Likewise.
20382 * math/s_ccoshl.c: Likewise.
20383 * math/s_cexp.c: Likewise.
20384 * math/s_cexpf.c: Likewise.
20385 * math/s_cexpl.c: Likewise.
20386 * math/s_clog.c: Likewise.
20387 * math/s_clog10.c: Likewise.
20388 * math/s_clog10f.c: Likewise.
20389 * math/s_clog10l.c: Likewise.
20390 * math/s_clogf.c: Likewise.
20391 * math/s_clogl.c: Likewise.
20392 * math/s_csin.c: Likewise.
20393 * math/s_csinf.c: Likewise.
20394 * math/s_csinh.c: Likewise.
20395 * math/s_csinhf.c: Likewise.
20396 * math/s_csinhl.c: Likewise.
20397 * math/s_csinl.c: Likewise.
20398 * math/s_csqrt.c: Likewise.
20399 * math/s_csqrtf.c: Likewise.
20400 * math/s_csqrtl.c: Likewise.
20401 * math/s_ctan.c: Likewise.
20402 * math/s_ctanf.c: Likewise.
20403 * math/s_ctanh.c: Likewise.
20404 * math/s_ctanhf.c: Likewise.
20405 * math/s_ctanhl.c: Likewise.
20406 * math/s_ctanl.c: Likewise.
20407 * math/s_ldexp.c: Likewise.
20408 * math/s_ldexpf.c: Likewise.
20409 * math/s_ldexpl.c: Likewise.
20410 * math/s_significand.c: Likewise.
20411 * math/s_significandf.c: Likewise.
20412 * math/s_significandl.c: Likewise.
20413 * math/w_acos.c: Likewise.
20414 * math/w_acosf.c: Likewise.
20415 * math/w_acosh.c: Likewise.
20416 * math/w_acoshf.c: Likewise.
20417 * math/w_acoshl.c: Likewise.
20418 * math/w_acosl.c: Likewise.
20419 * math/w_asin.c: Likewise.
20420 * math/w_asinf.c: Likewise.
20421 * math/w_asinl.c: Likewise.
20422 * math/w_atan2.c: Likewise.
20423 * math/w_atan2f.c: Likewise.
20424 * math/w_atan2l.c: Likewise.
20425 * math/w_atanh.c: Likewise.
20426 * math/w_atanhf.c: Likewise.
20427 * math/w_atanhl.c: Likewise.
20428 * math/w_cosh.c: Likewise.
20429 * math/w_coshf.c: Likewise.
20430 * math/w_coshl.c: Likewise.
20431 * math/w_dremf.c: Likewise.
20432 * math/w_exp10.c: Likewise.
20433 * math/w_exp10f.c: Likewise.
20434 * math/w_exp10l.c: Likewise.
20435 * math/w_exp2.c: Likewise.
20436 * math/w_exp2f.c: Likewise.
20437 * math/w_fmod.c: Likewise.
20438 * math/w_fmodf.c: Likewise.
20439 * math/w_fmodl.c: Likewise.
20440 * math/w_hypot.c: Likewise.
20441 * math/w_hypotf.c: Likewise.
20442 * math/w_hypotl.c: Likewise.
20443 * math/w_j0.c: Likewise.
20444 * math/w_j0f.c: Likewise.
20445 * math/w_j0l.c: Likewise.
20446 * math/w_j1.c: Likewise.
20447 * math/w_j1f.c: Likewise.
20448 * math/w_j1l.c: Likewise.
20449 * math/w_jn.c: Likewise.
20450 * math/w_jnf.c: Likewise.
20451 * math/w_jnl.c: Likewise.
20452 * math/w_lgamma.c: Likewise.
20453 * math/w_lgamma_r.c: Likewise.
20454 * math/w_lgammaf.c: Likewise.
20455 * math/w_lgammaf_r.c: Likewise.
20456 * math/w_lgammal.c: Likewise.
20457 * math/w_lgammal_r.c: Likewise.
20458 * math/w_log.c: Likewise.
20459 * math/w_log10.c: Likewise.
20460 * math/w_log10f.c: Likewise.
20461 * math/w_log10l.c: Likewise.
20462 * math/w_log2.c: Likewise.
20463 * math/w_log2f.c: Likewise.
20464 * math/w_log2l.c: Likewise.
20465 * math/w_logf.c: Likewise.
20466 * math/w_logl.c: Likewise.
20467 * math/w_pow.c: Likewise.
20468 * math/w_powf.c: Likewise.
20469 * math/w_powl.c: Likewise.
20470 * math/w_remainder.c: Likewise.
20471 * math/w_remainderf.c: Likewise.
20472 * math/w_remainderl.c: Likewise.
20473 * math/w_scalb.c: Likewise.
20474 * math/w_scalbf.c: Likewise.
20475 * math/w_scalbl.c: Likewise.
20476 * math/w_sinh.c: Likewise.
20477 * math/w_sinhf.c: Likewise.
20478 * math/w_sinhl.c: Likewise.
20479 * math/w_sqrt.c: Likewise.
20480 * math/w_sqrtf.c: Likewise.
20481 * math/w_sqrtl.c: Likewise.
20482 * math/w_tgamma.c: Likewise.
20483 * math/w_tgammaf.c: Likewise.
20484 * math/w_tgammal.c: Likewise.
20485
6a621eb7
UD
20486 * po/ja.po: Update from translation team.
20487
bf582445
AJ
204882011-09-29 Andreas Jaeger <aj@suse.de>
20489
f9efbf3a
AJ
20490 [BZ #13179]
20491 * sunrpc/netname.c (netname2host): Fix logic.
20492
bf582445
AJ
20493 [BZ #6779]
20494 [BZ #6783]
20495 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20496 correctly.
20497 * math/w_remainder.c (__remainder): Likewise.
20498 * math/w_remainderf.c (__remainderf): Likewise.
20499 * math/libm-test.inc (remainder_test): Add test cases.
20500
48693bea
AK
205012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20502
20503 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20504 sdiv_qrnnd.
20505
42622229
LD
205062011-10-07 Ulrich Drepper <drepper@gmail.com>
20507
20508 * string/test-memcmp.c: Avoid unncessary #defines.
20509 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20510
093ecf92
LD
205112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20512
20513 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20514 Use new sse2 version for core i3 - i7 as it's faster
20515 than sse42 version.
20516 (bit_Prefer_PMINUB_for_stringop): New.
20517 * sysdeps/x86_64/rawmemchr.S: Update.
20518 Replace with faster SSE2 version.
20519 * sysdeps/x86_64/memrchr.S: New file.
20520 * sysdeps/x86_64/memchr.S: Update.
20521 Replace with faster SSE2 version.
20522
fde56e5c
MP
205232011-09-12 Marek Polacek <mpolacek@redhat.com>
20524
20525 * elf/dl-load.c (lose): Add cast to avoid warning.
20526
21fd49a9
UD
205272011-10-07 Ulrich Drepper <drepper@gmail.com>
20528
5a06e643
UD
20529 * po/ca.po: Update from translation team.
20530
684ae515
UD
20531 * inet/getnetgrent_r.c: Hook up nscd.
20532 * nscd/Makefile (routines): Add nscd_netgroup.
20533 (nscd-modules): Add netgroupcache.
20534 (CFLAGS-netgroupcache.c): Define.
20535 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20536 (cache_search): Add const to second parameter.
20537 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20538 INNETGR.
20539 (dbs): Add netgrdb entry.
20540 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20541 (verify_persistent_db): Handle netgrdb.
20542 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20543 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20544 GETFDNETGR.
20545 (netgroup_response_header): Define.
20546 (innetgroup_response_header): Define.
20547 (datahead): Add netgroup_response_header and innetgroup_response_header
20548 elements.
20549 * nscd/nscd.conf: Add entries for netgroup cache.
20550 * nscd/nscd.h (dbtype): Add netgrdb.
20551 (_PATH_NSCD_NETGROUP_DB): Define.
20552 (netgroup_iov_disabled): Declare.
20553 (xmalloc, xcalloc, xrealloc): Move declarations here.
20554 (cache_search): Adjust prototype.
20555 Add netgroup-related prototypes.
20556 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20557 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20558 (__nscd_innetgr): Declare.
20559 * nscd/selinux.c (perms): Use access_vector_t as element type and
20560 add netgroup-related initializers.
20561 * nscd/netgroupcache.c: New file.
20562 * nscd/nscd_netgroup.c: New file.
20563 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20564 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20565 For four parameters use innetgr.
20566 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20567 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20568 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20569 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20570
21fd49a9
UD
20571 * nscd/connections.c (register_traced_file): Don't register file
20572 for disabled databases.
20573
054c0457
UD
205742011-10-06 Ulrich Drepper <drepper@gmail.com>
20575
32b63198
UD
20576 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20577
054c0457
UD
20578 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20579 from tree and freeing node.
20580
64031225
JO
205812011-09-25 Jiri Olsa <jolsa@redhat.com>
20582
20583 * nss/nsswitch.c (__nss_database_lookup): Handle
20584 nss_parse_service_list out of memory case.
20585
0490345c
JO
205862011-09-15 Jiri Olsa <jolsa@redhat.com>
20587
20588 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20589 out of memory case.
20590
3a62d00d
AS
205912011-10-04 Andreas Schwab <schwab@redhat.com>
20592
20593 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20594 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20595 pass it down.
20596 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20597 elf_machine_rela, elf_machine_lazy_rel.
20598 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20599 (ELF_DYNAMIC_DO_REL): Likewise.
20600 (ELF_DYNAMIC_DO_RELA): Likewise.
20601 (ELF_DYNAMIC_RELOCATE): Likewise.
20602 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20603 to ELF_DYNAMIC_DO_REL.
20604 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20605 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20606 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20607 elf_machine_rela.
20608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20609 skip_ifunc, don't call ifunc function if non-zero.
20610 (elf_machine_rela): Likewise.
20611 (elf_machine_lazy_rel): Likewise.
20612 (elf_machine_lazy_rela): Likewise.
20613 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20614 (elf_machine_lazy_rel): Likewise.
20615 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20616 Likewise.
20617 (elf_machine_lazy_rel): Likewise.
20618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20619 Likewise.
20620 (elf_machine_lazy_rel): Likewise.
20621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20622 (elf_machine_lazy_rel): Likewise.
20623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20624 (elf_machine_lazy_rel): Likewise.
20625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20626 (elf_machine_lazy_rel): Likewise.
20627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20628 (elf_machine_lazy_rel): Likewise.
20629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20630 (elf_machine_lazy_rel): Likewise.
20631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20632 (elf_machine_lazy_rel): Likewise.
20633
68577918
UD
206342011-09-28 Ulrich Drepper <drepper@gmail.com>
20635
20636 * nss/nss_files/files-init.c (_nss_files_init): Use static
20637 initialization for all the *_traced_file variables.
20638
68822d74
AS
206392011-09-28 Andreas Schwab <schwab@redhat.com>
20640
20641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20642
2056100b
RM
206432011-09-27 Roland McGrath <roland@hack.frob.com>
20644
20645 [BZ #13226]
20646 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20647
32c76b63
AS
206482011-09-27 Andreas Schwab <schwab@redhat.com>
20649
20650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20651 Reread the line before reparsing it.
20652
bf972c9d
AS
206532011-09-26 Andreas Schwab <schwab@redhat.com>
20654
20655 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20656
e057a1b5
JM
206572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20658 Maxim Kuvyrkov <maxim@codesourcery.com>
20659 Joseph Myers <joseph@codesourcery.com>
20660
20661 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20662 if needed for __stack_chk_guard.
20663
bc7e1c36
RM
206642011-09-19 Roland McGrath <roland@hack.frob.com>
20665
ecb1482f
RM
20666 * sysdeps/posix/spawni.c (script_execute): Always define it.
20667 It will be optimized away if unused.
20668 (maybe_script_execute): New function.
20669 (__spawni): Call it.
20670
bc7e1c36
RM
20671 * Makerules: Don't include tls.make.
20672 (config-tls): Always set to thread.
20673 * tls.make.c: File removed.
20674
1c3b002b
MF
206752011-09-19 Mike Frysinger <vapier@gentoo.org>
20676
20677 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20678 * config.make.in (CPPFLAGS-config): New substituted variable.
20679
2840865d
UD
206802011-09-15 Ulrich Drepper <drepper@gmail.com>
20681
88738eb6
UD
20682 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20683
cbf645a6 20684 [BZ #13192]
2840865d
UD
20685 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20686 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20687
b402e91a
RM
206882011-09-15 Roland McGrath <roland@hack.frob.com>
20689
20690 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20691 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20693 (CALL_FAIL): Likewise.
20694 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20695 (CALL_FAIL): Macro removed.
20696 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20697
4c1a1f71
UD
206982011-09-15 Ulrich Drepper <drepper@gmail.com>
20699
20700 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20701 for __FINITE_MATH_ONLY__ == 1.
20702
edc121be
AS
207032011-09-15 Andreas Schwab <schwab@redhat.com>
20704
20705 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20706 __ieee754_sqrt instead of sqrt.
20707 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20708 __ieee754_sqrtf instead of sqrtf.
20709 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20710 __floorf instead of floorf.
20711 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20712 __floorf, __truncf instead of floorf, truncf.
20713
cd205654
UD
207142011-09-14 Ulrich Drepper <drepper@gmail.com>
20715
ee4d0315
UD
20716 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20717
cd205654
UD
20718 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20719 __extern_always_inline.
20720 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20721 32-bit.
20722
48b67d71
AS
207232011-09-14 Andreas Schwab <schwab@redhat.com>
20724
20725 * elf/rtld.c (dl_main): Also relocate in dependency order when
20726 doing symbol dependency testing.
20727
1ae12c75
AS
207282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20729
20730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20731 Always define `refsym'.
20732
995a80df
AS
207332011-09-13 Andreas Schwab <schwab@redhat.com>
20734
e529793b
AS
20735 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20736 (__FD_ELT): Renamed from __FDELT.
20737 * misc/bits/select2.h (__FD_ELT): Likewise.
20738 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20739 __FD_MASK instead of __FDELT, __FDMASK.
20740 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20741 Likewise.
20742 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20743 Likewise.
20744
52d4fef8
AS
20745 * elf/Makefile (gen-ldd): Fix pattern.
20746
995a80df
AS
20747 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20748 (init_tls): Likewise.
20749
8682f8b0
UD
207502011-09-12 Ulrich Drepper <drepper@gmail.com>
20751
20752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20753
de82006d
AS
207542011-09-12 Andreas Schwab <schwab@redhat.com>
20755
a7c8e6a1
AS
20756 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20757 `struct cmsghdr *' instead of `void *'.
20758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20759 Likewise.
20760
0f31fe77
AS
207612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20762
20763 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20764 if non-absolute.
20765 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20766 ldd_rewrite_script.
0f31fe77 20767
32b4c839
UD
207682011-09-11 Ulrich Drepper <drepper@gmail.com>
20769
83cd1420
UD
20770 * configure.in: Remove --with-tls option.
20771 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20772 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20773 out in case it is missing.
20774 * sysdeps/ia64/elf/configure.in: Likewise.
20775 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20776 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20777 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20778 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20779 * sysdeps/sh/elf/configure.in: Likewise.
20780 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20781 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20782 * sysdeps/x86_64/elf/configure.in: Likewise.
20783 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20784 * sysdeps/mach/hurd/tls.h: Likewise.
20785
633f745d
UD
20786 [BZ #13067]
20787 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20788
f318beb8
UD
20789 [BZ #13090]
20790 * configure.in: Fix use of AC_INIT.
20791
32b4c839
UD
20792 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20793
3ce1f295
UD
207942011-09-10 Ulrich Drepper <drepper@gmail.com>
20795
bb016596
UD
20796 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20797 __set_errno.
8e58439c
UD
20798 * malloc/hooks.c: Likewise.
20799
aebae053 20800 [BZ #11929]
02d46fc4
UD
20801 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20802 variables statically.
20803 (narenas): Initialize.
20804 (list_lock): Initialize.
bb016596
UD
20805 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20806 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20807 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20808 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20809 Add initializers to main_arena and mp_.
20810 (malloc_state): Remove pagesize member. Change all users to use
20811 GLRO(dl_pagesize).
20812
20813 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20814 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20815 is always initialized.
20816
22a89187
UD
20817 * malloc/malloc.c: Removed unused configurations and dead code.
20818 * malloc/arena.c: Likewise.
20819 * malloc/hooks.c: Likewise.
02d46fc4 20820 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20821
d063d164
UD
20822 * include/tls.h: Removed. USE___THREAD must always be defined.
20823 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20824 * elf/dl-libc.c: Likewise.
20825 * elf/dl-tsd.c: Likewise.
20826 * include/errno.h: Likewise.
20827 * include/netdb.h: Likewise.
20828 * include/resolv.h: Likewise.
20829 * inet/herrno-loc.c: Likewise.
20830 * inet/herrno.c: Likewise.
20831 * malloc/arena.c: Likewise.
20832 * malloc/hooks.c: Likewise.
20833 * malloc/malloc.c: Likewise.
20834 * resolv/res-state.c: Likewise.
20835 * resolv/res_libc.c: Likewise.
20836 * sysdeps/i386/dl-machine.h: Likewise.
20837 * sysdeps/ia64/dl-machine.h: Likewise.
20838 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20839 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20840 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20841 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20842 * sysdeps/sh/dl-machine.h: Likewise.
20843 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20845 * sysdeps/unix/i386/sysdep.S: Likewise.
20846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20847 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20856 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20857 * sysdeps/x86_64/dl-machine.h: Likewise.
20858 * tls.make.c: Likewise.
20859
3ce1f295
UD
20860 * configure.in: Remove --with-__thread option. Make tests for
20861 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20862 tls_model attribute fail if no support is available. Remove
20863 USE_IN_LIBIO.
20864 * Makeconfig: Adjust for dropped configure option. All features are
20865 now mandatory.
20866 * Makerules: Likewise.
20867 * Versions.def: Likewise.
20868 * argp/argp-fmtstream.c: Likewise.
20869 * argp/argp-fmtstream.h: Likewise.
20870 * argp/argp-help.c: Likewise.
20871 * assert/assert.c: Likewise.
20872 * config.h.in: Likewise.
20873 * config.make.in: Likewise.
20874 * configure: Likewise.
20875 * configure.in: Likewise.
20876 * csu/Versions: Likewise.
20877 * csu/init.c: Likewise.
20878 * elf/tst-audit2.c: Likewise.
20879 * elf/tst-tls10.c: Likewise.
20880 * elf/tst-tls10.h: Likewise.
20881 * elf/tst-tls11.c: Likewise.
20882 * elf/tst-tls12.c: Likewise.
20883 * elf/tst-tls14.c: Likewise.
20884 * elf/tst-tlsmod11.c: Likewise.
20885 * elf/tst-tlsmod12.c: Likewise.
20886 * elf/tst-tlsmod13.c: Likewise.
20887 * elf/tst-tlsmod13a.c: Likewise.
20888 * elf/tst-tlsmod14a.c: Likewise.
20889 * elf/tst-tlsmod15b.c: Likewise.
20890 * elf/tst-tlsmod16a.c: Likewise.
20891 * elf/tst-tlsmod16b.c: Likewise.
20892 * elf/tst-tlsmod7.c: Likewise.
20893 * elf/tst-tlsmod8.c: Likewise.
20894 * elf/tst-tlsmod9.c: Likewise.
20895 * gmon/gmon.c: Likewise.
20896 * grp/fgetgrent_r.c: Likewise.
20897 * grp/putgrent.c: Likewise.
20898 * hurd/fopenport.c: Likewise.
20899 * include/libc-symbols.h: Likewise.
20900 * include/tls.h: Likewise.
20901 * intl/gettextP.h: Likewise.
20902 * intl/loadinfo.h: Likewise.
20903 * locale/global-locale.c: Likewise.
20904 * locale/localeinfo.h: Likewise.
20905 * mach/devstream.c: Likewise.
20906 * malloc/arena.c: Likewise.
20907 * malloc/set-freeres.c: Likewise.
20908 * misc/err.c: Likewise.
20909 * misc/getttyent.c: Likewise.
20910 * misc/mntent_r.c: Likewise.
20911 * posix/getopt.c: Likewise.
20912 * posix/wordexp.c: Likewise.
20913 * pwd/fgetpwent_r.c: Likewise.
20914 * resolv/Versions: Likewise.
20915 * resolv/res_hconf.c: Likewise.
20916 * shadow/fgetspent_r.c: Likewise.
20917 * shadow/putspent.c: Likewise.
20918 * stdio-common/printf_fphex.c: Likewise.
20919 * stdio-common/tmpfile.c: Likewise.
20920 * stdlib/abort.c: Likewise.
20921 * stdlib/fmtmsg.c: Likewise.
20922 * sunrpc/auth_unix.c: Likewise.
20923 * sunrpc/clnt_perr.c: Likewise.
20924 * sunrpc/clnt_tcp.c: Likewise.
20925 * sunrpc/clnt_udp.c: Likewise.
20926 * sunrpc/clnt_unix.c: Likewise.
20927 * sunrpc/openchild.c: Likewise.
20928 * sunrpc/svc_simple.c: Likewise.
20929 * sunrpc/svc_tcp.c: Likewise.
20930 * sunrpc/svc_udp.c: Likewise.
20931 * sunrpc/svc_unix.c: Likewise.
20932 * sunrpc/xdr.c: Likewise.
20933 * sunrpc/xdr_array.c: Likewise.
20934 * sunrpc/xdr_rec.c: Likewise.
20935 * sunrpc/xdr_ref.c: Likewise.
20936 * sunrpc/xdr_stdio.c: Likewise.
20937
1248c1c4
PB
209382011-09-09 Ulrich Drepper <drepper@gmail.com>
20939
20940 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20941
209422011-07-03 Andreas Jaeger <aj@suse.de>
20943
20944 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20946 regenerate with gen-libm-tests.pl.
20947
209482010-05-12 Petr Baudis <pasky@suse.cz>
20949
20950 [BZ #11589]
20951 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20952 around j0() zero points by switching to j1().
20953 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20957
f22e1074
UD
209582011-09-09 Ulrich Drepper <drepper@gmail.com>
20959
f19009c1
UD
20960 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20961 instead of 0.
20962 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20963 instead of 0.
f19009c1
UD
20964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20965 Patch in part by Pavel Roskin <proski@gnu.org>.
20966
3f8cc204
UD
20967 [BZ #13138]
20968 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20969 realloc.
20970 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20971 Free memory block if necessary.
20972
f22e1074
UD
20973 [BZ #12847]
20974 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20975 be NULL. Don't lock in this case.
20976
0a2349f9
RM
209772011-09-09 Roland McGrath <roland@hack.frob.com>
20978
20979 * elf/elf.h (ELFOSABI_GNU): New macro.
20980 (ELFOSABI_LINUX): Define to that.
20981
f3cdd467
DZ
209822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20983
20984 * string/strncat.c (strncat): Undef the symbol in case it has been
20985 defined in bits/string.h.
20986
74718d13
UD
209872011-09-09 Ulrich Drepper <drepper@gmail.com>
20988
633e9e0f
UD
20989 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20990
0a2349f9 20991 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20992 link map.
20993
f9924780
AJ
209942011-08-17 Andreas Jaeger <aj@suse.de>
20995
20996 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20997
7f5517aa
PP
209982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20999 Ian Lance Taylor <iant@google.com>
21000
21001 * math/libm-test.inc (lround_test): New testcase.
21002 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21003
762011fe
UD
210042011-09-08 Ulrich Drepper <drepper@gmail.com>
21005
92963737
UD
21006 * Makefile: Remove support for automatic cvs check-ins.
21007 * Makerules: Likewise.
21008 * config.make.in: Likewise.
21009 * configure.in: Likewise.
21010 * intl/Makefile: Likewise.
21011 * locale/Makefile: Likewise.
21012 * po/Makefile: Likewise.
21013 * posix/Makefile: Likewise.
21014 * sysdeps/gnu/Makefile: Likewise.
21015 * sysdeps/mach/hurd/Makefile: Likewise.
21016 * sysdeps/sparc/sparc32/Makefile: Likewise.
21017
b0727fd8
JS
21018 [BZ #13118]
21019 * posix/Makefile (bug-regex32-ENV): Define.
21020 Patch by John Stanley <jpsinthemix@verizon.net>.
21021
a0f33f99
UD
21022 * misc/Makefile (headers): Add bits/select2.h.
21023 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21024 * misc/bits/select2.h: New file.
21025 * include/bits/select2.h: New file.
21026 * debug/Makefile (routines): Add fdelt_chk.
21027 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21028 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21029 FD_ISSET.
21030 * debug/fdelt_chk.c: New file.
21031
762011fe
UD
21032 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21033 * wcsmbs/test-wmemcmp.c: Likewise.
21034 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21035 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21036
210372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21038
21039 * string/Makefile (strop-tests): Add memcmp.
21040 * string/test-wmemcmp.c: New file.
21041 * string/test-memcmp.c: Add wmemcmp support.
21042
7f513ec8
RM
210432011-09-08 Roland McGrath <roland@hack.frob.com>
21044
0442afb4
RM
21045 [BZ #13153]
21046 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21047 2011-07-19 change.
21048
7f513ec8
RM
21049 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21050 garbage value in a __mach_port_mod_refs call in the cases of the
21051 task-self and thread-self ports.
21052
a12b2239
ST
210532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21054
21055 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21056
610f9ab4
AS
210572011-09-08 Andreas Schwab <schwab@redhat.com>
21058
7f513ec8 21059 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21060
48882a1a
LD
210612011-09-07 Ulrich Drepper <drepper@gmail.com>
21062
b49865be
UD
21063 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21064
fdc86bc9
UD
21065 * elf/dl-libc.c (dlerror_run): Pass back error code from
21066 dl_catch_error.
21067
c966526a
UD
21068 [BZ #13123]
21069 * elf/dl-load.c (lose): Free l_origin if it is valid.
21070
48882a1a
LD
21071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21072 names.
21073 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21078 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21079
77a2a8b4
AZ
210802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081
21082 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21083 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21084 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21085 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21086 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21087 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21088 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21089 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21090 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21091 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21092
24f579d8
AM
210932011-08-15 Alan Modra <amodra@gmail.com>
21094
21095 [BZ #13092]
21096 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21097 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21098 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21099 ppc_mcount to static-only-routines.
21100 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21101 __mcount_internal.
21102 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21103 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21104
3d4837df
UD
211052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21106
21107 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21108 for finite and infinity parameters.
21109
22700377
WS
211102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21111
21112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21113 and add nop instructions for throughput optimization.
21114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21115
5025581e
WS
211162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21117
21118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21119 aligned copy for power7 with vector-scalar instructions.
21120 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21121
08a300c9
L
211222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21123
21124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21125 AVX check.
21126
59178ef9
AS
211272011-09-07 Andreas Schwab <schwab@redhat.com>
21128
21129 [BZ #13144]
21130 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21131 last change.
21132
e38ba7ab
UD
211332011-09-07 Ulrich Drepper <drepper@gmail.com>
21134
21135 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21136 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21137 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21138 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21139 clock_gettime.
21140
d53a73ac
UD
211412011-09-06 Ulrich Drepper <drepper@gmail.com>
21142
fc8bffcc
UD
21143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21144 Forgot to demangle the pointer.
21145
ceaa0c5d
UD
21146 * sysdeps/i386/sysdep.h: Define atom_text_section.
21147 * sysdeps/x86_64/sysdep.h: Likewise.
21148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21149 section with atom_text_section.
21150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21152 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21154 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21155
a77d3c17
UD
21156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21158 already be defined. Change to take two parameters and don't assign
21159 result to variable. Adjust all users.
21160 Define INTERNAL_GETTIME if not already defined.
21161 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21162 call.
21163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21164 HAVE_CLOCK_GETTIME_VSYSCALL.
21165 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21166
d53a73ac
UD
21167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21168 gettimeofday vsyscall, just use time.
21169
a8f84144
AS
211702011-09-06 Andreas Schwab <schwab@redhat.com>
21171
21172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21173 <errno.h>.
21174
ef606249
UD
211752011-09-06 Ulrich Drepper <drepper@gmail.com>
21176
21177 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21178 syscall on x86-64.
21179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21180 syscall.
21181 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21183 syscall if possible.
21184
6585cb60
UD
211852011-09-05 Ulrich Drepper <drepper@gmail.com>
21186
21187 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21188 e_ident. Don't pass to find_mapsXX.
21189 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21190
a5f524e4
LD
211912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21192
21193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21194 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21195 * sysdeps/x86_64/multiarch/strchr.S: Update.
21196 Check bit_slow_BSF bit.
21197 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21198 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21200
554881ef
UD
212012011-09-05 Ulrich Drepper <drepper@gmail.com>
21202
d96de963
UD
21203 [BZ #13134]
21204 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21205 before glibc 2.15.
21206 (tryshell): Define.
21207 (__spawni): Change last parameter to be flag. Test
21208 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21209 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21210 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21211 * posix/spawni.c: Likewise.
21212 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21213 * posix/spawnp.c: Likewise. Change normal version to use
21214 SPAWN_XFLAGS_USE_PATH.
21215 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21216 SPAWN_XFLAGS_TRY_SHELL.
21217
d48e5868
UD
21218 [BZ #13150]
21219 * posix/glob.h: Remove gcc 1.x support.
21220
554881ef
UD
21221 [BZ #13068]
21222 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21223
693fb948
LD
212242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21225
21226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21227 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21228 strrchr-sse2-bsf
21229 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21230 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21231 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21232 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21233 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21234 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21235
1b48c537
UD
212362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21237
49d42c37
UD
21238 * sysdeps/x86_64/wcscmp.S: New file.
21239
1b48c537
UD
21240 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21241 wcscmp-c wcscmp-sse2
21242 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21243 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21245 * wcsmbs/wcscmp.c: Allow renaming.
21246
15c95c5d
DM
212472011-09-05 David S. Miller <davem@davemloft.net>
21248
21249 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21250 stack slot, rather than the struct return pointer slot.
21251 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21252 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21254 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21255
2f0ad8f3
UD
212562011-09-05 Ulrich Drepper <drepper@gmail.com>
21257
d88ae418
UD
21258 * po/ja.po: Update from translation team.
21259
2f0ad8f3
UD
21260 [BZ #13144]
21261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21262 kernel in 64-bit binaries.
21263
5f4318d1
DM
212642011-09-01 David S. Miller <davem@davemloft.net>
21265
21266 * elf/elf.h (HWCAP_SPARC_*): Move to..
21267 * sysdeps/sparc/sysdep.h: this new file and add new values.
21268 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21269 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21270 _DL_HWCAP_COUNT to 24.
21271 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21272 entries.
21273 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21274 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21275 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21277 instead of magic constants.
21278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21279
3ba57516
DM
212802011-08-31 David S. Miller <davem@davemloft.net>
21281
21282 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21284 Reimplement to do errno handling inline.
21285 (SYSCALL_ERROR_HANDLER): New macro.
21286 (__SYSCALL_STRING): Do not do errno handling in asm.
21287 (__CLONE_SYSCALL_STRING): Delete.
21288 (__INTERNAL_SYSCALL_STRING): Delete.
21289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21290 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21291 (PSEUDO): Reimplement to do errno handling inline.
21292 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21293 (SYSCALL_ERROR_HANDLER): New macro.
21294 (__SYSCALL_STRING): Do not do errno handling in asm.
21295 (__CLONE_SYSCALL_STRING): Delete.
21296 (__INTERNAL_SYSCALL_STRING): Delete.
21297 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21298 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21299 i386.
21300 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21301 (inline_syscall*): Add 'err' argument.
21302 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21303 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21304 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21305 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21306
21307 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21308 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21309
2bc17433
AS
213102011-08-30 Andreas Schwab <schwab@redhat.com>
21311
21312 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21313
fbeb5f4d
JO
213142011-08-29 Jiri Olsa <jolsa@redhat.com>
21315
21316 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21317 directive.
21318
ad69cc26
DM
213192011-08-24 David S. Miller <davem@davemloft.net>
21320
21321 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21322
39dd69df
AS
213232011-08-24 Andreas Schwab <schwab@redhat.com>
21324
21325 * elf/Makefile: Add rules to build and run unload8 test.
21326 * elf/unload8.c: New file.
21327 * elf/unload8mod1.c: New file.
21328 * elf/unload8mod1x.c: New file.
21329 * elf/unload8mod2.c: New file.
21330 * elf/unload8mod3.c: New file.
21331
21332 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21333 it wasn't used.
21334
2c0b250a
DM
213352011-08-23 David S. Miller <davem@davemloft.net>
21336
21337 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21338 subtract stack bias.
21339 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21340 %sp not %fp in calculations.
21341 (_JMPBUF_UNWINDS_ADJ): Likewise.
21342
22044b48
DM
21343 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21344 (aio_suspend): Call it to force an exception region around the
21345 AIO_MISC_WAIT() invocation.
21346
2cae4995
AS
213472011-08-23 Andreas Schwab <schwab@redhat.com>
21348
21349 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21350 backslash.
21351
873a772e
AJ
213522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21353
21354 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21355 protection macro.
21356 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21357 and <dl-machine.h>.
21358 (Elf64_FuncDesc): Remove.
21359
25ad0df1
DM
213602011-08-22 David S. Miller <davem@davemloft.net>
21361
21362 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21363 sigaltstack check, add missing cfi directives.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21365 missing cfi directives, and sigaltstack handling.
21366
e888bcbe
AS
213672011-08-16 Andreas Schwab <schwab@redhat.com>
21368
21369 [BZ #11724]
21370 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21371 object is seen twice.
21372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21373
21374 * elf/Makefile (distribute): Add tst-initorder2.c.
21375 (tests): Add tst-initorder2.
21376 (modules-names): Add tst-initorder2a tst-initorder2b
21377 tst-initorder2c tst-initorder2d. Add rules to build them.
21378 ($(objpfx)tst-initorder2.out): New rule.
21379 * elf/tst-initorder2.c: New file.
21380 * elf/tst-initorder2.exp: New file.
21381
87162f46
AS
213822011-08-22 Andreas Schwab <schwab@redhat.com>
21383
70538b7f
AS
21384 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21385
f55ffe58
AS
21386 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21387 dependencies back to end of function.
21388
87162f46
AS
21389 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21390 $(elfobjdir)/ld.so.
21391
91b392a4
UD
213922011-08-21 Ulrich Drepper <drepper@gmail.com>
21393
21394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21395 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21397 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21398 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21399 of __vdso_gettimeofday.
21400 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21401 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21402 attribute_hidden.
21403 (_libc_vdso_platform_setup): Remove initialization of
21404 __vdso_gettimeofday and __vdso_time.
21405
5c43483f
UD
214062011-08-20 Ulrich Drepper <drepper@gmail.com>
21407
775a77e7
UD
21408 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21409 and fgetc_unlocked.
21410 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21411 getc_unlocked.
89f447ed 21412
49c74ba9
UD
21413 * elf/dl-open.c (add_to_global): Report additions to the global scope
21414 for LD_DEBUG=scopes.
21415 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21416 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21417
5c43483f
UD
21418 [BZ #13114]
21419 * stdio-common/Makefile (tests): Add bug24.
21420 * stdio-common/bug24.c: New file.
21421
a101b025
AJ
214222011-08-19 Andreas Jaeger <aj@suse.de>
21423
21424 [BZ #13114]
21425 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21426 non-existant file when using close-on-exec mode.
21427
c88f1766
UD
214282011-08-20 Ulrich Drepper <drepper@gmail.com>
21429
0276a718
UD
21430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21431 the very first instruction.
21432
c88f1766
UD
21433 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21434 the CFI state in the end.
21435 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21436 inclusion of dl-trampoline.h.
21437 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21438
51ccffa0
AS
214392011-08-19 Andreas Schwab <schwab@redhat.com>
21440
94d7165f
AS
21441 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21442 expectations for long double.
21443
51ccffa0
AS
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21445 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21446
fd708658 214472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21448
21449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21450 artificual limit depends upon the system page size.
21451
44f0a71e
UD
214522011-08-17 Ulrich Drepper <drepper@gmail.com>
21453
21454 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21455 * resolv/Makefile: Define CFLAGS-libresolv.
21456
8de79a24
AS
214572011-08-17 Andreas Schwab <schwab@redhat.com>
21458
21459 * nss/makedb.c (compute_tables): Make variables used in nested
21460 function static.
21461
27724598
UD
214622011-08-17 Ulrich Drepper <drepper@gmail.com>
21463
c5305d88
UD
21464 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21465 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21466 if buffer was too small.
21467
27724598
UD
21468 * elf/pldd.c (main): Attach to all threads in the process.
21469 Rewrite /proc handling to use *at functions.
21470
076fe015
UD
214712011-08-16 Ulrich Drepper <drepper@gmail.com>
21472
174baab3
UD
21473 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21474 specifies first scope to show.
21475 (dl_open_worker): Update callers. Move printing scope of new
21476 object to before the relocation.
44f0a71e 21477 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21478 * sysdeps/generic/ldsodefs.h: Update declaration.
21479
076fe015
UD
21480 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21481 string for the scope number.
21482
a60df2c3
UD
214832011-08-14 Ulrich Drepper <drepper@gmail.com>
21484
21485 * nscd/servicescache.c (cache_addserv): Make sure written is always
21486 initialized.
21487
5e4287d1
RM
214882011-08-14 Roland McGrath <roland@hack.frob.com>
21489
85ae0589
RM
21490 * sysdeps/i386/i486/bits/atomic.h
21491 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21492 statement expression, so as to suppress "set but not used" warning.
21493 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21494
69f63097
RM
21495 * string/strncat.c (STRNCAT): Use prototype definition.
21496
675456ef
RM
21497 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21498 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21499 -Iprograms here.
21500 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21501 (localedef-modules): Add localedef.
21502 (locale-modules): Add locale.
21503
5e4287d1
RM
21504 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21505 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21506 to avoid a warning.
21507
9c96ff23
DM
215082011-08-14 David S. Miller <davem@davemloft.net>
21509
21510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21511 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21512
f9ddf089
UD
215132011-08-13 Ulrich Drepper <drepper@gmail.com>
21514
44f0a71e 21515 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21516 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21517 * elf/rtld.c (dl_main): Set l_name of vDSO.
21518 Call _dl_show_scope when DL_DEBUG_SCOPES.
21519 (process_dl_debug): Recognize scopes flag and also set it for all.
21520 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21521 Declare _dl_show_scope.
21522
1dc27704
UD
21523 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21524 (do_dlopen): Pass caller_dlopen to dl_open.
21525 (__libc_dlopen_mode): Initialize caller_dlopen.
21526
f9ddf089
UD
21527 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21528 of libc. Make tolower call locale-independent. Optimize a bit by
21529 using isdigit instead of isalnum.
21530 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21531
9ac533d3
UD
215322011-08-12 Ulrich Drepper <drepper@gmail.com>
21533
21534 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21535 was a dependency or dynamically loaded.
21536
89edf2e9
UD
215372011-08-11 Ulrich Drepper <drepper@gmail.com>
21538
8e999d29
UD
21539 * intl/l10nflist.c: Allow architecture-specific pop function.
21540 * sysdeps/x86_64/l10nflist.c: New file.
21541
89edf2e9
UD
21542 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21543 classification.
21544
14d96785
AS
215452011-08-10 Andreas Schwab <schwab@redhat.com>
21546
21547 * include/dirent.h: Add libc_hidden_proto for scandirat and
21548 scandirat64. Don't declare __scandirat64.
21549 * dirent/scandirat.c: Add libc_hidden_def.
21550 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21551 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21552
6761ac04
DM
215532011-08-10 David S. Miller <davem@davemloft.net>
21554
21555 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21556 enum.
21557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21560
c55fbd1e
UD
215612011-08-09 Ulrich Drepper <drepper@gmail.com>
21562
21563 * Versions.def [libc]: Add GLIBC_2.15.
21564 * dirent/Makefile (routines): Add scandirat and scandirat64.
21565 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21566 GLIBC_2.15.
21567 * dirent/dirent.h: Declare scandirat and scandirat64.
21568 * dirent/scandirat.c: New file.
21569 * dirent/scandirat64.c: New file.
21570 * sysdeps/wordsize-64/scandirat.c: New file.
21571 * sysdeps/wordsize-64/scandirat64.c: New file.
21572 * dirent/opendir.c: Define opendirat.
21573 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21574 using scandirat.
21575 * dirent/scandir64.c: Adjust for scandir.c change.
21576 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21577 __scandirat64, and __scandir_cancel_handler.
21578 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21579 additional parameter and use openat instead of open (outside of ld.so).
21580 Add new __opendir as wrapper around __opendirat.
21581 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21582 here without requiring old scandirat implementation.
21583
879165f2
UD
215842011-08-08 Ulrich Drepper <drepper@gmail.com>
21585
21586 * dirent/scandir.c (cancel_handler): Renamed to
21587 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21588 defined. Adjust users.
21589 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21590 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21591
cb7e923b
UD
215922011-08-04 Ulrich Drepper <drepper@gmail.com>
21593
16292edd
UD
21594 * string/test-string.h (IMPL): Use __STRING to expand name and then
21595 stringify it.
21596
cb7e923b
UD
21597 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21598 of cleanups.
21599
cff82933
LD
216002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21601
21602 * string/Makefile: Update.
21603 (strop-tests): Append strncat.
21604 * string/test-wcscmp.c: New file.
21605 New comprehensive test for wcscmp.
21606 * string/test-strcmp.c: Update.
21607 (WIDE): New define.
21608
9be9bfcc
AS
216092011-07-22 Andreas Schwab <schwab@redhat.com>
21610
21611 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21612 line.
21613
2e96f1c7
AS
216142011-07-26 Andreas Schwab <schwab@redhat.com>
21615
21616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21617 encoding to ACE if AI_IDN.
21618
85188888
JJ
216192011-08-01 Jakub Jelinek <jakub@redhat.com>
21620
21621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21622 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21623
5fa16e9b
LD
216242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21625
21626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21627 Fix overflow bug in strncat.
21628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21629
21630 * string/test-strncat.c: Update.
21631 Add new tests for checking overflow bugs.
21632
216332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21634
21635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21636 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21637 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21638 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21640 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21641 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21642 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21643 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21644
21645 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21646 (USE_AS_STRCAT): Define.
21647 Add strcat and strncat support.
21648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21649
8c1a459f
AS
216502011-07-25 Andreas Schwab <schwab@redhat.com>
21651
21652 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21653 __n bigger than INT_MAX+1.
21654 (__strncmp_g): Likewise.
21655
bba33c28
UD
216562011-07-23 Ulrich Drepper <drepper@gmail.com>
21657
798be72d
UD
21658 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21659 * libio/stido.h: Likewise.
21660
8accd4dc
UD
21661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21662 (AF_NFC): Define.
21663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21664 (AF_NFC): Define.
21665
cbff0d96
UD
21666 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21668 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21669 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21671
9191c04a
UD
21672 [BZ #13021]
21673 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21674 installed.
21675
bba33c28
UD
21676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21677 typo.
21678 (_dl_x86_64_save_sse): Likewise.
21679
90f139dd
UD
216802011-07-22 Ulrich Drepper <drepper@gmail.com>
21681
1aae088a
UD
21682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21683 OSXSAVE.
21684 (_dl_x86_64_save_sse): Likewise.
21685
8e2045f5
UD
21686 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21687
90f139dd
UD
21688 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21689
1d002f25
AS
216902011-07-21 Andreas Schwab <schwab@redhat.com>
21691
21692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21693 change.
21694 (_dl_x86_64_save_sse): Use correct AVX check.
21695
21137f89
UD
216962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21697
21698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21699 bug in strncpy/strncat.
21700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21701
a65c0b7a
UD
217022011-07-21 Ulrich Drepper <drepper@gmail.com>
21703
21704 * string/tester.c (test_strcat): Add tests for different alignments
21705 of source and destination.
21706 (test_strncat): Likewise.
21707
6986b98a
UD
217082011-07-20 Ulrich Drepper <drepper@gmail.com>
21709
90bb2039
UD
21710 [BZ #12852]
21711 * posix/glob.c (glob): Check passed in values before using them in
21712 expressions to avoid some overflows.
21713 (glob_in_dir): Likewise.
21714
5644ef54
UD
21715 [BZ #13007]
21716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21717 check for AVX enablement so that we don't crash with old kernels and
21718 new hardware.
21719 * elf/tst-audit4.c: Add same checks here.
21720 * elf/tst-audit6.c: Likewise.
21721
21722 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21723
bfc9dc9b
AS
217242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21725
21726 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21727
702e64bb
UD
217282011-07-20 Ulrich Drepper <drepper@gmail.com>
21729
21730 * po/cs.po: Update from translation team.
21731 * po/bg.po: Likewise.
21732
295e904f
MP
217332011-07-12 Marek Polacek <mpolacek@redhat.com>
21734
21735 * misc/sys/cdefs.h: Add support for const attribute.
21736 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21737 to gnu_dev_{major,minor,makedev} functions.
21738
3ff94596
MP
217392011-07-20 Marek Polacek <mpolacek@redhat.com>
21740
21741 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21742
28b59fca
AS
217432011-07-20 Andreas Schwab <schwab@redhat.com>
21744
21745 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21746 strlen results.
21747
19df733e
AK
217482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21749
21750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21751 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21752 register in order to avoid conflicts with the soft frame pointer
21753 being held in r11 when necessary.
21754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21755 (INTERNAL_VSYSCALL_NCS): Likewise.
21756
c8835729
MP
217572011-07-14 Marek Polacek <mpolacek@redhat.com>
21758
21759 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21760 * elf/dl-fini.c (_dl_fini): Adjust caller.
21761 * elf/dl-close.c (_dl_close_worker): Likewise.
21762 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21763
b902330c
MP
217642011-07-15 Marek Polacek <mpolacek@redhat.com>
21765
8991e135
MP
21766 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21767 "aux_cache->nlibs < 0".
21768
b902330c
MP
21769 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21770 in the reload-count case.
21771
99710781
LD
217722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21773
21774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21775 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21776 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21778 * sysdeps/x86_64/multiarch/strcat.S: New file.
21779 * sysdeps/x86_64/multiarch/strncat.S: New file.
21780 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21781 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21782 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21783 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21785 (USE_AS_STRCAT): Define.
21786 Add strcat and strncat support.
21787 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21788 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21789 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21790 * string/strncat.c: Update.
21791 (USE_AS_STRNCAT): Define.
21792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21793 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21794 and i7.
21795 * sysdeps/x86_64/multiarch/init-arch.h
21796 (bit_Prefer_PMINUB_for_stringop): New.
21797 (index_Prefer_PMINUB_for_stringop): Likewise.
21798 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21799 bit_Prefer_PMINUB_for_stringop.
21800
7dc6bd90
UD
218012011-07-19 Ulrich Drepper <drepper@gmail.com>
21802
21803 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21804 buffer64.
21805 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21806 of casting of buffer.
21807 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21808 buffer32 and buffer64.
21809 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21810 writes instead of casting of buffer.
21811 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21812 buffer32.
21813 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21814 casting of buffer.
21815
e0e72284
AS
218162011-07-19 Andreas Schwab <schwab@redhat.com>
21817
21818 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21819
feb1eb0b
UD
218202011-07-19 Ulrich Drepper <drepper@gmail.com>
21821
21822 * nscd/nscd.c (termination_handler): Don't do anything for a database
21823 if it has not yet been initialized.
21824
298711ff
UD
218252011-07-18 Ulrich Drepper <drepper@gmail.com>
21826
21827 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21828
218292011-07-15 Marek Polacek <mpolacek@redhat.com>
21830
21831 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21832
f9d68389
UD
218332011-07-18 Ulrich Drepper <drepper@gmail.com>
21834
21835 * po/nl.po: Update from translation team.
21836 * po/sv.po: Likewise.
21837
db290cf5
RM
218382011-07-16 Roland McGrath <roland@hack.frob.com>
21839
21840 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21841 now disallowed by GCC.
5c550700 21842
fd5e21c7
RM
21843 * configure.in (use-default-link): Default to yes if a test -shared
21844 link meets our qualifications.
21845 * configure: Regenerated.
21846
5c550700
RM
21847 * config.make.in (output-format): New variable.
21848 * configure.in: Check for ld --print-output-format support.
21849 * configure: Regenerated.
21850 * Makerules ($(common-objpfx)format.lds)
21851 [$(output-format) != unknown]: Just use $(output-format),
21852 instead of the linker-script munging.
21853
9fa2c032
RM
218542011-07-14 Roland McGrath <roland@hack.frob.com>
21855
a6928d51
RM
21856 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21857 of $(common-objpfx)shlib.lds.
21858 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21859
661607b3
RM
21860 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21861 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21862
9fa2c032
RM
21863 * configure.in (-z relro check): Adjust test code to add a large
21864 writable data section after it.
21865 * configure: Regenerated.
21866
defe9061
RM
218672011-07-11 Roland McGrath <roland@hack.frob.com>
21868
21869 * configure.in (-z relro check): Fix test code to make the variable
21870 truly const.
21871 * configure: Regenerated.
21872
319b9ad4
UD
218732011-07-11 Ulrich Drepper <drepper@gmail.com>
21874
21875 * nscd/nscd.h (struct traced_file): Define.
21876 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21877 elements. Add traced_files.
21878 (inotify_fd): Declare.
21879 (register_traced_file): Declare.
21880 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21881 (inotify_fd): Export.
21882 (resolv_conf_descr): Remove.
21883 (nscd_init): Move inotify descriptor creation to main.
21884 Don't register files for notification here.
21885 (register_traced_file): New function.
21886 (invalidate_cache): Don't use reset_res to determine whether to call
21887 res_init, go through the list of registered files.
21888 (main_loop_poll): The inotify descriptors are now stored in the
21889 structures for the traced files.
21890 (main_loop_epoll): Likewise
21891 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21892 to __nss_disable_nscd.
21893 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21894 for a database anymore. Check the records for all the registered
21895 files instead.
21896 * nss/Makefile (libnss_files-routines): Add files-init.
21897 (libnss_db-routines): Add db-init.
21898 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21899 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21900 * nss/nss_db/db-init.c: New file.
21901 * nss/nss_files/files-init.c: New file.
21902 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21903 __nss_lookup_function.
21904 (__nss_lookup_function): Call nss_load_library.
21905 (nss_load_all_libraries): New function.
21906 (__nss_disable_nscd): Take parameter with callback function for files
21907 to register. Set is_nscd. Load all the DSOs for the NSS modules
21908 used for the cached services.
21909 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21910 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21911 options for features to all the files in nscd.
21912
21913 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21914
23bee3e8
RM
219152011-07-10 Roland McGrath <roland@hack.frob.com>
21916
21917 * csu/elf-init.c (__libc_csu_init): Comment typo.
21918
46a5b7f0
UD
219192011-07-09 Ulrich Drepper <drepper@gmail.com>
21920
21921 * po/pl.po: Update from translation team.
21922 * po/ja.po: Likewise.
21923 * po/ru.po: Likewise.
21924 * po/ko.po: Likewise.
21925 * po/fr.po: Likewise.
21926
d30cf5bb
RM
219272011-07-09 Roland McGrath <roland@hack.frob.com>
21928
113ddea4
RM
21929 * configure.in (.ctors/.dtors header and trailer check):
21930 Use an empirical test on a built program.
21931 * configure: Regenerated.
21932
574920b4
RM
21933 * configure.in (-z relro check): Use an empirical test on a built DSO.
21934 Detect, but do not require, on ia64.
21935 * configure: Regenerated.
21936
d30cf5bb
RM
21937 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21938 Update tests that use readelf to use $READELF instead.
21939 * configure: Regenerated.
21940
8538fdb3
UD
219412011-07-08 Ulrich Drepper <drepper@gmail.com>
21942
21943 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21944 if the result is not used.
21945
04d08991
AJ
219462011-07-05 Andreas Jaeger <aj@suse.de>
21947
21948 [BZ#9696]
21949 * stdlib/tst-strtod.c: Add testcase.
21950
de283087
AD
219512011-07-07 Ulrich Drepper <drepper@gmail.com>
21952
4e5f31c8 21953 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21954 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21955 The latter has a higher limit. Take additional parameter to pass to
21956 the new function.
21957 (__pathconf): Pass file to __statfs_link_max.
21958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21959 __statfs_link_max.
21960 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21961 __statfs_link_max.
21962
de283087
AD
21963 [BZ #12868]
21964 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21965 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21966 Handle Lustre.
21967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21968 (__statfs_filesize_max): Likewise.
21969 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21970
c75fa153
AJ
219712011-07-05 Andreas Jaeger <aj@suse.de>
21972
21973 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21974
1a544854
UD
219752011-07-06 Marek Polacek <mpolacek@redhat.com>
21976
21977 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21978 `status' variable.
21979 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21980 Likewise.
21981
6f0eec67
UD
219822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21983
21984 * Makefile (strop-tests): Add strncat.
21985 * string/test-strncat.c: New file.
21986
aae30307
UD
219872011-06-30 Marek Polacek <mpolacek@redhat.com>
21988
21989 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21990
c0cfb5eb
UD
219912011-06-21 Andreas Jaeger <aj@suse.de>
21992
21993 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21994 Copy rule from iconvdata/Makefile.
21995
01636b21
UD
219962011-07-06 Ulrich Drepper <drepper@gmail.com>
21997
21998 [BZ #12922]
21999 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22000 but no long options are defined, just return 'W'.
22001
9895c8bc
UD
220022011-06-22 Marek Polacek <mpolacek@redhat.com>
22003
22004 [BZ #9696]
22005 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22006
5d4cf042
UD
220072011-07-06 Ulrich Drepper <drepper@gmail.com>
22008
22009 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22010 netgroups to read.
960e5535 22011 (innetgr): Likewise.
5d4cf042 22012
751eb97e
RM
220132011-07-05 Roland McGrath <roland@hack.frob.com>
22014
22015 * config.make.in (install_root): Default to $(DESTDIR).
22016
f15f1e45
UD
220172011-07-05 Ulrich Drepper <drepper@gmail.com>
22018
22019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22020
4e34ac6a
RM
220212011-07-02 Roland McGrath <roland@hack.frob.com>
22022
5e9b6af4
RM
22023 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22024
84f9ea0f
RM
22025 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22026 containing directory rather than embedding absolute directory names.
22027
ea5ee9f7
RM
22028 * scripts/check-local-headers.sh: Rewritten using awk.
22029 Match by word, not by line. Print error messages for matches.
22030 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22031
1b74661a
RM
22032 * Makerules [shlib-lds-flags empty]:
22033 ($(common-objpfx)libc_pic.opts): New target.
22034 ($(common-objpfx)libc_pic.os.clean): New target.
22035 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22036
22037 * config.make.in (OBJCOPY): New variable.
22038 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22039 * configure: Regenerated.
22040
f781ef40
RM
22041 * config.make.in (use-default-link): New variable.
22042 * configure.in (use_default_link): Grok --with-default-link to set it.
22043 * configure: Regenerated.
22044 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22045 (shlib-lds, shlib-lds-flags): Define to empty.
22046
2d4fa81e
RM
22047 * Makerules (shlib-lds): New variable.
22048 (shlib-lds-flags): New variable.
22049 (build-shlib, build-moduile, build-module-asneeded): Use it.
22050 ($(common-objpfx)libc.so): Use $(shlib-lds).
22051 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22052 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22053
31fffa6b
RM
22054 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22055 DT_FLAGS/DT_FLAGS_1 with zero flags.
22056
4e34ac6a
RM
22057 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22058 linker script munging.
22059
fcfc776b
UD
220602011-07-02 Ulrich Drepper <drepper@gmail.com>
22061
22062 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22063 as 128-bit value.
22064 * crypt/sha512.c (sha512_process_block): Perform total addition using
22065 128-bit if possible.
22066 (__sha512_finish_ctx): Likewise.
22067 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22068 as 64-bit value.
22069 * crypt/sha256.c (SWAP64): Define.
22070 (sha256_process_block): Perform total addition using 64-bit if
22071 possible.
22072 (__sha256_finish_ctx): Likewise.
22073
99231d9a
UD
220742011-07-01 Ulrich Drepper <drepper@gmail.com>
22075
22076 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22078 * nscd/hstcache.c (cache_addhst): Likewise.
22079 * nscd/grpcache.c (cache_addgr): Likewise.
22080 * nscd/aicache.c (addhstaiX): Likewise
22081 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22082
445b4a53
TK
220832011-07-01 Thorsten Kukuk <kukuk@suse.de>
22084
22085 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22087 * nscd/hstcache.c (cache_addhst): Likewise.
22088 * nscd/grpcache.c (cache_addgr): Likewise.
22089 * nscd/aicache.c (addhstaiX): Likewise
22090
6d4d8e8e
AS
220912011-07-01 Andreas Schwab <schwab@redhat.com>
22092
22093 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22094 domain only when needed.
22095
89f654c5
AS
220962011-06-30 Andreas Schwab <schwab@redhat.com>
22097
22098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22099 is always restored.
22100
cf3b23ff
UD
221012011-06-29 Ulrich Drepper <drepper@gmail.com>
22102
22103 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22104 are re-adding the entry.
22105 * nscd/servicescache.c (cache_addserv): Likewise.
22106
751626f9
AJ
221072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22108
22109 * sysdeps/generic/dl-irel.h: fix protection against multiple
22110 inclusions.
22111 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22112
9113ea1f
UD
221132011-06-28 Ulrich Drepper <drepper@gmail.com>
22114
5c0b8d90
UD
22115 [BZ #12935]
22116 * malloc/memusage.sh: Fix quoting in message.
22117 * debug/xtrace.sh: Likewise.
22118
9113ea1f
UD
22119 * configure.in: Remove support for --experimental-malloc option, make
22120 it the default.
22121 * config.make.in: Likewise.
22122 * malloc/Makefile: Likewise.
22123
a4172181
AS
221242011-06-27 Andreas Schwab <schwab@redhat.com>
22125
22126 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22127 two-byte characters.
22128
78a7eee7
RM
221292011-06-27 Roland McGrath <roland@hack.frob.com>
22130
62bede13
RM
22131 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22132 AC_CACHE_CHECK invocation.
22133 * configure: Regenerated.
22134
78a7eee7
RM
22135 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22136
5ce33a62
UD
221372011-06-27 Ulrich Drepper <drepper@gmail.com>
22138
034807a9
UD
22139 [BZ #12350]
22140 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22141 bit from old_res_options.
22142
4902da17
UD
22143 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22144
5ce33a62
UD
22145 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22146 value type for setfct.
22147
c2344f56
L
221482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22151 __gettimeofday instead of gettimeofday.
22152
68468076
UD
221532011-06-26 Ulrich Drepper <drepper@gmail.com>
22154
22155 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22156
acb0d739
L
221572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22160
22161 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22162 info.
22163
8912479f
L
221642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22167 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22168 strcpy-sse2-unaligned strncpy-sse2-unaligned
22169 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22170 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22171 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22172 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22173 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22176 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22177 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22178 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22179 (STRCPY): Support SSE2 and SSSE3 versions.
22180
d5495a11
UD
221812011-06-24 Ulrich Drepper <drepper@gmail.com>
22182
22183 [BZ #12874]
22184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22185 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22186 kernels which artificially limit size of requests.
22187
0b1cbaae
L
221882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22191 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22192 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22193 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22194 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22195 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22196 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22197 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22198 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22200 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22201 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22202 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22203 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22204 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22206 Enable unaligned load optimization for Intel Core i3, i5 and i7
22207 processors.
22208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22209 Define.
22210 (index_Fast_Unaligned_Load): Define.
22211 (HAS_FAST_UNALIGNED_LOAD): Define.
22212
07f494a0
MP
222132011-06-23 Marek Polacek <mpolacek@redhat.com>
22214
22215 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22216
fa3fc0fe
UD
222172011-06-22 Ulrich Drepper <drepper@gmail.com>
22218
22219 [BZ #12907]
22220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22221 until it is clear that the information is realy needed.
22222 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22223
e12df166
AS
222242011-06-22 Andreas Schwab <schwab@redhat.com>
22225
22226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22227
852eb34d
UD
222282011-06-22 Ulrich Drepper <drepper@gmail.com>
22229
84e2a551
UD
22230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22231 /sys/devices/system/cpu/online if it is usable.
22232
852eb34d
UD
22233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22234 reading the information from the /proc filesystem to once a second.
22235
6e502e19
UD
222362011-06-21 Andreas Jaeger <aj@suse.de>
22237
22238 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22239 NULL after inclusion of kernel headers.
22240
75d39ff2
UD
222412011-06-21 Ulrich Drepper <drepper@gmail.com>
22242
51f9aa6a
UD
22243 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22244 calls to internal_setent.
22245
c0244a9d
UD
22246 [BZ #12885]
22247 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22248 addresses using gethostbyname4_r ignore IPv4 addresses.
22249
c5e3c2ae
UD
22250 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22251 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22252
75d39ff2
UD
22253 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22254
42675c6f
DM
222552011-06-20 David S. Miller <davem@davemloft.net>
22256
22257 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22258 inclusions.
22259 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22260
22261 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22262 (elf_irel): Use it.
22263 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22264 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22265 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22266 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22267 * sysdeps/x86_64/dl-irel.h: Likewise.
22268
22269 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22270 * elf/dl-sym.c: Likewise.
22271
57912a71
UD
222722011-06-15 Ulrich Drepper <drepper@gmail.com>
22273
22274 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22275 need to dereference resplen2.
22276
ee22793d
AS
222772011-06-14 Andreas Schwab <schwab@redhat.com>
22278
22279 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22280
a9e836b0
UD
222812011-06-15 Ulrich Drepper <drepper@gmail.com>
22282
77fb9117
UD
22283 * Makeconfig: Define vardbdir and inst_vardbdir.
22284 * nss/Makefile: Add rules to install db-Makefile.
22285
40c1b22c
UD
22286 * nss/nss_db/db-XXX.c: Cleanup.
22287
9f2da732
UD
22288 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22289 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22290 GLIBC_PRIVATE.
22291 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22292 * nss/makedb.c: Implement -g option to specify that value strings
22293 are generated and should not be added to table iterated over for
22294 get*ent calls.
22295 * nss/nss_db/db-initgroups.c: New file.
22296
82e9a1f7
UD
22297 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22298 interface.
22299
c41af17e
UD
22300 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22301 (internal_getgrouplist): Adjust to name change.
22302 Update use_initgroups_entry if this is not the first call.
22303 * nss/databases.def: Add initgroups entry.
22304
a9e836b0
UD
22305 * nss/makedb.c (compute_tables): Check result of multiple hash table
22306 sizes to minimize maximum chain length.
22307
2666d441
UD
223082011-06-14 Ulrich Drepper <drepper@gmail.com>
22309
22310 * Versions.def: Add entry for libnss_db.
22311 * shlib-versions: Likewise.
22312 * nss/Makefile: Add rules to build libnss_db.
22313 * nss/Versions: Add libnss_db information. Organize libnss_files
22314 entries better.
22315 * nss/db-Makefile: Add gshadow support. Change rules for the new
22316 makedb progra. Some minor improvements to generate smaller files.
22317 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22318 here from...
22319 * nss/makedb.c: ...here.
22320 Improve database format to be smaller and require less memory at
22321 runtime.
22322 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22323 db anymore.
22324 * nss/nss_db/db-netgrp.c: Likewise.
22325 * nss/nss_db/db-open.c: Likewise.
22326 * nss/nss_files/flies-XXX.x: Adjust comments.
22327 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22328 * nss/nss_files/files-grp.c: Likewise.
22329 * nss/nss_files/files-hosts.c: Likewise.
22330 * nss/nss_files/files-network.c: Likewise.
22331 * nss/nss_files/files-proto.c: Likewise.
22332 * nss/nss_files/files-pwd.c: Likewise.
22333 * nss/nss_files/files-rpc.c: Likewise.
22334 * nss/nss_files/files-service.c: Likewise.
22335 * nss/nss_files/files-sgrp.c: Likewise.
22336 * nss/nss_files/files-spwd.c: Likewise.
22337 * nss/nss_db/db-alias.c: Removed.
22338 * nss/nss_db/dummy-db.h: Removed.
22339
9ee76b5a
UD
223402011-06-02 Ulrich Drepper <drepper@gmail.com>
22341
22342 * nss/makedb.c: Rewritten to not use database library.
22343 * nss/Makefile: Update to build new makedb program.
22344
c71ca1f8
AJ
223452011-06-14 Andreas Jaeger <aj@suse.de>
22346
22347 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22348 memset declaration.
22349
3154bfb8
UD
223502011-06-10 Andreas Schwab <schwab@redhat.com>
22351
22352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22353 tmpbuf.
22354
b350afab
RM
223552011-06-10 Roland McGrath <roland@hack.frob.com>
22356
decd4e50
RM
22357 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22358 * elf/Makefile ($(objpfx)ld.so): Likewise.
22359
5615eaf2
RM
22360 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22361 Don't list ld.so twice in dependencies.
22362
22363 * posix/bug-regex31.c: Include <stdlib.h>.
22364
22365 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22366
22367 * nis/nss_compat/compat-spwd.c
22368 (getspent_next_nss_netgr): Remove unused variable.
22369 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22370
22371 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22372 nonmembers" output to use the right array.
22373
22374 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22375
22376 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22377
22378 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22379 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22380 * catgets/gencat.c (read_input_file): Likewise.
22381 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22382
22383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22384 variable definition inside #if's controlling its use.
22385
22386 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22387
22388 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22389
22390 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22391
22392 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22393 unreachable code.
22394
22395 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22396
b68e08db
RM
22397 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22398 * configure: Regenerated.
22399
b350afab
RM
22400 * Makerules: Revert last change.
22401 * elf/Makefile: Likewise.
22402
28368601
RM
224032011-06-09 Roland McGrath <roland@hack.frob.com>
22404
22405 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22406 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22407 (reloc-link): Likewise.
22408
11988f8f
UD
224092011-06-09 Ulrich Drepper <drepper@gmail.com>
22410
22411 * elf/Makefile: Add rules to build pldd.
22412 * elf/pldd.c: New file.
22413 * elf/pldd-xx.c: New file.
22414
e80fab37
UD
224152011-06-07 Ulrich Drepper <drepper@gmail.com>
22416
22417 * version.h: Update for 2.15 development version.
22418
9b849836
DM
224192011-06-07 David S. Miller <davem@davemloft.net>
22420
22421 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22422 ifuncs.
22423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22424 elf_machine_lazy_rel): Likewise.
22425 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22427 elf_machine_lazy_rel): Likewise.
22428 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22429 dl_hwcap via passed in argument.
22430 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22431 Likewise.
22432
5a31b283
AK
224332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22434
22435 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22436
069e52f8
RM
224372011-06-06 Roland McGrath <roland@hack.frob.com>
22438
22439 [BZ #12849]
22440 * manual/fdl-1.1.texi: New file, verbatim from:
22441 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22442 * manual/lgpl-2.1.texi: New file, verbatim from:
22443 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22444 * manual/Makefile (licenses): New variable, list those new file names.
22445 (texis): Use it.
22446 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22447
22448 * manual/fdl.texi: File removed.
22449 * manual/lesser.texi: File removed.
22450 * manual/libc.texinfo (Copying, Documentation License):
22451 Use new @include file names, put @appendix directive before @include.
22452
f16846a5
JJ
224532011-06-04 Jakub Jelinek <jakub@redhat.com>
22454
22455 [BZ #12841]
22456 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22457 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22458 (mq_open): Add __NTH.
22459
3d29045b
L
224602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22463 Assume Intel Core i3/i5/i7 processor if AVX is available.
22464
8c297311
UD
224652011-05-31 Ulrich Drepper <drepper@gmail.com>
22466
22467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22468 typo.
22469
c8fc0c91
UD
224702011-05-31 Andreas Schwab <schwab@redhat.com>
22471
22472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22473 memory. Use alloca_account. Fix memory leak when retrying.
22474
5b27a807
UD
224752011-05-31 Ulrich Drepper <drepper@gmail.com>
22476
356f8bc6
UD
22477 * version.h (RELEASE): Bump for 2.14 release.
22478 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22479
5b27a807
UD
22480 * config.make.in (RANLIB): Remove entry.
22481
01f16ab0
UD
224822011-05-30 Ulrich Drepper <drepper@gmail.com>
22483
41fce8bd
UD
22484 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22485 (libc.pot): Work around missing support for .ksh extension in xgettext.
22486
4769ae77
UD
22487 [BZ #12684]
22488 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22489 if both request failed.
22490 (send_dg): In case of server errors clear resplen or *resplen2.
22491
6b1e7d19
UD
22492 [BZ #12454]
22493 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22494 when there are multiple maps.
22495 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22496 (_dl_fini): Remove test here.
22497
01f16ab0
UD
22498 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22499
b1ebd700
UD
225002011-05-29 Ulrich Drepper <drepper@gmail.com>
22501
7ae22829
UD
22502 [BZ #12350]
22503 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22504 bit from old_res_options.
22505 (gaih_inet): Likewise.
22506
553149f6 22507 [BZ #11099]
18a84741 22508 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22509 as signed.
22510
652ffab1
UD
22511 * resolv/res_init.c (res_setoptions): Make the code more compact.
22512
16985fd0
UD
22513 [BZ #11558]
22514 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22515 set RES_USEVC.
22516
0464f746
UD
22517 [BZ #11634]
22518 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22519
7d17596c
UD
22520 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22521
cf6bbbd7
UD
22522 [BZ #11781]
22523 * malloc/malloc.h: Declare malloc hook variables as volatile.
22524
13f1ab36
UD
22525 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22526 in last patch.
22527
b1ebd700
UD
22528 [BZ #11799]
22529 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22530 raise in the comment.
80e2212d
UD
22531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22533 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22534
ce67228d
UD
225352011-05-28 Ulrich Drepper <drepper@gmail.com>
22536
8887a920
UD
22537 [BZ #12811]
22538 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22539 grow the buffers more if it already has to be sufficient.
22540 (build_wcs_upper_buffer): Likewise.
22541 * posix/regexec.c (check_matching): Likewise.
22542 (clean_state_log_if_needed): Likewise.
22543 (extend_buffers): Don't enlarge buffers beyond size of the input
22544 buffer.
22545 Patches mostly by Emil Wojak <emil@wojak.eu>.
22546 * posix/bug-regex32.c: New file.
22547 * posix/Makefile (tests): Add bug-regex32.
22548
4f031072
UD
22549 * locale/findlocale.c (_nl_find_locale): Return right away if
22550 _nl_explode_name failed.
22551 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22552
d0478f0c
UD
22553 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22554
de81b246
UD
22555 * debug/xtrace.sh: Unify messages.
22556 * malloc/memusage.sh: Likewise.
22557
c738465a
UD
22558 [BZ #12813]
22559 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22560 time symbol from vDSO. Substitute with vsyscall if not available.
22561 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22562 __vdso_time.
22563
f1f929d7
UD
22564 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22565 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22566 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22567 Add sendmmsg and internal_sendmmsg.
22568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22569 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22570 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22571
ce67228d
UD
22572 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22573 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22574 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22575
e57420c6
UD
225762011-05-27 Ulrich Drepper <drepper@gmail.com>
22577
a8509ca5
UD
22578 [BZ #12813]
22579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22580 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22581 available.
22582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22583 __vdso_getcpu.
22584
e57420c6
UD
22585 [BZ #12814]
22586 * iconvdata/Makefile (tests): Add bug-iconv9.
22587 * iconvdata/bug-iconv9.c: New file.
22588
4d07db15
AS
225892011-05-27 Andreas Schwab <schwab@redhat.com>
22590
22591 [BZ #12814]
22592 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22593
ea486f69
JJ
225942011-05-25 Jakub Jelinek <jakub@redhat.com>
22595
22596 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22597 (struct user_regs_struct): Change intcs field back to cs.
22598
6f038433
UD
225992011-05-25 Ulrich Drepper <drepper@gmail.com>
22600
22601 * po/ja.po: Update from translation team.
22602
67f86a25
UD
226032011-05-23 Ulrich Drepper <drepper@gmail.com>
22604
22605 [BZ #12795]
22606 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22607 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22608
def7fbd6
AS
226092011-05-20 Andreas Schwab <schwab@redhat.com>
22610
22611 * stdlib/longlong.h: Update from GCC.
22612
f50ef8f1
AS
226132011-05-23 Andreas Schwab <schwab@redhat.com>
22614
22615 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22616 parameter name.
22617 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22618 Add parameter name.
22619 (__sysconf): Pass it down.
22620
de7ce8f1
UD
226212011-05-22 Ulrich Drepper <drepper@gmail.com>
22622
f2962a71
UD
22623 [BZ #12671]
22624 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22625 some situations.
22626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22627 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22628 add in in __libc_use_alloca calls. Adjust callers.
22629 (glob): Use malloc in some situations.
22630
de7ce8f1
UD
22631 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22632 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22633 pltexit.
22634
aec84f53
UD
226352011-05-21 Ulrich Drepper <drepper@gmail.com>
22636
05bb4a68
UD
22637 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22638 and CLOCK_BOOTTIME_ALARM.
22639
7ea72f99
UD
22640 [BZ #12782]
22641 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22642 is returned.
22643
7e4afad5
UD
22644 * string/_strerror.c (__strerror_r): Print negative errors as signed
22645 numbers.
22646
8e211fec
UD
22647 [BZ #12777]
22648 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22649 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22650 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22651
f7d82dc9
UD
22652 * configure.in: Fix typo in redirection and correct removal of test
22653 files in two cases.
22654
cc9e536d
UD
22655 [BZ #12788]
22656 * locale/setlocale.c (new_composite_name): Fix test to check for
22657 identical name of all categories.
22658
aec84f53
UD
22659 [BZ #12792]
22660 * libio/filedoalloc.c (local_isatty): New function.
22661 (_IO_file_doallocate): Use local_isatty.
22662 * stdio-common/perror.c (perror): In case a new stream is used
22663 forward the stream error.
22664 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22665 error flag.
22666
78e64fdc
RT
226672011-05-20 Ulrich Drepper <drepper@gmail.com>
22668
34a9094f
UD
22669 [BZ #11869]
22670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22671 alloca.
22672 * include/alloca.h (extend_alloca_account): Define.
22673
78e64fdc
RT
22674 [BZ #11857]
22675 * posix/regex.h: Fix comments with documentation of user-accessible
22676 fields after compilation and describe correct free'ing of pattern
22677 after re_compile_pattern.
22678 Patch by Reuben Thomas <rrt@sc3d.org>.
22679
457bddfc
RA
226802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22681
22682 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22683 and -mno-altivec to prevent the compiler from using Altivec and/or
22684 VSX instructions when the corresponding registers are not available.
22685
a4527b51
AS
226862011-05-19 Andreas Schwab <schwab@redhat.com>
22687
22688 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22689
ed690b2f
UD
226902011-05-19 Ulrich Drepper <drepper@gmail.com>
22691
22692 * libio/freopen.c (freopen): Use __dup2, not dup2.
22693 * libio/freopen64.c (freopen64): Likewise.
22694
8db73634
L
226952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22696
22697 [BZ #12775]
22698 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22699 * math/Makefile (tests): Add test-powl.
22700 (CFLAGS-test-powl.c): Define.
22701 * math/test-powl.c: New file.
22702
0a197a9d
L
227032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22704
22705 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22706
ee30c380
UD
227072011-05-17 Ulrich Drepper <drepper@gmail.com>
22708
22709 [BZ #11837]
22710 * iconvdata/gb18030.c: Update to GB18020-2005.
22711
6ce75379
UD
227122011-05-16 Ulrich Drepper <drepper@gmail.com>
22713
a4b89fd8
AR
22714 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22715 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22716 Patch by Aharon Robbins <arnold@skeeve.com>.
22717
ea389b12
UD
22718 [BZ #11892]
22719 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22720 on the stack.
22721
68a3f91f
UD
22722 [BZ #11895]
22723 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22724 through underflows.
22725
15cc7dd1
UD
22726 [BZ #12766]
22727 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22728 point to strings before performing equality test for error_one_per_line
22729 mode.
22730
f3799213
UD
22731 [BZ #11697]
22732 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22733
d79a9c94
UD
22734 [BZ #11820]
22735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22736 (struct user_fpregs_struct): Avoid __uint*_t types.
22737
56e5eb46
UD
22738 [BZ #6420]
22739 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22740 symbol info. Use it instead of calling _dl_addr locally.
22741 (lock_and_info): New function.
22742 (tr_freehook): Call lock_and_info and pass symbol info as additional
22743 parameter to tr_where.
22744 (tr_mallochook): Likewise.
22745 (tr_reallochook): Likewise.
22746 (tr_memalignhook): Likewise.
22747
6ce75379
UD
22748 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22749 used and couldn't be at all thread-safe.
22750
f8a3b5bf
UD
227512011-05-15 Ulrich Drepper <drepper@gmail.com>
22752
94b7cc37
UD
22753 * libio/freopen.c (freopen): Don't close old file descriptor
22754 before the new one is opened. Instead dup the new file descriptor
22755 to the old one after the new stream is created.
22756 * libio/freopen64.c (freopen64): Likewise.
22757 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22758 * libio/fileops.c (_IO_new_file_close_it): Handle new
22759 _IO_FLAGS2_NOCLOSE flag.
22760 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22761 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22762 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22763 _IO_FLAGS2_NOCLOSE flag.
22764 * include/unistd.h: Add hidden_proto for dup3.
22765 Define __have_dup3.
22766 * io/dup3.c: Define hidden symbol.
22767 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22768
bd25564e
UD
22769 [BZ #7101]
22770 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22771 when an incomplete long option is used.
22772 * posix/tst-getopt_long1.c: New file.
22773 * posix/Makefile (tests): Add tst-getopt_long1.
22774
c84cfef4
UD
22775 [BZ #10138]
22776 * scripts/config.guess: Update from autoconf-2.68.
22777 * scripts/config.sub: Likewise.
22778
3b85df27
UD
22779 [BZ #10157]
22780 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22781 tests into ...
22782 (has_cpuclock): ...this. New function.
22783 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22784 macro here based on has_cpuclock code.
22785
15a856b1
UD
22786 [BZ #10149]
22787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22788 First byte (not low byte) is now always NUL.
22789 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22790
05f399e6
UD
22791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22792 Use non-cancelable interfaces.
22793
10a52685 22794 [BZ #9809]
94ecc67d
UD
22795 * locale/iso-639.def: Add entry for Sorani.
22796
f8a3b5bf
UD
22797 [BZ #11901]
22798 * include/stdlib.h: Move include protection to the right place.
22799 Define abort_msg_s. Declare __abort_msg with it.
22800 * stdlib/abort.c (__abort_msg): Adjust type.
22801 * assert/assert.c (__assert_fail_base): New function. Majority
22802 of code from __assert_fail. Allocate memory for __abort_msg with
22803 mmap.
22804 (__assert_fail): Now call __assert_fail_base.
22805 * assert/assert-perr.c: Remove bulk of implementation. Use
22806 __assert_fail_base.
22807 * include/assert.hL Declare __assert_fail_base.
22808 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22809 mmap.
22810 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22811
1af4e298
UD
228122011-05-14 Ulrich Drepper <drepper@gmail.com>
22813
f8a3b5bf 22814 [BZ #11952]
d26dfc60
MG
22815 [BZ #12453]
22816 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22817 until all modules are registered in the DTV.
22818 * elf/Makefile: Add rules to build and run tst-tls19.
22819 * elf/tst-tls19.c: New file.
22820 * elf/tst-tls19mod1.c: New file.
22821 * elf/tst-tls19mod2.c: New file.
22822 * elf/tst-tls19mod3.c: New file.
22823 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22824
2fc54d6f
UD
22825 [BZ #12083]
22826 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22827 correctly.
22828
98d76b46
UD
22829 [BZ #12601]
22830 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22831 two-byte sequence errors.
22832 * iconvdata/Makefile (tests): Add bug-iconv8.
22833 * iconvdata/bug-iconv8.c: New file.
22834
da3c19ef
UD
22835 [BZ #12626]
22836 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22837 buf2 definition.
22838
ca408c15
UD
22839 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22840
d6f67f7d
UD
22841 [BZ #12432]
22842 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22843 (dummy_getcfa): New function.
22844 (init): Get _Unwind_GetCFA address, use dummy if not found.
22845 (backtrace_helper): In recursion check, also check whether CFA changes.
22846 (__backtrace): Completely initialize arg.
22847
1af4e298 22848 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22849 storing incomplete byte sequence in state object. Avoid testing for
22850 guaranteed too small input if we know there is enough data available.
1af4e298 22851
da62f81b
AS
228522011-05-11 Andreas Schwab <schwab@redhat.com>
22853
22854 * Makeconfig (+link-pie): Indent.
22855 * Rules (binaries-pie): Define if $(have-fpie) and
22856 $(build-shared).
22857 (binaries-shared): Also filter out $(binaries-pie).
22858 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22859 * nscd/Makefile (others-pie): Add nscd.
22860 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22861 ($(objpfx)nscd): Remove command override.
22862 * login/Makefile (others-pie): Add pt_chown.
22863 ($(objpfx)pt_chown): Remove command override.
22864 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22865 remove command overrides.
22866
fcabc0f8
UD
228672011-05-13 Ulrich Drepper <drepper@gmail.com>
22868
20030ae6
UD
22869 * libio/tst_putwc.c: Fix error messages.
22870
fcabc0f8
UD
22871 [BZ #12724]
22872 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22873 currently writing and seek to current position when not.
22874 * libio/Makefile (tests): Add bug-fclose1.
22875 * libio/bug-fclose1.c: New file.
22876
320a5dc0
PB
228772011-05-12 Ulrich Drepper <drepper@gmail.com>
22878
22879 [BZ #12511]
22880 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22881 don't set DF_1_NODELETE here.
22882 (do_lookup_x): When entering new entry test for copy relocation
22883 and if necessary set DF_1_NODELETE flag.
22884 * elf/tst-unique4.cc: New file.
22885 * elf/tst-unique4.h: New file.
22886 * elf/tst-unique4lib.cc: New file.
22887 * elf/Makefile: Add rules to build and run tst-unique4.
22888 Patch by Piotr Bury <pbury@goahead.com>.
22889
22836f52
UD
228902011-05-11 Ulrich Drepper <drepper@gmail.com>
22891
f574184a
UD
22892 [BZ #12052]
22893 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22894
e1fb097f
UD
22895 [BZ #12625]
22896 * misc/mntent_r.c (addmntent): Flush the stream after the output
22897
22836f52
UD
22898 [BZ #12393]
22899 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22900 (is_trusted_path_normalize): Skip initial colon. Append slash
22901 to empty buffer. Duplicate is_trusted_path code but allow
22902 constructed patch to be prefix.
22903 (is_dst): Allow $ORIGIN followed by /.
22904 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22905 Correct testing of result of is_trusted_path_normalize
22906 (decompose_rpath): Fix warning.
22907
7b3b0b2a
UD
229082011-05-10 Ulrich Drepper <drepper@gmail.com>
22909
22910 [BZ #11257]
22911 * grp/initgroups.c (internal_getgrouplist): When we found the service
22912 list through the initgroups entry in nsswitch.conf do not always
22913 continue on a successful lookup. Don't always use the
eac80ce2 22914 __nss_group_database value if it is set.
7b3b0b2a
UD
22915 * nss/nsswitch.conf (initgroups): Change action for successful db
22916 lookup to continue for compatibility.
22917
2a81eaa5
UD
229182011-05-09 Ulrich Drepper <drepper@gmail.com>
22919
be97a69e
UD
22920 [BZ #11532]
22921 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22922 and CP774 modules.
22923 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22924 and CP774 modules.
22925 * iconvdata/tst-tables.sh: Likewise.
22926 * iconvdata/cp770.c: New file.
22927 * iconvdata/cp771.c: New file.
22928 * iconvdata/cp772.c: New file.
22929 * iconvdata/cp773.c: New file.
22930 * iconvdata/cp774.c: New file.
22931 * iconvdata/testdata/CP770: New file.
22932 * iconvdata/testdata/CP770..UTF8: New file.
22933 * iconvdata/testdata/CP771: New file.
22934 * iconvdata/testdata/CP771..UTF8: New file.
22935 * iconvdata/testdata/CP772: New file.
22936 * iconvdata/testdata/CP772..UTF8: New file.
22937 * iconvdata/testdata/CP773: New file.
22938 * iconvdata/testdata/CP773..UTF8: New file.
22939 * iconvdata/testdata/CP774: New file.
22940 * iconvdata/testdata/CP774..UTF8: New file.
22941
22942 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22943 END CHARMAP line.
22944 * iconvdata/gen-8bit-gap.sh: Likewise.
22945 * iconvdata/gen-8bit.sh: Likewise.
22946
c1e9e399
UD
22947 * locale/iso-639.def: Add ary entry.
22948
24c55fb3 22949 [BZ #11258]
96b4b1b0
UD
22950 * locale/C-translit.h.in: Add U20A1 transliteration.
22951
bdc2f971
KB
22952 [BZ #12178]
22953 * locale/iso-639.def: Add wae entry.
22954 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22955
2952b117
UD
22956 [BZ #12545]
22957 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22958 for n.
22959
2a81eaa5
UD
22960 [BZ #12711]
22961 * locale/C-translit.h.in: Add entry for U20B9.
22962 Patch by pravin.d.s@gmail.com.
22963
28377d1b
UD
229642011-05-08 Ulrich Drepper <drepper@gmail.com>
22965
7fb90fb8
UD
22966 [BZ #12713]
22967 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22968 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22969 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22970 in rtld. Use *stat64.
7fb90fb8 22971 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22972 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22973 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22974 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22975 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22976 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22977 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22978 __fstatat64 macros.
7fb90fb8
UD
22979 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22980 * dirent/rewinddir.c: Add libc_hidden_def.
22981 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22982 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22983
28377d1b
UD
22984 * include/dirent.h (__alloc_dir): Add flags parameter.
22985 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22986 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22987 __alloc_dir.
22988 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22989 from fdopendir if O_CLOEXEC is already set.
22990
66bdbaa4
AM
229912011-03-15 Alan Modra <amodra@gmail.com>
22992
22993 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22994 l_tls_firstbyte_offset non-zero. Save padding offset in
22995 l_tls_firstbyte_offset for later use.
22996 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22997 freeing static tls block.
22998
95721191
JN
229992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23000
23001 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23002 where #ifdef was intended. The intent is to prevent ARG_MAX from
23003 being defined by the kernel headers.
23004
f87dfb1f
UD
230052011-05-07 Ulrich Drepper <drepper@gmail.com>
23006
23007 [BZ #12734]
23008 * resolv/resolv.h: Define RES_NOTLDQUERY.
23009 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23010 no-tld-query and set RES_NOTLDQUERY.
23011 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23012 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23013 modern BIND to search name as TLD unless forbidden.
23014
47c3cd7a
UD
230152011-05-07 Petr Baudis <pasky@suse.cz>
23016 Ulrich Drepper <drepper@gmail.com>
23017
23018 [BZ #12393]
23019 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23020 (is_trusted_path): ...to here.
c1e9ea35 23021 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23022 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23023 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23024
8a35c912
PP
230252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23026
23027 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23028 __BEGIN/__END_DECLS.
23029
acd41f47
UD
230302011-05-06 Ulrich Drepper <drepper@gmail.com>
23031
23032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23033 NSS_STATUS_NOTFOUND if no record was found.
23034
597df647
AS
230352011-05-05 Andreas Schwab <schwab@redhat.com>
23036
23037 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23038 (headers-not-in-tirpc): Remove rpc/netdb.h
23039 * resolv/netdb.h: Revert last change.
23040
b9af1301
PP
230412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23042
23043 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23044 circular dependency between libgcc.a and libc.a.
23045
4e34d5f5
AS
230462011-05-05 Andreas Schwab <schwab@redhat.com>
23047
23048 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23049 * nis/Makefile: Don't install rpcsvc/*.
23050 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23051 instead of <rpc/types.h>.
23052 (MAXHOSTNAMELEN): Define.
23053
00ee369c
AS
230542011-05-03 Andreas Schwab <schwab@redhat.com>
23055
23056 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23057
0b592a30
MB
230582011-04-28 Maciej Babinski <mbabinski@google.com>
23059
23060 [BZ #12714]
23061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23062 gethostbyname4_r when IPv6 results are possible.
23063
6e04cbbe
UD
230642011-05-02 Ulrich Drepper <drepper@gmail.com>
23065
23066 [BZ #12723]
23067 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23068 _PC_PIPE_BUF handling.
23069
e4ecafe0
BH
230702011-04-30 Bruno Haible <bruno@clisp.org>
23071
23072 [BZ #12717]
23073 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23074 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23075 to 'int'.
23076 * inet/getnameinfo.c (getnameinfo): Likewise.
23077
125ee683
UD
230782011-04-29 Ulrich Drepper <drepper@gmail.com>
23079
23080 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23081 to groups setting in database lookup.
23082 * nss/nsswitch.conf: Add initgroups entry.
23083
b722481a
EB
230842011-04-22 Ulrich Drepper <drepper@gmail.com>
23085
23086 [BZ #12685]
23087 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23088 mode string.
23089 Patch by Eric Blake <eblake@redhat.com>.
23090
4df46dbd
L
230912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 * sunrpc/Makefile (need-export-routines): Add svc_run.
23094 (routines): Remove svc_run.
23095 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23096 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23097 * sunrpc/svc_run.c (svc_run): Likewise.
23098 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23099
e84142d2
UD
231002011-04-21 Ulrich Drepper <drepper@gmail.com>
23101
23102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23103 problem in reallocation in last patch.
23104
877175d8
UD
231052011-04-20 Ulrich Drepper <drepper@gmail.com>
23106
23107 * sunrpc/Makefile: Move inclusion of Rules.
23108
ab8eed78
UD
231092011-04-19 Ulrich Drepper <drepper@gmail.com>
23110
23111 * nss/nss_files/files-initgroups.c: New file.
23112 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23113 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23114 _nss_files_initgroups_dyn.
23115
e3d8f584
RS
231162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23117
23118 * elf/elf.h (R_ARM_IRELATIVE): Define.
23119
af190f45
UD
231202011-04-19 Ulrich Drepper <drepper@gmail.com>
23121
23122 * po/ru.po: Update from translation team.
23123
53cf59ef
UD
231242011-04-17 Ulrich Drepper <drepper@gmail.com>
23125
23126 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23127 dependencies.
23128
4c559bcd
MF
231292011-02-06 Mike Frysinger <vapier@gentoo.org>
23130
23131 [BZ #12653]
23132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23133 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23137
4420675c
AS
231382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23139
23140 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23141 differing bytes.
23142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23145
75ea32ab
UD
231462011-04-17 Ulrich Drepper <drepper@gmail.com>
23147
23148 [BZ #12420]
23149 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23150 storing it.
23151 * stdlib/bug-getcontext.c: New file.
23152 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23153
27390476
AK
231542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23155
23156 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23157 instructions into .machine "z9-109".
23158 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23159 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23160
10442705
AK
231612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23162
23163 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23164 between environment variables and auxiliary vector.
23165
7b57bfe5
UD
231662011-04-16 Ulrich Drepper <drepper@gmail.com>
23167
23168 * Makefile: Add rules to build linkobj/libc.so.
23169 * include/libc-symbols.h: Define libc_hidden_nolink.
23170 * include/rpc/auth.h: Mark functions which are to be hidden.
23171 * include/rpc/auth_des.h: Likewise.
23172 * include/rpc/auth_unix.h: Likewise.
23173 * include/rpc/clnt.h: Likewise.
23174 * include/rpc/des_crypt.h: Likewise.
23175 * include/rpc/key_prot.h: Likewise.
23176 * include/rpc/pmap_clnt.h: Likewise.
23177 * include/rpc/pmap_prot.h: Likewise.
23178 * include/rpc/pmap_rmt.h: Likewise.
23179 * include/rpc/rpc_msg.h: Likewise.
23180 * include/rpc/svc.h: Likewise.
23181 * include/rpc/svc_auth.h: Likewise.
23182 * include/rpc/xdr.h: Likewise.
23183 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23184 * nss/Makefile: Likewise.
23185 * sunrpc/Makefile: Don't install headers. Build library with normal
23186 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23187 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23188 for the compat linking library. Remove use of INTDEF/INTUSE.
23189 * sunrpc/auth_none.c: Likewise.
23190 * sunrpc/auth_unix.c: Likewise.
23191 * sunrpc/authdes_prot.c: Likewise.
23192 * sunrpc/authuxprot.c: Likewise.
23193 * sunrpc/clnt_gen.c: Likewise.
23194 * sunrpc/clnt_perr.c: Likewise.
23195 * sunrpc/clnt_raw.c: Likewise.
23196 * sunrpc/clnt_simp.c: Likewise.
23197 * sunrpc/clnt_tcp.c: Likewise.
23198 * sunrpc/clnt_udp.c: Likewise.
23199 * sunrpc/clnt_unix.c: Likewise.
23200 * sunrpc/des_crypt.c: Likewise.
23201 * sunrpc/des_soft.c: Likewise.
23202 * sunrpc/get_myaddr.c: Likewise.
23203 * sunrpc/key_call.c: Likewise.
23204 * sunrpc/key_prot.c: Likewise.
23205 * sunrpc/netname.c: Likewise.
23206 * sunrpc/pm_getmaps.c: Likewise.
23207 * sunrpc/pm_getport.c: Likewise.
23208 * sunrpc/pmap_clnt.c: Likewise.
23209 * sunrpc/pmap_prot.c: Likewise.
23210 * sunrpc/pmap_prot2.c: Likewise.
23211 * sunrpc/pmap_rmt.c: Likewise.
23212 * sunrpc/publickey.c: Likewise.
23213 * sunrpc/rpc_cmsg.c: Likewise.
23214 * sunrpc/rpc_common.c: Likewise.
23215 * sunrpc/rpc_dtable.c: Likewise.
23216 * sunrpc/rpc_prot.c: Likewise.
23217 * sunrpc/rpc_thread.c: Likewise.
23218 * sunrpc/rtime.c: Likewise.
23219 * sunrpc/svc.c: Likewise.
23220 * sunrpc/svc_auth.c: Likewise.
23221 * sunrpc/svc_authux.c: Likewise.
23222 * sunrpc/svc_raw.c: Likewise.
23223 * sunrpc/svc_run.c: Likewise.
23224 * sunrpc/svc_simple.c: Likewise.
23225 * sunrpc/svc_tcp.c: Likewise.
23226 * sunrpc/svc_udp.c: Likewise.
23227 * sunrpc/svc_unix.c: Likewise.
23228 * sunrpc/svcauth_des.c: Likewise.
23229 * sunrpc/xcrypt.c: Likewise.
23230 * sunrpc/xdr.c: Likewise.
23231 * sunrpc/xdr_array.c: Likewise.
23232 * sunrpc/xdr_float.c: Likewise.
23233 * sunrpc/xdr_intXX_t.c: Likewise.
23234 * sunrpc/xdr_mem.c: Likewise.
23235 * sunrpc/xdr_rec.c: Likewise.
23236 * sunrpc/xdr_ref.c: Likewise.
23237 * sunrpc/xdr_sizeof.c: Likewise.
23238 * sunrpc/xdr_stdio.c: Likewise.
23239
e6c61494
UD
232402011-04-10 Ulrich Drepper <drepper@gmail.com>
23241
23242 [BZ #12650]
23243 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23244 * sysdeps/ia64/dl-tls.h: Likewise.
23245 * sysdeps/powerpc/dl-tls.h: Likewise.
23246 * sysdeps/s390/dl-tls.h: Likewise.
23247 * sysdeps/sh/dl-tls.h: Likewise.
23248 * sysdeps/sparc/dl-tls.h: Likewise.
23249 * sysdeps/x86_64/dl-tls.h: Likewise.
23250 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23251
34fe483e
AS
232522011-03-14 Andreas Schwab <schwab@redhat.com>
23253
23254 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23255 rpath element also skip the following colon.
23256 (expand_dynamic_string_token): Add is_path parameter and pass
23257 down to DL_DST_REQUIRED and _dl_dst_substitute.
23258 (decompose_rpath): Call expand_dynamic_string_token with
23259 non-zero is_path. Ignore empty rpaths.
23260 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23261 with zero is_path.
23262
f12a32e6
AS
232632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23264
23265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23266 Make cancelable.
23267
38a7d692
UD
232682011-04-09 Ulrich Drepper <drepper@gmail.com>
23269
23270 [BZ #12655]
23271 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23272 Patch by Filipe David Manana <fdmanana@apache.org>.
23273
e451d22b
AS
232742011-04-07 Andreas Schwab <schwab@redhat.com>
23275
23276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23277 Maintain aligned stack.
23278 (CHECK_RSP): Remove unused macro.
23279
dedc7c7b
UD
232802011-04-03 Ulrich Drepper <drepper@gmail.com>
23281
23282 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23283 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23284
94521213
UD
232852011-04-02 Ulrich Drepper <drepper@gmail.com>
23286
23287 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23288
8cb700c0 23289 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23290
0354e355
L
232912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23292
23293 [BZ #12518]
23294 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23295 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23296 * sysdeps/x86_64/memmove.c: New file.
23297 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23298 (memcpy): Renamed to ...
23299 (__new_memcpy): This.
23300 (memcpy): Provide GLIBC_2_14 memcpy.
23301 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23302 (memcpy): Provide GLIBC_2_2_5 memcpy.
23303
8593482f
UD
233042011-04-01 Ulrich Drepper <drepper@gmail.com>
23305
23306 [BZ #12631]
23307 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23308
81a5726b
AS
233092011-03-30 Andreas Schwab <schwab@redhat.com>
23310
23311 * misc/syncfs.c: New file.
23312 * misc/Makefile (routines): Add syncfs.
23313 * posix/unistd.h: Declare syncfs.
23314 * sysdeps/unix/syscalls.list: Add syncfs.
23315
00e5419f
AS
233162011-04-01 Andreas Schwab <schwab@redhat.com>
23317
23318 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23319 open_by_handle_at.
23320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23325 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23327
748876bf
UD
233282011-04-01 Ulrich Drepper <drepper@gmail.com>
23329
658e451d
UD
23330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23332 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23337
748876bf
UD
23338 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23339 sync_file_range.c with -fexceptions.
23340 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23341 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23342 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23343 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23344 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23345 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23347 sync_file_range as cancellation point
23348 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23349 now a wrapper around __call_sync_file_range with cancellation handling.
23350 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23351 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23352 function name to __call_sync_file_range.
23353 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23354 Add call_sync_file_range.
748876bf 23355
6e63d5e1
AS
233562011-04-01 Andreas Schwab <schwab@redhat.com>
23357
23358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23359 bits/timex.h.
6e63d5e1 23360
46998f74
UD
233612011-04-01 Ulrich Drepper <drepper@gmail.com>
23362
4c1423ed
UD
23363 * iconv/iconv.h: Fix typo in comment.
23364 * io/fcntl.h: Likewise.
23365 * libio/stdio.h: Likewise.
23366 * posix/spawn.h: Likewise.
23367 * posix/unistd.h: Likewise.
23368 * stdlib/stdlib.h: Likewise.
23369 * time/time.h: Likewise.
23370 * wcsmbs/wchar.h: Likewise.
23371
158648c0
UD
23372 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23373 open_by_handle): Add.
23374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23375 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23376 Augment a few comments.
23377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23382 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23383 open_by_handle.
23384
46998f74
UD
23385 * io/fcntl.h (AT_EMPTY_PATH): Define.
23386
83fe108b
UD
233872011-03-30 Ulrich Drepper <drepper@gmail.com>
23388
23389 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23390 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23391 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23392 to...
23393 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23394 * Versions.def: Add GLIBC_2.14.
23395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23396 Export.
83fe108b 23397
bb242059
UD
233982011-03-22 Ulrich Drepper <drepper@gmail.com>
23399
23400 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23401 round counter.
23402 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23403
c97a1282
L
234042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23405
23406 [BZ #12597]
23407 * string/test-strncmp.c (do_page_test): New function.
23408 (check2): Likewise.
23409 (test_main): Call check2.
23410 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23411
2a115601
UD
234122011-03-20 Ulrich Drepper <drepper@gmail.com>
23413
23414 [BZ #12587]
23415 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23416 Handle cache information in CPU leaf 4.
23417 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23418
8126d904
UD
234192011-03-18 Ulrich Drepper <drepper@gmail.com>
23420
042c49c6 23421 [BZ #12583]
8126d904
UD
23422 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23423 character representation.
23424 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23425
ccfe366e
RA
234262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23427
23428 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23429 END(__isnan) to END(__isnanf) to match function entry point/label
23430 EALIGN(__isnanf,...).
23431
c6e13027
JJ
234322011-03-10 Jakub Jelinek <jakub@redhat.com>
23433
23434 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23435
33f85a3f
UD
234362011-03-10 Ulrich Drepper <drepper@gmail.com>
23437
028478fa
UD
23438 [BZ #12510]
23439 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23440 copy from the symbol referenced in the relocation to initialize the
23441 used variable.
23442 Patch by Piotr Bury <pbury@goahead.com>.
23443 * elf/Makefile: Add rules to build and tst-unique3.
23444 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23445 * elf/tst-unique3.cc: New file.
23446 * elf/tst-unique3.h: New file.
23447 * elf/tst-unique3lib.cc: New file.
23448 * elf/tst-unique3lib2.cc: New file.
23449
33f85a3f
UD
23450 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23451
03592fc7
MF
234522011-03-10 Mike Frysinger <vapier@gentoo.org>
23453
23454 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23455 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23456 to _start.
03592fc7 23457
6a5ee102
UD
234582011-03-06 Ulrich Drepper <drepper@gmail.com>
23459
23460 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23461 to-be-loaded object along a path to loader is ld.so.
23462
7e4ba49c
HJ
234632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23464 Ulrich Drepper <drepper@gmail.com>
23465
23466 * sysdeps/x86_64/memset.S: After aligning destination, code
23467 branches to different locations depending on the value of
23468 misalignment, when multiarch is enabled. Fix this.
23469
234702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23471
23472 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23473 Set _x86_64_preferred_memory_instruction for AMD processsors.
23474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23475 Set bit_Prefer_SSE_for_memop for AMD processors.
23476
13a804de
UD
234772011-03-04 Ulrich Drepper <drepper@gmail.com>
23478
23479 * libio/fmemopen.c (fmemopen): Optimize a bit.
23480
9d25c392
AS
234812011-03-03 Andreas Schwab <schwab@redhat.com>
23482
23483 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23484
a5543c6a
RM
234852011-03-03 Roland McGrath <roland@redhat.com>
23486
23487 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23488
012d35f7
DM
234892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23490
7e4ba49c 23491 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23492 __bzero_ultra1 instead of __memset_ultra1.
23493
4bff6e01
AS
234942011-02-23 Andreas Schwab <schwab@redhat.com>
23495 Ulrich Drepper <drepper@gmail.com>
23496
23497 [BZ #12509]
23498 * include/link.h (struct link_map): Add l_orig_initfini.
23499 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23500 returning unsuccessfully.
23501 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23502 close of a file loaded at startup, restore the original l_initfini
23503 list.
23504 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23505 list, store the pointer.
23506 * elf/Makefile ($(objpfx)noload-mem): New rule.
23507 (noload-ENV): Define.
23508 (tests): Add $(objpfx)noload-mem.
23509 * elf/noload.c: Include <memcheck.h>.
23510 (main): Call mtrace. Close all opened handles.
23511
f2092faf
AS
235122011-02-17 Andreas Schwab <schwab@redhat.com>
23513
23514 [BZ #12454]
23515 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23516 dependencies are missing.
23517
6c8a2e88
ST
235182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23519
f2092faf 23520 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23521 Hurd needs munmap.
23522 * sysdeps/mach/hurd/ifreq.h: New file.
23523
84a42118
PB
235242011-01-27 Petr Baudis <pasky@suse.cz>
23525 Ulrich Drepper <drepper@gmail.com>
23526
071f805e 23527 [BZ 12445]#
84a42118
PB
23528 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23529 to extend_alloca().
23530 * stdio-common/bug23.c: New file.
23531 * stdio-common/Makefile (tests): Add bug23.
23532
e23fe25b
AS
235332010-09-28 Andreas Schwab <schwab@redhat.com>
23534 Ulrich Drepper <drepper@gmail.com>
23535
23536 [BZ #12489]
23537 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23538 before performing relro protection. At old place add assertion
23539 to make sure nothing changed.
23540
d3f02e10
NS
235412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23542 Glauber de Oliveira Costa <glommer@gmail.com>
23543
23544 * elf/elf.h: Add new ARM TLS relocs.
23545
d55fd7a5
RA
235462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23547
23548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23549 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23550 cast from r3.
23551 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23552 'tests' variable.
23553 * sysdeps/wordsize-64/tst-writev.c: New file.
23554
2206397e
RA
235552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23556
23557 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23558 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23559 insns in _dl_start to prevent a TOC reference before relocs are
23560 resolved.
23561
e9433893
UD
235622011-02-15 Ulrich Drepper <drepper@gmail.com>
23563
23564 [BZ #12469]
23565 * Makeconfig: Remove RANLIB definition.
23566 * Makerules: Don't use RANLIB.
23567 * aclocal.m4: Remove ranlib test.
23568 * configure.in: No need to check for ranlib.
23569 * elf/rtld-Rules: Don't use RANLIB.
23570
f75286c6
ST
235712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23572
8e31c82d
ST
23573 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23574 protection macro.
23575 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23576 inclusion protection macro.
23577
f75286c6
ST
23578 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23579 SIGRTMIN and SIGRTMAX and print information in that case only when
23580 SIGRTMIN is defined.
23581
c1d0e639
JJ
235822011-02-11 Jakub Jelinek <jakub@redhat.com>
23583
23584 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23585 arginfo fn returning -1.
23586
23587 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23588 and thousands string is zero terminated.
23589
edf9294e
AS
235902011-02-03 Andreas Schwab <schwab@redhat.com>
23591
23592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23593 sysdeps/unix/sysv/linux/bits/socket.h.
23594
2b7e92df
ST
235952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23596
edf9294e
AS
23597 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23598 (__CPU_COUNT): Remove old macros.
23599 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23600 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23601 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23602 (__sched_cpualloc, __sched_cpufree): Add declarations.
23603
a4c7ea7b
UD
236042011-02-05 Ulrich Drepper <drepper@gmail.com>
23605
23606 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23607 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23608 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23609 (readdhstai): Return value of addhstaiX call.
23610 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23611 (addgrbyX): Return value returned by cache_addgr.
23612 (readdgrbyname): Return value returned by addgrbyX.
23613 (readdgrbygid): Likewise.
23614 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23615 (addpwbyX): Return value returned by cache_addpw.
23616 (readdpwbyname): Return value returned by addhstbyX.
23617 (readdpwbyuid): Likewise.
23618 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23619 (addservbyX): Return value returned by cache_addserv.
23620 (readdservbyname): Return value returned by addservbyX:
23621 (readdservbyport): Likewise.
23622 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23623 (addhstbyX): Return value returned by cache_addhst.
23624 (readdhstbyname): Return value returned by addhstbyX.
23625 (readdhstbyaddr): Likewise.
23626 (readdhstbynamev6): Likewise.
23627 (readdhstbyaddrv6): Likewise.
23628 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23629 (readdinitgroups): Return value returned by addinitgroupsX.
23630 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23631 (prune_cache): Keep track of timeout value of re-added entries.
23632 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23633 * nscd/nscd.h: Adjust prototypes of readd* functions.
23634
a0bf67cc
RM
236352011-02-04 Roland McGrath <roland@redhat.com>
23636
23637 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23638 (nis_stats): Likewise.
23639 * nis/nis_modify.c (nis_modify): Likewise.
23640 * nis/nis_remove.c (nis_remove): Likewise.
23641 * nis/nis_add.c (nis_add): Likewise.
23642
23643 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23644
23645 * posix/fnmatch_loop.c: Add some consts.
23646
23647 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23648
435b95eb
L
236492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23650
23651 [BZ #12460]
23652 * config.make.in (config-cflags-novzeroupper): Define.
23653 * configure.in: Substitute libc_cv_cc_novzeroupper.
23654 * elf/Makefile (AVX-CFLAGS): Define.
23655 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23656 (CFLAGS-tst-auditmod4a.c): Likewise.
23657 (CFLAGS-tst-auditmod4b.c): Likewise.
23658 (CFLAGS-tst-auditmod6b.c): Likewise.
23659 (CFLAGS-tst-auditmod6c.c): Likewise.
23660 (CFLAGS-tst-auditmod7b.c): Likewise.
23661 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23662
8517b15e
UD
236632011-02-02 Ulrich Drepper <drepper@gmail.com>
23664
23665 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23666 function to the callback.
23667 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23668
10a656fe
AS
236692011-02-02 Andreas Schwab <schwab@redhat.com>
23670
23671 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23672 of errno.
23673
968dad0a
UD
236742011-01-19 Ulrich Drepper <drepper@gmail.com>
23675
9f94d2ea 23676 [BZ #11724]
968dad0a
UD
23677 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23678 of constructors.
23679 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23680 of destructors.
23681 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23682
23683 [BZ #11724]
23684 * elf/Makefile: Add rules to build and run new test.
23685 * elf/tst-initorder.c: New file.
23686 * elf/tst-initorder.exp: New file.
23687 * elf/tst-initordera1.c: New file.
23688 * elf/tst-initordera2.c: New file.
23689 * elf/tst-initordera3.c: New file.
23690 * elf/tst-initordera4.c: New file.
23691 * elf/tst-initorderb1.c: New file.
23692 * elf/tst-initorderb2.c: New file.
23693 * elf/tst-order-a1.c: New file.
23694 * elf/tst-order-a2.c: New file.
23695 * elf/tst-order-a3.c: New file.
23696 * elf/tst-order-a4.c: New file.
23697 * elf/tst-order-b1.c: New file.
23698 * elf/tst-order-b2.c: New file.
23699 * elf/tst-order-main.c: New file.
23700 New test case by George Gensure <werkt0@gmail.com>.
23701
86e92359
UD
237022010-10-01 Andreas Schwab <schwab@redhat.com>
23703
23704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23705 decoding ACE if AI_CANONIDN.
23706
5d5732b0
UD
237072011-01-18 Ulrich Drepper <drepper@gmail.com>
23708
23709 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23710
a77e8cbc
UD
237112011-01-17 Ulrich Drepper <drepper@gmail.com>
23712
6392473f
UD
23713 * version.h (RELEASE): Bump for 2.13 release.
23714 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23715
620a0529
UD
23716 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23717
18ba70a5
UD
23718 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23719 MADV_NOHUGEPAGE.
32465c3e
UD
23720 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23721 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23724 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23725 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23726
c0dafcf1
UD
23727 * posix/getconf.c: Update copyright year.
23728 * catgets/gencat.c: Likewise.
23729 * csu/version.c: Likewise.
23730 * debug/catchsegv.sh: Likewise.
23731 * debug/xtrace.sh: Likewise.
23732 * elf/ldconfig.c: Likewise.
23733 * elf/ldd.bash.in: Likewise.
23734 * elf/sprof.c (print_version): Likewise.
23735 * iconv/iconv_prog.c: Likewise.
23736 * iconv/iconvconfig.c: Likewise.
23737 * locale/programs/locale.c: Likewise.
23738 * locale/programs/localedef.c: Likewise.
23739 * malloc/memusage.sh: Likewise.
23740 * malloc/mtrace.pl: Likewise.
23741 * nscd/nscd.c (print_version): Likewise.
23742 * nss/getent.c: Likewise.
23743
a77e8cbc
UD
23744 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23745 PF_CAIF, and PF_ALG.
23746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23747
77e8bddf
AS
237482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23749
1f20b93a
AS
23750 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23751 (modules-names): Use them.
23752 (ifunc-test-modules, ifunc-pie-tests): Define.
23753 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23754 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23755 (test-extras): Likewise.
23756 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23757 $(compile-command.c).
23758 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23759 (all-built-dso): Define.
23760 (check-textrel.out, check-execstack.out): Depend on it.
23761
77e8bddf
AS
23762 * configure.in: Don't override --enable-multi-arch.
23763
bc425b33
UD
237642011-01-15 Ulrich Drepper <drepper@gmail.com>
23765
23766 [BZ #6812]
23767 * nscd/hstcache.c (tryagain): Define.
23768 (cache_addhst): Return tryagain not notfound for temporary errors.
23769 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23770 failed.
23771
794c3ad3
UD
237722011-01-14 Ulrich Drepper <drepper@gmail.com>
23773
70181fdd
UD
23774 [BZ #10563]
23775 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23776 to make the syscall.
23777 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23778
794c3ad3
UD
23779 [BZ #12378]
23780 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23781 and fall back to matching as normal character if the string ends before
23782 the matching ']' is found. This is what POSIX requires.
23783 * posix/testfnm.c: Adjust test result.
23784 * posix/globtest.sh: Adjust test result. Add new test.
23785 * posix/tst-fnmatch.input: Likewise.
23786 * posix/tst-fnmatch2.c: Add new test.
23787
68dc9497
AS
237882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23789
23790 * elf/Makefile (check-execstack): Revert last change. Depend on
23791 check-execstack.h.
23792 (check-execstack.h): New target.
23793 (generated): Add check-execstack.h.
23794 * elf/check-execstack.c: Include "check-execstack.h".
23795 (main): Revert last change.
23796 (handle_file): Return zero if GNU_STACK is absent and
23797 DEFAULT_STACK_PERMS doesn't include PF_X.
23798
451f001b
UD
237992011-01-13 Ulrich Drepper <drepper@gmail.com>
23800
cfa28e56
UD
23801 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23802 in child fails because the descriptor is already closed.
8cf8ce17
UD
23803 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23804 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23806
1086d70d
UD
23807 [BZ #12397]
23808 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23809 syscall.
23810
451f001b
UD
23811 [BZ #10484]
23812 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23813 temporary buffer used to handle multi lookups locally.
a85b5cb4 23814 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23815
08769175
UD
238162011-01-12 Ulrich Drepper <drepper@gmail.com>
23817
23818 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23819 loader is ld.so.
23820
5e49c52e
UD
238212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23822
23823 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23824 alignment for SSE2.
23825
60522a5f
UD
238262011-01-12 Ulrich Drepper <drepper@gmail.com>
23827
23828 [BZ #12394]
23829 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23830 characters. When rounding increased number of integer digits recompute
23831 number of groups.
23832 * stdio-common/tst-grouping.c: New file.
23833 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23834
f257bbd7
UD
238352011-01-09 Ulrich Drepper <drepper@gmail.com>
23836
23837 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23838 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23839
23840 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23841 void.
23842 * bits/select.h: Likewise.
23843
fa9c15cb
UD
238442011-01-08 Ulrich Drepper <drepper@gmail.com>
23845
23846 * po/ja.po: Update from translation team.
23847
16c2895f
DM
238482011-01-04 David S. Miller <davem@sunset.davemloft.net>
23849
23850 [BZ #11155]
23851 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23852 implementation just like for lxstat, fxstatat, et al.
23853
2543fef2
JM
238542010-12-27 Jim Meyering <meyering@redhat.com>
23855
23856 [BZ #12348]
23857 * posix/regexec.c (build_trtable): Return failure indication upon
23858 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23859
98727dbe
UD
238602010-12-25 Ulrich Drepper <drepper@gmail.com>
23861
5bd6dc5c
UD
23862 [BZ #12201]
23863 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23864 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23865 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23866 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23867
97983464
UD
23868 [BZ #12207]
23869 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23870
98727dbe
UD
23871 [BZ #12204]
23872 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23873 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23874
4a531bb0
L
238752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23876
23877 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23878 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23879 script has SORT_BY_INIT_PRIORITY.
23880 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23881 NO_CTORS_DTORS_SECTIONS is defined.
23882 * elf/soinit.c: Likewise.
23883 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23884 NO_CTORS_DTORS_SECTIONS is defined.
23885 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23886 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23887 * sysdeps/sh/init-first.c: Likewise.
23888 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23889
07eb4b71
UD
238902010-12-24 Ulrich Drepper <drepper@gmail.com>
23891
23892 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23893 always use the slow path.
23894
30950a5f
RA
238952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23896
23897 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23898 similar rule which adds the sysdep directories to the header search in
23899 order to pick up the correct platform stackinfo.h.
23900 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23901 perform test if it is, otherwise return successfully without testing.
23902 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23903 DEFAULT_STACK_PERMS define in stackinfo.h.
23904 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23905 defined in stackinfo.h.
23906 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23907 DEFAULT_STACK_PERMS defined in stackinfo.h.
23908 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23909 * sysdeps/ia64/stackinfo.h: Likewise.
23910 * sysdeps/s390/stackinfo.h: Likewise.
23911 * sysdeps/sh/stackinfo.h: Likewise.
23912 * sysdeps/sparc/stackinfo.h: Likewise.
23913 * sysdeps/x86_64/stackinfo.h: Likewise.
23914 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23915 PF_X for powerpc64. Retain PF_X for powerpc32.
23916
db753e2c
UD
239172010-12-19 Ulrich Drepper <drepper@gmail.com>
23918
14b697f7
UD
23919 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23920 accurately.
db753e2c
UD
23921 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23922 GETDENTS_64BIT_ALIGNED.
23923
28300719
UD
239242010-12-14 Ulrich Drepper <dreper@gmail.com>
23925
14b697f7 23926 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23927
4f197237
AS
239282010-12-10 Andreas Schwab <schwab@redhat.com>
23929
dbb0472f
AS
23930 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23931 _GNU_SOURCE.
23932
4f197237
AS
23933 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23934 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23935 Remove __restrict.
23936 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23937 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23938
fb88ac72
UD
239392010-12-09 Ulrich Drepper <drepper@gmail.com>
23940
23941 [BZ #11655]
23942 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23943 are initialized.
23944
42acbb92
JJ
239452010-12-09 Jakub Jelinek <jakub@redhat.com>
23946
23947 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23948
c038d98d
UD
239492010-12-03 Ulrich Drepper <drepper@gmail.com>
23950
23951 * po/it.po: Update from translation team.
23952
3a4a2499
L
239532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23954
23955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23956 unused codes.
23957
1e24cf6e
UD
239582010-11-30 Ulrich Drepper <drepper@gmail.com>
23959
23960 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23961
a7690819
AS
239622010-11-24 Andreas Schwab <schwab@redhat.com>
23963
23964 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23965 specially.
23966 (gaih_getanswer_slice): Likewise.
23967
3bf8d1b1
JJ
239682010-10-20 Jakub Jelinek <jakub@redhat.com>
23969
23970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23971
6db52fbb
PB
239722010-05-31 Petr Baudis <pasky@suse.cz>
23973
23974 [BZ #11149]
23975 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23976 silently even in the chroot mode.
23977
eaca7569
UD
239782010-11-22 Ulrich Drepper <drepper@gmail.com>
23979
23980 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23981 last patch a bit. Pretty printing
23982
3056dcdb
UD
239832010-05-31 Petr Baudis <pasky@suse.cz>
23984
23985 [BZ #10085]
23986 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23987 initialization of skip_initgroups_dyn.
23988
cf7c9078
UD
239892010-11-19 Ulrich Drepper <drepper@gmail.com>
23990
23991 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23993
a1fb5e3e
UD
239942010-11-16 Ulrich Drepper <drepper@gmail.com>
23995
23996 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23997
3540d66b
AS
239982010-11-11 Andreas Schwab <schwab@redhat.com>
23999
24000 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24001 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24002 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24003 ($(objpfx)tst-fnmatch-mem): New rule.
24004 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24005 * posix/tst-fnmatch.c (main): Call mtrace.
24006
13b69574
L
240072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24010 Support Intel processor model 6 and model 0x2c.
24011
da93d214
LM
240122010-11-10 Luis Machado <luisgpm@br.ibm.com>
24013
24014 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24015 signed comparison.
24016
8ca52c6e
L
240172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24018
24019 [BZ #12205]
24020 * string/test-strncasecmp.c (check_result): New function.
24021 (do_one_test): Use it.
24022 (check1): New function.
24023 (test_main): Use it.
24024 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24025 Support strcasecmp and strncasecmp.
24026
69da074d
UD
240272010-11-08 Ulrich Drepper <drepper@gmail.com>
24028
24029 [BZ #12194]
24030 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24031 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24032
ff02d528
L
240332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24034
24035 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24036 IFUNC support.
24037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24038 memset-x86-64.
24039 * sysdeps/x86_64/multiarch/bzero.S: New file.
24040 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24041 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24042 * sysdeps/x86_64/multiarch/memset.S: New file.
24043 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24045 Set bit_Prefer_SSE_for_memop for Intel processors.
24046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24047 Define.
24048 (index_Prefer_SSE_for_memop): Define.
24049 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24050
344d0b54
LM
240512010-11-04 Luis Machado <luisgpm@br.ibm.com>
24052
24053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24054 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24055
c0dde15b
UD
240562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 [BZ #12191]
24059 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24060 (__x86_64_raw_data_cache_size_half): Likewise.
24061 (__x86_64_raw_shared_cache_size): Likewise.
24062 (__x86_64_raw_shared_cache_size_half): Likewise.
24063
24064 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24065 (__x86_64_raw_data_cache_size_half): Likewise.
24066 (__x86_64_raw_shared_cache_size): Likewise.
24067 (__x86_64_raw_shared_cache_size_half): Likewise.
24068 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24069 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24070 and __x86_64_raw_shared_cache_size_half. Round
24071 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24072 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24073 to multiple of 256 bytes.
24074
0e516e0e
MS
240752010-11-03 Ulrich Drepper <drepper@gmail.com>
24076
24077 [BZ #12167]
24078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24079 of inacessible symlinks. Verify result of symlink before returning it.
24080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24081 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24082
0e012e87
ER
240832010-10-28 Erich Ritz <erichritz@gmail.com>
24084
24085 * math/math.h (isinf): Fix typo in comment.
24086
de0ff7bc
UD
240872010-11-01 Ulrich Drepper <drepper@gmail.com>
24088
24089 * po/da.po: Update from translation team.
24090
fa41c84d
UD
240912010-10-26 Ulrich Drepper <drepper@gmail.com>
24092
24093 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24094 is added to the list.
24095
f0967738
AK
240962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24097 Ulrich Drepper <drepper@gmail.com>
24098
24099 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24100 the global list here. Move code to...
24101 (_dl_add_to_namespace_list): ...here. New function.
24102 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24103 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24104 * elf/dl-load.c (lose): Don't remove the element from the list.
24105 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24106 (_dl_map_object): Likewise.
24107
241082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24109
24110 [BZ #12159]
24111 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24112 into all bytes of SSE register.
24113 Patch by Richard Li <richardpku@gmail.com>.
24114
f0967738 241152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24116
24117 [BZ #12140]
24118 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24119 perturbing.
24120
d0b9e94f
MB
241212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24122
24123 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24124 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24125 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24128 submachine.
24129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24130
8e9f92e9
AS
241312010-10-22 Andreas Schwab <schwab@redhat.com>
24132
24133 * include/dlfcn.h (__RTLD_SECURE): Define.
24134 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24135 mode & __RTLD_SECURE instead.
24136 (open_path): Rename preloaded parameter to secure.
24137 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24138 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24139 * elf/dl-deps.c (openaux): Likewise.
24140 * elf/rtld.c (struct map_args): Remove is_preloaded.
24141 (map_doit): Don't use it.
24142 (dl_main): Likewise.
24143 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24144 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24145
bc96fbda
AS
241462010-09-09 Andreas Schwab <schwab@redhat.com>
24147
24148 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24149 (sysd-rules-targets): Remove duplicates.
24150 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24151 rtld-%.$o dependency.
24152
22cd1c9b
AS
241532010-10-18 Andreas Schwab <schwab@redhat.com>
24154
24155 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24156 _dl_map_object do it.
24157
18edac48
UD
241582010-10-19 Ulrich Drepper <drepper@gmail.com>
24159
24160 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24161 fast fma builtins, define the macros in the C99 standard.
24162 (FP_FAST_FMAF): Likewise.
24163 (FP_FAST_FMAL): Likewise.
24164 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24165
24166 * bits/mathdef.h: Update copyright year.
24167 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24168
d2050124
MM
241692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24170
24171 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24172 builtins, define the macros in the C99 standard.
24173 (FP_FAST_FMAF): Likewise.
24174 (FP_FAST_FMAL): Likewise.
24175 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24176 multiply/add.
24177 (FP_FAST_FMAF): Likewise.
24178
475facd1
JJ
241792010-10-15 Jakub Jelinek <jakub@redhat.com>
24180
24181 [BZ #3268]
24182 * math/libm-test.inc (fma_test): Some new testcases.
24183 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24184 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24185 y and infinite z. Do multiplication by C already in long double.
24186 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24188 y and infinite z. Do bitwise or of inexact bit into u.d.
24189 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24190 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24191 * sysdeps/i386/fpu/s_fma.S: Removed.
24192 * sysdeps/i386/fpu/s_fmal.S: Removed.
24193
7c08a05c
JJ
241942010-10-16 Jakub Jelinek <jakub@redhat.com>
24195
24196 [BZ #3268]
24197 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24199 computation is not scheduled after fetestexcept. Fix value
24200 of minimum denormal long double.
24201
f3f7372d
JJ
242022010-10-14 Jakub Jelinek <jakub@redhat.com>
24203
24204 [BZ #3268]
24205 * math/libm-test.inc (fma_test): Add some more tests.
24206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24207 correctly.
24208
14d43591
AS
242092010-10-15 Andreas Schwab <schwab@redhat.com>
24210
24211 * scripts/data/localplt-s390-linux-gnu.data: New file.
24212 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24213
5e908464
JJ
242142010-10-13 Jakub Jelinek <jakub@redhat.com>
24215
24216 [BZ #3268]
24217 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24218 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24219 instead of dbl-64.
24220 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24221 inlines.
24222 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24224 if one of x and y is very large and the other is subnormal.
24225 * sysdeps/s390/fpu/s_fmaf.c: New file.
24226 * sysdeps/s390/fpu/s_fma.c: New file.
24227 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24228 * sysdeps/powerpc/fpu/s_fma.S: New file.
24229 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24230 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24231 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24232
242332010-10-12 Jakub Jelinek <jakub@redhat.com>
24234
24235 [BZ #3268]
24236 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24237 fma tests.
24238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24239 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24240 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24241 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24242 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24243 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24245
b833d51f
UD
242462010-10-12 Ulrich Drepper <drepper@redhat.com>
24247
24248 [BZ #12078]
24249 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24250 * posix/bug-regex31.input: Add test case.
24251
1751705d
UD
242522010-10-11 Ulrich Drepper <drepper@gmail.com>
24253
e9b9cbf5
UD
24254 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24255 * posix/bug-regex31.input: New file.
24256
24257 [BZ #12078]
24258 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24259 (parse_sub_exp): Fix last change, use postorder.
24260
ef06edbe
UD
24261 * posix/bug-regex31.c: New file.
24262 * posix/Makefile: Add rules to build and run bug-regex31.
24263
a129c80d
UD
24264 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24265
24266 [BZ #12078]
24267 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24268
b76b818e
UD
24269 [BZ #12108]
24270 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24271 to have entries in sys_siglist.
24272
1751705d
UD
24273 [BZ #12093]
24274 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24275 be NULL.
24276
9ff8d36f
JJ
242772010-10-07 Jakub Jelinek <jakub@redhat.com>
24278
24279 [BZ #3268]
24280 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24281 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24282 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24283 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24284 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24285 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24286 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24287 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24288 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24289 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24290 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24291 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24292 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24293 * math/ftestexcept.c (fetestexcept): Likewise.
24294 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24295 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24296 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24297 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24298 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24299 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24301
af325969
UD
243022010-10-11 Ulrich Drepper <drepper@gmail.com>
24303
c579b202 24304 [BZ #12107]
af325969
UD
24305 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24306 newline.
24307
67a67b95
UD
243082010-10-06 Ulrich Drepper <drepper@gmail.com>
24309
24310 * string/bug-strstr1.c: New file.
24311 * string/Makefile: Add rules to build and run bug-strstr1.
24312
5fb308bc
EB
243132010-10-05 Eric Blake <eblake@redhat.com>
24314
24315 [BZ #12092]
24316 * string/str-two-way.h (two_way_long_needle): Always clear memory
24317 when skipping input due to the shift table.
24318
45db99c7
UD
243192010-10-03 Ulrich Drepper <drepper@gmail.com>
24320
3b111893
UD
24321 [BZ #12005]
24322 * malloc/mcheck.c: Handle large requests.
24323
45db99c7
UD
24324 [BZ #12077]
24325 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24326 for strncmp and strncasecmp.
24327 * string/stratcliff.c: Add tests for strcmp and strncmp.
24328 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24329
cf7a1eb8
NI
243302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24331
24332 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24333 __set_fpscr.
24334
6484ba5e
AJ
243352010-09-30 Andreas Jaeger <aj@suse.de>
24336
24337 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24338 (CGROUP_SUPER_MAGIC): Define.
24339 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24340 Handle btrfs and cgroup file systems.
24341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24342 Likewise.
24343
91c42559
LM
243442010-09-27 Luis Machado <luisgpm@br.ibm.com>
24345
24346 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24347 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24348
87a97932
AK
243492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24350
24351 [BZ #12067]
24352 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24353 trying to locate the ELF header.
24354
c21cc9bc
AS
243552010-09-27 Andreas Schwab <schwab@redhat.com>
24356
24357 [BZ #11611]
24358 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24359 Mask out sign-bit copies when constructing f_fsid.
24360
315970f6
PB
243612010-09-24 Petr Baudis <pasky@suse.cz>
24362
24363 * debug/stack_chk_fail_local.c: Add missing licence exception.
24364 * debug/warning-nop.c: Likewise.
24365
1ac7a2c7
JM
243662010-09-15 Joseph Myers <joseph@codesourcery.com>
24367
24368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24369 implementing getdents64 using getdents syscall, set d_type if
24370 __ASSUME_GETDENTS32_D_TYPE.
24371
56801c50
AS
243722010-09-16 Andreas Schwab <schwab@redhat.com>
24373
24374 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24375 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24376
dda51327
UD
243772010-09-21 Ulrich Drepper <drepper@redhat.com>
24378
24379 [BZ #12037]
24380 * posix/unistd.h: Undo change of feature selection for ftruncate from
24381 2010-01-11.
24382
8ffcee4a
UD
243832010-09-20 Ulrich Drepper <drepper@redhat.com>
24384
a545ecd9 24385 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24386 detection.
24387
e24f0a8b
AS
243882010-09-20 Andreas Schwab <schwab@redhat.com>
24389
24390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24391 fanotify_mark.
24392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24393
7291c56f
AS
243942010-09-14 Andreas Schwab <schwab@redhat.com>
24395
24396 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24397 variables after CHECK_SP call.
24398 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24399
bc5fb037
AS
244002010-09-13 Andreas Schwab <schwab@redhat.com>
24401 Ulrich Drepper <drepper@redhat.com>
24402
24403 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24404 re-relocationg ld.so.
24405 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24406 _dl_init_paths call.
24407 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24408 here anymore.
24409
e66e7419
UD
244102010-09-14 Ulrich Drepper <drepper@redhat.com>
24411
24412 * resolv/res_init.c (__res_vinit): Count the default server we added.
24413
c044aa75
CLT
244142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24415 Ulrich Drepper <drepper@redhat.com>
24416
24417 [BZ #11968]
24418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24419 (____longjmp_chk): Use %ebx for saving value across system call.
24420 Add unwind info.
24421
32cf4069
AS
244222010-09-06 Andreas Schwab <schwab@redhat.com>
24423
24424 * manual/Makefile: Don't mix pattern rules with normal rules.
24425
817328ee
AS
244262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24427
24428 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24429 operation.
24430 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24431 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24432 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24433 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24435 Likewise.
24436
29fddf61
UD
244372010-09-04 Ulrich Drepper <drepper@redhat.com>
24438
24439 [BZ #11979]
24440 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24441 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24442
0959ffc9
UD
244432010-09-02 Ulrich Drepper <drepper@redhat.com>
24444
24445 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24446 * sysdeps/x86_64/addmul_1.S: Likewise.
24447 * sysdeps/x86_64/lshift.S: Likewise.
24448 * sysdeps/x86_64/mul_1.S: Likewise.
24449 * sysdeps/x86_64/rshift.S: Likewise.
24450 * sysdeps/x86_64/sub_n.S: Likewise.
24451 * sysdeps/x86_64/submul_1.S: Likewise.
24452
ece29840
ST
244532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24454
0959ffc9
UD
24455 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24456 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24457 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24458 * bits/sched.h [__need_schedparam]
ece29840 24459 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24460 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24461 (__defined_schedparam): Define to 1.
ece29840
ST
24462 (__sched_param): New structure, identical to sched_param.
24463 (__need_schedparam): Undefine.
24464
e53a31fe
MF
244652010-08-31 Mike Frysinger <vapier@gentoo.org>
24466
fdc0c10d
MF
24467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24468 (epoll_create1): Declare.
24469
e53a31fe
MF
24470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24471
a726d796
AS
244722010-08-31 Andreas Schwab <schwab@redhat.com>
24473
24474 [BZ #7066]
24475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24476 shifting retval into place.
24477
2f3e3dc7
UD
244782010-09-01 Ulrich Drepper <drepper@redhat.com>
24479
f2933da9
UD
24480 * nis/rpcsvc/nis.h: Update copyright notice.
24481 * nis/rpcsvc/nis.x: Likewise.
24482 * nis/rpcsvc/nis_callback.h: Likewise.
24483 * nis/rpcsvc/nis_callback.x: Likewise.
24484 * nis/rpcsvc/nis_object.x: Likewise.
24485 * nis/rpcsvc/nis_tags.h: Likewise.
24486 * nis/rpcsvc/yp.h: Likewise.
24487 * nis/rpcsvc/yp.x: Likewise.
24488 * nis/rpcsvc/ypupd.h: Likewise.
24489 * nis/yp_xdr.c: Likewise.
24490 * nis/ypupdate_xdr.c: Likewise.
24491
2f3e3dc7
UD
24492 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24493 mainly the body of pmap_getport. Add parameters to specify timeouts.
24494 (pmap_getport): Use __libc_rpc_getport.
24495 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24496 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24497 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24498
f3dcc2f9
AS
244992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24500
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24502 fanotify_mark.
24503
6d34eb5b
RM
245042010-08-27 Roland McGrath <roland@redhat.com>
24505
24506 * sysdeps/i386/i686/multiarch/Makefile
24507 (CFLAGS-varshift.c): New variable.
24508
9ea3de11
UD
245092010-08-27 Ulrich Drepper <drepper@redhat.com>
24510
c96d23fc
UD
24511 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24512 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24513
9ea3de11
UD
24514 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24515
24516 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24517
623aac7f
L
245182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24519
24520 * sysdeps/x86_64/strlen.S: Unroll the loop.
24521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24522 strlen-sse2 strlen-sse2-bsf.
24523 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24524 __strlen_no_bsf if bit_Slow_BSF is set.
24525 (__strlen_sse42): Removed.
24526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24527 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24528
8b2b7715
RM
245292010-08-25 Roland McGrath <roland@redhat.com>
24530
24531 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24532 * sysdeps/x86_64/multiarch/varshift.c: New file.
24533 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24534 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24535 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24536 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24537
e73015f2
L
245382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24541 strlen-sse2 strlen-sse2-bsf.
24542 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24543 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24544 (__strlen_sse2): Removed.
24545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24548 bit_Slow_BSF for Atom.
24549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24550 (index_Slow_BSF): Define.
24551 (HAS_SLOW_BSF): Define.
24552
df24a73e
UD
245532010-08-25 Ulrich Drepper <drepper@redhat.com>
24554
24555 [BZ #10851]
24556 * resolv/res_init.c (__res_vinit): When no server address at all
24557 is given default to loopback.
24558
f2ac4868
RM
245592010-08-24 Roland McGrath <roland@redhat.com>
24560
09055553
RM
24561 * configure.in: Remove config-name.h generation.
24562 * configure: Regenerated.
24563 * config-name.in: File removed.
24564 * scripts/config-uname.sh: New file.
24565 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24566 ($(objdir)config-name.h): New target.
24567
f2ac4868
RM
24568 * sunrpc/rpc_parse.h: Avoid nested comment.
24569
73f27d5e
RH
245702010-08-24 Richard Henderson <rth@redhat.com>
24571 Ulrich Drepper <drepper@redhat.com>
24572 H.J. Lu <hongjiu.lu@intel.com>
24573
24574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24576 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24577 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24578 _mm_alignr_epi8 with _mm_loadu_si128.
24579 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24580 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24581 (__m128i_shift_right): Removed.
24582 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24583 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24584 * sysdeps/x86_64/multiarch/varshift.h: New file.
24585 * sysdeps/x86_64/multiarch/varshift.S: New file.
24586
84b9230c
MF
245872010-08-21 Mike Frysinger <vapier@gentoo.org>
24588
24589 * configure.in: Move assembler checks to before sysdep dir checking.
24590
9bbd0ddc
PB
245912010-08-20 Petr Baudis <pasky@suse.cz>
24592
24593 * LICENSES: Sync the sunrpc license.
24594
9da4bb31
UD
245952010-08-19 Ulrich Drepper <drepper@redhat.com>
24596
a7ab6ec8
UD
24597 * sunrpc/auth_des.c: Update copyright notice once again.
24598 * sunrpc/auth_none.c: Likewise.
24599 * sunrpc/auth_unix.c: Likewise.
24600 * sunrpc/authdes_prot.c: Likewise.
24601 * sunrpc/authuxprot.c: Likewise.
24602 * sunrpc/bindrsvprt.c: Likewise.
24603 * sunrpc/clnt_gen.c: Likewise.
24604 * sunrpc/clnt_perr.c: Likewise.
24605 * sunrpc/clnt_raw.c: Likewise.
24606 * sunrpc/clnt_simp.c: Likewise.
24607 * sunrpc/clnt_tcp.c: Likewise.
24608 * sunrpc/clnt_udp.c: Likewise.
24609 * sunrpc/clnt_unix.c: Likewise.
24610 * sunrpc/des_crypt.c: Likewise.
24611 * sunrpc/des_soft.c: Likewise.
24612 * sunrpc/get_myaddr.c: Likewise.
24613 * sunrpc/getrpcport.c: Likewise.
24614 * sunrpc/key_call.c: Likewise.
24615 * sunrpc/key_prot.c: Likewise.
24616 * sunrpc/openchild.c: Likewise.
24617 * sunrpc/pm_getmaps.c: Likewise.
24618 * sunrpc/pm_getport.c: Likewise.
24619 * sunrpc/pmap_clnt.c: Likewise.
24620 * sunrpc/pmap_prot.c: Likewise.
24621 * sunrpc/pmap_prot2.c: Likewise.
24622 * sunrpc/pmap_rmt.c: Likewise.
24623 * sunrpc/rpc/auth.h: Likewise.
24624 * sunrpc/rpc/auth_unix.h: Likewise.
24625 * sunrpc/rpc/clnt.h: Likewise.
24626 * sunrpc/rpc/des_crypt.h: Likewise.
24627 * sunrpc/rpc/key_prot.h: Likewise.
24628 * sunrpc/rpc/netdb.h: Likewise.
24629 * sunrpc/rpc/pmap_clnt.h: Likewise.
24630 * sunrpc/rpc/pmap_prot.h: Likewise.
24631 * sunrpc/rpc/pmap_rmt.h: Likewise.
24632 * sunrpc/rpc/rpc.h: Likewise.
24633 * sunrpc/rpc/rpc_des.h: Likewise.
24634 * sunrpc/rpc/rpc_msg.h: Likewise.
24635 * sunrpc/rpc/svc.h: Likewise.
24636 * sunrpc/rpc/svc_auth.h: Likewise.
24637 * sunrpc/rpc/types.h: Likewise.
24638 * sunrpc/rpc/xdr.h: Likewise.
24639 * sunrpc/rpc_clntout.c: Likewise.
24640 * sunrpc/rpc_cmsg.c: Likewise.
24641 * sunrpc/rpc_common.c: Likewise.
24642 * sunrpc/rpc_cout.c: Likewise.
24643 * sunrpc/rpc_dtable.c: Likewise.
24644 * sunrpc/rpc_hout.c: Likewise.
24645 * sunrpc/rpc_main.c: Likewise.
24646 * sunrpc/rpc_parse.c: Likewise.
24647 * sunrpc/rpc_parse.h: Likewise.
24648 * sunrpc/rpc_prot.c: Likewise.
24649 * sunrpc/rpc_sample.c: Likewise.
24650 * sunrpc/rpc_scan.c: Likewise.
24651 * sunrpc/rpc_scan.h: Likewise.
24652 * sunrpc/rpc_svcout.c: Likewise.
24653 * sunrpc/rpc_tblout.c: Likewise.
24654 * sunrpc/rpc_util.c: Likewise.
24655 * sunrpc/rpc_util.h: Likewise.
24656 * sunrpc/rpcinfo.c: Likewise.
24657 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24658 * sunrpc/rpcsvc/key_prot.x: Likewise.
24659 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24660 * sunrpc/rpcsvc/mount.x: Likewise.
24661 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24662 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24663 * sunrpc/rpcsvc/rex.x: Likewise.
24664 * sunrpc/rpcsvc/rstat.x: Likewise.
24665 * sunrpc/rpcsvc/rusers.x: Likewise.
24666 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24667 * sunrpc/rpcsvc/spray.x: Likewise.
24668 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24669 * sunrpc/rtime.c: Likewise.
24670 * sunrpc/svc.c: Likewise.
24671 * sunrpc/svc_auth.c: Likewise.
24672 * sunrpc/svc_authux.c: Likewise.
24673 * sunrpc/svc_raw.c: Likewise.
24674 * sunrpc/svc_run.c: Likewise.
24675 * sunrpc/svc_simple.c: Likewise.
24676 * sunrpc/svc_tcp.c: Likewise.
24677 * sunrpc/svc_udp.c: Likewise.
24678 * sunrpc/svc_unix.c: Likewise.
24679 * sunrpc/svcauth_des.c: Likewise.
24680 * sunrpc/xcrypt.c: Likewise.
24681 * sunrpc/xdr.c: Likewise.
24682 * sunrpc/xdr_array.c: Likewise.
24683 * sunrpc/xdr_float.c: Likewise.
24684 * sunrpc/xdr_mem.c: Likewise.
24685 * sunrpc/xdr_rec.c: Likewise.
24686 * sunrpc/xdr_ref.c: Likewise.
24687 * sunrpc/xdr_sizeof.c: Likewise.
24688 * sunrpc/xdr_stdio.c: Likewise.
24689
9da4bb31
UD
24690 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24691 handling.
24692
bdaa77bc
AS
246932010-08-19 Andreas Schwab <schwab@redhat.com>
24694
24695 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24696
fe2f79db
LM
246972010-08-19 Luis Machado <luisgpm@br.ibm.com>
24698
24699 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24700 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24702 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24703 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24704 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24705 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24706 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24708 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24709 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24710 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24711 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24713
b9b42ee0
AB
247142010-07-26 Anton Blanchard <anton@samba.org>
24715
24716 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24717 * malloc/arena.c (heap_trim): Likewise.
24718
1c06ba31
UD
247192010-08-16 Ulrich Drepper <drepper@redhat.com>
24720
24721 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24722 here. Not...
24723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24724 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24725
f8392f40
L
247262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24727
24728 * sysdeps/i386/elf/Makefile: New file.
24729
3162f12e
AS
247302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24731
24732 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24733 from fanotify_init.
24734 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24736
28c90b2c
UD
247372010-08-15 Ulrich Drepper <drepper@redhat.com>
24738
24739 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24740 of strncasecmp_l.
1feccb6c 24741 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24742
ca6bb004
UD
247432010-08-14 Ulrich Drepper <drepper@redhat.com>
24744
e9f82e0d
UD
24745 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24746 strncase_l-nonascii.
24747 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24748 Add strncase_l-ssse3.
24749 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24750 * sysdeps/x86_64/strcmp.S: Likewise.
24751 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24752 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24753 * sysdeps/x86_64/strncase.S: New file.
24754 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24755 * sysdeps/x86_64/strncase_l.S: New file.
24756 * string/Makefile (strop-tests): Add strncasecmp.
24757 * string/test-strncasecmp.c: New file.
24758
24759 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24760 warning.
24761
ca6bb004
UD
24762 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24763 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24764
052fa7b3
AS
247652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24766
24767 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24768
962dba78
UD
247692010-08-12 Ulrich Drepper <drepper@redhat.com>
24770
24771 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24772 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24773 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24774
bebff237
AM
247752010-05-01 Alan Modra <amodra@gmail.com>
24776
24777 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24778 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24779 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24780 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24781 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24782 tidying. Don't tail-call __sigjmp_save for static lib.
24783 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24784 save location.
24785 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24786 (CALL_MCOUNT): Add eh info, and nop after bl.
24787 (TAIL_CALL_SYSCALL_ERROR): New macro.
24788 (PSEUDO_RET): Use it.
24789 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24790 Correct save location of integer regs and cr.
24791 (_dl_profile_resolve): Correct cr save location. Delete nops
24792 after bl when SHARED. Reduce cfi size a little by better
24793 placement of cfi directives.
24794 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24795 make a stack frame. Instead use parm save area as a temp.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24797 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24799 Don't make a stack frame for parent, use parm save area.
24800 Increase child stack frame to 112 bytes. Don't save unused reg,
24801 and adjust reg usage. Set up cfi on error recovery and
24802 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24804 (__makecontext): Add dummy nop after jump to exit.
24805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24806 Use correct parm save area and cr save, reduce stack frame.
24807 Correct cfi for possible PSEUDO_RET frame setup.
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24809 Branch to local label emitted by PSEUDO_RET rather than
24810 __syscall_error.
24811
02637374
AS
248122010-08-12 Andreas Schwab <schwab@redhat.com>
24813
24814 [BZ #11904]
24815 * locale/programs/locale.c (print_assignment): New function.
24816 (show_locale_vars): Use it.
24817
c3e2f19b
UD
248182010-08-11 Ulrich Drepper <drepper@redhat.com>
24819
3cdaa6ad
UD
24820 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24821 field.
24822 (struct statfs64): Likewise.
24823 (_STATFS_F_FLAGS): Define.
24824 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24825 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24826 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24827 (ST_VALID): Define locally.
24828 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24829 __statvfs_getflags, use the provided value.
24830 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24831 __ASSUME_STATFS_F_FLAGS.
24832
754f7da3
UD
24833 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24834
10b3bedc
UD
24835 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24836 Add sys/fanotify.h.
24837 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24838 fanotify_mask for GLIBC_2.13.
24839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24840 fanotify_init and fanotify_mark.
24841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24842 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24843
c08fb0d7
UD
24844 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24845 Add prlimit.
24846 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24847 prlimit64 for GLIBC_2.13.
24848 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24849 prlimit64.
24850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24851 syscall.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24853 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24854 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24855 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24857 add prlimit alias.
24858 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24859
15bac72b
UD
24860 [BZ #11903]
24861 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24862 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24863
c3e2f19b
UD
24864 * nss/Makefile: Add rules to build and run tst-nss-test1.
24865 * shlib-versions: Add entry for libnss_test1.
24866 * nss/nss_test1.c: New file.
24867 * nss/tst-nss-test1.c: New file.
24868
24869 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24870 (__nss_configure_lookup): Set appropriate entry in
24871 __nss_configure_lookup to true.
24872 * nss/nsswitch.h: Define enum with indeces of databases in
24873 databases and __nss_database_custom arrays. Declare
24874 __nss_database_custom.
24875 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24876 to avoid using nscd when custom rules are installed.
24877 * nss/getXXbyYY_r.c: Likewise.
24878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24879
24880 * nss/nss_files/files-parse.c: Whitespace fixes.
24881
f15ce4d8
UD
248822010-08-09 Ulrich Drepper <drepper@redhat.com>
24883
24884 [BZ #11883]
24885 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24886 * posix/fnmatch_loop.c: Likewise.
24887
d22e4cc9
AK
248882010-07-17 Andi Kleen <ak@linux.intel.com>
24889
24890 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24891 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24892 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24893 * Versions.def [GLIBC_2.13]: Add.
24894
805bc17d
UD
248952010-08-06 Ulrich Drepper <drepper@redhat.com>
24896
24897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24898 Also fail if tpwd after pwuid call is NULL.
24899
5a42321d
ST
249002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24901
24902 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24903 when converting to ms.
24904
fd3ebeda
ST
249052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24906
24907 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24908 EOPNOTSUPP errors with ENOTTY.
24909 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24910 EOPNOTSUPP errors with ENOTTY.
24911
73507d3a
UD
249122010-07-31 Ulrich Drepper <drepper@redhat.com>
24913
24914 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24915 Add strcasecmp_l-ssse3.
24916 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24917 strcasecmp.
24918 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24919 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24920 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24921
fe36dd02
UD
249222010-07-30 Ulrich Drepper <drepper@redhat.com>
24923
66f6765a
UD
24924 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24925
42e08a54
UD
24926 * string/Makefile (strop-tests): Add strcasecmp.
24927 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24928 strcasecmp_l-nonascii.
24929 (gen-as-const-headers): Add locale-defines.sym.
24930 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24931 * sysdeps/x86_64/strcasecmp.S: New file.
24932 * sysdeps/x86_64/strcasecmp_l.S: New file.
24933 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24934 * sysdeps/x86_64/locale-defines.sym: New file.
24935 * string/test-strcasecmp.c: New file.
24936
fe36dd02
UD
24937 * string/test-strcasestr.c: Test both ends of the range of characters.
24938 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24939
48cbc0d6
RM
249402010-07-29 Roland McGrath <roland@redhat.com>
24941
76e6d6bc 24942 [BZ #11856]
48cbc0d6
RM
24943 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24944
880113d9
UD
249452010-07-27 Ulrich Drepper <drepper@redhat.com>
24946
24947 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24948 for ld.so.
24949
deb9cabb
AS
249502010-07-27 Andreas Schwab <schwab@redhat.com>
24951
24952 * manual/memory.texi (Malloc Tunable Parameters): Document
24953 M_PERTURB.
24954
1c7570ff
RM
249552010-07-26 Roland McGrath <roland@redhat.com>
24956
24957 [BZ #11840]
24958 * configure.in (-fgnu89-inline check): Set and substitute
24959 gnu89_inline, not libc_cv_gnu89_inline.
24960 * configure: Regenerated.
24961 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24962
24fb0f88
UD
249632010-07-26 Ulrich Drepper <drepper@redhat.com>
24964
24965 * string/test-strnlen.c: New file.
24966 * string/Makefile (strop-tests): Add strnlen.
24967 * string/tester.c (test_strnlen): Add a few more test cases.
24968 * string/tst-strlen.c: Better error reporting.
24969
24970 * sysdeps/x86_64/strnlen.S: New file.
24971
8e96b93a
UD
249722010-07-24 Ulrich Drepper <drepper@redhat.com>
24973
24974 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24975 lower-latency instructions.
24976
dbc676d4
UD
249772010-07-23 Ulrich Drepper <drepper@redhat.com>
24978
24979 * string/test-strcasestr.c: New file.
24980 * string/test-strstr.c: New file.
24981 * string/Makefile (strop-tests): Add strstr and strcasestr.
24982 * string/str-two-way.h: Don't undefine MAX.
24983 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24984
f6a31e0e
AS
249852010-07-21 Andreas Schwab <schwab@redhat.com>
24986
24987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24988 strcasestr-nonascii.
24989 (CFLAGS-strcasestr-nonascii.c): Define.
24990 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24991 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24992 Remove unused attribute.
24993
5dbc3b6c
RM
249942010-07-20 Roland McGrath <roland@redhat.com>
24995
24996 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24997 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24998 ld.so.cache was broken. With it, there is no way to disable dsocaps
24999 like LD_HWCAP_MASK can disable hwcaps.
25000
23d101d8
EPM
250012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25002
25003 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25004
cc9f2e47
UD
250052010-07-16 Ulrich Drepper <drepper@redhat.com>
25006
25007 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25008 call in strcasestr.
25009 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25010 __strcasestr_sse42_nonascii.
25011 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25012 strcasestr-nonascii.c.
25013 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25014
77c1b069
LM
250152010-06-15 Luis Machado <luisgpm@br.ibm.com>
25016
25017 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25019 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25021
440566c3
UD
250222010-07-09 Ulrich Drepper <drepper@redhat.com>
25023
25024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25025 fcntl.
25026
5be9d05d
AS
250272010-07-06 Andreas Schwab <schwab@redhat.com>
25028
c30b7ee2 25029 [BZ #11577]
5be9d05d
AS
25030 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25031 dl_signal_cerror.
25032
8a492a67
UD
250332010-07-06 Ulrich Drepper <drepper@redhat.com>
25034
25035 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25036 _PC_PIPE_BUF using F_GETPIPE_SZ.
25037
713df3d5
RM
250382010-07-05 Roland McGrath <roland@redhat.com>
25039
25040 * manual/arith.texi (Rounding Functions): Fix rint description
25041 implicit in round description.
25042
702e8f14
UD
250432010-07-02 Ulrich Drepper <drepper@redhat.com>
25044
25045 * elf/Makefile: Fix linking for a few tests to make recent linker
25046 happy.
25047
52ed8be9
AS
250482010-06-30 Andreas Schwab <schwab@redhat.com>
25049
25050 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25051 $(common-objpfx)libc_nonshared.a.
25052
f47c9a11
LM
250532010-06-21 Luis Machado <luisgpm@br.ibm.com>
25054
25055 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25056 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25057 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25058 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25059 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25060 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25061 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25062 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25077 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25078 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25079 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25080 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25081 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25082 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25083 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25084 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25085 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25086 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25087 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25088 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25103
6fb8cbcb
L
251042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25105
25106 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25107 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25108 * string/memmove.c (memmove): Renamed to ...
25109 (MEMMOVE): ...this. Default to memmove.
25110 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25111 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25112 (END_CHK): Define.
25113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25114 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25115 mempcpy-ssse3-back memmove-ssse3-back.
25116 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25119 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25120 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25121 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25122 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25123 * sysdeps/x86_64/multiarch/memmove.c: New file.
25124 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25125 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25126 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25127 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25128 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25130 Define.
25131 (index_Fast_Copy_Backward): Define.
25132 (HAS_ARCH_FEATURE): Define.
25133 (HAS_FAST_REP_STRING): Define.
25134 (HAS_FAST_COPY_BACKWARD): Define.
25135
4e733bac 251362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25137
25138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25139 Restore proper fallback handling.
25140
63c4ed22
UD
251412010-06-19 Ulrich Drepper <drepper@redhat.com>
25142
ac2b484c
UD
25143 [BZ #11701]
25144 * posix/group_member.c (__group_member): Correct checking loop.
25145
63c4ed22
UD
25146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25147 OOM in getpwuid_r correctly. Return error number when the caller
25148 should return, otherwise -1.
25149 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25150 call returning > 0 value.
25151 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25152
765ade4b
AS
251532010-06-07 Andreas Schwab <schwab@redhat.com>
25154
25155 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25156 libc_nonshared.a from targets in modules-names.
25157
80da2e09
KS
251582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25159
25160 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25161 requires it.
25162
158db122
LM
251632010-06-10 Luis Machado <luisgpm@br.ibm.com>
25164
25165 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25166 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25168 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25169
caa78cf8
AS
251702010-06-02 Andreas Schwab <schwab@redhat.com>
25171
25172 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25173
b2ef2c01
UD
251742010-06-14 Ulrich Drepper <drepper@redhat.com>
25175
25176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25177 and F_GETPIPE_SZ.
25178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25184
fbd643b6
RM
251852010-06-14 Roland McGrath <roland@redhat.com>
25186
25187 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25188
f32f2869
JJ
251892010-06-07 Jakub Jelinek <jakub@redhat.com>
25190
25191 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25192 __REDIRECT followed by __THROW.
25193 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25194 * posix/getopt.h (getopt): Likewise.
25195
2a50c078
EPM
251962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25197
25198 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25199 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25200 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25201 in AT_FLAGS.
25202 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25203 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25204
eb5ad2eb
LM
252052010-05-28 Luis Machado <luisgpm@br.ibm.com>
25206
25207 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25208
3c88fe1e
L
252092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25210
25211 [BZ #11640]
25212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25213 Properly check family and model.
25214
d2f73151
TY
252152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25216
25217 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25218
ebd2e13d
LM
252192010-05-24 Luis Machado <luisgpm@br.ibm.com>
25220
25221 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25222
b32b8b45
UD
252232010-05-21 Ulrich Drepper <drepper@redhat.com>
25224
25225 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25226 symbol reference.
25227
9acbe24d
AS
252282010-05-19 Andreas Schwab <schwab@redhat.com>
25229
25230 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25231 symbol reference.
25232
f0ccf6ea
AS
252332010-05-21 Andreas Schwab <schwab@redhat.com>
25234
3d04ff3a
AS
25235 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25236 and internal_recvmmsg.
25237 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25238 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25239 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25240 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25241
f0ccf6ea
AS
25242 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25243 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25244 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25245
5b08ac57
AS
252462010-05-20 Andreas Schwab <schwab@redhat.com>
25247
25248 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25249
4828935d
LM
252502010-05-17 Luis Machado <luisgpm@br.ibm.com>
25251
25252 POWER7 optimizations.
25253 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25254 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25255
373d545e
UD
252562010-05-19 Ulrich Drepper <drepper@redhat.com>
25257
25258 * version.h: Update for 2.13 development version.
25259
21a2b1ae
AS
252602010-05-12 Andrew Stubbs <ams@codesourcery.com>
25261
25262 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25263 exceptions. Return 0.
25264
3f7dcb2b
RM
252652010-05-07 Roland McGrath <roland@redhat.com>
25266
25267 * elf/ldconfig.c (main): Add a const.
25268
5f24d53a 252692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25270
a160f8d8
UD
25271 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25272 (args_options): Add no-idn option.
25273 (ahosts_keys_int): Add idn_flags to ai_flags.
25274 (parse_option): Handle 'i' option to clear idn_flags.
25275
5f24d53a
UD
25276 * malloc/malloc.c (_int_free): Possible race in the most recently
25277 added check. Only act on the data if no current modification
25278 happened.
265bb1ce
UD
25279
25280See ChangeLog.17 for earlier changes.