]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove redundant nested function b64_from_24bit
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8747cd03
KS
12014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2
3 * crypt/crypt-private.h: Include ufc-crypt.h.
4 (__b64_from_24bit): Declare extern.
5 * crypt/crypt_util.c(__b64_from_24bit): New function.
6 (b64t): New static const variable.
7 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8 (b64t): Remove variable.
9 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10 * crypt/sha256-crypt.c: Include crypt-private.h.
11 (b64t): Remove variable.
12 (__sha256_crypt_r): Remove b64_from_24bit and replace
13 with __b64_from_24bit.
14 * crypt/sha512-crypt.c: Likewise.
15
d936d379
RM
162014-06-02 Roland McGrath <roland@hack.frob.com>
17
18 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20 Label the code __libc_vfork rather than __vfork.
21 [!NOT_IN_libc] (vfork): Define as weak alias.
22 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
24 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25
9fa76613
SP
262014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27
28 * malloc/malloc.c (malloc_info): Fix format specifier for
29 n_mmaps.
30
a88dadbe
W
312014-06-02 Wilco <wdijkstr@arm.com>
32
33 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34 FPCR write.
35
c95b3011
W
362014-06-02 Wilco <wdijkstr@arm.com>
37
38 [BZ #17009]
39 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40 Rewrite to reduce FPCR/FPSR accesses.
41
6b4d7a90
DM
422014-06-01 David S. Miller <davem@davemloft.net>
43
44 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45
30f3d07c
DM
462014-05-31 David S. Miller <davem@davemloft.net>
47
48 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49 to occur in round to nearest mode when |x| >= 2.0
50
74f31c18
RH
512014-05-30 Richard Henderson <rth@twiddle.net>
52
f0712b54
RH
53 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
54 (PSEUDO_RET_NOERRNO): Remove.
55 (ret): Don't redefine.
56 (ret_NOERRNO): Define in terms of ret.
57 (ret_ERRVAL): Likewise.
58
74f31c18
RH
59 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
60 use of PSEUDO_RET; perform the error check directly.
61
30477995
MM
622014-05-30 Marko Myllynen <myllynen@redhat.com>
63
64 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
65 with __int128_t.
66
62a58816
SP
672014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68
69 * malloc/malloc (malloc_info): Fix formatting.
70
4d653a59
SP
712014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
72 Roland McGrath <roland@hack.frob.com>
73
74 * malloc/malloc (malloc_info): Also print mmapped statistics.
75
5190c17f
RM
762014-05-30 Roland McGrath <roland@hack.frob.com>
77
78 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
79 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
80
987c0269
OB
812014-05-30 Ondřej Bílka <neleai@seznam.cz>
82
83 * malloc/malloc.c (malloc_info): Inline mi_arena.
84
af4e8ef9
RH
852014-05-29 Richard Henderson <rth@twiddle.net>
86
1670e207
RH
87 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
88 Remove comma before expanding ASM_ARGS_##nr.
89 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
90 Make _x0 a strict output; make _x8 a strict input; adjust expansion
91 of ASM_ARGS_##nr.
92 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
93 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
94 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
95 (ASM_ARGS_1): Add leading comma.
96
11a28aee
RH
97 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
98 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
99 to __errno_location.
100 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
101 Remove the expected plt for __errno_location.
102
a17e5ffb 103 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 104 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
105 call to __read_tp.
106
b5be4597
RH
107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
108 Always allocate 64 bytes of stack frame. Use ldp/stp to create
109 it and break it down.
110 (DOCARGS_0, DOCARGS_1): Do nothing.
111 (DOCARGS_2): Update to store into the new stack frame.
112 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
113 (UNDOCARGS_1): Update to restore from the new stack frame.
114 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
115 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
116
645d44ab
RH
117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
118 (SINGLE_THREAD_P): New parameter for result regno.
119 (PSEUDO): Update to match; use cbz instead of beq.
120
a8b4f04a
RH
121 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
122 Use ENTRY to define the _nocancel entry point. Share the syscall
123 and syscall error check paths with the cancel path.
124 (PSEUDO_END): New.
125
af4e8ef9
RH
126 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
127 whitespace; tabs before and after asm mnemonics.
128
26b0d2e1
EW
1292014-05-29 Eric Wong <normalperson@yhbt.net>
130
131 [BZ #15132]
132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
133 Call fstat64 or stat64 internally, depending on arguments passed.
134 Replace stat buffer argument with file descriptor argument.
135 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
136 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
137 Pass fd to __internal_statvfs instead of calling fstat64.
138 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
139 Pass fd to __internal_statvfs64 instead of calling fstat64.
140 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
141 Pass -1 to __internal_statvfs instead of calling stat64.
142 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
143 Pass -1 to __internal_statvfs64 instead of calling stat64.
144
1efe2bd9
RM
1452014-05-28 Roland McGrath <roland@hack.frob.com>
146
0d3b7a19
RM
147 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
148 that was previously under [RESET_PID].
149 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
150
1efe2bd9
RM
151 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
152 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
153
a6bea3ca
RM
1542014-05-27 Roland McGrath <roland@hack.frob.com>
155
30b6629e
RM
156 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
157
a6bea3ca
RM
158 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
159 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
160
3dfb9a5c
OB
1612014-05-27 Ondřej Bílka <neleai@seznam.cz>
162
163 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
164
774f9285
AS
1652014-05-27 Andreas Schwab <schwab@suse.de>
166
167 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
168 TLS_INIT_TP macro.
169 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
170 * elf/rtld.c (init_tls, dl_main): Likewise.
171 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
172 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
173 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
174 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
175 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
176 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
177 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
178 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
179 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
180 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
181 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
182 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
183 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
184 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
185 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
186 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
187 * sysdeps/generic/tls.h: Update description.
188
36ffe739
WN
1892014-05-27 Will Newton <will.newton@linaro.org>
190
191 [BZ #16990]
192 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
193 and restore r2 rather than just restoring.
194
2482ae43
SP
1952014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
196
197 [BZ #16724]
198 * libio/tst-ftell-append.c: New test case.
199 * libio/Makefile (tests): Add test case.
200 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
201 append mode.
202 * libio/wfileops.c (do_ftell_wide): Likewise.
203
3d1024e8
AZ
2042014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205
bab90016
AZ
206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
207
c7a8d667
AZ
208 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
209 ...
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
212 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
213 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
214 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
215 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
216 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
217 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
219 Moved ...
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
222 Moved ...
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
224 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
225 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
226 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
227 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
228 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
229 ...
230 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
231 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
232 Moved ...
233 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
234 here.
235 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
236 ...
237 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
238 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
239 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
240
daee7851
AZ
241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
242 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
243 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
244 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
245
50a40819
AZ
246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
247 merge into ...
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
250 ...
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
253 ...
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
256 Moved ...
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
258 here.
259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
260 Moved ...
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
263 Moved ...
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
265
8464c2a1
AZ
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
267 conditional [RESET_PID].
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
270 removed.
271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
272 removed.
273
3d1024e8
AZ
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
275 <tcb-offsets.h>.
276 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
277 (__libc_vfork): New strong alias.
278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
279 removed.
280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
281 Removed.
282
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
284 <tcb-offsets.h>.
285 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
286 (__libc_vfork): New strong alias.
287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
288 removed.
289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
290 removed.
291
fdfd175d
CD
2922014-05-26 Carlos O'Donell <carlos@redhat.com>
293
294 * malloc/malloc.c (mi_arena): New function.
295 (malloc_info): Remove nested function mi_arena. Call non-nosted
296 function mi_arena.
297
d298c416
AZ
2982014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
299
300 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
301 by insrwi.
302 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
303 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
304 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
305 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
307 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
308 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
309
b60ea6ff
AS
3102014-05-26 Andreas Schwab <schwab@suse.de>
311
312 [BZ #16984]
313 * locale/programs/repertoire.c (repertoire_read): Add slash
314 between I18NPATH element and file name.
315 * locale/programs/locfile.c (locfile_read): Likewise.
316
67365926
SL
3172014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
318
319 * nptl/pthread_mutexattr_settype.c
320 (__pthread_mutexattr_settype):
321 Disable lock elision for PTHREAD_MUTEX_NORMAL.
322
f8bdf1f0
SL
3232014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
324
325 * nptl/tst-mutex5 (do_test):
326 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
327
15eaf6ff
SP
3282014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
329
330 * benchtests/README: Document 'init' directive.
331 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
332 BENCH_INIT.
333 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
334 (parse_file): Recognize 'init' directive.
335
75f11331
KM
3362014-05-26 Kyle McMartin <kyle@redhat.com>
337
338 [BZ #16796]
339 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
340 alignment of struct pthread.
341
c3ec475c
SP
3422014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
343
344 [BZ #16878]
345 * nscd/netgroupcache.c (addgetnetgrentX): Look for
346 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
347 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
348 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
349
82aab97c
RH
3502014-05-25 Richard Henderson <rth@twiddle.net>
351
aa2f176d
RH
352 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
353 (SINGLE_THREAD_P_PIC): Remove.
354 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
355 (SINGLE_THREAD_P_PIC): Remove.
356
ca3cfa40
RH
357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
358 branch to syscall error ...
359 (PSEUDO): ... here.
360 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
361 from __local_syscall_error to .Lsyscall_error.
362 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
363 (SYSCALL_ERROR): Update label name.
364
6e6c2d01
RH
365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
366 Do not use DOARGS/UNDOARGS.
367 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
368 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
369 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
370 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
371 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
372
c69abcee
RH
373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
374 block comment.
375
82aab97c
RH
376 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
377 define if !NOT_IN_libc.
378 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
379 define with non-default symbol versions.
380
8820e3ac
RH
3812014-05-23 Richard Henderson <rth@twiddle.net>
382
900e445f
RH
383 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
384 (vfork, __vfork): Define via compat_symbol.
385
8820e3ac
RH
386 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
387 [!HAVE_IFUNC] (vfork_compat): Remove.
388 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
389
e59252a5
JM
3902014-05-23 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #16978]
393 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
394 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
395 variable.
396
132c7f5f
RH
3972014-05-23 Richard Henderson <rth@twiddle.net>
398
bc89e962
RH
399 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
400 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
401 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
402 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
403
404 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
405 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
407 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
408 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
409 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
410 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
411 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
412 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
413 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
414 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
415 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
416 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
418 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
420 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
422 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
424 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
426 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
427 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
428 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
430 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
432 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
434 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
435 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
436 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
438 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
440 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
442 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
443 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
444 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
445 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
446 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
447 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
448 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
449 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
450 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
451 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
453 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
455 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
457 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
458 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
459 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
460
e2fa4bc2
RH
461 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
462 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
463 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
464 before exiting on error.
465 (__libc_vfork): New strong alias.
466 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
467 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
468
279b24e2
RH
469 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
470 that was previously under [RESET_PID].
471 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
472
132c7f5f
RH
473 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
474
b72592e7
JM
4752014-05-23 Joseph Myers <joseph@codesourcery.com>
476
477 [BZ #16977]
478 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
479 value when x - 1 is zero.
480 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
481 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
482 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
483 0.0L for an argument of 1.0L.
484 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
485 Likewise.
486 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
487 value when x - 1 is zero.
488 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
491
2302d679
RV
4922014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
493
494 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
495 alphasort and versionsort.
496
32999d63
AZ
4972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
500 macro.
501 [copysignf]: Likewise.
502
019324d0
SP
5032014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
504
505 * crypt/md5-crypt.c: Fix formatting.
506
34fff5c2
KS
5072014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
508
509 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
510 (b64_from_24bit): New function.
511
3d2badac
AZ
5122014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
515 libc_hidden_builtin_def to ifunc.
516 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
517 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
518
f7bb179f 5192014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
520
521 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
522 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
523
4134b50d
JM
5242014-05-21 Joseph Myers <joseph@codesourcery.com>
525
bb7d0337
JM
526 * nscd/Depend (linuxthreads): Remove.
527 (nptl): Add.
528 * resolv/Depend (linuxthreads): Remove.
529 * rt/Depend (linuxthreads): Remove.
530
4134b50d
JM
531 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
532 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
533 $(common-objpfx)elf/.
534 (link-libc-before-gnulib): Likewise.
535 (elfobjdir): Remove variable.
536 * Makefile (install): Use $(elf-objpfx) instead of
537 $(common-objpfx)elf/.
538 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
539 $(elfobjdir)/.
540 (link-libc-deps): Likewise.
541 ($(common-objpfx)libc.so): Likewise.
542 ($(common-objpfx)linkobj/libc.so): Likewise.
543 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
544 instead of $(common-objpfx)elf/.
545 (symbolic-link-list): Likewise.
546 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
547 [$(cross-compiling) = no]: Likewise.
548 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
549 $(elfobjdir)/.
550 (static-gnulib-arch): Likewise.
551 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
552 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
553 $(common-objpfx)elf/.
554
3612eb8f
RH
5552014-05-21 Richard Henderson <rth@redhat.com>
556
a6b3657b
RH
557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
558 (SINGLE_THREAD_P): Use the correct width load. Fold
559 into the ldr offset.
560
3612eb8f
RH
561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
562 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
563
175cef41
JM
5642014-05-20 Joseph Myers <joseph@codesourcery.com>
565
566 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
567 (libgcc_s_resume): Use __attribute_used__.
568 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
569 Likewise.
570
e13bccd3
AZ
5712014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
572
573 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
574 optimization when used with float constants.
575
7c112a38
AZ
576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
577
ae75a883
AJ
5782014-05-20 Aurelien Jarno <aurelien@aurel32.net>
579
580 [BZ #16915]
581 * locale/nl_langinfo_l.c: Make direct reference to every
582 _nl_current_CATEGORY symbol.
583 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
584 (tests-static): Add tst-langinfo-static.
585 (tests-special): Add tst-langinfo-static.out.
586 ($(objpfx)tst-langinfo.out): Redirect output.
587 ($(objpfx)tst-langinfo-static.out): New.
588 * localedata/tst-langinfo.sh: Send output to stdout.
589 * localedata/tst-langinfo-static.c: New file.
590
4406c41c
AJ
591 [BZ #16965]
592 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
593 when the shift amount is modulo the limb size.
594
4c0a1e63
RH
5952014-05-20 Richard Henderson <rth@redhat.com>
596
de9d8f20
RH
597 [BZ #16967]
598 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
599 Change type of sa_flags from unsigned int to int.
600
4c0a1e63
RH
601 [BZ #16966]
602 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
603
604 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
605
a60339aa
WN
6062014-05-20 Will Newton <will.newton@linaro.org>
607
608 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
609 Test the return value of the system call in the nocancel case.
610
7d05a816
YR
6112014-05-20 Will Newton <will.newton@linaro.org>
612 Yvan Roux <yvan.roux@linaro.org>
613
614 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
615 #include of asm/ptrace.h.
616 (PTRACE_GET_THREAD_AREA): Remove #undef.
617 (PTRACE_GETHBPREGS): Likewise.
618 (PTRACE_SETHBPREGS): Likewise.
619 (struct user_regs_struct): New structure.
620 (struct user_fpsimd_struct): New structure.
621 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
622 #include of asm/ptrace.h and second #include of sys/user.h.
623 (PTRACE_GET_THREAD_AREA): Remove #undef.
624 (PTRACE_GETHBPREGS): Likewise.
625 (PTRACE_SETHBPREGS): Likewise.
626 (ELF_NGREG): Use new struct user_regs_struct.
627 (elf_fpregset_t): Use new struct user_fpsimd_struct.
628
af121e37
AZ
6292014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
633
834caf06
JM
6342014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
635
636 [BZ #16958]
637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
638 membar to avoid block loads/stores to overlap previous stores.
639
e184a918
RH
6402014-05-17 Richard Henderson <rth@redhat.com>
641
642 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
643 Create the __##syscall_name##_nocancel entry point.
644 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
645 Remove; let the sysdep-cancel.h code create it.
646
f56c7a6a
DM
6472014-05-17 David S. Miller <davem@davemloft.net>
648
649 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
650 Protect with __USE_GNU.
651 (TIOCSET_TEMPT): Likewise.
652 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
653 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
654 these are already provided in bits/ioctl-types.h
655
f75616b2
RM
6562014-05-16 Roland McGrath <roland@hack.frob.com>
657
3edeca86
RM
658 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
659 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
660
f75616b2
RM
661 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
662 Use wait4 regardless of [__NR_waitpid].
663
deb0f7f6
MR
6642014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
665
666 PR libgcc/60166
667 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
668 (_FP_NANSIGN_Q): Set the quiet bit.
669
79520f4b
JM
6702014-05-16 Joseph Myers <joseph@codesourcery.com>
671
672 * benchtests/Makefile
673 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
674 not $(common-objpfx)math/libm.so.
675 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
676 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
677 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
678 $(common-objpfx)dlfcn/libdl.so.
679 ($(objpfx)tst-audit8): Depend on $(libm), not
680 $(common-objpfx)math/libm.so.
681 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
682 not $(common-objpfx)dlfcn/libdl.so.
683 * math/Makefile
684 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
685 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
686 [$(build-shared) = yes].
687 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
688 $(common-objpfx)nptl/libpthread.so.
689 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
690 $(common-objpfx)math/libm.so$(libm.so-version) or
691 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
692 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
693 $(common-objpfx)dlfcn/libdl.so.
694 * setjmp/Makefile (link-libm): Remove variable.
695 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
696 * stdio-common/Makefile (link-libm): Remove variable.
697 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
698 * stdlib/Makefile (link-libm): Remove variable.
699 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
700 ($(objpfx)tst-strtod-round): Likewise.
701 ($(objpfx)tst-tininess): Likewise.
702 ($(objpfx)tst-strtod-underflow): Likewise.
703 ($(objpfx)tst-strtod6): Likewise.
704 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
705 $(libdl), not $(common-objpfx)nptl/libpthread.so and
706 $(common-objpfx)dlfcn/libdl.so.
707
026b0fe4
AZ
7082014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
711 BSD terminal modes definitions.
712
def4bcb2
RM
7132014-05-16 Roland McGrath <roland@hack.frob.com>
714
fe39b021
RM
715 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
716 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
717
1d1fc46e 718 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
719 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
720 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
721 Don't do #include_next.
722 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
723 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
724 Don't do #include_next.
725 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
726 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
727 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
728 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
729
c72399fb
AM
7302014-05-16 Allan McRae <allan@archlinux.org>
731
d51d659d
AM
732 * po/sv.po: Update Swedish translation from translation project.
733
c72399fb
AM
734 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
735 in sed expression.
736
d0583c40
AJ
7372014-05-16 Aurelien Jarno <aurelien@aurel32.net>
738
739 [BZ #16917]
740 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
741 errno if the TIOCGPTN ioctl fails with an error different than
742 EINVAL.
743 * login/tst-ptsname.c: New file.
744 * login/Makefile (tests): Add tst-ptsname.
745
d16e6ec7
AJ
746 [BZ #16943]
747 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
748 and prlimit64.
749
cf26a0cb
SP
7502014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
751
752 [BZ #16849]
753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
754 herrno to return EAI_AGAIN.
755
5675da1e
RM
7562014-05-14 Roland McGrath <roland@hack.frob.com>
757
a5d87b3d
RM
758 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
759 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
760 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
762 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
764 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
766 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
768 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
770 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
772 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
774 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
776 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
778 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
780 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
781 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
782 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
784 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
786 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
787 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
789 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
793 Moved ...
794 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
816 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
818 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
822 Moved ...
823 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
843 Moved ...
844 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
847
039890a6
RM
848 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
849 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
850 (libpthread-sysdep_routines): Add elision-related stuff here instead.
851 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
852 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
853 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
854 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
855 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
856 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
857 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
858 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
859 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
860 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
861 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
862 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
863 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
864 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
865 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
866 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
867 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
868 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
869 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
870 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
871 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
872 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
873 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
874 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
875 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
876 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
877 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
878 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
879
65c89320
RM
880 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
881 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
882
348f8e8c
RM
883 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
884 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
885 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
886 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
887 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
889 Moved ...
890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
892 Moved ...
893 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
895 Moved ...
896 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
898 Moved ...
899 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
900 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
901 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
903 Moved ...
904 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
905 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
906 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
908 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
910 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
912 Moved ...
913 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
914 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
915 Moved ...
916 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
917 ... here.
918 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
919 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
920 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
921 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
923 Moved ...
924 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
925 ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
927 Moved ...
928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
929 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
930 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
931 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
932 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
934 Moved ...
935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
936 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
937 Moved ...
938 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
940 Moved ...
941 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
943 Moved ...
944 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
946 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
947 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
948 Moved ...
949 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
950 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
951 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
953 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
954 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
955 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
957 Moved ...
958 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
959 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
960 Moved ...
961 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
962 ... here.
963 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
964 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
966 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
967 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
968 Moved ...
969 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
970 ... here.
971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
972 Moved ...
973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
974 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
975 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
976 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
977 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
978 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
979 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
980 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
981 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
983 Moved ...
984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
986 Moved ...
987 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
989 Moved ...
990 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
991 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
992 Moved ...
993 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
994 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
995 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
996 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
997 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
999 Moved ...
1000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1002 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1004 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1006 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1008 Moved ...
1009 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1011 Moved ...
1012 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1013 ... here.
1014 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1015 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1017 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1019 Moved ...
1020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1021 ... here.
1022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1023 Moved ...
1024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1026 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1028 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1030 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1032 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1034 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1035
5085af05
RM
1036 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1037 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1038
708f0813
RM
1039 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1040 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1041
c96067bc
RM
1042 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1043 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1044 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1046 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1048 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1050 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1054 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1056 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1058 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1060 Moved ...
1061 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1063 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1065 Moved ...
1066 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1068 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1070 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1074 Moved ...
1075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1077 Moved ...
1078 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1084 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1086 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1088 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1090 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1092 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1094 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1095
ec136444
RM
1096 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1097 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1098 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1099 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1100 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1101
2fbdf533
RM
1102 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1103 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1105 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1106 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1107 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1108 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1109 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1110 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1111 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1112
4c68138b
RM
1113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1115
4eaae765
RM
1116 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1117 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1118 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1119 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1120 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1121 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1122 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1123 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1124 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1125 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1126 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1127 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1128 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1129 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1131 Update #include.
1132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1133 Likewise.
1134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1135 Likewise.
1136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1137 Likewise.
1138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1139 Likewise.
1140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1141 Likewise.
1142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1143 Likewise.
1144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1145 Likewise.
1146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1147 Likewise.
1148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1149 Likewise.
4ef6befa
RM
1150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1152 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1153 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1154 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1156 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1158 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1162 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1163 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1164 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1165
941d7dfd
RM
1166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1167 that was previously under [RESET_PID].
1168 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1169 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1170 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1171
1b731c35
RM
1172 * sysdeps/i386/nptl/Implies: New file.
1173 * sysdeps/x86_64/nptl/Implies: New file.
1174 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1175 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1177 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1178
e2787137
RM
1179 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1180 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1181 (__libc_vfork): New strong alias.
1182 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1183 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1184
1185 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1186 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1187 (__libc_vfork): New strong alias.
1188 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1189 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1190
5675da1e
RM
1191 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1192 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1193 (__libc_vfork): New strong alias.
1194 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1195 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1196 * nptl/pt-vfork.c: New file.
1197 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1198 (libpthread: GLIBC_2.20): New version set (empty).
1199
4f02e2b8
WN
12002014-05-14 Will Newton <will.newton@linaro.org>
1201
1202 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1203 rather than #if.
1204
0bf061d3
JM
12052014-05-14 Joseph Myers <joseph@codesourcery.com>
1206
1a84c3d6
JM
1207 [BZ #16564]
1208 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1209 arguments with exponent 65 or above.
1210 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1211 arguments 0x1p113L or above.
1212 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1213 to arguments 0x1p107L or above.
1214 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1215 positive arguments with exponent 65 or above.
1216 * math/auto-libm-test-in: Add more tests of log1p.
1217 * math/auto-libm-test-out: Regenerated.
1218
01dbacd2
JM
1219 [BZ #16928]
1220 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1221 non-finite arguments is +0.
1222 * math/s_cacosf.c (__cacosf): Likewise.
1223 * math/s_cacosl.c (__cacosl): Likewise.
1224 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1225 * sysdeps/i386/fpu/libm-test-ulps: Update.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227
913d03c8
JM
1228 [BZ #16927]
1229 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1230 value.
1231 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1232 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1233 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1234 for explicit high bit of mantissa when testing for argument equal
1235 to 1.
1236 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1237 * sysdeps/i386/fpu/libm-test-ulps: Update.
1238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1239
0bf061d3
JM
1240 [BZ #16516]
1241 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1242 (__erf): Scale by 16 instead of 8 in potentially underflowing
1243 case. Ensure exception if result actually underflows.
1244 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1245 (__erff): Scale by 16 instead of 8 in potentially underflowing
1246 case. Ensure exception if result actually underflows.
1247 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1248 (efx8): Remove variable.
1249 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1250 case. Ensure exception if result actually underflows.
1251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1252 (efx8): Remove variable.
1253 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1254 case. Ensure exception if result actually underflows.
1255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1256 (efx8): Remove variable.
1257 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1258 case. Ensure exception if result actually underflows.
1259 * math/auto-libm-test-in: Add more tests of erf.
1260 * math/auto-libm-test-out: Regenerated.
1261
73ba67cb
AS
12622014-05-14 Andreas Schwab <schwab@suse.de>
1263
3d8c8bff
AS
1264 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1265 Remove code conditionalized on USE___THREAD.
1266
73ba67cb
AS
1267 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1268 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1269 not definedness.
1270
5c521ecd
JM
12712014-05-14 Joseph Myers <joseph@codesourcery.com>
1272
5e7698c6
JM
1273 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1274 Define unconditionally.
1275 (__ASSUME_O_CLOEXEC): Likewise.
1276 (__ASSUME_SOCK_CLOEXEC): Likewise.
1277 (__ASSUME_IN_NONBLOCK): Likewise.
1278 (__ASSUME_PIPE2): Likewise.
1279 (__ASSUME_EVENTFD2): Likewise.
1280 (__ASSUME_SIGNALFD4): Likewise.
1281 (__ASSUME_DUP3): Likewise.
1282 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1283 (__ASSUME_DUP3): Do not define.
1284 (__ASSUME_EVENTFD2): Likewise.
1285 (__ASSUME_IN_NONBLOCK): Likewise.
1286 (__ASSUME_O_CLOEXEC): Likewise.
1287 (__ASSUME_PIPE2): Likewise.
1288 (__ASSUME_SIGNALFD4): Likewise.
1289 (__ASSUME_SOCK_CLOEXEC): Likewise.
1290 (__ASSUME_UTIMES): Undefine.
1291 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1292 (__ASSUME_UTIMES): Do not define.
1293 (__ASSUME_O_CLOEXEC): Likewise.
1294 (__ASSUME_SOCK_CLOEXEC): Likewise.
1295 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1296 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1297 0x020621].
1298 (__ASSUME_PIPE2): Likewise.
1299 (__ASSUME_EVENTFD2): Likewise.
1300 (__ASSUME_SIGNALFD4): Likewise.
1301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1302 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1303 Do not define.
1304 (__ASSUME_EVENTFD2): Likewise.
1305 (__ASSUME_SIGNALFD4): Likewise.
1306 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1307 (__ASSUME_32BITUIDS): Likewise.
1308 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1309 (__ASSUME_IPC64): Likewise.
1310 (__ASSUME_ST_INO_64_BIT): Likewise.
1311 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1312 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1314 (__ASSUME_UTIMES): Do not define.
1315 (__ASSUME_PSELECT): Likewise.
1316 (__ASSUME_PPOLL): Likewise.
1317 (__ASSUME_O_CLOEXEC): Likewise.
1318 (__ASSUME_SOCK_CLOEXEC): Likewise.
1319 (__ASSUME_IN_NONBLOCK): Likewise.
1320 (__ASSUME_PIPE2): Likewise.
1321 (__ASSUME_EVENTFD2): Likewise.
1322 (__ASSUME_SIGNALFD4): Likewise.
1323 (__ASSUME_DUP3): Likewise.
1324 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1325 (__ASSUME_UTIMES): Likewise.
1326 (__ASSUME_O_CLOEXEC): Likewise.
1327 (__ASSUME_SOCK_CLOEXEC): Likewise.
1328 (__ASSUME_IN_NONBLOCK): Likewise.
1329 (__ASSUME_PIPE2): Likewise.
1330 (__ASSUME_EVENTFD2): Likewise.
1331 (__ASSUME_SIGNALFD4): Likewise.
1332 (__ASSUME_DUP3): Likewise.
1333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1334 (__ASSUME_UTIMES): Likewise.
1335 (__ASSUME_O_CLOEXEC): Likewise.
1336 (__ASSUME_SOCK_CLOEXEC): Likewise.
1337 (__ASSUME_IN_NONBLOCK): Likewise.
1338 (__ASSUME_PIPE2): Likewise.
1339 (__ASSUME_EVENTFD2): Likewise.
1340 (__ASSUME_SIGNALFD4): Likewise.
1341 (__ASSUME_DUP3): Likewise.
1342 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1343 Likewise.
1344 (__ASSUME_UTIMES): Likewise.
1345 (__ASSUME_EVENTFD2): Likewise.
1346 (__ASSUME_SIGNALFD4): Likewise.
1347 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1348 (__ASSUME_O_CLOEXEC): Likewise.
1349 (__ASSUME_SOCK_CLOEXEC): Likewise.
1350 (__ASSUME_IN_NONBLOCK): Likewise.
1351 (__ASSUME_PIPE2): Likewise.
1352 (__ASSUME_EVENTFD2): Likewise.
1353 (__ASSUME_SIGNALFD4): Likewise.
1354 (__ASSUME_DUP3): Likewise.
1355 (__ASSUME_UTIMES): Undefine.
1356
5c521ecd
JM
1357 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1358 feclearexcept. Remove symbol versioning code.
1359 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1360 symbol versioning code.
1361 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1362 symbol versioning code.
1363 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1364 feupdateenv. Remove symbol versioning code.
1365 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1366 fegetexceptflag. Remove symbol versioning code.
1367 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1368 fesetexceptflag. Remove symbol versioning code.
1369 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1370 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1371 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1372 (__posix_fadvise64_l32): Remove prototype.
1373 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1374 code.
1375
5da9dfad
RM
13762014-05-13 Roland McGrath <roland@hack.frob.com>
1377
1378 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1379 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1380 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1381 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1382
893b4f37
SK
13832014-05-13 Sami Kerola <kerolasa@iki.fi>
1384
1385 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1386 current working directory
1387
e0db6517
RM
13882014-05-13 Roland McGrath <roland@hack.frob.com>
1389
58aa195d
RM
1390 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1391 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1392 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1393 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1394 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1395 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1396 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1405 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1407 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1409 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1410 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1411 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1423 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1424 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1425 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1426 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1427 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1428 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1429 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1430 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1431 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1432
8c6d01f0
RM
1433 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1434 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1435
1436 * sysdeps/unix/sysv/linux/arm/Makefile
1437 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1438 Add rt-aeabi_unwind_cpp_pr1.
1439 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1440 Add nptl-aeabi_unwind_cpp_pr1.
1441 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1442 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1443 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1444 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1445 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1446 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1447
1448 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1449 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1450 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1451 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1452
bba6da4e
RM
1453 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1454 Deconditionalize the code that was previously under [RESET_PID].
1455 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1456
e0db6517
RM
1457 * sysdeps/generic/exit-thread.h: New file.
1458 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1459 * include/unistd.h (__exit_thread): Remove declaration.
1460 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1461 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1462 * csu/libc-start.c: Include <exit-thread.h>.
1463 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1464 * nptl/pthread_create.c: Include <exit-thread.h>.
1465 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1466 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1467 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1468 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1469 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1470 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1471 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1472 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1473 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1474 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1475 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1476 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1477 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1478 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1479 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1480 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1481 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1482
01eb16fd
AS
14832014-05-13 Andreas Schwab <schwab@suse.de>
1484
1485 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1486
637461d9
JM
14872014-05-12 Joseph Myers <joseph@codesourcery.com>
1488
1489 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1490 (__ASSUME_UTIMES): Do not condition on kernel version.
1491 (__ASSUME_PSELECT): Define unconditionally.
1492 (__ASSUME_PPOLL): Likewise.
1493 (__ASSUME_ATFCTS): Likewise.
1494 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1495 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1496 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1497 (__ASSUME_UTIMENSAT): Define unconditionally.
1498 (__ASSUME_PRIVATE_FUTEX): Likewise.
1499 (__ASSUME_FALLOCATE): Likewise.
1500 (__ASSUME_O_CLOEXEC): Likewise.
1501 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1502 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1503 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1504 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1505 (__ASSUME_IN_NONBLOCK): Likewise.
1506 (__ASSUME_PIPE2): Likewise.
1507 (__ASSUME_EVENTFD2): Likewise.
1508 (__ASSUME_SIGNALFD4): Likewise.
1509 (__ASSUME_DUP3): Likewise.
1510 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1511 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1512 (__ASSUME_AT_RANDOM): Likewise.
1513 (__ASSUME_PREADV): Likewise.
1514 (__ASSUME_PWRITEV): Likewise.
1515 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1516 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1517 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1518 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1519 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1520 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1521 (__ASSUME_O_CLOEXEC): Define unconditionally.
1522 (__ASSUME_PSELECT): Do not undefine conditionally.
1523 (__ASSUME_PPOLL): Likewise.
1524 (__ASSUME_ATFCTS): Likewise.
1525 (__ASSUME_SET_ROBUST_LIST): Likewise.
1526 (__ASSUME_UTIMENSAT): Likewise.
1527 (__ASSUME_FDATASYNC): Define unconditionally.
1528 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1529 (__ASSUME_SIGFRAME_V2): Likewise.
1530 )__ASSUME_EVENTFD2): Likewise.
1531 (__ASSUME_SIGNALFD4): Likewise.
1532 (__ASSUME_PSELECT): Do not undefine conditionally.
1533 (__ASSUME_PPOLL): Likewise.
1534 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1535 (__ASSUME_PSELECT): Define unconditionally.
1536 (__ASSUME_PPOLL): Likewise.
1537 (__ASSUME_O_CLOEXEC): Likewise.
1538 (__ASSUME_SOCK_CLOEXEC): Likewise.
1539 (__ASSUME_IN_NONBLOCK): Likewise.
1540 (__ASSUME_PIPE2): Likewise.
1541 (__ASSUME_EVENTFD2): Likewise.
1542 (__ASSUME_SIGNALFD4): Likewise.
1543 (__ASSUME_DUP3): Likewise.
1544 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1545 (__ASSUME_O_CLOEXEC): Likewise.
1546 (__ASSUME_SOCK_CLOEXEC): Likewise.
1547 (__ASSUME_IN_NONBLOCK): Likewise.
1548 (__ASSUME_PIPE2): Likewise.
1549 (__ASSUME_EVENTFD2): Likewise.
1550 (__ASSUME_SIGNALFD4): Likewise.
1551 (__ASSUME_DUP3): Likewise.
1552 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1553 (__ASSUME_EVENTFD2): Likewise.
1554 (__ASSUME_SIGNALFD4): Likewise.
1555 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1556
315eb1d8
AS
15572014-05-12 Andreas Schwab <schwab@suse.de>
1558
1559 [BZ #16932]
1560 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1561 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1562 than maximum RPC packet size.
1563 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1564 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1565 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1566 (_nss_nis_getservbyport_r): Likewise.
1567
91df99f7
WN
15682014-05-12 Will Newton <will.newton@linaro.org>
1569
1570 * malloc/Makefile (tests): Add tst-mallopt.
1571 * malloc/tst-mallopt.c: New file.
1572
0a982a29
RM
15732014-05-09 Roland McGrath <roland@hack.frob.com>
1574
1575 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1576 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1577
0ded08a5
AZ
15782014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
1580 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1581 (tst-tlsmod6.so): Likewise.
1582
55d4d550
RM
15832014-05-09 Roland McGrath <roland@hack.frob.com>
1584
1585 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1586
77d08aca
JM
15872014-05-09 Joseph Myers <joseph@codesourcery.com>
1588
1589 [BZ #16064]
1590 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1591 and <dl-procinfo.h>.
1592 (__fegetenv): Save SSE state in envp->__eip if supported.
1593 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1594 envp->__eip if supported.
1595 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1596 and <dl-procinfo.h>.
1597 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1598 __data_offset and __data_selector in environment to 0. Set SSE
1599 state if supported.
1600 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1601 test-fenv-sse.
1602 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1603 -mfpmath=sse.
1604 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1605
28162f4d
WN
16062014-05-09 Will Newton <will.newton@linaro.org>
1607
1608 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1609 and libc_relro_required for ARM.
1610 * sysdeps/arm/preconfigure: Regenerate.
1611
5a414ff7
DV
16122014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1613 Stefan Liebler <stli@linux.vnet.ibm.com>
1614
1615 * config.make.in (enable-lock-elision): New Makefile variable.
1616 * configure.ac: Likewise.
1617 * configure: Regenerate.
1618 * sysdeps/s390/configure.ac:
1619 Add check for gcc transactions support.
1620 * sysdeps/s390/configure: Regenerate.
1621 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1622 Build elision files if enabled.
1623 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1624 Add lock elision support for s390.
1625 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1626 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1627 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1628 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1629 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1630 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1632 Likewise.
1633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1634 Likewise.
1635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1636 Likewise.
1637 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1638 Likewise.
1639 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1640 (__lll_timedlock_elision, __lll_lock_elision)
1641 (__lll_unlock_elision, __lll_trylock_elision)
1642 (lll_timedlock_elision, lll_lock_elision)
1643 (lll_unlock_elision, lll_trylock_elision): Add.
1644 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1645 (pthread_mutex_t): Add lock elision support for s390.
1646
1a2f40e5
W
16472014-05-14 Wilco <wdijkstr@arm.com>
1648
1649 * sysdeps/arm/fclrexcpt.c: Cleanup.
1650 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1651 * sysdeps/arm/feenablxcpt.c: Cleanup.
1652 * sysdeps/arm/fegetenv.c: Cleanup.
1653 * sysdeps/arm/fegetexcept.c: Cleanup.
1654 * sysdeps/arm/fegetround.c: Cleanup.
1655 * sysdeps/arm/feholdexcpt.c: Cleanup.
1656 * sysdeps/arm/fesetenv.c: Cleanup.
1657 * sysdeps/arm/fesetround.c: Cleanup.
1658 * sysdeps/arm/feupdateenv.c: Cleanup.
1659 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1660 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1661 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1662 * sysdeps/arm/ftestexcept.c: Cleanup.
1663 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1664 * sysdeps/arm/setfpucw.c: Cleanup.
1665
f63c86fe
WN
16662014-05-09 Will Newton <will.newton@linaro.org>
1667
1668 * sysdeps/arm/armv7/strcmp.S: New file.
1669 * NEWS: Mention addition of ARMv7 optimized strcmp.
1670
7a1a51b5
RM
16712014-05-08 Roland McGrath <roland@hack.frob.com>
1672
95afbbe5
RM
1673 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1674 look for %.ac rather than %.in.
1675
1676 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1677 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1678 * sysdeps/mach/hurd/configure: Regenerated.
1679 * sysdeps/unix/sysv/linux/configure: Regenerated.
1680
7a1a51b5
RM
1681 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1682
5057ad3b
SE
16832014-05-07 Steve Ellcey <sellcey@mips.com>
1684
1685 [BZ# 16922]
1686 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1687 (LONG_SUB): Ditto.
1688 (PTR_SUB): Ditto.
1689
8dc97517
AS
16902014-05-07 Andreas Schwab <schwab@suse.de>
1691
1692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1693 when skipping over non-matching result from nscd.
1694
ce0c5b8f
OB
16952014-05-07 Ondřej Bílka <neleai@seznam.cz>
1696
1697 [BZ #16876]
1698 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1699
a1189263
OB
1700 [BZ #16877]
1701 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1702 nscd security class.
ce0c5b8f 1703
0f58d252
RM
17042014-05-06 Roland McGrath <roland@hack.frob.com>
1705
1706 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1707 * sysdeps/arm/unwind.h: ... here.
1708
83df9ad0
AJ
17092014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1710
ce0c5b8f
OB
1711 [BZ# 16916]
1712 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1713 Define.
83df9ad0 1714
f360f94a
VR
17152014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1716
1717 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1718 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1719 multiarch strncpy for PPC64.
1720 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1721 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1723 multiarch optimizations.
1724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1725 (__libc_ifunc_impl_list): Likewise.
1726 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1727 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1728 multiarch stpncpy for PPC64.
1729 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1730 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1731
978a41c3
AS
17322014-05-06 Andreas Schwab <schwab@suse.de>
1733
1734 [BZ #16912]
1735 * gmon/mcount.c (_MCOUNT_DECL): Use
1736 atomic_compare_and_exchange_bool_acq instead of
1737 catomic_compare_and_exchange_bool_acq.
1738
eb1ed03d
RM
17392014-05-05 Roland McGrath <roland@hack.frob.com>
1740
fe658845
RM
1741 * elf/Makefile (others, install-bin): Remove pldd.
1742 (pldd-modules): Variable removed.
1743 ($(objpfx)pldd): Target removed.
1744 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1745 (others, install-bin): Append pldd here.
1746 ($(objpfx)pldd): New target.
1747
eb1ed03d
RM
1748 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1749 to 0, so the first #if test emitted later doesn't see it undefined.
1750 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1751 * sysdeps/gnu/errlist.c: Regenerated.
1752
19c4bec0
AZ
17532014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1756 [libc_hidden_builtin_def]: Define to empty value.
1757 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1758 [libc_hidden_builtin_def]: Likewise.
1759 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1760 [libc_hidden_builtin_def]: Likewise.
1761 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1762 [libc_hidden_builtin_def]: Likewise.
1763 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1764 __redirect_memcpy and define ifunc as default hidden symbol.
1765 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1767
7776e669
AC
17682014-05-04 Adam Conrad <adconrad@0c3.net>
1769
1770 * locale/iso-4217.def: Reintroduce XDR currency.
1771
d69aeb12
AM
17722014-05-04 Allan McRae <allan@archlinux.org>
1773
1774 * po/eo.po: Update Esperanto translation from translation project.
1775
8f1df5cf
CD
17762014-05-02 Carlos O'Donell <carlos@redhat.com>
1777
1778 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1779 and FEATURE_INDEX_MAX to 1.
1780 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1781
13e402e7
SE
17822014-05-01 Steve Ellcey <sellcey@mips.com>
1783
1784 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1785 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1786 * iconvdata/big5.c (ONE_DIRECTION): Define.
1787 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1788 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1789 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1790 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1791 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1792 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1793 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1794 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1795 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1796 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1797 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1798 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1799 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1800 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1801 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1802 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1803 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1804 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1805 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1806 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1807 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1808 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1809 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1810 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1811 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1812 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1813 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1814 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1815 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1816 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1817 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1818 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1819 * iconvdata/johab.c (ONE_DIRECTION): Define.
1820 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1821 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1822 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1823 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1824 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1825 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1826 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1827 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1828 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1829 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1830
c727f032
RM
18312014-05-01 Roland McGrath <roland@hack.frob.com>
1832
8f2f08d0
RM
1833 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1834 (_IO_JUMPS_OFFSET): Define to 0.
1835
c727f032
RM
1836 * nptl/sysdeps/pthread/bits/libc-lock.h
1837 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1838 (__libc_lock_define_initialized_recursive): Always define using
1839 initializer. Modern compilers treat uninitialized (implicit zero) and
1840 explicit zero initializers the same (i.e. put the datum in bss).
1841
a849e800
AS
18422014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1843
1844 * nscd/nscd-client.h: Include <string.h>.
1845
5331255b
DM
18462014-05-01 David S. Miller <davem@davemloft.net>
1847
1848 [BZ #16885]
1849 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1850 multiple zero bytes exist at the end of a string.
1851 Reported by Aurelien Jarno <aurelien@aurel32.net>
1852
1853 * string/test-strcmp.c (check): Add explicit test for situations where
1854 there are multiple zero bytes after the first.
1855
4fdfe821
AS
18562014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1857
1858 [BZ #16890]
1859 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1860 when compiling wprintf.
1861 * stdio-common/tstdiomisc.c (t3): New function.
1862 (main): Call it.
1863
0cdddc25
SE
18642014-05-01 Steve Ellcey <sellcey@mips.com>
1865
1866 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1867 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1868 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1869 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1870
6426d77e
SE
18712014-05-01 Steve Ellcey <sellcey@mips.com>
1872
1873 * stdlib/longlong.h: Updated from GCC.
1874
6d96f5e4
WN
18752014-05-01 Will Newton <will.newton@linaro.org>
1876 Bernard Ogden <bernie.ogden@linaro.org>
1877
7470db0c
WN
1878 * NEWS: Update fixed bug list.
1879
6d96f5e4
WN
1880 [BZ #15119]
1881 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1882
211d653c
DM
18832014-04-30 David S. Miller <davem@davemloft.net>
1884
4fa262fa
DM
1885 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1886 (libc_feholdexcept_setround_sparc_ctx): New function.
1887 (libc_fesetenv_sparc_ctx): Likewise.
1888 (libc_feupdateenv_sparc_ctx): Likewise.
1889 (libc_feholdsetround_sparc_ctx): Likewise.
1890 (libc_feholdexcept_setround_ctx): Define.
1891 (libc_feholdexcept_setroundf_ctx): Likewise.
1892 (libc_feholdexcept_setroundl_ctx): Likewise.
1893 (libc_fesetenv_ctx): Likewise.
1894 (libc_fesetenvf_ctx): Likewise.
1895 (libc_fesetenvl_ctx): Likewise.
1896 (libc_feupdateenv_ctx): Likewise.
1897 (libc_feupdateenvf_ctx): Likewise.
1898 (libc_feupdateenvl_ctx): Likewise.
1899 (libc_feresetround_ctx): Likewise.
1900 (libc_feresetroundf_ctx): Likewise.
1901 (libc_feresetroundl_ctx): Likewise.
1902 (libc_feholdsetround_ctx): Likewise.
1903 (libc_feholdsetroundf_ctx): Likewise.
1904 (libc_feholdsetroundl_ctx): Likewise.
1905
1d3d93ef
DM
1906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1907 with __USE_GNU instead of XOPEN cpp guards.
1908
8aa583c3
DM
1909 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1910 0.
1911
211d653c
DM
1912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1913 with XOPEN cpp guards.
1914
60c8f1f6
JB
19152014-04-30 Julian Brown <julian@codesourcery.com>
1916
1917 [BZ #16888]
1918 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1919 handling.
1920
9a461d46
JM
19212014-04-30 Joseph Myers <joseph@codesourcery.com>
1922
d0f5b3f8
JM
1923 [BZ #9894]
1924 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1925 Change to 2.6.32.
1926 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1927 * sysdeps/unix/sysv/linux/configure: Regenerated.
1928 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1929 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1930 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1931 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1932 * README: Update reference to required Linux kernel version.
1933 * manual/install.texi (Linux): Update reference to required Linux
1934 kernel headers version.
1935 * INSTALL: Regenerated.
1936
9a461d46
JM
1937 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1938 header inclusion.
1939 [POSIX] (limits.h): Likewise.
1940 [POSIX] (math.h): Likewise.
1941 [POSIX] (sys/wait.h): Likewise.
1942 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1943 function.
1944 [POSIX] (stddef.h): Do not allow header inclusion.
1945
1775babf
AZ
19462014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947
57f41c40 1948 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1949
8f630cca
YY
19502014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1951
1952 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1953 Return immediately after lll_futex_wake.
1954
1cdeb237
SP
19552014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1956
bc8f194c
SP
1957 [BZ #16791]
1958 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1959 structure.
1960 (datahead_init_pos): Call datahead_init_common early.
1961 (datahead_init_neg): Likewise.
1962
1cdeb237
SP
1963 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1964 datahead_init_neg): New functions.
1965 * nscd/aicache.c (addhstaiX): Use them.
1966 * nscd/grpcache.c (cache_addgr): Likewise.
1967 * nscd/hstcache.c (cache_addhst): Likewise.
1968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1969 * nscd/netgroupcache.c (do_notfound): Likewise.
1970 (addgetnetgrentX): Likewise.
1971 (addinnetgrX): Likewise.
1972 * nscd/pwdcache.c (cache_addpw): Likewise.
1973 * nscd/servicescache.c (cache_addserv): Likewise.
1974
16b293a7
SP
19752014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1976 Atsushi Onoe <atsushi@onoe.org>
1977
1978 [BZ #14308]
1979 [BZ #12994]
1980 [BZ #13651]
1981 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1982 one response is valid.
1983 * resolv/res_send.c (send_dg): Check for validity of other
1984 response if the current response is a referral.
1985
a28a9b94
SE
19862014-04-29 Steve Ellcey <sellcey@mips.com>
1987
1988 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1989
2ca180e9
SL
19902014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1991
1992 [BZ #16823]
1993 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1994 Always divide by positive zero when computing -Inf result.
1995 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1996 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1997
18f2945a
AZ
19982014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999
2000 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2001 FPSCR if value do not change.
2002 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2003 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2004 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2005 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2006 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2007 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2008 function.
2009
5abebba4
CD
20102014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2011
2012 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2013 * sysdeps/unix/sysv/linux/hppa: Move directory from
2014 ports/systeps/unix/sysv/linux/hppa.
2015 * README: Update listing for hppa-*-linux-gnu.
2016
f7ed60c2
OB
20172014-04-28 Ondřej Bílka <neleai@seznam.cz>
2018
fff763a5
OB
2019 [BZ #16754]
2020 * manual/stdio.texi (Hook functions): Fix types of stream hook
2021 functions.
f7ed60c2
OB
2022 [BZ #16854]
2023 * socket/sys/socket.h: Fix typo in comment.
2024
df639d73
WD
20252014-04-28 Wilco <wdijkstr@arm.com>
2026
f7ed60c2 2027 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2028 * sysdeps/arm/math_private.h: New file.
2029 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2030
48332d82
L
20312014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2034 with __int128_t.
2035 (La_x86_64_retval): Likewise.
2036
e5e0d9a4
IB
20372014-04-24 Ian Bolton <ian.bolton@arm.com>
2038
2039 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2040 fpsr if value didn't change.
2041 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2042 to fpcr if value didn't change.
2043 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2044 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2045 fpsr or fpcr if value didn't change.
2046 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2047 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2048 fpcr if value didn't change.
2049 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2050 to fpsr if value didn't change.
2051
bacc75f7
SP
20522014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2053
2054 * nptl/tst-sem3.c: Use test-skeleton.c
2055 (main): Rename to do_test. Use return instead of
2056 exit.
2057 * nptl/tst-sem4.c: Use test-skeleton.c
2058 (main): Rename to do_test.
2059
a059d359
DM
20602014-04-22 David S. Miller <davem@davemloft.net>
2061
2062 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2063 (struct sigaction): New struct member __glibc_reserved0, change
2064 type of sa_flags to int.
2065
ea6c92f3
YZ
20662014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2067
2068 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2069 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2070
766c4a36
SP
20712014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2072
2073 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2074 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2075
140cc7ab
VK
20762014-04-22 Will Newton <will.newton@linaro.org>
2077 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2078
2079 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2080 (__longjmp): Add longjmp and longjmp_target SystemTap
2081 probes.
2082 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2083 (__sigsetjmp): Add setjmp SystemTap probe.
2084
c54e5cf7
CD
20852014-04-17 Carlos O'Donell <carlos@redhat.com>
2086
2087 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2088 match manual order.
2089
75ffb047
AZ
20902014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091
2092 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2093
2cd925f7
AZ
2094 * sysdeps/powerpc/fpu/fenv_private.h
2095 (libc_feholdexcept_setroundl_ctx): Define to
2096 libc_feholdexcept_setround_ppc_ctx.
2097 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2098 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2099 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2100 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2101
39e6cd8d
IB
21022014-04-17 Ian Bolton <ian.bolton@arm.com>
2103
2104 * sysdeps/aarch64/math-tests.h: New file.
2105
f9281df9
SY
21062014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2107
2108 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2109 New.
2110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2111 Check and set bit_AVX2_Usable.
2112 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2113 macro.
2114 (bit_AVX2): Likewise.
2115 (index_AVX2_Usable): Likewise.
2116 (CPUID_AVX2): Likewise.
2117 (HAS_AVX2): Likewise.
2118
37d35007
WN
21192014-04-17 Will Newton <will.newton@linaro.org>
2120
7c677662
WN
2121 * manual/setjmp.texi (System V contexts): Add note that
2122 calling setcontext on a context created by a call to a
2123 signal handler is undefined. Update text to note that
2124 setcontext from a signal handler is possible but not
2125 recommended.
2126
37d35007 2127 [BZ #16629]
e04a4e9d
WN
2128 * stdlib/tst-setcontext.c: Include signal.h.
2129 (main): Check that the signal stack before and
2130 after swapcontext is the same.
2131
37d35007
WN
2132 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2133 Re-implement to restore registers in user code and avoid
2134 rt_sigreturn system call.
2135
423a7160
W
21362014-04-17 Wilco <wdijkstr@arm.com>
2137
2138 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2139 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2140 * math/test-fenv.c: Skip exception trap tests on targets which only
2141 support non-stop mode.
2142
bc93ab29
IB
21432014-04-17 Ian Bolton <ian.bolton@arm.com>
2144 Wilco Dijkstra <wilco.dijkstra@arm.com>
2145
2146 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2147 (libc_feholdsetround_aarch64_ctx)
2148 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2149 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2150 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2151 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2152 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2153 (libc_feresetround_noexl_ctx): Define.
2154
95fc5fa3
RH
21552014-04-16 Richard Henderson <rth@redhat.com>
2156
ddb04724
RH
2157 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2158
d77c0899
RH
2159 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2160 unwind tables.
2161
a3df56fc
RH
2162 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2163 const from the non-libc, non-ldso copy.
2164
95fc5fa3
RH
2165 * sysdeps/alpha/libm-test-ulps: Regenerate.
2166
7e0b6763
IB
21672014-04-16 Ian Bolton <ian.bolton@arm.com>
2168 Wilco Dijkstra <wilco.dijkstra@arm.com>
2169
2170 * sysdeps/aarch64/fpu/math_private.h: New file.
2171
a9ea2e0c
MS
21722014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2173
2174 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2175
ea8ba7cd
IZ
21762014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2177
2178 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2179 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2181 Intel MPX bound registers before _dl_profile_fixup.
2182 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2183 registers after _dl_profile_fixup. Save and restore bound
2184 registers bnd0/bnd1 when calling _dl_call_pltexit.
2185 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2186 (LR_BND_OFFSET): Likewise.
2187 (LRV_BND0_OFFSET): Likewise.
2188 (LRV_BND1_OFFSET): Likewise.
2189
9f2a4fbc
ST
21902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2191
2192 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2193 to...
2194 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2195 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2196 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2197 fields.
9f2a4fbc 2198
fd15a59b
ST
21992014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2200
2201 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2202
f19dfa0a
SL
22032014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2204
2205 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2206
4fa8bc3b
SL
22072014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2208
2209 [BZ #14770]
2210 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2211 * sysdeps/s390/configure: Regenerate.
2212
8ea587db
SL
2213 [BZ #16824]
2214 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2215 Set round-to-nearest internally to reduce error accumulation.
2216
aa5f0ff1
AM
22172014-04-16 Alan Modra <amodra@gmail.com>
2218
2219 [BZ #16740]
2220 [BZ #16619]
2221 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2222 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2223 * NEWS: Update fixed bug list.
aa5f0ff1 2224
bb9c256f
SP
22252014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2226
2227 * benchtests/Makefile: Depend on libraries in build directory.
2228 (bench-math): Separate out math tests.
2229 (bench-pthread): Separate out pthread tests.
2230 (bench): Include math and pthread tests.
2231
f737dfd0
CD
22322014-04-14 Carlos O'Donell <carlos@redhat.com>
2233
2234 [BZ #16831]
2235 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2236 _dl_debug_initialize.
2237
0699f766
CD
2238 * configure.ac: Remove SELinux header check.
2239 * configure: Regenerate.
2240 * nscd/selinux.c (perms): Array of const char* to permission names.
2241 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2242 default policy. Call string_to_security_class and string_to_av_perm to
2243 translate strings. Enforce default policy and call avs_has_perm with
2244 results of translated strings.
2245
809bd45f
DM
22462014-04-13 David S. Miller <davem@davemloft.net>
2247
2248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2249
89e691f2
AM
22502014-04-12 Allan McRae <allan@archlinux.org>
2251
2252 [BZ #16838]
2253 * manual/string.texi (Collation Functions): Fix qsort argument
2254 order in example.
2255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2256
9c9daaeb
CM
22572014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2258
2259 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2260 Make the test a no-op if there are no exceptions defined.
2261
95561fb9
PP
22622014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2263
fe8d072c 2264 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2265 enable-hardcoded-path-in-tests
2266
970c602a
WN
22672014-04-11 Will Newton <will.newton@linaro.org>
2268
2269 * benchtests/Makefile (extra-objs): Add json-lib.o.
2270 (bench-func): Tidy up JSON output.
2271 * benchtests/bench-skeleton.c: Include json-lib.h.
2272 (main): Use JSON library functions to do output of
2273 benchmark results.
2274 * benchtests/bench-timing-type.c (main): Output the
2275 timing type simply, leaving formatting to the user.
2276 * benchtests/json-lib.c: New file.
2277 * benchtests/json-lib.h: Likewise.
2278
36875b06
TR
22792014-04-11 Torvald Riegel <triegel@redhat.com>
2280
2281 [BZ #15215]
2282 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2283 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2284 memory barriers. Add comments.
2285 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2286 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2287 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2288 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2289 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2290 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2291
579db35a
SL
22922014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2293
2294 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2295 * sysdeps/s390/s390-64/configure.ac: ... this ...
2296 * sysdeps/s390/configure.ac: ... to here.
2297 * sysdeps/s390/s390-32/configure: Delete file.
2298 * sysdeps/s390/s390-64/configure: Delete file.
2299 * sysdeps/s390/configure: Regenerate.
2300
c12e9f37
JAPH
23012014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2302
2303 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2304
439bda32
WN
23052014-04-11 Will Newton <will.newton@linaro.org>
2306
2307 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2308 to zero if it is not defined elsewhere. (mtrim): Test
2309 the value of MALLOC_DEBUG with #if rather than #ifdef.
2310
6a5d6ea1
TR
23112014-04-10 Torvald Riegel <triegel@redhat.com>
2312
2313 * benchtests/pthread_once-inputs: New file.
2314 * benchtests/pthread_once-source.c: New file.
2315 * benchtests/README: Update documentation.
2316
a4c75cfd
IZ
23172014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2318 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2321 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2322 * sysdeps/x86_64/configure: Regenerated.
2323 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2324 macro.
2325 (REGISTER_SAVE_RAX): Likewise.
2326 (REGISTER_SAVE_RCX): Likewise.
2327 (REGISTER_SAVE_RDX): Likewise.
2328 (REGISTER_SAVE_RSI): Likewise.
2329 (REGISTER_SAVE_RDI): Likewise.
2330 (REGISTER_SAVE_R8): Likewise.
2331 (REGISTER_SAVE_R9): Likewise.
2332 (REGISTER_SAVE_BND0): Likewise.
2333 (REGISTER_SAVE_BND1): Likewise.
2334 (REGISTER_SAVE_BND2): Likewise.
2335 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2336 bound registers when calling _dl_fixup.
2337
27822ce6
AZ
23382014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339
2340 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2341 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2342 of its definition.
27822ce6
AZ
2343 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2344 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2345 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2346 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2347 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2348 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2349 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2350
a88ddc90
PTB
23512014-04-09 Peter Brett <peter@peter-b.co.uk>
2352
2353 [BZ #15514]
2354 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2355 pathconf(_PC_NAME_MAX).
2356
01f8eac2
AZ
23572014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2358
2359 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2360 Remove macro usage.
2361 (__PTHREAD_SPINS): Move definition to ...
2362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2363 (__PTHREAD_SPINS): ... here.
2364 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2365 (__PTHREAD_SPIN): Likewise.
2366 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2367 (__PTHREAD_SPIN): Likewise.
2368 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2369 (__PTHREAD_SPIN): Likewise.
2370 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2371 (__PTHREAD_SPIN): Likewise.
2372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2373 (__PTHREAD_SPIN): Likewise.
2374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2375 (__PTHREAD_SPIN): Likewise.
2376 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2377 (__PTHREAD_SPIN): Likewise.
2378 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2379 (__PTHREAD_SPIN): Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2381 (__PTHREAD_SPIN): Likewise.
2382 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2383 (__PTHREAD_SPIN): Likewise.
2384 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2385 (__PTHREAD_SPIN): Likewise.
2386 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2387 (__PTHREAD_SPIN): Likewise.
2388
de21c33c
AZ
2389 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2390 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2391 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2393 imply folder.
2394 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2395 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2396 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2397 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2398 correct imply path.
2399 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2400 strlen symbol for non multi-arch builds.
2401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2402 missing hidden_def and weak_alias.
2403
862c472e
CD
24042014-04-08 Carlos O'Donell <carlos@redhat.com>
2405
2406 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2407
8667f90e
WN
24082014-04-07 Will Newton <will.newton@linaro.org>
2409
2410 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2411 and contents. [!_LIBC] Remove #ifndef and contents.
2412 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2413 * string/memccpy.c (__memccpy): Use ANSI prototype.
2414 * string/memfrob.c (memfrob): Likewise.
2415 * string/strcoll.c (STRCOLL): Likewise.
2416 * string/strlen.c (strlen): Likewise.
2417 * string/strtok.c (STRTOK): Likewise.
2418 * string/strcat.c: Remove unused #include of memcopy.h.
2419 (strcat): Use ANSI prototype.
2420 * string/strchr.c: Remove unused #include of memcopy.h.
2421 (strchr): Use ANSI prototype.
2422 * string/strcmp.c: Remove unused #include of memcopy.h.
2423 (strcmp): Use ANSI prototype.
2424 * string/strcpy.c: Remove unused #include of memcopy.h.
2425 (strcpy): Use ANSI prototype.
2426
7ffa9423
AZ
24272014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428
2429 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2430 * config.make.in (config-extra-cppflags): Set it from
2431 libc_extra_cppflags.
2432 * configure.ac (libc_extra_cflags): Make it accumulate over
2433 configure fragments.
2434 (libc_extra_cppflags): New flag.
2435 * configure. Regenerate.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2437 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2438 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2440
8bd70862
AZ
2441 [BZ #16815]
2442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2443 result for FE_DOWNWARD rounding mode.
2444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2445 Likewise.
2446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2447
d42f3448
CM
24482014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2449
2450 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2451 in function argument name.
2452
1c21d115
DS
24532014-04-03 David Svoboda <svoboda@cert.org>
2454
2455 [BZ #5666]
2456 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2457 explicitly.
2458
fcccd512
RM
24592014-04-03 Roland McGrath <roland@hack.frob.com>
2460
2461 * elf/dl-unmap-segments.h: New file.
2462 * sysdeps/generic/ldsodefs.h
2463 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2464 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2465 * elf/dl-fptr.c: Likewise.
2466 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2467 * sysdeps/aarch64/tlsdesc.c: Likewise.
2468 * sysdeps/arm/tlsdesc.c: Likewise.
2469 * sysdeps/i386/tlsdesc.c: Likewise.
2470 * sysdeps/tile/dl-runtime.c: Likewise.
2471 * sysdeps/x86_64/tlsdesc.c: Likewise.
2472 * elf/dl-load.h: New file.
2473 * elf/dl-load.c: Include it.
2474 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2475 Macros moved to dl-load.h.
2476 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2477 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2478 Use _dl_unmap_segments in place of __munmap.
2479 Break out segment-mapping loop into ...
2480 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2481
f6488e2b
WN
24822014-04-03 Will Newton <will.newton@linaro.org>
2483
2484 * elf/dl-lookup.c (do_lookup_x): Remove comment
2485 referring to nested function and move variable
2486 declarations down to before first use.
2487
6f05bafe
JM
24882014-04-02 Joseph Myers <joseph@codesourcery.com>
2489
a84e78c8
JM
2490 [BZ #16799]
2491 [BZ #16800]
2492 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2493 with 0 numerator.
2494 * math/s_catanf.c (__catanf): Likewise.
2495 * math/s_catanh.c (__catanh): Likewise.
2496 * math/s_catanhf.c (__catanhf): Likewise.
2497 * math/s_catanhl.c (__catanhl): Likewise.
2498 * math/s_catanl.c (__catanl): Likewise.
2499 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2500 by positive zero when computing -Inf result.
2501 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2502 (catanh_test): Likewise.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505
6f05bafe
JM
2506 [BZ #16789]
2507 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2508 instead of using underflowing value in computing result.
2509 * math/s_clog10.c (__clog10): Likewise.
2510 * math/s_clog10f.c (__clog10f): Likewise.
2511 * math/s_clog10l.c (__clog10l): Likewise.
2512 * math/s_clogf.c (__clogf): Likewise.
2513 * math/s_clogl.c (__clogl): Likewise.
2514 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2515 (clog10_test): Likewise.
2516 * sysdeps/i386/fpu/libm-test-ulps: Update.
2517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518
b0abbc21
AM
25192014-04-02 Alan Modra <amodra@gmail.com>
2520
2521 [BZ #16739]
2522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2523 output when value is near a power of two. Use int64_t for lx and
2524 remove casts. Use decimal rather than hex exponent constants.
2525 Don't use long double multiplication when double will suffice.
2526 * math/libm-test.inc (nextafter_test_data): Add tests.
2527 * NEWS: Add 16739 and 16786 to bug list.
2528
af6b1797
AM
2529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2530
483818d7
AM
2531 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2532
f6c55796
WN
25332014-04-01 Will Newton <will.newton@linaro.org>
2534
2535 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2536 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2537
13f7fe35
FW
25382014-04-01 Florian Weimer <fweimer@redhat.com>
2539
2540 [BZ #13347]
2541 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2542 * nptl/tst-setuid2.c: New file.
2543 * nptl/Makefile (xtests): Add tst-setuid2.
2544
c859b32e
AM
25452014-04-01 Alan Modra <amodra@gmail.com>
2546
2547 [BZ #16786]
2548 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2549
54fa2475
JM
25502014-03-31 Joseph Myers <joseph@codesourcery.com>
2551
8795b4a4
JM
2552 [BZ #6803]
2553 [BZ #6804]
2554 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2555 set errno as appropriate.
2556 * math/w_scalbf.c (__scalbf): Likewise.
2557 * math/w_scalbl.c (__scalbl): Likewise.
2558 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2559 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2560 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2561 Add more NaN tests.
2562
54fa2475
JM
2563 [BZ #16349]
2564 * math/w_atan2.c: Include <errno.h>.
2565 (__atan2): Set errno for result underflowing to zero.
2566 * math/w_atan2f.c: Include <errno.h>.
2567 (__atan2f): Set errno for result underflowing to zero.
2568 * math/w_atan2l.c: Include <errno.h>.
2569 (__atan2l): Set errno for result underflowing to zero.
2570 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2571 tests.
2572 * math/auto-libm-test-out: Regenerated.
2573
757d9dd5
AZ
25742014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575
2576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2577 Encode instruction correctly in little endian.
2578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2579 Likewise.
2580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2581 Likewise.
2582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2583 Likewise.
2584 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2585 Likewise.
2586
d7a68734
JM
25872014-03-31 Joseph Myers <joseph@codesourcery.com>
2588
47c5adeb
JM
2589 [BZ #9894]
2590 * sysdeps/unix/sysv/linux/kernel-features.h
2591 [__sparc__ && !__arch64__ && !__sparc_v9__]
2592 (__ASSUME_SET_ROBUST_LIST): Do not define.
2593 [__sparc__ && !__arch64__ && !__sparc_v9__]
2594 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2595 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2596 Likewise.
2597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2598 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2599 (__ASSUME_REQUEUE_PI): Likewise.
2600 (__ASSUME_SET_ROBUST_LIST): Likewise.
2601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2602 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2603 Undefine.
2604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2606 Likewise.
2607 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2608 Likewise.
2609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2613 Undefine.
2614 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2615 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2616 Likewise.
2617
d7a68734
JM
2618 [BZ #16648]
2619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2621 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2622
c760f5c2
WN
26232014-03-31 Will Newton <will.newton@linaro.org>
2624
2625 * benchtests/Makefile (bench): Add ffs and ffsll to list
2626 of tests.
2627 * benchtests/ffs-inputs: New file.
2628 * benchtests/ffsll-inputs: Likewise.
2629
ea6029b1
JM
26302014-03-29 Joseph Myers <joseph@codesourcery.com>
2631
2632 [BZ #16770]
2633 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2634 too large before casting to int.
2635 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2636 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2637 * math/libm-test.inc (scalb_test_data): Add more tests.
2638
cf806aff
SP
26392014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
56737508
SP
2641 * benchtests/Makefile (DETAILED_OPT): New make option.
2642 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2643 set.
2644 * benchtests/bench-skeleton.c: Include stdbool.h.
2645 (main): Store and print timings per input.
2646 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2647 member to each argument value.
2648 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2649 (_print_arg_data): Initialize per-input timing to 0.
2650
cb5e4aad
SP
2651 * benchtests/Makefile (timing-type): New binary.
2652 (bench-clean): Also remove bench-timing-type.
2653 (bench): New target for timing-type.
2654 (bench-func): Print output in JSON format.
2655 * benchtests/bench-skeleton.c (main): Print output in JSON
2656 format.
2657 * benchtests/bench-timing-type.c: New file.
2658 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2659 (TIMING_PRINT_STATS): Remove.
2660 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2661 name separately.
2662
cf806aff
SP
2663 * benchtests/bench-modf.c: Remove.
2664 * benchtests/modf-inputs: New inputs file.
2665
289e0779
JM
26662014-03-28 Joseph Myers <joseph@codesourcery.com>
2667
2668 [BZ #16362]
2669 * math/s_clog10.c (M_PI_LOG10E): New macro.
2670 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2671 imaginary parts are 0.
2672 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2673 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2674 imaginary parts are 0.
2675 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2676 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2677 imaginary parts are 0.
2678 * math/libm-test.inc (clog10_test_data): Update expected results
2679 for when real and imaginary parts are 0.
2680
277ae3f1
PP
26812014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2682
2683 * elf/dl-load.c: Finish conversion of __builtin_expect into
2684 __glibc_{un}likely.
2685
03a7091f
JM
26862014-03-27 Joseph Myers <joseph@codesourcery.com>
2687
2688 [BZ #16348]
2689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2690 1+x for argument with exponent below -67.
2691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2692 Likewise.
2693 * math/auto-libm-test-in: Add more tests of exp.
2694 * math/auto-libm-test-out: Regenerated.
2695
ea7d8b95
SP
26962014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2697
dd3022d7
SP
2698 [BZ #16759]
2699 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2700 (nscd_getnetgrent): Use it.
2701
ea7d8b95
SP
2702 [BZ #16760]
2703 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2704 of stpcpy.
2705
df5b85da
AK
27062014-03-27 Andi Kleen <ak@linux.intel.com>
2707
57f41c40
AS
2708 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2709 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2710 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2711 (lll_robust_unlock): Remove out of line section. Use cfi
2712 intrinsics.
df5b85da 2713 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2714 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2715 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2716 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2717 (lll_robust_unlock): Remove out of line section. Use cfi
2718 intrinsics.
df5b85da
AK
2719 (LLL_STUB_UNWIND_INFO*): Remove.
2720
fbd6b5a4
SP
27212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
2723 [BZ #16758]
2724 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2725 blank values.
2726
1b26b855
PP
27272014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2728
2729 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2730
9be36fb8
JM
27312014-03-26 Joseph Myers <joseph@codesourcery.com>
2732
2733 [BZ #16198]
2734 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2735 fnstenv.
2736 * math/test-fenv-preserve.c: New file.
2737 * math/Makefile (tests): Add test-fenv-preserve.
2738
60a2f3c1
WN
27392014-03-26 Will Newton <will.newton@linaro.org>
2740
2741 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2742
a5e5f1e2
RM
27432014-03-25 Roland McGrath <roland@hack.frob.com>
2744
2745 * scripts/versionlist.awk: Partition the version sets and emit all
2746 GLIBC_* (sorted) before all others (sorted).
2747
00f4012a
JM
27482014-03-25 Joseph Myers <joseph@codesourcery.com>
2749
2750 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2751 GLIBC_2.2.5 version.
2752
7bc5a741
AZ
27532014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2754
2755 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2756 calls.
2757
7578473b
AZ
2758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2759 previous change.
2760
f3f1dab3
AZ
2761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2762
6da36183
AS
27632014-03-25 Andreas Schwab <schwab@suse.de>
2764
2765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2766 label to be used after in6ailist is initialized.
2767
f3f1dab3 27682014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2769
7578473b 2770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2771 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2772
046651c1
JM
27732014-03-25 Joseph Myers <joseph@codesourcery.com>
2774
2775 [BZ #16357]
2776 [BZ #16599]
2777 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2778 min_plus_half.
2779 (fp_formats): Update initializers.
2780 (init_fp_formats): Initialize new field.
2781 (output_for_one_input_case): Allow underflow for results up to
2782 min_plus_half.
2783 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2784 * math/auto-libm-test-in: Don't mark some underflows from asin and
2785 atanh as spurious.
2786 * math/auto-libm-test-out: Regenerated.
2787 * sysdeps/i386/fpu/libm-test-ulps: Update.
2788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2789
003e49ed
AS
27902014-03-25 Andreas Schwab <schwab@suse.de>
2791
2792 * libio/Makefile (tst-ftell-partial-wide-ENV)
2793 (tst-ftell-active-handler-ENV): Define.
2794
de031874
SL
27952014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2796
2797 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2798
55a81e3b
PP
27992014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2800
2801 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2802
f3426898
JM
28032014-03-24 Joseph Myers <joseph@codesourcery.com>
2804
2805 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2806 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2807 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2808
a42faf59
PP
28092014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2810
2811 [BZ #16634]
a42faf59 2812 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2813 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2814 (open_path): Change from boolean 'secure' to complete flag 'mode'
2815 (_dl_map_object): Adjust.
a42faf59
PP
2816 * elf/Makefile (tests): Add tst-dlopen-aout.
2817 * elf/tst-dlopen-aout.c: New test.
2818
50936127
SL
28192014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2820
2821 [BZ #16714]
2822 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2823 (struct stat): Rename member pad0 to __glibc_reserved0.
2824
26011b5c
SL
2825 [BZ #16712]
2826 * sysdeps/s390/s390-32/bits/wordsize.h
2827 (__WORDSIZE32_SIZE_ULONG): New define.
2828 * sysdeps/s390/s390-64/bits/wordsize.h
2829 (__WORDSIZE32_SIZE_ULONG): Likewise.
2830 * sysdeps/generic/stdint.h (SIZE_MAX):
2831 Define as UL if __WORDSIZE32_SIZE_ULONG.
2832
a2d86bf1
SL
2833 [BZ #16713]
2834 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2835 (__glibc_reserved0): New variable.
2836 (sa_flags): Change type to int.
2837
78b6eebc
SL
2838 * posix/Makefile (before-compile): Use += before-compile instead
2839 of a :=.
2840
f1399b5a
SL
2841 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2843
a071766e
AS
28442014-03-20 Andreas Schwab <schwab@suse.de>
2845
2846 [BZ #16743]
2847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2848 non-matching result from nscd.
2849
27c673b8
SP
28502014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2851
2852 * scripts/bench.py: Moved to ...
2853 * benchtests/scripts/bench.py: ... here.
2854 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2855
44152e4b
AS
28562014-03-24 Andreas Schwab <schwab@suse.de>
2857
2858 [BZ #16002]
2859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2860 alloca_account and account alloca use for struct in6ailist.
2861
b376a11a
JM
28622014-03-24 Joseph Myers <joseph@codesourcery.com>
2863
2864 [BZ #16284]
2865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2866 rounding mode to recompute results that overflow to infinity or
2867 underflow to zero.
2868 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2869 bug 16284.
2870 * math/auto-libm-test-out: Regenerated.
2871 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2872 (ccosh_test): Likewise.
2873 (csin_test_data): Use plus_oflow.
2874 (csin_test): Use ALL_RM_TEST.
2875 (csinh_test_data): Use plus_oflow.
2876 (csinh_test): Use ALL_RM_TEST.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2879
f7be7376
JM
28802014-03-21 Joseph Myers <joseph@codesourcery.com>
2881
1ca2d03e
JM
2882 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2883 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2884 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2885
f7be7376
JM
2886 [BZ #16731]
2887 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2888 when x - 1 is zero.
2889 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2890 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2891 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2893 argument is 1.
2894 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2895 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2896 zero.
2897 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900
fdf4534d
SP
29012014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2902
df26ea53
SP
2903 * scripts/bench.pl: Remove file.
2904 * scripts/bench.py: New benchmark script.
2905 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2906 * benchtests/README: Mention python dependency.
2907 * scripts/pylintrc: New file.
2908 * scripts/pylint: New file.
2909
fdf4534d
SP
2910 * bits/mathdef.h: Use #ifdef instead of #if.
2911 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2912 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2913 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2914 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2915 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2916 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2917
6f23d093
AZ
29182014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2919 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2920
2921 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2923 and strpbrk-ppc64 objects.
2924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2925 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2926 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2927 multiarch strpbrk for POWER7.
2928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2929 multiarch strpbrk for PPC64.
2930 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2931 ifunc selector.
2932 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2933 strpbrk for POWER7.
2934
8c92dfff
JM
29352014-03-20 Joseph Myers <joseph@codesourcery.com>
2936
2937 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2938 (atan_test): Likewise.
2939 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2940 (atanh_test): Use ALL_RM_TEST.
2941 (atan2_test_data): Likewise.
2942 (cabs_test): Likewise.
2943 (cacosh_test): Likewise.
2944 (carg_test): Likewise.
2945 (casin_test): Likewise.
2946 (casinh_test): Likewise.
2947 (cbrt_test): Likewise.
2948 (csqrt_test): Likewise.
2949 (erf_test): Likewise.
2950 (erfc_test): Likewise.
2951 (pow10_test): Likewise.
2952 (exp2_test): Likewise.
2953 (hypot_test): Likewise.
2954 (j0_test): Likewise.
2955 (j1_test): Likewise.
2956 (lgamma_test): Likewise.
2957 (gamma_test): Likewise.
2958 (sincos_test): Likewise.
2959 (tanh_test): Likewise.
2960 (y0_test): Likewise.
2961 (y1_test): Likewise.
2962 * sysdeps/i386/fpu/libm-test-ulps: Update.
2963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2964
6eaf95cb
AZ
29652014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2966
a387428c
SP
2967 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2969 and strcspn-ppc64 objects.
2970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2971 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2972 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2973 multiarch strcspn for POWER7.
2974 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2975 multiarch strcspn for PPC64.
2976 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2977 ifunc selector.
2978 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2979 strcspn for POWER7.
2980
ae3a5dff
JM
29812014-03-20 Joseph Myers <joseph@codesourcery.com>
2982
2983 * math/gen-libm-test.pl (generate_testfile): Expect only function
2984 name as argument to AUTO_TESTS_* and pass results for all rounding
2985 modes to parse_args.
2986 (parse_auto_input): Separate inputs of automatic tests from
2987 outputs before storing in %auto_tests.
2988 * math/libm-test.inc (acos_test_data): Update call to
2989 AUTO_TESTS_f_f.
2990 (acos_test): Use ALL_RM_TEST.
2991 (acos_tonearest_test_data): Remove.
2992 (acos_test_tonearest): Likewise.
2993 (acos_towardzero_test_data): Likewise.
2994 (acos_test_towardzero): Likewise.
2995 (acos_downward_test_data): Likewise.
2996 (acos_test_downward): Likewise.
2997 (acos_upward_test_data): Likewise.
2998 (acos_test_upward): Likewise.
2999 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3000 (asin_test_data): Likewise.
3001 (asin_test): Use ALL_RM_TEST.
3002 (asin_tonearest_test_data): Remove.
3003 (asin_test_tonearest): Likewise.
3004 (asin_towardzero_test_data): Likewise.
3005 (asin_test_towardzero): Likewise.
3006 (asin_downward_test_data): Likewise.
3007 (asin_test_downward): Likewise.
3008 (asin_upward_test_data): Likewise.
3009 (asin_test_upward): Likewise.
3010 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3011 (atan_test_data): Likewise.
3012 (atanh_test_data): Likewise.
3013 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3014 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3015 (carg_test_data): Likewise.
3016 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3017 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3018 (ccosh_test_data): Likewise.
3019 (cexp_test_data): Likewise.
3020 (clog_test_data): Likewise.
3021 (clog10_test_data): Likewise.
3022 (cos_test_data): Update call to AUTO_TESTS_f_f.
3023 (cos_test): Use ALL_RM_TEST.
3024 (cos_tonearest_test_data): Remove.
3025 (cos_test_tonearest): Likewise.
3026 (cos_towardzero_test_data): Likewise.
3027 (cos_test_towardzero): Likewise.
3028 (cos_downward_test_data): Likewise.
3029 (cos_test_downward): Likewise.
3030 (cos_upward_test_data): Likewise.
3031 (cos_test_upward): Likewise.
3032 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3033 (cosh_test): Use ALL_RM_TEST.
3034 (cosh_tonearest_test_data): Remove.
3035 (cosh_test_tonearest): Likewise.
3036 (cosh_towardzero_test_data): Likewise.
3037 (cosh_test_towardzero): Likewise.
3038 (cosh_downward_test_data): Likewise.
3039 (cosh_test_downward): Likewise.
3040 (cosh_upward_test_data): Likewise.
3041 (cosh_test_upward): Likewise.
3042 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3043 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3044 (ctan_test_data): Likewise.
3045 (ctan_test): Use ALL_RM_TEST.
3046 (ctan_tonearest_test_data): Remove.
3047 (ctan_test_tonearest): Likewise.
3048 (ctan_towardzero_test_data): Likewise.
3049 (ctan_test_towardzero): Likewise.
3050 (ctan_downward_test_data): Likewise.
3051 (ctan_test_downward): Likewise.
3052 (ctan_upward_test_data): Likewise.
3053 (ctan_test_upward): Likewise.
3054 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3055 (ctanh_test): Use ALL_RM_TEST.
3056 (ctanh_tonearest_test_data): Remove.
3057 (ctanh_test_tonearest): Likewise.
3058 (ctanh_towardzero_test_data): Likewise.
3059 (ctanh_test_towardzero): Likewise.
3060 (ctanh_downward_test_data): Likewise.
3061 (ctanh_test_downward): Likewise.
3062 (ctanh_upward_test_data): Likewise.
3063 (ctanh_test_upward): Likewise.
3064 (erf_test_data): Update call to AUTO_TESTS_f_f.
3065 (erfc_test_data): Likewise.
3066 (exp_test_data): Likewise.
3067 (exp_test): Use ALL_RM_TEST.
3068 (exp_tonearest_test_data): Remove.
3069 (exp_test_tonearest): Likewise.
3070 (exp_towardzero_test_data): Likewise.
3071 (exp_test_towardzero): Likewise.
3072 (exp_downward_test_data): Likewise.
3073 (exp_test_downward): Likewise.
3074 (exp_upward_test_data): Likewise.
3075 (exp_test_upward): Likewise.
3076 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3077 (exp10_test): Use ALL_RM_TEST.
3078 (exp10_tonearest_test_data): Remove.
3079 (exp10_test_tonearest): Likewise.
3080 (exp10_towardzero_test_data): Likewise.
3081 (exp10_test_towardzero): Likewise.
3082 (exp10_downward_test_data): Likewise.
3083 (exp10_test_downward): Likewise.
3084 (exp10_upward_test_data): Likewise.
3085 (exp10_test_upward): Likewise.
3086 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3087 (expm1_test_data): Likewise.
3088 (expm1_test): Use ALL_RM_TEST.
3089 (expm1_tonearest_test_data): Remove.
3090 (expm1_test_tonearest): Likewise.
3091 (expm1_towardzero_test_data): Likewise.
3092 (expm1_test_towardzero): Likewise.
3093 (expm1_downward_test_data): Likewise.
3094 (expm1_test_downward): Likewise.
3095 (expm1_upward_test_data): Likewise.
3096 (expm1_test_upward): Likewise.
3097 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3098 (fma_test): Use ALL_RM_TEST.
3099 (fma_towardzero_test_data): Remove.
3100 (fma_test_towardzero): Likewise.
3101 (fma_downward_test_data): Likewise.
3102 (fma_test_downward): Likewise.
3103 (fma_upward_test_data): Likewise.
3104 (fma_test_upward): Likewise.
3105 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3106 (j0_test_data): Update call to AUTO_TESTS_f_f.
3107 (j1_test_data): Likewise.
3108 (jn_test_data): Update call to AUTO_TESTS_if_f.
3109 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3110 (log_test_data): Update call to AUTO_TESTS_f_f.
3111 (log10_test_data): Likewise.
3112 (log1p_test_data): Likewise.
3113 (log2_test_data): Likewise.
3114 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3115 (pow_tonearest_test_data): Likewise.
3116 (sin_test_data): Update call to AUTO_TESTS_f_f.
3117 (sin_test): Use ALL_RM_TEST.
3118 (sin_tonearest_test_data): Remove.
3119 (sin_test_tonearest): Likewise.
3120 (sin_towardzero_test_data): Likewise.
3121 (sin_test_towardzero): Likewise.
3122 (sin_downward_test_data): Likewise.
3123 (sin_test_downward): Likewise.
3124 (sin_upward_test_data): Likewise.
3125 (sin_test_upward): Likewise.
3126 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3127 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3128 (sinh_test): Use ALL_RM_TEST.
3129 (sinh_tonearest_test_data): Remove.
3130 (sinh_test_tonearest): Likewise.
3131 (sinh_towardzero_test_data): Likewise.
3132 (sinh_test_towardzero): Likewise.
3133 (sinh_downward_test_data): Likewise.
3134 (sinh_test_downward): Likewise.
3135 (sinh_upward_test_data): Likewise.
3136 (sinh_test_upward): Likewise.
3137 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3138 (sqrt_test): Use ALL_RM_TEST.
3139 (sqrt_tonearest_test_data): Remove.
3140 (sqrt_test_tonearest): Likewise.
3141 (sqrt_towardzero_test_data): Likewise.
3142 (sqrt_test_towardzero): Likewise.
3143 (sqrt_downward_test_data): Likewise.
3144 (sqrt_test_downward): Likewise.
3145 (sqrt_upward_test_data): Likewise.
3146 (sqrt_test_upward): Likewise.
3147 (tan_test_data): Update call to AUTO_TESTS_f_f.
3148 (tan_test): Use ALL_RM_TEST.
3149 (tan_tonearest_test_data): Remove.
3150 (tan_test_tonearest): Likewise.
3151 (tan_towardzero_test_data): Likewise.
3152 (tan_test_towardzero): Likewise.
3153 (tan_downward_test_data): Likewise.
3154 (tan_test_downward): Likewise.
3155 (tan_upward_test_data): Likewise.
3156 (tan_test_upward): Likewise.
3157 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3158 (tgamma_test_data): Likewise.
3159 (y0_test_data): Likewise.
3160 (y1_test_data): Likewise.
3161 (yn_test_data): Update call to AUTO_TESTS_if_f.
3162 (main): Do not call removed functions.
3163
d71aeee8
JM
31642014-03-19 Joseph Myers <joseph@codesourcery.com>
3165
3166 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3167 (ldexp_test_data): Remove.
3168 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3169 scalbn_test_data.
3170 (scalb_test): Use ALL_RM_TEST.
3171
baaf1ded
AS
31722014-03-19 Andreas Schwab <schwab@suse.de>
3173
3174 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3175
b1115e91
JM
31762014-03-19 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #16649]
3179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3183 (__ASSUME_PREADV): Undefine.
3184 (__ASSUME_PWRITEV): Likewise.
3185
0283ecca
RM
31862014-03-18 Roland McGrath <roland@hack.frob.com>
3187
7d375303
RM
3188 * bits/mman-linux.h: Add comment about non-Linux use.
3189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3190 bits/mman-linux.h resting place.
3191
0283ecca
RM
3192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3193 * bits/mman-linux.h: ... here.
3194
aebe1003
AZ
31952014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196
3197 * conform/conformtest.pl: Add standard definition when calling C
3198 preprocessor on data files.
3199 (checknamespace): Remove unused variable.
3200
b29b6bb8
JM
32012014-03-18 Joseph Myers <joseph@codesourcery.com>
3202
3203 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3204 minus_oflow, plus_uflow and minus_uflow in expected results.
3205 * math/libm-test.inc (scalbn_test_data): Add more tests of
3206 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3207 minus_uflow.
3208 (scalbn_test): Use ALL_RM_TEST.
3209 (scalbln_test_data): Add more tests of negative arguments. Use
3210 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3211 (scalbln_test): Use ALL_RM_TEST.
3212
c8f8fa15
RM
32132014-03-18 Roland McGrath <roland@hack.frob.com>
3214
3215 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3216
fede7a5f
WN
32172014-03-18 Will Newton <will.newton@linaro.org>
3218
3219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3220 inaccurate comment.
3221
80cf0a58
JM
32222014-03-18 Joseph Myers <joseph@codesourcery.com>
3223
3224 * Makerules [!subdir] (check-abi): Exit with error status if a
3225 test failed.
3226
b3620862
JM
32272014-03-17 Joseph Myers <joseph@codesourcery.com>
3228
3229 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3230 for rint. Include results for all rounding modes.
3231 (nearbyint_test): Use ALL_RM_TEST.
3232 (rint_test_data): Include all tests used for nearbyint.
3233
788bba36
WN
32342014-03-17 Will Newton <will.newton@linaro.org>
3235
04ec140a
WN
3236 * nptl/sysdeps/pthread/pthread.h: Revert previous
3237 change.
3238
7579d8d5
WN
3239 * sysdeps/generic/ldsodefs.h: Revert previous
3240 change.
3241
c15cf13a
WN
3242 * libio/genops.c: Revert previous change.
3243 * libio/libioP.h: Likewise.
3244 * stdio-common/vfprintf.c: Likewise.
3245
d0ac1324
WN
3246 * sysdeps/generic/math_private.h: Revert previous
3247 change.
3248
9290130a
WN
3249 * sysdeps/generic/math_private.h: Check whether
3250 HAVE_RM_CTX is defined with #ifdef rather
3251 than #if.
3252
afb466fc
WN
3253 * argp/argp-fmtstream.h: Check whether
3254 __STRICT_ANSI__ is defined with #ifdef rather
3255 than #if.
3256 * argp/argp.h: Likewise.
3257
f7efd7c3
WN
3258 * libio/genops.c: Check whether
3259 _IO_JUMPS_OFFSET is defined with #ifdef rather
3260 than #if.
3261 * libio/libioP.h: Likewise.
3262 * stdio-common/vfprintf.c: Likewise.
3263
53f1bed3
WN
3264 * sysdeps/generic/ldsodefs.h: Check whether
3265 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3266 than #if.
3267
788bba36
WN
3268 * nptl/sysdeps/pthread/pthread.h: Check
3269 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3270 its value.
3271
fcd89ebe
SP
32722014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
ae42bbc5
SP
3274 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3275 setting O_APPEND.
3276 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3277 test case.
3278
ea33158c
SP
3279 [BZ #16680]
3280 * libio/fileops.c (_IO_file_open): Seek to end of file but
3281 don't cache the offset.
3282 (get_file_offset): Remove function.
3283 (do_ftell): Use cached offset when available.
3284 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3285 don't cache the offset.
3286 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3287 case.
3288 (do_one_test): Call it.
3289 (do_ftell_test): Fix up expected old offset for a+ mode.
3290 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3291 available.
3292
b1dbb426
SP
3293 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3294 up test status with function return status.
3295 (do_write_test): Likewise.
3296 (do_append_test): Likewise.
3297
fcd89ebe
SP
3298 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3299 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3300 Remove.
3301
9962a2d3
JM
33022014-03-17 Joseph Myers <joseph@codesourcery.com>
3303
3304 * math/gen-libm-test.pl (parse_args): Handle results specified for
3305 each rounding mode separately.
3306 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3307 tests and results from lrint_tonearest_test_data,
3308 lrint_towardzero_test_data, lrint_downward_test_data and
3309 lrint_upward_test_data.
3310 (lrint_test): Use ALL_RM_TEST.
3311 (lrint_tonearest_test_data): Remove.
3312 (lrint_test_tonearest): Likewise.
3313 (lrint_towardzero_test_data): Likewise.
3314 (lrint_test_towardzero): Likewise.
3315 (lrint_downward_test_data): Likewise.
3316 (lrint_test_downward): Likewise.
3317 (lrint_upward_test_data): Likewise.
3318 (lrint_test_upward): Likewise.
3319 (llrint_test_data): Merge in per-rounding-mode tests and results
3320 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3321 llrint_downward_test_data and llrint_upward_test_data.
3322 (llrint_test): Use ALL_RM_TEST.
3323 (llrint_tonearest_test_data): Remove.
3324 (llrint_test_tonearest): Likewise.
3325 (llrint_towardzero_test_data): Likewise.
3326 (llrint_test_towardzero): Likewise.
3327 (llrint_downward_test_data): Likewise.
3328 (llrint_test_downward): Likewise.
3329 (llrint_upward_test_data): Likewise.
3330 (llrint_test_upward): Likewise.
3331 (rint_test_data): Merge in per-rounding-mode tests and results
3332 from rint_tonearest_test_data, rint_towardzero_test_data,
3333 rint_downward_test_data and rint_upward_test_data. Add
3334 per-rounding-mode results for tests not in those arrays.
3335 (rint_test): Use ALL_RM_TEST.
3336 (rint_tonearest_test_data): Remove.
3337 (rint_test_tonearest): Likewise.
3338 (rint_towardzero_test_data): Likewise.
3339 (rint_test_towardzero): Likewise.
3340 (rint_downward_test_data): Likewise.
3341 (rint_test_downward): Likewise.
3342 (rint_upward_test_data): Likewise.
3343 (rint_test_upward): Likewise.
3344 (main): Don't call removed functions.
3345
5006148e
RM
33462014-03-14 Roland McGrath <roland@hack.frob.com>
3347
3348 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3349 "Compiled on ..." crapola. It is anti-useful.
3350
d6fe5e58
JM
33512014-03-14 Joseph Myers <joseph@codesourcery.com>
3352
3353 * scripts/evaluate-test.sh: Handle fourth argument to determine
3354 whether test run should stop on failure.
3355 * Makeconfig (stop-on-test-failure): New variable.
3356 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3357 $(stop-on-test-failure).
3358 * Makefile (tests): Give a summary of results from testing and
3359 exit with failure status if they include an ERROR or FAIL.
3360 (xtests): Likewise.
3361 * manual/install.texi (Configuring and compiling): Mention
3362 stop-on-test-failure=y.
3363 * INSTALL: Regenerated.
3364
498a2233
RM
33652014-03-14 Roland McGrath <roland@hack.frob.com>
3366
22dbc19d
RM
3367 * scripts/versionlist.awk: New file.
3368 * Makerules [$(build-shared) = yes]
3369 (postclean-generated): Add Versions.def, not Versions.def.v and
3370 Versions.def.v.i.
3371 ($(common-objpfx)Versions.def.v.i): Target removed.
3372 ($(common-objpfx)Versions.def): New target.
3373 ($(common-objpfx)Versions.all): Depend on that rather that
3374 $(common-objpfx)Versions.def.v.
3375 * Versions.def: File removed.
3376
498a2233
RM
3377 * Makeconfig (+gccwarn): Add -Wundef.
3378 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3379 a dl-sysdep.h breaking its contract.
3380 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3381 * include/stackinfo.h: New file.
3382 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3383 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3384 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3385 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3386 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3387 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3388 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3389 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3390 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3391 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3392 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3393 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3394 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3395 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3396 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3397
c7de5025
AZ
33982014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3399
3400 [BZ #16707]
3401 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3402 implementation.
3403 * math/libm-test.inc (round_test_data): Add more tests.
3404
98fb27a3
AZ
3405 [BZ #16706]
3406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3407 implementation.
3408 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3409
374f7f61
AZ
3410 [BZ #16701]
3411 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3412 implementation.
3413 * math/libm-test.inc (ceil_test_data): Add more tests.
3414
4655c291
AZ
3415 * math/libm-test.inc (trunc_test_data): Add more tests related to
3416 BZ#16414.
3417
d7329d4b
RM
34182014-03-14 Roland McGrath <roland@hack.frob.com>
3419
3420 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3421 with #if rather than #ifdef.
3422 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3423
aa4de9ce
L
34242014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3427 first. Disable AVX-512 GCC support if assembler doesn't support
3428 it.
3429 * sysdeps/x86_64/configure: Regenerated.
3430
2e03fae7
CD
34312014-03-13 Carlos O'Donell <carlos@redhat.com>
3432
3433 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3434 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3435 (__old_pthread_attr_setstack): Likewise.
3436 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3437 [!_STACK_GROWS_DOWN]: Likewise.
3438
43ca83ec
MF
34392014-03-13 Mike Frysinger <vapier@gentoo.org>
3440
3441 * config.make.in (have-bash2): Delete.
3442 * configure.ac (libc_cv_have_bash2): Delete.
3443 * configure: Regenerate.
3444 * elf/Makefile (common-ldd-rewrite): Rename to ...
3445 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3446 (sh-ldd-rewrite): Delete.
3447 (bash-ldd-rewrite): Delete.
3448 (have-bash2): Delete checks.
57f41c40
AS
3449 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3450 ldd-rewrite.
c66e48b4
MF
3451
3452 * config.make.in (have-ksh): Delete.
3453 (KSH): Delete.
3454 * configure.ac (libc_cv_have_ksh): Delete.
3455 * configure: Regenerate.
3456
b93834ef
MF
3457 * elf/Makefile: Delete $(have-ksh) check.
3458 ($(objpfx)sotruss): Change KSH to BASH.
3459 * elf/sotruss.ksh: Rename to ...
3460 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3461 function style to match POSIX. Drop ksh vim mode setting.
3462
f3a4632a
MF
3463 * manual/time.texi (Specifying the Time Zone with TZ): Change
3464 Tuesday to Thursday.
3465
5896c8bd
MF
3466 * debug/tst-longjmp_chk2.c: Update header comment.
3467 (stackoverflow_handler): Add comment. Call assert on pass value.
3468
2d63a517
IZ
34692014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3470
3471 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3472 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3473 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3474 (La_x86_64_vector): Add zmm.
3475 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3476 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3477 ($(objpfx)tst-audit10): New target.
3478 ($(objpfx)tst-audit10.out): Likewise.
3479 (tst-audit10-ENV): New.
3480 (AVX512-CFLAGS): Likewise.
3481 (CFLAGS-tst-audit10.c): Likewise.
3482 (CFLAGS-tst-auditmod10a.c): Likewise.
3483 (CFLAGS-tst-auditmod10b.c): Likewise.
3484 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3485 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3486 * sysdeps/x86_64/configure: Regenerated.
3487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3488 AVX-512 zmm register support.
3489 (_dl_x86_64_save_sse): Likewise.
3490 (_dl_x86_64_restore_sse): Likewise.
3491 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3492 size vector registers.
3493 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3494 (ZMM_SIZE): Likewise.
3495 * sysdeps/x86_64/tst-audit10.c: New file.
3496 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3497 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3498
44c4e5d5
RM
34992014-03-13 Roland McGrath <roland@hack.frob.com>
3500
3501 * configure.ac (HAVE_EHDR_START): New check.
3502 * configure: Regenerated.
3503 * config.h.in (HAVE_EHDR_START): New #undef.
3504 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3505 assuming the lowest-addressed segment maps the start of the file.
3506
acd6e389
JM
35072014-03-13 Joseph Myers <joseph@codesourcery.com>
3508
3509 * INSTALL: Regenerated.
3510
6f918f36
WN
35112014-03-13 Will Newton <will.newton@linaro.org>
3512
3513 * manual/setjmp.texi (System V contexts): Improve
3514 clarity and grammar of documentation.
3515
798212a0
PP
35162014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3517
3518 [BZ #16381]
798212a0 3519 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3520 (tests-pie): Add tst-pie2.
798212a0
PP
3521 * elf/tst-pie2.c: New file.
3522 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3523 for ET_EXEC.
3524 * elf/rtld.c (map_doit): Load executable as lt_executable.
3525 (dl_main): Likewise.
3526
abe6d90c
JM
35272014-03-12 Joseph Myers <joseph@codesourcery.com>
3528
3529 [BZ #16642]
3530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3531 (__ASSUME_PSELECT): Undefine.
3532
dd3946c6
AZ
35332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534
3535 [BZ #16689]
3536 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3537 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3538 static build.
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3540 selector for static builds.
3541
c44496df
SP
35422014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3543
3544 [BZ #16695]
3545 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3546 key in the buffer.
3547
27c7220a
AZ
35482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3549
57f41c40
AS
3550 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3551 IFUNC selector for static builds.
27c7220a 3552
600fa361
JM
35532014-03-11 Joseph Myers <joseph@codesourcery.com>
3554
76c96cf7
JM
3555 * sysdeps/mips/math_private.h [__mips_hard_float]
3556 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3557 libc_feresetround_mips_ctx.
3558 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3559 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3560 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3561
600fa361
JM
3562 [BZ #16677]
3563 * math/s_nextafter.c (__nextafter): Do not return value from
3564 overflowing computation.
3565 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3566 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3567 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3568 Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3570 Likewise.
3571 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3572 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3573
d7706c32
RM
35742014-03-11 Roland McGrath <roland@hack.frob.com>
3575
3576 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3577 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3578 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3579 the new mov targetting sp.
3580
4facea47
AZ
35812014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3582
3583 [BZ #16683]
3584 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3585 Define it for static builds as well.
3586 (NO_BZERO_IMPL): Likewise.
3587
e65caf1f
VR
35882014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3589
3590 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3591 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3592 multiarch strspn for PPC64.
3593 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3594 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3596 (__libc_ifunc_impl_list): Likewise.
3597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3598 multiarch optimizations
3599 * string/strspn.c (strspn): Using macro to redefine symbol name.
3600
ba9cc071
AZ
36012014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3602 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3605 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3606 multiarch strncat for PPC64.
3607 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3608 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3610 (__libc_ifunc_impl_list): Likewise.
3611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3612 multiarch optimizations
3613
8b4ff974
SP
36142014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 [BZ #16639]
3617 * nscd/nscd.service: Make service type forking.
3618
54b46a4b
AZ
36192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620
3621 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3622 sign in non default rounding modes.
3623 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3624
e9996ef7
JM
36252014-03-08 Joseph Myers <joseph@codesourcery.com>
3626
3627 * math/libm-test.inc (ALL_RM_TEST): New macro.
3628 (ceil_test): Use ALL_RM_TEST.
3629 (cimag_test): Likewise.
3630 (conj_test): Likewise.
3631 (copysign_test): Likewise.
3632 (cproj_test): Likewise.
3633 (creal_test): Likewise.
3634 (fabs_test): Likewise.
3635 (floor_test): Likewise.
3636 (fmax_test): Likewise.
3637 (fmin_test): Likewise.
3638 (fmod_test): Likewise.
3639 (fpclassify_test): Likewise.
3640 (frexp_test): Likewise.
3641 (ilogb_test): Likewise.
3642 (isfinite_test): Likewise.
3643 (finite_test): Likewise.
3644 (isgreater_test): Likewise.
3645 (isgreaterequal_test): Likewise.
3646 (isinf_test): Likewise.
3647 (isless_test): Likewise.
3648 (islessequal_test): Likewise.
3649 (islessgreater_test): Likewise.
3650 (isnan_test): Likewise.
3651 (isnormal_test): Likewise.
3652 (issignaling_test): Likewise.
3653 (isunordered_test): Likewise.
3654 (logb_test): Likewise.
3655 (logb_downward_test_data): Remove.
3656 (logb_test_downward): Likewise.
3657 (lround_test): Use ALL_RM_TEST.
3658 (llround_test): Likewise.
3659 (modf_test): Likewise.
3660 (nexttoward_test): Likewise.
3661 (remainder_test): Likewise.
3662 (drem_test): Likewise.
3663 (remainder_tonearest_test_data): Likewise.
3664 (remainder_test_tonearest): Likewise.
3665 (drem_test_tonearest): Likewise.
3666 (remainder_towardzero_test_data): Likewise.
3667 (remainder_test_towardzero): Likewise.
3668 (drem_test_towardzero): Likewise.
3669 (remainder_downward_test_data): Likewise.
3670 (remainder_test_downward): Likewise.
3671 (drem_test_downward): Likewise.
3672 (remainder_upward_test_data): Likewise.
3673 (remainder_test_upward): Likewise.
3674 (drem_test_upward): Likewise.
3675 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3676 (round_test): Use ALL_RM_TEST.
3677 (signbit_test): Likewise.
3678 (trunc_test): Likewise.
3679 (significand_test): Likewise.
3680 (main): Don't call removed functions.
3681
bc61d27c
JM
36822014-03-07 Joseph Myers <joseph@codesourcery.com>
3683
5c780849
JM
3684 [BZ #16674]
3685 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3686 || __USE_XOPEN2K8].
3687 (ILL_ILLOPN): Likewise.
3688 (ILL_ILLADR): Likewise.
3689 (ILL_ILLTRP): Likewise.
3690 (ILL_PRVOPC): Likewise.
3691 (ILL_PRVREG): Likewise.
3692 (ILL_COPROC): Likewise.
3693 (ILL_BADSTK): Likewise.
3694 (FPE_INTDIV): Likewise.
3695 (FPE_INTOVF): Likewise.
3696 (FPE_FLTDIV): Likewise.
3697 (FPE_FLTOVF): Likewise.
3698 (FPE_FLTUND): Likewise.
3699 (FPE_FLTRES): Likewise.
3700 (FPE_FLTINV): Likewise.
3701 (FPE_FLTSUB): Likewise.
3702 (SEGV_MAPERR): Likewise.
3703 (SEGV_ACCERR): Likewise.
3704 (BUS_ADRALN): Likewise.
3705 (BUS_ADRERR): Likewise.
3706 (BUS_OBJERR): Likewise.
3707 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3708 (TRAP_TRACE): Likewise.
3709 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3710 __USE_XOPEN2K8].
3711 (CLD_KILLED): Likewise.
3712 (CLD_DUMPED): Likewise.
3713 (CLD_TRAPPED): Likewise.
3714 (CLD_STOPPED): Likewise.
3715 (CLD_CONTINUED): Likewise.
3716 (POLL_IN): Likewise.
3717 (POLL_OUT): Likewise.
3718 (POLL_MSG): Likewise.
3719 (POLL_ERR): Likewise.
3720 (POLL_PRI): Likewise.
3721 (POLL_HUP): Likewise.
3722 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3723 Likewise.
3724 (ILL_ILLOPN): Likewise.
3725 (ILL_ILLADR): Likewise.
3726 (ILL_ILLTRP): Likewise.
3727 (ILL_PRVOPC): Likewise.
3728 (ILL_PRVREG): Likewise.
3729 (ILL_COPROC): Likewise.
3730 (ILL_BADSTK): Likewise.
3731 (FPE_INTDIV): Likewise.
3732 (FPE_INTOVF): Likewise.
3733 (FPE_FLTDIV): Likewise.
3734 (FPE_FLTOVF): Likewise.
3735 (FPE_FLTUND): Likewise.
3736 (FPE_FLTRES): Likewise.
3737 (FPE_FLTINV): Likewise.
3738 (FPE_FLTSUB): Likewise.
3739 (SEGV_MAPERR): Likewise.
3740 (SEGV_ACCERR): Likewise.
3741 (BUS_ADRALN): Likewise.
3742 (BUS_ADRERR): Likewise.
3743 (BUS_OBJERR): Likewise.
3744 (BUS_MCEERR_AR): Likewise.
3745 (BUS_MCEERR_AO): Likewise.
3746 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3747 (TRAP_TRACE): Likewise.
3748 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3749 __USE_XOPEN2K8].
3750 (CLD_KILLED): Likewise.
3751 (CLD_DUMPED): Likewise.
3752 (CLD_TRAPPED): Likewise.
3753 (CLD_STOPPED): Likewise.
3754 (CLD_CONTINUED): Likewise.
3755 (POLL_IN): Likewise.
3756 (POLL_OUT): Likewise.
3757 (POLL_MSG): Likewise.
3758 (POLL_ERR): Likewise.
3759 (POLL_PRI): Likewise.
3760 (POLL_HUP): Likewise.
3761 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3762 (ILL_ILLOPN): Likewise.
3763 (ILL_ILLADR): Likewise.
3764 (ILL_ILLTRP): Likewise.
3765 (ILL_PRVOPC): Likewise.
3766 (ILL_PRVREG): Likewise.
3767 (ILL_COPROC): Likewise.
3768 (ILL_BADSTK): Likewise.
3769 (FPE_INTDIV): Likewise.
3770 (FPE_INTOVF): Likewise.
3771 (FPE_FLTDIV): Likewise.
3772 (FPE_FLTOVF): Likewise.
3773 (FPE_FLTUND): Likewise.
3774 (FPE_FLTRES): Likewise.
3775 (FPE_FLTINV): Likewise.
3776 (FPE_FLTSUB): Likewise.
3777 (SEGV_MAPERR): Likewise.
3778 (SEGV_ACCERR): Likewise.
3779 (BUS_ADRALN): Likewise.
3780 (BUS_ADRERR): Likewise.
3781 (BUS_OBJERR): Likewise.
3782 (BUS_MCEERR_AR): Likewise.
3783 (BUS_MCEERR_AO): Likewise.
3784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3785 (TRAP_TRACE): Likewise.
3786 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3787 __USE_XOPEN2K8].
3788 (CLD_KILLED): Likewise.
3789 (CLD_DUMPED): Likewise.
3790 (CLD_TRAPPED): Likewise.
3791 (CLD_STOPPED): Likewise.
3792 (CLD_CONTINUED): Likewise.
3793 (POLL_IN): Likewise.
3794 (POLL_OUT): Likewise.
3795 (POLL_MSG): Likewise.
3796 (POLL_ERR): Likewise.
3797 (POLL_PRI): Likewise.
3798 (POLL_HUP): Likewise.
3799 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3800 Likewise.
3801 (ILL_ILLOPN): Likewise.
3802 (ILL_ILLADR): Likewise.
3803 (ILL_ILLTRP): Likewise.
3804 (ILL_PRVOPC): Likewise.
3805 (ILL_PRVREG): Likewise.
3806 (ILL_COPROC): Likewise.
3807 (ILL_BADSTK): Likewise.
3808 (ILL_BADIADDR): Likewise.
3809 (ILL_BREAK): Likewise.
3810 (FPE_INTDIV): Likewise.
3811 (FPE_INTOVF): Likewise.
3812 (FPE_FLTDIV): Likewise.
3813 (FPE_FLTOVF): Likewise.
3814 (FPE_FLTUND): Likewise.
3815 (FPE_FLTRES): Likewise.
3816 (FPE_FLTINV): Likewise.
3817 (FPE_FLTSUB): Likewise.
3818 (FPE_DECOVF): Likewise.
3819 (FPE_DECDIV): Likewise.
3820 (FPE_DECERR): Likewise.
3821 (FPE_INVASC): Likewise.
3822 (FPE_INVDEC): Likewise.
3823 (SEGV_MAPERR): Likewise.
3824 (SEGV_ACCERR): Likewise.
3825 (SEGV_PSTKOVF): Likewise.
3826 (BUS_ADRALN): Likewise.
3827 (BUS_ADRERR): Likewise.
3828 (BUS_OBJERR): Likewise.
3829 (BUS_MCEERR_AR): Likewise.
3830 (BUS_MCEERR_AO): Likewise.
3831 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3832 (TRAP_TRACE): Likewise.
3833 (TRAP_BRANCH): Likewise.
3834 (TRAP_HWBKPT): Likewise.
3835 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3836 __USE_XOPEN2K8].
3837 (CLD_KILLED): Likewise.
3838 (CLD_DUMPED): Likewise.
3839 (CLD_TRAPPED): Likewise.
3840 (CLD_STOPPED): Likewise.
3841 (CLD_CONTINUED): Likewise.
3842 (POLL_IN): Likewise.
3843 (POLL_OUT): Likewise.
3844 (POLL_MSG): Likewise.
3845 (POLL_ERR): Likewise.
3846 (POLL_PRI): Likewise.
3847 (POLL_HUP): Likewise.
3848 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3849 (ILL_ILLOPN): Likewise.
3850 (ILL_ILLADR): Likewise.
3851 (ILL_ILLTRP): Likewise.
3852 (ILL_PRVOPC): Likewise.
3853 (ILL_PRVREG): Likewise.
3854 (ILL_COPROC): Likewise.
3855 (ILL_BADSTK): Likewise.
3856 (FPE_INTDIV): Likewise.
3857 (FPE_INTOVF): Likewise.
3858 (FPE_FLTDIV): Likewise.
3859 (FPE_FLTOVF): Likewise.
3860 (FPE_FLTUND): Likewise.
3861 (FPE_FLTRES): Likewise.
3862 (FPE_FLTINV): Likewise.
3863 (FPE_FLTSUB): Likewise.
3864 (SEGV_MAPERR): Likewise.
3865 (SEGV_ACCERR): Likewise.
3866 (BUS_ADRALN): Likewise.
3867 (BUS_ADRERR): Likewise.
3868 (BUS_OBJERR): Likewise.
3869 (BUS_MCEERR_AR): Likewise.
3870 (BUS_MCEERR_AO): Likewise.
3871 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3872 (TRAP_TRACE): Likewise.
3873 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3874 __USE_XOPEN2K8].
3875 (CLD_KILLED): Likewise.
3876 (CLD_DUMPED): Likewise.
3877 (CLD_TRAPPED): Likewise.
3878 (CLD_STOPPED): Likewise.
3879 (CLD_CONTINUED): Likewise.
3880 (POLL_IN): Likewise.
3881 (POLL_OUT): Likewise.
3882 (POLL_MSG): Likewise.
3883 (POLL_ERR): Likewise.
3884 (POLL_PRI): Likewise.
3885 (POLL_HUP): Likewise.
3886 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3887 (ILL_ILLOPN): Likewise.
3888 (ILL_ILLADR): Likewise.
3889 (ILL_ILLTRP): Likewise.
3890 (ILL_PRVOPC): Likewise.
3891 (ILL_PRVREG): Likewise.
3892 (ILL_COPROC): Likewise.
3893 (ILL_BADSTK): Likewise.
3894 (FPE_INTDIV): Likewise.
3895 (FPE_INTOVF): Likewise.
3896 (FPE_FLTDIV): Likewise.
3897 (FPE_FLTOVF): Likewise.
3898 (FPE_FLTUND): Likewise.
3899 (FPE_FLTRES): Likewise.
3900 (FPE_FLTINV): Likewise.
3901 (FPE_FLTSUB): Likewise.
3902 (SEGV_MAPERR): Likewise.
3903 (SEGV_ACCERR): Likewise.
3904 (BUS_ADRALN): Likewise.
3905 (BUS_ADRERR): Likewise.
3906 (BUS_OBJERR): Likewise.
3907 (BUS_MCEERR_AR): Likewise.
3908 (BUS_MCEERR_AO): Likewise.
3909 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3910 (TRAP_TRACE): Likewise.
3911 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3912 __USE_XOPEN2K8].
3913 (CLD_KILLED): Likewise.
3914 (CLD_DUMPED): Likewise.
3915 (CLD_TRAPPED): Likewise.
3916 (CLD_STOPPED): Likewise.
3917 (CLD_CONTINUED): Likewise.
3918 (POLL_IN): Likewise.
3919 (POLL_OUT): Likewise.
3920 (POLL_MSG): Likewise.
3921 (POLL_ERR): Likewise.
3922 (POLL_PRI): Likewise.
3923 (POLL_HUP): Likewise.
3924 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3925 (ILL_ILLOPN): Likewise.
3926 (ILL_ILLADR): Likewise.
3927 (ILL_ILLTRP): Likewise.
3928 (ILL_PRVOPC): Likewise.
3929 (ILL_PRVREG): Likewise.
3930 (ILL_COPROC): Likewise.
3931 (ILL_BADSTK): Likewise.
3932 (FPE_INTDIV): Likewise.
3933 (FPE_INTOVF): Likewise.
3934 (FPE_FLTDIV): Likewise.
3935 (FPE_FLTOVF): Likewise.
3936 (FPE_FLTUND): Likewise.
3937 (FPE_FLTRES): Likewise.
3938 (FPE_FLTINV): Likewise.
3939 (FPE_FLTSUB): Likewise.
3940 (SEGV_MAPERR): Likewise.
3941 (SEGV_ACCERR): Likewise.
3942 (BUS_ADRALN): Likewise.
3943 (BUS_ADRERR): Likewise.
3944 (BUS_OBJERR): Likewise.
3945 (BUS_MCEERR_AR): Likewise.
3946 (BUS_MCEERR_AO): Likewise.
3947 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3948 (TRAP_TRACE): Likewise.
3949 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3950 __USE_XOPEN2K8].
3951 (CLD_KILLED): Likewise.
3952 (CLD_DUMPED): Likewise.
3953 (CLD_TRAPPED): Likewise.
3954 (CLD_STOPPED): Likewise.
3955 (CLD_CONTINUED): Likewise.
3956 (POLL_IN): Likewise.
3957 (POLL_OUT): Likewise.
3958 (POLL_MSG): Likewise.
3959 (POLL_ERR): Likewise.
3960 (POLL_PRI): Likewise.
3961 (POLL_HUP): Likewise.
3962 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3963 (ILL_ILLOPN): Likewise.
3964 (ILL_ILLADR): Likewise.
3965 (ILL_ILLTRP): Likewise.
3966 (ILL_PRVOPC): Likewise.
3967 (ILL_PRVREG): Likewise.
3968 (ILL_COPROC): Likewise.
3969 (ILL_BADSTK): Likewise.
3970 (ILL_DBLFLT): Likewise.
3971 (ILL_HARDWALL): Likewise.
3972 (FPE_INTDIV): Likewise.
3973 (FPE_INTOVF): Likewise.
3974 (FPE_FLTDIV): Likewise.
3975 (FPE_FLTOVF): Likewise.
3976 (FPE_FLTUND): Likewise.
3977 (FPE_FLTRES): Likewise.
3978 (FPE_FLTINV): Likewise.
3979 (FPE_FLTSUB): Likewise.
3980 (SEGV_MAPERR): Likewise.
3981 (SEGV_ACCERR): Likewise.
3982 (BUS_ADRALN): Likewise.
3983 (BUS_ADRERR): Likewise.
3984 (BUS_OBJERR): Likewise.
3985 (BUS_MCEERR_AR): Likewise.
3986 (BUS_MCEERR_AO): Likewise.
3987 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3988 (TRAP_TRACE): Likewise.
3989 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3990 __USE_XOPEN2K8].
3991 (CLD_KILLED): Likewise.
3992 (CLD_DUMPED): Likewise.
3993 (CLD_TRAPPED): Likewise.
3994 (CLD_STOPPED): Likewise.
3995 (CLD_CONTINUED): Likewise.
3996 (POLL_IN): Likewise.
3997 (POLL_OUT): Likewise.
3998 (POLL_MSG): Likewise.
3999 (POLL_ERR): Likewise.
4000 (POLL_PRI): Likewise.
4001 (POLL_HUP): Likewise.
4002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4003 (ILL_ILLOPN): Likewise.
4004 (ILL_ILLADR): Likewise.
4005 (ILL_ILLTRP): Likewise.
4006 (ILL_PRVOPC): Likewise.
4007 (ILL_PRVREG): Likewise.
4008 (ILL_COPROC): Likewise.
4009 (ILL_BADSTK): Likewise.
4010 (FPE_INTDIV): Likewise.
4011 (FPE_INTOVF): Likewise.
4012 (FPE_FLTDIV): Likewise.
4013 (FPE_FLTOVF): Likewise.
4014 (FPE_FLTUND): Likewise.
4015 (FPE_FLTRES): Likewise.
4016 (FPE_FLTINV): Likewise.
4017 (FPE_FLTSUB): Likewise.
4018 (SEGV_MAPERR): Likewise.
4019 (SEGV_ACCERR): Likewise.
4020 (BUS_ADRALN): Likewise.
4021 (BUS_ADRERR): Likewise.
4022 (BUS_OBJERR): Likewise.
4023 (BUS_MCEERR_AR): Likewise.
4024 (BUS_MCEERR_AO): Likewise.
4025 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4026 (TRAP_TRACE): Likewise.
4027 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4028 __USE_XOPEN2K8].
4029 (CLD_KILLED): Likewise.
4030 (CLD_DUMPED): Likewise.
4031 (CLD_TRAPPED): Likewise.
4032 (CLD_STOPPED): Likewise.
4033 (CLD_CONTINUED): Likewise.
4034 (POLL_IN): Likewise.
4035 (POLL_OUT): Likewise.
4036 (POLL_MSG): Likewise.
4037 (POLL_ERR): Likewise.
4038 (POLL_PRI): Likewise.
4039 (POLL_HUP): Likewise.
4040 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4041 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4042
bc61d27c
JM
4043 [BZ #16670]
4044 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4045 before #include of <time.h>.
4046 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4047 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4048 (test-xfail-UNIX98/sched.h/conform): Likewise.
4049
302949e2
MS
40502014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4051
4052 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4053 error absence of trapping exception support.
4054 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4055
a00f522a
JM
40562014-03-07 Joseph Myers <joseph@codesourcery.com>
4057
6f99f280
JM
4058 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4059 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4060 * timezone/Makefile (testdata): Move definition above include of
4061 Rules.
4062 (test-zones): New variable.
4063 (tests-special): Add zone files.
4064 (build-testdata): Use $(evaluate-test).
4065
0b20a9e8
JM
4066 * elf/Makefile (tests-special): Rename tests to end with .out.
4067 ($(objpfx)noload-mem): Likewise.
4068 ($(objpfx)tst-leaks1-mem): Likewise.
4069 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4070 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4071 $(objpfx)test-iconvconfig.out.
4072 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4073 set -e inside subshell and redirect output to file.
4074 * iconvdata/Makefile (generated): Rename tests to end with .out.
4075 Correct type.
4076 (tests-special): Rename tests to end with .out.
4077 ($(objpfx)mtrace-tst-loading): Likewise.
4078 * intl/Makefile (generated): Likewise.
4079 (tests-special): Likewise.
4080 ($(objpfx)mtrace-tst-gettext): Likewise.
4081 * misc/Makefile (generated): Likewise.
4082 (tests-special): Likewise.
4083 ($(objpfx)tst-error1-mem): Likewise.
4084 * nptl/Makefile (tests-special): Likewise.
4085 ($(objpfx)tst-stack3-mem): Likewise.
4086 (generated): Likewise.
4087 * posix/Makefile (generated): Likewise.
4088 (tests-special): Likewise.
4089 (xtests-special): Likewise.
4090 ($(objpfx)tst-fnmatch-mem): Likewise.
4091 ($(objpfx)bug-regex2-mem): Likewise.
4092 ($(objpfx)bug-regex14-mem): Likewise.
4093 ($(objpfx)bug-regex21-mem): Likewise.
4094 ($(objpfx)bug-regex31-mem): Likewise.
4095 ($(objpfx)tst-vfork3-mem): Likewise.
4096 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4097 ($(objpfx)tst-pcre-mem): Likewise.
4098 ($(objpfx)tst-boost-mem): Likewise.
4099 ($(objpfx)bug-ga2-mem): Likewise.
4100 ($(objpfx)bug-glob2-mem): Likewise.
4101 * resolv/Makefile (generate): Likewise.
4102 (tests-special): Likewise.
4103 (xtests-special): Likewise.
4104 (generated): Likewise.
4105 ($(objpfx)mtrace-tst-leaks): Likewise.
4106 ($(objpfx)mtrace-tst-leaks2): Likewise.
4107
265d52ab
JM
4108 * scripts/merge-test-results.sh: New file.
4109 * Makefile (tests-special-notdir): New variable.
4110 (tests): Run merge-test-results.sh.
4111 (xtests): Likewise.
4112 * Rules (tests-special-notdir): New variable.
4113 (xtests-special-notdir): Likewise.
4114 (tests): Run merge-test-results.sh
4115 (xtests): Likewise.
4116
54ee292d
JM
4117 * Makeconfig (test-xfail-name): New variable.
4118 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4119 compute variable name for expected failures.
4120 * conform/Makefile (conformtest-headers-data): New variable.
4121 (conformtest-standards): Likewise.
4122 (conformtest-headers-ISO): Likewise.
4123 (conformtest-headers-ISO99): Likewise.
4124 (conformtest-headers-ISO11): Likewise.
4125 (conformtest-headers-POSIX): Likewise.
4126 (conformtest-headers-XPG3): Likewise.
4127 (conformtest-headers-XPG4): Likewise.
4128 (conformtest-headers-UNIX98): Likewise.
4129 (conformtest-headers-XOPEN2K): Likewise.
4130 (conformtest-headers-POSIX2008): Likewise.
4131 (conformtest-headers-XOPEN2K8): Likewise.
4132 (conformtest-header-list-base): Likewise.
4133 (conformtest-header-list-tests): Likewise.
4134 (conformtest-header-base): Likewise.
4135 (conformtest-header-tests): Likewise.
4136 (tests-special): Add $(conformtest-header-list-tests). If
4137 [$(fast-check) && !$(cross-compiling)], add
4138 $(conformtest-header-tests) instead of
4139 $(objpfx)run-conformtest.out.
4140 (generated): Add $(conformtest-header-list-base). If
4141 [$(fast-check) && !$(cross-compiling)], add
4142 $(conformtest-header-base). Remove previous setting.
4143 ($(conformtest-header-list-tests)): New target.
4144 (test-xfail-run-conformtest): Remove variable.
4145 ($(objpfx)run-conformtest.out): Remove target.
4146 (test-xfail-ISO11/complex.h/conform): New variable.
4147 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4148 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4149 (test-xfail-XPG3/varargs.h/conform): Likewise.
4150 (test-xfail-XPG4/varargs.h/conform): Likewise.
4151 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4152 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4153 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4154 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4155 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4156 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4157 (test-xfail-XPG3/ftw.h/conform): Likewise.
4158 (test-xfail-XPG3/grp.h/conform): Likewise.
4159 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4160 (test-xfail-XPG3/limits.h/conform): Likewise.
4161 (test-xfail-XPG3/pwd.h/conform): Likewise.
4162 (test-xfail-XPG3/search.h/conform): Likewise.
4163 (test-xfail-XPG3/signal.h/conform): Likewise.
4164 (test-xfail-XPG3/stdio.h/conform): Likewise.
4165 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4166 (test-xfail-XPG3/string.h/conform): Likewise.
4167 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4168 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4169 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4170 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4171 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4172 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4173 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4174 (test-xfail-XPG3/termios.h/conform): Likewise.
4175 (test-xfail-XPG3/time.h/conform): Likewise.
4176 (test-xfail-XPG3/unistd.h/conform): Likewise.
4177 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4178 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4179 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4180 (test-xfail-XPG4/netdb.h/conform): Likewise.
4181 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4182 (test-xfail-XPG4/signal.h/conform): Likewise.
4183 (test-xfail-XPG4/stdio.h/conform): Likewise.
4184 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4185 (test-xfail-XPG4/stropts.h/conform): Likewise.
4186 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4187 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4188 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4189 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4190 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4191 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4192 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4193 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4194 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4195 (test-xfail-XPG4/termios.h/conform): Likewise.
4196 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4197 (test-xfail-XPG4/unistd.h/conform): Likewise.
4198 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4199 (test-xfail-POSIX/sched.h/conform): Likewise.
4200 (test-xfail-POSIX/signal.h/conform): Likewise.
4201 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4202 (test-xfail-POSIX/tar.h/conform): Likewise.
4203 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4204 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4205 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4206 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4207 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4208 (test-xfail-UNIX98/sched.h/conform): Likewise.
4209 (test-xfail-UNIX98/signal.h/conform): Likewise.
4210 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4211 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4212 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4213 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4214 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4215 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4216 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4217 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4218 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4219 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4220 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4221 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4222 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4223 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4224 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4225 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4226 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4227 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4228 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4229 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4230 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4231 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4232 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4233 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4234 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4235 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4236 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4237 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4238 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4239 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4240 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4241 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4242 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4243 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4244 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4245 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4246 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4247 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4248 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4249 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4250 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4251 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4252 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4253 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4254 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4255 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4256 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4257 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4258 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4259 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4260 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4261 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4262 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4263 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4264 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4265 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4266 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4267 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4268 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4269 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4270 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4271 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4272 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4273 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4274 (conformtest-cc-flags): Likewise.
4275 ($(conformtest-header-tests): New target.
4276 * conform/check-header-lists.sh: New file.
4277 * conform/run-conformtest.sh: Remove.
4278
a00f522a
JM
4279 * conform/conformtest.pl: Allow ' and \ in values given for
4280 constants.
4281 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4282 inclusion.
4283 [POSIX] (sys/types.h): Likewise.
4284 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4285 inclusion.
4286 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4287 inclusion.
4288 * conform/data/signal.h-data (SIGIO): Remove expectation.
4289 [XPG3] (SIGBUS): Do not expect.
4290 [POSIX || XPG3] (SIGPOLL): Likewise.
4291 [POSIX || XPG3] (SIGPROF): Likewise.
4292 [POSIX || XPG3] (SIGSYS): Likewise.
4293 [XPG3] (SIGTRAP): Likewise.
4294 [POSIX || XPG3] (SIGURG): Likewise.
4295 [POSIX || XPG3] (SIGVTALRM): Likewise.
4296 [POSIX || XPG3] (SIGXCPU): Likewise.
4297 [POSIX || XPG3] (SIGXFSZ): Likewise.
4298 [POSIX] (SA_SIGINFO): Expect.
4299 [XPG3] (siginfo_t): Do not expect type or contents.
4300 [POSIX] (si_pid): Do not expect element.
4301 [POSIX] (si_uid): Likewise.
4302 [POSIX] (si_addr): Likewise.
4303 [POSIX] (si_status): Likewise.
4304 [POSIX] (si_band): Likewise.
4305 [XPG4] (si_value): Likewise.
4306 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4307 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4308 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4309 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4310 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4311 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4312 [POSIX || XPG3] (ILL_COPROC): Likewise.
4313 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4314 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4315 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4316 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4317 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4318 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4319 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4320 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4321 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4322 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4323 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4324 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4325 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4326 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4327 [POSIX || XPG3] (CLD_EXITED): Likewise.
4328 [POSIX || XPG3] (CLD_KILLED): Likewise.
4329 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4330 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4331 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4332 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4333 [POSIX || XPG3] (POLL_IN): Likewise.
4334 [POSIX || XPG3] (POLL_OUT): Likewise.
4335 [POSIX || XPG3] (POLL_MSG): Likewise.
4336 [POSIX || XPG3] (POLL_ERR): Likewise.
4337 [POSIX || XPG3] (POLL_PRI): Likewise.
4338 [POSIX || XPG3] (POLL_HUP): Likewise.
4339 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4340 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4341 (SIG*): Do not allow.
4342 [XPG3] (si_*): Likewise.
4343 [XPG3] (SI_*): Likewise.
4344 [XPG3 || XPG4] (sigev_*): Likewise.
4345 [XPG3 || XPG4] (SIGEV_*): Likewise.
4346 [XPG3 || XPG4] (sival_*): Likewise.
4347 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4348 [POSIX || XPG3] (BUS_*): Likewise.
4349 [POSIX || XPG3] (CLD_*): Likewise.
4350 [POSIX || XPG3] (FPE_*): Likewise.
4351 [POSIX || XPG3] (ILL_*): Likewise.
4352 [POSIX || XPG3] (POLL_*): Likewise.
4353 [POSIX || XPG3] (SEGV_*): Likewise.
4354 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4355 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4356 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4357 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4358 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4359 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4360 Specify type and value.
4361 (TVERSLEN): Likewise.
4362 (REGTYPE): Likewise.
4363 (AREGTYPE): Likewise.
4364 (LNKTYPE): Likewise.
4365 (SYMTYPE): Likewise.
4366 (CHRTYPE): Likewise.
4367 (BLKTYPE): Likewise.
4368 (DIRTYPE): Likewise.
4369 (FIFOTYPE): Likewise.
4370 (CONTTYPE): Likewise.
4371 (TSUID): Likewise.
4372 (TSGID): Likewise.
4373 (TSVTX): Likewise.
4374 (TUREAD): Likewise.
4375 (TUWRITE): Likewise.
4376 (TUEXEC): Likewise.
4377 (TGREAD): Likewise.
4378 (TGWRITE): Likewise.
4379 (TGEXEC): Likewise.
4380 (TOREAD): Likewise.
4381 (TOWRITE): Likewise.
4382 (TOEXEC): Likewise.
4383 [POSIX] (TSVTX): Expect constant.
4384
aa97dee1
JM
43852014-03-06 Joseph Myers <joseph@codesourcery.com>
4386
f214606a
JM
4387 * Makefile (tests): Change dependencies to ....
4388 (tests-special): ... additions to this variable.
4389 (tests): Depend on $(tests-special).
4390 * Makerules (check-abi-list): New variable.
4391 (check-abi): Depend on $(check-abi-list).
4392 [$(subdir) = elf] (tests-special): Add
4393 $(objpfx)check-abi-libc.out.
4394 [$(build-shared) = yes && subdir] (tests-special): Add
4395 $(check-abi-list).
4396 [$(build-shared) = yes && subdir] (tests): Do not depend on
4397 check-abi.
4398 * Rules (tests): Depend on $(tests-special).
4399 (xtests): Depend on $(xtests-special).
4400 * catgets/Makefile (tests): Change dependencies to ....
4401 (tests-special): ... additions to this variable.
4402 * conform/Makefile (tests): Change dependencies to ....
4403 (tests-special): ... additions to this variable.
4404 * elf/Makefile (tests): Change dependencies to ....
4405 (tests-special): ... additions to this variable.
4406 * grp/Makefile (tests): Change dependencies to ....
4407 (tests-special): ... additions to this variable.
4408 * iconv/Makefile (xtests): Change dependencies to ....
4409 (xtests-special): ... additions to this variable.
4410 * iconvdata/Makefile (tests): Change dependencies to ....
4411 (tests-special): ... additions to this variable.
4412 * intl/Makefile (tests): Change dependencies to ....
4413 (tests-special): ... additions to this variable. Also add
4414 $(objpfx)tst-gettext.out.
4415 * io/Makefile (tests): Change dependencies to ....
4416 (tests-special): ... additions to this variable.
4417 * libio/Makefile (tests): Change dependencies to ....
4418 (tests-special): ... additions to this variable.
4419 * malloc/Makefile (tests): Change dependencies to ....
4420 (tests-special): ... additions to this variable.
4421 * misc/Makefile (tests): Change dependencies to ....
4422 (tests-special): ... additions to this variable.
4423 * nptl/Makefile (tests): Change dependencies to ....
4424 (tests-special): ... additions to this variable.
4425 * nptl_db/Makefile (tests): Change dependencies to ....
4426 (tests-special): ... additions to this variable.
4427 * posix/Makefile (tests): Change dependencies to ....
4428 (tests-special): ... additions to this variable.
4429 (xtests): Change dependencies to ....
4430 (xtests-special): ... additions to this variable.
4431 * resolv/Makefile (tests): Change dependencies to ....
4432 (tests-special): ... additions to this variable.
4433 (xtests): Change dependencies to ....
4434 (xtests-special): ... additions to this variable.
4435 * stdio-common/Makefile (tests): Change dependencies to ....
4436 (tests-special): ... additions to this variable.
4437 (do-tst-unbputc): Remove target.
4438 (do-tst-printf): Likewise.
4439 * stdlib/Makefile (tests): Change dependencies to ....
4440 (tests-special): ... additions to this variable.
4441 * string/Makefile (tests): Change dependencies to ....
4442 (tests-special): ... additions to this variable.
4443 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4444 (tests-special): ... additions to this variable.
4445
81700b53
JM
4446 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4447 whole file.
4448 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4449 whole file.
4450 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4451 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4452
2ea18461
JM
4453 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4454 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4455 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4456 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4457 * conform/data/libgen.h-data [XPG3]: Likewise.
4458 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4459 * conform/data/ndbm.h-data [XPG3]: Likewise.
4460 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4461 * conform/data/netdb.h-data [XPG3]: Likewise.
4462 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4463 * conform/data/poll.h-data [XPG3]: Likewise.
4464 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4465 * conform/data/strings.h-data [XPG3]: Likewise.
4466 * conform/data/stropts.h-data [XPG3]: Likewise.
4467 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4468 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4469 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4470 Likewise.
4471 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4472 * conform/data/sys/time.h-data [XPG3]: Likewise.
4473 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4474 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4475 * conform/data/sys/un.h-data [XPG3]: Likewise.
4476 * conform/data/syslog.h-data [XPG3]: Likewise.
4477 * conform/data/ucontext.h-data [XPG3]: Likewise.
4478 * conform/data/utmpx.h-data [XPG3]: Likewise.
4479 * conform/data/varargs.h-data [UNIX98]: Enable file.
4480
355bc986
JM
4481 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4482
215db402
JM
4483 * math/libm-test.inc (struct test_f_f_data): Move expected results
4484 into structure for each rounding mode.
4485 (struct test_ff_f_data): Likewise.
4486 (struct test_ff_f_data_nexttoward): Likewise.
4487 (struct test_fi_f_data): Likewise.
4488 (struct test_fl_f_data): Likewise.
4489 (struct test_if_f_data): Likewise.
4490 (struct test_fff_f_data): Likewise.
4491 (struct test_c_f_data): Likewise.
4492 (struct test_f_f1_data): Likewise.
4493 (struct test_fF_f1_data): Likewise.
4494 (struct test_ffI_f1_data): Likewise.
4495 (struct test_c_c_data): Likewise.
4496 (struct test_cc_c_data): Likewise.
4497 (struct test_f_i_data): Likewise.
4498 (struct test_ff_i_data): Likewise.
4499 (struct test_f_l_data): Likewise.
4500 (struct test_f_L_data): Likewise.
4501 (struct test_fFF_11_data): Likewise.
4502 (RM_): New macro.
4503 (RM_FE_DOWNWARD): Likewise.
4504 (RM_FE_TONEAREST): Likewise.
4505 (RM_FE_TOWARDZERO): Likewise.
4506 (RM_FE_UPWARD): Likewise.
4507 (RUN_TEST_LOOP_f_f): Update references to expected results.
4508 (RUN_TEST_LOOP_2_f): Likewise.
4509 (RUN_TEST_LOOP_fff_f): Likewise.
4510 (RUN_TEST_LOOP_c_f): Likewise.
4511 (RUN_TEST_LOOP_f_f1): Likewise.
4512 (RUN_TEST_LOOP_fF_f1): Likewise.
4513 (RUN_TEST_LOOP_fI_f1): Likewise.
4514 (RUN_TEST_LOOP_ffI_f1): Likewise.
4515 (RUN_TEST_LOOP_c_c): Likewise.
4516 (RUN_TEST_LOOP_cc_c): Likewise.
4517 (RUN_TEST_LOOP_f_i): Likewise.
4518 (RUN_TEST_LOOP_f_i_tg): Likewise.
4519 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4520 (RUN_TEST_LOOP_f_b): Likewise.
4521 (RUN_TEST_LOOP_f_b_tg): Likewise.
4522 (RUN_TEST_LOOP_f_l): Likewise.
4523 (RUN_TEST_LOOP_f_L): Likewise.
4524 (RUN_TEST_LOOP_fFF_11): Likewise.
4525 * math/gen-libm-test.pl (parse_args): Output four copies of
4526 expected results for each test.
4527
67737b8f
JM
4528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4529 (__ASSUME_UTIMES): Remove.
4530 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4531 (__ASSUME_UTIMES): Likewise.
4532
aa97dee1
JM
4533 * math/gen-auto-libm-tests.c: Update comment on output format.
4534 (output_for_one_input_case): Generate before-rounding and
4535 after-rounding information as conditions on output flags not
4536 floating-point format.
4537 * math/auto-libm-test-out: Regenerated.
4538 * math/gen-libm-test.pl (cond_value): New function.
4539 (or_cond_value): Use cond_value.
4540 (generate_testfile): Handle conditional exceptions.
4541
e6b6a857
JM
45422014-03-05 Joseph Myers <joseph@codesourcery.com>
4543
2f0a0f44
JM
4544 * math/libm-test.inc (max_valid_error): New variable.
4545 (init_max_error): Take new argument specifying whether function
4546 results are exactly determined. Set max_valid_error and bound
4547 other variables for errors based on this argument.
4548 (set_max_error): Do not record results above max_valid_error.
4549 (check_float_internal): Only accept errors of up to 0.5ulps if
4550 also at most max_valid_error.
4551 (START): Take new argument EXACT and pass it to init_max_error.
4552 (acos_test): Update call to START.
4553 (acos_test_tonearest): Likewise.
4554 (acos_test_towardzero): Likewise.
4555 (acos_test_downward): Likewise.
4556 (acos_test_upward): Likewise.
4557 (acosh_test): Likewise.
4558 (asin_test): Likewise.
4559 (asin_test_tonearest): Likewise.
4560 (asin_test_towardzero): Likewise.
4561 (asin_test_downward): Likewise.
4562 (asin_test_upward): Likewise.
4563 (asinh_test): Likewise.
4564 (atan_test): Likewise.
4565 (atanh_test): Likewise.
4566 (atan2_test): Likewise.
4567 (cabs_test): Likewise.
4568 (cacos_test): Likewise.
4569 (cacosh_test): Likewise.
4570 (carg_test): Likewise.
4571 (casin_test): Likewise.
4572 (casinh_test): Likewise.
4573 (catan_test): Likewise.
4574 (catanh_test): Likewise.
4575 (cbrt_test): Likewise.
4576 (ccos_test): Likewise.
4577 (ccosh_test): Likewise.
4578 (ceil_test): Likewise.
4579 (cexp_test): Likewise.
4580 (cimag_test): Likewise.
4581 (clog_test): Likewise.
4582 (clog10_test): Likewise.
4583 (conj_test): Likewise.
4584 (copysign_test): Likewise.
4585 (cos_test): Likewise.
4586 (cos_test_tonearest): Likewise.
4587 (cos_test_towardzero): Likewise.
4588 (cos_test_downward): Likewise.
4589 (cos_test_upward): Likewise.
4590 (cosh_test): Likewise.
4591 (cosh_test_tonearest): Likewise.
4592 (cosh_test_towardzero): Likewise.
4593 (cosh_test_downward): Likewise.
4594 (cosh_test_upward): Likewise.
4595 (cpow_test): Likewise.
4596 (cproj_test): Likewise.
4597 (creal_test): Likewise.
4598 (csin_test): Likewise.
4599 (csinh_test): Likewise.
4600 (csqrt_test): Likewise.
4601 (ctan_test): Likewise.
4602 (ctan_test_tonearest): Likewise.
4603 (ctan_test_towardzero): Likewise.
4604 (ctan_test_downward): Likewise.
4605 (ctan_test_upward): Likewise.
4606 (ctanh_test): Likewise.
4607 (ctanh_test_tonearest): Likewise.
4608 (ctanh_test_towardzero): Likewise.
4609 (ctanh_test_downward): Likewise.
4610 (ctanh_test_upward): Likewise.
4611 (erf_test): Likewise.
4612 (erfc_test): Likewise.
4613 (exp_test): Likewise.
4614 (exp_test_tonearest): Likewise.
4615 (exp_test_towardzero): Likewise.
4616 (exp_test_downward): Likewise.
4617 (exp_test_upward): Likewise.
4618 (exp10_test): Likewise.
4619 (exp10_test_tonearest): Likewise.
4620 (exp10_test_towardzero): Likewise.
4621 (exp10_test_downward): Likewise.
4622 (exp10_test_upward): Likewise.
4623 (pow10_test): Likewise.
4624 (exp2_test): Likewise.
4625 (expm1_test): Likewise.
4626 (expm1_test_tonearest): Likewise.
4627 (expm1_test_towardzero): Likewise.
4628 (expm1_test_downward): Likewise.
4629 (expm1_test_upward): Likewise.
4630 (fabs_test): Likewise.
4631 (fdim_test): Likewise.
4632 (floor_test): Likewise.
4633 (fma_test): Likewise.
4634 (fma_test_towardzero): Likewise.
4635 (fma_test_downward): Likewise.
4636 (fma_test_upward): Likewise.
4637 (fmax_test): Likewise.
4638 (fmin_test): Likewise.
4639 (fmod_test): Likewise.
4640 (fpclassify_test): Likewise.
4641 (frexp_test): Likewise.
4642 (hypot_test): Likewise.
4643 (ilogb_test): Likewise.
4644 (isfinite_test): Likewise.
4645 (finite_test): Likewise.
4646 (isgreater_test): Likewise.
4647 (isgreaterequal_test): Likewise.
4648 (isinf_test): Likewise.
4649 (isless_test): Likewise.
4650 (islessequal_test): Likewise.
4651 (islessgreater_test): Likewise.
4652 (isnan_test): Likewise.
4653 (isnormal_test): Likewise.
4654 (issignaling_test): Likewise.
4655 (isunordered_test): Likewise.
4656 (j0_test): Likewise.
4657 (j1_test): Likewise.
4658 (jn_test): Likewise.
4659 (ldexp_test): Likewise.
4660 (lgamma_test): Likewise.
4661 (gamma_test): Likewise.
4662 (lrint_test): Likewise.
4663 (lrint_test_tonearest): Likewise.
4664 (lrint_test_towardzero): Likewise.
4665 (lrint_test_downward): Likewise.
4666 (lrint_test_upward): Likewise.
4667 (llrint_test): Likewise.
4668 (llrint_test_tonearest): Likewise.
4669 (llrint_test_towardzero): Likewise.
4670 (llrint_test_downward): Likewise.
4671 (llrint_test_upward): Likewise.
4672 (log_test): Likewise.
4673 (log10_test): Likewise.
4674 (log1p_test): Likewise.
4675 (log2_test): Likewise.
4676 (logb_test): Likewise.
4677 (logb_test_downward): Likewise.
4678 (lround_test): Likewise.
4679 (llround_test): Likewise.
4680 (modf_test): Likewise.
4681 (nearbyint_test): Likewise.
4682 (nextafter_test): Likewise.
4683 (nexttoward_test): Likewise.
4684 (pow_test): Likewise.
4685 (pow_test_tonearest): Likewise.
4686 (pow_test_towardzero): Likewise.
4687 (pow_test_downward): Likewise.
4688 (pow_test_upward): Likewise.
4689 (remainder_test): Likewise.
4690 (drem_test): Likewise.
4691 (remainder_test_tonearest): Likewise.
4692 (drem_test_tonearest): Likewise.
4693 (remainder_test_towardzero): Likewise.
4694 (drem_test_towardzero): Likewise.
4695 (remainder_test_downward): Likewise.
4696 (drem_test_downward): Likewise.
4697 (remainder_test_upward): Likewise.
4698 (drem_test_upward): Likewise.
4699 (remquo_test): Likewise.
4700 (rint_test): Likewise.
4701 (rint_test_tonearest): Likewise.
4702 (rint_test_towardzero): Likewise.
4703 (rint_test_downward): Likewise.
4704 (rint_test_upward): Likewise.
4705 (round_test): Likewise.
4706 (scalb_test): Likewise.
4707 (scalbn_test): Likewise.
4708 (scalbln_test): Likewise.
4709 (signbit_test): Likewise.
4710 (sin_test): Likewise.
4711 (sin_test_tonearest): Likewise.
4712 (sin_test_towardzero): Likewise.
4713 (sin_test_downward): Likewise.
4714 (sin_test_upward): Likewise.
4715 (sincos_test): Likewise.
4716 (sinh_test): Likewise.
4717 (sinh_test_tonearest): Likewise.
4718 (sinh_test_towardzero): Likewise.
4719 (sinh_test_downward): Likewise.
4720 (sinh_test_upward): Likewise.
4721 (sqrt_test): Likewise.
4722 (sqrt_test_tonearest): Likewise.
4723 (sqrt_test_towardzero): Likewise.
4724 (sqrt_test_downward): Likewise.
4725 (sqrt_test_upward): Likewise.
4726 (tan_test): Likewise.
4727 (tan_test_tonearest): Likewise.
4728 (tan_test_towardzero): Likewise.
4729 (tan_test_downward): Likewise.
4730 (tan_test_upward): Likewise.
4731 (tanh_test): Likewise.
4732 (tgamma_test): Likewise.
4733 (trunc_test): Likewise.
4734 (y0_test): Likewise.
4735 (y1_test): Likewise.
4736 (yn_test): Likewise.
4737 (significand_test): Likewise.
4738
e6b6a857
JM
4739 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4740 individual tests in comment.
4741 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4742 (prev_max_error): New variable.
4743 (prev_real_max_error): Likewise.
4744 (prev_imag_max_error): Likewise.
4745 (compare_ulp_data): Don't refer to test names in comment.
4746 (find_test_ulps): Remove function.
4747 (find_function_ulps): Likewise.
4748 (find_complex_function_ulps): Likewise.
4749 (init_max_error): Take function name as argument. Look up ulps
4750 for that function.
4751 (print_ulps): Remove function.
4752 (print_max_error): Use prev_max_error instead of calling
4753 find_function_ulps.
4754 (print_complex_max_error): Use prev_real_max_error and
4755 prev_imag_max_error instead of calling find_complex_function_ulps.
4756 (check_float_internal): Take max_ulp parameter instead of calling
4757 find_test_ulps. Don't call print_ulps.
4758 (check_float): Update call to check_float_internal.
4759 (check_complex): Update calls to check_float_internal.
4760 (START): Pass argument to init_max_error.
4761 * math/gen-libm-test.pl (%results): Don't include "kind"
4762 information.
4763 (parse_ulps): Don't handle ulps of individual tests.
4764 (print_ulps_file): Likewise.
4765 (output_ulps): Likewise.
4766 * math/README.libm-test: Update.
4767 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4768 individual tests.
4769 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4770 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4771 * sysdeps/arm/libm-test-ulps: Likewise.
4772 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4773 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4774 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4775 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4776 * sysdeps/microblaze/libm-test-ulps: Likewise.
4777 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4778 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4779 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4780 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4781 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4782 * sysdeps/sh/libm-test-ulps: Likewise.
4783 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4784 * sysdeps/tile/libm-test-ulps: Likewise.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4786
45adef3c
JM
47872014-03-04 Joseph Myers <joseph@codesourcery.com>
4788
4789 * math/libm-test.inc (print_complex_max_error): Check separately
4790 whether real and imaginary errors are within allowed range and
4791 pass 0 to print_complex_function_ulps instead of value within
4792 allowed range.
4793
000232b9
SP
47942014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4795
d4b17258
SP
4796 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4797 formatting.
4798 (get_handles_fopen): Likewise.
4799 (do_write_test): Likewise.
4800
091eff71
SP
4801 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4802
fa3cd248
SP
4803 * libio/fileops.c (do_ftell): Use cached offset when
4804 available.
4805 * libio/iofwide.c (do_ftell_wide): Likewise.
4806 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4807 _IO_file_attach.
4808 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4809
000232b9
SP
4810 [BZ #16532]
4811 * libio/libioP.h (get_file_offset): New function.
4812 * libio/fileops.c (get_file_offset): Likewise.
4813 (do_ftell): Likewise.
4814 (_IO_new_file_seekoff): Split out ftell logic.
4815 * libio/wfileops.c (do_ftell_wide): Likewise.
4816 (_IO_wfile_seekoff): Split out ftell logic.
4817 * libio/tst-ftell-active-handler.c: New test case.
4818 * libio/Makefile (tests): Add it.
4819
116f4d1a
RM
48202014-03-03 Roland McGrath <roland@hack.frob.com>
4821
4822 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4823 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4824
532a6035
SP
48252014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 [BZ #16639]
4828 * nscd/connections.c (nscd_init): Call do_exit.
4829 (start_threads): Call do_exit and notify_parent.
4830 (begin_drop_privileges): Call do_exit.
4831 (finish_drop_privileges): Likewise.
4832 * nscd/selinux.c (preserve_capabilities): Likewise.
4833 (install_real_capabilities): Likewise.
4834 (nscd_selinux_enabled): Likewise.
4835 (avc_create_thread): Likewise.
4836 (avc_alloc_lock): Likewise.
4837 (nscd_avc_init): Likewise.
4838 * nscd/nscd.c (parent_fd): New static variable.
4839 (main): Create a pipe between parent and child processes.
4840 Skip closing parent_fd.
4841 (monitor_child): New function.
4842 (do_exit): Likewise.
4843 (notify_parent): Likewise.
4844 * nscd/nscd.h (notify_parent): Likewise.
4845 (do_exit): Likewise.
4846
d6285c9f
CD
48472014-03-03 Carlos O'Donell <carlos@redhat.com>
4848
4849 * malloc/malloc.c (__libc_calloc): Revert last change.
4850
2b85d2a0
AZ
48512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852
4853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4854
c7debbdf
RS
48552014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4856
4857 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4859 implementation.
4860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4861 (__libc_ifunc_impl_list): Likewise.
4862 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4863 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4864 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4865 * string/strrchr.c: Define STRRCHR.
4866
235eed86
OB
48672014-02-28 Ondřej Bílka <neleai@seznam.cz>
4868
4869 * benchtest/bench-strtok.c (simple_strtok): Delete.
4870 (strtok_string): Use as benchmark.
4871 * string/strtok (STRTOK): New macro.
4872
8e25d1e7
CD
48732014-02-28 Carlos O'Donell <carlos@redhat.com>
4874
ef563f92
CD
4875 * manual/threads.texi: Add header and standard comments to all
4876 functions.
4877
8e25d1e7
CD
4878 * elf/dl-lookup.c (check_match): New function.
4879 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4880 (do_lookup_x): Remove nested function check_match. Use non-nested
4881 function check_match.
4882
ff71cc37
RM
48832014-02-28 Roland McGrath <roland@hack.frob.com>
4884
f08e9a26
RM
4885 * csu/Makefile (generated, before-compile): Use += rather than =.
4886 * catgets/Makefile (generated, generated-dirs): Likewise.
4887 * debug/Makefile (generated): Likewise.
4888 * dlfcn/Makefile (generated): Likewise.
4889 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4890 * iconvdata/Makefile (before-compile, generated): Likewise.
4891 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4892 * libio/Makefile (generated): Likewise.
4893 * malloc/Makefile (generated): Likewise.
4894 * manual/Makefile (generated, generated-dirs): Likewise.
4895 * misc/Makefile (generated): Likewise.
4896 * posix/Makefile (generated): Likewise.
4897 * resolv/Makefile (generated): Likewise.
4898 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4899 * timezone/Makefile (generated, generated-dirs): Likewise.
4900
ff71cc37
RM
4901 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4902
fe13a20c
AZ
49032014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4904
57f41c40
AS
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4906 power8 implementation.
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4908 file: POWER8 llround ifunc implementation.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4910 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4911 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4912 POWER8 llround implementation.
4913
57f41c40
AS
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4915 power8 implementation.
4916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4917 file: POWER8 llrint ifunc implementation.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4919 Add POWER8 implementation.
1ad8950a
AZ
4920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4921 POWER8 llrint implementation.
4922
57f41c40
AS
4923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4924 power8 implementation.
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4926 file: POWER8 finite ifunc implementation.
4927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4928 Add POWER8 implementation.
cac626d6
AZ
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4930 Likewise.
4931 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4932 POWER8 finite implementation.
4933 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4934
57f41c40
AS
4935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4936 power8 implementation.
4937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4938 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4940 POWER8 implementation.
4941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4942 Likewise.
57f41c40
AS
4943 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4944 isinf implementation.
4393fc11
AZ
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4946
57f41c40
AS
4947 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4948 (INIT_ARCH): Add hwcap2 initialization.
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4950 power8 implementation.
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4952 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4954 POWER8 implementation.
4955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4956 Likewise.
57f41c40
AS
4957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4958 isnan implementation.
487972ae
AZ
4959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4960
7d92b787
JY
49612014-02-27 Joey Ye <joey.ye@arm.com>
4962
4963 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4964 (_FP_NANFRAC_Q): Set to zero.
4965
1cadc858
SP
49662014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4967
4968 [BZ #16623]
4969 * math/auto-libm-test-in: New test inputs.
4970 * math/auto-libm-test-out: Regenerate.
4971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4972 and DA.
4973 (__cos): Likewise.
4974 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4975
f8c17e79
JM
49762014-02-27 Joseph Myers <joseph@codesourcery.com>
4977
4978 * scripts/evaluate-test.sh: Take new argument indicating whether
4979 failure is expected.
4980 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4981 indicating whether failure is expected.
4982 * conform/Makefile (test-xfail-run-conformtest): New variable.
4983 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4984 level.
4985 * posix/Makefile (test-xfail-annexc): New variable.
4986 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4987
a5f891ac
JM
49882014-02-26 Joseph Myers <joseph@codesourcery.com>
4989
4990 * argp/Makefile: Include Makeconfig immediately after defining
4991 subdir.
4992 * assert/Makefile: Likewise.
4993 * benchtests/Makefile: Likewise.
4994 * catgets/Makefile: Likewise.
4995 * conform/Makefile: Likewise.
4996 * crypt/Makefile: Likewise.
4997 * csu/Makefile: Likewise.
4998 (all): Remove target.
4999 * ctype/Makefile: Include Makeconfig immediately after defining
5000 subdir.
5001 * debug/Makefile: Likewise.
5002 * dirent/Makefile: Likewise.
5003 * dlfcn/Makefile: Likewise.
5004 * gmon/Makefile: Likewise.
5005 * gnulib/Makefile: Likewise.
5006 * grp/Makefile: Likewise.
5007 * gshadow/Makefile: Likewise.
5008 * hesiod/Makefile: Likewise.
5009 * hurd/Makefile: Likewise.
5010 (all): Remove target.
5011 * iconvdata/Makefile: Include Makeconfig immediately after
5012 defining subdir.
5013 * inet/Makefile: Likewise.
5014 * intl/Makefile: Likewise.
5015 * io/Makefile: Likewise.
5016 * libio/Makefile: Likewise.
5017 (all): Remove target.
5018 * locale/Makefile: Include Makeconfig immediately after defining
5019 subdir.
5020 * login/Makefile: Likewise.
5021 * mach/Makefile: Likewise.
5022 (all): Remove target.
5023 * malloc/Makefile: Include Makeconfig immediately after defining
5024 subdir.
5025 (all): Remove target.
5026 * manual/Makefile: Include Makeconfig immediately after defining
5027 subdir.
5028 * math/Makefile: Likewise.
5029 * misc/Makefile: Likewise.
5030 * nis/Makefile: Likewise.
5031 * nss/Makefile: Likewise.
5032 * po/Makefile: Likewise.
5033 (all): Remove target.
5034 * posix/Makefile: Include Makeconfig immediately after defining
5035 subdir.
5036 * pwd/Makefile: Likewise.
5037 * resolv/Makefile: Likewise.
5038 * resource/Makefile: Likewise.
5039 * rt/Makefile: Likewise.
5040 * setjmp/Makefile: Likewise.
5041 * shadow/Makefile: Likewise.
5042 * signal/Makefile: Likewise.
5043 * socket/Makefile: Likewise.
5044 * soft-fp/Makefile: Likewise.
5045 * stdio-common/Makefile: Likewise.
5046 * stdlib/Makefile: Likewise.
5047 * streams/Makefile: Likewise.
5048 * string/Makefile: Likewise.
5049 * sunrpc/Makefile: Likewise.
5050 (all): Remove target.
5051 * sysvipc/Makefile: Include Makeconfig immediately after defining
5052 subdir.
5053 * termios/Makefile: Likewise.
5054 * time/Makefile: Likewise.
5055 * timezone/Makefile: Likewise.
5056 (all): Remove target.
5057 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5058 subdir.
5059 * wctype/Makefile: Likewise.
5060
5b456e9d
SE
50612014-02-26 Steve Ellcey <sellcey@mips.com>
5062
5063 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5064 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5065 (libc_feholdexcept_setround_mips): Ditto.
5066 (libc_feholdsetround): New.
5067 (libc_feholdsetroundf): New.
5068 (libc_feholdsetroundl): New.
5069 (libc_feupdateenv_test_mips): New.
5070 (libc_feupdateenv_test): New.
5071 (libc_feupdateenv_testf): New.
5072 (libc_feupdateenv_testl): New.
5073 (libc_feresetround): New.
5074 (libc_feresetroundf): New.
5075 (libc_feresetroundl): New.
5076 (libc_fetestexcept_mips): New.
5077 (libc_fetestexcept): New.
5078 (libc_fetestexceptf): New.
5079 (libc_fetestexceptl): New.
5080 (HAVE_RM_CTX): New.
5081 (libc_feholdexcept_setround_mips_ctx): New.
5082 (libc_feholdexcept_setround_ctx): New.
5083 (libc_feholdexcept_setroundf_ctx): New.
5084 (libc_feholdexcept_setroundl_ctx): New.
5085 (libc_fesetenv_mips_ctx): New.
5086 (libc_fesetenv_ctx): New.
5087 (libc_fesetenv_ctxf): New.
5088 (libc_fesetenv_ctxl): New.
5089 (libc_feupdateenv_mips_ctx): New.
5090 (libc_feupdateenv_ctx): New.
5091 (libc_feupdateenvf_ctx): New.
5092 (libc_feupdateenvl_ctx): New.
5093 (libc_feholdsetround_mips_ctx): New.
5094 (libc_feholdsetround_ctx): New.
5095 (libc_feholdsetroundf_ctx): New.
5096 (libc_feholdsetroundl_ctx): New.
5097 (libc_feresetround_mips_ctx): New.
5098 (libc_feresetround_ctx): New.
5099 (libc_feresetroundf_ctx): New.
5100 (libc_feresetroundl_ctx): New.
5101
085d0e35
CD
51022014-02-26 Carlos O'Donell <carlos@redhat.com>
5103
f067bf1f
CD
5104 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5105
085d0e35
CD
5106 * manual/ipc.texi: New file.
5107 * manual/Makefile (chapters): Add ipc.
5108 * manual/job.texi: Add "Inter-Process Communication" to next.
5109 * manual/process.texi: Add "Inter-Process Communication" to prev.
5110
86e58c08
AZ
51112014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5112
5113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5114
4248f0da
OB
51152014-02-26 Ondřej Bílka <neleai@seznam.cz>
5116
5117 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5118
cf822e3c
OB
5119 * manual/arith.texi: Fix spaces after sentences.
5120 * manual/charset.texi: Likewise.
5121 * manual/errno.texi: Likewise.
5122 * manual/install.texi: Likewise.
5123 * manual/llio.texi: Likewise.
5124 * manual/locale.texi: Likewise.
5125 * manual/maint.texi: Likewise.
5126 * manual/math.texi: Likewise.
5127 * manual/memory.texi: Likewise.
5128 * manual/message.texi: Likewise.
5129 * manual/probes.texi: Likewise.
5130 * manual/resource.texi: Likewise.
5131 * manual/signal.texi: Likewise.
5132 * manual/socket.texi: Likewise.
5133 * manual/stdio.texi: Likewise.
5134 * manual/string.texi: Likewise.
5135 * manual/time.texi: Likewise.
5136 * manual/users.texi: Likewise.
5137
ade40b10
CD
51382014-02-25 Carlos O'Donell <carlos@redhat.com>
5139
5140 [BZ #16632]
5141 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5142 _DEFAULT_SOURCE is defined.
5143
d0503676
CD
51442014-02-25 Ulrich Drepper <drepper@gmail.com>
5145 Carlos O'Donell <carlos@redhat.com>
5146
5147 [BZ #16613]
5148 * elf/dl-tls.c (_dl_count_modids): New function.
5149 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5150 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5151 audit library and increment generation counter.
5152 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5153 * elf/tst-audit9.c: New file.
5154 * elf/tst-auditmod9a.c: New file.
5155 * elf/tst-auditmod9b.c: New file.
5156 * elf/Makefile: Add rules to build and run tst-audit9.
5157
4cbf380c
FW
51582014-02-25 Florian Weimer <fweimer@redhat.com>
5159
5160 [BZ #15347]
5161 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5162
80a56cc3
WN
51632014-02-25 Will Newton <will.newton@linaro.org>
5164
5165 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5166 (__longjmp): Restore sp and lr before restoring callee
5167 saved registers. Add longjmp and longjmp_target
5168 SystemTap probe point.
5169 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5170 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5171 Define to zero to match jmpbuf layout.
5172 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5173 (__sigsetjmp): Save sp and lr before saving callee
5174 saved registers. Add setjmp SystemTap probe point.
5175
3ea0f74e
SL
51762014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5177
5178 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5179
b04acb26
AS
51802014-02-24 Andreas Schwab <schwab@suse.de>
5181
5182 [BZ #15804]
5183 * elf/pldd.c (wait_for_ptrace_stop): New function.
5184 (main): Call it after attaching.
5185
098ad55c
RM
51862014-02-22 Roland McGrath <roland@hack.frob.com>
5187
d4ec6ae1
RM
5188 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5189 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5190 Versions files is now verboten.
5191 * hurd/Versions (libc: GLIBC_2.0):
5192 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5193 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5194 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5195 * mach/Versions: Likewise.
5196
098ad55c
RM
5197 * csu/Versions: Remove unused %include.
5198 * resolv/Versions: Likewise.
5199
acd7f096
JM
52002014-02-21 Joseph Myers <joseph@codesourcery.com>
5201
f0881698
JM
5202 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5203 ($(objpfx)check-local-headers.out): Likewise.
5204 ($(objpfx)begin-end-check.out): Likewise.
5205 * Makerules (check-abi-%.out): Likewise.
5206 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5207 ($(objpfx)test2.cat): Likewise.
5208 ($(objpfx)de/libc.cat): Likewise.
5209 ($(objpfx)test-gencat.out): Likewise.
5210 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5211 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5212 ($(objpfx)noload-mem): Likewise.
5213 ($(objpfx)tst-pathopt.out): Likewise.
5214 ($(objpfx)tst-rtld-load-self.out): Likewise.
5215 ($(objpfx)tst-array1-cmp.out): Likewise.
5216 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5217 ($(objpfx)tst-array2-cmp.out): Likewise.
5218 ($(objpfx)tst-array3-cmp.out): Likewise.
5219 ($(objpfx)tst-array4-cmp.out): Likewise.
5220 ($(objpfx)tst-array5-cmp.out): Likewise.
5221 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5222 ($(objpfx)check-textrel.out): Likewise.
5223 ($(objpfx)check-execstack.out): Likewise.
5224 ($(objpfx)check-localplt.out): Likewise.
5225 ($(objpfx)order2-cmp.out): Likewise.
5226 ($(objpfx)tst-leaks1-mem): Likewise.
5227 ($(objpfx)tst-leaks1-static-mem): Likewise.
5228 ($(objpfx)tst-initorder-cmp.out): Likewise.
5229 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5230 ($(objpfx)tst-unused-dep.out): Likewise.
5231 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5232 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5233 * iconv/Makefile (test-iconvconfig): Likewise.
5234 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5235 ($(objpfx)iconv-test.out): Likewise.
5236 ($(objpfx)tst-tables.out): Likewise.
5237 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5238 ($(objpfx)tst-gettext.out): Likewise.
5239 ($(objpfx)tst-translit.out): Likewise.
5240 ($(objpfx)tst-gettext2.out): Likewise.
5241 ($(objpfx)tst-gettext4.out): Likewise.
5242 ($(objpfx)tst-gettext6.out): Likewise.
5243 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5244 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5245 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5246 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5247 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5248 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5249 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5250 ($(objpfx)wordexp-tst.out): Likewise.
5251 ($(objpfx)annexc.out): Likewise.
5252 ($(objpfx)tst-fnmatch-mem): Likewise.
5253 ($(objpfx)bug-regex2-mem): Likewise.
5254 ($(objpfx)bug-regex14-mem): Likewise.
5255 ($(objpfx)bug-regex21-mem): Likewise.
5256 ($(objpfx)bug-regex31-mem): Likewise.
5257 ($(objpfx)tst-vfork3-mem): Likewise.
5258 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5259 ($(objpfx)tst-pcre-mem): Likewise.
5260 ($(objpfx)tst-boost-mem): Likewise.
5261 ($(objpfx)tst-getconf.out): Likewise.
5262 ($(objpfx)bug-ga2-mem): Likewise.
5263 ($(objpfx)bug-glob2-mem): Likewise.
5264 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5265 ($(objpfx)mtrace-tst-leaks2): Likewise.
5266 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5267 ($(objpfx)tst-printf.out): Likewise.
5268 ($(objpfx)tst-setvbuf1.out): Likewise.
5269 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5270 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5271 ($(objpfx)tst-fmtmsg.out): Likewise.
5272 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5273 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5274
acd7f096
JM
5275 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5276 * bits/sigaction.h [__USE_MISC]: Likewise.
5277 * bits/waitstatus.h: Update #endif comments.
5278 * ctype/ctype.h: Likewise.
5279 * dirent/dirent.h: Likewise.
5280 [__USE_MISC]: Remove redundant conditionals.
5281 * grp/grp.h: Update #endif comments.
5282 [__USE_GNU]: Remove redundant conditionals.
5283 [__USE_MISC]: Likewise.
5284 * inet/netinet/in.h [__USE_GNU]: Likewise.
5285 * io/sys/stat.h [__USE_MISC]: Likewise.
5286 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5287 * libio/bits/stdio.h: Update #endif comments.
5288 [__USE_MISC]: Remove redundant conditionals.
5289 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5290 * libio/stdio.h: Update #endif comments.
5291 [__USE_MISC]: Remove redundant conditionals.
5292 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5293 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5294 * math/math.h: Update #else and #endif comments.
5295 [__USE_MISC]: Remove redundant conditionals.
5296 * misc/sys/uio.h: Update #endif comments.
5297 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5298 * posix/glob.h [__USE_MISC]: Likewise.
5299 * posix/sys/types.h: Update #endif comments.
5300 [__USE_MISC]: Remove redundant conditionals.
5301 * posix/sys/wait.h: Update #endif comments.
5302 [__USE_MISC]: Remove redundant conditionals.
5303 * posix/unistd.h: Update #endif comments.
5304 [__USE_MISC]: Remove redundant conditionals.
5305 * pwd/pwd.h [__USE_GNU]: Likewise.
5306 [__USE_MISC]: Likewise.
5307 * resolv/netdb.h [__USE_GNU]: Likewise.
5308 * signal/signal.h: Update #endif comments.
5309 [__USE_MISC]: Remove redundant conditionals.
5310 * stdlib/stdlib.h: Update #else and #endif comments.
5311 [__USE_MISC]: Remove redundant conditionals.
5312 [__USE_GNU]: Likewise.
5313 * string/bits/string2.h [__USE_MISC]: Likewise.
5314 * string/string.h: Update #endif comments.
5315 [__USE_MISC]: Remove redundant conditionals.
5316 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5317 Likewise.
5318 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5319 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5320 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5323 Likewise.
5324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5325 comments.
5326 [__USE_MISC]: Remove redundant conditionals.
5327 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5328 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5329 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5330 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5331 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5332 Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5334 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5335 Likewise.
5336 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5337 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5338 Likewise.
5339 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5340 Likewise.
5341 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5343 Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5345 Likewise.
5346 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5347 * sysdeps/x86/bits/string.h: Update #endif comments.
5348 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5349 conditionals.
5350 * time/sys/time.h: Update #endif comments.
5351 * time/time.h: Likewise.
5352 [__USE_MISC]: Remove redundant conditionals.
5353
a5d82e4e
YG
53542014-02-21 Yury Gribov <y.gribov@samsung.com>
5355
5356 [BZ #16600]
5357 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5358
9a80491d
AS
53592014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5360
5361 * Versions.def (librt): Add GLIBC_2.17.
5362
105fa381
AC
53632014-02-21 Adam Conrad <adconrad@0c3.net>
5364
5365 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5366 synonym for _SYS_AUXV_H to allow direct inclusion.
5367 * sysdeps/sparc/bits/hwcap.h: Likewise.
5368 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5369 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5370 * sysdeps/sparc/sysdep.h: Likewise.
5371
b8cd1c4e
SP
53722014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5373
5374 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5375
bd939d23
RS
53762014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5377
5378 * benchtests/bench-strrchr.c: Print length instead of position.
5379
5d7b57ca
JM
53802014-02-20 Joseph Myers <joseph@codesourcery.com>
5381
bc688c10
JM
5382 [BZ #16611]
5383 * sysdeps/unix/sysv/linux/kernel-features.h
5384 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5385 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5386 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5387 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5388 Likewise.
5389 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5390 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5391 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5392 (__ASSUME_SENDMMSG): Define instead of using previous
5393 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5394 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5395 (__ASSUME_SENDMMSG_SYSCALL): Define.
5396 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5397 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5398 Likewise.
5399 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5400 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5401 Likewise.
5402 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5403 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5404 Likewise.
5405 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5406 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5407 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5408 [__ASSUME_SENDMMSG]: Change conditionals to
5409 [__ASSUME_SENDMMSG_SOCKETCALL].
5410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5411 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5412 Define.
5413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5414 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5415 Likewise.
5416 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5417 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5418 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5419 [!__ASSUME_SENDMMSG]: Change conditional to
5420 [!__ASSUME_SENDMMSG_SOCKETCALL].
5421 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5422 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5423 Define.
5424
0e31b18c
JM
5425 [BZ #16610]
5426 * sysdeps/unix/sysv/linux/kernel-features.h
5427 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5428 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5429 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5430 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5431 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5432 [__i386__ || __sparc__]
5433 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5434 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5435 (__ASSUME_RECVMMSG): Define instead of using previous
5436 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5437 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5438 (__ASSUME_RECVMMSG_SYSCALL): Define.
5439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5440 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5441 Likewise.
5442 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5446 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5447 Likewise.
5448 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5449 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5450 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5451 [__ASSUME_RECVMMSG]: Change condition to
5452 [__ASSUME_RECVMMSG_SOCKETCALL].
5453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5454 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5455 Define.
5456 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5457 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5458 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5459 Likewise.
5460 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5461 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5462 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5463 [!__ASSUME_RECVMMSG]: Change condition to
5464 [!__ASSUME_RECVMMSG_SOCKETCALL].
5465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5466 (__ASSUME_RECVMMSG_SYSCALL): Define.
5467
dd481ccf
JM
5468 [BZ #16609]
5469 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5470 __powerpc__ || __s390__ || __sh__ || __sparc__]
5471 (__ASSUME_SOCKETCALL): Define.
5472 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5473 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5474 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5475 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5476 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5477 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5478 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5479 (__ASSUME_ACCEPT4): Define instead of using previous
5480 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5481 __powerpc__ || __sparc__ || __s390__)] condition.
5482 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5483 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5484 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5485 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5486 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5487 [!__ASSUME_ACCEPT4]: Change condition to
5488 [!__ASSUME_ACCEPT4_SOCKETCALL].
5489 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5490 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5491 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5492 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5493 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5494 __ASSUME_ACCEPT4_SYSCALL.
5495 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5496 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5497 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5498 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5499 __ASSUME_ACCEPT4_SYSCALL.
5500 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5501 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5502 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5503 [__ASSUME_ACCEPT4]: Change condition to
5504 [__ASSUME_ACCEPT4_SOCKETCALL].
5505 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5506 (__ASSUME_SOCKETCALL): Define.
5507 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5509 (__ASSUME_SOCKETCALL): Define.
5510 (__ASSUME_ACCEPT4): Remove.
5511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5512 Define.
5513 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5514 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5515 Likewise.
5516 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5517 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5518
5d7b57ca
JM
5519 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5520 macro.
5521 (HWCAP_ARM_LPAE): Likewise.
5522 (HWCAP_ARM_EVTSTRM): Likewise.
5523 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5524 Add vpfd32, lpae and evtstrm.
5525 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5526 Increase to 22.
5527
63689d61
JM
55282014-02-19 Joseph Myers <joseph@codesourcery.com>
5529
5530 * math/auto-libm-test-in: Add tests of clog10.
5531 * math/auto-libm-test-out: Regenerated.
5532 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5533 * sysdeps/i386/fpu/libm-test-ulps: Update.
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535
ab09bf61
AS
55362014-02-18 Andreas Schwab <schwab@suse.de>
5537
5538 [BZ #16574]
5539 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5540 Store non-zero if the second buffer was newly allocated.
5541 (send_dg): Likewise.
5542 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5543 to send_vc and send_dg.
5544 (res_nsend): Pass NULL for ansp2_malloced.
5545 * resolv/res_query.c (__libc_res_nquery): Add parameter
5546 answerp2_malloced and pass it down to __libc_res_nsend.
5547 (res_nquery): Pass additional NULL to __libc_res_nquery.
5548 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5549 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5550 second answer buffer if answerp2_malloced was set.
5551 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5552 (__libc_res_nquerydomain): Add parameter
5553 answerp2_malloced and pass it down to __libc_res_nquery.
5554 (res_nquerydomain): Pass additional NULL to
5555 __libc_res_nquerydomain.
5556 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5557 additional NULL to __libc_res_nsend and __libc_res_nquery.
5558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5559 additional NULL to __libc_res_nsearch.
5560 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5561 parameter of __libc_res_nsearch to check for separately allocated
5562 second buffer.
5563 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5564 __libc_res_nquery.
5565 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5566 additional NULL to __libc_res_nquery.
5567 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5568 __libc_res_nsearch.
5569 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5570 * include/resolv.h: Update prototypes of __libc_res_nquery,
5571 __libc_res_nsearch, __libc_res_nsend.
5572
a4fb7861
JM
55732014-02-18 Joseph Myers <joseph@codesourcery.com>
5574
c6af2d89
JM
5575 * math/auto-libm-test-in: Add tests of fma.
5576 * math/auto-libm-test-out: Regenerated.
5577 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5578 (fma_towardzero_test_data): Likewise.
5579 (fma_downward_test_data): Likewise.
5580 (fma_upward_test_data): Likewise.
5581 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5582 mpc_mode.
5583 (rounding_modes): Add values for new field.
5584 (func_calc_method): Add value mpfr_fff_f.
5585 (func_calc_desc): Add mpfr_fff_f union field.
5586 (test_function): Add field exact_args.
5587 (FUNC): Add macro argument EXACT_ARGS.
5588 (FUNC_mpfr_f_f): Update call to FUNC.
5589 (FUNC_mpfr_f_f): Likewise.
5590 (FUNC_mpfr_ff_f): Likewise.
5591 (FUNC_mpfr_if_f): Likewise.
5592 (FUNC_mpc_c_f): Likewise.
5593 (FUNC_mpc_c_c): Likewise.
5594 (test_functions): Add fma. Update calls to FUNC.
5595 (handle_input_arg): Add argument exact_args.
5596 (add_test): Update call to handle_input_arg.
5597 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5598 (output_for_one_input_case): Update call to calc_generic_results.
5599 Recalculate exact zero results in each rounding mode.
5600
a4fb7861
JM
5601 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5602 non-negative before setting low bit.
5603 * math/auto-libm-test-in: Mark one asin test possibly having
5604 spurious underflow.
5605 * math/auto-libm-test-out: Regenerated.
5606 * sysdeps/i386/fpu/libm-test-ulps: Update.
5607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5608
ef114eaf
DH
56092014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5610
2b7f4f2c
SP
5611 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5612 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5613 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5614 * README: Add missing listing for microblaze*-*-linux-gnu.
5615
c70a4b1d
MF
56162014-02-16 Mike Frysinger <vapier@gentoo.org>
5617
5618 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5619 * sysdeps/unix/sysv/linux/ia64: Move directory from
5620 ports/sysdeps/unix/sysv/linux/ia64.
5621 * README: Update listing for ia64-*-linux-gnu.
5622
591aeaf7
TD
56232014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5624 Joseph Myers <joseph@codesourcery.com>
5625
5626 * Makeconfig (test-name): New variable.
5627 (evaluate-test): Likewise.
5628 * Makerules (do-test-clean): Remove .test-result files.
5629 (common-mostlyclean): Likewise.
5630 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5631 * scripts/evaluate-test.sh: New file.
5632
6e89caf1
JM
56332014-02-14 Joseph Myers <joseph@codesourcery.com>
5634
7f98f180
JM
5635 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5636 separate $(objpfx)tst-fopenloc-cmp.out and
5637 $(objpfx)tst-fopenloc-mem.out targets.
5638 (tests): Update dependencies.
5639 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5640 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5641 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5642 (tst-rxspencer-no-utf8-ARGS): New variable.
5643 (tst-rxspencer-no-utf8-ENV): Likewise.
5644 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5645 instead of $(objpfx)tst-rxspencer-mem.
5646 ($(objpfx)tst-rxspencer-mem): Change target to
5647 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5648 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5649 * posix/tst-rxspencer-no-utf8.c: New file.
5650
6e89caf1
JM
5651 * elf/Makefile ($(objpfx)order.out): Remove rule.
5652 [$(run-built-tests) = yes] (tests): Depend on
5653 $(objpfx)order-cmp.out.
5654 ($(objpfx)order-cmp.out): New rule.
5655 [$(run-built-tests) = yes] (tests): Depend on
5656 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5657 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5658 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5659 $(objpfx)tst-array5-static-cmp.out.
5660 ($(objpfx)tst-array1.out): Remove rule.
5661 ($(objpfx)tst-array1-cmp.out): New rule.
5662 ($(objpfx)tst-array1-static.out): Remove rule.
5663 ($(objpfx)tst-array1-static-cmp.out): New rule.
5664 ($(objpfx)tst-array2.out): Remove rule.
5665 ($(objpfx)tst-array2-cmp.out): New rule.
5666 ($(objpfx)tst-array3.out): Remove rule.
5667 ($(objpfx)tst-array3-cmp.out): New rule.
5668 ($(objpfx)tst-array4.out): Remove rule.
5669 ($(objpfx)tst-array4-cmp.out): New rule.
5670 ($(objpfx)tst-array5.out): Remove rule.
5671 ($(objpfx)tst-array5-cmp.out): New rule.
5672 ($(objpfx)tst-array5-static.out): Remove rule.
5673 ($(objpfx)tst-array5-static-cmp.out): New rule.
5674 [$(run-built-tests) = yes] (tests): Depend on
5675 $(objpfx)order2-cmp.out.
5676 ($(objpfx)order2.out): Remove rule.
5677 ($(objpfx)order2-cmp.out): New rule.
5678 ($(objpfx)tst-initorder.out): Remove rule.
5679 [$(run-built-tests) = yes] (tests): Depend on
5680 $(objpfx)tst-initorder-cmp.out.
5681 ($(objpfx)tst-initorder-cmp.out): New rule.
5682 ($(objpfx)tst-initorder2.out): Remove rule.
5683 [$(run-built-tests) = yes] (tests): Depend on
5684 $(objpfx)tst-initorder2-cmp.out.
5685 ($(objpfx)tst-initorder2-cmp.out): New rule.
5686 [$(run-built-tests) = yes] (tests): Depend on
5687 $(objpfx)tst-unused-dep-cmp.out.
5688 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5689 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5690 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5691 on $(objpfx)tst-setvbuf1-cmp.out.
5692 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5693 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5694 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5695 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5696 ($(objpfx)tst-svc.out): Remove rule.
5697 ($(objpfx)tst-svc-cmp.out): New rule.
5698
ed9a38e2
JM
56992014-02-13 Joseph Myers <joseph@codesourcery.com>
5700
5701 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5702 * ctype/ctype.h [__USE_MISC]: Likewise.
5703 * dirent/dirent.h [__USE_MISC]: Likewise.
5704 * grp/grp.h [__USE_MISC]: Likewise.
5705 * io/fcntl.h [__USE_MISC]: Likewise.
5706 * io/sys/stat.h [__USE_MISC]: Likewise.
5707 * libio/stdio.h [__USE_MISC]: Likewise.
5708 * posix/unistd.h [__USE_MISC]: Likewise.
5709 * pwd/pwd.h [__USE_MISC]: Likewise.
5710 * stdlib.h [__USE_MISC]: Likewise.
5711 * string/bits/string2.h [__USE_MISC]: Likewise.
5712 * string/string.h [__USE_MISC]: Likewise.
5713 * time/time.h [__USE_MISC]: Likewise.
5714
d6680619
AS
57152014-02-13 Andreas Schwab <schwab@suse.de>
5716
5717 [BZ #16574]
5718 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5719 second answer buffer if it was separately allocated.
5720
ace614b8
JM
57212014-02-12 Joseph Myers <joseph@codesourcery.com>
5722
743151ae
JM
5723 * sysdeps/mips/math-tests.h: Include <features.h>.
5724 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5725 (ROUNDING_TESTS_long_double): Do not define.
5726 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5727 (EXCEPTION_TESTS_long_double): Likewise.
5728 * sysdeps/mips/mips64/libm-test-ulps: Update.
5729
498afc54
JM
5730 * include/features.h (__USE_BSD): Remove macro definitions.
5731 (__USE_SVID): Likewise.
5732 (_BSD_SOURCE): Likewise.
5733 (_SVID_SOURCE): Likewise.
5734 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5735 from definition of _DEFAULT_SOURCE.
5736 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5737 [_DEFAULT_SOURCE].
5738 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5739 * bits/mman.h [__USE_BSD]: Likewise.
5740 * bits/termios.h [__USE_BSD]: Likewise.
5741 * bits/waitstatus.h [__USE_BSD]: Likewise.
5742 * ctype/ctype.h [__USE_SVID]: Likewise.
5743 * dirent/dirent.h [__USE_BSD]: Likewise.
5744 * grp/grp.h [__USE_SVID]: Likewise.
5745 [__USE_BSD]: Likewise.
5746 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5747 * io/fcntl.h [__USE_BSD]: Likewise.
5748 * io/ftw.h [__USE_BSD]: Likewise.
5749 * io/sys/stat.h [__USE_BSD]: Likewise.
5750 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5751 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5752 * libio/stdio.h [__USE_SVID]: Likewise.
5753 [__USE_BSD]: Likewise.
5754 * math/math.h [__USE_SVID]: Likewise.
5755 [__USE_BSD]: Likewise.
5756 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5757 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5758 * misc/search.h [__USE_SVID]: Likewise.
5759 * misc/sys/mman.h [__USE_BSD]: Likewise.
5760 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5761 * misc/sys/uio.h [__USE_BSD]: Likewise.
5762 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5763 * posix/glob.h [__USE_BSD]: Likewise.
5764 * posix/regex.h [__USE_BSD]: Likewise.
5765 * posix/sys/types.h [__USE_BSD]: Likewise.
5766 [__USE_SVID]: Likewise.
5767 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5768 * posix/sys/wait.h [__USE_BSD]: Likewise.
5769 [__USE_SVID]: Likewise.
5770 * posix/unistd.h [__USE_BSD]: Likewise.
5771 [__USE_SVID]: Likewise.
5772 * pwd/pwd.h [__USE_SVID]: Likewise.
5773 * resolv/netdb.h [__USE_BSD]: Likewise.
5774 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5775 * signal/signal.h [__USE_BSD]: Likewise.
5776 [__USE_SVID]: Likewise.
5777 * socket/sys/socket.h [__USE_BSD]: Likewise.
5778 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5779 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5780 [__USE_SVID]: Likewise.
5781 * string/bits/string2.h [__USE_BSD]: Likewise.
5782 [__USE_SVID]: Likewise.
5783 * string/bits/string3.h [__USE_BSD]: Likewise.
5784 * string/endian.h [__USE_BSD]: Likewise.
5785 * string/string.h [__USE_SVID]: Likewise.
5786 [__USE_BSD]: Likewise.
5787 * string/strings.h [__USE_BSD]: Likewise.
5788 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5789 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5791 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5792 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5793 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5794 Likewise.
5795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5796 Likewise.
5797 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5798 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5799 Likewise.
5800 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5801 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5802 Likewise.
5803 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5804 Likewise.
5805 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5806 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5808 Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5810 Likewise.
5811 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5812 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5813 * termios/termios.h [__USE_BSD]: Likewise.
5814 * time/sys/time.h [__USE_BSD]: Likewise.
5815 * time/time.h [__USE_BSD]: Likewise.
5816 [__USE_SVID]: Likewise.
5817
dd7b064c
JM
5818 * Makefile (subdir_targets): Remove subdir_lint.out.
5819
a2c4c199
JM
5820 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5821 (do-tst-printf): Likewise.
5822 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5823 $(objpfx)tst-printf.out.
5824
8756f740
JM
5825 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5826
1b6dd3f1
JM
5827 * Makerules (check-abi-%): Change target to
5828 $(objpfx)check-abi-%.out.
5829 (check-abi target): Update dependencies.
5830 (check-abi-pattern variable): Redirect output of diff to $@.
5831 (check-abi variable): Likewise.
5832 * elf/Makefile (check-abi): Update dependencies.
5833
ace614b8
JM
5834 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5835 unused.
5836 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5837 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5838 subnormal range.
5839 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5840 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5841 value has largest subnormal exponent.
5842 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5843 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5844 * sysdeps/aarch64/soft-fp/sfp-machine.h
5845 (_FP_TININESS_AFTER_ROUNDING): New macro.
5846 * sysdeps/alpha/soft-fp/sfp-machine.h
5847 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5848 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5849 Likewise.
5850 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5851 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5852 * sysdeps/mips/soft-fp/sfp-machine.h
5853 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5854 * sysdeps/powerpc/soft-fp/sfp-machine.h
5855 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5856 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5857 Likewise.
5858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5859 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5861 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5862 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5863 Likewise.
5864
fbfdf9cb
DAS
58652014-02-12 Dylan Alex Simon <dylan@dylex.net>
5866
5867 [BZ #16545]
5868 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5869 model 1.
5870
68b7efaa
RH
58712014-02-12 Richard Henderson <rth@redhat.com>
5872
c70a4b1d 5873 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5874 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5875 * sysdeps/unix/sysv/linux/alpha: Move directory from
5876 ports/sysdeps/unix/sysv/linux/alpha.
5877 * README: Update listing for alpha-*-linux-gnu.
5878
cb4a2928
JM
58792014-02-11 Joseph Myers <joseph@codesourcery.com>
5880
c941736c
JM
5881 * include/features.h: Update comment documenting feature test
5882 macros.
5883 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5884 _DEFAULT_SOURCE.
5885 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5886 (_SVID_SOURCE): Likewise.
5887 (_DEFAULT_SOURCE): Update description of default features.
5888 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5889 with _GNU_SOURCE.
5890 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5891 (S_ISVTX): Likewise.
5892 * manual/math.texi (Mathematical Constants): Likewise.
5893 * manual/signal.texi (Interrupted Primitives): Likewise.
5894 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5895 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5896 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5897 Don't refer to _SVID_SOURCE in warning text.
5898
e8d8d7ec
JM
5899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5900
cb4a2928
JM
5901 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5902 already defined.
5903 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5904 * sysdeps/mips/dl-lookup.c: Remove.
5905 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5906
7e6424e3
AK
59072014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5908
5909 [BZ #16447]
5910 * math/auto-libm-test-in: Add testcase for expl.
5911 * math/auto-libm-test-out: Regenerate.
5912 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5913 calculation of unsafe.
5914 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5915
75eff3fe
MS
59162014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5917
5918 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5919 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5920 ports/sysdeps/unix/sysv/linux/aarch64.
5921 * README: Update listing for aarch64*-*-linux-gnu.
5922
d35f1e80
WN
59232014-02-11 Will Newton <will.newton@linaro.org>
5924
5925 * manual/probes.texi (Mathematical Function Probes): Use
5926 "triggered" instead of "hit".
5927
7b3436d4
WN
5928 * manual/probes.texi (Internal Probes): Add documentation
5929 of setjmp, longjmp and longjmp_target probes.
5930
b4f12ca3
WN
5931 * include/stap-probe.h: Add comment about probe argument
5932 format.
5933
c13a72b7
WN
5934 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5935 definition. (tr_where, tr_freehook, tr_mallochook,
5936 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5937
195b8165
DM
59382014-02-11 David S. Miller <davem@davemloft.net>
5939
5940 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5941 processing int_tests.
5942
2ad7600b
JM
59432014-02-10 Joseph Myers <joseph@codesourcery.com>
5944
5945 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5946 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5947 * sysdeps/unix/sysv/linux/mips: Move directory from
5948 ports/sysdeps/unix/sysv/linux/mips.
5949 * README: Update listing for mips-*-linux-gnu and
5950 mips64-*-linux-gnu.
5951
73588a72
AS
59522014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5953
5954 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5955 * sysdeps/unix/sysv/linux/m68k: Move directory from
5956 ports/sysdeps/unix/sysv/linux/m68k.
5957 * README: Update listing for m68k-*-linux-gnu.
5958
4372980f
CM
59592014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5960
5961 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5962 * sysdeps/unix/sysv/linux/generic: Move directory from
5963 ports/sysdeps/unix/sysv/linux/generic.
5964 * sysdeps/unix/sysv/linux/tile: Move directory from
5965 ports/sysdeps/unix/sysv/linux/tile.
5966 * README: Update listing for tile*-*-linux-gnu.
5967
a1ffb40e
OB
59682014-02-10 Ondřej Bílka <neleai@seznam.cz>
5969
57f41c40
AS
5970 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5971 __builtin_expect.
a1ffb40e
OB
5972 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5973 * catgets/open_catalog.c (__open_catalog): Likewise.
5974 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5975 * debug/confstr_chk.c: Likewise.
5976 * debug/fread_chk.c (__fread_chk): Likewise.
5977 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5978 * debug/getgroups_chk.c: Likewise.
5979 * debug/mbsnrtowcs_chk.c: Likewise.
5980 * debug/mbsrtowcs_chk.c: Likewise.
5981 * debug/mbstowcs_chk.c: Likewise.
5982 * debug/memcpy_chk.c: Likewise.
5983 * debug/memmove_chk.c: Likewise.
5984 * debug/mempcpy_chk.c: Likewise.
5985 * debug/memset_chk.c: Likewise.
5986 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5987 * debug/strcat_chk.c (__strcat_chk): Likewise.
5988 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5989 * debug/strncat_chk.c (__strncat_chk): Likewise.
5990 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5991 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5992 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5993 * debug/wcpncpy_chk.c: Likewise.
5994 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5995 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5996 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5997 * debug/wcsncpy_chk.c: Likewise.
5998 * debug/wcsnrtombs_chk.c: Likewise.
5999 * debug/wcsrtombs_chk.c: Likewise.
6000 * debug/wcstombs_chk.c: Likewise.
6001 * debug/wmemcpy_chk.c: Likewise.
6002 * debug/wmemmove_chk.c: Likewise.
6003 * debug/wmempcpy_chk.c: Likewise.
6004 * debug/wmemset_chk.c: Likewise.
6005 * dirent/scandirat.c (SCANDIRAT): Likewise.
6006 * dlfcn/dladdr1.c (dladdr1): Likewise.
6007 * dlfcn/dladdr.c (dladdr): Likewise.
6008 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6009 * dlfcn/dlerror.c (__dlerror): Likewise.
6010 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6011 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6012 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6013 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6014 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6015 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6016 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6017 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6018 Likewise.
6019 * elf/dl-conflict.c: Likewise.
6020 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6021 * elf/dl-dst.h: Likewise.
6022 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6023 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6024 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6025 * elf/dl-init.c (call_init, _dl_init): Likewise.
6026 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6027 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6028 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6029 Likewise.
a1ffb40e
OB
6030 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6031 Likewise.
6032 * elf/dl-minimal.c (__libc_memalign): Likewise.
6033 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6034 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6035 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6036 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6037 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6038 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6039 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6040 * elf/dl-writev.h (_dl_writev): Likewise.
6041 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6042 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6043 (dl_main): Likewise.
a1ffb40e
OB
6044 * elf/setup-vdso.h (setup_vdso): Likewise.
6045 * grp/compat-initgroups.c (compat_call): Likewise.
6046 * grp/fgetgrent.c (fgetgrent): Likewise.
6047 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6048 * grp/putgrent.c (putgrent): Likewise.
6049 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6050 Likewise.
6051 * hurd/hurdinit.c: Likewise.
6052 * iconvdata/8bit-gap.c (struct): Likewise.
6053 * iconvdata/ansi_x3.110.c : Likewise.
6054 * iconvdata/big5.c : Likewise.
6055 * iconvdata/big5hkscs.c : Likewise.
6056 * iconvdata/cp1255.c: Likewise.
6057 * iconvdata/cp1258.c : Likewise.
6058 * iconvdata/cp932.c : Likewise.
6059 * iconvdata/euc-cn.c: Likewise.
6060 * iconvdata/euc-jisx0213.c : Likewise.
6061 * iconvdata/euc-jp.c: Likewise.
6062 * iconvdata/euc-jp-ms.c : Likewise.
6063 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6064 * iconvdata/gb18030.c : Likewise.
6065 * iconvdata/gbbig5.c (const): Likewise.
6066 * iconvdata/gbgbk.c: Likewise.
6067 * iconvdata/gbk.c : Likewise.
6068 * iconvdata/ibm1364.c : Likewise.
6069 * iconvdata/ibm930.c : Likewise.
6070 * iconvdata/ibm932.c: Likewise.
6071 * iconvdata/ibm933.c : Likewise.
6072 * iconvdata/ibm935.c : Likewise.
6073 * iconvdata/ibm937.c : Likewise.
6074 * iconvdata/ibm939.c : Likewise.
6075 * iconvdata/ibm943.c: Likewise.
6076 * iconvdata/iso_11548-1.c: Likewise.
6077 * iconvdata/iso-2022-cn.c : Likewise.
6078 * iconvdata/iso-2022-cn-ext.c : Likewise.
6079 * iconvdata/iso-2022-jp-3.c: Likewise.
6080 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6081 * iconvdata/iso-2022-kr.c : Likewise.
6082 * iconvdata/iso646.c (gconv_end): Likewise.
6083 * iconvdata/iso_6937-2.c : Likewise.
6084 * iconvdata/iso_6937.c : Likewise.
6085 * iconvdata/iso8859-1.c: Likewise.
6086 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6087 * iconvdata/shift_jisx0213.c : Likewise.
6088 * iconvdata/sjis.c : Likewise.
6089 * iconvdata/t.61.c : Likewise.
6090 * iconvdata/tcvn5712-1.c : Likewise.
6091 * iconvdata/tscii.c: Likewise.
6092 * iconvdata/uhc.c : Likewise.
6093 * iconvdata/unicode.c (gconv_end): Likewise.
6094 * iconvdata/utf-16.c (gconv_end): Likewise.
6095 * iconvdata/utf-32.c (gconv_end): Likewise.
6096 * iconvdata/utf-7.c (base64): Likewise.
6097 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6098 * iconv/gconv_close.c (__gconv_close): Likewise.
6099 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6100 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6101 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6102 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6103 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6104 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6105 * iconv/iconv.c (iconv): Likewise.
6106 * iconv/iconv_close.c: Likewise.
6107 * iconv/loop.c (SINGLE): Likewise.
6108 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6109 * include/atomic.h: Likewise.
6110 * inet/inet6_option.c (option_alloc): Likewise.
6111 * intl/bindtextdom.c (set_binding_values): Likewise.
6112 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6113 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6114 * intl/localealias.c (read_alias_file): Likewise.
6115 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6116 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6117 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6118 * libio/fmemopen.c (fmemopen): Likewise.
6119 * libio/iofgets.c (_IO_fgets): Likewise.
6120 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6121 * libio/iofgetws.c (fgetws): Likewise.
6122 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6123 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6124 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6125 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6126 * locale/findlocale.c (_nl_find_locale): Likewise.
6127 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6128 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6129 Likewise.
6130 * locale/setlocale.c (setlocale): Likewise.
6131 * login/programs/pt_chown.c (main): Likewise.
6132 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6133 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6134 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6135 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6136 * math/e_exp2l.c: Likewise.
6137 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6138 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6139 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6140 * math/s_catan.c (__catan): Likewise.
6141 * math/s_catanf.c (__catanf): Likewise.
6142 * math/s_catanh.c (__catanh): Likewise.
6143 * math/s_catanhf.c (__catanhf): Likewise.
6144 * math/s_catanhl.c (__catanhl): Likewise.
6145 * math/s_catanl.c (__catanl): Likewise.
6146 * math/s_ccosh.c (__ccosh): Likewise.
6147 * math/s_ccoshf.c (__ccoshf): Likewise.
6148 * math/s_ccoshl.c (__ccoshl): Likewise.
6149 * math/s_cexp.c (__cexp): Likewise.
6150 * math/s_cexpf.c (__cexpf): Likewise.
6151 * math/s_cexpl.c (__cexpl): Likewise.
6152 * math/s_clog10.c (__clog10): Likewise.
6153 * math/s_clog10f.c (__clog10f): Likewise.
6154 * math/s_clog10l.c (__clog10l): Likewise.
6155 * math/s_clog.c (__clog): Likewise.
6156 * math/s_clogf.c (__clogf): Likewise.
6157 * math/s_clogl.c (__clogl): Likewise.
6158 * math/s_csin.c (__csin): Likewise.
6159 * math/s_csinf.c (__csinf): Likewise.
6160 * math/s_csinh.c (__csinh): Likewise.
6161 * math/s_csinhf.c (__csinhf): Likewise.
6162 * math/s_csinhl.c (__csinhl): Likewise.
6163 * math/s_csinl.c (__csinl): Likewise.
6164 * math/s_csqrt.c (__csqrt): Likewise.
6165 * math/s_csqrtf.c (__csqrtf): Likewise.
6166 * math/s_csqrtl.c (__csqrtl): Likewise.
6167 * math/s_ctan.c (__ctan): Likewise.
6168 * math/s_ctanf.c (__ctanf): Likewise.
6169 * math/s_ctanh.c (__ctanh): Likewise.
6170 * math/s_ctanhf.c (__ctanhf): Likewise.
6171 * math/s_ctanhl.c (__ctanhl): Likewise.
6172 * math/s_ctanl.c (__ctanl): Likewise.
6173 * math/w_pow.c: Likewise.
6174 * math/w_powf.c: Likewise.
6175 * math/w_powl.c: Likewise.
6176 * math/w_scalb.c (sysv_scalb): Likewise.
6177 * math/w_scalbf.c (sysv_scalbf): Likewise.
6178 * math/w_scalbl.c (sysv_scalbl): Likewise.
6179 * misc/error.c (error_tail): Likewise.
6180 * misc/pselect.c (__pselect): Likewise.
6181 * nis/nis_callback.c (__nis_create_callback): Likewise.
6182 * nis/nis_call.c (__nisfind_server): Likewise.
6183 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6184 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6185 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6186 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6187 * nis/nis_lookup.c (nis_lookup): Likewise.
6188 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6189 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6190 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6191 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6192 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6193 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6194 * nis/nss_compat/compat-initgroups.c (add_group)
6195 (internal_getgrent_r): Likewise.
6196 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6197 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6198 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6199 (internal_getspnam_r): Likewise.
6200 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6201 (_nss_nis_getaliasbyname_r): Likewise.
6202 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6203 (_nss_nis_getntohost_r): Likewise.
6204 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6205 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6206 (_nss_nis_getgrgid_r): Likewise.
6207 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6208 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6209 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6210 (_nss_nis_gethostbyname4_r): Likewise.
6211 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6212 (initgroups_netid): Likewise.
a1ffb40e 6213 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6214 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6215 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6216 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6217 (_nss_nis_getprotobynumber_r): Likewise.
6218 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6219 (_nss_nis_getsecretkey): Likewise.
6220 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6221 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6222 (_nss_nis_getpwuid_r): Likewise.
6223 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6224 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6225 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6226 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6227 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6228 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6229 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6230 Likewise.
57f41c40
AS
6231 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6232 (_nss_nisplus_getntohost_r): Likewise.
6233 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6234 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6235 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6236 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6237 Likewise.
57f41c40
AS
6238 * nis/nss_nisplus/nisplus-initgroups.c
6239 (_nss_nisplus_initgroups_dyn): Likewise.
6240 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6241 (_nss_nisplus_getnetbyaddr_r): Likewise.
6242 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6243 (_nss_nisplus_getprotobynumber_r): Likewise.
6244 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6245 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6246 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6247 Likewise.
57f41c40
AS
6248 * nis/nss_nisplus/nisplus-service.c
6249 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6250 (_nss_nisplus_getservbyport_r): Likewise.
6251 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6252 (_nss_nisplus_getspnam_r): Likewise.
6253 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6254 Likewise.
a1ffb40e
OB
6255 * nscd/aicache.c (addhstaiX): Likewise.
6256 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6257 * nscd/connections.c (register_traced_file, send_ro_fd)
6258 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6259 (main_loop_epoll): Likewise.
a1ffb40e
OB
6260 * nscd/grpcache.c (addgrbyX): Likewise.
6261 * nscd/hstcache.c (addhstbyX): Likewise.
6262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6263 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6264 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6265 (addinnetgrX): Likewise.
6266 * nscd/nscd-client.h (__nscd_acquire_maplock)
6267 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6268 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6269 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6270 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6271 Likewise.
6272 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6273 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6274 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6275 (__nscd_get_map_ref): Likewise.
a1ffb40e 6276 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6277 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6278 Likewise.
a1ffb40e
OB
6279 * nscd/pwdcache.c (addpwbyX): Likewise.
6280 * nscd/selinux.c (preserve_capabilities): Likewise.
6281 * nscd/servicescache.c (addservbyX): Likewise.
6282 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6283 * posix/fnmatch.c (fnmatch): Likewise.
6284 * posix/getopt.c (_getopt_internal_r): Likewise.
6285 * posix/glob.c (glob, glob_in_dir): Likewise.
6286 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6288 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6289 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6290 * resolv/res_init.c: Likewise.
6291 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6292 * resolv/res_query.c (__libc_res_nquery): Likewise.
6293 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6294 Likewise.
6295 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6296 * stdio-common/perror.c (perror): Likewise.
6297 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6298 * stdio-common/tmpnam.c (tmpnam): Likewise.
6299 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6300 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6301 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6302 Likewise.
a1ffb40e
OB
6303 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6304 * stdlib/putenv.c (putenv): Likewise.
6305 * stdlib/setenv.c (__add_to_environ): Likewise.
6306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6307 * stdlib/strtol_l.c (INTERNAL): Likewise.
6308 * string/memmem.c (memmem): Likewise.
6309 * string/strerror.c (strerror): Likewise.
6310 * string/strnlen.c (__strnlen): Likewise.
6311 * string/test-memmem.c (simple_memmem): Likewise.
6312 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6313 * sunrpc/pm_getport.c (__get_socket): Likewise.
6314 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6315 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6316 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6317 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6318 Likewise.
6319 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6321 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6322 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6323 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6324 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6325 Likewise.
6326 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6327 Likewise.
a1ffb40e
OB
6328 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6329 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6330 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6331 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6332 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6334 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6335 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6336 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6337 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6338 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6339 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6340 Likewise.
6341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6342 Likewise.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6344 Likewise.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6349 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6350 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6351 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6360 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6361 Likewise.
a1ffb40e
OB
6362 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6363 Likewise.
6364 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6365 Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6367 Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6370 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6371 Likewise.
6372 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6373 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6374 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6375 * sysdeps/posix/sleep.c: Likewise.
6376 * sysdeps/posix/tempname.c: Likewise.
6377 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6378 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6379 Likewise.
57f41c40
AS
6380 * sysdeps/powerpc/powerpc32/dl-machine.h
6381 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6382 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6384 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6385 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6386 Likewise.
6387 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6388 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6389 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6390 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6391 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6392 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6393 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6394 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6395 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6396 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6398 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6399 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6401 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6402 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6403 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6404 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6405 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6406 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6407 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6408 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6410 Likewise.
6411 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6412 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6413 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6414 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6415 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6416 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6417 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6418 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6419 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6420 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6421 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6424 (__posix_fallocate64_l64): Likewise.
6425 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6426 (posix_fallocate): Likewise.
57f41c40
AS
6427 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6428 Likewise.
a1ffb40e 6429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6430 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6431 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6432 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6433 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6434 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6435 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6436 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6437 (__posix_fallocate64_l64): Likewise.
6438 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6439 Likewise.
6440 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6441 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6442 (__get_clockfreq): Likewise.
a1ffb40e
OB
6443 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6444 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6445 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6448 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6449 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6450 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6453 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6454 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6455 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6456 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6457 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6458 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6459 Likewise.
6460 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6461 (posix_fallocate): Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6463 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6464 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6465 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6466 (elf_machine_rela, elf_machine_rela_relative)
6467 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6468 * time/asctime.c (asctime_internal): Likewise.
6469 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6470 * time/tzset.c (__tzset_parse_tz): Likewise.
6471 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6472 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6473 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6474 * wcsmbs/wcsmbsload.h: Likewise.
6475
f3d338c9
OB
6476 [BZ #15894]
6477 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6478
57f41c40
AS
6479 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6480 (arena_get2): Remove THREAD_STATS conditionals.
6481 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6482 (__malloc_stats, int): Likewise.
bdfe308a 6483
d674667c
MF
64842014-02-08 Mike Frysinger <vapier@gentoo.org>
6485
6486 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6487 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6488
6349768c
MF
6489 * manual/setjmp.texi: Fix typos/grammar errors.
6490
0b7c7473
MF
6491 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6492 Only return early when n is <= 0. Delete unused return statement.
6493
ac8cc9e3
MF
6494 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6495 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6496 * debug/tst-longjmp_chk3.c: New file.
6497
c5bb8e23
MF
6498 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6499 (test_main): Replace code with set_fortify_handler call.
6500 * debug/test-strcpy_chk.c: Likewise.
6501 * debug/tst-chk1.c: Likewise.
6502 * debug/tst-longjmp_chk.c: Likewise.
6503 * test-skeleton.c: Include fcntl.h & paths.h
6504 (set_fortify_handler): Define.
6505
10444e42
MF
6506 * debug/tst-longjmp_chk.c: Add header comment and include
6507 ../test-skeleton.c.
6508 (do_test): Mark static.
6509 (TEST_FUNCTION): Define.
6510
1e805e8d
MF
6511 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6512 (IP_PMTUDISC_INTERFACE): Likewise.
6513 (IP_MULTICAST_IF): Likewise.
6514 (IP_MULTICAST_TTL): Likewise.
6515 (IP_MULTICAST_LOOP): Likewise.
6516 (IP_ADD_MEMBERSHIP): Likewise.
6517 (IP_DROP_MEMBERSHIP): Likewise.
6518 (IP_UNBLOCK_SOURCE): Likewise.
6519 (IP_BLOCK_SOURCE): Likewise.
6520 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6521 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6522 (IP_MSFILTER): Likewise.
6523 (MCAST_JOIN_GROUP): Likewise.
6524 (MCAST_BLOCK_SOURCE): Likewise.
6525 (MCAST_UNBLOCK_SOURCE): Likewise.
6526 (MCAST_LEAVE_GROUP): Likewise.
6527 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6528 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6529 (MCAST_MSFILTER): Likewise.
6530 (IP_MULTICAST_ALL): Likewise.
6531 (IP_UNICAST_IF): Likewise.
6532
73f79bb7
MF
6533 * timezone/Makefile: Delete $(have-ksh) check.
6534 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6535 * timezone/tzselect.ksh: Add +x mode bits.
6536
8da79b60
MF
6537 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6538 (ANON_INODE_FS_MAGIC): Likewise.
6539 (BDEVFS_MAGIC): Likewise.
6540 (BINFMTFS_MAGIC): Likewise.
6541 (BTRFS_TEST_MAGIC): Likewise.
6542 (CRAMFS_MAGIC_WEND): Likewise.
6543 (DEBUGFS_MAGIC): Likewise.
6544 (ECRYPTFS_SUPER_MAGIC): Likewise.
6545 (EXT3_SUPER_MAGIC): Likewise.
6546 (EXT4_SUPER_MAGIC): Likewise.
6547 (FUTEXFS_SUPER_MAGIC): Likewise.
6548 (HOSTFS_SUPER_MAGIC): Likewise.
6549 (HUGETLBFS_MAGIC): Likewise.
6550 (MINIX3_SUPER_MAGIC): Likewise.
6551 (MTD_INODE_FS_MAGIC): Likewise.
6552 (NILFS_SUPER_MAGIC): Likewise.
6553 (OPENPROM_SUPER_MAGIC): Likewise.
6554 (PIPEFS_MAGIC): Likewise.
6555 (PSTOREFS_MAGIC): Likewise.
6556 (QNX6_SUPER_MAGIC): Likewise.
6557 (RAMFS_MAGIC): Likewise.
6558 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6559 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6560 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6561 (SECURITYFS_MAGIC): Likewise.
6562 (SELINUX_MAGIC): Likewise.
6563 (SMACK_MAGIC): Likewise.
6564 (SOCKFS_MAGIC): Likewise.
6565 (SQUASHFS_MAGIC): Likewise.
6566 (STACK_END_MAGIC): Likewise.
6567 (TMPFS_MAGIC): Likewise.
6568 (USBDEVICE_SUPER_MAGIC): Likewise.
6569 (V9FS_MAGIC): Likewise.
6570 (XENFS_SUPER_MAGIC): Likewise.
6571 (CRAMFS_MAGIC): Fix typo in comment.
6572 (EXT2_SUPER_MAGIC): Update comment.
6573 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6574
464263cc
JM
65752014-02-08 Joseph Myers <joseph@codesourcery.com>
6576
c6bfe5c4
JM
6577 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6578 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6579 * sysdeps/unix/sysv/linux/arm: Move directory from
6580 ports/sysdeps/unix/sysv/linux/arm.
6581 * README: Update listing for arm-*-linux-gnueabi.
6582
464263cc
JM
6583 * README: Remove mention of am33.
6584
32749f6c
RM
65852014-02-07 Roland McGrath <roland@hack.frob.com>
6586
6587 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6588 than the comma operator, to avoid "rhs of comma has no effect"
6589 compiler warnings.
6590 (__sigfillset, __sigandset, __sigorset): Likewise.
6591 * include/signal.h (__sigemptyset): Likewise.
6592 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6593
d5b396c1
AM
65942014-02-07 Allan McRae <allan@archlinux.org>
6595
6596 * version.h (RELEASE): Set to "development".
6597 (VERSION): Set to "2.19.90"
6598 * NEWS: Add 2.20 section.
6599
3bfff2ed
CD
66002014-02-06 Carlos O'Donell <carlos@redhat.com>
6601
6602 [BZ #16529]
6603 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6604
ee7cc385
SP
66052014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6606
6607 * manual/contrib.texi: Update entry for Carlos O'Donell,
6608 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6609
f877c4f2
CD
66102014-02-05 Carlos O'Donell <carlos@rehdat.com>
6611
27e839f6
CD
6612 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6613
f877c4f2
CD
6614 * sysdeps/unix/sysv/linux/kernel-features.h
6615 [__LINUX_KERNEL_VERSION >= 0x020621]
6616 (__ASSUME_PROC_PID_TASK_COMM): Define.
6617
68159946
SP
66182014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
ba17cdbd
SP
6620 [BZ #16398]
6621 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6622 conversion when destination buffer does not have enough space.
6623 * libio/tst-ftell-partial-wide.c: New test case.
6624 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6625
68159946
SP
6626 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6627 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6628 Leonard and Allan McRae.
6629
2b528732
DM
66302014-02-04 David S. Miller <davem@davemloft.net>
6631
6632 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6633 32-bit.
6634
0ff82463
AZ
66352014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636
57f41c40
AS
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6638 New file
c01603f7
AZ
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6640 New file
57f41c40
AS
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6642 New file.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6644 New file.
c01603f7
AZ
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6646 New file.
57f41c40
AS
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6648 New file.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6650 New file.
c01603f7
AZ
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6652 New file.
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6654 New file.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6656 New file.
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6658 New file.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6660 New file.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6662 New file.
6663
66642014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665
0ff82463
AZ
6666 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6667 * shlib-versions: Likewise.
6668
1695c773
AZ
66692014-02-04 Roland McGrath <roland@hack.frob.com>
6670 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6671
6672 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6673 (abilist-pattern): New variable, set to %-le.abilist.
6674
6675 * Makerules (abilist-pattern): New variable.
6676 (vpath): Use $(abilist-pattern) in place of %.abilist.
6677 (check-abi-% pattern rule): Likewise.
6678 (check-abi, update-abi): Likewise.
6679
6c0ce4b4
EW
66802014-02-04 Eric Wong <normalperson@yhbt.net>
6681
6682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6683
481e3524
CD
66842014-02-03 Carlos O'Donell <carlos@redhat.com>
6685
6686 * manual/startup.texi: Add next, previous, and top entries for
6687 the `Program Arguments' and `Environment Variables' nodes.
6688
375592d3
AO
66892014-02-03 Alexandre Oliva <aoliva@redhat.com>
6690
6691 * manual/macros.texi: Add comments before MTASC-safety macros.
6692
f54838ba
AO
6693 * manual/users.texi: Document MTASC-safety properties.
6694
57f41c40
AS
6695 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6696 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6697 @deftypefun, and add @safety note.
6698 * manual/signal.texi: Move comments that analyze the above
6699 functions to their home place.
6700
fd3daba4
AM
67012014-02-03 Allan McRae <allan@archlinux.org>
6702
6703 * po/sl.po: Update Slovenian translation from translation project.
6704
597636d7
AO
67052014-02-02 Alexandre Oliva <aoliva@redhat.com>
6706
6707 * manual/time.texi (timegm): Add missing blank after @c.
6708 Reported by Joseph Myers <joseph@codesourcery.com>.
6709
ee196e3c
AO
67102014-02-01 Alexandre Oliva <aoliva@redhat.com>
6711
6712 * manual/check-safety.sh: New.
6713 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6714
f8d529d5
AO
6715 * manual/terminal.texi: Document MTASC-safety properties.
6716
de55fdf4
AO
6717 * manual/filesys.texi: Document MTASC-safety properties.
6718
c3299c08
AO
6719 * manual/errno.texi: Document MTASC-safety properties.
6720
06e90b14
AO
6721 * manual/intro.texi: Document safety identifiers and
6722 conditionals.
6723
1acd4371
AO
6724 * manual/string.texi (wcstok): Fix prototype.
6725 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6726
23e5b8cb
AO
6727 * manual/time.texi: Document MTASC-safety properties.
6728
11087373
AO
6729 * manual/string.texi: Document MTASC-safety properties.
6730
5da2c93d
AO
6731 * manual/threads.texi: Document MTASC-safety properties.
6732
171e9210
AO
6733 * manual/stdio.texi: Document MTASC-safety properties.
6734
d9e02532
AO
6735 * manual/syslog.texi: Document MTASC-safety properties.
6736
6af8bab7
AO
6737 * manual/sysinfo.texi: Document MTASC-safety properties.
6738
663b02d7
AO
6739 * manual/startup.texi: Document MTASC-safety properties.
6740
973f180b
AO
6741 * manual/socket.texi: Document MTASC-safety properties.
6742
8f3c25c8
AO
6743 * manual/signal.texi: Document MTASC-safety properties.
6744
542210fb
AO
67452014-01-31 Alexandre Oliva <aoliva@redhat.com>
6746
6747 * manual/setjmp.texi: Document MTASC-safety properties.
6748
433c45a2
AO
6749 * manual/search.texi: Document MTASC-safety properties.
6750
c8ce789c
AO
6751 * manual/resource.texi: Document MTASC-safety properties.
6752
19f5d29c
AO
6753 * manual/process.texi: Document MTASC-safety properties.
6754
e2dfb7f4
AO
6755 * manual/platform.texi: Document MTASC-safety properties.
6756
8c1413f5
AO
6757 * manual/pipe.texi: Document MTASC-safety properties.
6758
03483ada
AO
6759 * manual/pattern.texi: Document MTASC-safety properties.
6760
29e7e2df
AO
6761 * manual/message.texi: Document MTASC-safety properties.
6762
9f529d7c
AO
6763 [BZ #12751]
6764 * manual/memory.texi: Document MTASC-safety properties.
6765
27aaa791
AO
6766 * manual/math.texi: Document MTASC-safety properties.
6767
f2d58726
AO
6768 * manual/locale.texi: Document MTASC-safety properties.
6769
2cc3615c
AO
6770 * manual/llio.texi: Document MTASC-safety properties.
6771
d9f0ec97
AO
6772 * manual/libdl.texi: New.
6773
e7c4409a
AO
6774 * manual/lang.texi: Document MTASC-safety properties.
6775
27bdc63c
AO
6776 * manual/job.texi: Document MTASC-safety properties.
6777
a7b90ea9
AO
6778 * manual/getopt.texi: Document MTASC-safety properties.
6779
c49130e3
AO
6780 * manual/ctype.texi: Document MTASC-safety properties.
6781
0d23a5c1
MR
67822014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6783
6784 [BZ #16046]
6785 * csu/libc-tls.c (static_map): Remove variable.
6786 (__libc_setup_tls): Use main executable's link map for TLS data.
6787 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6788 casing for LM_ID_BASE and GL(dl_nns).
6789 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6790 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6791 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6792 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6793 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6794 member.
6795 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6796 l_phnum members.
6797
0037bb60
AO
67982014-01-30 Alexandre Oliva <aoliva@redhat.com>
6799
6800 * manual/debug.texi: Document MTASC-safety properties.
6801
409e00bd
L
68022014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6803
6804 [BZ #16510]
6805 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6806 of __x86_64__ when disabling x87 inline functions.
6807
86e60666
AO
68082014-01-29 Alexandre Oliva <aoliva@redhat.com>
6809
6810 * manual/charset.texi: Document MTASC-safety properties.
6811
76167637
AO
6812 * manual/crypt.texi: Document MTASC-safety properties.
6813
e567f2a0
AO
6814 * manual/conf.texi: Document MTASC-safety properties.
6815
b719dafd
AO
6816 * manual/arith.texi: Document MTASC-safety properties.
6817
4a16c662
AO
6818 * manual/argp.texi: Document MTASC-safety properties.
6819
0a57b83e
AO
6820 * manual/macros.texi: Introduce macros to document multi
6821 thread, asynchronous signal and asynchronous cancellation
6822 safety properties.
6823 * manual/intro.texi: Introduce the properties themselves.
6824
feab2397
KK
68252014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6826
6827 * sysdeps/sh/sh4/Makefile: New file.
6828
1c0d11bc
AS
68292014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6830
6831 * math/gen-libm-test.pl ($srcdir): New variable.
6832 ($auto_input): Use it.
6833
af37a8a3
SP
68342014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6835
d7b00f98
SP
6836 [BZ #16506]
6837 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6838 access beyond array bounds when parsing netgroups file.
6839
af37a8a3
SP
6840 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6841 the old buffer before realloc.
6842
0c00f062
AM
68432014-01-27 Allan McRae <allan@archlinux.org>
6844
6845 * po/fr.po: Update French translation from translation project.
6846
7d69a1b0
KK
68472014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6848
6849 * sysdeps/sh/libm-test-ulps: Regenerate.
6850
6e697ff7
DM
68512014-01-24 David S. Miller <davem@davemloft.net>
6852
6853 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6854
9cadb35c
KK
68552014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6856
6857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6858 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6859
5d41dadf
SP
68602013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6861
6862 [BZ #16474]
6863 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6864 string pointers after reallocation.
6865
0bad441c
KK
68662014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6867
6868 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6869 __SH4A__ instead of __SH_FPU_ANY__.
6870
7007c661
KK
68712014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6872
6873 * sysdeps/sh/fpu_control.h: New file.
6874 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6875 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6876 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6877 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6878 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6879 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6880 * sysdeps/sh/sys/ucontext.h: Remove.
6881 * sysdeps/sh/sys: Remove directory.
6882
0f0c35e4
AK
68832014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6884
6885 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6886 s390/sys/ucontext.h.
6887 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6888 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6889
4959e284
L
68902014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6891
6892 [BZ #15605]
6893 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6894
d98720e0
AZ
68952014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896
6897 [BZ#16431]
6898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6899 Adjust the vDSO correctly for internal calls.
6900 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6901
91cbd0bc
AM
69022014-01-20 Allan McRae <allan@archlinux.org>
6903
6904 * po/ca.po: Update Catalan translation from translation project.
6905
7a02cfad
MF
69062014-01-16 Mike Frysinger <vapier@gentoo.org>
6907
6908 * sysdeps/s390/sotruss-lib.c: New file.
6909
736c304a
AZ
69102014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6911
6912 [BZ#16430]
6e077ee5 6913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6914 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6915 local calls issues by not having a PLT stub required for IFUNC calls.
6916 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6917
94d0cea0
JM
69182014-01-16 Joseph Myers <joseph@codesourcery.com>
6919
6920 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6921 * math/test-fpucw-static.c: Likewise.
6922
980cb518
SP
69232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6924
6925 [BZ #16453]
6926 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6927
2393fc01
AZ
69282014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929
6930 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6931 implementation for powerpc.
6932
d359bcc2
OB
69332014-01-15 Ondřej Bílka <neleai@seznam.cz>
6934
6935 [BZ #14782]
6936 * sysdeps/posix/system.c (__libc_system): Do not enable
6937 asynchronous cancellation.
6938
7beb48cb
AK
69392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6940
6941 [BZ #16427]
6942 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6943 handling only for numbers special also in the IEEE case.
6944
c20d5bf5
AK
69452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6946
6947 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6948
e83bd4ee
AM
69492014-01-11 Allan McRae <allan@archlinux.org>
6950
76d0ea69
AM
6951 * po/bg.po: Update Bulgarian translation from translation project.
6952
e83bd4ee
AM
6953 * po/de.po: Update German translation from translation project.
6954
bc2ba20a
RM
69552014-01-10 Roland McGrath <roland@hack.frob.com>
6956
6957 * sysdeps/generic/gcc-compat.h: New file.
6958
649ecea2
SP
69592014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6960
6961 * benchtests/asin-inputs: Correct slow inputs.
6962 * benchtests/acos-inputs: Likewise.
6963
1b19c006
AM
69642014-01-10 Allan McRae <allan@archlinux.org>
6965
a46dab08
AM
6966 * po:sv.po: Update Swedish translation from translation project.
6967
421df74a
AM
6968 * po/vi.po: Update Vietnamese translation from translation project.
6969
d61c51a7
AM
6970 * po/eo.po: Update Esperanto translation from translation project.
6971
0339a319
AM
6972 * po/cs.po: Update Czech translation from translation project.
6973
94ad3e99
AM
6974 * po/nl.po: Update Dutch translation from translation project.
6975
e349ca71
AM
6976 * po/pl.po: Update Polish translation from translation project.
6977
ddf930c1
AM
6978 * po/ru.po: Update Russian translation from translation project.
6979
1b19c006
AM
6980 * po/uk.po: Update Ukrainian translation from translation project.
6981
9f236c49
BM
69822014-01-08 Brooks Moses <bmoses@google.com>
6983
6984 * elf/dl-load.c: Fix comment typo.
6985
cd6701cf
CD
69862014-01-08 Carlos O'Donell <carlos@redhat.com>
6987
6988 * po/header.pot: Rename to...
6989 * po/pot.header: ... this.
6990 * po/Makefile: Use pot.header.
6991
66671c84
YK
69922014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6993 Maxim Kuvyrkov <maxim@kugelworks.com>
6994
6995 [BZ #16394]
cd6701cf
CD
6996 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6997 SRC and DEST against LEN.
66671c84 6998
38f34581
AZ
69992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 [BZ #16414]
7002 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7003 implementation.
7004 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7005
70062014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7007
7008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7009
4c327f2a
JM
70102014-01-08 Joseph Myers <joseph@codesourcery.com>
7011
7012 [BZ #16408]
7013 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7014 for large positive arguments.
7015
b821f414
JM
70162014-01-07 Joseph Myers <joseph@codesourcery.com>
7017
1f0f2067
JM
7018 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7019
a5a326f6
JM
7020 * math/auto-libm-test-in: Mark various tests with
7021 xfail-rounding:ldbl-128ibm.
7022 * math/auto-libm-test-out: Regenerated.
7023
b821f414
JM
7024 [BZ #16407]
7025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7026 Increase overflow threshold.
7027
94c8a4bc
OB
70282014-01-07 Ondřej Bílka <neleai@seznam.cz>
7029
7030 [BZ #14286]
7031 * stdio-common/vfprintf.c: Check for integer overflow.
7032
87ded0c3
AK
70332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7034
7035 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7036 the first argument and return value of __tls_get_addr_internal.
7037
c5eebdd0
AK
70382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7039
7040 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7041 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7042
05d138ef
AK
70432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7044
7045 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7046 * sysdeps/s390/rtld-global-offsets.sym: New file.
7047 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7048 GLIBC_2.19 symbol.
7049 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7051 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7052 ... this.
7053 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7054 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7055 ... this.
7056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7057 Regenerate.
7058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7059 Regenerate.
7060 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7061 halfs of GPRs for high_gprs contexts.
7062 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7063 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7064 field.
7065 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7066 uc_flags field.
7067 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7068 64 bit versions:
7069 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7070 for high GPRs (uc_high_gprs) and for future extensions
7071 (__reserved).
7072 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7073 for future extensions (__reserved).
7074 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7075 64 bit versions:
7076 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7077 SC_HIGHGPRS offset definition.
7078 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7079 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7080
93a45ff1
AK
7081 * Versions.def: Add GLIBC_2.19 for libpthread.
7082 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7083 siglongjmp for libpthread with GLIBC_2.19 symver.
7084 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7085 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7086 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7087 * sysdeps/s390/__longjmp.c: New file.
7088 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7089 * sysdeps/s390/longjmp.c: New file.
7090 * sysdeps/s390/setjmp.S: New file.
7091 * sysdeps/s390/sigjmp.S: New file.
7092 * sysdeps/s390/v1-longjmp.c: New file.
7093 * sysdeps/s390/v1-setjmp.h: New file.
7094 * sysdeps/s390/v1-sigjmp.c: New file.
7095 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7096 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7097 GLIBC_2.19 version.
7098 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7099 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7100 versioned symbols for ____longjmp_chk.
7101 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7102 Likewise.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7104 Regenerate.
7105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7106 Regenerate.
7107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7108 Regenerate.
7109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7110 Regenerate.
7111 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7112 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7113 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7114 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7115 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7116 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7117 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7118 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7119 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7120 * sysdeps/s390/rtld-__longjmp.c: New file.
7121 * sysdeps/s390/rtld-setjmp.S: New file.
7122
eb3fc44b
JM
71232014-01-06 Joseph Myers <joseph@codesourcery.com>
7124
7125 [BZ #16400]
7126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7127 Return -__logl (x) for small positive arguments without evaluating
7128 a polynomial.
7129
9341dde4
MF
71302014-01-06 Mike Frysinger <vapier@gentoo.org>
7131
7132 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7133 Rename to ...
7134 (__ptrace_peeksiginfo_args): ... this.
7135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7138
4cff0293
AM
71392014-01-06 Allan McRae <allan@archlinux.org>
7140
7141 * inet/netinet/in.h: Fix typo in comment.
7142
75595dcf
AJ
71432014-01-05 Andreas Jaeger <aj@suse.de>
7144
7145 * sysdeps/i386/fpu/libm-test-ulps: Update.
7146
79c1e109
AM
71472014-01-05 Allan McRae <allan@archlinux.org>
7148
dd804818
AM
7149 * po/libc.pot: Regenerated.
7150
79c1e109
AM
7151 * malloc/memusagestat.c: Fix gettext call formatting.
7152
0c813d1f
SK
71532014-01-04 Sami Kerola <kerolasa@iki.fi>
7154
7155 * nscd/nscd.c: Improve usage() output.
7156
20f4a8d9
MF
71572014-01-04 Mike Frysinger <vapier@gentoo.org>
7158
7159 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7160 * sysdeps/unix/sysv/linux/configure: Regenerated.
7161 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7162 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7163
22562bb2
JM
71642014-01-03 Joseph Myers <joseph@codesourcery.com>
7165
7166 [BZ #16390]
7167 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7168 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7169
d7ad2d9b
AZ
71702014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171
7172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7173 extra tokens at end of #undef directive.
7174 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7175 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7176 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7177
7dd009d8
JM
71782014-01-03 Joseph Myers <joseph@codesourcery.com>
7179
24db925a
JM
7180 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7181
7dd009d8
JM
7182 * math/auto-libm-test-in: Mark various tests with
7183 xfail-rounding:ldbl-128ibm.
7184 * math/auto-libm-test-out: Regenerated.
7185
396e3ecf
JM
71862014-01-02 Joseph Myers <joseph@codesourcery.com>
7187
819e5d50
JM
7188 [BZ #16386]
7189 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7190 numbers with subnormal high part when calculating exponent.
7191
90b6a1e5
JM
7192 [BZ #16385]
7193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7194 fabs.
7195
396e3ecf
JM
7196 [BZ #16384]
7197 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7198 M_LN2l.
7199 (__ieee754_acoshl): Use __log1pl not __log1p.
7200
6c8dbf00
OB
72012013-01-02 Ondřej Bílka <neleai@seznam.cz>
7202
57f41c40
AS
7203 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7204 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7205 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7206 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7207 (reused_arena, arena_get2): Convert to GNU style.
7208 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7209 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7210 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7211 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7212 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7213 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7214 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7215 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7216 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7217 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7218 * malloc/malloc.h: Likewise.
57f41c40
AS
7219 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7220 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7221 * malloc/mcheck.h: Likewise.
57f41c40
AS
7222 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7223 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7224 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7225 * malloc/morecore.c (__default_morecore): Likewise.
7226 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7227 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7228 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7229 (print_and_abort): Likewise.
6c8dbf00
OB
7230 * malloc/obstack.h: Likewise.
7231 * malloc/set-freeres.c (__libc_freeres): Likewise.
7232 * malloc/tst-mallocstate.c (main): Likewise.
7233 * malloc/tst-mtrace.c (main): Likewise.
7234 * malloc/tst-realloc.c (do_test): Likewise.
7235
d4124212
SP
72362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7237
9a3c6a6f
SP
7238 [BZ #16366]
7239 * nscd/netgroupcache.c (do_notfound): New function.
7240 (addgetnetgrentX): Use it.
7241
d4124212
SP
7242 [BZ # 16365]
7243 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7244 NSS_STATUS_NOTFOUND.
7245
97b9a009
JM
72462014-01-01 Joseph Myers <joseph@codesourcery.com>
7247
7248 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7250
d4697bc9
AM
72512014-01-01 Allan McRae <allan@archlinux.org>
7252
ddb3687f
AM
7253 * scripts/update-copyrights: Update configure input file suffix.
7254
88726d48
AM
7255 * NEWS: Update copyright year.
7256 * catgets/gencat.c: Likewise.
7257 * csu/version.c: Likewise.
7258 * debug/catchsegv.sh: Likewise.
7259 * debug/pcprofiledump.c: Likewise.
7260 * debug/xtrace.sh: Likewise.
7261 * elf/ldconfig.c: Likewise.
7262 * elf/ldd.bash.in: Likewise.
7263 * elf/pldd.c: Likewise.
7264 * elf/sotruss.ksh: Likewise.
7265 * elf/sprof.c: Likewise.
7266 * iconv/iconv_prog.c: Likewise.
7267 * iconv/iconvconfig.c: Likewise.
7268 * locale/programs/locale.c: Likewise.
7269 * locale/programs/localedef.c: Likewise.
7270 * login/programs/pt_chown.c: Likewise.
7271 * malloc/memusage.sh: Likewise.
7272 * malloc/memusagestat.c: Likewise.
7273 * malloc/mtrace.pl: Likewise.
7274 * manual/libc.texinfo: Likewise.
7275 * nscd/nscd.c: Likewise.
7276 * nss/getent.c: Likewise.
7277 * nss/makedb.c: Likewise.
7278 * posix/getconf.c: Likewise.
7279 * scripts/test-installation.pl: Likewise.
7280
d4697bc9
AM
7281 * All files with FSF copyright notices: Update copyright dates
7282 using scripts/update-copyrights.
7283 * intl/plural.c: Regenerated.
7284 * locale/programs/charmap-kw.h: Likewise.
7285 * locale/programs/locfile-kw.h: Likewise.
7286
c8590f9d
MF
72872013-12-31 Mike Frysinger <vapier@gentoo.org>
7288
7289 * sysdeps/unix/sysv/linux/configure: Regenerated.
7290 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7291 the linux/fanotify.h header.
7292 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7293 HAVE_LINUX_FANOTIFY_H is defined.
7294
b19221b9
SP
72952013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7296
dd1d85e5
SP
7297 * benchtests/cos-inputs: New inputs.
7298 * benchtests/sin-inputs: Likewise.
7299
1acbb90f
SP
7300 * benchtests/atan-inputs: New inputs. Fix name of multiple
7301 precision fallback inputs.
7302
4c012ed3
SP
7303 * benchtests/atanh-inputs: New inputs.
7304 * benchtests/tanh-inputs: Likewise.
7305
eff98324
SP
7306 * benchtests/acosh-inputs: New inputs.
7307 * benchtests/asinh-inputs: Likewise.
7308
ce641152
SP
7309 * benchtests/cosh-inputs: New inputs.
7310 * benchtests/sinh-inputs: Likewise.
7311
b19221b9
SP
7312 * benchtests/acos-inputs: Add more inputs.
7313 * benchtests/asin-inputs: Likewise.
7314
030a4976 73152013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7316
030a4976 7317 [BZ #16375]
9dcc8f11
VS
7318 * manual/arith.texi: Fix spelling.
7319 * manual/charset.texi: Likewise.
7320 * manual/errno.texi: Likewise.
7321 * manual/filesys.texi: Likewise.
7322 * manual/lang.texi: Likewise.
7323 * manual/llio.texi: Likewise.
7324 * manual/locale.texi: Likewise.
7325 * manual/message.texi: Likewise.
7326 * manual/resource.texi: Likewise.
7327 * manual/search.texi: Likewise.
7328 * manual/setjmp.texi: Likewise.
7329 * manual/stdio.texi: Likewise.
7330 * manual/string.texi: Likewise.
7331 * manual/sysinfo.texi: Likewise.
7332 * manual/time.texi: Likewise.
7333
11520a57
CD
73342013-12-27 Carlos O'Donell <carlos@redhat.com>
7335
7336 * po/sl.po: New file.
7337
471103ae
MF
73382013-12-27 Mike Frysinger <vapier@gentoo.org>
7339
7340 * .gitignore: Add core/.gdbinit/.gdb_history.
7341
6c9642ed
AM
73422013-12-27 Allan McRae <allan@archlinux.org>
7343
7344 [BZ #16369]
7345 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7346 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7347
3f637079
BM
73482013-12-24 Brooks Moses <bmoses@google.com>
7349
7350 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7351 all compilers that claim C++98 compliance, not just GCC.
7352 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7353 Likewise.
7354
abc26e99
MK
73552013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7356
7357 * NEWS: Restore accidentally deleted bug-fix entries.
7358
362b47fe
MK
73592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7360 Ondřej Bílka <neleai@seznam.cz>
7361
7362 [BZ #15073]
7363 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7364 have_lock.
362b47fe 7365
b9bcbbcb
OB
73662013-12-23 Ondřej Bílka <neleai@seznam.cz>
7367
7368 [BZ #12986]
7369 * manual/stdio.texi (String Input Conversions): Clarify that character
7370 classes are not supported.
7371
fb55fcd2
AZ
73722013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7373
7374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7375
ef7344f0
JM
73762013-12-22 Joseph Myers <joseph@codesourcery.com>
7377
4f40e4b3
JM
7378 [BZ #16337]
7379 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7380 Calculate results for small negative arguments directly rather
7381 than using reflection formula with special underflow handling.
7382
ef7344f0
JM
7383 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7384 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7385 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7386 (fchflags): Likewise.
7387 (revoke): Likewise.
7388 (setlogin): Likewise.
7389 (sigaltstack): Likewise.
7390 (wait4): Likewise.
7391 (sigblock): Remove.
7392 (sigsetmask): Likewise.
7393 (wait3): Likewise.
7394 (waitpid): Likewise.
7395 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7396 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7397 file.
7398 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7399 * sysdeps/unix/bsd/Makefile: ... here.
7400 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7401 * sysdeps/unix/bsd/Versions: ... here.
7402 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7403 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7404 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7405 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7406 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7407 * sysdeps/unix/bsd/sigblock.c: ... here.
7408 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7409 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7410 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7411 * sysdeps/unix/bsd/sigvec.c: ... here.
7412 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7413 * sysdeps/unix/bsd/tcdrain.c: ... here.
7414 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7415 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7416 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7417 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7418 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7419 * sysdeps/unix/bsd/wait.c: ... here.
7420 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7421 * sysdeps/unix/bsd/wait3.c: ... here.
7422 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7423 * sysdeps/unix/bsd/waitpid.c: ... here.
7424
5b0626b9
JM
74252013-12-21 Joseph Myers <joseph@codesourcery.com>
7426
7427 [BZ #16356]
7428 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7429 round-to-nearest for [!USE_AS_EXPM1L].
7430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7431 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7432 more tests of exp and exp10. Expect some exp10 tests to miss
7433 exceptions or fail in directed rounding modes.
7434 * math/auto-libm-test-out: Regenerated.
7435 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7436 (exp10_test_tonearest): New function.
7437 (exp10_towardzero_test_data): New array.
7438 (exp10_test_towardzero): New function.
7439 (exp10_downward_test_data): New array.
7440 (exp10_test_downward): New function.
7441 (exp10_upward_test_data): New array.
7442 (exp10_test_upward): New function.
7443 (main): Call the new functions.
7444 * sysdeps/i386/fpu/libm-test-ulps: Update.
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7446
7fda5682
JM
74472013-12-20 Joseph Myers <joseph@codesourcery.com>
7448
31e3a405
JM
7449 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7450 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7451 * math/auto-libm-test-out: Regenerated.
7452 * math/libm-test.inc (acosh_test_data): Add more tests.
7453 (atanh_test_data): Likewise.
7454 (ceil_test_data): Likewise.
7455 (copysign_test_data): Likewise.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7458
85bff96a
JM
7459 * timezone/checktab.awk: Update from tzcode 2013i.
7460 * timezone/private.h: Likewise.
7461 * timezone/scheck.c: Likewise.
7462 * timezone/tzfile.h: Likewise.
7463 * timezone/tzselect.ksh: Likewise.
7464 * timezone/zdump.c: Likewise.
7465 * timezone/zic.c: Likewise.
7466
b7867a3b
JM
7467 * math/auto-libm-test-in: Add tests of cpow.
7468 * math/auto-libm-test-out: Regenerated.
7469 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7470 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7471 mpc_cc_c.
7472 (func_calc_desc): Add mpc_cc_c union field.
7473 (test_functions): Add cpow.
7474 (special_fill_2pi): New function.
7475 (special_real_inputs): Add 2pi.
7476 (calc_generic_results): Handle mpc_cc_c.
7477 * sysdeps/i386/fpu/libm-test-ulps: Update.
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479
7fda5682
JM
7480 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7481 csqrt, ctan and ctanh.
7482 * math/auto-libm-test-out: Regenerated.
7483 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7484 (TEST_COND_x86): Likewise.
7485 (ccos_test_data): Use AUTO_TESTS_c_c.
7486 (ccosh_test_data): Likewise.
7487 (cexp_test_data): Likewise.
7488 (clog_test_data): Likewise.
7489 (csqrt_test_data): Likewise.
7490 (ctan_test_data): Likewise.
7491 (ctan_tonearest_test_data): Likewise.
7492 (ctan_towardzero_test_data): Likewise.
7493 (ctan_downward_test_data): Likewise.
7494 (ctan_upward_test_data): Likewise.
7495 (ctanh_test_data): Likewise.
7496 (ctanh_tonearest_test_data): Likewise.
7497 (ctanh_towardzero_test_data): Likewise.
7498 (ctanh_downward_test_data): Likewise.
7499 (ctanh_upward_test_data): Likewise.
7500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7501 mpc_c_c.
7502 (func_calc_desc): Add mpc_c_c union field.
7503 (FUNC_mpc_c_c): New macro.
7504 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7505 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7506 ctanh.
7507 (special_fill_min_subnorm_p120): New function.
7508 (special_real_inputs): Add min_subnorm_p120.
7509 (calc_generic_results): Handle mpc_c_c.
7510 * sysdeps/i386/fpu/libm-test-ulps: Update.
7511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7512
5ff8d60e
SP
75132013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7514
57f41c40
AS
7515 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7516 (do_sin_slow): New functions.
7517 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7518 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7519
84ba214c
SP
7520 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7521 Use M to change sign of result instead of X. Assume X is
7522 positive.
7523 (csloww1): Likewise.
7524 (__sin): Adjust.
7525 (__cos): Adjust.
7526
975195e4
SP
7527 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7528 arguments A and DA.
7529 (__sin): Adjust.
7530 (__cos): Likewise.
7531
5ff8d60e
SP
7532 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7533 (__cos): Likewise.
7534 (sloww1): Don't adjust sign of DX.
7535 (csloww1): Likewise.
7536 (sloww2): Use X directly and don't adjust sign of DX.
7537 (csloww2): Likewise.
7538
eb983568
JM
75392013-12-19 Joseph Myers <joseph@codesourcery.com>
7540
64a17f1a
JM
7541 * math/auto-libm-test-in: Add tests of cabs and carg.
7542 * math/auto-libm-test-out: Regenerated.
7543 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7544 (carg_test_data): Likewise.
7545 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7546 mpc_c_f.
7547 (func_calc_desc): Add mpc_c_f union field.
7548 (test_functions): Add cabs and carg.
7549 (calc_generic_results): Handle mpc_c_f.
7550
eb983568
JM
7551 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7552 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7553 as a macro and a compat symbol.
7554 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7555 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7556 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7557 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7558 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7559 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7560 not use .hidden.
7561 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7562 Likewise.
7563 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7564 Likewise.
7565 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7566 Likewise.
7567 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7568 Likewise.
7569 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7570 Likewise.
7571 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7572 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7573 from GLIBC_2.3.2.
7574
6eeb678a
AZ
75752013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576
7577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7578
6f6fc482
JM
75792013-12-19 Joseph Myers <joseph@codesourcery.com>
7580
21fea2e2
JM
7581 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7582 trailing whitespace removed.
7583 * scripts/config.guess: Update to version 2013-11-29.
7584 * scripts/config.sub: Update to version 2013-10-01.
7585
6f6fc482
JM
7586 * math/auto-libm-test-in: Add tests of sincos.
7587 * math/auto-libm-test-out: Regenerated.
7588 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7589 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7590 mpfr_f_11.
7591 (func_calc_desc): Add mpfr_f_11 union field.
7592 (test_functions): Add sincos.
7593 (calc_generic_results): Handle mpfr_f_11.
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596
83f5c32d
AS
75972013-12-19 Andreas Schwab <schwab@suse.de>
7598
7599 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7600 CALL_MCOUNT.
7601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7602 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7603 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7604
c688b419
JM
76052013-12-19 Joseph Myers <joseph@codesourcery.com>
7606
335ee092
JM
7607 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
f88acd39
JM
7611 [BZ #16293]
7612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7613 round-to-nearest mode when using frndint.
7614 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7615 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7616 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7617 Likewise.
7618 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7619 sinh test to fail.
7620 * math/auto-libm-test-out: Regenerated.
7621 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7622 (TEST_COND_x86): Likewise.
7623 (expm1_tonearest_test_data): New array.
7624 (expm1_test_tonearest): New function.
7625 (expm1_towardzero_test_data): New array.
7626 (expm1_test_towardzero): New function.
7627 (expm1_downward_test_data): New array.
7628 (expm1_test_downward): New function.
7629 (expm1_upward_test_data): New array.
7630 (expm1_test_upward): New function.
7631 (main): Run the new test functions.
7632 * sysdeps/i386/fpu/libm-test-ulps: Update.
7633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7634
c688b419
JM
7635 * include/features.h: Update comment documenting feature test
7636 macros. Mention _DEFAULT_SOURCE in comment.
7637 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7638 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7639 _BSD_SOURCE and _SVID_SOURCE.
7640 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7641 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7642 !_SVID_SOURCE]: Likewise.
7643 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7644 (__USE_POSIX_IMPLICITLY): Define.
7645 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7646 (_POSIX_SOURCE): Undefine and redefine.
7647 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7648 (_POSIX_C_SOURCE): Likewise.
7649 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7650 (Feature Test Macros): Update documentation of default features.
7651
9f6e964c
RS
76522013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7653
7654 * benchtests/Makefile: Add bench-strtok.
7655 * benchtests/bench-strtok.c: New file: strtok benchtest.
7656
ee0a148a
AM
76572013-12-19 Allan McRae <allan@archlinux.org>
7658
7659 * manual/install.texi: Suppress menu for plain text output.
7660 * INSTALL: Regenerated.
7661
b9ab448f
BM
76622013-12-18 Brooks Moses <bmoses@google.com>
7663
7664 [BZ #15846]
7665 * misc/getauxval.c: Include errno.h.
7666 (__getauxval): Set errno to ENOENT if the requested type is not
7667 found.
7668 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7669 don't declare with __attribute_const__.
7670 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7671 * manual/startup.texi: Document that getauxval sets errno.
7672
23776487
JM
76732013-12-18 Joseph Myers <joseph@codesourcery.com>
7674
f889953b
JM
7675 * math/auto-libm-test-in: Add tests of jn and yn.
7676 * math/auto-libm-test-out: Regenerated.
7677 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7678 (yn_test_data): Likewise.
7679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7680 mpfr_if_f.
7681 (func_calc_desc): Add mpfr_if_f union field.
7682 (FUNC_mpfr_if_f): New macro.
7683 (test_functions): Add jn and yn.
7684 (calc_generic_results): Assert type of second input for
7685 mpfr_ff_f. Handle mpfr_if_f.
7686 (output_for_one_input_case): Disable all checking for arguments
7687 fitting floating-point types in case of an integer argument.
7688 * sysdeps/i386/fpu/libm-test-ulps: Update.
7689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7690
23776487
JM
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7692 Don't expect fegetround reference in libm.so.
7693
cb756c6d
MS
76942013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7695
7696 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7697 $(config-cflags-nofma).
7698
2dec468f
JM
76992013-12-18 Joseph Myers <joseph@codesourcery.com>
7700
5953eb3a
JM
7701 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7702 * math/auto-libm-test-out: Regenerated.
7703
2dec468f
JM
7704 [BZ #16338]
7705 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7706 to determine exponent and adjust argument to have exponent of -1.
7707 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7708 log2.
7709 * math/auto-libm-test-out: Regenerated.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7712
4d84e6ad
OB
77132013-12-18 Ondřej Bílka <neleai@seznam.cz>
7714
7715 * manual/probes.texi: Remove cases when per-thread arenas are
7716 disabled.
7717
1818483b
AS
77182013-12-18 Andreas Schwab <schwab@suse.de>
7719
7720 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7721 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7722 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7723 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7724 * sysdeps/i386/i686/multiarch/Makefile: Update.
7725 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7726
25de95bf
JM
77272013-12-17 Joseph Myers <joseph@codesourcery.com>
7728
7729 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7730 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7731
674762d9
PE
77322013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7733
ed27ed83 7734 [BZ #15968]
0748546f
PE
7735 Support TZ transition times < 00:00:00.
7736 This is needed for version-3 tz-format files; it supports time
7737 stamps past 2037 for America/Godthab (the only entry in the tz
7738 database for which this change is relevant).
7739 * manual/time.texi (TZ Variable): Document transition times
7740 from -167:59:59 through -00:00:01.
7741 * time/tzset.c (tz_rule): Time of day is now signed.
7742 (__tzset_parse_tz): Parse negative time of day.
7743
4480e934
PE
7744 Document TZ transition times >= 25:00:00.
7745 * manual/time.texi (TZ Variable): Document transition times from
7746 25:00:00 through 167:59:59. These are already supported, and this
7747 support will help with version-3 tz-format files.
7748
69947401
PE
7749 * manual/time.texi (TZ Variable): Modernize North America example
7750 to reflect current (i.e., 2007-and-later) daylight saving rules.
7751
674762d9
PE
7752 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7753
7011c262
JM
77542013-12-17 Joseph Myers <joseph@codesourcery.com>
7755
2fc6557e
JM
7756 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7757 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7760 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7761 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7762 * sysdeps/unix/bsd/clock.c: Likewise.
7763 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7764 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7765 * sysdeps/unix/bsd/init-posix.c: Likewise.
7766 * sysdeps/unix/bsd/poll.c: Likewise.
7767 * sysdeps/unix/bsd/ptsname.c: Likewise.
7768 * sysdeps/unix/bsd/seekdir.c: Likewise.
7769 * sysdeps/unix/bsd/setegid.c: Likewise.
7770 * sysdeps/unix/bsd/seteuid.c: Likewise.
7771 * sysdeps/unix/bsd/setgid.c: Likewise.
7772 * sysdeps/unix/bsd/setrgid.c: Likewise.
7773 * sysdeps/unix/bsd/setruid.c: Likewise.
7774 * sysdeps/unix/bsd/setsid.c: Likewise.
7775 * sysdeps/unix/bsd/setuid.c: Likewise.
7776 * sysdeps/unix/bsd/sigaction.c: Likewise.
7777 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7778 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7779 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7780 * sysdeps/unix/bsd/telldir.c: Likewise.
7781 * sysdeps/unix/bsd/times.c: Likewise.
7782 * sysdeps/unix/bsd/usleep.c: Likewise.
7783
029c7b25
JM
7784 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7785 ($(objpfx)libbsd-compat.a): Remove rule.
7786
7011c262
JM
7787 * include/features.h (__FAVOR_BSD): Do not define.
7788 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7789 features conflicting with POSIX.
7790 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7791 (_BSD_SOURCE): Remove description of not being a subset of other
7792 feature test macros.
7793 * manual/job.texi (getpgrp): Do not document BSD version.
7794 (getpgid): Do not document by reference to BSD getpgrp.
7795 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7796 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7797 * signal/signal.h [__FAVOR_BSD]: Likewise.
7798 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7799 instead of making contents conditional on [__FAVOR_BSD].
7800 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7801
affb6f78
AZ
78022013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7803
7804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7805
c88769dd
JM
78062013-12-17 Joseph Myers <joseph@codesourcery.com>
7807
6432a540
JM
7808 [BZ #16314]
7809 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7810 values below 2**-450, not 2**-500.
7811 * math/auto-libm-test-in: Don't allow spurious underflow from
7812 hypot.
7813 * math/auto-libm-test-out: Regenerated.
7814
c88769dd
JM
7815 [BZ #16316]
7816 [BZ #16330]
7817 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7818 values of ha and hb and sort them after adjusting subnormal
7819 arguments.
7820 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7821 Likewise.
7822 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7823 values of ea and eb and sort them after adjusting subnormal
7824 arguments.
7825 * math/auto-libm-test-in: Do not expect some hypot tests of
7826 subnormals to fail. Add more hypot tests.
7827 * math/auto-libm-test-out: Regenerated.
7828
29618f6b
KK
78292013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7830
7831 [BZ #13304]
7832 * sysdeps/sh/s_fma.c: New file.
7833 * sysdeps/sh/s_fmaf.c: New file.
7834 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7835 version.
7836 * sysdeps/sh/Implies: Add sh/soft-fp.
7837
eacfdfbf
RM
78382013-12-16 Roland McGrath <roland@hack.frob.com>
7839
7840 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7841 level of indirection to members `objname', `errstring', `malloced'.
7842 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7843 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7844 it as the __longjmp argument (just pass 1 instead).
7845 (_dl_catch_error): Initialize C with argument pointers and address of
7846 volatile local ERRCODE rather than copying values out of C at return.
7847
ff362e5b
JM
78482013-12-16 Joseph Myers <joseph@codesourcery.com>
7849
7850 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7851 * math/auto-libm-test-out: Regenerated.
7852 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7853 (hypot_test_data): Likewise.
7854 (pow_test_data): Likewise.
7855 (pow_tonearest_test_data): Likewise.
7856 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7857 mpfr_ff_f.
7858 (func_calc_desc): Add mpfr_ff_f union field.
7859 (FUNC_mpfr_ff_f): New macro.
7860 (test_functions): Add atan2, hypot and pow.
7861 (special_fill_min): New function.
7862 (special_fill_minus_min): Likewise.
7863 (special_fill_min_subnorm): Likewise.
7864 (special_fill_minus_min_subnorm): Likewise.
7865 (special_real_inputs): Add min, -min, min_subnorm and
7866 -min_subnorm.
7867 (calc_generic_results): Handle mpfr_ff_f.
7868 * sysdeps/i386/fpu/libm-test-ulps: Update.
7869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7870
5764c27f
WN
78712013-12-16 Will Newton <will.newton@linaro.org>
7872
7873 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7874 (Aligned Memory Blocks): Add documentation for aligned_alloc
7875 and suggest it as an alternative to posix_memalign.
7876 (Hooks for Malloc): Document __memalign_hook is also called
7877 for aligned_alloc. (Summary of Malloc): Add summary for
7878 aligned alloc. Document __memalign_hook is also called
7879 for aligned_alloc.
7880
0a096e44
WN
78812013-12-16 Will Newton <will.newton@linaro.org>
7882
7883 * manual/memory.texi (Malloc Examples): Clarify default
7884 alignment documentation. Suggest posix_memalign rather
7885 than memalign or valloc.
7886 (Aligned Memory Blocks): Remove suggestion to use memalign
7887 or valloc. Remove obsolete comment about BSD.
7888 Document memalign errno values and mark the function obsolete.
7889 Document posix_memalign returned error codes. Mark valloc
7890 as obsolete. (Hooks for Malloc): __memalign_hook is also
7891 called for posix_memalign and valloc.
7892 (Summary of Malloc): Add posix_memalign to function summary.
7893 __memalign_hook is also called for posix_memalign and valloc.
7894
8d561986
SP
78952013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7896
7897 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7898 TAYLOR_SIN.
7899 (__sin): Adjust.
7900 (__cos): Likewise.
7901 (sloww): Use mynumber union. Expand ternary operator into
7902 if-else statements.
7903 (cslow): use mynumber union.
7904
73616a74
AM
79052013-12-16 Allan McRae <allan@archlinux.org>
7906
9e8ac24b
AM
7907 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7908 * configure: Regenerated.
7909
6f8e37eb
AM
7910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7911
8894bad3
AM
7912 [BZ #14120]
7913 * configure.ac: Added --enable-maintainer-mode. Check for
7914 autoconf when enabled.
7915 * configure: Regenerated.
7916
73616a74
AM
7917 * nscd/nscd.service: New file.
7918 * nscd/nscd.tmpfiles: New file.
7919
584b18eb
OB
79202013-12-14 Ondřej Bílka <neleai@seznam.cz>
7921
7922 [BZ #12100]
7923 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7924 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7925 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7926 (strstr): Add __strstr_sse2_unaligned ifunc.
7927 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7928 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7929 (strcasestr): Remove __strcasestr_sse42 ifunc.
7930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7933
8a5c7897
KK
79342013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7935
7936 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7937 * sysdeps/sh/bits/fenv.h: ... here.
7938 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7939
fd712ef3
AZ
79402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7941
7942 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7943
42fcb46c
AZ
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7945 hypotf multiarch implementations.
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7949 multiarch hypot for PPC64.
7950 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7951 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7953 multiarch hypotf for PPC64.
7954
83efded4
AZ
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7956 modff multiarch implementations.
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7960 multiarch modf for PPC64.
7961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7964 multiarch modff for PPC64.
7965
43e246d2
AZ
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7967 and logl multiarch implementations.
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7971 multiarch logb for PPC64.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7975 multiarch logb for PPC64.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7979 multiarch logb for PPC64.
7980
8fdad123
AZ
7981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7982 isinff multiarch implementation.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7984 file.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7987 multiarch isinf for PPC64.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7989 file.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7991 multiarch isinff for PPC64.
7992
1481d706
AZ
7993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7994 finitef multiarch implementation.
7995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7996 file.
7997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7999 multiarch finite for PPC64.
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8001 file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8003 multiarch finitef for PPC64.
8004
5ccd5fc8
AZ
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8006 lrint multiarch implementation.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8008 file.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8011 multiarch llrint for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8013 multiarch lrint for PPC64.
8014
2568f3fa
AZ
8015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8016 copysignf multiarch implementation.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8018 file.
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8020 file.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8022 multiarch copysign for PPC64.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8024 multiarch copysignf for PPC64.
8025
1cb341fd
AZ
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8027 multiarch implementation.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8029 file.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8031 file.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8033 file.
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8035 file.
8036 multiarch llround for PPC64.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8038 multiarch trunc for PPC64.
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8040 multiarch truncf for PPC64.
8041
59a3e194
AZ
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8043 multiarch implementation.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8045 file.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8047 file.
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8049 file.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8051 file.
8052 multiarch llround for PPC64.
8053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8054 multiarch round for PPC64.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8056 multiarch roundf for PPC64.
8057
357fd3b4
AZ
8058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8059 multiarch implementation.
8060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8061 file.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8063 file.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8065 file.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8067 file.
8068 multiarch llround for PPC64.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8070 multiarch floor for PPC64.
8071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8072 multiarch floorf for PPC64.
8073
96770f12
AZ
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8075 multiarch implementation.
8076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8077 file.
8078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8079 file.
8080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8081 file.
8082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8083 file.
8084 multiarch llround for PPC64.
8085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8086 multiarch ceil for PPC64.
8087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8088 multiarch ceilf for PPC64.
8089
c3627f6e
AZ
8090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8091 multiarch implementation.
8092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8093 file.
8094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8095 file.
8096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8097 file.
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8099 multiarch llround for PPC64.
8100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8101 multiarch lround for PPC64.
8102
b2284ad7
AZ
8103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8104 multiarch implementation.
8105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8108 file.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8112 multiarch isnan for PPC64.
8113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8114 multiarch isnanf for PPC64.
8115
69bbc63d
AZ
8116 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8117 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8118 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8119 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8120 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8122
c24517c9
AZ
8123 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8124 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8127
a52374e8
AZ
8128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8129 multiarch implementations.
8130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8131 (__libc_ifunc_impl_list): Likewise.
8132 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8133 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8134 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8135 multiarch stpcpy for PPC64.
8136
7f5ec113
AZ
8137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8138 multiarch implementations.
8139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8140 (__libc_ifunc_impl_list): Likewise.
8141 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8142 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8143 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8144 multiarch strcpy for PPC64.
8145
e28bcd42
AZ
8146 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8147 redefine function name.
8148 (_wordcopy_fwd_dest_aligned): Likewise.
8149 (_wordcopy_bwd_aligned): Likewise.
8150 (_wordcopy_bwd_dest_aligned): Likewise.
8151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8152 multiarch implementations.
8153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8156 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8157 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8158 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8159 multiarch wcscpy for PPC64.
8160
92cacfce
AZ
8161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8162 multiarch implementations.
8163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8164 (__libc_ifunc_impl_list): Likewise.
8165 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8166 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8167 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8168 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8169 multiarch wcscpy for PPC64.
8170
7b714620
AZ
8171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8172 multiarch implementations.
8173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8174 (__libc_ifunc_impl_list): Likewise.
8175 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8176 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8177 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8178 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8179 multiarch wcsrchr for PPC64.
8180
16fd2ae3
AZ
8181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8182 multiarch implementations.
8183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8184 (__libc_ifunc_impl_list): Likewise.
8185 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8186 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8188 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8189 multiarch wcschr for PPC64.
8190
9ee2969b
AZ
8191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8192 multiarch implementations.
8193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8194 (__libc_ifunc_impl_list): Likewise.
8195 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8196 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8197 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8198 multiarch strchrnul for PPC64.
8199
372dc060
AZ
8200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8201 implementations.
8202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8203 (__libc_ifunc_impl_list): Likewise.
8204 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8205 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8208 strchr for PPC64.
8209
24c2c3b9
AZ
8210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8211 implementations.
8212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8213 (__libc_ifunc_impl_list): Likewise.
8214 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8215 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8218 strncmp for PPC64.
8219
1c92d9a0
AZ
8220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8221 multiarch implementations.
8222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8223 (__libc_ifunc_impl_list): Likewise.
8224 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8225 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8226 strncasecmp for PPC64.
8227 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8228 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8229 multiarch strncasecmp_l for PPC64.
8230
17de3ee3
AZ
8231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8232 multiarch implementations.
8233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8234 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8237 multiarch strcasecmp for PPC64.
8238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8239 file.
8240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8241 multiarch strcasecmp_l for PPC64.
8242
62982bf9
AZ
8243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8244 implementations.
8245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8246 (__libc_ifunc_impl_list): Likewise.
8247 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8248 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8249 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8250 strnlen for PPC64.
8251
a65f4904
AZ
8252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8253 implementations.
8254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8255 (__libc_ifunc_impl_list): Likewise.
8256 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8257 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8258 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8259 strlen for PPC64.
8260
1fd005ad
AZ
8261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8262 implementations.
8263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8264 (__libc_ifunc_impl_list): Likewise.
8265 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8266 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8267 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8268 rawmemrchr for PPC64.
8269
cd05ba91
AZ
8270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8271 implementation.
8272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8273 (__libc_ifunc_impl_list): Likewise.
8274 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8275 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8276 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8277 memrchr for PPC64.
8278
870f8676
AZ
8279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8280 implementation.
8281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8282 (__libc_ifunc_impl_list): Likewise.
8283 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8284 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8285 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8286 memchr for PPC64.
8287
f00be62b
AZ
8288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8289 implementation.
8290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8291 (__libc_ifunc_impl_list): Likewise.
8292 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8293 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8294 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8295 mempcpy for PPC64.
8296
8a29a3d0
AZ
8297 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8298 avoid cretion of __bzero symbol.
8299 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8300 Likewise.
8301 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8302 Likewise.
8303 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8304 Likewise.
8305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8306 multiarch implementations.
8307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8308 (__libc_ifunc_impl_list): Likewise.
8309 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8310 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8311 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8312 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8313 bzero for PPC32.
8314 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8315 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8316 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8317 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8318 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8319 memset for PPC64.
8320 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8321
07253fcf
AZ
8322 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8324 implementations.
8325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8326 (__libc_ifunc_impl_list): Likewise.
8327 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8328 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8329 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8330 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8331 memcmp for PPC64.
8332
b5beafbc
AZ
8333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8334 multiarch for POWER/PPC64.
8335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8336 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8337 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8338 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8339 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8340 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8341 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8343 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8344 memcpy for PPC64.
8345
5e6a4d4b
AZ
8346 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8347 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8348 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8349 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8350 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8351 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8352 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8353 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8354 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8355 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8356 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8357 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8358 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8359 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8360 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8368
ddfab6dc
KK
83692013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8370
8371 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8372
19b5525e
SP
83732013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8374
8375 * benchtests/Makefile (bench): Add exp2 and log2.
8376 (LDLIBS-bench-exp2): Add -lm.
8377 (LDLIBS-bench-log2): Likewise.
8378 * benchtests/exp2-inputs: New inputs file.
8379 * benchtests/log2-inputs: New inputs file.
8380 * benchtests/log-inputs: Add new inputs.
8381 * benchtests/tan-inputs: Likewise.
8382
196f7f5d
SP
83832013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8384
7a74607f
SP
8385 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8386 definition...
57f41c40
AS
8387 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8388 (csloww2): ... from here.
7a74607f 8389
196f7f5d
SP
8390 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8391 instead of structures.
8392 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8393 (POLYNOMIAL): Likewise.
8394 (TAYLOR_SLOW): Likewise.
8395 (__sin): Likewise.
8396 (__cos): Likewise.
8397 (slow1): Likewise.
8398 (slow2): Likewise.
8399 (sloww): Likewise.
8400 (sloww1); Likewise.
8401 (sloww2): Likewise.
8402 (bsloww1): Likewise.
8403 (bsloww2): Likewise.
8404 (cslow2): Likewise.
8405 (csloww): Likewise.
8406 (csloww1): Likewise.
8407 (csloww2): Likewise.
8408
0dfa665c
OB
84092013-12-10 Ondřej Bílka <neleai@seznam.cz>
8410
8411 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8412 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8413 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8414 * malloc/hooks.c (realloc_check): Likewise.
8415
5782a80f
OB
8416 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8417 * malloc/arena.c: Remove PER_THREAD conditional.
8418 [!PER_THREAD]: Remove code.
8419 (ptmalloc_unlock_all2): Likewise.
8420 (ptmalloc_init): Likewise.
8421 (_int_new_arena): Likewise.
8422 (arena_get2): Likewise.
8423 * malloc/hooks.c (__malloc_get_state): Likewise.
8424 (__malloc_set_state): Likewise.
8425 * malloc/malloc.c: Likewise.
8426 (struct malloc_state): Likewise.
8427 (struct malloc_par): Likewise.
8428 (__libc_realloc): Likewise.
8429 (__libc_mallopt): Likewise.
8430
aeb95445
AZ
84312013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432
8433 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8434
e8349efd
OB
84352013-12-09 Ondřej Bílka <neleai@seznam.cz>
8436
8437 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8438 macro to a function. Check for zero perturb_byte.
8439 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8440
f3eeb3fc 8441 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8442 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8443 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8444 force_reg by atomic_forced_read.
8445 * malloc/arena.c (ptmalloc_init): Likewise.
8446 * malloc/hooks.c (top_check): Likewise.
8447
be2f9009
AZ
84482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449
8450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8451
e7b914bd
MT
84522013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8453
8454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8455
9f0be4f8
JM
84562013-12-08 Joseph Myers <joseph@codesourcery.com>
8457
8458 * math/auto-libm-test-in: Add tests of lgamma.
8459 * math/auto-libm-test-out: Regenerated.
8460 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8461 (M_LOG_2_SQRT_PIl): Likewise.
8462 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8463 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8464 mpfr_f_f1.
8465 (func_calc_desc): Add mpfr_f_f1 union field.
8466 (ARGS1): New macro.
8467 (ARGS2): Likewise.
8468 (ARGS3): Likewise.
8469 (ARGS4): Likewise.
8470 (RET1): Likewise.
8471 (RET2): Likewise.
8472 (CALC): Likewise.
8473 (FUNC): Likewise.
8474 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8475 (test_functions): Add lgamma.
8476 (calc_generic_results): Handle mpfr_f_f1.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
24eeafdb
AZ
84802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8481
8482 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8483 __mpn_add_n for PowerPC64/POWER7.
8484 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8485 __mpn_sub_n for PowerPC64/POWER7.
8486
4a2c0fd4
AZ
8487 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8488 __mpn_addmul_1 for PowerPC64.
8489 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8490 __mpn_submul_1 for PowerPC64.
8491 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8492 for PowerPC64.
8493 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8494 for PowerPC64.
8495
4b5b548c
FS
84962013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8497
8498 [BZ #15089]
8499 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8500
0a3ac0aa
AZ
85012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8502
8503 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8504
ccdc8438
AZ
8505 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8506 add multiarch folders.
8507 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8508 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8509 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8510 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8511 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8512 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8513 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8514 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8515 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8516 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8517 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8524
2e973d99
AZ
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8526 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8528 New file.
8529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8530 New file.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8532 multiarch __ieee754_hypot for PowerPC32.
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8534 New file.
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8536 New file.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8538 multiarch __ieee754_hypotf for PowerPC32.
8539
2d9470b2
AZ
8540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8541 long_double_symbol only if __logbl is defined.
8542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8543 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8545 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8547 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8549 path for implementation.
8550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8553 logb, and logbl multiarch implementations for PowerPC32.
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8555 file.
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8557 file.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8559 multiarch logb for PowerPC32.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8561 file.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8563 file.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8565 multiarch logbf for PowerPC32.
8566 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8568 file.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8570 multiarch logbl implementation for PowerPC32.
8571
5212ffce
AZ
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8573 and modff multiarch implementations.
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8575 New file.
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8577 New file.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8579 multiarch modf for PowerPC32.
8580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8581 New file.
8582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8583 New file.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8585 multiarch modff for PowerPC32.
8586
79dccf31
AZ
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8588 and lrintf multiarch implementations.
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8590 New file.
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8592 New file.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8594 multiarch lrint for PowerPC32.
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8596 file: multiarch lrintf for PowerPC32.
8597
deb66480
AZ
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8599 and lroundf multiarch implementations.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8601 New file.
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8603 New file.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8605 New file.
8606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8607 multiarch lround for PowerPC32.
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8609 file: multiarch lroundf for PowerPC32.
8610
264b036b
AZ
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8612 copysign and copysignf multiarch implementations.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8614 New file.
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8616 New file.
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8618 file: multiarch copysign for PowerPC32.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8620 file: multiarch copysignf for PowerPC32.
8621
d47db6c9
AZ
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8623 and truncf multiarch implementations.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8625 New file.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8627 file.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8629 multiarch trunc for PowerPC32.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8631 New file.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8633 New file.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8635 multiarch truncf for PowerPC32.
8636
ddb60b5a
AZ
8637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8638 and roundf multiarch implementations.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8640 New file.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8642 file.
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8644 multiarch round for PowerPC32.
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8646 New file.
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8648 New file.
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8650 multiarch roundf for PowerPC32.
8651
bedcf49b
AZ
8652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8653 and floorf multiarch implementations.
8654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8655 New file.
8656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8657 file.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8659 multiarch floor for PowerPC32.
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8661 New file.
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8663 New file.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8665 multiarch floorf for PowerPC32.
8666
35ae5b40
AZ
8667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8668 and ceilf multiarch implementations.
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8670 New file.
8671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8672 file.
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8674 multiarch ceil for PowerPC32.
8675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8676 New file.
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8678 file.
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8680 multiarch ceilf for PowerPC32.
8681
ae1a4cd9
AZ
8682 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8683 is defined.
8684 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8685 FINITEF is defined.
8686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8687 and finitef multiarch implementations.
8688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8689 New file.
8690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8691 file.
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8693 multiarch finite for PowerPC32.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8695 New file.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8697 file: multiarch finitef for PowerPC32.
8698
64fffd65
AZ
8699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8700 and isinff multiarch implementations.
8701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8702 file.
8703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8704 file.
8705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8706 multiarch isinf for PowerPC32.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8708 New file.
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8710 multiarch isinff for PowerPC32.
8711
8e4e7ba2
AZ
8712 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8713 alias when __isnan is defined.
8714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8715 and isnanf multiarch implementations.
8716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8717 file.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8719 file.
8720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8721 file.
8722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8723 file.
8724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8725 multiarch isnan for PowerPC32.
8726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8727 New file.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8729 New file.
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8731 multiarch isnanf for PowerPC32.
8732
ddba588e
AZ
8733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8734 and sqrtf multiarch implementations.
8735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8736 file.
8737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8738 file.
8739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8740 multiarch sqrt for PowerPC32.
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8742 file.
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8744 file.
8745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8746 multiarch sqrtf for PowerPC32.
8747
0f96a2f0
AZ
8748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8749 and llroundf multiarch implementations.
8750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8751 New file.
8752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8753 New file.
8754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8755 New file.
8756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8757 file: multiarch llround for PowerPC32.
8758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8759 file: multiarch llroundf for PowerPC32.
8760
c9b5d79e
AZ
8761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8762 multiarch PowerPC32 fpu implementations.
8763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8764 New file.
8765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8766 New file.
8767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8768 multiarch llrint for PowerPC32.
8769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8770 New file.
8771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8772 New file.
8773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8774 file.
8775
9cbb3aab
AZ
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8777
ea5a72f8
AZ
8778 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8779 file.
8780 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8781 file.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8783 file.
8784 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8785 multiarch wordcopy for PPC32.
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8787 wordcopy objects.
8788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8789 (__libc_ifunc_impl_list): Likewise.
8790 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8791 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8792 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8793 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8795 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8796
93be09e7
AZ
8797 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8799 file.
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8801 file.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8803 file.
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8805 multiarch wcscpy for PPC32.
8806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8807 multiarch objects.
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8809 (__libc_ifunc_impl_list): Likewise.
8810 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8811 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8812 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8813 sysdeps/powerpc/power6/wcscpy.c.
8814
bb04e529
AZ
8815 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8817 file.
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8819 file.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8821 file.
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8823 multiarch wcsrchr for PPC32.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8825 multiarch objects.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8827 (__libc_ifunc_impl_list): Likewise.
8828 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8829 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8830 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8831 sysdeps/powerpc/power6/wcsrchr.c.
8832
05b5cd1c
AZ
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8834 file.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8836 file.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8839 multiarch wcschr for PPc32.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8841 multiarch objects.
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8843 (__libc_ifunc_impl_list): Likewise.
8844 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8845 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8846 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8847 sysdeps/powerpc/power6/wcschr.c.
8848
ba964147
AZ
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8850 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8851 file.
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8853 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8854 file: multiarch strchr for PPC32.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8856 multiarch objects.
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8858 (__libc_ifunc_impl_list): Likewise.
8859
31c81aaa
AZ
8860 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8861 name.
8862 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8863 file.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8865 file.
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8867 multiarch strchrnul for PPC32.
8868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8869 multiarch objects.
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8871 (__libc_ifunc_impl_list): Likewise.
8872
0d0607d9
AZ
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8874 file.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8876 multiarch strncasecmp for PPC32.
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8878 file.
8879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8880 multiarch strncasecmp_l for PPC32.
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8882 strncasecmp multiarch objects.
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8884 (__libc_ifunc_impl_list): Likewise.
8885
4dfd5c86
AZ
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8887 file.
8888 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8889 multiarch strncasecmp for PPC32.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8891 New file.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8893 multiarch strcasecmp_l for PPC32.
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8895 multiarch objects.
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8897 (__libc_ifunc_impl_list): Likewise.
8898
a19e01a3
AZ
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8900 file.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8902 file.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8904 multiarch strncmp for PPC32.
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8906 multiarch objects.
8907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8908 (__libc_ifunc_impl_list): Likewise.
8909
ae9cf7a2
AZ
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8911 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8912 file.
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8916 multiarch objects.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8918 (__libc_ifunc_impl_list): Likewise.
8919
3148bb7d
AZ
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8921 file.
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8923 file.
8924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8926 multiarch objects.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8928 (__libc_ifunc_impl_list): Likewise.
8929
7af8b946
AZ
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8931 file.
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8933 file.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8935 multiarch rawmemchr for PPC32.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8937 multiarch objects.
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8939 (__libc_ifunc_impl_list): Likewise.
8940
03a6aa6a
AZ
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8942 file.
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8944 file.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8946 file: memrchr multiarch for PPC32.
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8948 multiarch objects.
8949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8950 (__libc_ifunc_impl_list): Likewise.
8951
1c62e6d9
AZ
8952 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8953 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8954 file.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8956 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8957 multiarch memchr for PPC32.
8958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8959 multiarch objects.
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8961 (__libc_ifunc_impl_list): Likewise.
8962
87da8bdb
AZ
8963 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8965 file.
8966 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8967 file.
8968 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8969 file: multiarch mempcpy for PPC32.
8970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8971 multiarch objects.
8972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8973 (__libc_ifunc_impl_list): Likewise.
8974
20ed4714
AZ
8975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8977 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8979 multiarch bzero for PPC32.
8980 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8981 file.
8982 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8983 file.
8984 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8985 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8986 file: multiarch memset for PPC32.
8987 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8989 memset multiarch objects.
8990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8991 (__libc_ifunc_impl_list): Likewise.
8992
ab3e3a46
AZ
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8994 file.
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8997 memcmp for PPC32.
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9000 multiarch objects.
9001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9002 (__libc_ifunc_impl_list): Likewise.
9003
930de6f0
AZ
9004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9007 file.
9008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9009 file.
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9011 file.
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9013 multiarch memcpy for PPC32.
9014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9015 multiarch objects.
9016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9017 (__libc_ifunc_impl_list): Likewise.
9018
4c628e00
AZ
9019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9020 support multiarch for POWER/PPC32.
9021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9022 Likewise.
9023 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9025 Implies file to make multiarch folder appers before the fpu and
9026 default folder for power4 configuration.
9027
f4479220
SP
90282013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9029
9030 * scripts/bench.pl: Append volatile keyword to type.
9031
8517800f
KK
90322013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9033
9034 * sysdeps/sh/sotruss-lib.c: New file.
9035 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9036
180138f1
AZ
90372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9038
9039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9040
bbf37bdc
JM
90412013-12-05 Joseph Myers <joseph@codesourcery.com>
9042
e47cc4e0
JM
9043 [BZ #6810]
9044 * math/w_tgamma.c: Include <errno.h>.
9045 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9046 * math/w_tgammaf.c: Include <errno.h>.
9047 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9048 * math/w_tgammal.c: Include <errno.h>.
9049 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9050 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9051 underflow. Add more tgamma tests.
9052 * math/auto-libm-test-out: Regenerated.
9053 * sysdeps/i386/fpu/libm-test-ulps: Update.
9054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9055
bbf37bdc
JM
9056 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9057 sin, sinh, tan, tanh, tgamma, y0 and y1.
9058 * math/auto-libm-test-out: Regenerated.
9059 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9060 (TEST_COND_x86): Likewise.
9061 (M_E2l): Remove macro.
9062 (M_E3l): Likewise.
9063 (M_2_SQRT_PIl): Likewise.
9064 (M_SQRT_PIl): Likewise.
9065 (M_1_DIV_El): Likewise.
9066 (log_test_data): Use AUTO_TESTS_f_f.
9067 (log10_test_data): Likewise.
9068 (log1p_test_data): Likewise.
9069 (log2_test_data): Likewise.
9070 (sin_test_data): Likewise.
9071 (sin_tonearest_test_data): Likewise.
9072 (sin_towardzero_test_data): Likewise.
9073 (sin_downward_test_data): Likewise.
9074 (sin_upward_test_data): Likewise.
9075 (sinh_test_data): Likewise.
9076 (sinh_tonearest_test_data): Likewise.
9077 (sinh_towardzero_test_data): Likewise.
9078 (sinh_downward_test_data): Likewise.
9079 (sinh_upward_test_data): Likewise.
9080 (tan_test_data): Likewise.
9081 (tan_tonearest_test_data): Likewise.
9082 (tan_towardzero_test_data): Likewise.
9083 (tan_downward_test_data): Likewise.
9084 (tan_upward_test_data): Likewise.
9085 (tanh_test_data): Likewise.
9086 (tgamma_test_data): Likewise.
9087 (y0_test_data): Likewise.
9088 (y1_test_data): Likewise.
9089 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9090 (special_real_inputs): Add pi/4.
9091 * sysdeps/i386/fpu/libm-test-ulps: Update.
9092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9093
eb5ad6b9
AZ
90942013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095
9096 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9097 "longjmp_target" static probes.
9098 (__longjmp): Rename to __longjmp_symbol.
9099 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9101 on which longjmp to generate.
9102 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9103 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9104 probe.
9105 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9106 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9107 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9108 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9109 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9110 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9112 __longjmp_symbol based on which __longjmp to generate.
9113 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9114 probe.
9115 (setjmp): Rename to setjmp_symbol.
9116 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9117 (_setjmp): Rename to _setjmp_symbol.
9118 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9119 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9120 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9121 which setjmp to generate.
9122 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9123 "longjmp_target" static probes.
9124
d136c6dc
SP
91252013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9126
9298ecba
SP
9127 * benchtests/README: Add note about output arguments.
9128 * benchtests/bench-sincos.c: Remove file.
9129 * benchtests/sincos-inputs: New file.
9130 * scripts/bench.pl: Identify output arguments and define
9131 static variables for them.
9132
232983e9
SP
9133 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9134
d136c6dc
SP
9135 [BZ #15941]
9136 * Makefile (INSTALL): Add install-plain.texi as the primary
9137 dependency.
9138 * manual/install-plain.texi: New file.
9139 * manual/install.texi: Include node directive only for
9140 non-plaintext output.
9141
699ff837
JM
91422013-12-04 Joseph Myers <joseph@codesourcery.com>
9143
ab07cea8
JM
9144 * stdlib/longlong.h: Update from GCC.
9145
699ff837
JM
9146 [BZ #6807]
9147 [BZ #15901]
9148 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9149 * math/w_j0f.c (y0f): Likewise.
9150 * math/w_j0l.c (__y0l): Likewise.
9151 * math/w_j1.c (y1): Likewise.
9152 * math/w_j1f.c (y1f): Likewise.
9153 * math/w_j1l.c (__y1l): Likewise
9154 * math/w_jn.c (yn): Likewise.
9155 * math/w_jnf.c (ynf): Likewise.
9156 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9157 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9158 value for Bessel function domain errors outside _SVID_ mode.
9159 Adjust sign of return value for yn (negative integer, 0).
9160 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9161 by zero in return for negative x and set sign appropriately for
9162 negative n.
9163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9165 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9166 expectations in error cases.
9167 (y1_test_data): Likewise.
9168 (yn_test_data): Likewise.
9169 * sysdeps/i386/fpu/libm-test-ulps: Update.
9170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9171
5b118558
UW
91722013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9173
9174 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9175 "64" to "64-v1". Add "64-v2".
9176 (abi-64-options): Rename to ...
9177 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9178 (abi-64-condition): Rename to ...
9179 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9180 (abi-64-ld-soname): Rename to ...
9181 (abi-64-v1-ld-soname): ... this.
9182 (abi-64-v2-options): Define.
9183 (abi-64-v2-condition): Likewise.
9184 (abi-64-v2-ld-soname): Likewise.
9185 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9186 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9190
61cd8fe4
UW
91912013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9192 Alan Modra <amodra@gmail.com>
9193
9194 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9195 New versions for use with the ELFv2 ABI.
9196 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9197 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9198 declaration.
9199 (struct La_ppc64v2_retval): Likewise.
9200 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9201 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9202 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9203 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9204 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9205 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9206 Do not save or restore CR.
9207 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9208 (_dl_profile_resolve): Do no save or restore CR. Support extended
9209 return values for ELFv2 ABI. Fix location of FPR return registers.
9210 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9211 updated values for _CALL_ELF == 2.
9212 (La_regs, La_retval, int_retval): Likewise.
9213
8b8a692c
UW
92142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9215
9216 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9217 (FRAME_MIN_SIZE_PARM): Likewise.
9218 (FRAME_BACKCHAIN): Likewise.
9219 (FRAME_CR_SAVE): Likewise.
9220 (FRAME_LR_SAVE): Likewise.
9221 (FRAME_TOC_SAVE): Likewise.
9222 (FRAME_PARM_SAVE): Likewise.
9223 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9224 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9225 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9226 (call_mcount_parm_offset): New macro.
9227 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9228 (PROF): Use symbolic stack frame offsets.
9229 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9230 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9231 Redefine in terms of FRAME_MIN_SIZE.
9232 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9233 (_dl_profile_resolve): Likewise. Update comment.
9234 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9235 symbols stack frame offsets.
9236 (__sigsetjmp): Likewise.
9237 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9238 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9239 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9240 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9241
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9243 (FRAME_BACKCHAIN): Remove.
9244 (FRAME_CR_SAVE): Likewise.
9245 (FRAME_LR_SAVE): Likewise.
9246 (FRAME_COMPILER_DW): Likewise.
9247 (FRAME_LINKER_DW): Likewise.
9248 (FRAME_TOC_SAVE): Likewise.
9249 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9250 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9251 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9252 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9254 (CHECK_SP): Use symbolic stack frame offsets.
9255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9256 zone" instead of caller's parameter save area for temp storage.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9258 Likewise. Also, use symbolic stack frame offsets.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9260 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9261 our own stack frame instead of the caller's.
9262 (__socket): Use symbolic stack frame offsets.
9263
122b66de
UW
92642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9265 Alan Modra <amodra@gmail.com>
9266
9267 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9268 Define.
57f41c40
AS
9269 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9270 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9271 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9272 New function.
9273 (elf_machine_fixup_plt): Call it.
9274 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9275 reloc arguments.
9276 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9277 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9278 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9279 r2 before calling target.
9280
696caf1d
UW
92812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9282 Alan Modra <amodra@gmail.com>
9283
9284 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9285 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9286 versions of macros to support ELFv2 ABI.
9287 (LOCALENTRY): New macro.
9288 (ENTRY, EALIGN): Use it.
9289 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9290 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9291 fall through into ENTRY entry point.
9292 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9293 Only define if _CALL_ELF != 2.
9294
9295 (elf_machine_matches_host): Verify ABI version matches.
9296 (RTLD_START): Use LOCALENTRY.
9297 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9298 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9299 (PLT_ENTRY_WORDS): New macro.
9300 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9301 (elf_machine_runtime_setup): Support ELFv2 ABI.
9302 (elf_machine_fixup_plt): Likewise.
9303 (elf_machine_plt_conflict): Likewise.
9304 (resolve_ifunc): Likewise.
9305 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9307 Likewise.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9309 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9311 (makecontext): Support ELFv2 ABI.
9312 * elf/elf.h (EF_PPC64_ABI): Define.
9313
d31beafa
UW
93142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9315
57f41c40
AS
9316 * sysdeps/powerpc/powerpc64/sysdep.h
9317 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9318 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9319 (ENTRY) [ASSEMBLER]: ... but instead here ...
9320 (EALIGN) [ASSEMBLER]: ... and here.
9321 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9322 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9323 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9324 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9325 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9326 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9327 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9328 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9330 Use PPC64_LOAD_FUNCPTR.
9331
b525166b
UW
9332 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9333
7ec07d9a
AM
93342013-12-04 Alan Modra <amodra@gmail.com>
9335
9336 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9337 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9338 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9339 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9340
9341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9342 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9343 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9344 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9345 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9346 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9347
5162e7dd
UW
93482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9349
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9351 (__makecontext): Fix incorrect CFI when backtracing out of
9352 context created via makecontext.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9354 (__setcontext): Fix incorrect CFI during switch to new context.
9355 (__novec_setcontext): Likewise.
9356
19e3372b
OB
93572013-12-04 Ondřej Bílka <neleai@seznam.cz>
9358
9359 [BZ #4772]
9360 * time/strptime_l.c (__strptime_internal): Allow modifiers
9361 in strptime.
9362 * time/tst-strptime.c (day_tests): Add testcase.
9363
ecaf142d
SP
93642013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 * scripts/bench.pl: Skip over blank lines.
9367
fbf964ae
PE
93682013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9369
9370 [BZ #926]
9371 * manual/time.texi (Calendar Time): Clarify what timezone functions
9372 use.
9373
fa60a674
AZ
93742013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375
9376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9377
d674f0ef
OB
93782013-12-04 Ondřej Bílka <neleai@seznam.cz>
9379
9380 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9381 implementation.
9382 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9383 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9384 * debug/memset_chk.c (__memset_chk): Likewise.
9385 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9386 * debug/strncpy_chk.c: Likewise.
9387
17dea188
JM
93882013-12-03 Joseph Myers <joseph@codesourcery.com>
9389
749008ff
JM
9390 [BZ #15268]
9391 [BZ #15425]
9392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9393 (__ieee754_exp): For possibly underflowing results, check size of
9394 result and force underflow exception if required.
9395 * math/auto-libm-test-in: Add more tests of exp.
9396 * math/auto-libm-test-out: Regenerated.
9397 * sysdeps/i386/fpu/libm-test-ulps: Update.
9398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399
17dea188
JM
9400 [BZ #16283]
9401 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9402 * math/w_exp2f.c (__exp2f): Likewise.
9403 * math/w_exp2l.c (__exp2l): Likewise.
9404 * math/auto-libm-test-in: Do not allow missing errno on exp2
9405 underflow.
9406 * math/auto-libm-test-out: Regenerated.
9407
b20de2c3
OB
94082013-12-03 Ondřej Bílka <neleai@seznam.cz>
9409
9410 [BZ #16274]
9411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9412 handle filename validation.
9413 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9414 (do_open): Delete.
9415
d8e2dbe3
JM
94162013-12-03 Joseph Myers <joseph@codesourcery.com>
9417
34e16df5
JM
9418 [BZ #6786]
9419 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9420 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9421 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9422 <float.h>.
9423 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9425 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9427 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9428 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9429 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9430 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9431 Add more erfc tests.
9432 * math/auto-libm-test-out: Regenerated.
9433 * sysdeps/i386/fpu/libm-test-ulps: Update.
9434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9435
d8e2dbe3
JM
9436 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9437 exp2, expm1, j0 and j1.
9438 * math/auto-libm-test-out: Regenerated.
9439 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9440 (erfc_test_data): Likewise.
9441 (exp_test_data): Likewise.
9442 (exp_tonearest_test_data): Likewise.
9443 (exp_towardzero_test_data): Likewise.
9444 (exp_downward_test_data): Likewise.
9445 (exp_upward_test_data): Likewise.
9446 (exp10_test_data): Likewise.
9447 (exp2_test_data): Likewise.
9448 (expm1_test_data): Likewise.
9449 (j0_test_data): Likewise.
9450 (j1_test_data): Likewise.
9451 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9452 (input_flag_type): Add flag_xfail_rounding.
9453 (input_flags): Add xfail-rounding.
9454 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9455 (output_for_one_input_case): Handle flag_xfail_rounding.
9456 * sysdeps/i386/fpu/libm-test-ulps: Update.
9457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9458
18d14251
AJ
94592013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9460
3d2e6075 9461 [BZ #16289]
18d14251
AJ
9462 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9463 division by 0.
9464
520d437b
SP
94652013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
9467 [BZ #16195]
9468 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9469 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9470 (STAP_PROBE0): New macro.
9471 (STAP_PROBE1): Likewise.
9472 (STAP_PROBE2): Likewise.
9473 (STAP_PROBE3): Likewise.
9474 (STAP_PROBE4): Likewise.
9475
416e0145
OB
94762013-12-02 Ondřej Bílka <neleai@seznam.cz>
9477
9478 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9479
9d17796a
SE
94802013-12-02 Steve Ellcey <sellcey@mips.com>
9481
9482 * benchtests/Makefile (bench): Add sqrt.
9483 (LDLIBS-bench-sqrt): New.
9484 * benchtests/sqrt-input: New.
9485
f524d6a8
PS
94862013-12-02 Pavel Simerda <psimerda@redhat.com>
9487
639a0ef8
PS
9488 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9489 (GAIH_EAI): Likewise.
9490 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9491 (gaih_inet): Likewise.
9492 (getaddrinfo): Don't use GAIH_EAI.
9493
f524d6a8
PS
9494 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9495 (struct gaih): Remove definition.
9496
df3aedaf
SP
94972013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9498
9499 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9500 Use HERRNOP directly.
9501
1ab19dec
AZ
95022013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9503
b42ad38d 9504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9505
176b0c79
JM
95062013-11-30 Joseph Myers <joseph@codesourcery.com>
9507
9508 * math/gen-auto-libm-tests.c (test_functions): Add more
9509 single-argument functions.
9510 (special_fill_pi_2): New function.
9511 (special_fill_minus_pi_2): Likewise.
9512 (special_fill_pi_6): Likewise.
9513 (special_fill_minus_pi_6): Likewise.
9514 (special_fill_pi_3): Likewise.
9515 (special_fill_2pi_3): Likewise.
9516 (special_fill_e): Likewise.
9517 (special_fill_1_e): Likewise.
9518 (special_fill_e_minus_1): Likewise.
9519 (special_real_inputs): Add more special inputs.
9520 (output_for_one_input_case): Do not require ERANGE on underflow to
9521 zero if round-to-nearest result does not underflow to zero, unless
9522 exact results required.
9523 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9524 atan, atanh, cbrt, cos and cosh.
9525 * math/auto-libm-test-out: Regenerated.
9526 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9527 (acos_tonearest_test_data): Likewise.
9528 (acos_towardzero_test_data): Likewise.
9529 (acos_downward_test_data): Likewise.
9530 (acos_upward_test_data): Likewise.
9531 (acosh_test_data): Likewise.
9532 (asin_test_data): Likewise.
9533 (asin_tonearest_test_data): Likewise.
9534 (asin_towardzero_test_data): Likewise.
9535 (asin_upward_test_data): Likewise.
9536 (asinh_test_data): Likewise.
9537 (atan_test_data): Likewise.
9538 (atanh_test_data): Likewise.
9539 (cbrt_test_data): Likewise.
9540 (cos_test_data): Likewise.
9541 (cos_tonearest_test_data): Likewise.
9542 (cos_towardzero_test_data): Likewise.
9543 (cos_downward_test_data): Likewise.
9544 (cos_upward_test_data): Likewise.
9545 (cosh_test_data): Likewise.
9546 (cosh_tonearest_test_data): Likewise.
9547 (cosh_towardzero_test_data): Likewise.
9548 (cosh_downward_test_data): Likewise.
9549 (cosh_upward_test_data): Likewise.
9550 * sysdeps/i386/fpu/libm-test-ulps: Update.
9551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9552
ffb536d0
JM
95532013-11-29 Joseph Myers <joseph@codesourcery.com>
9554
2a77a467
JM
9555 [BZ #6787]
9556 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9557 * math/w_exp10f.c (__exp10f): Likewise.
9558 * math/w_exp10l.c (__exp10l): Likewise.
9559 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9560 errno settings in existing tests.
9561
ea3bc4e8
JM
9562 [BZ #14032]
9563 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9564 precision control set to double precision.
9565 * sysdeps/i386/fpu/w_sqrt.c: New file.
9566 * math/auto-libm-test-in: Add more tests.
9567 * math/auto-libm-test-out: Update.
9568
0712c9d8
JM
9569 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9570 (sqrt_test_tonearest): New function.
9571 (sqrt_towardzero_test_data): New variable.
9572 (sqrt_test_towardzero): New function.
9573 (sqrt_downward_test_data): New variable.
9574 (sqrt_test_downward): New function.
9575 (sqrt_upward_test_data): New variable.
9576 (sqrt_test_upward): New function.
9577 (main): Call the new functions.
9578
ffb536d0
JM
9579 * math/gen-auto-libm-tests.c: New file.
9580 * math/auto-libm-test-in: Likewise.
9581 * math/auto-libm-test-out: New generated file.
9582 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9583 variables.
9584 (%beautify): Add generated representations of zero.
9585 (top level): Set $auto_input and call parse_auto_input.
9586 (beautify): Remove trailing "f" from hex float constants.
9587 (parse_args): Handle XFAIL_TEST.
9588 (convert_condition): New function.
9589 (or_value): Likewise.
9590 (or_cond_value): Likewise.
9591 (generate_testfile): Handle AUTO_TESTS_* lines.
9592 (parse_auto_input): New function.
9593 * math/libm-test.inc (XFAIL_TEST): New macro.
9594 (ERRNO_UNCHANGED): Update value.
9595 (ERRNO_EDOM): Likewise.
9596 (ERRNO_ERANGE): Likewise.
9597 (IGNORE_RESULT): Likewise.
9598 (TEST_COND_flt_32): New macro.
9599 (TEST_COND_dbl_64): Likewise.
9600 (TEST_COND_ldbl_96_intel): Likewise.
9601 (TEST_COND_ldbl_96_m68k): Likewise.
9602 (TEST_COND_ldbl_128): Likewise.
9603 (TEST_COND_ldbl_128ibm): Likewise.
9604 (TEST_COND_long32): Likewise.
9605 (TEST_COND_long64): Likewise.
9606 (TEST_COND_before_rounding): Likewise.
9607 (TEST_COND_after_rounding): Likewise.
9608 (enable_test): Handle XFAIL_TEST flag.
9609 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9610 with finite results.
9611 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9612 auto-libm-test-out.
9613
acd98a8e
AK
96142013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9615 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9616
9617 [BZ #16214]
9618 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9619 __tls_get_addr_internal instead of __tls_get_offset in order to
9620 avoid GOT pointer dependency. Make rtld export
9621 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9622 __tls_get_addr since we are a __tls_get_offset platform.
9623 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9624 GOT pointer being set up before.
9625 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9626
3c1c46a6
JM
96272013-11-28 Joseph Myers <joseph@codesourcery.com>
9628
7475aef5
JM
9629 * manual/math.texi (Errors in Math Functions): Document accuracy
9630 goals.
9631
8bca7cd8
JM
9632 [BZ #15004]
9633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9634 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9649
91a1f3fe
JM
9650 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9651 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9652 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9653 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9654 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9655 Likewise.
9656 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9657 Likewise.
9658 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9659 Likewise.
9660 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9661 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9662 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9663 atomic-feupdateenv and flt-rounds.
9664 * sysdeps/powerpc/nofpu/Versions (libc): Add
9665 __atomic_feholdexcept, __atomic_feclearexcept,
9666 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9668 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9670 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9671 here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9673 Update.
9674
c5df7609
JM
9675 * manual/arith.texi (FP Exceptions): Document that exceptions may
9676 not be raised when matherr is used.
9677 (Math Error Reporting): Document overflow in directed rounding
9678 modes. Document that errno may not be set when finite values are
9679 returned on overflow. Document intent to set errno on underflow
9680 only for underflow to zero.
9681
3c1c46a6
JM
9682 [BZ #16271]
9683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9684 round-to-nearest then adjust result for other rounding modes.
9685 * include/fenv.h (fegetround): Use libm_hidden_proto.
9686 * math/fegetround.c (fegetround): Use libm_hidden_def.
9687 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9688 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9689 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9691 Likewise.
9692 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9694 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9695 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9696
5a4c6d53
SP
96972013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9698
9699 [BZ #16077]
9700 * nss/Versions (libnss_files): Add
9701 _nss_files_gethostbyname3_r.
9702 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9703 New function.
9704 (HOST_DB_LOOKUP): Remove macro.
9705 (_nss_files_gethostbyname_r): Implement function without the
9706 HOST_DB_LOOKUP macro.
9707 (_nss_files_gethostbyname2_r): Likewise.
9708
897b98ba
OB
97092013-11-28 Ondřej Bílka <neleai@seznam.cz>
9710
9711 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9712
6f476861
UB
97132013-11-26 Uros Bizjak <ubizjak@gmail.com>
9714
9715 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9716 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9717 warning.
9718
bd12ab55
AZ
97192013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9720
9721 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9722 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9723 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9724 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9725 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9726 __fe_nomask_env_priv and attribute_hidden.
9727 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9728 (libc_feupdateenv_test_ppc): Likewise.
9729 (libc_feresetround_ppc): Likewise.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9731 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9732 compat_symbol macro.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9734 (__fe_nomask_env): Likewise.
9735 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9736
52bb6543
OB
97372013-11-26 Ondřej Bílka <neleai@seznam.cz>
9738
9739 * string/Makefile: Remove ifunc tests.
9740 * string/test-string.h: Define TEST_IFUNC.
9741 * string/test-bcopy-ifunc.c: Remove.
9742 * string/test-bzero-ifunc.c: Likewise.
9743 * string/test-memccpy-ifunc.c: Likewise.
9744 * string/test-memchr-ifunc.c: Likewise.
9745 * string/test-memcmp-ifunc.c: Likewise.
9746 * string/test-memcpy-ifunc.c: Likewise.
9747 * string/test-memmem-ifunc.c: Likewise.
9748 * string/test-memmove-ifunc.c: Likewise.
9749 * string/test-mempcpy-ifunc.c: Likewise.
9750 * string/test-memrchr-ifunc.c: Likewise.
9751 * string/test-memset-ifunc.c: Likewise.
9752 * string/test-rawmemchr-ifunc.c: Likewise.
9753 * string/test-stpcpy-ifunc.c: Likewise.
9754 * string/test-stpncpy-ifunc.c: Likewise.
9755 * string/test-strcasecmp-ifunc.c: Likewise.
9756 * string/test-strcasestr-ifunc.c: Likewise.
9757 * string/test-strcat-ifunc.c: Likewise.
9758 * string/test-strchr-ifunc.c: Likewise.
9759 * string/test-strchrnul-ifunc.c: Likewise.
9760 * string/test-strcmp-ifunc.c: Likewise.
9761 * string/test-strcpy-ifunc.c: Likewise.
9762 * string/test-strcspn-ifunc.c: Likewise.
9763 * string/test-strlen-ifunc.c: Likewise.
9764 * string/test-strncasecmp-ifunc.c: Likewise.
9765 * string/test-strncat-ifunc.c: Likewise.
9766 * string/test-strncmp-ifunc.c: Likewise.
9767 * string/test-strncpy-ifunc.c: Likewise.
9768 * string/test-strnlen-ifunc.c: Likewise.
9769 * string/test-strpbrk-ifunc.c: Likewise.
9770 * string/test-strrchr-ifunc.c: Likewise.
9771 * string/test-strspn-ifunc.c: Likewise.
9772 * string/test-strstr-ifunc.c: Likewise.
9773
ab260039 97742013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9775
9776 * benchtests/Makefile: Remove ifunc tests.
9777 * benchtests/bench-string.h: Define TEST_IFUNC.
9778 * benchtests/bench-bcopy-ifunc.c: Remove.
9779 * benchtests/bench-bzero-ifunc.c: Likewise.
9780 * benchtests/bench-memccpy-ifunc.c: Likewise.
9781 * benchtests/bench-memchr-ifunc.c: Likewise.
9782 * benchtests/bench-memcmp-ifunc.c: Likewise.
9783 * benchtests/bench-memcpy-ifunc.c: Likewise.
9784 * benchtests/bench-memmem-ifunc.c: Likewise.
9785 * benchtests/bench-memmove-ifunc.c: Likewise.
9786 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9787 * benchtests/bench-memrchr-ifunc.c: Likewise.
9788 * benchtests/bench-memset-ifunc.c: Likewise.
9789 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9790 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9791 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9792 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9793 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9794 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9795 * benchtests/bench-strcat-ifunc.c: Likewise.
9796 * benchtests/bench-strchr-ifunc.c: Likewise.
9797 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9798 * benchtests/bench-strcmp-ifunc.c: Likewise.
9799 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9800 * benchtests/bench-strcpy-ifunc.c: Likewise.
9801 * benchtests/bench-strcspn-ifunc.c: Likewise.
9802 * benchtests/bench-strlen-ifunc.c: Likewise.
9803 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9804 * benchtests/bench-strncat-ifunc.c: Likewise.
9805 * benchtests/bench-strncmp-ifunc.c: Likewise.
9806 * benchtests/bench-strncpy-ifunc.c: Likewise.
9807 * benchtests/bench-strnlen-ifunc.c: Likewise.
9808 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9809 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9810 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9811 * benchtests/bench-strspn-ifunc.c: Likewise.
9812 * benchtests/bench-strstr-ifunc.c: Likewise.
9813
98142013-11-26 Ondřej Bílka <neleai@seznam.cz>
9815
ab260039
OB
9816 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9817
d1d9eaf4 98182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9819
d1d9eaf4
OB
9820 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9821 * rt/aio.h: Likewise.
9822 * sysdeps/gnu/bits/utmp.h: Likewise.
9823 * sysdeps/gnu/bits/utmpx.h: Likewise.
9824 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9825 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9826 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9827 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9828 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9829 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9830 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9831 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9832 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9834 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9835 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9838 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9841 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9842 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9845 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9848 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9850 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9857 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9858 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9859 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9860 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9861 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9863 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9864 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9865 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9866
a7624ed9
CD
98672013-11-25 Carlos O'Donell <carlos@redhat.com>
9868
9869 [BZ #16245]
9870 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9871 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9872
63cfe52b
JM
98732013-11-25 Joseph Myers <joseph@codesourcery.com>
9874
9875 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9876 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9877 Likewise.
9878
41e8926a
AZ
98792013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880
9881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9882 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9883 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9884 (__fesetround): Remove define.
9885 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9886 rounding and exceptions handling.
9887 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9888 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9889 (__fe_nomask_env): Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9891 __fegetround instead of fegetround.
9892 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9894
6851bd4d
RM
98952013-11-21 Roland McGrath <roland@hack.frob.com>
9896
070906ff
RM
9897 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9898 it's there.
9899
6851bd4d
RM
9900 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9901
84ae135d
MI
99022013-11-21 Meador Inge <meadori@codesourcery.com>
9903
9904 [BZ #11157]
9905 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9906 (encrypt_r): Likewise.
9907 * malloc/obstack.h (obstack_free): Likewise.
9908 * posix/unistd.h (encrypt): Likewise.
9909
daf75146
GM
99102013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9911
9912 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9913 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9914 DL_CALL_DT_FINI() that call the functions directly.
9915 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9916 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9917 * elf/dl-fini.c: Likewise.
9918
10ad46bc
OB
99192013-11-20 Ondřej Bílka <neleai@seznam.cz>
9920
9921 * malloc/hooks.c (memalign_check): Add alignment rounding.
9922 * malloc/malloc.c (_mid_memalign): New function.
9923 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9924 Implement by calling _mid_memalign.
9925 * manual/probes.texi (Memory Allocation Probes): Remove
9926 memory_valloc_retry and memory_pvalloc_retry.
9927
f3fd2628
SP
99282013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9929
4712799f
SP
9930 * locale/programs/locarchive.c (open_archive): Add const
9931 qualifier to ARCHIVEFNAME and copy default fname to
9932 DEFAULT_FNAME.
9933
0417b20f
SP
9934 [BZ #15601]
9935 * libio/tst-widetext.input: Rename Oriya to Odia.
9936 * locale/iso-639.def: Likewise.
9937
f3fd2628
SP
9938 * manual/probes.texi (Mathematical Function Probes): Add
9939 documentation for sin, cos, asin and acos probes.
9940 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9941 (__sin32): Add slowasin probe.
9942 (__cos32): Add slowacos probe.
9943 (__mpsin): Add slowsin probe.
9944 (__mpcos): Add slowcos probe.
9945
73c1ce4f
JM
99462013-11-19 Joseph Myers <joseph@codesourcery.com>
9947
9948 [BZ #15483]
9949 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9950 thread-local __sim_exceptions_thread and global
9951 __sim_exceptions_global.
9952 (__sim_disabled_exceptions): Change to thread-local
9953 __sim_disabled_exceptions_thread and global
9954 __sim_disabled_exceptions_global.
9955 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9956 and global __sim_round_mode_global.
9957 (__simulate_exceptions): Use thread-local floating-point state and
9958 set global state from it as needed.
9959 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9960 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9961 __sim_round_mode_thread.
9962 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9963 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9964 and global __sim_exceptions_global.
9965 (__sim_disabled_exceptions): Change to thread-local
9966 __sim_disabled_exceptions_thread and global
9967 __sim_disabled_exceptions_global.
9968 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9969 and global __sim_round_mode_global.
9970 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9971 (SIM_SET_GLOBAL): Likewise.
9972 * sysdeps/powerpc/soft-fp/sfp-machine.h
9973 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9974 __sim_round_mode_thread.
9975 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9976 __sim_disabled_exceptions_thread.
9977 (__sim_exceptions): Change to __sim_exceptions_thread.
9978 (__sim_disabled_exceptions): Change to
9979 __sim_disabled_exceptions_thread.
9980 (__sim_round_mode): Change to __sim_round_mode_thread.
9981 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9982 thread-local floating-point state and set global state from it as
9983 needed.
9984 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9985 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9986 (__sim_disabled_exceptions): Remove extern declaration.
9987 (feenableexcept): Use thread-local floating-point state and set
9988 global state from it as needed.
9989 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9990 extern declaration.
9991 (__sim_disabled_exceptions): Likewise.
9992 (__sim_round_mode): Likewise.
9993 (__fegetenv): Use thread-local floating-point state.
9994 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9995 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9996 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9997 floating-point state and set global state from it as needed.
9998 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9999 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10000 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10001 Likewise.
10002 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10003 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10004 Likewise.
10005 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10006 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10007 Use __sim_round_mode_thread.
10008 * math/test-fenv-tls.c: New file.
10009 * math/Makefile (tests): Add test-fenv-tls.
10010 ($(objpfx)test-fenv-tls): Depend on
10011 $(common-objpfx)nptl/libpthread.so.
10012
b5449b12
AS
100132013-11-19 Andreas Schwab <schwab@suse.de>
10014
10015 * locale/programs/locale.c (show_info): Decode wordarray elements.
10016 * locale/categories.def (LC_MONETARY): Add element for
10017 _NL_MONETARY_CRNCYSTR.
10018 * locale/C-monetary.c (conversion_rate): New variable.
10019 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10020 element.
10021
e186536b
CM
100222013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10023
10024 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10025 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10026
5c349950
PP
100272013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10028
10029 * elf/Makefile (tst-auxv): New test.
10030 * elf/tst-auxv.c: New
10031 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10032
699df45b
JM
100332013-11-18 Joseph Myers <joseph@codesourcery.com>
10034
10035 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10036 (hidden_proto): Caller changed.
10037 (hidden_tls_proto): New macro.
10038 (libc_hidden_tls_proto): Likewise.
10039 (rtld_hidden_tls_proto): Likewise.
10040 (libm_hidden_tls_proto): Likewise.
10041 (libresolv_hidden_tls_proto): Likewise.
10042 (librt_hidden_tls_proto): Likewise.
10043 (libdl_hidden_tls_proto): Likewise.
10044 (libnss_files_hidden_tls_proto): Likewise.
10045 (libnsl_hidden_tls_proto): Likewise.
10046 (libnss_nisplus_hidden_tls_proto): Likewise.
10047 (libutil_hidden_tls_proto): Likewise.
10048
b7589107
OB
100492013-11-18 Ondřej Bílka <neleai@seznam.cz>
10050
10051 [BZ #10253]
10052 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10053 (decompose_rpath): Defer expansion to fillin_rpath.
10054 (_dl_init_paths): Pass linkmap to fillin_rpath.
10055
250c23bd
RS
100562013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10057
10058 * benchtests/Makefile: Add strsep.
10059 * benchtests/bench-strsep.c: New file: strsep benchtest.
10060 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10061
a7931fcf
AS
100622013-11-18 Andreas Schwab <schwab@suse.de>
10063
10064 * locale/programs/locale.c (show_info) [case byte]: Check for
10065 '\377' instead of '\177'.
10066 * locale/C-monetary.c (not_available): Always use "\377".
10067 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10068 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10069 detect unavailable sign_posn locale elements.
10070 * locale/localeconv.c (__localeconv): For grouping and
10071 mon_grouping handle "\177" and "\377" like no grouping.
10072 (INT_ELEM): New macro. Use it to set all numeric members.
10073 * locale/programs/ld-monetary.c (monetary_read)
10074 <tok_mon_grouping>: Normalize single -1 to the empty string.
10075 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10076 Likewise.
10077
728dab0e
OB
100782013-11-07 Ondřej Bílka <neleai@seznam.cz>
10079
10080 [BZ #16055]
10081 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10082 when we match (nil).
10083 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10084
66294491
JM
100852013-11-16 Joseph Myers <joseph@codesourcery.com>
10086
ce665817
JM
10087 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10088 (NO_TEST_INLINE): Update value.
10089 (ERRNO_UNCHANGED): Likewise.
10090 (ERRNO_EDOM): Likewise.
10091 (ERRNO_ERANGE): Likewise.
10092 (IGNORE_RESULT): Likewise.
10093 (check_float_internal): Check signs of NaN results if
10094 TEST_NAN_SIGN used.
10095 (check_complex): Pass TEST_NAN_SIGN flag through to second
10096 check_float_internal call.
10097 (copysign_test_data): Add tests with quiet NaNs as second
10098 argument. Use TEST_NAN_SIGN.
10099 (fabs_test_data): Add test of negative quiet NaN argument. Use
10100 TEST_NAN_SIGN.
10101 (signbit_test_data): Add tests of quiet NaN argument.
10102 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10103
ee1466a9
JM
10104 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10105 $ignore_result.
10106 (parse_args): Handle function results specified as IGNORE.
10107 * math/libm-test.inc (IGNORE_RESULT): New macro.
10108 (check_float_internal): Do not check numerical result if flag
10109 IGNORE_RESULT set.
10110 (check_complex): Pass through IGNORE_RESULT to second
10111 check_float_internal call.
10112 (check_int): Do not check numerical result if flag IGNORE_RESULT
10113 set.
10114 (check_long): Likewise.
10115 (check_bool): Likewise.
10116 (check_longlong): Likewise.
10117 (lrint_test_data): Add tests of infinite and NaN arguments.
10118 (lrint_tonearest_test_data): Likewise.
10119 (lrint_towardzero_test_data): Likewise.
10120 (lrint_downward_test_data): Likewise.
10121 (lrint_upward_test_data): Likewise.
10122 (llrint_test_data): Likewise.
10123 (llrint_tonearest_test_data): Likewise.
10124 (llrint_towardzero_test_data): Likewise.
10125 (llrint_downward_test_data): Likewise.
10126 (llrint_upward_test_data): Likewise.
10127 (lround_test_data): Likewise.
10128 (llround_test_data): Likewise.
10129
14407b7e
JM
10130 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10131 (ERRNO_UNCHANGED): Update value.
10132 (ERRNO_EDOM): Likewise.
10133 (ERRNO_ERANGE): Likewise.
10134 (NO_TEST_INLINE_FLOAT): New macro.
10135 (NO_TEST_INLINE_DOUBLE): Likewise.
10136 (enable_test): New function.
10137 (RUN_TEST_f_f): Check enable_test before running test.
10138 (RUN_TEST_2_f): Likewise.
10139 (RUN_TEST_fff_f): Likewise.
10140 (RUN_TEST_c_f): Likewise.
10141 (RUN_TEST_f_f1): Likewise.
10142 (RUN_TEST_fF_f1): Likewise.
10143 (RUN_TEST_fI_f1): Likewise.
10144 (RUN_TEST_ffI_f1): Likewise.
10145 (RUN_TEST_c_c): Likewise.
10146 (RUN_TEST_cc_c): Likewise.
10147 (RUN_TEST_f_i): Likewise.
10148 (RUN_TEST_f_i_tg): Likewise.
10149 (RUN_TEST_ff_i_tg): Likewise.
10150 (RUN_TEST_f_b): Likewise.
10151 (RUN_TEST_f_b_tg): Likewise.
10152 (RUN_TEST_f_l): Likewise.
10153 (RUN_TEST_f_L): Likewise.
10154 (RUN_TEST_fFF_11): Likewise.
10155 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10156 conditionals.
10157 (cosh_test_data): Likewise.
10158 (exp_test_data): Likewise.
10159 (expm1_test_data): Likewise.
10160 (hypot_test_data): Likewise.
10161 (pow_test_data): Likewise.
10162 (sinh_test_data): Likewise.
10163 (tanh_test_data): Likewise.
10164 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10165 flags argument.
10166
ca07f197
JM
10167 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10168 tests with quiet NaN input and output.
10169 (acosh_test_data): Likewise.
10170 (asin_test_data): Likewise.
10171 (asinh_test_data): Likewise.
10172 (atan_test_data): Likewise.
10173 (atanh_test_data): Likewise.
10174 (atan2_test_data): Likewise.
10175 (cbrt_test_data): Likewise.
10176 (cos_test_data): Likewise.
10177 (cosh_test_data): Likewise.
10178 (erf_test_data): Likewise.
10179 (erfc_test_data): Likewise.
10180 (exp_test_data): Likewise.
10181 (exp10_test_data): Likewise.
10182 (exp2_test_data): Likewise.
10183 (expm1_test_data): Likewise.
10184 (hypot_test_data): Likewise.
10185 (j0_test_data): Likewise.
10186 (j1_test_data): Likewise.
10187 (jn_test_data): Likewise.
10188 (lgamma_test_data): Likewise.
10189 (log_test_data): Likewise.
10190 (log10_test_data): Likewise.
10191 (log1p_test_data): Likewise.
10192 (log2_test_data): Likewise.
10193 (pow_test_data): Likewise.
10194 (scalb_test_data): Likewise.
10195 (sin_test_data): Likewise.
10196 (sincos_test_data): Likewise.
10197 (sinh_test_data): Likewise.
10198 (tan_test_data): Likewise.
10199 (tanh_test_data): Likewise.
10200 (tgamma_test_data): Likewise.
10201 (y0_test_data): Likewise.
10202 (y1_test_data): Likewise.
10203 (yn_test_data): Likewise.
10204
66294491
JM
10205 [BZ #16167]
10206 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10207 argument being NaN and avoid computations with second argument in
10208 that case.
10209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10211 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10212
1820b143
CL
102132013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10214
10215 * locale/iso-639.def: Add Chitwani Tharu (the).
10216
714bd261
AS
102172013-11-14 Andreas Schwab <schwab@suse.de>
10218
10219 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10220 word instead of empty string.
10221
7ab44563
AZ
102222013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10223
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10225 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10227 (__fe_nomask_env): Likewise.
10228
e8470ea2
SE
102292013-11-13 Steve Ellcey <sellcey@mips.com>
10230
10231 * benchtests/bench-timing.h: Include time.h.
10232
17c1d9f0
L
102332013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 [BZ #15997]
10236 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10237 to 3.4.0 for x32.
10238 * sysdeps/unix/sysv/linux/configure: Regenerated.
10239
9310c284
JM
102402013-11-13 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #16151]
10243 * stdlib/strtod_l.c (round_and_return): Do not consider
10244 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10245 exponent one less than half the least subnormal exponent.
10246 * stdlib/test-strtod-round-data: Add more tests.
10247 * stdlib/tst-strtod-round.c (tests): Regenerated.
10248
7a2ad8cf
AZ
102492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10250
10251 [BZ #14143]
10252 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10253 (__fe_mask_env): Likewise.
10254 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10255 libm_hidden_proto and add function prototype.
10256 (__fe_mask_env): Add function prototype.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10258 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10260 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10262 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10263
50727aa7
MS
102642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10265
b2f386c1 10266 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10267 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10268
a615be46
MS
102692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10270
10271 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10272 of htab_find_slot().
10273
7ddace62
DM
102742013-11-11 David S. Miller <davem@davemloft.net>
10275
10276 [BZ #16150]
10277 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10278 symbol in the non-vis3 case in static builds.
10279 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10280 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10281 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10283
9182aa67
JK
102842013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10285
10286 [BZ #387]
10287 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10288 it is empty.
10289
450a2e2d
AZ
102902013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10291
b2f386c1
SP
10292 * benchtests/Makefile: Add bench-strtod.
10293 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10294
8ec3f656
AS
102952013-11-11 Andreas Schwab <schwab@suse.de>
10296
10297 [BZ #16153]
10298 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10299 terminating NUL in key length.
10300
76a9b998
AZ
103012013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10302
10303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10304 Add artificial ODP entry for vDSO symbol for PPC64.
10305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10306 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10307
e4368156
OB
103082013-11-07 Ondřej Bílka <neleai@seznam.cz>
10309
10310 [BZ #15374]
10311 * nss/getent.c (services_keys): Recognize services starting with digit.
10312
8d6bb57c
DM
103132013-11-06 David S. Miller <davem@davemloft.net>
10314
10315 [BZ #15985]
10316 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10317 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10318
e256c421
WN
103192013-11-06 Will Newton <will.newton@linaro.org>
10320
10321 * manual/memory.texi (Malloc Examples): Remove register
10322 keyword from examples.
10323
f6e12daa 103242013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10325
f6e12daa 10326 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10327
9d880655
AS
103282013-11-04 Joseph Myers <joseph@codesourcery.com>
10329
fd2f9486 10330 [BZ #6981]
9d880655
AS
10331 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10332 depending on [__GCC_IEC_559 > 0].
10333 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10334 depending on [__GCC_IEC_559_COMPLEX > 0].
10335
ae129d3c
CL
103362013-11-03 Chris Leonard <cjl@sugarlabs.org>
10337
10338 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10339 to iso-639.def.
10340
4a15c2a4 103412013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10342
10343 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10344
8b35e35d
OB
103452013-11-01 Ondřej Bílka <neleai@seznam.cz>
10346
10347 [BZ #16112]
10348 * malloc/malloc (malloc_info): Do not handle first bin as
10349 special case.
10350
1d70fd6c
CL
103512013-11-01 Chris Leonard <cjl@sugarlabs.org>
10352
10353 * locale/iso-639.def: Add Central Nahuatl (nhn).
10354
8c5c2600
BH
103552013-11-01 Bruno Haible <bruno@clisp.org>
10356
10357 [BZ #7003]
10358 * manual/math.texi (BSD Random): Specify range upper bound as
10359 in POSIX.
10360
da5579c2
CL
103612013-10-31 Chris Leonard <cjl@sugarlabs.org>
10362
10363 * locale/iso-639.def: Add Meadow Mari (mhr).
10364
5d30d853
OB
103652013-10-31 Ondřej Bílka <neleai@seznam.cz>
10366
10367 [BZ #14752], [BZ #15763]
10368 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10369 Validate name.
10370 * rt/tst_shm.c: Add test for escaping directory.
10371
a4966c61
AS
103722013-10-31 Andreas Schwab <schwab@suse.de>
10373
8a43e768 10374 [BZ #15917]
a4966c61
AS
10375 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10376 followed by 'x' as part of digit sequence.
10377 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10378
28d708c4
MAP
103792013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10380
10381 [BZ #16037]
10382 * configure.ac: allow GNU Make 4.0 and greater.
10383 * configure: Regenerated.
10384
a56ee40b
WN
103852013-10-30 Will Newton <will.newton@linaro.org>
10386
10387 [BZ #16038]
10388 * malloc/hooks.c (memalign_check): Limit alignment to the
10389 maximum representable power of two.
10390 * malloc/malloc.c (__libc_memalign): Likewise.
10391 * malloc/tst-memalign.c (do_test): Add test for very
10392 large alignment values.
10393 * malloc/tst-posix_memalign.c (do_test): Likewise.
10394
c6e4925d
OB
103952013-10-30 Ondřej Bílka <neleai@seznam.cz>
10396
10397 [BZ #11087]
10398 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10399 (munmap_chunk): Likewise.
10400 (mremap_chunk): Likewise.
10401
104022013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10403
8a43e768 10404 [BZ #15799]
bbea82f7
OB
10405 * stdlib/div.c (div): Remove obsolete code.
10406 * stdlib/ldiv.c (ldiv): Likewise.
10407 * stdlib/lldiv.c (lldiv): Likewise.
10408
977f4b31
SP
104092013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10410
10411 [BZ #16071]
10412 * nss/nss_files/files-XXX.c (get_contents_ret): New
10413 enumerator.
10414 (get_contents): New function.
10415 (internal_getent): Use it. Expand size of LINEBUFLEN.
10416
cb8a6dbd
MF
104172013-10-30 Mike Frysinger <vapier@gentoo.org>
10418
10419 * configure.in: Moved to ...
10420 * configure.ac: ... here. Change reference to configure.in
10421 to configure.ac.
10422 * sysdeps/arm/preconfigure.ac: ... here.
10423 configure.in to configure.ac.
10424 * sysdeps/gnu/configure.in: Moved to ...
10425 * sysdeps/gnu/configure.ac: ... here.
10426 * sysdeps/i386/configure.in: Moved to ...
10427 * sysdeps/i386/configure.ac: ... here.
10428 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10429 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10430 * sysdeps/mach/configure.in: Moved to ...
10431 * sysdeps/mach/configure.ac: ... here.
10432 * sysdeps/mach/hurd/configure.in: Moved to ...
10433 * sysdeps/mach/hurd/configure.ac: ... here.
10434 * sysdeps/powerpc/configure.in: Moved to ...
10435 * sysdeps/powerpc/configure.ac: ... here.
10436 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10437 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10438 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10439 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10440 * sysdeps/s390/s390-32/configure.in: Moved to ...
10441 * sysdeps/s390/s390-32/configure.ac: ... here.
10442 * sysdeps/s390/s390-64/configure.in: Moved to ...
10443 * sysdeps/s390/s390-64/configure.ac: ... here.
10444 * sysdeps/sh/configure.in: Moved to ...
10445 * sysdeps/sh/configure.ac: ... here.
10446 * sysdeps/sparc/configure.in: Moved to ...
10447 * sysdeps/sparc/configure.ac: ... here.
10448 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10449 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10450 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10451 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10452 * sysdeps/x86_64/configure.in: Moved to ...
10453 * sysdeps/x86_64/configure.ac: ... here.
10454 * sysdeps/x86_64/preconfigure.in: Moved to ...
10455 * sysdeps/x86_64/preconfigure.ac: ... here.
10456 * aclocal.m4: Change reference to configure.in to configure.ac.
10457 * config.h.in: Likewise.
10458 * manual/install.texi: Likewise.
10459 * manual/maint.texi: Likewise.
10460 * Makefile: Likewise.
10461 * malloc/Makefile: Likewise.
10462 * nscd/Makefile: Likewise.
10463 * Makeconfig: Change reference to configure.in and
10464 preconfigure.in to configure.ac and preconfigure.ac
10465 respectively.
10466 * INSTALL: Regenerated.
10467 * configure: Likewise.
10468 * sysdeps/gnu/configure: Likewise.
10469 * sysdeps/i386/configure: Likewise.
10470 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10471 * sysdeps/mach/configure: Likewise.
10472 * sysdeps/mach/hurd/configure: Likewise.
10473 * sysdeps/powerpc/configure: Likewise.
10474 * sysdeps/powerpc/powerpc32/configure: Likewise.
10475 * sysdeps/powerpc/powerpc64/configure: Likewise.
10476 * sysdeps/s390/s390-32/configure: Likewise.
10477 * sysdeps/s390/s390-64/configure: Likewise.
10478 * sysdeps/sh/configure: Likewise.
10479 * sysdeps/sparc/configure: Likewise.
10480 * sysdeps/unix/sysv/linux/configure: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10482 * sysdeps/x86_64/configure: Likewise.
10483 * sysdeps/x86_64/preconfigure: Likewise.
10484
36a4953a
AS
104852013-10-29 Andreas Schwab <schwab@suse.de>
10486
10487 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10488
c79a1204
SP
104892013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10490
dfa1b402
SP
10491 * benchtests/pow-inputs: Add new inputs.
10492
54f73d9c
SP
10493 * benchtests/exp-inputs: Add new inputs.
10494
c79a1204
SP
10495 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10496 conditional check for return value.
10497 (__cos32): Likewise.
10498
67beb545 104992013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10500
10501 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10502 to provide a boost for large inputs with word alignment.
10503 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10504 implementation based on optimized PPC64 strcpy.
10505 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10506 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10507 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10508 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10509
151659f6
OB
105102013-10-25 Ondřej Bílka <neleai@seznam.cz>
10511
482a077e 10512 [BZ #2801]
151659f6
OB
10513 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10514
10b0f26b
OB
105152013-10-25 Ondřej Bílka <neleai@seznam.cz>
10516
10517 [BZ #14876]
10518 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10519 * time/tst-strptime.c (day_tests): Add testcase.
10520
ca42d35e
OB
105212013-10-25 Ondřej Bílka <neleai@seznam.cz>
10522
482a077e 10523 [BZ #14029]
ca42d35e
OB
10524 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10525
52e6d801
FB
105262013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10527
10528 [BZ #16074]
10529 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10530 MAP_FAILED on error.
10531
7cbcdb36
SP
105322013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10533
10534 [BZ #16072]
10535 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10536 heap for large requests.
10537
894f3f10
AM
105382013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10539
10540 [BZ #9954]
10541 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10542 result if the result has no associated interface.
10543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10544 interface for all 127.X.Y.Z addresses.
10545
b85545a6
CL
105462013-10-24 Chris Leonard <cjl@sugarlabs.org>
10547
10548 * locale/iso-639.def: Add Ligurian (lij)
10549
d1f23d46
OB
105502013-10-21 Ondřej Bílka <neleai@seznam.cz>
10551
10552 [BZ #15825]
10553 * sunrpc/rpc_main.c: Document rpcgen -5.
10554
4db5b08f
MS
105552013-10-19 Michael Stahl <mstahl@redhat.com>
10556
10557 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10558
a471e96a
OB
105592013-10-19 Ondřej Bílka <neleai@seznam.cz>
10560
d1f23d46 10561 [BZ #10278]
a471e96a
OB
10562 * posix/glob.c: Match only directories when trailing slash is present.
10563 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10564 (main): Add testcase.
10565
45c30c61
OB
105662013-10-19 Ondřej Bílka <neleai@seznam.cz>
10567
10568 [BZ #15670]
10569 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10570
484c12fb
CD
105712013-10-18 Carlos O'Donell <carlos@redhat.com>
10572
3d7dc513
CD
10573 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10574 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10575 AUTH_DES and cindex for FIPS 140-2.
10576 (DES Encryption): Add cindex FIPS 46-3.
10577
484c12fb
CD
10578 * locale/locarchive.h (struct locarhandle): Add fname.
10579 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10580 if an optional argument was specified to --list-archive,
10581 otherwise NULL.
10582 * locale/programs/locarchive.c (show_archive_content): Take new
10583 argument fname and pass it via ah.fname to open_archive.
10584 * locale/programs/localedef.h: Update decl.
10585 (open_archive): If AH->fname is non-null, open that file
10586 rather than the default file name, and don't ignore ENOENT.
10587 (create_archive): Set AH.fname to NULL.
10588 (delete_locales_from_archive): Likewise.
10589 (add_locales_to_archive): Likewise.
10590 * locale/programs/locfile.c (write_all_categories): Likewise.
10591
3c8325fb
JM
105922013-10-18 Joseph Myers <joseph@codesourcery.com>
10593 Aldy Hernandez <aldyh@redhat.com>
10594
10595 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10596 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10597 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10598 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10599 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10600 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10601 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10602 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10603 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10604 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10605 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10606 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10607 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10608 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10609 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10610 Likewise.
10611 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10612 Likewise.
10613 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10614 Likewise.
10615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10616 Likewise.
10617 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10618 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10619 Likewise.
10620 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10621 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10622 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10623 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10624 Likewise.
10625 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10626 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10627 * sysdeps/powerpc/preconfigure: Likewise.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10629 Likewise.
10630 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10631 Replace contents of file by #include of <fenv_libc.h>.
10632 * sysdeps/powerpc/soft-fp/sfp-machine.h
10633 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10634 and <sys/prctl.h>.
10635 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10648 Allow copysignl PLT reference to be missing.
10649
5abe0682
RS
106502013-10-18 Richard Sandiford <richard@codesourcery.com>
10651 Joseph Myers <joseph@codesourcery.com
10652
10653 [BZ #15948]
10654 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10655 single character.
10656 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10657
c7738d08
SP
106582013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10659
10660 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10661 * elf/tst-tls1.c: Likewise.
10662 * elf/tst-tls10.h: Likewise.
10663 * elf/tst-tls14.c: Likewise.
10664 * elf/tst-tls2.c: Likewise.
10665 * elf/tst-tls3.c: Likewise.
10666 * elf/tst-tls4.c: Likewise.
10667 * elf/tst-tls5.c: Likewise.
10668 * elf/tst-tls6.c: Likewise.
10669 * elf/tst-tls7.c: Likewise.
10670 * elf/tst-tls8.c: Likewise.
10671 * elf/tst-tls9.c: Likewise.
10672 * elf/tst-tlsmod1.c: Likewise.
10673 * elf/tst-tlsmod13.c: Likewise.
10674 * elf/tst-tlsmod13a.c: Likewise.
10675 * elf/tst-tlsmod14a.c: Likewise.
10676 * elf/tst-tlsmod16a.c: Likewise.
10677 * elf/tst-tlsmod16b.c: Likewise.
10678 * elf/tst-tlsmod2.c: Likewise.
10679 * elf/tst-tlsmod3.c: Likewise.
10680 * elf/tst-tlsmod4.c: Likewise.
10681 * elf/tst-tlsmod5.c: Likewise.
10682 * elf/tst-tlsmod6.c: Likewise.
10683
0bfcf2c7
OB
106842013-10-18 Ondřej Bílka <neleai@seznam.cz>
10685
10686 [BZ #12486]
10687 * malloc/malloc.c: remove checks for statistics.
10688
264aad1e
OB
106892013-10-17 Ondřej Bílka <neleai@seznam.cz>
10690
10691 [BZ #15277]
10692 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10693 * inet/tst-network.c: Add testcase.
10694
b957ced8
AS
106952013-10-17 Andreas Schwab <schwab@suse.de>
10696
10697 [BZ #15218]
10698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10699 to determine canonical name.
10700
c5d5d574
OB
107012013-10-17 Ondřej Bílka <neleai@seznam.cz>
10702
10703 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10704 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10727 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10728 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10761
e5c2c2d0
JM
107622013-10-17 Joseph Myers <joseph@codesourcery.com>
10763
10764 [BZ #16041]
10765 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10766 make result into a quiet NaN.
10767
51ca9e29
JM
107682013-10-16 Joseph Myers <joseph@codesourcery.com>
10769
10770 * soft-fp/adddf3.c: Fix horizontal whitespace.
10771 * soft-fp/addsf3.c: Likewise.
10772 * soft-fp/addtf3.c: Likewise.
10773 * soft-fp/divdf3.c: Likewise.
10774 * soft-fp/divsf3.c: Likewise.
10775 * soft-fp/divtf3.c: Likewise.
10776 * soft-fp/double.h: Likewise.
10777 * soft-fp/eqdf2.c: Likewise.
10778 * soft-fp/eqsf2.c: Likewise.
10779 * soft-fp/eqtf2.c: Likewise.
10780 * soft-fp/extenddftf2.c: Likewise.
10781 * soft-fp/extended.h: Likewise.
10782 * soft-fp/extendsfdf2.c: Likewise.
10783 * soft-fp/extendsftf2.c: Likewise.
10784 * soft-fp/extendxftf2.c: Likewise.
10785 * soft-fp/fixdfdi.c: Likewise.
10786 * soft-fp/fixdfsi.c: Likewise.
10787 * soft-fp/fixdfti.c: Likewise.
10788 * soft-fp/fixsfdi.c: Likewise.
10789 * soft-fp/fixsfsi.c: Likewise.
10790 * soft-fp/fixsfti.c: Likewise.
10791 * soft-fp/fixtfdi.c: Likewise.
10792 * soft-fp/fixtfsi.c: Likewise.
10793 * soft-fp/fixtfti.c: Likewise.
10794 * soft-fp/fixunsdfdi.c: Likewise.
10795 * soft-fp/fixunsdfsi.c: Likewise.
10796 * soft-fp/fixunsdfti.c: Likewise.
10797 * soft-fp/fixunssfdi.c: Likewise.
10798 * soft-fp/fixunssfsi.c: Likewise.
10799 * soft-fp/fixunssfti.c: Likewise.
10800 * soft-fp/fixunstfdi.c: Likewise.
10801 * soft-fp/fixunstfsi.c: Likewise.
10802 * soft-fp/fixunstfti.c: Likewise.
10803 * soft-fp/floatdidf.c: Likewise.
10804 * soft-fp/floatdisf.c: Likewise.
10805 * soft-fp/floatditf.c: Likewise.
10806 * soft-fp/floatsidf.c: Likewise.
10807 * soft-fp/floatsisf.c: Likewise.
10808 * soft-fp/floatsitf.c: Likewise.
10809 * soft-fp/floattidf.c: Likewise.
10810 * soft-fp/floattisf.c: Likewise.
10811 * soft-fp/floattitf.c: Likewise.
10812 * soft-fp/floatundidf.c: Likewise.
10813 * soft-fp/floatundisf.c: Likewise.
10814 * soft-fp/floatunditf.c: Likewise.
10815 * soft-fp/floatunsidf.c: Likewise.
10816 * soft-fp/floatunsisf.c: Likewise.
10817 * soft-fp/floatunsitf.c: Likewise.
10818 * soft-fp/floatuntidf.c: Likewise.
10819 * soft-fp/floatuntisf.c: Likewise.
10820 * soft-fp/floatuntitf.c: Likewise.
10821 * soft-fp/fmadf4.c: Likewise.
10822 * soft-fp/fmasf4.c: Likewise.
10823 * soft-fp/fmatf4.c: Likewise.
10824 * soft-fp/gedf2.c: Likewise.
10825 * soft-fp/gesf2.c: Likewise.
10826 * soft-fp/getf2.c: Likewise.
10827 * soft-fp/ledf2.c: Likewise.
10828 * soft-fp/lesf2.c: Likewise.
10829 * soft-fp/letf2.c: Likewise.
10830 * soft-fp/muldf3.c: Likewise.
10831 * soft-fp/mulsf3.c: Likewise.
10832 * soft-fp/multf3.c: Likewise.
10833 * soft-fp/negdf2.c: Likewise.
10834 * soft-fp/negsf2.c: Likewise.
10835 * soft-fp/negtf2.c: Likewise.
10836 * soft-fp/op-1.h: Likewise.
10837 * soft-fp/op-2.h: Likewise.
10838 * soft-fp/op-4.h: Likewise.
10839 * soft-fp/op-8.h: Likewise.
10840 * soft-fp/op-common.h: Likewise.
10841 * soft-fp/quad.h: Likewise.
10842 * soft-fp/single.h: Likewise.
10843 * soft-fp/soft-fp.h: Likewise.
10844 * soft-fp/sqrtdf2.c: Likewise.
10845 * soft-fp/sqrtsf2.c: Likewise.
10846 * soft-fp/sqrttf2.c: Likewise.
10847 * soft-fp/subdf3.c: Likewise.
10848 * soft-fp/subsf3.c: Likewise.
10849 * soft-fp/subtf3.c: Likewise.
10850 * soft-fp/truncdfsf2.c: Likewise.
10851 * soft-fp/trunctfdf2.c: Likewise.
10852 * soft-fp/trunctfsf2.c: Likewise.
10853 * soft-fp/trunctfxf2.c: Likewise.
10854 * soft-fp/unorddf2.c: Likewise.
10855 * soft-fp/unordsf2.c: Likewise.
10856 * soft-fp/unordtf2.c: Likewise.
10857
9ebb0332
JM
108582013-10-15 Joseph Myers <joseph@codesourcery.com>
10859
10860 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10861 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10862
4b1a6d8b
OB
108632013-10-15 Ondřej Bílka <neleai@seznam.cz>
10864
10865 * elf/dl-libc.c: Clear initfini list after freeing.
10866
1e145589
JM
108672013-10-14 Joseph Myers <joseph@codesourcery.com>
10868
10869 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10870 * soft-fp/addsf3.c: Likewise.
10871 * soft-fp/addtf3.c: Likewise.
10872 * soft-fp/divdf3.c: Likewise.
10873 * soft-fp/divsf3.c: Likewise.
10874 * soft-fp/divtf3.c: Likewise.
10875 * soft-fp/double.h: Likewise.
10876 * soft-fp/eqdf2.c: Likewise.
10877 * soft-fp/eqsf2.c: Likewise.
10878 * soft-fp/eqtf2.c: Likewise.
10879 * soft-fp/extenddftf2.c: Likewise.
10880 * soft-fp/extended.h: Likewise.
10881 * soft-fp/extendsfdf2.c: Likewise.
10882 * soft-fp/extendsftf2.c: Likewise.
10883 * soft-fp/extendxftf2.c: Likewise.
10884 * soft-fp/fixdfdi.c: Likewise.
10885 * soft-fp/fixdfsi.c: Likewise.
10886 * soft-fp/fixdfti.c: Likewise.
10887 * soft-fp/fixsfdi.c: Likewise.
10888 * soft-fp/fixsfsi.c: Likewise.
10889 * soft-fp/fixsfti.c: Likewise.
10890 * soft-fp/fixtfdi.c: Likewise.
10891 * soft-fp/fixtfsi.c: Likewise.
10892 * soft-fp/fixtfti.c: Likewise.
10893 * soft-fp/fixunsdfdi.c: Likewise.
10894 * soft-fp/fixunsdfsi.c: Likewise.
10895 * soft-fp/fixunsdfti.c: Likewise.
10896 * soft-fp/fixunssfdi.c: Likewise.
10897 * soft-fp/fixunssfsi.c: Likewise.
10898 * soft-fp/fixunssfti.c: Likewise.
10899 * soft-fp/fixunstfdi.c: Likewise.
10900 * soft-fp/fixunstfsi.c: Likewise.
10901 * soft-fp/fixunstfti.c: Likewise.
10902 * soft-fp/floatdidf.c: Likewise.
10903 * soft-fp/floatdisf.c: Likewise.
10904 * soft-fp/floatditf.c: Likewise.
10905 * soft-fp/floatsidf.c: Likewise.
10906 * soft-fp/floatsisf.c: Likewise.
10907 * soft-fp/floatsitf.c: Likewise.
10908 * soft-fp/floattidf.c: Likewise.
10909 * soft-fp/floattisf.c: Likewise.
10910 * soft-fp/floattitf.c: Likewise.
10911 * soft-fp/floatundidf.c: Likewise.
10912 * soft-fp/floatundisf.c: Likewise.
10913 * soft-fp/floatunsidf.c: Likewise.
10914 * soft-fp/floatunsisf.c: Likewise.
10915 * soft-fp/floatuntidf.c: Likewise.
10916 * soft-fp/floatuntisf.c: Likewise.
10917 * soft-fp/floatuntitf.c: Likewise.
10918 * soft-fp/fmadf4.c: Likewise.
10919 * soft-fp/fmasf4.c: Likewise.
10920 * soft-fp/fmatf4.c: Likewise.
10921 * soft-fp/gedf2.c: Likewise.
10922 * soft-fp/gesf2.c: Likewise.
10923 * soft-fp/getf2.c: Likewise.
10924 * soft-fp/ledf2.c: Likewise.
10925 * soft-fp/lesf2.c: Likewise.
10926 * soft-fp/letf2.c: Likewise.
10927 * soft-fp/muldf3.c: Likewise.
10928 * soft-fp/mulsf3.c: Likewise.
10929 * soft-fp/multf3.c: Likewise.
10930 * soft-fp/negdf2.c: Likewise.
10931 * soft-fp/negsf2.c: Likewise.
10932 * soft-fp/negtf2.c: Likewise.
10933 * soft-fp/op-1.h: Likewise.
10934 * soft-fp/op-2.h: Likewise.
10935 * soft-fp/op-4.h: Likewise.
10936 * soft-fp/op-8.h: Likewise.
10937 * soft-fp/op-common.h: Likewise.
10938 * soft-fp/quad.h: Likewise.
10939 * soft-fp/single.h: Likewise.
10940 * soft-fp/soft-fp.h: Likewise.
10941 * soft-fp/sqrtdf2.c: Likewise.
10942 * soft-fp/sqrtsf2.c: Likewise.
10943 * soft-fp/sqrttf2.c: Likewise.
10944 * soft-fp/subdf3.c: Likewise.
10945 * soft-fp/subsf3.c: Likewise.
10946 * soft-fp/subtf3.c: Likewise.
10947 * soft-fp/truncdfsf2.c: Likewise.
10948 * soft-fp/trunctfdf2.c: Likewise.
10949 * soft-fp/trunctfsf2.c: Likewise.
10950 * soft-fp/trunctfxf2.c: Likewise.
10951 * soft-fp/unorddf2.c: Likewise.
10952 * soft-fp/unordsf2.c: Likewise.
10953 * soft-fp/unordtf2.c: Likewise.
10954
17c48a60
OB
109552013-10-14 Ondřej Bílka <neleai@seznam.cz>
10956
10957 [BZ #15672]
10958 * misc/error.c (error_tail): Fix possible buffer overflow.
10959
cabba934
OB
109602013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10961
10962 [BZ #13028]
10963 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10964 address.
10965
94bf958a
PM
109662013-10-14 P. J. McDermott <pj@pehjota.net>
10967
10968 [BZ #832]
10969 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10970 testing pipefail option.
10971
71b4dea7
JM
109722013-10-12 Joseph Myers <joseph@codesourcery.com>
10973
10974 * soft-fp/double.h: Indent preprocessor directives inside #if.
10975 * soft-fp/extended.h: Likewise.
10976 * soft-fp/op-2.h: Likewise.
10977 * soft-fp/op-4.h: Likewise.
10978 * soft-fp/op-common.h: Likewise.
10979 * soft-fp/quad.h: Likewise.
10980 * soft-fp/single.h: Likewise.
10981 * soft-fp/soft-fp.h: Likewise.
10982
55602758
YC
109832013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10984
10985 * iconv/iconv_prog.c: Fix typos.
10986 * stdio-common/psiginfo-data.h: Likewise.
10987
9cd83302
RT
109882013-10-12 Reuben Thomas <rrt@sc3d.org>
10989
10990 [BZ #15764]
10991 * locale/setlocale.c: Fix typo.
10992
99fd9f47
JM
109932013-10-12 Joseph Myers <joseph@codesourcery.com>
10994
b7ea74f0
JM
10995 [BZ #16036]
10996 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10997 signaling NaN arguments.
10998 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10999 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11000
8a509447
JM
11001 [BZ #14910]
11002 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11003 unordered operands.
11004 * soft-fp/gesf2.c (__gesf2): Likewise.
11005 * soft-fp/getf2.c (__getf2): Likewise.
11006 * soft-fp/ledf2.c (__ledf2): Likewise.
11007 * soft-fp/lesf2.c (__lesf2): Likewise.
11008 * soft-fp/letf2.c (__letf2): Likewise.
11009
98998e9f
JM
11010 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11011 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11012 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11013 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11014 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11015 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11016 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11017 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11018 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11019 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11020 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11021 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11022 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11023 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11024 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11025 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11026 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11027 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11028 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11029 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11030 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11031 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11032 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11033 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11034 * soft-fp/floattidf.c (__floattidf): Likewise.
11035 * soft-fp/floattisf.c (__floattisf): Likewise.
11036 * soft-fp/floattitf.c (__floattitf): Likewise.
11037 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11038 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11039 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11040 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11041 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11042 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11043 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11044 * soft-fp/gesf2.c (__gesf2): Likewise.
11045 * soft-fp/getf2.c (__getf2): Likewise.
11046 * soft-fp/ledf2.c (__ledf2): Likewise.
11047 * soft-fp/lesf2.c (__lesf2): Likewise.
11048 * soft-fp/letf2.c (__letf2): Likewise.
11049
8edc4a11
JM
11050 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11051 Undefine and redefine.
11052 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11053 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11054 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11055 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11056 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11057 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11058 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11059 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11060 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11061 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11062 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11063 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11064 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11065 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11066 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11067
8399acaf
JM
11068 [BZ #16032]
11069 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11070 without decrementing exponent if mantissa >= that for the
11071 denominator, not >.
11072 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11073 denominator, not >. Decrement exponent in < case instead of
11074 incrementing in >= case.
11075 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11076 without decrementing exponent if mantissa >= that for the
11077 denominator, not >.
11078
99fd9f47
JM
11079 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11080 computing saturated result for unsigned overflow.
11081
10e1cf6b
SP
110822013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11083 Jeff Law <law@redhat.com>
11084
11085 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11086 (atan2Mp): Add systemtap probe marker.
11087 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11088 (__ieee754_log): Add systemtap probe marker.
11089 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11090 (atanMp): Add systemtap probe marker.
11091 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11092 (tanMp): Add systemtap probe marker.
11093 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11094 (__slowexp): Add systemtap probe marker.
11095 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11096 (__slowpow): Add systemtap probe marker.
11097 * manual/probes.texi: Document probes.
11098
3d110c7c
EB
110992013-10-11 Eric Biggers <ebiggers3@gmail.com>
11100
11101 [BZ #15362]
11102 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11103 written.
11104 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11105 written.
11106 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11107 written to buffer but not flushed.
11108 * libio/iofwrite_u.c: Likewise.
11109 * libio/iopadn.c: Return bytes returned even if EOF was
11110 encountered.
11111 * libio/iowpadn.c: Likewise.
11112 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11113 if _IO_padn does not write the whole buffer.
11114 [!COMPILE_WPRINTF] (PAD): Likewise.
11115
75b4202a
DM
111162013-10-10 David S. Miller <davem@davemloft.net>
11117
11118 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11119 directory block.
11120
6c6352e6
JM
111212013-10-10 Joseph Myers <joseph@codesourcery.com>
11122
33b853c3
JM
11123 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11124 instead of FSF address.
11125 * soft-fp/fixdfti.c: Likewise.
11126 * soft-fp/fixsfti.c: Likewise.
11127 * soft-fp/fixtfti.c: Likewise.
11128 * soft-fp/fixunsdfti.c: Likewise.
11129 * soft-fp/fixunssfti.c: Likewise.
11130 * soft-fp/fixunstfti.c: Likewise.
11131 * soft-fp/floattidf.c: Likewise.
11132 * soft-fp/floattisf.c: Likewise.
11133 * soft-fp/floattitf.c: Likewise.
11134 * soft-fp/floatuntidf.c: Likewise.
11135 * soft-fp/floatuntisf.c: Likewise.
11136 * soft-fp/floatuntitf.c: Likewise.
11137 * soft-fp/trunctfxf2.c: Likewise.
11138
6c6352e6
JM
11139 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11140 * soft-fp/fixdfti.c: Likewise.
11141 * soft-fp/fixsfti.c: Likewise.
11142 * soft-fp/fixtfti.c: Likewise.
11143 * soft-fp/fixunsdfti.c: Likewise.
11144 * soft-fp/fixunssfti.c: Likewise.
11145 * soft-fp/fixunstfti.c: Likewise.
11146 * soft-fp/floattidf.c: Likewise.
11147 * soft-fp/floattisf.c: Likewise.
11148 * soft-fp/floattitf.c: Likewise.
11149 * soft-fp/floatuntidf.c: Likewise.
11150 * soft-fp/floatuntisf.c: Likewise.
11151 * soft-fp/floatuntitf.c: Likewise.
11152 * soft-fp/trunctfxf2.c: Likewise.
11153
3bf78b71
DM
111542013-10-10 David S. Miller <davem@davemloft.net>
11155
11156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11157
6f10289e
JM
111582013-10-10 Joseph Myers <joseph@codsourcery.com>
11159
bd878fc0
JM
11160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11161 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11162 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11163 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11164 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11165 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11166 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11167
6f10289e
JM
11168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11169 for NaNs before doing comparisons on argument.
11170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11171 Likewise.
11172
321e2684
WN
111732013-10-10 Will Newton <will.newton@linaro.org>
11174
11175 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11176 passed to _int_memalign does not overflow.
11177
40fefba1
TR
111782013-10-10 Torvald Riegel <triegel@redhat.com>
11179
11180 * scripts/bench.pl: Add include-sources directive.
11181 * benchtests/README: Update documentation.
11182
2ae21ed2
JM
111832013-10-10 Joseph Myers <joseph@codesourcery.com>
11184
dcc2dd3f
JM
11185 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11186 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11187 instead of FP_INIT_ROUNDMODE.
11188 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11189 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11190
2ae21ed2
JM
11191 [BZ #16034]
11192 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11193 copy class of input value.
11194 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11195 not handle exceptions.
11196 * soft-fp/negsf2.c (__negsf2): Likewise.
11197 * soft-fp/negtf2.c (__negtf2): Likewise.
11198 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11199
cb8f9562
JM
112002013-10-09 Joseph Myers <joseph@codesourcery.com>
11201
11202 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11203 semicolon. From Linux kernel.
11204
5b60c59d
AB
112052013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11206
11207 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11208
b86835ca
YC
112092013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11210
11211 [BZ #156]
11212 * manual/socket.texi: Added statement about buffer
11213 for gethostbyname2_r.
11214
e7044ea7
OB
112152013-10-08 Ondřej Bílka <neleai@seznam.cz>
11216
11217 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11218 Use .p2align directive instead, throughout.
11219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11220 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11221 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11224 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11225 * sysdeps/x86_64/strchr.S: Likewise.
11226 * sysdeps/x86_64/strrchr.S: Likewise.
11227
09544cbc
SP
112282013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11229
88576635
SP
11230 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11231
e7b2d1dd
SP
11232 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11233
09544cbc
SP
11234 * sysdeps/generic/math_private.h (__mpsin1): Remove
11235 declaration.
11236 (__mpcos1): Likewise.
11237 (__mpsin): New argument __range_reduce.
11238 (__mpcos): Likewise.
11239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11240 (slow): Use __mpsin and __mpcos.
11241 (slow1): Likewise.
11242 (slow2): Likewise.
11243 (sloww): Likewise.
11244 (sloww1): Likewise.
11245 (sloww2): Likewise.
11246 (bsloww): Likewise.
11247 (bsloww1): Likewise.
11248 (bsloww2): Likewise.
11249 (cslow2): Likewise.
11250 (csloww): Likewise.
11251 (csloww1): Likewise.
11252 (csloww2): Likewise.
11253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11254 range_reduce. Merge in __mpsin1.
11255 (__mpcos): Likewise.
11256 (__mpsin1): Remove.
11257 (__mpcos1): Likewise.
11258
7602d070
JM
112592013-10-07 Joseph Myers <joseph@codesourcery.com>
11260
11261 * locale/loadlocale.c (_nl_intern_locale_data): Use
11262 LOCFILE_ALIGNED_P.
11263 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11264 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11265 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11266 obstack data is appropriately aligned.
11267 (obstack_int32_grow_fast): Likewise.
11268 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11269 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11270 (add_locale_uint32_array): Likewise.
11271
a357259b
SP
112722013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11273
11274 * benchtests/Makefile: Remove ARGLIST and RET variables.
11275 ($(objpfx)bench-%.c): Pass only function name to the script.
11276 * benchtests/README: Update documentation.
11277 * benchtests/acos-inputs: Add new directives.
11278 * benchtests/acosh-inputs: Likewise.
11279 * benchtests/asin-inputs: Likewise.
11280 * benchtests/asinh-inputs: Likewise.
11281 * benchtests/atan-inputs: Likewise.
11282 * benchtests/atanh-inputs: Likewise.
11283 * benchtests/cos-inputs: Likewise.
11284 * benchtests/cosh-inputs: Likewise.
11285 * benchtests/exp-inputs: Likewise.
11286 * benchtests/log-inputs: Likewise.
11287 * benchtests/pow-inputs: Likewise.
11288 * benchtests/rint-inputs: Likewise.
11289 * benchtests/sin-inputs: Likewise.
11290 * benchtests/sinh-inputs: Likewise.
11291 * benchtests/tan-inputs: Likewise.
11292 * benchtests/tanh-inputs: Likewise.
11293 * scripts/bench.pl: Add support for new directives.
11294
9ec1b13d
AM
112952013-10-07 Alan Modra <amodra@gmail.com>
11296
11297 * README: Fix careless merge.
11298
8b7d57cd
AM
112992013-10-05 Alan Modra <amodra@gmail.com>
11300
11301 * NEWS: Mention powerpc64le support and bugs fixed.
11302 * README: Both big-endian and little-endian powerpc64 supported.
11303
7b7bab13
ST
113042013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11305
57f41c40
AS
11306 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11307 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11308 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11309 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11310
d39baad1
RA
113112013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11312
11313 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11314 match prototype.
11315
cd78f7e7
JM
113162013-10-04 Joseph Myers <joseph@codesourcery.com>
11317
29d73d86
JM
11318 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11319 Move -mhard-float appending from
11320 ports/sysdeps/powerpc/powerpc32/Makefile.
11321 [$(with-fp) = yes] (ASFLAGS): Likewise.
11322 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11323 * sysdeps/powerpc/nofpu: Move directory from
11324 ports/sysdeps/powerpc/nofpu.
11325 * sysdeps/powerpc/soft-fp: Move directory from
11326 ports/sysdeps/powerpc/soft-fp.
11327 * sysdeps/powerpc/powerpc32/405: Move directory from
11328 ports/sysdeps/powerpc/powerpc32/405.
11329 * sysdeps/powerpc/powerpc32/440: Move directory from
11330 ports/sysdeps/powerpc/powerpc32/440.
11331 * sysdeps/powerpc/powerpc32/464: Move directory from
11332 ports/sysdeps/powerpc/powerpc32/464.
11333 * sysdeps/powerpc/powerpc32/476: Move directory from
11334 ports/sysdeps/powerpc/powerpc32/476.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11338 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11340 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11345 * README: Update for powerpc-*-linux-gnu software floating point
11346 support in libc.
11347
e246b347
JM
11348 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11349 case to powerpc/powerpc32*.
11350 * sysdeps/unix/sysv/linux/configure: Regenerated.
11351
89c2003e
JM
11352 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11353 (_FPU_MASK_OM): Define as 0x04.
11354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11356 0x00c10080.
11357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11358 0x0000003c.
11359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11360
cd78f7e7
JM
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11362 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11363 getcontext_e500.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11366 setcontext_e500.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11369 and setcontext_e500.
11370
c755294d
CL
113712013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11372
11373 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11374
e16d221c
SP
113752013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11376
11377 * manual/threads.texi (Default Thread Attributes): Fix typo.
11378
215c7d43
WN
113792013-10-04 Will Newton <will.newton@linaro.org>
11380
11381 * malloc/Makefile: Add tst-memalign.
11382 * malloc/tst-memalign.c: New file.
11383
27d0461b
WN
11384 * malloc/tst-posix_memalign.c: Add comments.
11385 (do_test): Add comments and call free on all potentially
11386 allocated pointers. Add space after cast.
11387
1bc92709
WN
11388 * malloc/tst-pvalloc.c: Add comments.
11389 (do_test): Add comments and call free on all potentially
11390 allocated pointers. Remove duplicate check for NULL pointer.
11391 Add space after cast.
11392
66a9be9d
WN
11393 * malloc/tst-valloc.c: Add comments.
11394 (do_test): Add comments and call free on all potentially
11395 allocated pointers. Remove duplicate check for NULL pointer.
11396 Add space after cast.
11397
4cb81307
AM
113982013-10-04 Alan Modra <amodra@gmail.com>
11399
11400 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11401 Use stdint types in rather than __attribute__((mode())).
11402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11403
f8e3e9f3
AM
114042013-10-04 Alan Modra <amodra@gmail.com>
11405
11406 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11407 Correct handling of unaligned relocs for little-endian.
11408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11409
8f9ebb08
AM
114102013-10-04 Alan Modra <amodra@gmail.com>
11411
11412 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11413 * configure: Regenerate.
11414 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11415 * shlib-versions: Likewise.
11416
0edf96c2
AM
114172013-10-04 Alan Modra <amodra@gmail.com>
11418
11419 * string/tester.c (test_memrchr): Increment reported test cycle.
11420
e0f7a380
AM
114212013-10-04 Alan Modra <amodra@gmail.com>
11422
11423 * string/test-memcpy.c (do_one_test): When reporting errors, print
11424 string address and don't overrun end of string.
11425
466b0393
AM
114262013-10-04 Alan Modra <amodra@gmail.com>
11427
11428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11429 insrdi. Make better use of reg selection to speed exit slightly.
11430 Schedule entry path a little better. Remove useless "are we done"
11431 checks on entry to main loop. Handle wrapping around zero address.
11432 Correct main loop count. Handle single left-over word from main
11433 loop inline rather than by using loop_small. Remove extra word
11434 case in loop_small caused by wrong loop count. Add little-endian
11435 support.
11436 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11438 cache hint.
11439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11441 support. Avoid rlwimi.
11442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11443
3be87c77
AM
114442013-10-04 Alan Modra <amodra@gmail.com>
11445
11446 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11447 insrdi. Formatting.
3be87c77
AM
11448 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11450 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11451 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11452 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11453 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11454
759cfef3
AM
114552013-10-04 Alan Modra <amodra@gmail.com>
11456
11457 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11460 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11461 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11466 use of regs. Use power7 mtocrf. Tidy function tails.
11467
fe6e95d7
AM
114682013-10-04 Alan Modra <amodra@gmail.com>
11469
11470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11471 Formatting. Consistently use rXXX register defines or rN defines.
11472 Use early exit labels that avoid restoring unused non-volatile regs.
11473 Make cr field use more consistent with rWORDn compares. Rename
11474 regs used as shift registers for unaligned loop, using rN defines
11475 for short lifetime/multiple use regs.
11476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11477 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11478 addi 1,1,64 to pop stack frame. Simplify return value code.
11479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11480
664318c3
AM
114812013-10-04 Alan Modra <amodra@gmail.com>
11482
11483 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11484 support. Correct typos, formatting. Optimize tail. Use insrdi
11485 rather than rlwimi.
11486 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11487 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11488 little-endian support. Correct typos.
11489 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11490 rather than rlwimi.
11491 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11492 in loop and entry code to keep "and." results.
11493 (strchr): Add little-endian support. Comment. Move cntlzd
11494 earlier in tail.
11495 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11496
43b84013
AM
114972013-10-04 Alan Modra <amodra@gmail.com>
11498
11499 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11500 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11502 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11503
8a7413f9
AM
115042013-10-04 Alan Modra <amodra@gmail.com>
11505
11506 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11507 (rTMP): Define as r11.
11508 (strcmp): Add little-endian support. Optimise tail.
11509 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11513 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11516
33ee81de
AM
115172013-10-04 Alan Modra <amodra@gmail.com>
11518
11519 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11520 little-endian support. Remove unnecessary "are we done" tests.
11521 Handle "s" wrapping around zero and extremely large "size".
11522 Correct main loop count. Handle single left-over word from main
11523 loop inline rather than by using small_loop. Correct comments.
11524 Delete "zero" tail, use "end_max" instead.
11525 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11526
db9b4570
AM
115272013-10-04 Alan Modra <amodra@gmail.com>
11528
11529 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11530 support. Don't branch over align.
11531 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11532 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11533 support. Rearrange tmp reg use to suit. Comment.
11534 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11535
f7c399cf
AM
115362013-10-04 Alan Modra <amodra@gmail.com>
11537
11538 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11539
0b2c2ace
AM
115402013-10-04 Alan Modra <amodra@gmail.com>
11541
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11543 conditional form of branch and link when obtaining pc.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11545
02f04a6c
AM
115462013-10-04 Alan Modra <amodra@gmail.com>
11547
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11549 HIWORD/LOWORD.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11552
9b874b2f
AM
115532013-10-04 Alan Modra <amodra@gmail.com>
11554
11555 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11556 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11557 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11558 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11559 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11561 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11563 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11564 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11565
be1e5d31
AB
115662013-10-04 Anton Blanchard <anton@au1.ibm.com>
11567 Alistair Popple <alistair@ozlabs.au.ibm.com>
11568 Alan Modra <amodra@gmail.com>
11569
11570 [BZ #15723]
11571 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11572 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11573 _dl_hwcap access for little-endian.
11574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11575 destroy vmx regs when saving unaligned.
11576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11577 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11578 destroy vmx regs when saving unaligned.
11579
fef13a78
AM
115802013-10-04 Alan Modra <amodra@gmail.com>
11581
11582 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11583 Don't use a union to pack hi/low value.
11584
76a66d51
AB
115852013-10-04 Anton Blanchard <anton@au1.ibm.com>
11586
11587 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11588 for little-endian.
11589 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11590 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11591 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11592 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11593 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11594
6a31fe7f
AM
115952013-10-04 Alan Modra <amodra@gmail.com>
11596
11597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11598 constants to usual value for .cst8 section, and remove redundant
11599 high address load.
11600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11601 constant for 0x1p52. Load little-endian words of double from
11602 correct stack offsets.
11603
7b88401f
AM
116042013-10-04 Alan Modra <amodra@gmail.com>
11605
11606 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11607 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11608 words of double from correct stack offsets.
11609 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11610 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11611 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11616 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11617 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11622 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11623 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11624 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11625 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11626
9c008155
AM
116272013-10-04 Alan Modra <amodra@gmail.com>
11628
11629 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11630 64-bit int/double union.
11631 (_FPU_SETCW): Likewise.
11632 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11633 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11634
da13146d
AM
116352013-10-04 Alan Modra <amodra@gmail.com>
11636
11637 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11638 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11639
603e8410
AM
116402013-10-04 Alan Modra <amodra@gmail.com>
11641
11642 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11643 use vector int constants.
11644 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11645
4a28b3ca
AB
116462013-10-04 Anton Blanchard <anton@au1.ibm.com>
11647
11648 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11649 array with long long.
11650 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11651 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11652 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11653 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11654 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11655 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11656 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11657 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11658 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11659 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11660 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11661 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11662 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11663
2ca85d2b
AB
116642013-10-04 Anton Blanchard <anton@au1.ibm.com>
11665
11666 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11667 (__signbit): Likewise. Correct for little-endian.
11668 (__signbitl): Call __signbit.
11669 (lrint): Correct for little-endian.
11670 (lrintf): Call lrint.
11671
62a728ae
AM
116722013-10-04 Alan Modra <amodra@gmail.com>
11673
11674 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11675 union 32-bit int array member with 64-bit int array.
11676 (t515, tm256): Double rather than long double.
11677 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11678
32c301df
AM
116792013-10-04 Alan Modra <amodra@gmail.com>
11680
11681 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11682 Delete.
11683 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11685 version of math_ldbl.h.
11686
650ef4bd
AM
116872013-10-04 Alan Modra <amodra@gmail.com>
11688
11689 [BZ #15734], [BZ #15735]
11690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11691 all uses of ieee875 long double macros and unions. Simplify test
11692 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11693 ldbl_extract_mantissa value for ix,iy exponents. Properly
11694 normalize after ldbl_extract_mantissa, and don't add hidden bit
11695 already handled. Don't treat low word of ieee854 mantissa like
11696 low word of IBM long double and mask off bit when testing for
11697 zero.
11698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11699 all uses of ieee875 long double macros and unions. Simplify tests
11700 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11701 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11702 two1022, instead use their values. Recognise that tests for large
11703 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11705 Rewrite all uses of ieee875 long double macros and unions. Simplify
11706 test for 0.0L and nan. Correct negation.
11707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11708 ieee875 long double macros and unions. Correct output for large
11709 magnitude x. Correct absolute value calculation.
11710 (__erfcl): Likewise.
11711 * math/libm-test.inc: Add tests for errors discovered in IBM long
11712 double versions of fmodl, remainderl, erfl and erfcl.
11713
765714ca
AM
117142013-10-04 Alan Modra <amodra@gmail.com>
11715
11716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11717 all uses of ieee854 long double macros and unions. Simplify tests
11718 for long doubles that are fully specified by the high double.
11719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11720 Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11722 Remove dead code too.
11723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11724 (__ieee754_ynl): Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11728 Remove dead code too.
11729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11733 Simplify.
11734 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11735 Simplify.
11736 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11739 Comment on variable precision.
11740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11742 Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11748
4ebd120c
AM
117492013-10-04 Alan Modra <amodra@gmail.com>
11750
11751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11753 all uses of ieee854 long double macros and unions.
11754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11760 Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11767 Simplify sign and nan test too.
11768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11772 Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11775 Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11782
1b6adf88
AM
117832013-10-04 Alan Modra <amodra@gmail.com>
11784
11785 * stdio-common/printf_size.c (__printf_size): Don't use
11786 union ieee854_long_double in fpnum union.
11787 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11788 signbit macro to retrieve sign from long double.
11789 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11790 retrieve sign from long double.
11791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11792 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11794 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11795 * math/test-misc.c (main): Don't use union ieee854_long_double.
11796
4cf69995
AM
117972013-10-04 Alan Modra <amodra@gmail.com>
11798
11799 [BZ #15680]
11800 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11801 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11802 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11803 calculation. Remove unnecessary test for denormal exponent.
11804 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11805 Correct handling of denormals. Avoid undefined shift behaviour.
11806 Correct normalisation of low mantissa when low double is denormal.
11807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11808 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11809 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11810 Correct normalisation of low mantissa. Test for overflow of high
11811 mantissa and normalise.
11812 (ldbl_nearbyint): Use more readable constant for two52.
11813 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11814 (__mpn_construct_long_double): Fix test for overflow of high
11815 mantissa and correct normalisation. Avoid undefined shift.
11816
9605ca6c
AM
118172013-10-04 Alan Modra <amodra@gmail.com>
11818
11819 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11820 (union ibm_extended_long_double): Define as an array of ieee754_double.
11821 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11823 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11824 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11832
975569d0
JM
118332013-10-03 Joseph Myers <joseph@codesourcery.com>
11834
d3d23756
JM
11835 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11836 page size instead of calling getpagesize.
11837
975569d0
JM
11838 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11839 (LOCFILE_ALIGN_MASK): Likewise.
11840 (LOCFILE_ALIGN_UP): Likewise.
11841 (LOCFILE_ALIGNED_P): Likewise.
11842 * locale/programs/ld-collate.c (collate_output): Use the new
11843 macros instead of __alignof__ (int32_t).
11844 * locale/weight.h (findidx): Likewise.
11845
b1fe1f2b
OB
118462013-10-03 Ondřej Bílka <neleai@seznam.cz>
11847
11848 [BZ #431]
11849 * manual/string.texi: Fix strncat and wcsncat.
11850
5f855e35
BM
118512013-10-03 Brooks Moses <bmoses@google.com>
11852
11853 [BZ #15915]
11854 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11855 * Makerules: ...here, and adjust associated comments.
11856
3cef6009
WN
118572013-10-02 Will Newton <will.newton@linaro.org>
11858
11859 * malloc/Makefile: Add tst-pvalloc.
11860 * malloc/tst-pvalloc.c: New file.
11861
7815420b
WN
118622013-10-02 Will Newton <will.newton@linaro.org>
11863
11864 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11865 improve test coverage.
11866
4868b204
WN
118672013-10-02 Will Newton <will.newton@linaro.org>
11868
11869 * malloc/Makefile: Add tst-posix_memalign.
11870 * malloc/tst-posix_memalign.c: New file.
11871
29c793b3
EB
118722013-10-01 Eric Blake <eblake@redhat.com>
11873
11874 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11875 Use __THROWNL rather than __THROW on static functions.
11876
fd967522
PM
118772013-09-30 Petr Machata <pmachata@redhat.com>
11878
11879 * elf/elf.h (R_AARCH64_ABS16): New macro.
11880 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11881 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11882 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11883 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11884 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11885 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11886 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11887 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11888 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11889 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11890 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11891 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11892 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11893 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11894 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11895 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11896 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11897 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11898 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11899 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11900 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11901 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11902 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11903 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11904 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11905 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11906 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11907 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11908 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11909 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11910 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11911 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11912 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11913 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11914 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11915 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11916 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11917 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11918 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11919 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11920 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11921 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11922 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11923 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11924 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11925 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11926 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11927 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11928 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11929 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11930 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11931 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11932 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11933 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11934 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11935 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11936 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11937 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11938 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11939 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11940 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11941 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11942 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11943 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11944 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11945 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11946 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11947 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11948 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11949 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11950 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11951 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11952 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11953 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11954 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11955 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11956 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11957 (R_AARCH64_TLSDESC_LDR): Likewise.
11958 (R_AARCH64_TLSDESC_ADD): Likewise.
11959 (R_AARCH64_TLSDESC_CALL): Likewise.
11960
b2179107
AS
119612013-09-30 Andreas Schwab <schwab@suse.de>
11962
11963 [BZ #15048]
11964 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11965 the nss database lookup.
11966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11968
47f28d0a
MF
119692013-09-28 Mike Frysinger <vapier@gentoo.org>
11970
11971 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11972
119732013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11974
11975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11976 ${Bash-specific parameter/pattern/string} parameter expansion.
11977 * sysdeps/unix/make-syscalls.sh: Likewise.
11978
f4518a17
KK
119792013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11980
11981 * sysdeps/sh/stackguard-macros.h: New file.
11982
dc1a95c7
OB
119832013-09-26 Ondřej Bílka <neleai@seznam.cz>
11984
11985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11987 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11988 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11989 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11990 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11991
5ebbff8f
AZ
119922013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993
11994 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11995 Fix thread ID register.
11996
4fd2cf9f
JM
119972013-09-25 Joseph Myers <joseph@codesourcery.com>
11998
11999 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12000 [POSIX || UNIX98]: Require rather than permitting all symbols from
12001 <time.h>.
12002 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12003 element of struct sched_param.
12004 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12005 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12006 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12007 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12008 constant.
12009
12c22bc4
OL
120102013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12011
12012 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12013 argument calculation.
12014
a03d8ea7
JM
120152013-09-24 Joseph Myers <joseph@codesourcery.com>
12016
12017 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12018 Expect macro.
12019 [POSIX] (pthread_attr_t): Do not require type.
12020 [POSIX] (pthread_cond_t): Likewise.
12021 [POSIX] (pthread_condattr_t): Likewise.
12022 [POSIX] (pthread_key_t): Likewise.
12023 [POSIX] (pthread_mutex_t): Likewise.
12024 [POSIX] (pthread_mutexattr_t): Likewise.
12025 [POSIX] (pthread_once_t): Likewise.
12026 [POSIX] (pthread_t): Likewise.
12027 [POSIX-based standards] (pthread_atfork): Expect function.
12028
6055173a
JM
120292013-09-24 Joseph Myers <joseph@codesourcery.com>
12030 Richard Sandiford <richard@codesourcery.com>
12031
12032 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12033 (swap_endianness_p): New extern variable.
12034 (set_big_endian): New inline function.
12035 (maybe_swap_uint32): Likewise.
12036 (maybe_swap_uint32_array): Likewise.
12037 (maybe_swap_uint32_obstack): Likewise.
12038 * locale/programs/locfile.c: Include <stdbool.h>.
12039 (swap_endianness_p): New variable.
12040 (add_locale_uint32): Call maybe_swap_uint32.
12041 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12042 (write_locale_data): Call maybe_swap_uint32_array.
12043 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12044 maybe_swap_uint32.
12045 (obstack_int32_grow_fast): Likewise.
12046 (output_weightwc): Call maybe_swap_uint32_obstack.
12047 (collate_output): Likewise.
12048 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12049 (OPT_LITTLE_ENDIAN): Likewise.
12050 (options): Add --little-endian and --big-endian options.
12051 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12052 * locale/programs/locarchive.c: Include "locfile.h".
12053 (GET): New macro.
12054 (SET): Likewise.
12055 (INC): Likewise.
12056 (create_archive): Use the new macros to access fields of
12057 structures directly mapped from or written to locale archives.
12058 (oldlocrecentcmp): Likewise.
12059 (enlarge_archive): Likewise.
12060 (insert_name): Likewise.
12061 (add_alias): Likewise.
12062 (add_locale): Likewise.
12063 (delete_locales_from_archive): Likewise.
12064 (show_archive_content): Likewise.
12065 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12066 locale data.
12067
39bf0bb4
RM
120682013-09-24 Roland McGrath <roland@hack.frob.com>
12069
12070 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12071 http://www.gnu.org/doc/freemanuals.texi.
12072 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12073
f02eed10
WN
120742013-09-24 Will Newton <will.newton@linaro.org>
12075
12076 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12077 macro.
12078
a3a6c312
JM
120792013-09-23 Joseph Myers <joseph@codesourcery.com>
12080
12081 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12082 unsigned char.
12083
107375ac
MR
120842013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12085
12086 * manual/threads.texi (POSIX Threads): Fix a typo.
12087
141f3a77
SP
120882013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12089
303e567a
SP
12090 [BZ #14547]
12091 * string/tst-strcoll-overflow.c: New test case.
12092 * string/Makefile (xtests): Add tst-strcoll-overflow.
12093 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12094 cache if string sizes may cause integer overflow.
12095
141f3a77
SP
12096 [BZ #14547]
12097 * string/strcoll_l.c (coll_seq): New members rule, idx,
12098 save_idx and back_us.
12099 (get_next_seq_nocache): New function.
12100 (do_compare_nocache): New function.
12101 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12102 when malloc fails.
12103
c61b4d41
CD
121042013-09-23 Carlos O'Donell <carlos@redhat.com>
12105
0b1f8e35
CD
12106 [BZ #15754]
12107 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12108 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12109 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12110
c61b4d41
CD
12111 [BZ #15754]
12112 * elf/Makefile (tests): Add tst-ptrguard1.
12113 (tests-static): Add tst-ptrguard1-static.
12114 (tst-ptrguard1-ARGS): Define.
12115 (tst-ptrguard1-static-ARGS): Define.
12116 * elf/tst-ptrguard1.c: New file.
12117 * elf/tst-ptrguard1-static.c: New file.
12118 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12119 * sysdeps/i386/stackguard-macros.h: Likewise.
12120 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12121 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12122 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12123 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12124 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12125 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12126
121272013-09-23 Hector Marco <hecmargi@upv.es>
12128 Ismael Ripoll <iripoll@disca.upv.es>
12129 Carlos O'Donell <carlos@redhat.com>
12130
12131 [BZ #15754]
12132 * sysdeps/generic/stackguard-macros.h: Define
12133 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12134 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12135 Define __pointer_chk_guard_local.
12136 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12137 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12138
f5f4e7b4
VV
121392013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12140
12141 [BZ #15859]
12142 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12143
5bb43a43
AS
121442013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12145
12146 * include/string.h (__ffs): Declare as hidden.
12147 * string/ffs.c (__ffs): Define as hidden.
12148 * sysdeps/i386/ffs.c (__ffs): Likewise.
12149 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12150 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12151 * sysdeps/s390/ffs.c (__ffs): Likewise.
12152 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12153
3ea5be54
AO
121542013-09-20 Alexandre Oliva <aoliva@redhat.com>
12155
ffb89e53
AO
12156 * NEWS: Mention malloc probes.
12157
322dea08
AO
12158 * malloc/arena.c (new_heap): New memory_heap_new probe.
12159 (grow_heap): New memory_heap_more probe.
12160 (shrink_heap): New memory_heap_less probe.
12161 (heap_trim): New memory_heap_free probe.
12162 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12163 (systrim): New memory_sbrk_less probe.
12164 * manual/probes.texi: Document them.
12165
655673f3
AO
12166 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12167 * manual/probes.texi: Document it.
12168
35fed6f1
AO
12169 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12170 (__libc_realloc): Add memory_realloc_retry probe.
12171 (__libc_memalign): Add memory_memalign_retry probe.
12172 (__libc_valloc): Add memory_valloc_retry probe.
12173 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12174 (__libc_calloc): Add memory_calloc_retry probe.
12175 * manual/probes.texi: Document them.
12176
6999d38c
AO
12177 * malloc/arena.c (get_free_list): Add probe
12178 memory_arena_reuse_free_list.
12179 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12180 and memory_arena_reuse.
12181 (arena_get2) [!PER_THREAD]: Likewise.
12182 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12183 memory_arena_reuse_realloc.
12184 * manual/probes.texi: Document them.
12185
0653427f
AO
12186 * malloc/malloc.c (__libc_free): Add
12187 memory_mallopt_free_dyn_thresholds probe.
12188 (__libc_mallopt): Add multiple memory_mallopt probes.
12189 * manual/probes.texi: Document them.
12190
3ea5be54
AO
12191 * malloc/malloc.c: Include stap-probe.h.
12192 (__libc_mallopt): Add memory_mallopt probe.
12193 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12194 * manual/probes.texi: New.
12195 * manual/Makefile (chapters): Add probes.
12196 * manual/threads.texi: Set next node.
12197
e35696c3 121982013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12199
e35696c3
CL
12200 [BZ #15963, #13985]
12201 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12202 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12203 Add `Chinese' to `nan' entry name.
12204
4aafb73c
SP
122052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12206
12207 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12208 (POLYNOMIAL): Likewise.
12209 (TAYLOR_SINCOS): Likewise.
12210 (TAYLOR_SLOW): Likewise.
12211 (__sin): Use TAYLOR_SINCOS.
12212 (__cos): Likewise.
12213 (slow): Use TAYLOR_SLOW.
12214 (sloww): Likewise.
12215 (bsloww): Likewise.
12216 (csloww): Likewise.
12217
d84f25c7
LD
122182013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12219
12220 * stdlib/strtod_l.c: Fix buffer overrun.
12221
5eea0404
SP
122222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12223
7849ff93
SP
12224 * benchtests/Makefile (bench): Add sincos.
12225 * benchtests/bench-sincos.c: New file.
12226
cfa3c886
SP
12227 * math/libm-test.inc (cos_test_data): New test inputs.
12228 (sin_test_data): Likewise.
12229
b348e1e3
SP
12230 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12231 macro.
12232 (__sin): Use it.
12233 (__cos): Likewise.
12234 (slow1): Likewise.
12235 (slow2): Likewise.
12236 (sloww1): Likewise.
12237 (sloww2): Likewise.
12238 (bsloww1): Likewise.
12239 (bsloww2): Likewise.
12240 (cslow2): Likewise.
12241 (csloww1): Likewise.
12242 (csloww2): Likewise.
12243
6cce25f8
SP
12244 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12245 function.
12246 (__sin): Use it.
12247 (__cos): Likewise.
12248
5eea0404
SP
12249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12250 gotos.
12251 (__cos): Likewise.
12252
9c21573c
MR
122532013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12254
12255 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12256 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12257 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12258 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12259 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12260 * elf/cache.c (print_entry): Handle the new cache flags.
12261
24d22e65
JM
122622013-09-18 Joseph Myers <joseph@codesourcery.com>
12263 Aldy Hernandez <aldyh@redhat.com>
12264
12265 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12266 Change condition to [_SOFT_FLOAT].
12267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12279 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12282 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12283 declaration.
12284
d13ef066
JM
122852013-09-18 Joseph Myers <joseph@codesourcery.com>
12286
2e071de0
JM
12287 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12288 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12289 (__longjmp): Use LOAD_GP to load saved GPRs.
12290 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12291 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12292 (__sigsetjmp): Use SAVE_GP to save GPRs.
12293
d13ef066
JM
12294 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12295 Do not append -msoft-float.
12296 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12297
97a0650b
SP
122982013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12299
12300 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12301
11ca09e9
JM
123022013-09-17 Joseph Myers <joseph@codesourcery.com>
12303
12304 [BZ #15966]
12305 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12306 (_FPU_GETCW): Use initial "__" on variable and field names but not
12307 on macro parameter name.
12308 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12309 parentheses around reference to macro parameter.
12310
08ffcf34
RS
123112013-09-13 Richard Sandiford <richard@codesourcery.com>
12312
12313 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12314 prototype.
12315 (ctype_startup): Use uint32_t in cast and sizeof for
12316 ctype->charnames.
12317
ae7080d3
JL
123182013-09-11 Jia Liu <proljc@gmail.com>
12319
12320 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12321 __daddr_t_defined.
12322 [__FreeBSD__]: Likewise.
12323
5905e7b3
OB
123242013-09-11 Ondřej Bílka <neleai@seznam.cz>
12325
12326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12327 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12328 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12329 (strchr): Remove __strchr_sse42 ifunc selection.
12330 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12331 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12332
b987c776
WN
123332013-09-11 Will Newton <will.newton@linaro.org>
12334
12335 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12336 parameter to RES. Remove hardcoded 1000 value.
12337 * benchtests/bench-skeleton.c (main): Pass RES parameter
12338 to TIMING_INIT and multiply result by 1000.
12339
ddf985af
AZ
123402013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12341
12342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12343
ffdd3181
AS
123442013-09-11 Andreas Schwab <schwab@suse.de>
12345
12346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12347 if not defined.
12348 (O_TMPFILE) [__USE_GNU]: Define.
12349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12350 Define.
12351
b73ed247
WN
123522013-09-11 Will Newton <will.newton@linaro.org>
12353
12354 [BZ #15857]
12355 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12356 does not overflow.
12357
55e17aad
WN
123582013-09-11 Will Newton <will.newton@linaro.org>
12359
12360 [BZ #15856]
12361 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12362 does not overflow.
12363
1159a193
WN
123642013-09-11 Will Newton <will.newton@linaro.org>
12365
12366 [BZ #15855]
12367 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12368 does not overflow.
12369
5905e7b3 123702013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12371
12372 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12377
cdfc721b
AM
123782013-09-10 Allan McRae <allan@archlinux.org>
12379
aa04af00
AM
12380 [BZ #15748]
12381 * manual/arith.texi (Parsing of Floats): Clarify
12382 cross-reference.
12383
cdfc721b
AM
12384 [BZ #15849]
12385 * manual/install.texi (Running make install): Mention
12386 --enable-pt-chown.
12387 * INSTALL: Regenerated.
12388
95e7cf29
MR
123892013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12390
12391 * csu/init-first.c (_init): Remove the !SHARED condition around
12392 FPU control word initialization.
12393 * elf/dl-support.c (_dl_fpu_control): New variable.
12394 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12395 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12396 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12397 * math/test-fpucw-static.c: New file.
12398 * math/test-fpucw-ieee.c: New file.
12399 * math/test-fpucw-ieee-static.c: New file.
12400 * math/Makefile (tests): Add `test-fpucw-ieee' and
12401 `$(tests-static)'.
12402 (tests-static): New variable.
12403 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12404 dependency to...
12405 [($(build-shared),yes)]
12406 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12407 ... this.
12408 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12409 New dependency.
12410
83e43bf0
AM
124112013-09-09 Allan McRae <allan@archlinux.org>
12412
a9f5ce09
AM
12413 [BZ #15939]
12414 * manual/string.texi (Collation Functions): Fix typo in
12415 strcoll example.
12416 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12417
34829bc2
AM
12418 [BZ #15893]
12419 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12420
3932737d
AM
12421 [BZ #15892]
12422 * libio/memstream.c (open_memstream): Fix memory leak.
12423 * libio/wmemstream.c (open_wmemstream): Likewise.
12424
83e43bf0
AM
12425 [BZ #15895]
12426 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12427
0c66b8e9
WN
124282013-09-09 Will Newton <will.newton@linaro.org>
12429
12430 * malloc/Makefile: Add tst-realloc to tests.
12431 * malloc/tst-realloc.c: New file.
12432
f6b00fd1
AM
124332013-09-09 Allan McRae <allan@archlinux.org>
12434
12435 [BZ #15844]
12436 * COPYING: Update from GNU website to fix FSF address.
12437 * COPYING.LIB: Likewise.
12438
eec55e16
DM
124392013-09-06 David S. Miller <davem@davemloft.net>
12440
12441 * po/zh_TW.po: Update Chinese (traditional) translation from
12442 translation project.
12443
1ecbb381
RS
124442013-09-06 Richard Sandiford <richard@codesourcery.com>
12445 Joseph Myers <joseph@codesourcery.com>
12446
12447 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12448 "localeinfo.h".
12449 (obstack_chunk_alloc): New macro.
12450 (obstack_chunk_free): Likewise.
12451 (record_offset): New function.
12452 (init_locale_data): Likewise.
12453 (align_locale_data): Likewise.
12454 (add_locale_empty): Likewise.
12455 (add_locale_raw_data): Likewise.
12456 (add_locale_raw_obstack): Likewise.
12457 (add_locale_string): Likewise.
12458 (add_locale_wstring): Likewise.
12459 (add_locale_uint32): Likewise.
12460 (add_locale_uint32_array): Likewise.
12461 (add_locale_char): Likewise.
12462 (start_locale_structure): Likewise.
12463 (end_locale_structure): Likewise.
12464 (start_locale_prelude): Likewise.
12465 (end_locale_prelude): Likewise.
12466 (write_locale_data): Take locale_file structure rather than an
12467 iovec.
12468 * locale/programs/locfile.h: Include "obstack.h".
12469 (struct locale_file): Change to store locale file contents instead
12470 of header.
12471 (init_locale_data): New prototype.
12472 (align_locale_data): Likewise.
12473 (add_locale_empty): Likewise.
12474 (add_locale_raw_data): Likewise.
12475 (add_locale_raw_obstack): Likewise.
12476 (add_locale_string): Likewise.
12477 (add_locale_wstring): Likewise.
12478 (add_locale_uint32): Likewise.
12479 (add_locale_uint32_array): Likewise.
12480 (add_locale_char): Likewise.
12481 (start_locale_structure): Likewise.
12482 (end_locale_structure): Likewise.
12483 (start_locale_prelude): Likewise.
12484 (end_locale_prelude): Likewise.
12485 (write_locale_data): Update prototype.
12486 * locale/programs/3level.h (struct TABLE): Remove result field.
12487 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12488 Use new locale_file interface.
12489 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12490 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12491 * locale/programs/ld-address.c (address_output): Use new
12492 locale_file interface.
12493 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12494 NO_ADD_LOCALE.
12495 (collate_finish): Don't call collseq_table_finalize.
12496 (collate_output): Use new locale_file interface.
12497 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12498 in file.
12499 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12500 (TABLE): Move defines earlier in file.
12501 (ELEMENT): Likewise.
12502 (DEFAULT): Likewise.
12503 (wctrans_table_add): Move macro and inline function earlier in
12504 file.
12505 (struct wctype_table): Move type earlier in file.
12506 (add_locale_wctype_table): New static prototype.
12507 (struct locale_ctype_t): Use logical types instead of struct iovec
12508 pointers for members.
12509 (ctype_output): Use new locale_file interface.
12510 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12511 new locale_file interface.
12512 (allocate_arrays): Update for use of new locale_file interface.
12513 * locale/programs/ld-identification.c (identification_output): Use
12514 new locale_file interface.
12515 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12516 * locale/programs/ld-messages.c (messages_output): Likewise.
12517 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12518 * locale/programs/ld-name.c (name_output): Likewise.
12519 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12520 * locale/programs/ld-paper.c (paper_output): Likewise.
12521 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12522 * locale/programs/ld-time.c (time_output): Likewise.
12523
e029e2e5
AZ
125242013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12525
12526 * benchtests/Makefile: Add memrchr benchmark.
12527 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12528 benchmark as memrchr.
12529 * benchtests/bench-memrchr-ifunc.c: New file.
12530 * benchtests/bench-memrchr.c: New file.
12531
bbf6e8e4
WN
125322013-09-06 Will Newton <will.newton@linaro.org>
12533
12534 * benchtests/Makefile (string-bench): Add memcpy.
12535
6c82a2f8
CD
125362013-09-05 Carlos O'Donell <carlos@redhat.com>
12537 Cong Wang <amwang@redhat.com>
12538
e732c5f0 12539 [BZ #15850]
6c82a2f8
CD
12540 * sysdeps/unix/sysv/linux/bits/in.h
12541 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12542 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12543 before __USE_KERNEL_IPV6_DEFS uses.
12544 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12545 IPPROTO_BEETPH.
12546 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12547 sockaddr_in6, or ipv6_mreq.
12548
5430fc65
AZ
125492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12550
12551 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12552 memory access for final bytes in some large inputs.
12553 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12554
4660856c
AZ
125552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12556
12557 * string/test-memrchr.c: New file.
12558 * string/test-memrchr-ifunc.c: New file.
12559 * string/Makefile: Add new memrchr testcase.
12560
bb8ea713
MF
125612013-09-05 Mike Frysinger <vapier@gentoo.org>
12562
12563 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12564 fanotify_init returns EPERM.
12565
b92a20b5
JM
125662013-09-04 Joseph Myers <joseph@codesourcery.com>
12567
12568 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12569 errors.
12570 (top level): Treat second token from macro or constant entries for
12571 allowed headers as allowed.
12572 * include/complex.h: Condition internal declarations on
12573 [!_ISOMAC].
12574 * include/fenv.h: Condition include of <stdbool.h> and internal
12575 declarations on [!_ISOMAC].
7447ccd9
CL
12576
125772013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12578
3e181dda 12579 [BZ #15923]
7447ccd9
CL
12580 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12581
3f2e46a4
JM
125822013-09-04 Joseph Myers <joseph@codesourcery.com>
12583
12584 * configure.in (--enable-versioning): Remove configure option.
12585 (libc_cv_asm_symver_directive): Remove configure test.
12586 (libc_cv_ld_version_script_option): Likewise.
12587 (VERSIONING): Remove variable and AC_SUBST.
12588 (DO_VERSIONING): Remove AC_DEFINE.
12589 * configure: Regenerated.
12590 * config.h.in (DO_VERSIONING): Remove macro.
12591 * Makerules [$(versioning) = yes]: Change conditionals to
12592 [$(build-shared) = yes].
12593 * config.make.in (versioning): Remove variable.
12594 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12595 [$(build-shared) = yes].
12596 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12597 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12598 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12599 [$(build-shared) = yes].
12600 * extra-lib.mk [$(versioning) = yes]: Likewise.
12601 * hurd/Makefile [$(versioning) = yes]: Likewise.
12602 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12603 [SHARED].
12604 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12605 [SHARED].
12606 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12607 [SHARED && !NO_HIDDEN].
12608 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12609 [SHARED].
12610 [SHARED && DO_VERSIONING]: Likewise..
12611 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12612 [$(build-shared) = yes].
12613 * manual/install.texi (--disable-versioning): Remove
12614 documentation.
12615 * INSTALL: Regenerated.
12616 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12617 to [SHARED].
12618 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12619 [$(build-shared) = yes].
12620 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12621 * sysdeps/i386/i686/multiarch/strstr-c.c
12622 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12623 [SHARED && !NO_HIDDEN].
12624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12625 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12626 * sysdeps/powerpc/powerpc32/dl-machine.c
12627 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12628 * sysdeps/powerpc/powerpc32/sysdep.h
12629 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12630 to [SHARED && PIC && !NO_HIDDEN].
12631 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12632 conditional to [SHARED].
12633
44558701
WN
126342013-09-04 Will Newton <will.newton@linaro.org>
12635
12636 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12637 * benchtests/bench-string.h: Include bench-timing.h instead
12638 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12639 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12640 call to HP_TIMING_DIFF_INIT.
12641 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12642 instead of hp-timing.h macros.
12643 * benchtests/bench-memchr.c: Likewise.
12644 * benchtests/bench-memcmp.c: Likewise.
12645 * benchtests/bench-memcpy.c: Likewise.
12646 * benchtests/bench-memmem.c: Likewise.
12647 * benchtests/bench-memmove.c: Likewise.
12648 * benchtests/bench-memset.c: Likewise.
12649 * benchtests/bench-rawmemchr.c: Likewise.
12650 * benchtests/bench-strcasecmp.c: Likewise.
12651 * benchtests/bench-strcasestr.c: Likewise.
12652 * benchtests/bench-strcat.c: Likewise.
12653 * benchtests/bench-strchr.c: Likewise.
12654 * benchtests/bench-strcmp.c: Likewise.
12655 * benchtests/bench-strcpy.c: Likewise.
12656 * benchtests/bench-strcpy_chk.c: Likewise.
12657 * benchtests/bench-strlen.c: Likewise.
12658 * benchtests/bench-strncasecmp.c: Likewise.
12659 * benchtests/bench-strncat.c: Likewise.
12660 * benchtests/bench-strncmp.c: Likewise.
12661 * benchtests/bench-strncpy.c: Likewise.
12662 * benchtests/bench-strnlen.c: Likewise.
12663 * benchtests/bench-strpbrk.c: Likewise.
12664 * benchtests/bench-strrchr.c: Likewise.
12665 * benchtests/bench-strspn.c: Likewise.
12666 * benchtests/bench-strstr.c: Likewise.
12667
cae16d66
WN
126682013-09-04 Will Newton <will.newton@linaro.org>
12669
12670 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12671
ffa3cd7f
JM
126722013-09-03 Joseph Myers <joseph@codesourcery.com>
12673
12674 [BZ #15427]
12675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12676 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12677 * math/libm-test.inc (lgamma_test_data): Add more tests.
12678 * sysdeps/i386/fpu/libm-test-ulps: Update.
12679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12680
8f02859f
OB
126812013-09-03 Ondřej Bílka <neleai@seznam.cz>
12682
12683 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12685 Add ifunc.
12686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12687 Add strcmp-sse2-unaligned
12688 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12689
18d43716
MF
126902013-09-02 Mike Frysinger <vapier@gentoo.org>
12691
12692 * Versions.def (libc): Add GLIBC_2.19.
12693
ac444012
MF
126942013-09-02 Mike Frysinger <vapier@gentoo.org>
12695
12696 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12697 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12698
b7835e32
JM
126992013-09-02 Joseph Myers <joseph@codesourcery.com>
12700
12701 [BZ #14155]
12702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12703 intermediate calculations in recurrence.
12704 (__ieee754_ynf): Likewise.
12705 * math/libm-test.inc (jn_test_data): Do not allow spurious
12706 underflow exception. Add more tests.
12707 (yn_test_data): Add more tests.
12708 * sysdeps/i386/fpu/libm-test-ulps: Update.
12709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710
8220f4f0
OB
127112013-09-02 Ondřej Bílka <neleai@seznam.cz>
12712
12713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12714
f24a6d08
OB
127152013-08-30 Ondřej Bílka <neleai@seznam.cz>
12716
12717 * csu/init-first.c: Fix then/than typos.
12718 * locale/programs/ld-collate.c: Likewise.
12719 * locale/programs/linereader.h: Likewise.
12720 * manual/charset.texi: Likewise.
12721 * manual/filesys.texi: Likewise.
12722 * manual/stdio.texi: Likewise.
12723 * manual/string.texi: Likewise.
12724 * stdlib/fmtmsg.c: Likewise.
12725 * sysdeps/i386/stpncpy.S: Likewise.
12726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12727 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12729 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12730
382466e0
OB
127312013-08-30 Ondřej Bílka <neleai@seznam.cz>
12732
12733 * elf/dl-open.c: Fix typos.
12734 * iconvdata/gbbig5.c: Likewise.
12735 * iconvdata/iso-2022-jp.c: Likewise.
12736 * iconv/gconv_int.h: Likewise.
12737 * iconv/loop.c: Likewise.
12738 * nis/rpcsvc/nis.h: Likewise.
12739 * resolv/ns_name.c: Likewise.
12740 * stdio-common/vfscanf.c: Likewise.
12741 * streams/stropts.h: Likewise.
12742 * sunrpc/rpc_thread.c: Likewise.
12743 * sysdeps/i386/strpbrk.S: Likewise.
12744 * sysdeps/ieee754/k_standard.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12747 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12748 * sysdeps/mach/hurd/profil.c: Likewise.
12749 * sysdeps/s390/dl-procinfo.h: Likewise.
12750 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12751 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12753 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12755
0186c6e9
OB
127562013-08-30 Ondřej Bílka <neleai@seznam.cz>
12757
12758 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12760
d4e16af1
OB
127612013-08-29 Ondřej Bílka <neleai@seznam.cz>
12762
12763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12764 aix specific files.
12765 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12768 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12769 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12771 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12772 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12773
88335980
TS
127742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12775 Roland McGrath <roland@hack.frob.com>
12776
12777 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12778 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12779
ed479b02
ST
127802013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12781
12782 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12783 __executable_start symbol instead of _start.
12784
f1cc4c86
TS
127852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12786
d821f07c
TS
12787 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12788 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12789 Move macros to...
12790 * sysdeps/gnu/ldsodefs.h: ... this new file.
12791
c54290cf
TS
12792 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12793 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12794 instead of ELFOSABI_LINUX.
12795
0007fc9b 12796 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12797 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12798 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12799 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12800 Likewise.
12801 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12802 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12803 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12804 Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12806 (ibm_extended_long_double): Add ieee_nan member.
12807 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12808 (do_test): New function.
12809
f1cc4c86
TS
12810 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12811 TEST_TRUNC.
12812 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12813 functions, renamed from truncdfsf_test, trunctfsf_test,
12814 trunctfdf_test.
12815 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12816 functions.
12817 (do_test): Run all these.
12818
6f65e668
OB
128192013-08-29 Ondřej Bílka <neleai@seznam.cz>
12820
12821 * argp/argp-help.c: Fix typos.
12822 * argp/argp-parse.c: Likewise.
12823 * debug/backtracesyms.c: Likewise.
12824 * elf/elf.h: Likewise.
12825 * malloc/malloc.c: Likewise.
12826 * nis/nis_print.c: Likewise.
12827 * resolv/res_comp.c: Likewise.
12828 * stdlib/stdlib.h: Likewise.
12829 * sunrpc/clnt_tcp.c: Likewise.
12830 * sunrpc/clnt_udp.c: Likewise.
12831 * sunrpc/clnt_unix.c: Likewise.
12832 * sysdeps/unix/bsd/ptsname.c: Likewise.
12833 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12840 Likewise.
6f65e668
OB
12841 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12842
3a309239
SP
128432013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12844
12845 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12847
3b813b29
MF
128482013-08-27 Mike Frysinger <vapier@gentoo.org>
12849
12850 [BZ #15897]
12851 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12852 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12853 ($(objpfx)bug-dl-leaf): New rule.
12854 ($(objpfx)bug-dl-leaf.so): Likewise.
12855 ($(objpfx)bug-dl-leaf.out): Likewise.
12856 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12857 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12858 * dlfcn/bug-dl-leaf.c: New test.
12859 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12860 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12861 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12862 (dlclose): Likewise.
12863 (dlmopen): Likewise.
12864
8cc3269f
RM
128652013-08-27 Roland McGrath <roland@hack.frob.com>
12866
7f9d0034
RM
12867 * include/netdb.h [!_ISOMAC]:
12868 Don't include <tls.h>.
12869 (h_errno, __libc_h_errno): Move declaration and macros out of
12870 [_LIBC_REENTRANT].
12871
fb431262
RM
12872 * include/resolv.h [_RESOLV_H_]:
12873 Don't include <tls.h>.
12874 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12875 * resolv/res_libc.c: Don't include <tls.h>.
12876 (_res): Use __attribute__ ((nocommon)) in place of
12877 __attribute__ ((section (".bss"))).
12878
bd81123a
RM
12879 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12880 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12881
c4e42566
RM
12882 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12883
f890a59b
RM
12884 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12885 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12886
12887 * resolv/res_mkquery.c: Include <sys/time.h>.
12888
5d1f0a09
RM
12889 * inet/ifreq.c: Moved to ...
12890 * sysdeps/unix/ifreq.c: ... here.
12891 * inet/ifreq.c: New file, true stub version.
12892
6fcf28b3
RM
12893 * socket/sa_len.c: New file.
12894 * socket/Makefile (aux): Add it.
12895 * sysdeps/unix/sysv/linux/Makefile
12896 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12897 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12898 and #include <socket/sa_len.c>.
12899 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12900 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12901
e041fb8b
RM
12902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12903 * bits/socket.h: ... here.
12904
8cc3269f
RM
12905 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12906 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12907 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12908
5d228a43
AS
129092013-08-27 Andreas Schwab <schwab@suse.de>
12910
45b8accc
AS
12911 [BZ #15736]
12912 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12913 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12914 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12915 * string/test-strcasecmp.c (test_main): Run tests in several
12916 locales.
12917 * string/test-strncasecmp.c (test_main): Likewise.
12918
5d228a43
AS
12919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12920 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12921 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12923 (__strncasecmp_ssse3) [PIC]: Likewise.
12924
59d112a4
RM
129252013-08-26 Roland McGrath <roland@hack.frob.com>
12926
53234cc3
RM
12927 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12928
59d112a4
RM
12929 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12930 instead of explicitly declaring xdecrypt.
12931 * nis/nss_nis/nis-publickey.c: Likewise.
12932
595aba70
SP
129332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12934
12935 [BZ #15890]
12936 * nscd/aicache.c: Include res_hconf.h.
12937 (addhstaiX): Initialize res_hconf.
12938
ffabd393
AS
129392013-08-26 Andreas Schwab <schwab@suse.de>
12940
12941 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12942 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12943
e0a69f5c
SP
129442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12945
12946 * nscd/aicache.c (addhstaiX): Fix indentation.
12947
8c12f01d
MF
129482013-08-25 Mike Frysinger <vapier@gentoo.org>
12949
12950 * configure.ac: Quote $build_pt_chown test.
12951 * configure: Regenerated.
12952
8fe89494
JM
129532013-08-23 Joseph Myers <joseph@codesourcery.com>
12954
12955 [BZ #15532]
12956 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12957 * math/s_cexpf.c (__cexpf): Likewise.
12958 * math/s_cexpl.c (__cexpl): Likewise.
12959 * math/libm-test.inc (cexp_test_data): Correct expected return
12960 value for NaN + i0. Add another test.
12961
75b181d6
DM
129622013-08-22 David S. Miller <davem@davemloft.net>
12963
12964 * po/ca.po: Update Catalan translation from translation project.
936241e4 12965 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12966
acd06bb1
JM
129672013-08-21 Joseph Myers <joseph@codesourcery.com>
12968
12969 [BZ #15797]
12970 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12971 is infinite, not alongside NaN test.
12972 * math/s_fdimf.c (__fdimf): Likewise.
12973 * math/s_fdiml.c (__fdiml): Likewise.
12974 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12975 errno is unchanged.
12976
c0c3f78a
OB
129772013-08-21 Ondřej Bílka <neleai@seznam.cz>
12978
12979 * argp/argp-help.c: Fix typos.
12980 * crypt/speeds.c: Likewise.
12981 * csu/check_fds.c: Likewise.
12982 * elf/dl-load.c: Likewise.
12983 * elf/dl-open.c: Likewise.
12984 * elf/reldep3.c: Likewise.
12985 * elf/reldep.c: Likewise.
12986 * elf/sprof.c: Likewise.
12987 * iconv/iconv_charmap.c: Likewise.
12988 * iconv/skeleton.c: Likewise.
12989 * iconv/strtab.c: Likewise.
12990 * io/lockf64.c: Likewise.
12991 * libio/libioP.h: Likewise.
12992 * resolv/gai_notify.c: Likewise.
12993 * resolv/ns_name.c: Likewise.
12994 * resolv/ns_samedomain.c: Likewise.
12995 * resolv/res_send.c: Likewise.
12996 * stdlib/random.c: Likewise.
12997 * sunrpc/rpc/xdr.h: Likewise.
12998 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13006 * sysdeps/mach/hurd/check_fds.c: Likewise.
13007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13012 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13013 * sysdeps/pthread/aio_notify.c: Likewise.
13014 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13015 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13018 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13019
46ed1038
LD
130202013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13021
13022 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13023 version if bit_Slow_SSE4_2 is set.
13024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13026
d400dcac
AZ
130272013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13028
13029 [BZ #15867]
13030 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13031 trampoline stack frame information.
13032 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13033 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13034 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13035 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13036 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13038 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13039 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13040 sa_flags value.
13041 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13042 interrupting a syscall and set with option SA_SIGINFO.
13043
42c8fdd8
JM
130442013-08-20 Joseph Myers <joseph@codesourcery.com>
13045
c980f2f4
JM
13046 [BZ #15531]
13047 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13048 argument is infinite.
13049 * math/s_cprojf.c (__cprojf): Likewise.
13050 * math/s_cprojl.c (__cprojl): Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13052 * math/libm-test.inc (cproj_test_data): Add more tests.
13053
0716c4fc
JM
13054 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13055
42c8fdd8
JM
13056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13057 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13058 size. Use __ffs to determine corresponding shift.
13059
b31469d0
JM
130602013-08-20 Joseph Myers <joseph@codesourcery.com>
13061 Roland McGrath <roland@hack.frob.com>
13062
13063 * Makefile (INSTALL): Remove trailing blank lines from output of
13064 makeinfo.
13065
4e39af6e
AK
130662013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13067
13068 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13069 Align 32 bit compat elf_greg to 8 bytes.
13070
f315524e
AA
130712013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13072
13073 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13074
1326ba1a
SP
130752013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13076
13077 * string/strcoll_l.c (coll_seq): New structure.
13078 (get_next_seq_cached): New function.
13079 (get_next_seq): New function.
13080 (do_compare): New function.
13081 (STRCOLL): Use GNU style definition. Simplify implementation
13082 by using get_next_seq, get_next_seq_cached and do_compare.
13083
91ce4085
FW
130842013-08-16 Florian Weimer <fweimer@redhat.com>
13085
13086 [BZ #14699]
13087 CVE-2013-4237
13088 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13089 member.
13090 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13091 member.
13092 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13093 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13094 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13095 conditional.
13096 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13097 GETDENTS_64BIT_ALIGNED.
13098 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13099 * manual/filesys.texi (Reading/Closing Directory): Document
13100 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13101 strongly.
13102 * manual/conf.texi (Limits for Files): Add portability note to
13103 NAME_MAX, PATH_MAX.
13104 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13105
ca0a6bc4
AS
131062013-08-13 Andreas Schwab <schwab@suse.de>
13107
13108 [BZ #15749]
13109 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13110 of fabs.
13111 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13112 LDBL_MAX_EXP >= 16384]: Add tests for it.
13113
6c1fd795
DM
131142013-08-12 David S. Miller <davem@davemloft.net>
13115
13116 * version.h (RELEASE): Set to "development".
13117 (VERSION): Set to "2.18.90".
13118 * NEWS: Add 2.19 section.
13119
31ad488d
DM
131202013-08-03 David S. Miller <davem@davemloft.net>
13121
13122 * po/ko.po: Update Korean translation from translation project.
13123
db24e684
DM
131242013-08-01 David S. Miller <davem@davemloft.net>
13125
13126 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13127 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13128 Bilka.
13129
f723285b
DM
131302013-07-30 David S. Miller <davem@davemloft.net>
13131
13132 * po/fr.po: Update French translation from translation project.
13133
3cbc52db
DM
131342013-07-28 David S. Miller <davem@davemloft.net>
13135
30bbc0cc
DM
13136 * po/cs.po: Update Czech translation from translation project.
13137
3cbc52db
DM
13138 * po/sv.po: Update Swedish translation from translation project.
13139
d492e6d0
DM
131402013-07-27 David S. Miller <davem@davemloft.net>
13141
f1a7f492
DM
13142 * po/eo.po: Update Esperanto translation from translation project.
13143
90e62a4a
DM
13144 * po/vi.po: Update Vietnamese translation from translation project.
13145
d492e6d0
DM
13146 * po/de.po: Update German translation from translation project.
13147
d4baa62d
DM
131482013-07-26 David S. Miller <davem@davemloft.net>
13149
641aa7b4
DM
13150 * po/bg.po: Update Bulgarian translation from translation project.
13151
d4baa62d
DM
13152 * po/nl.po: Update Dutch translation from translation project.
13153 * po/pl.po: Update Polish translation from translation project.
13154 * po/ru.po: Update Russian translation from translation project.
13155
61a9dcb9
DM
131562013-07-24 David S. Miller <davem@davemloft.net>
13157
13158 * po/libc.pot: Update.
13159
7b1f8b58
AZ
131602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13161
13162 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13163 variable page size.
13164 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13165 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13166 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13167
a8fc7a03
AK
131682013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13169
13170 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13171
e4608715
CD
131722013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13173 Andreas Schwab <schwab@suse.de>
13174 Roland McGrath <roland@hack.frob.com>
13175 Joseph Myers <joseph@codesourcery.com>
13176 Carlos O'Donell <carlos@redhat.com>
13177
13178 [BZ #15755]
13179 * config.h.in: Define HAVE_PT_CHOWN.
13180 * config.make.in (build-pt-chown): New variable.
13181 * configure.in (--enable-pt_chown): New configure option.
13182 * configure: Regenerate.
13183 * login/Makefile: Include Makeconfig. Build pt_chown only if
13184 build-pt-chown is enabled.
13185 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13186 pt_chown to fix pty ownership.
13187 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13188 CLOSE_ALL_FDS.
13189 * manual/install.texi (Configuring and compiling): Mention
13190 --enable-pt_chown. Add @findex for grantpt.
13191 * INSTALL: Regenerate.
13192
da2d62df
DM
131932013-07-20 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13196 difference between 32-bit and 64-bit.
13197
d7e06450
CD
131982013-07-15 Carlos O'Donell <carlos@redhat.com>
13199
13200 [BZ #15711]
13201 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13202 Avoid system header dependency with -ffreestanding.
13203 ($(objpfx)bits/syscall%d): Likewise.
13204
f959cfd7
DM
132052013-07-13 David S. Miller <davem@davemloft.net>
13206
13207 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13208 underflows from atanl/atan2l due to bug 15319.
13209 (casinh_test_data): Likewise.
13210
c61f8513
DM
132112013-07-07 David S. Miller <davem@davemloft.net>
13212
13213 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13214
72c90ed0
JA
132152013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13216
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13219
52dfbe13
SP
132202013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
13222 * configure.in (--enable-lock-elision): Fix message text.
13223 * INSTALL: Regenerate.
13224 * configure: Regenerate.
13225
3f169543
AZ
132262013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227
13228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13229
521c6785
AJ
132302013-07-03 Andreas Jaeger <aj@suse.de>
13231
13232 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13233 define.
13234 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13235 (ptrace_peeksiginfo_args): Add.
13236 (__ptrace_peeksiginfo_flags): Add.
13237 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13240
d2cc15cb
AM
132412013-07-03 Allan McRae <allan@archlinux.org>
13242
13243 * sysdeps/i386/fpu/libm-test-ulps: Update.
13244
3aaeeca7
DM
132452013-07-02 David S. Miller <davem@davemloft.net>
13246
13247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13248
5314ed1a
MT
132492013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13250
13251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13252
67338156
JM
132532013-07-02 Joseph Myers <joseph@codesourcery.com>
13254
13255 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13257
1717da59
AK
132582013-07-02 Andi Kleen <ak@linux.intel.com>
13259
13260 * config.h.in (ENABLE_LOCK_ELISION): Add.
13261 * configure.in (--enable-lock-elision): Add option.
13262 * manual/install.texi: Document --enable lock elision.
13263 * configure: Regenerate
13264 * INSTALL: Regenerate.
13265
1c81621c
L
132662013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13269 SSE4.2 strcasecmp for libc.a.
13270 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13271
77f01ab5
JM
132722013-07-02 Joseph Myers <joseph@codesourcery.com>
13273
13274 [BZ #13304]
13275 * soft-fp/op-common.h (_FP_FMA): New macro.
13276 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13277 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13278 (_FP_MUL_MEAT_1_imm): ... here.
13279 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13280 (_FP_MUL_MEAT_1_wide): ... here.
13281 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13282 (_FP_MUL_MEAT_1_hard): ... here.
13283 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13284 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13285 (_FP_MUL_MEAT_2_wide): ... here.
13286 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13287 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13288 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13289 (_FP_MUL_MEAT_2_gmp): ... here.
13290 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13291 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13292 (_FP_MUL_MEAT_4_wide): ... here.
13293 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13294 (_FP_MUL_MEAT_4_gmp): ... here.
13295 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13296 (_FP_WFRACBITS_DW_S): Likewise.
13297 (_FP_WFRACXBITS_DW_S): Likewise.
13298 (_FP_HIGHBIT_DW_S): Likewise.
13299 (FP_FMA_S): Likewise.
13300 (_FP_FRAC_HIGH_DW_S): Likewise.
13301 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13302 (_FP_WFRACBITS_DW_D): Likewise.
13303 (_FP_WFRACXBITS_DW_D): Likewise.
13304 (_FP_HIGHBIT_DW_D): Likewise.
13305 (FP_FMA_D): Likewise.
13306 (_FP_FRAC_HIGH_DW_D): Likewise.
13307 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13308 (_FP_WFRACBITS_DW_E): Likewise.
13309 (_FP_WFRACXBITS_DW_E): Likewise.
13310 (_FP_HIGHBIT_DW_E): Likewise.
13311 (FP_FMA_E): Likewise.
13312 (_FP_FRAC_HIGH_DW_E): Likewise.
13313 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13314 (_FP_WFRACBITS_DW_Q): Likewise.
13315 (_FP_WFRACXBITS_DW_Q): Likewise.
13316 (_FP_HIGHBIT_DW_Q): Likewise.
13317 (FP_FMA_Q): Likewise.
13318 (_FP_FRAC_HIGH_DW_Q): Likewise.
13319 * soft-fp/fmasf4.c: New file.
13320 * soft-fp/fmadf4.c: Likewise.
13321 * soft-fp/fmatf4.c: Likewise.
13322
6308fd9a
LD
133232013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13324
13325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13326 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13327 Silvermont.
13328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13329 macro.
13330 (index_Slow_SSE4_2): Likewise.
13331 (index_Prefer_PMINUB_for_stringop): Likewise.
13332 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13333 bit_Slow_SSE4_2 is set.
13334 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13336
89cd9569
RA
133372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13338
13339 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13340 rtld_global._dl_hwcap2.
13341 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13342 POWER8.
13343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13344 POWER8 feature descriptions defined in _dl_hwcap2.
13345 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13346 string handling for POWER8 feature bits.
13347 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13348 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13349 _dl_powerpc_cap_flags.
13350 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13351 * sysdeps/powerpc/rtld-global-offsets.sym
13352 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13353 _dl_hwcap2 in the rtld_global_ro structure.
13354
1ae8bfe0
RA
133552013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13356
13357 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13358 hardware capabilities in support of AT_HWCAP2.
13359 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13360 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13361 GLRO(dl_hwcap2).
13362 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13363 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13364 explicitly the unknown a_type display mechanism is used.
13365 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13366 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13367 struct member.
13368 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13369 to macro prototype for AT_HWCAP2 support.
13370 * sysdeps/i386/dl-procinfo.h: Likewise.
13371 * sysdeps/s390/dl-procinfo.h: Likewise.
13372 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13373 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13374 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13375 return -1 for unknown a_type display fallback.
13376 * sysdeps/sparc/dl-procinfo.h: Likewise.
13377 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13378 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13379
8fbec010
JM
133802013-06-28 Joseph Myers <joseph@codesourcery.com>
13381
13382 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13383 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13384
0432680e
PY
133852013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13386
13387 [BZ #12492]
13388 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13389 mprotect making __stack_prot writable.
13390
ce61a2ad
NF
133912013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13392 Joseph Myers <joseph@codesourcery.com>
13393
13394 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13395 as being properly aligned.
13396
f91f1c0f
MR
133972013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13398
3d0f5d0c
MR
13399 * dlfcn/modstatic5.c: New file.
13400 * dlfcn/tststatic5.c: New file.
13401 * dlfcn/Makefile (tests): Add tststatic5.
13402 (tests-static): Likewise.
13403 (modules-names): Add modstatic5.
13404 (tststatic5-ENV): New variable.
13405 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13406
f91f1c0f
MR
13407 [BZ #15022]
13408 * elf/dl-support.c (_dl_main_map): New variable.
13409 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13410 (_dl_nns, _dl_load_adds): Set to 1.
13411 (_dl_initial_searchlist): Refer to _dl_main_map.
13412 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13413 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13414 call to _dl_get_origin.
13415 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13416 around call_map.
13417 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13418 * dlfcn/modstatic3.c: New file.
13419 * dlfcn/tststatic3.c: New file.
13420 * dlfcn/tststatic4.c: New file.
13421 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13422 (tests-static): Likewise.
13423 (modules-names): Add modstatic3.
13424 (tststatic3-ENV, tststatic4-ENV): New variables.
13425 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13426 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13427
cbe7d24b
JM
134282013-06-26 Joseph Myers <joseph@codesourcery.com>
13429
13430 * configure.in (CC): Require GCC version 4.4 or later.
13431 * configure: Regenerated.
13432 * manual/install.texi (Tools for Compilation): Update GCC version
13433 requirement.
13434 * INSTALL: Regenerated.
13435
11b8a0e1
LD
134362013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13437
13438 [BZ #15674]
bb5bb87c
L
13439 * string/test-memcmp.c (check2): New.
13440 (main): Call check2.
13441
11b8a0e1
LD
13442 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13443
b0037103
MR
134442013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13445
13446 [BZ #15022]
13447 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13448 over to...
13449 (dl_open_worker) [!SHARED]: ... here.
13450
c18c701d
RA
134512013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13452
13453 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13454
1d17fa5f
RH
134552013-06-25 Richard Henderson <rth@redhat.com>
13456
13457 * locale/programs/locarchive.c: Include <libc-internal.h>
13458
8fcb833a
JM
134592013-06-25 Joseph Myers <joseph@codesourcery.com>
13460
13461 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13462 trailing whitespace removed.
13463
17db6e8d
MF
134642013-06-24 Mike Frysinger <vapier@gentoo.org>
13465
13466 [BZ #10283]
17db6e8d
MF
13467 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13468 * locale/programs/locarchive.c: Include libc-mmap.h.
13469 (prepare_address_space): Take two new outputs (the mmap base and len).
13470 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13471 values.
13472 (create_archive): Declare new mmap base and len values for
13473 prepare_address_space, and store the result in ah.
13474 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13475 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13476 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13477 Declare new mmap base and len values for
13478 prepare_address_space, and store the result in new_ah.
13479 (open_archive): Declare new mmap base and len values for
13480 prepare_address_space, and store the result in ah.
13481 (close_archive): If ah->mmap_base is not NULL, use that and
13482 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13483 * sysdeps/generic/libc-mmap.h: New file.
13484
d605071e
MF
134852013-06-24 Mike Frysinger <vapier@gentoo.org>
13486
13487 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13488 (ALIGN_UP): Likewise.
13489 (PTR_ALIGN_DOWN): Likewise.
13490 (PTR_ALIGN_UP): Likewise.
13491
2f063a6e
RA
134922013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13493
13494 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13495 entry mapped to PPC_PLATFORM_POWER8.
13496 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13497 POWER8.
13498 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13499 (_dl_string_platform): Add case for exporting platform position for
13500 POWER8.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13502 search path to sysdeps/powerpc/powerpc32/power8 directory.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13504 search path to sysdeps/powerpc/powerpc64/power8 directory.
13505 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13506 power7 directories.
13507 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13508 power7 directories.
13509
a31ee4b3
SP
135102013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13511
a74ca98f
SP
13512 * INSTALL: Regenerate.
13513
a31ee4b3
SP
13514 * nscd/connections.c (nscd_init): Fix comment.
13515
695c378f
JM
135162013-06-22 Joseph Myers <joseph@codesourcery.com>
13517
d8412221
JM
13518 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13519
695c378f
JM
13520 [BZ #15667]
13521 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13522 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13523
d1d54715
MR
135242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13525
13526 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13527 DL_DST_REQ_STATIC.
13528 (DL_DST_REQ_STATIC): Remove macro.
13529
8fdda7af
JM
135302013-06-21 Joseph Myers <joseph@codesourcery.com>
13531
13532 [BZ #7006]
13533 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13534 with a shift of 0 bits.
13535
f3bc5e5a
MR
135362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13537
13538 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13539 $(tststatic-ENV).
13540
be09e8c9
KK
135412013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13542
13543 [BZ #15655]
13544 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13545
85c2e611
AZ
135462013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13547
13548 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13549 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13550 accepts -fno-tree-loop-distribute-patterns.
13551 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13552 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13553 recursive call.
13554 * string/memset.c (memset): Likewise.
13555 * string/test-memmove.c (simple_memmove): Disable loop transformation
13556 to library calls.
13557 * string/test-memset.c (simple_memset): Likewise.
13558 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13559 * benchtests/bench-memset.c (simple_memset): Likewise.
13560 * configure: Regenerated.
13561
c91e0825
JM
135622013-06-20 Joseph Myers <joseph@codesourcery.com>
13563
b8c792af
JM
13564 * math/test-misc.c (main): Ignore fesetround failure when failures
13565 of subsequent rounding tests would be ignored.
13566
c91e0825
JM
13567 [BZ #15654]
13568 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13569 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13570 * math/fegetenv.c (__fegetenv): Return 0.
13571 * math/fegetexcept.c (fegetexcept): Return 0.
13572 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13573 FE_TONEAREST.
13574 * math/feholdexcpt.c (feholdexcept): Return 0.
13575 * math/fesetenv.c (__fesetenv): Return 0.
13576 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13577 argument FE_TONEAREST.
13578 * math/feupdateenv.c (__feupdateenv): Return 0.
13579 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13580
bfcacbde
RM
135812013-06-18 Roland McGrath <roland@hack.frob.com>
13582
13583 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13584 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13585 ($(objpfx)rtld-%.os rules): Use them.
13586
e55a9b25
AZ
135872013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588
13589 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13590 fields.
13591
346d65b3
RM
135922013-06-17 Roland McGrath <roland@hack.frob.com>
13593
12086fb4
RM
13594 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13595 length of target pattern, then descending length of dependency pattern.
13596 * configure.in (AWK): Require gawk 3.1.2 or newer.
13597 * manual/install.texi (Tools for Compilation): Say that we do.
13598 * configure: Regenerated.
13599
346d65b3
RM
13600 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13601 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13602 * scripts/sysd-rules.awk: ... this new script.
13603 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13604 than a glob-style pattern.
13605
1a846317
JM
136062013-06-17 Joseph Myers <joseph@codesourcery.com>
13607
13608 * math/test-misc.c (main): Do not treat incorrectly rounded
13609 conversions as failure unless ROUNDING_TESTS passes.
13610
8fc75e6f
JM
136112013-06-15 Joseph Myers <joseph@codesourcery.com>
13612
3711a167
JM
13613 [BZ #15631]
13614 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13615 restore exception state around main square root computation, then
13616 check for inexactness explicitly.
13617
8fc75e6f
JM
13618 * math/libm-test.inc (fma_test_data): Add another test.
13619
61dd6208
SP
136202013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13621
adf23d2c
SP
13622 * manual/threads.texi (Non-POSIX Extensions): New document
13623 node. Document pthread_getattr_default_np and
13624 pthread_setattr_default_np.
13625
61dd6208
SP
13626 * Versions.def (libpthread): Add GLIBC_2.18.
13627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13629 Likewise.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13631 Likewise.
13632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13633 Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13635 Likewise.
13636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13637 Likewise.
13638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13639 Likewise.
13640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13641 Likewise.
13642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13643 Likewise.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13645 Likewise.
13646
d086fc7b
LD
136472013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13648
13649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13650 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13651
747ef469
SP
136522013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 H.J. Lu <hjl.tools@gmail.com>
13654
13655 [BZ #15627]
13656 * sysdeps/x86_64/rtld-memset.c: Remove file.
13657 * sysdeps/x86_64/rtld-memset.S: New file.
13658
1b2feed2
JM
136592013-06-14 Joseph Myers <joseph@codesourcery.com>
13660
13661 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13662 (test_in_one_mode): Take arguments for whether the rounding mode
13663 is supported for each floating-point type.
13664 (do_test): Pass new arguments to test_in_one_mode using
13665 ROUNDING_TESTS.
13666
a58ad3f8
RM
136672013-06-13 Roland McGrath <roland@hack.frob.com>
13668
13669 * posix/tst-waitid.c (do_test): Distinguish different instances of
13670 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13671 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13672 before entering the kernel for waitpid.
13673
c204ab28
SP
136742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13675
13676 * NEWS: Fix note on clock function precision. Text by Roland
13677 McGrath.
13678
f4a29fba
RM
136792013-06-13 Roland McGrath <roland@hack.frob.com>
13680
13681 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13682 it into place only when and if the sanity check passes.
13683
1f24b9ad
JM
136842013-06-13 Joseph Myers <joseph@codesourcery.com>
13685
13686 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13687 output for whether conversion result is exact. Take argument
13688 indicating whether type is IBM long double.
13689 (round_for_all): Change need_exact field to ibm_ld.
13690 * stdlib/tst-strtod-round.c (struct exactness): New type.
13691 (struct test): Change bool ld_ok field to struct exactness exact.
13692 (TEST): Update all definitions for change to field.
13693 (tests): Regenerate array contents.
13694 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13695 field value. Check for IBM long double here.
13696 (do_test): Update calls to test_in_one_mode.
13697
58206c68
SP
136982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13699
13700 [BZ #12515]
13701 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13702 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13703
2d6f4c5b 137042013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13705
13706 [BZ #15605]
13707 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13708 generated by the compiler on loop optimizations.
13709 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13710 general definitions.
13711
94f2c076
JM
137122013-06-12 Joseph Myers <joseph@codesourcery.com>
13713
13714 * math/bug-nextafter.c: Include <math-tests.h>.
13715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13716 the relevant type.
13717 * math/bug-nexttoward.c: Include <math-tests.h>.
13718 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13719 the relevant type.
13720 * math/test-misc.c: Include <math-tests.h>.
13721 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13722 the relevant type.
13723
e0e50a0a
AJ
137242013-06-12 Andreas Jaeger <aj@suse.de>
13725
13726 * po/ia.po: Update Interlingua translation from translation
13727 project.
13728
25061094
SP
137292013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13730
13731 * include/fenv.h: Include stdbool.h.
13732 (struct rm_ctx): New structure.
13733 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13734 Define macro.
13735 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13736 (SET_RESTORE_ROUNDF): Likewise.
13737 (SET_RESTORE_ROUNDL): Likewise.
13738 (SET_RESTORE_ROUND_NOEX): Likewise.
13739 (SET_RESTORE_ROUND_NOEXF): Likewise.
13740 (SET_RESTORE_ROUND_NOEXL): Likewise.
13741 (SET_RESTORE_ROUND_53BIT): Likewise.
13742 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13743 (libc_feresetround_noexf_ctx): Likewise.
13744 (libc_feresetround_noexl_ctx): Likewise.
13745 (libc_feholdsetround_53bit_ctx): Likewise.
13746 (libc_feresetround_53bit_ctx): Likewise.
13747 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13748 (libc_feholdexcept_setround_sse_ctx): New function.
13749 (libc_fesetenv_sse_ctx): Likewise.
13750 (libc_feupdateenv_sse_ctx): Likewise.
13751 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13752 (libc_feholdexcept_setround_387_ctx): Likewise.
13753 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13754 (libc_feholdsetround_387_prec_ctx): Likewise.
13755 (libc_feholdsetround_387_ctx): Likewise.
13756 (libc_feholdsetround_387_53bit_ctx): Likewise.
13757 (libc_feholdsetround_sse_ctx): Likewise.
13758 (libc_feresetround_sse_ctx): Likewise.
13759 (libc_feresetround_387_ctx): Likewise.
13760 (libc_feupdateenv_387_ctx): Likewise.
13761 (libc_feholdexcept_setroundf_ctx): Define macro.
13762 (libc_fesetenvf_ctx): Likewise.
13763 (libc_feupdateenvf_ctx): Likewise.
13764 (libc_feholdsetroundf_ctx): Likewise.
13765 (libc_feresetroundf_ctx): Likewise.
13766 (libc_feholdexcept_setround_ctx): Likewise.
13767 (libc_fesetenv_ctx): Likewise.
13768 (libc_feupdateenv_ctx): Likewise.
13769 (libc_feholdsetround_ctx): Likewise.
13770 (libc_feresetround_ctx): Likewise.
13771 (libc_feholdexcept_setroundl_ctx): Likewise.
13772 (libc_feupdateenvl_ctx): Likewise.
13773 (libc_feholdsetroundl_ctx): Likewise.
13774 (libc_feresetroundl_ctx): Likewise.
13775 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13776 (libc_feresetround_53bit_ctx): Likewise.
13777
59b30555
SP
137782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13779
13780 * locale/iso-639.def: Convert to UTF-8.
13781
f1d73d30
JM
137822013-06-11 Joseph Myers <joseph@codesourcery.com>
13783
13784 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13785 (EXCEPTION_TESTS_double): Likewise.
13786 (EXCEPTION_TESTS_long_double): Likewise.
13787 (EXCEPTION_TESTS): Likewise.
13788 * math/libm-test.inc (test_exceptions): Only test exceptions if
13789 EXCEPTION_TESTS (FLOAT).
13790
94aca5e7
SP
137912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 * benchtests/Makefile (string-bench): Add strcpy_chk and
13794 stpcpy_chk.
13795 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13796 * benchtests/bench-stpcpy_chk.c: New file.
13797 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13798 * benchtests/bench-strcpy_chk.c: New file.
13799 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13800 code.
13801 (do_test): Likewise.
13802
fac0c5f2
RA
138032013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13804
13805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13806 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13807 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13808 with tabs where appropriate.
13809 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13810 dl-procinfo.h.
13811 [PPC_PLATFORM_PPC440]: Likewise.
13812 [PPC_PLATFORM_PPC464]: Likewise.
13813 [PPC_PLATFORM_PPC476]: Likewise.
13814 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13815 ppc464, and ppc476 platform strings merging from ports/
13816 dl-procinfo.h.
13817
f22bc486
AS
138182013-06-11 Andreas Schwab <schwab@suse.de>
13819
13820 [BZ #14991]
13821 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13822 (from_ucs4_idx): Regenerate.
13823 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13824 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13825 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13826 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13827 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13828 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13829 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13830 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13831 from FROM_LOOP and TO_LOOP specific macros.
13832 (BODY): Handle combining characters.
13833 * iconvdata/BIG5HKSCS.irreversible: Update.
13834 * iconvdata/BIG5HKSCS.precomposed: New file.
13835 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13836 characters.
13837 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13838
c1f75dc3
SP
138392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13840
4eacded2
SP
13841 * include/sys/time.h: Fix indentation and add copyright header.
13842
fec799f8
SP
13843 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13844 (do_test): Likewise.
13845 * string/test-memchr.c (do_one_test): Likewise.
13846 (do_test): Likewise.
13847 * string/test-memcmp.c (do_one_test): Likewise.
13848 (do_test): Likewise.
13849 * string/test-memcpy.c (do_one_test): Likewise.
13850 (do_test): Likewise.
13851 * string/test-memmem.c (do_one_test): Likewise.
13852 (do_test): Likewise.
13853 (do_random_tests): Likewise.
13854 * string/test-memmove.c (do_one_test): Likewise.
13855 (do_test): Likewise.
13856 * string/test-memset.c (do_one_test): Likewise.
13857 (do_test): Likewise.
13858 * string/test-rawmemchr.c (do_one_test): Likewise.
13859 (do_test): Likewise.
13860 * string/test-strcasecmp.c (do_one_test): Likewise.
13861 (do_test): Likewise.
13862 * string/test-strcasestr.c (do_one_test): Likewise.
13863 (do_test): Likewise.
13864 * string/test-strcat.c (do_one_test): Likewise.
13865 (do_test): Likewise.
13866 * string/test-strchr.c (do_one_test): Likewise.
13867 (do_test): Likewise.
13868 * string/test-strcmp.c (do_one_test): Likewise.
13869 (do_test): Likewise.
13870 * string/test-strcpy.c (do_one_test): Likewise.
13871 (do_test): Likewise.
13872 * string/test-string.h: Likewise.
13873 (test_init): Likewise.
13874 * string/test-strlen.c (do_one_test): Likewise.
13875 (do_test): Likewise.
13876 * string/test-strncasecmp.c (do_one_test): Likewise.
13877 (do_test): Likewise.
13878 * string/test-strncat.c (do_one_test): Likewise.
13879 (do_test): Likewise.
13880 * string/test-strncmp.c (do_one_test): Likewise.
13881 (do_test_limit): Likewise.
13882 (do_test): Likewise.
13883 * string/test-strncpy.c (do_one_test): Likewise.
13884 (do_test): Likewise.
13885 * string/test-strnlen.c (do_one_test): Likewise.
13886 (do_test): Likewise.
13887 * string/test-strpbrk.c (do_one_test): Likewise.
13888 (do_test): Likewise.
13889 * string/test-strrchr.c (do_one_test): Likewise.
13890 (do_test): Likewise.
13891 * string/test-strspn.c (do_one_test): Likewise.
13892 (do_test): Likewise.
13893 * string/test-strstr.c (do_one_test): Likewise.
13894 (do_test): Likewise.
13895
97020474
SP
13896 * benchtests/Makefile (string-bench): Add string benchmarks.
13897 * benchtests/bench-bcopy-ifunc.c: New file.
13898 * benchtests/bench-bcopy.c: New file.
13899 * benchtests/bench-bzero-ifunc.c: New file.
13900 * benchtests/bench-bzero.c: New file.
13901 * benchtests/bench-memccpy-ifunc.c: New file.
13902 * benchtests/bench-memccpy.c: New file.
13903 * benchtests/bench-memchr-ifunc.c: New file.
13904 * benchtests/bench-memchr.c: New file.
13905 * benchtests/bench-memcmp-ifunc.c: New file.
13906 * benchtests/bench-memcmp.c: New file.
13907 * benchtests/bench-memmem-ifunc.c: New file.
13908 * benchtests/bench-memmem.c: New file.
13909 * benchtests/bench-memmove-ifunc.c: New file.
13910 * benchtests/bench-memmove.c: New file.
13911 * benchtests/bench-mempcpy-ifunc.c: New file.
13912 * benchtests/bench-mempcpy.c: New file.
13913 * benchtests/bench-memset-ifunc.c: New file.
13914 * benchtests/bench-memset.c: New file.
13915 * benchtests/bench-rawmemchr-ifunc.c: New file.
13916 * benchtests/bench-rawmemchr.c: New file.
13917 * benchtests/bench-stpcpy-ifunc.c: New file.
13918 * benchtests/bench-stpcpy.c: New file.
13919 * benchtests/bench-stpncpy-ifunc.c: New file.
13920 * benchtests/bench-stpncpy.c: New file.
13921 * benchtests/bench-strcasecmp-ifunc.c: New file.
13922 * benchtests/bench-strcasecmp.c: New file.
13923 * benchtests/bench-strcasestr-ifunc.c: New file.
13924 * benchtests/bench-strcasestr.c: New file.
13925 * benchtests/bench-strcat-ifunc.c: New file.
13926 * benchtests/bench-strcat.c: New file.
13927 * benchtests/bench-strchr-ifunc.c: New file.
13928 * benchtests/bench-strchr.c: New file.
13929 * benchtests/bench-strchrnul-ifunc.c: New file.
13930 * benchtests/bench-strchrnul.c: New file.
13931 * benchtests/bench-strcmp-ifunc.c: New file.
13932 * benchtests/bench-strcmp.c: New file.
13933 * benchtests/bench-strcpy-ifunc.c: New file.
13934 * benchtests/bench-strcpy.c: New file.
13935 * benchtests/bench-strcspn-ifunc.c: New file.
13936 * benchtests/bench-strcspn.c: New file.
13937 * benchtests/bench-strlen-ifunc.c: New file.
13938 * benchtests/bench-strlen.c: New file.
13939 * benchtests/bench-strncasecmp-ifunc.c: New file.
13940 * benchtests/bench-strncasecmp.c: New file.
13941 * benchtests/bench-strncat-ifunc.c: New file.
13942 * benchtests/bench-strncat.c: New file.
13943 * benchtests/bench-strncmp-ifunc.c: New file.
13944 * benchtests/bench-strncmp.c: New file.
13945 * benchtests/bench-strncpy-ifunc.c: New file.
13946 * benchtests/bench-strncpy.c: New file.
13947 * benchtests/bench-strnlen-ifunc.c: New file.
13948 * benchtests/bench-strnlen.c: New file.
13949 * benchtests/bench-strpbrk-ifunc.c: New file.
13950 * benchtests/bench-strpbrk.c: New file.
13951 * benchtests/bench-strrchr-ifunc.c: New file.
13952 * benchtests/bench-strrchr.c: New file.
13953 * benchtests/bench-strspn-ifunc.c: New file.
13954 * benchtests/bench-strspn.c: New file.
13955 * benchtests/bench-strstr-ifunc.c: New file.
13956 * benchtests/bench-strstr.c: New file.
13957
c1f75dc3
SP
13958 * benchtests/Makefile: Disable parallel execution of targets.
13959 (string-bench): Add memcpy.
13960 (benchset): New variable to store a list of benchmark sets.
13961 (bench-func): Renamed from bench.
13962 (bench-set): New target.
13963 (bench): Depend on bench-func and bench-set.
13964 * benchtests/README: Add section on benchmark sets.
13965 * benchtests/bench-memcpy-ifunc.c: New file.
13966 * benchtests/bench-memcpy.c: New file.
13967 * benchtests/bench-string.h: New file.
13968
50fd745b
AS
139692013-06-11 Andreas Schwab <schwab@suse.de>
13970
13971 [BZ #15577]
13972 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13973 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13974 values in the triple.
13975 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13976 terminator in the group key.
13977
3ee7e9fe
AJ
139782013-06-11 Andreas Jaeger <aj@suse.de>
13979
13980 * po/zh_TW.po: Update Chinese (traditional) translation from
13981 translation project.
13982
89fb6835
SP
139832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13984
13985 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13986 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13987 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13989 (clock_getcpuclockid): Likewise.
13990 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13991 Add weak_alias and libc_hidden_def.
13992 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13993 * rt/clock_gettime.c (clock_gettime): Rename to
13994 __clock_gettime. Add weak_alias and libc_hidden_def.
13995 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13996 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13997 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13998 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13999 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14000 Likewise.
14001 * rt/clock_settime.c (clock_settime): Rename to
14002 __clock_settime. Add weak_alias and libc_hidden_def.
14003 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14004
0efa6f8b
JM
140052013-06-10 Joseph Myers <joseph@codesourcery.com>
14006
b8c61b4b
JM
14007 * mach/err_boot.sub: Remove trailing whitespace.
14008 * mach/err_ipc.sub: Likewise.
14009 * mach/err_mach.sub: Likewise.
14010
0efa6f8b
JM
14011 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14012 (ROUNDING_TESTS_double): Likewise.
14013 (ROUNDING_TESTS_long_double): Likewise.
14014 (ROUNDING_TESTS): Likewise.
14015 * math/libm-test.inc: Include <math-tests.h>.
14016 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14020
50b818bf
SP
140212013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14022
14023 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14024 of assigning.
14025
60d2f8f3
JM
140262013-06-08 Joseph Myers <joseph@codesourcery.com>
14027
4902d2c3
JM
14028 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14029 otherwise empty TRANS lines.
14030 * sysdeps/gnu/errlist.c: Regenerated.
14031
60d2f8f3
JM
14032 * catgets/gencat.c (error_print): Use (void) in function
14033 definition.
14034 * crypt/crypt_util.c (__init_des): Likewise.
14035 * crypt/speeds.c (Stop): Likewise.
14036 (main): Likewise.
14037 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14038 * inet/ruserpass.c (token): Likewise.
14039 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14040 * intl/localealias.c (extend_alias_table): Likewise.
14041 * intl/plural-exp.c (init_germanic_plural): Likewise.
14042 * libio/fcloseall.c (__fcloseall): Likewise.
14043 * libio/genops.c (_IO_flush_all): Likewise.
14044 (_IO_flush_all_linebuffered): Likewise.
14045 (_IO_cleanup): Likewise.
14046 (_IO_iter_begin): Likewise.
14047 (_IO_iter_end): Likewise.
14048 (_IO_list_lock): Likewise.
14049 (_IO_list_unlock): Likewise.
14050 (_IO_list_resetlock): Likewise.
14051 * libio/getchar.c (getchar): Likewise.
14052 * libio/getchar_u.c (getchar_unlocked): Likewise.
14053 * libio/getwchar.c (getwchar): Likewise.
14054 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14055 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14056 * login/getpt.c (__getpt): Likewise.
14057 * login/tst-utmp.c (main): Likewise.
14058 * malloc/hooks.c (__malloc_check_init): Likewise.
14059 * malloc/malloc.c (__malloc_stats): Likewise.
14060 * malloc/mtrace.c (tr_break): Likewise.
14061 (mtrace): Likewise.
14062 (muntrace): Likewise.
14063 * misc/fstab.c (endfsent): Likewise.
14064 * misc/getclktck.c (__getclktck): Likewise.
14065 * misc/getdtsz.c (__getdtablesize): Likewise.
14066 * misc/gethostid.c (gethostid): Likewise.
14067 * misc/getpagesize.c (__getpagesize): Likewise.
14068 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14069 (__get_nprocs): Likewise.
14070 (__get_phys_pages): Likewise.
14071 (__get_avphys_pages): Likewise.
14072 * misc/getttyent.c (getttyent): Likewise.
14073 (setttyent): Likewise.
14074 (endttyent): Likewise.
14075 * misc/getusershell.c (getusershell): Likewise.
14076 (endusershell): Likewise.
14077 (setusershell): Likewise.
14078 (initshells): Likewise.
14079 * misc/hsearch.c (__hdestroy): Likewise.
14080 * misc/sync.c (sync): Likewise.
14081 * misc/syslog.c (closelog_internal): Likewise.
14082 (closelog): Likewise.
14083 * misc/ttyslot.c (ttyslot): Likewise.
14084 * misc/vhangup.c (vhangup): Likewise.
14085 * posix/fork.c (__fork): Likewise.
14086 * posix/getegid.c (__getegid): Likewise.
14087 * posix/geteuid.c (__geteuid): Likewise.
14088 * posix/getgid.c (__getgid): Likewise.
14089 * posix/getpid.c (__getpid): Likewise.
14090 * posix/getppid.c (__getppid): Likewise.
14091 * posix/getuid.c (__getuid): Likewise.
14092 * posix/pause.c (pause): Likewise.
14093 * posix/setpgrp.c (setpgrp): Likewise.
14094 * posix/setsid.c (__setsid): Likewise.
14095 * posix/test-vfork.c (noop): Likewise.
14096 * resolv/gethnamaddr.c (_endhtent): Likewise.
14097 (_gethtent): Likewise.
14098 (ht_endhostent): Likewise.
14099 (gethostent): Likewise.
14100 (dns_service): Likewise.
14101 * stdlib/drand48.c (drand48): Likewise.
14102 * stdlib/lrand48.c (lrand48): Likewise.
14103 * stdlib/mrand48.c (mrand48): Likewise.
14104 * stdlib/rand.c (rand): Likewise.
14105 * stdlib/random.c (__random): Likewise.
14106 * stdlib/setenv.c (clearenv): Likewise.
14107 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14108 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14109 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14110 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14111 (__get_nprocs): Likewise.
14112 (__get_phys_pages): Likewise.
14113 (__get_avphys_pages): Likewise.
14114 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14115 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14116 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14117 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14118 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14119 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14120 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14121 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14122 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14123 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14124 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14125 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14126 * sysdeps/posix/clock.c (clock): Likewise.
14127 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14128 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14129 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14130 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14131 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14133 (__get_nprocs_conf): Likewise.
14134 (__get_phys_pages): Likewise.
14135 (__get_avphys_pages): Likewise.
14136 * time/clock.c (clock): Likewise.
14137 * time/tzset.c (__tzname_max): Likewise.
14138
2e09a79a
JM
141392013-06-07 Joseph Myers <joseph@codesourcery.com>
14140
14141 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14142 (__bswap_32): Do not use "register".
14143 * crypt/crypt.c (_ufc_doit_r): Likewise.
14144 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14145 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14146 * gmon/gmon.c (__monstartup): Likewise.
14147 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14148 * hurd/hurdmalloc.c (more_memory): Likewise.
14149 (malloc): Likewise.
14150 (free): Likewise.
14151 (realloc): Likewise.
14152 (malloc_fork_prepare): Likewise.
14153 (malloc_fork_parent): Likewise.
14154 (malloc_fork_child): Likewise.
14155 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14156 (_svcauth_des): Likewise.
14157 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14158 * inet/inet_net.c (inet_network): Likewise.
14159 * inet/inet_netof.c (inet_netof): Likewise.
14160 * inet/rcmd.c (__validuser2_sa): Likewise.
14161 * io/fts.c (fts_open): Likewise.
14162 (fts_load): Likewise.
14163 (fts_close): Likewise.
14164 (fts_read): Likewise.
14165 (fts_children): Likewise.
14166 (fts_build): Likewise.
14167 (fts_stat): Likewise.
14168 (fts_sort): Likewise.
14169 (fts_alloc): Likewise.
14170 (fts_lfree): Likewise.
14171 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14172 (_IO_file_xsgetn): Likewise.
14173 (_IO_file_xsgetn_mmap): Likewise.
14174 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14175 (_IO_cookie_write): Likewise.
14176 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14177 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14178 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14179 * malloc/obstack.c (_obstack_begin): Likewise.
14180 (_obstack_begin_1): Likewise.
14181 (_obstack_newchunk): Likewise.
14182 (_obstack_allocated_p): Likewise.
14183 (obstack_free): Likewise.
14184 (_obstack_memory_used): Likewise.
14185 * misc/getttyent.c (getttynam): Likewise.
14186 (getttyent): Likewise.
14187 (skip): Likewise.
14188 (value): Likewise.
14189 * misc/getusershell.c (initshells): Likewise.
14190 * misc/syslog.c (__vsyslog_chk): Likewise.
14191 * misc/ttyslot.c (ttyslot): Likewise.
14192 * nis/nis_hash.c (__nis_hash): Likewise.
14193 * posix/fnmatch_loop.c (FCT): Likewise.
14194 * posix/getconf.c (print_all): Likewise.
14195 (main): Likewise.
14196 * posix/getopt.c (exchange): Likewise.
14197 * posix/glob.c (globfree): Likewise.
14198 (prefix_array): Likewise.
14199 (__glob_pattern_type): Likewise.
14200 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14201 (NS_GET32): Likewise.
14202 (NS_PUT16): Likewise.
14203 (NS_PUT32): Likewise.
14204 * resolv/gethnamaddr.c (getanswer): Likewise.
14205 (gethostbyname2): Likewise.
14206 (gethostbyaddr): Likewise.
14207 (_gethtent): Likewise.
14208 (_gethtbyname2): Likewise.
14209 (_gethtbyaddr): Likewise.
14210 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14211 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14212 * resolv/res_init.c (__res_vinit): Likewise.
14213 (net_mask): Likewise.
14214 * resolv/res_mkquery.c (outchar): Likewise.
14215 (PRINT): Likewise.
14216 * stdio-common/printf_fp.c (outchar): Likewise.
14217 (PRINT): Likewise.
14218 * stdio-common/printf_fphex.c (outchar): Likewise.
14219 (PRINT): Likewise.
14220 * stdio-common/printf_size.c (outchar): Likewise.
14221 (PRINT): Likewise.
14222 * stdio-common/test_rdwr.c (main): Likewise.
14223 * stdio-common/tfformat.c (matches): Likewise.
14224 * stdio-common/vfprintf.c (outchar): Likewise.
14225 (printf_unknown): Likewise.
14226 (buffered_vfprintf): Likewise.
14227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14228 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14229 (ReadFile): Likewise.
14230 * stdlib/qsort.c (SWAP): Likewise.
14231 (_quicksort): Likewise.
14232 * stdlib/setenv.c (__add_to_environ): Likewise.
14233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14234 * stdlib/strtol_l.c (__strtol_l): Likewise.
14235 * stdlib/tst-strtod.c (main): Likewise.
14236 * stdlib/tst-strtol.c (main): Likewise.
14237 * stdlib/tst-strtoll.c (main): Likewise.
14238 * string/bits/string2.h (__strcmp_cc): Likewise.
14239 (__strcmp_cg): Likewise.
14240 (__strcspn_c1): Likewise.
14241 (__strcspn_c2): Likewise.
14242 (__strcspn_c3): Likewise.
14243 (__strspn_c1): Likewise.
14244 (__strspn_c2): Likewise.
14245 (__strspn_c3): Likewise.
14246 (__strsep_1c): Likewise.
14247 (__strsep_2c): Likewise.
14248 (__strsep_3c): Likewise.
14249 * string/memccpy.c (__memccpy): Likewise.
14250 * string/stpcpy.c (__stpcpy): Likewise.
14251 * string/strcmp.c (strcmp): Likewise.
14252 * string/strrchr.c (strrchr): Likewise.
14253 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14254 Likewise.
14255 * sysdeps/mach/hurd/getcwd.c
14256 (_hurd_canonicalize_directory_name_internal): Likewise.
14257 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14258 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14259 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14260 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14261 Likewise, in both definitions.
14262 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14263 definitions.
14264 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14265 64] (__bswap_64): Likewise.
14266 * time/test_time.c (main): Likewise.
14267 * time/tzfile.c (__tzfile_read): Likewise.
14268 (__tzfile_compute): Likewise.
14269 * time/tzset.c (__tzset_parse_tz): Likewise.
14270 (tzset_internal): Likewise.
14271 (compute_change): Likewise.
14272 * wcsmbs/wcscat.c (__wcscat): Likewise.
14273 * wcsmbs/wcschr.c (wcschr): Likewise.
14274 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14275 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14276 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14277 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14278 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14279 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14280 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14281 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14282 * wcsmbs/wmemset.c (wmemset): Likewise.
14283
9e54314b
JM
142842013-06-06 Joseph Myers <joseph@codesourcery.com>
14285
14286 * scripts/config.guess: Update to version 2013-05-16.
14287 * scripts/config.sub: Update to version 2013-04-24.
14288 * scripts/install-sh: Update to version 2011-11-20.07.
14289 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14290 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14291
350635a5
OB
142922013-06-06 Ondřej Bílka <neleai@seznam.cz>
14293
14294 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14295 * elf/sln.c: Likewise.
14296 * hurd/hurd/ioctl.h: Likewise.
14297 * hurd/hurdmalloc.c: Likewise.
14298 * hurd/xattr.c: Likewise.
14299 * include/shlib-compat.h: Likewise.
14300 * inet/ruserpass.c: Likewise.
14301 * libio/iofgets_u.c: Likewise.
14302 * libio/iofgetws_u.c: Likewise.
14303 * locale/programs/ld-identification.c: Likewise.
14304 * locale/programs/ld-time.c: Likewise.
14305 * mach/msg-destroy.c: Likewise.
14306 * nss/nss_files/files-netgrp.c: Likewise.
14307 * resolv/res_data.c: Likewise.
14308 * soft-fp/op-1.h: Likewise.
14309 * soft-fp/op-2.h: Likewise.
14310 * soft-fp/op-4.h: Likewise.
14311 * soft-fp/op-common.h: Likewise.
14312 * stdio-common/printf_fphex.c: Likewise.
14313 * stdlib/strtod_l.c: Likewise.
14314 * sunrpc/rpc/clnt.h: Likewise.
14315 * sysdeps/generic/framestate.c: Likewise.
14316 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14317 * sysdeps/i386/bsd-setjmp.S: Likewise.
14318 * sysdeps/i386/__longjmp.S: Likewise.
14319 * sysdeps/i386/setjmp.S: Likewise.
14320 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14338 * sysdeps/ieee754/support.c: Likewise.
14339 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14340 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14341 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14342 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14343 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14344 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14345 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14346 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14347 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14348 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14349 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14350 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14351 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14352 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14353 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14354 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14355 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14357
44a988af
OB
143582013-06-05 Ondřej Bílka <neleai@seznam.cz>
14359
25506f09 14360 * posix/transbug.c: Remove executable mode.
44a988af 14361
9c84384c
JM
143622013-06-05 Joseph Myers <joseph@codesourcery.com>
14363
14364 * crypt/speeds.c: Remove trailing whitespace.
14365 * dlfcn/default.c: Likewise.
14366 * elf/ifuncdep2.c: Likewise.
14367 * elf/ifuncmain1.c: Likewise.
14368 * elf/ifuncmain1vis.c: Likewise.
14369 * elf/testobj.h: Likewise.
14370 * elf/tst-stackguard1.c: Likewise.
14371 * gmon/sys/gmon.h: Likewise.
14372 * hurd/hurdmsg.c: Likewise.
14373 * hurd/new-fd.c: Likewise.
14374 * hurd/ports-get.c: Likewise.
14375 * iconvdata/ibm1008_420.c: Likewise.
14376 * inet/tst-getni1.c: Likewise.
14377 * inet/tst-getni2.c: Likewise.
14378 * libio/ioungetc.c: Likewise.
14379 * libio/wfiledoalloc.c: Likewise.
14380 * manual/libm-err-tab.pl: Likewise.
14381 * math/w_dremf.c: Likewise.
14382 * misc/ftruncate.c: Likewise.
14383 * posix/bug-glob2.c: Likewise.
14384 * posix/tst-pcre.c: Likewise.
14385 * posix/wait4.c: Likewise.
14386 * resolv/README: Likewise.
14387 * resolv/res_debug.h: Likewise.
14388 * resolv/tst-inet_ntop.c: Likewise.
14389 * setjmp/bug269-setjmp.c: Likewise.
14390 * soft-fp/extended.h: Likewise.
14391 * soft-fp/op-1.h: Likewise.
14392 * soft-fp/op-2.h: Likewise.
14393 * soft-fp/op-4.h: Likewise.
14394 * soft-fp/op-8.h: Likewise.
14395 * soft-fp/testit.c: Likewise.
14396 * stdio-common/bug16.c: Likewise.
14397 * stdlib/random.c: Likewise.
14398 * sunrpc/rpcsvc/rquota.x: Likewise.
14399 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14406 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14407 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14412 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14415 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14421 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14428 * sysdeps/ieee754/s_lib_version.c: Likewise.
14429 * sysdeps/mach/hurd/check_fds.c: Likewise.
14430 * sysdeps/mach/hurd/getsockname.c: Likewise.
14431 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14432 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14433 * sysdeps/powerpc/bits/link.h: Likewise.
14434 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14435 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14436 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14437 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14438 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14440 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14441 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14442 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14443 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14444 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14446 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14448 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14449 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14451 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14453 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14455 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14457 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14458 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14459 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14468 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14469 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14470 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14471 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14472 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14473 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14474 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14475 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14476 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14477 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14478 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14479 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14480 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14482 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14483 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14488 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14489 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14490 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14496 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14498 * sysdeps/powerpc/sysdep.h: Likewise.
14499 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14500 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14501 * sysdeps/sh/dl-trampoline.S: Likewise.
14502 * sysdeps/sh/memset.S: Likewise.
14503 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14504 * sysdeps/sh/strlen.S: Likewise.
14505 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14506 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14507 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14508 * sysdeps/sparc/sparc32/rem.S: Likewise.
14509 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14510 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14511 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14512 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14513 * sysdeps/sparc/sparc32/urem.S: Likewise.
14514 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14515 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14516 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14517 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14519 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14520 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14521 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14522 * sysdeps/unix/bsd/times.c: Likewise.
14523 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14524 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14530 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14532 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14533 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14534 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14535 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14537 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14538 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14540 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14541 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14542 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14543 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14544 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14546 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14547 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14548 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14549 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14551 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14552 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14553 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14554 * sysdeps/x86_64/strcspn.S: Likewise.
14555
869378a5
RA
145562013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14557
14558 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14559 generated file. Regenerate properly from gen-translit.pl.
14560 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14561 locale/C-translit.h.
14562
840e2943
AS
145632013-06-05 Andreas Schwab <schwab@suse.de>
14564
14565 [BZ #15100]
14566 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14567 week as 6 instead of -1.
14568 * time/tst-strptime.c (day_tests): Add test case.
14569
4c60cb0c
SP
145702013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
14572 * sysdeps/generic/math_private.h
14573 (libc_feholdexcept_setround_53bit): Replace with
14574 libc_feholdsetround_53bit.
14575 (libc_feupdateenv_53bit): Replace with
14576 libc_feresetround_53bit.
14577 (SET_RESTORE_ROUND_53BIT): Adjust.
14578
d180203e
SP
145792013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14580
96df079a
SP
14581 * string/test-strchrnul.c: Add copyright header.
14582
d180203e
SP
14583 * posix/tst-getaddrinfo4.c: Increase test timeout.
14584
8b0ccb2d
CD
145852013-06-03 Carlos O'Donell <carlos@redhat.com>
14586
14587 [BZ #15536]
14588 * math/libm-test.inc (MAX_EXP): Remove
14589 (MIN_EXP): Define.
14590 (ulp): Use MIN_EXP - MANT_DIG.
14591 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14592
3b3c4d40
CD
145932013-05-31 Carlos O'Donell <carlos@redhat.com>
14594
14595 * po/be.po: Revert last change.
14596 * po/zh_CN.po: Likewise.
14597 * po/header.pot: Likewise.
14598
fab7ce3f
JM
145992013-05-31 Joseph Myers <joseph@codesourcery.com>
14600
14601 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14602 link-libc-deps to empty as target-specific variable.
14603 * Makerules (link-libc-args): New variable.
14604 (libc-for-link): Likewise.
14605 (link-libc-deps): Likewise.
14606 (lib%.so): Depend on $(link-libc-deps). Link with
14607 $(link-libc-args).
14608 (build-module): Link with $(link-libc-args).
14609 (build-module-asneeded): Likewise.
14610 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14611 list of objects.
14612 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14613 target-specific variable.
14614 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14615 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14616 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14617 libc.
14618 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14619 libc and ld.so.
14620 ($(objpfx)libpcprofile.so): Likewise.
14621 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14622 libc_nonshared.a.
14623 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14624 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14625 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14626 $(link-libc-deps).
14627 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14628 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14629 * login/Makefile ($(objpfx)libutil.so): Likewise.
14630 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14631 * math/Makefile ($(objpfx)libm.so): Likewise.
14632 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14633 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14634 variable instead of depending directly on libc.
14635 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14636 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14637 $(link-libc-deps).
14638 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14639 libc.
14640 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14641 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14642 ($(objpfx)libanl.so): Likewise.
14643 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14644 ld.so.
14645 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14646 $(link-libc-deps).
14647 * sysdeps/i386/fpu/Makefile: Remove file.
14648 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14649 ($(objpfx)libm.so): Remove dependency on ld.so.
14650
eca5920c
PF
146512013-05-30 Patsy Franklin <pfrankli@redhat.com>
14652
14653 [BZ # 15553]
14654 * nis/yp_xdr.c (XDRMAXNAME): Define.
14655 (XDRMAXRECORD): Define.
14656 (xdr_domainname): Use XDRMAXNAME.
14657 (xdr_mapname): Likewise.
14658 (xdr_peername): Likewise.
14659 (xdr_keydat): Use XDRMAXRECORD.
14660 (xdr_valdat): Likewise.
14661
146622013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14663
14664 [BZ #14256]
14665 * manual/errno.texi (ESTALE): Update to account for more than
14666 just NFS file systems.
14667 * sysdeps/gnu/errlist.c: Regenerated.
14668
b9375348
SP
146692013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14670
14671 [BZ #15465]
14672 * elf/Makefile (tests): Add tst-null-argv.
14673 (modules-names): Add tst-null-argv-lib.
14674 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14675 (tst-null-argv-ENV): Set environment for tst-null-argv.
14676 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14677 (RTLD_PROGNAME): New macro.
14678 * elf/tst-null-argv.c: New test case.
14679 * elf/tst-null-argv-lib.c: Library for test case.
14680 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14681 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14682 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14683 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14684 * elf/dl-init.c (call_init): Likewise.
14685 (_dl_init): Likewise.
14686 * elf/dl-load.c (print_search_path): Likewise.
14687 (_dl_map_object): Likewise.
14688 * elf/dl-lookup.c (do_lookup_x): Likewise.
14689 (add_dependency): Likewise.
14690 (_dl_lookup_symbol_x): Likewise.
14691 (_dl_debug_bindings): Likewise.
14692 * elf/dl-open.c (_dl_show_scope): Likewise.
14693 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14694 * elf/dl-version.c (match_symbol): Likewise.
14695 (_dl_check_map_versions): Likewise.
14696 * elf/rtld.c (dl_main): Likewise.
14697 (print_unresolved): Use RTLD_PROGNAME.
14698 (print_missing_version): Likewise.
14699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14700 (elf_machine_rela): Likewise.
14701 * sysdeps/powerpc/powerpc32/dl-machine.c
14702 (__process_machine_rela): Likewise.
14703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14704 Likewise.
14705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14706 Likewise.
14707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14708 Likewise.
14709 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14711 Likewise.
14712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14713 Likewise.
14714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14715
8a9f20c8
CD
147162013-05-28 Carlos O'Donell <carlos@redhat.com>
14717
14718 * po/be.po: Add descriptive title.
14719 * po/zh_CN.po: Likewise.
14720 * po/header.pot: Likewise.
14721
0e60d68e
MF
147222013-05-28 Mike Frysinger <vapier@gentoo.org>
14723
14724 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14725 error message.
14726 (enlarge_archive): Likewise.
14727
56b672e9
BN
147282013-05-28 Ben North <ben@redfrontdoor.org>
14729
14730 * manual/arith.texi (frexp): It is the magnitude of the return
14731 value which lies in [0.5, 1), not the return value itself.
14732
5e056687
AZ
147332013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14736
2b66ef5d
TS
147372013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14738
528c2405
TS
14739 * stdio-common/bug26.c (main): Correct fscanf template.
14740
07b4c13d
TS
14741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14742 declare _dl_skip_args.
14743
ec9dd97c
TS
14744 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14745 Don't declare.
14746
2b66ef5d
TS
14747 * manual/platform.texi: Add missing @end deftypefun.
14748
4f8dfe27
JM
147492013-05-24 Joseph Myers <joseph@codesourcery.com>
14750
0323d086
JM
14751 [BZ #15529]
14752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14753 bit of mantissa of 2^16382.
14754 * math/libm-test.inc (hypot_test_data): Add more tests.
14755
dd4259b9
JM
14756 * math/libm-test.inc: Add drem and pow10 to list of tested
14757 functions.
14758 (pow10_test): New function.
14759 (drem_test): Likewise.
14760 (drem_test_tonearest): Likewise.
14761 (drem_test_towardzero): Likewise.
14762 (drem_test_downward): Likewise.
14763 (drem_test_upward): Likewise.
14764 (main): Call the new functions.
14765
4f8dfe27
JM
14766 * math/libm-test.inc (finite_test_data): Remove.
14767 (finite_test): Run tests from isfinite_test_data.
14768 (gamma_test_data): Remove.
14769 (gamma_test): Run tests from lgamma_test_data.
14770 * sysdeps/i386/fpu/libm-test-ulps: Update.
14771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14772
d116b7c4
AZ
147732013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14774
14775 * manual/platform.texi: Add PowerPC PPR function set documentation.
14776 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14777 implementation.
14778
e96e3767
CD
147792013-05-24 Carlos O'Donell <carlos@redhat.com>
14780
14781 * math/libm-test.inc (MAX_EXP): Define.
14782 (ULPDIFF): Define.
14783 (ulp): New function.
14784 (check_float_internal): Use ULPDIFF.
14785 (cpow_test): Disable failing test.
14786 (check_ulp): Test ulp() implemetnation.
14787 (main): Call check_ulp before starting tests.
14788
b679a606
JM
147892013-05-24 Joseph Myers <joseph@codesourcery.com>
14790
e8bdba36
JM
14791 * math/gen-libm-test.pl (generate_testfile): Do not handle
14792 START_DATA and END_DATA.
14793 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14794 END_DATA.
14795 (acos_tonearest_test_data): Likewise.
14796 (acos_towardzero_test_data): Likewise.
14797 (acos_downward_test_data): Likewise.
14798 (acos_upward_test_data): Likewise.
14799 (acosh_test_data): Likewise.
14800 (asin_test_data): Likewise.
14801 (asin_tonearest_test_data): Likewise.
14802 (asin_towardzero_test_data): Likewise.
14803 (asin_downward_test_data): Likewise.
14804 (asin_upward_test_data): Likewise.
14805 (asinh_test_data): Likewise.
14806 (atan_test_data): Likewise.
14807 (atanh_test_data): Likewise.
14808 (atan2_test_data): Likewise.
14809 (cabs_test_data): Likewise.
14810 (cacos_test_data): Likewise.
14811 (cacosh_test_data): Likewise.
14812 (carg_test_data): Likewise.
14813 (casin_test_data): Likewise.
14814 (casinh_test_data): Likewise.
14815 (catan_test_data): Likewise.
14816 (catanh_test_data): Likewise.
14817 (cbrt_test_data): Likewise.
14818 (ccos_test_data): Likewise.
14819 (ccosh_test_data): Likewise.
14820 (ceil_test_data): Likewise.
14821 (cexp_test_data): Likewise.
14822 (cimag_test_data): Likewise.
14823 (clog_test_data): Likewise.
14824 (clog10_test_data): Likewise.
14825 (conj_test_data): Likewise.
14826 (copysign_test_data): Likewise.
14827 (cos_test_data): Likewise.
14828 (cos_tonearest_test_data): Likewise.
14829 (cos_towardzero_test_data): Likewise.
14830 (cos_downward_test_data): Likewise.
14831 (cos_upward_test_data): Likewise.
14832 (cosh_test_data): Likewise.
14833 (cosh_tonearest_test_data): Likewise.
14834 (cosh_towardzero_test_data): Likewise.
14835 (cosh_downward_test_data): Likewise.
14836 (cosh_upward_test_data): Likewise.
14837 (cpow_test_data): Likewise.
14838 (cproj_test_data): Likewise.
14839 (creal_test_data): Likewise.
14840 (csin_test_data): Likewise.
14841 (csinh_test_data): Likewise.
14842 (csqrt_test_data): Likewise.
14843 (ctan_test_data): Likewise.
14844 (ctan_tonearest_test_data): Likewise.
14845 (ctan_towardzero_test_data): Likewise.
14846 (ctan_downward_test_data): Likewise.
14847 (ctan_upward_test_data): Likewise.
14848 (ctanh_test_data): Likewise.
14849 (ctanh_tonearest_test_data): Likewise.
14850 (ctanh_towardzero_test_data): Likewise.
14851 (ctanh_downward_test_data): Likewise.
14852 (ctanh_upward_test_data): Likewise.
14853 (erf_test_data): Likewise.
14854 (erfc_test_data): Likewise.
14855 (exp_test_data): Likewise.
14856 (exp_tonearest_test_data): Likewise.
14857 (exp_towardzero_test_data): Likewise.
14858 (exp_downward_test_data): Likewise.
14859 (exp_upward_test_data): Likewise.
14860 (exp10_test_data): Likewise.
14861 (exp2_test_data): Likewise.
14862 (expm1_test_data): Likewise.
14863 (fabs_test_data): Likewise.
14864 (fdim_test_data): Likewise.
14865 (finite_test_data): Likewise.
14866 (floor_test_data): Likewise.
14867 (fma_test_data): Likewise.
14868 (fma_towardzero_test_data): Likewise.
14869 (fma_downward_test_data): Likewise.
14870 (fma_upward_test_data): Likewise.
14871 (fmax_test_data): Likewise.
14872 (fmin_test_data): Likewise.
14873 (fmod_test_data): Likewise.
14874 (fpclassify_test_data): Likewise.
14875 (frexp_test_data): Likewise.
14876 (gamma_test_data): Likewise.
14877 (hypot_test_data): Likewise.
14878 (ilogb_test_data): Likewise.
14879 (isfinite_test_data): Likewise.
14880 (isgreater_test_data): Likewise.
14881 (isgreaterequal_test_data): Likewise.
14882 (isinf_test_data): Likewise.
14883 (isless_test_data): Likewise.
14884 (islessequal_test_data): Likewise.
14885 (islessgreater_test_data): Likewise.
14886 (isnan_test_data): Likewise.
14887 (isnormal_test_data): Likewise.
14888 (issignaling_test_data): Likewise.
14889 (isunordered_test_data): Likewise.
14890 (j0_test_data): Likewise.
14891 (j1_test_data): Likewise.
14892 (jn_test_data): Likewise.
14893 (ldexp_test_data): Likewise.
14894 (lgamma_test_data): Likewise.
14895 (lrint_test_data): Likewise.
14896 (lrint_tonearest_test_data): Likewise.
14897 (lrint_towardzero_test_data): Likewise.
14898 (lrint_downward_test_data): Likewise.
14899 (lrint_upward_test_data): Likewise.
14900 (llrint_test_data): Likewise.
14901 (llrint_tonearest_test_data): Likewise.
14902 (llrint_towardzero_test_data): Likewise.
14903 (llrint_downward_test_data): Likewise.
14904 (llrint_upward_test_data): Likewise.
14905 (log_test_data): Likewise.
14906 (log10_test_data): Likewise.
14907 (log1p_test_data): Likewise.
14908 (log2_test_data): Likewise.
14909 (logb_test_data): Likewise.
14910 (logb_downward_test_data): Likewise.
14911 (lround_test_data): Likewise.
14912 (llround_test_data): Likewise.
14913 (modf_test_data): Likewise.
14914 (nearbyint_test_data): Likewise.
14915 (nextafter_test_data): Likewise.
14916 (nexttoward_test_data): Likewise.
14917 (pow_test_data): Likewise.
14918 (pow_tonearest_test_data): Likewise.
14919 (pow_towardzero_test_data): Likewise.
14920 (pow_downward_test_data): Likewise.
14921 (pow_upward_test_data): Likewise.
14922 (remainder_test_data): Likewise.
14923 (remainder_tonearest_test_data): Likewise.
14924 (remainder_towardzero_test_data): Likewise.
14925 (remainder_downward_test_data): Likewise.
14926 (remainder_upward_test_data): Likewise.
14927 (remquo_test_data): Likewise.
14928 (rint_test_data): Likewise.
14929 (rint_tonearest_test_data): Likewise.
14930 (rint_towardzero_test_data): Likewise.
14931 (rint_downward_test_data): Likewise.
14932 (rint_upward_test_data): Likewise.
14933 (round_test_data): Likewise.
14934 (scalb_test_data): Likewise.
14935 (scalbn_test_data): Likewise.
14936 (scalbln_test_data): Likewise.
14937 (signbit_test_data): Likewise.
14938 (sin_test_data): Likewise.
14939 (sin_tonearest_test_data): Likewise.
14940 (sin_towardzero_test_data): Likewise.
14941 (sin_downward_test_data): Likewise.
14942 (sin_upward_test_data): Likewise.
14943 (sincos_test_data): Likewise.
14944 (sinh_test_data): Likewise.
14945 (sinh_tonearest_test_data): Likewise.
14946 (sinh_towardzero_test_data): Likewise.
14947 (sinh_downward_test_data): Likewise.
14948 (sinh_upward_test_data): Likewise.
14949 (sqrt_test_data): Likewise.
14950 (tan_test_data): Likewise.
14951 (tan_tonearest_test_data): Likewise.
14952 (tan_towardzero_test_data): Likewise.
14953 (tan_downward_test_data): Likewise.
14954 (tan_upward_test_data): Likewise.
14955 (tanh_test_data): Likewise.
14956 (tgamma_test_data): Likewise.
14957 (trunc_test_data): Likewise.
14958 (y0_test_data): Likewise.
14959 (y1_test_data): Likewise.
14960 (yn_test_data): Likewise.
14961 (significand_test_data): Likewise.
14962
b679a606
JM
14963 * math/gen-libm-test.pl (@functions): Remove variable.
14964 (generate_testfile): Don't handle START and END lines.
14965 * math/libm-test.inc (START): New macro.
14966 (END): Likewise.
14967 (END_COMPLEX): Likewise.
14968 (acos_test): Use END macro without arguments.
14969 (acos_test_tonearest): Likewise.
14970 (acos_test_towardzero): Likewise.
14971 (acos_test_downward): Likewise.
14972 (acos_test_upward): Likewise.
14973 (acosh_test): Likewise.
14974 (asin_test): Likewise.
14975 (asin_test_tonearest): Likewise.
14976 (asin_test_towardzero): Likewise.
14977 (asin_test_downward): Likewise.
14978 (asin_test_upward): Likewise.
14979 (asinh_test): Likewise.
14980 (atan_test): Likewise.
14981 (atanh_test): Likewise.
14982 (atan2_test): Likewise.
14983 (cabs_test): Likewise.
14984 (cacos_test): Use END_COMPLEX macro without arguments.
14985 (cacosh_test): Likewise.
14986 (carg_test): Use END macro without arguments.
14987 (casin_test): Use END_COMPLEX macro without arguments.
14988 (casinh_test): Likewise.
14989 (catan_test): Likewise.
14990 (catanh_test): Likewise.
14991 (cbrt_test): Use END macro without arguments.
14992 (ccos_test): Use END_COMPLEX macro without arguments.
14993 (ccosh_test): Likewise.
14994 (ceil_test): Use END macro without arguments.
14995 (cexp_test): Use END_COMPLEX macro without arguments.
14996 (cimag_test): Use END macro without arguments.
14997 (clog_test): Use END_COMPLEX macro without arguments.
14998 (clog10_test): Likewise.
14999 (conj_test): Likewise.
15000 (copysign_test): Use END macro without arguments.
15001 (cos_test): Likewise.
15002 (cos_test_tonearest): Likewise.
15003 (cos_test_towardzero): Likewise.
15004 (cos_test_downward): Likewise.
15005 (cos_test_upward): Likewise.
15006 (cosh_test): Likewise.
15007 (cosh_test_tonearest): Likewise.
15008 (cosh_test_towardzero): Likewise.
15009 (cosh_test_downward): Likewise.
15010 (cosh_test_upward): Likewise.
15011 (cpow_test): Use END_COMPLEX macro without arguments.
15012 (cproj_test): Likewise.
15013 (creal_test): Use END macro without arguments.
15014 (csin_test): Use END_COMPLEX macro without arguments.
15015 (csinh_test): Likewise.
15016 (csqrt_test): Likewise.
15017 (ctan_test): Likewise.
15018 (ctan_test_tonearest): Likewise.
15019 (ctan_test_towardzero): Likewise.
15020 (ctan_test_downward): Likewise.
15021 (ctan_test_upward): Likewise.
15022 (ctanh_test): Likewise.
15023 (ctanh_test_tonearest): Likewise.
15024 (ctanh_test_towardzero): Likewise.
15025 (ctanh_test_downward): Likewise.
15026 (ctanh_test_upward): Likewise.
15027 (erf_test): Use END macro without arguments.
15028 (erfc_test): Likewise.
15029 (exp_test): Likewise.
15030 (exp_test_tonearest): Likewise.
15031 (exp_test_towardzero): Likewise.
15032 (exp_test_downward): Likewise.
15033 (exp_test_upward): Likewise.
15034 (exp10_test): Likewise.
15035 (exp2_test): Likewise.
15036 (expm1_test): Likewise.
15037 (fabs_test): Likewise.
15038 (fdim_test): Likewise.
15039 (finite_test): Likewise.
15040 (floor_test): Likewise.
15041 (fma_test): Likewise.
15042 (fma_test_towardzero): Likewise.
15043 (fma_test_downward): Likewise.
15044 (fma_test_upward): Likewise.
15045 (fmax_test): Likewise.
15046 (fmin_test): Likewise.
15047 (fmod_test): Likewise.
15048 (fpclassify_test): Likewise.
15049 (frexp_test): Likewise.
15050 (gamma_test): Likewise.
15051 (hypot_test): Likewise.
15052 (ilogb_test): Likewise.
15053 (isfinite_test): Likewise.
15054 (isgreater_test): Likewise.
15055 (isgreaterequal_test): Likewise.
15056 (isinf_test): Likewise.
15057 (isless_test): Likewise.
15058 (islessequal_test): Likewise.
15059 (islessgreater_test): Likewise.
15060 (isnan_test): Likewise.
15061 (isnormal_test): Likewise.
15062 (issignaling_test): Likewise.
15063 (isunordered_test): Likewise.
15064 (j0_test): Likewise.
15065 (j1_test): Likewise.
15066 (jn_test): Likewise.
15067 (ldexp_test): Likewise.
15068 (lgamma_test): Likewise.
15069 (lrint_test): Likewise.
15070 (lrint_test_tonearest): Likewise.
15071 (lrint_test_towardzero): Likewise.
15072 (lrint_test_downward): Likewise.
15073 (lrint_test_upward): Likewise.
15074 (llrint_test): Likewise.
15075 (llrint_test_tonearest): Likewise.
15076 (llrint_test_towardzero): Likewise.
15077 (llrint_test_downward): Likewise.
15078 (llrint_test_upward): Likewise.
15079 (log_test): Likewise.
15080 (log10_test): Likewise.
15081 (log1p_test): Likewise.
15082 (log2_test): Likewise.
15083 (logb_test): Likewise.
15084 (logb_test_downward): Likewise.
15085 (lround_test): Likewise.
15086 (llround_test): Likewise.
15087 (modf_test): Likewise.
15088 (nearbyint_test): Likewise.
15089 (nextafter_test): Likewise.
15090 (nexttoward_test): Likewise.
15091 (pow_test): Likewise.
15092 (pow_test_tonearest): Likewise.
15093 (pow_test_towardzero): Likewise.
15094 (pow_test_downward): Likewise.
15095 (pow_test_upward): Likewise.
15096 (remainder_test): Likewise.
15097 (remainder_test_tonearest): Likewise.
15098 (remainder_test_towardzero): Likewise.
15099 (remainder_test_downward): Likewise.
15100 (remainder_test_upward): Likewise.
15101 (remquo_test): Likewise.
15102 (rint_test): Likewise.
15103 (rint_test_tonearest): Likewise.
15104 (rint_test_towardzero): Likewise.
15105 (rint_test_downward): Likewise.
15106 (rint_test_upward): Likewise.
15107 (round_test): Likewise.
15108 (scalb_test): Likewise.
15109 (scalbn_test): Likewise.
15110 (scalbln_test): Likewise.
15111 (signbit_test): Likewise.
15112 (sin_test): Likewise.
15113 (sin_test_tonearest): Likewise.
15114 (sin_test_towardzero): Likewise.
15115 (sin_test_downward): Likewise.
15116 (sin_test_upward): Likewise.
15117 (sincos_test): Likewise.
15118 (sinh_test): Likewise.
15119 (sinh_test_tonearest): Likewise.
15120 (sinh_test_towardzero): Likewise.
15121 (sinh_test_downward): Likewise.
15122 (sinh_test_upward): Likewise.
15123 (sqrt_test): Likewise.
15124 (tan_test): Likewise.
15125 (tan_test_tonearest): Likewise.
15126 (tan_test_towardzero): Likewise.
15127 (tan_test_downward): Likewise.
15128 (tan_test_upward): Likewise.
15129 (tanh_test): Likewise.
15130 (tgamma_test): Likewise.
15131 (trunc_test): Likewise.
15132 (y0_test): Likewise.
15133 (y1_test): Likewise.
15134 (yn_test): Likewise.
15135 (significand_test): Likewise.
15136
bae143d2
OB
151372013-05-24 Ondřej Bílka <neleai@seznam.cz>
15138
15139 [BZ #15381]
15140 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15141
9323d39b
EM
151422013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15143
d4ea44a0 15144 [BZ #14894]
9323d39b
EM
15145 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15146 __ppc_mdoio and __ppc_mdoom.
15147 * manual/platform.texi: Document new functions __ppc_yield,
15148 __ppc_mdoio and __ppc_mdoom.
15149
13e23af7
CD
151502013-05-22 Carlos O'Donell <carlos@redhat.com>
15151
15152 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15153 (main): Mention "tls" pseudo-hwcap is legacy.
15154 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15155
351fe550
JM
151562013-05-22 Joseph Myers <joseph@codesourcery.com>
15157
15158 * math/gen-libm-test.pl (parse_args): Output only string of
15159 arguments as text for test name, not full call or descriptions of
15160 tests for extra outputs.
15161 (generate_testfile): Do not pass function name to parse_args.
15162 Generate this_func variable from START.
15163 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15164 field to arg_str.
15165 (struct test_ff_f_data): Likewise.
15166 (test_ff_f_data_nexttoward): Likewise.
15167 (struct test_fi_f_data): Likewise.
15168 (struct test_fl_f_data): Likewise.
15169 (struct test_if_f_data): Likewise.
15170 (struct test_fff_f_data): Likewise.
15171 (struct test_c_f_data): Likewise.
15172 (struct test_f_f1_data): Likewise. Remove field extra_name.
15173 (struct test_fF_f1_data): Likewise.
15174 (struct test_ffI_f1_data): Likewise.
15175 (struct test_c_c_data): Rename test_name field to arg_str.
15176 (struct test_cc_c_data): Likewise.
15177 (struct test_f_i_data): Likewise.
15178 (struct test_ff_i_data): Likewise.
15179 (struct test_f_l_data): Likewise.
15180 (struct test_f_L_data): Likewise.
15181 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15182 and extra2_name.
15183 (COMMON_TEST_SETUP): New macro.
15184 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15185 (COMMON_TEST_CLEANUP): Likewise.
15186 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15187 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15188 macros.
15189 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15190 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15191 macros.
15192 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15193 (RUN_TEST_fff_f): Take argument string. Call new setup and
15194 cleanup macros.
15195 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15196 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15197 macros.
15198 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15199 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15200 macros.
15201 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15202 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15203 cleanup macros.
15204 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15205 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15206 cleanup macros.
15207 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15208 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15209 cleanup macros.
15210 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15211 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15212 macros.
15213 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15214 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15215 macros.
15216 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15217 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15218 macros.
15219 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15220 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15221 cleanup macros.
15222 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15223 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15224 cleanup macros.
15225 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15226 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15227 macros.
15228 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15229 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15230 cleanup macros.
15231 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15232 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15233 macros.
15234 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15235 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15236 macros.
15237 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15238 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15239 cleanup macros.
15240 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15241
85118d4d
EBM
152422013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15243
15244 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15245 to _sifields.sigfault.
15246 (si_addr_lsb): Define new macro.
15247 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15250
7a44c18f
CD
152512013-05-03 Carlos O'Donell <carlos at redhat.com>
15252
15253 [BZ #15441]
15254 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15255 returns -1.
15256 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15257 null return -1.
15258 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15259 loading the domain.
15260
b50a7181
JM
152612013-05-22 Joseph Myers <joseph@codesourcery.com>
15262
15263 * math/gen-libm-test.pl (parse_args): Do not include expected
15264 result in test name.
15265 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15267 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15268 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15271
051063c8
SP
152722013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15273
3ce9e010
SP
15274 * benchtests/Makefile: Sort function entries.
15275
051063c8
SP
15276 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15277 tanh, asinh, acosh, atanh.
15278 * benchtests/acos-inputs: New file.
15279 * benchtests/acosh-inputs: New file.
15280 * benchtests/asin-inputs: New file.
15281 * benchtests/asinh-inputs: New file.
15282 * benchtests/atanh-inputs: New file.
15283 * benchtests/cosh-inputs: New file.
15284 * benchtests/log-inputs: New file.
15285 * benchtests/sinh-inputs: New file.
15286 * benchtests/tanh-inputs: New file.
15287
47c22455
DL
152882013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15289
15290 [BZ #15339]
15291 * posix/tst-getaddrinfo4.c: New test.
15292 * posix/Makefile (tests): Add it.
15293
3d04f5db
SP
152942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15295
15296 [BZ #15339]
15297 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15298 when no services were used.
15299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15300 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15301
d5dd6189
AS
153022013-05-21 Andreas Schwab <schwab@suse.de>
15303
15304 [BZ #15014]
15305 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15306 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15307 successful.
15308 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15309 redundant variable declarations and reallocation of buffer when
15310 parsing as IPv6 address. Always set NSS status when called from
15311 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15312 buffer too small. Correct computation of needed size.
15313 * nss/Makefile (tests): Add test-digits-dots.
15314 * nss/test-digits-dots.c: New test.
15315
fef94eab
SP
153162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15317
15318 * benchtests/Makefile: Remove instructions for adding
15319 benchmark tests.
15320 * benchtests/README: New file to explain how to execute and
15321 enhance the benchmark tests.
15322
e39adf43
AS
153232013-05-21 Andreas Schwab <schwab@suse.de>
15324
15325 [BZ #15493]
15326 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15327 * setjmp/tst-sigsetjmp.c: New test.
15328
b2b671b6
OB
153292013-05-20 Ondřej Bílka <neleai@seznam.cz>
15330
15331 * sysdeps/x86_64/memset.S (memset): New implementation.
15332 (__bzero): Likewise.
15333 (__memset_tail): New function.
15334
2d48b41c
OB
153352013-05-20 Ondřej Bílka <neleai@seznam.cz>
15336
15337 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15338 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15339 __memcpy_sse2_unaligned ifunc selection.
15340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15341 Add memcpy-sse2-unaligned.S.
15342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15343 Add: __memcpy_sse2_unaligned.
15344
f16cc3eb
JM
153452013-05-19 Joseph Myers <joseph@codesourcery.com>
15346
3e694268
JM
15347 [BZ #15490]
15348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15349 math_force_eval before restoring floating-point envrionment.
15350 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15352 Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15354 <math_private.h>.
15355 (__nearbyintl): Use math_force_eval before restoring
15356 floating-point environment.
15357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15358
db62a907
JM
15359 * math/gen-libm-test.pl (special_functions): Remove.
15360 (parse_args): Don't handle TEST_extra. Handle functions with no
15361 return value.
15362 * math/libm-test.inc (struct test_sincos_data): Replace with
15363 struct test_fFF_11_data.
15364 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15365 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15366 (sincos_test_data): Change element type to struct
15367 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15368 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15369 RUN_TEST_LOOP_sincos.
15370 * math/README.libm-test: Don't mention special handling of
15371 individual functions.
15372 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15378
f16cc3eb
JM
15379 * math/gen-libm-test.pl (get_variable): Remove function.
15380 (parse_args): Don't show pointer parameters to call in test
15381 names. Use "extra output N" in test names for extra outputs
15382 rather than naming variables.
15383
3779b5b6
JM
153842013-05-18 Joseph Myers <joseph@codesourcery.com>
15385
2ee094ff
JM
15386 [BZ #15488]
15387 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15388 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15389 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15390 double tests.
15391 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15392 disable.
15393 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15394 check_long_double.
15395
3779b5b6
JM
15396 * math/gen-libm-test.pl (@tests): Remove variable.
15397 ($count): Likewise.
15398 (new_test): Remove function.
15399 (show_exceptions): New function.
15400 (special_functions): Use show_exceptions instead of new_test.
15401 (parse_args): Likewise.
15402 (generate_testfile): Pass only function name in generated call to
15403 print_max_error or print_complex_max_error.
15404 (get_ulps): Do not handle complex tests specially.
15405 (output_test): Rename to ...
15406 (get_all_ulps_for_test): ... this. Return a string rather than
15407 printing to a file. Require ulps to be present.
15408 (output_ulps): Generate arrays rather than #defines.
15409 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15410 (struct ulp_data): New type.
15411 (BUILD_COMPLEX_ULP): Remove macro.
15412 (compare_ulp_data): New function.
15413 (find_ulps): Likewise.
15414 (find_test_ulps): Likewise.
15415 (find_function_ulps): Likewise.
15416 (find_complex_function_ulps): Likewise.
15417 (print_max_error): Determine allowed ulps using
15418 find_function_ulps.
15419 (print_complex_max_error): Determine allowed ulps using
15420 find_complex_function_ulps.
15421 (check_float_internal): Determine max ulps using find_test_ulps.
15422 (check_float): Do not take max_ulp parameter. Update call to
15423 check_float_internal.
15424 (check_complex): Likewise.
15425 (check_int): Do not take max_ulp parameter.
15426 (check_long): Likewise.
15427 (check_bool): Likewise.
15428 (check_longlong): Likewise.
15429 (struct test_f_f_data): Remove max_ulp field.
15430 (struct test_ff_f_data): Likewise.
15431 (struct test_ff_f_data_nexttoward): Likewise.
15432 (struct test_fi_f_data): Likewise.
15433 (struct test_fl_f_data): Likewise.
15434 (struct test_if_f_data): Likewise.
15435 (struct test_fff_f_data): Likewise.
15436 (struct test_c_f_data): Likewise.
15437 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15438 (struct test_fF_f1_data): Likewise.
15439 (struct test_ffI_f1_data): Likewise.
15440 (struct test_c_c_data): Remove max_ulp field.
15441 (struct test_cc_c_data): Likewise.
15442 (struct test_f_i_data): Likewise.
15443 (struct test_ff_i_data): Likewise.
15444 (struct test_f_l_data): Likewise.
15445 (struct test_f_L_data): Likewise.
15446 (struct test_sincos_data): Likewise.
15447 (RUN_TEST_f_f): Do not handle ulps.
15448 (RUN_TEST_LOOP_f_f): Likewise.
15449 (RUN_TEST_2_f): Likewise.
15450 (RUN_TEST_LOOP_2_f): Likewise.
15451 (RUN_TEST_fff_f): Likewise.
15452 (RUN_TEST_LOOP_fff_f): Likewise.
15453 (RUN_TEST_c_f): Likewise.
15454 (RUN_TEST_LOOP_c_f): Likewise.
15455 (RUN_TEST_f_f1): Likewise.
15456 (RUN_TEST_LOOP_f_f1): Likewise.
15457 (RUN_TEST_fF_f1): Likewise.
15458 (RUN_TEST_LOOP_fF_f1): Likewise.
15459 (RUN_TEST_fI_f1): Likewise.
15460 (RUN_TEST_LOOP_fI_f1): Likewise.
15461 (RUN_TEST_ffI_f1): Likewise.
15462 (RUN_TEST_LOOP_ffI_f1): Likewise.
15463 (RUN_TEST_c_c): Likewise.
15464 (RUN_TEST_LOOP_c_c): Likewise.
15465 (RUN_TEST_cc_c): Likewise.
15466 (RUN_TEST_LOOP_cc_c): Likewise.
15467 (RUN_TEST_f_i): Likewise.
15468 (RUN_TEST_LOOP_f_i): Likewise.
15469 (RUN_TEST_f_i_tg): Likewise.
15470 (RUN_TEST_LOOP_f_i_tg): Likewise.
15471 (RUN_TEST_ff_i_tg): Likewise.
15472 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15473 (RUN_TEST_f_b): Likewise.
15474 (RUN_TEST_LOOP_f_b): Likewise.
15475 (RUN_TEST_f_b_tg): Likewise.
15476 (RUN_TEST_LOOP_f_b_tg): Likewise.
15477 (RUN_TEST_f_l): Likewise.
15478 (RUN_TEST_LOOP_f_l): Likewise.
15479 (RUN_TEST_f_L): Likewise.
15480 (RUN_TEST_LOOP_f_L): Likewise.
15481 (RUN_TEST_sincos): Likewise.
15482 (RUN_TEST_LOOP_sincos): Likewise.
15483
8269107f
JM
154842013-05-17 Joseph Myers <joseph@codesourcery.com>
15485
bb38759d
JM
15486 [BZ #15480]
15487 [BZ #15485]
15488 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15489 main case of finite arguments, set rounding mode to FE_TONEAREST
15490 and discard exceptions.
15491 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15492 exceptions.
15493 (remainder_tonearest_test_data): New variable.
15494 (remainder_test_tonearest): New function.
15495 (remainder_towardzero_test_data): New variable.
15496 (remainder_test_towardzero): New function.
15497 (remainder_downward_test_data): New variable.
15498 (remainder_test_downward): New function.
15499 (remainder_upward_test_data): New variable.
15500 (remainder_test_upward): New function.
15501 (main): Call the new test functions.
15502
a00bdcf0
JM
15503 * math/libm-test.inc (struct test_f_f1_data): Remove field
15504 extra_init.
15505 (struct test_fF_f1_data): Likewise.
15506 (struct test_ffI_f1_data): Likewise.
15507 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15508 based on value of EXTRA_EXPECTED.
15509 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15510 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15511 EXTRA_VAR based on value of EXTRA_EXPECTED.
15512 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15513 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15514 EXTRA_VAR based on value of EXTRA_EXPECTED.
15515 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15516 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15517 EXTRA_VAR based on value of EXTRA_EXPECTED.
15518 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15519 * math/gen-libm-test.pl (parse_args): Don't output initializers
15520 for extra output values.
15521
de407f79
JM
15522 * math/libm-test.inc (check_int): Expect result to be exactly
15523 equal to expected value and do not handle ulps.
15524 (check_long): Likewise.
15525 (check_longlong): Likewise.
15526
8269107f
JM
15527 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15528 exceptions.
15529 (cimag_test_data): Likewise.
15530 (conj_test_data): Likewise.
15531 (copysign_test_data): Likewise.
15532 (cproj_test_data): Likewise.
15533 (creal_test_data): Likewise.
15534 (fabs_test_data): Likewise.
15535 (fdim_test_data): Likewise.
15536 (finite_test_data): Likewise.
15537 (floor_test_data): Likewise.
15538 (fmax_test_data): Likewise.
15539 (fmin_test_data): Likewise.
15540 (fmod_test_data): Likewise.
15541 (fpclassify_test_data): Likewise.
15542 (frexp_test_data): Likewise.
15543 (ilogb_test_data): Likewise.
15544 (isfinite_test_data): Likewise.
15545 (isgreater_test_data): Likewise.
15546 (isgreaterequal_test_data): Likewise.
15547 (isinf_test_data): Likewise.
15548 (isless_test_data): Likewise.
15549 (islessequal_test_data): Likewise.
15550 (islessgreater_test_data): Likewise.
15551 (isnan_test_data): Likewise.
15552 (isnormal_test_data): Likewise.
15553 (issignaling_test_data): Likewise.
15554 (isunordered_test_data): Likewise.
15555 (ldexp_test_data): Likewise.
15556 (lrint_test_data): Likewise.
15557 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15558 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15559 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15560 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15561 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15562 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15563 test input.
15564 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15565 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15566 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15567 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15568 that test input.
15569 (lrint_downward_test_data): Test for "inexact" exceptions.
15570 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15571 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15572 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15573 test input.
15574 (lrint_upward_test_data): Test for "inexact" exceptions.
15575 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15576 test input.
15577 (llrint_test_data): Test for "inexact" exceptions.
15578 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15579 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15580 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15581 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15582 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15583 (llrint_downward_test_data): Test for "inexact" exceptions.
15584 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15585 (llrint_upward_test_data): Test for "inexact" exceptions.
15586 (logb_test_data): Likewise.
15587 (logb_downward_test_data): Likewise.
15588 (nextafter_test_data): Likewise.
15589 (nexttoward_test_data): Likewise.
15590 (remainder_test_data): Likewise.
15591 (remquo_test_data): Likewise.
15592 (scalbn_test_data): Likewise.
15593 (scalbln_test_data): Likewise.
15594 (signbit_test_data): Likewise.
15595 (sqrt_test_data): Likewise.
15596 (significand_test_data): Likewise.
15597
48a18de1
SP
155982013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15599
15600 [BZ #15424]
15601 * benchtests/bench-modf.c (struct args): Mark arg0 as
15602 volatile.
15603 * scripts/bench.pl: Mark members of struct args as volatile.
15604
13d3b41a
AZ
156052013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
68191c1d 15607 [BZ # 15497]
13d3b41a
AZ
15608 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15609 negative infinity on POWER6 or lower.
15610 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15611
2848b105
MR
156122013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15613
15614 [BZ #15442]
15615 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15616 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15617 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15618 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15619 (_FP_SETQNAN): New macro.
15620 (_FP_SETQNAN_SEMIRAW): Likewise.
15621 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15622 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15623 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15624 (FP_EXTEND): Use _FP_FRAC_SNANP.
15625 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15626 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15627 into account.
15628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15629 New macro.
15630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15631 Likewise.
15632
323e5cb7
JM
156332013-05-16 Joseph Myers <joseph@codesourcery.com>
15634
c58b274f
JM
15635 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15636 with DIVIDE_BY_ZERO_EXCEPTION.
15637 (gamma_test_data): Likewise.
15638 (lgamma_test_data): Likewise.
15639 (log_test_data): Likewise.
15640 (log10_test_data): Likewise.
15641 (log2_test_data): Likewise.
15642 (tgamma_test_data): Likewise.
15643
0ab34904
JM
15644 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15645 (acos_test_tonearest): Likewise.
15646 (acos_test_towardzero): Likewise.
15647 (acos_test_downward): Likewise.
15648 (acos_test_upward): Likewise.
15649 (acosh_test): Likewise.
15650 (asin_test): Likewise.
15651 (asin_test_tonearest): Likewise.
15652 (asin_test_towardzero): Likewise.
15653 (asin_test_downward): Likewise.
15654 (asin_test_upward): Likewise.
15655 (asinh_test): Likewise.
15656 (atan_test): Likewise.
15657 (atanh_test): Likewise.
15658 (atan2_test): Likewise.
15659 (cabs_test): Likewise.
15660 (cacos_test): Likewise.
15661 (cacosh_test): Likewise.
15662 (casin_test): Likewise.
15663 (casinh_test): Likewise.
15664 (catan_test): Likewise.
15665 (catanh_test): Likewise.
15666 (cbrt_test): Likewise.
15667 (ccos_test): Likewise.
15668 (ccosh_test): Likewise.
15669 (cexp_test): Likewise.
15670 (clog_test): Likewise.
15671 (clog10_test): Likewise.
15672 (cos_test): Likewise.
15673 (cos_test_tonearest): Likewise.
15674 (cos_test_towardzero): Likewise.
15675 (cos_test_downward): Likewise.
15676 (cos_test_upward): Likewise.
15677 (cosh_test): Likewise.
15678 (cosh_test_tonearest): Likewise.
15679 (cosh_test_towardzero): Likewise.
15680 (cosh_test_downward): Likewise.
15681 (cosh_test_upward): Likewise.
15682 (cpow_test): Likewise.
15683 (csin_test): Likewise.
15684 (csinh_test): Likewise.
15685 (csqrt_test): Likewise.
15686 (ctan_test): Likewise.
15687 (ctan_test_tonearest): Likewise.
15688 (ctan_test_towardzero): Likewise.
15689 (ctan_test_downward): Likewise.
15690 (ctan_test_upward): Likewise.
15691 (ctanh_test): Likewise.
15692 (ctanh_test_tonearest): Likewise.
15693 (ctanh_test_towardzero): Likewise.
15694 (ctanh_test_downward): Likewise.
15695 (ctanh_test_upward): Likewise.
15696 (erf_test): Likewise.
15697 (erfc_test): Likewise.
15698 (exp_test): Likewise.
15699 (exp_test_tonearest): Likewise.
15700 (exp_test_towardzero): Likewise.
15701 (exp_test_downward): Likewise.
15702 (exp_test_upward): Likewise.
15703 (exp10_test): Likewise.
15704 (exp2_test): Likewise.
15705 (expm1_test): Likewise.
15706 (fmod_test): Likewise.
15707 (gamma_test): Likewise.
15708 (hypot_test): Likewise.
15709 (j0_test): Likewise.
15710 (j1_test): Likewise.
15711 (jn_test): Likewise.
15712 (lgamma_test): Likewise.
15713 (log_test): Likewise.
15714 (log10_test): Likewise.
15715 (log1p_test): Likewise.
15716 (log2_test): Likewise.
15717 (logb_test_downward): Likewise.
15718 (pow_test): Likewise.
15719 (pow_test_tonearest): Likewise.
15720 (pow_test_towardzero): Likewise.
15721 (pow_test_downward): Likewise.
15722 (pow_test_upward): Likewise.
15723 (remainder_test): Likewise.
15724 (remquo_test): Likewise.
15725 (sin_test): Likewise.
15726 (sin_test_tonearest): Likewise.
15727 (sin_test_towardzero): Likewise.
15728 (sin_test_downward): Likewise.
15729 (sin_test_upward): Likewise.
15730 (sincos_test): Likewise.
15731 (sinh_test): Likewise.
15732 (sinh_test_tonearest): Likewise.
15733 (sinh_test_towardzero): Likewise.
15734 (sinh_test_downward): Likewise.
15735 (sinh_test_upward): Likewise.
15736 (sqrt_test): Likewise.
15737 (tan_test): Likewise.
15738 (tan_test_tonearest): Likewise.
15739 (tan_test_towardzero): Likewise.
15740 (tan_test_downward): Likewise.
15741 (tan_test_upward): Likewise.
15742 (tanh_test): Likewise.
15743 (tgamma_test): Likewise.
15744 (y0_test): Likewise.
15745 (y1_test): Likewise.
15746 (yn_test): Likewise.
15747
323e5cb7
JM
15748 * math/gen-libm-test.pl (adjust_arg): Remove function.
15749 (special_function): Remove argument $in_func. Only handle
15750 generating output for tables of tests, not inside functions.
15751 (parse_args): Likewise.
15752 (generate_testfile): Remove variable $in_func. Update call to
15753 parse_args.
15754 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15755 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15756 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15757 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15758 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15759 (MAX_VALUE_INIT): Rename macro to max_value.
15760 (MIN_VALUE_INIT): Rename macro to min_value.
15761 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15762 (plus_zero): Remove variable.
15763 (minus_zero): Likewise.
15764 (plus_infty): Likewise.
15765 (minus_infty): Likewise.
15766 (qnan_value): Likewise.
15767 (max_value): Likewise.
15768 (min_value): Likewise.
15769 (min_subnorm_value): Likewise.
15770
e054f494
RA
157712013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15772
15773 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15774 uint64_t or uint32_t usage.
15775 * crypt/sha256-block.c: Likewise.
15776 * crypt/sha256-crypt.c: Likewise.
15777 * crypt/sha256.c: Likewise.
15778 * crypt/sha512-block.c: Likewise.
15779 * crypt/sha512-crypt.c: Likewise.
15780 * crypt/sha512.c: Likewise.
15781 * debug/backtrace-tst.c: Likewise.
15782 * debug/pcprofiledump.c: Likewise.
15783 * elf/cache.c: Likewise.
15784 * elf/dl-cache.c: Likewise.
15785 * elf/dl-misc.c: Likewise.
15786 * elf/dl-profile.c: Likewise.
15787 * elf/dl-support.c: Likewise.
15788 * elf/ldconfig.c: Likewise.
15789 * elf/sprof.c: Likewise.
15790 * iconv/dummy-repertoire.c: Likewise.
15791 * iconv/iconv_charmap.c: Likewise.
15792 * iconv/skeleton.c: Likewise.
15793 * iconvdata/8bit-generic.c: Likewise.
15794 * iconvdata/cp737.h: Likewise.
15795 * iconvdata/cp775.h: Likewise.
15796 * iconvdata/ibm1008.h: Likewise.
15797 * iconvdata/ibm1025.h: Likewise.
15798 * iconvdata/ibm1046.h: Likewise.
15799 * iconvdata/ibm1097.h: Likewise.
15800 * iconvdata/ibm1112.h: Likewise.
15801 * iconvdata/ibm1122.h: Likewise.
15802 * iconvdata/ibm1123.h: Likewise.
15803 * iconvdata/ibm1124.h: Likewise.
15804 * iconvdata/ibm1129.h: Likewise.
15805 * iconvdata/ibm1130.h: Likewise.
15806 * iconvdata/ibm1132.h: Likewise.
15807 * iconvdata/ibm1133.h: Likewise.
15808 * iconvdata/ibm1137.h: Likewise.
15809 * iconvdata/ibm1140.h: Likewise.
15810 * iconvdata/ibm1141.h: Likewise.
15811 * iconvdata/ibm1142.h: Likewise.
15812 * iconvdata/ibm1143.h: Likewise.
15813 * iconvdata/ibm1144.h: Likewise.
15814 * iconvdata/ibm1145.h: Likewise.
15815 * iconvdata/ibm1146.h: Likewise.
15816 * iconvdata/ibm1147.h: Likewise.
15817 * iconvdata/ibm1148.h: Likewise.
15818 * iconvdata/ibm1149.h: Likewise.
15819 * iconvdata/ibm1153.h: Likewise.
15820 * iconvdata/ibm1154.h: Likewise.
15821 * iconvdata/ibm1155.h: Likewise.
15822 * iconvdata/ibm1156.h: Likewise.
15823 * iconvdata/ibm1157.h: Likewise.
15824 * iconvdata/ibm1158.h: Likewise.
15825 * iconvdata/ibm1160.h: Likewise.
15826 * iconvdata/ibm1161.h: Likewise.
15827 * iconvdata/ibm1162.h: Likewise.
15828 * iconvdata/ibm1163.h: Likewise.
15829 * iconvdata/ibm1164.h: Likewise.
15830 * iconvdata/ibm1166.h: Likewise.
15831 * iconvdata/ibm1167.h: Likewise.
15832 * iconvdata/ibm12712.h: Likewise.
15833 * iconvdata/ibm1390.h: Likewise.
15834 * iconvdata/ibm1399.h: Likewise.
15835 * iconvdata/ibm16804.h: Likewise.
15836 * iconvdata/ibm4517.h: Likewise.
15837 * iconvdata/ibm4899.h: Likewise.
15838 * iconvdata/ibm4909.h: Likewise.
15839 * iconvdata/ibm4971.h: Likewise.
15840 * iconvdata/ibm5347.h: Likewise.
15841 * iconvdata/ibm803.h: Likewise.
15842 * iconvdata/ibm856.h: Likewise.
15843 * iconvdata/ibm901.h: Likewise.
15844 * iconvdata/ibm902.h: Likewise.
15845 * iconvdata/ibm9030.h: Likewise.
15846 * iconvdata/ibm9066.h: Likewise.
15847 * iconvdata/ibm921.h: Likewise.
15848 * iconvdata/ibm922.h: Likewise.
15849 * iconvdata/ibm9448.h: Likewise.
15850 * iconvdata/isiri-3342.h: Likewise.
15851 * iconvdata/jis0201.h: Likewise.
15852 * include/link.h: Likewise.
15853 * include/netdb.h: Likewise.
15854 * inet/check_native.c: Likewise.
15855 * inet/check_pf.c: Likewise.
15856 * inet/getipv4sourcefilter.c: Likewise.
15857 * inet/getnameinfo.c: Likewise.
15858 * inet/getsourcefilter.c: Likewise.
15859 * inet/htonl.c: Likewise.
15860 * inet/setipv4sourcefilter.c: Likewise.
15861 * inet/setsourcefilter.c: Likewise.
15862 * inet/test-inet6_opt.c: Likewise.
15863 * inet/tst-network.c: Likewise.
15864 * locale/C-collate.c: Likewise.
15865 * locale/C-ctype.c: Likewise.
15866 * locale/C-time.c: Likewise.
15867 * locale/C-translit.h: Likewise.
15868 * locale/loadarchive.c: Likewise.
15869 * locale/programs/3level.h: Likewise.
15870 * locale/programs/charmap.c: Likewise.
15871 * locale/programs/charmap.h: Likewise.
15872 * locale/programs/ld-address.c: Likewise.
15873 * locale/programs/ld-collate.c: Likewise.
15874 * locale/programs/ld-ctype.c: Likewise.
15875 * locale/programs/ld-identification.c: Likewise.
15876 * locale/programs/ld-measurement.c: Likewise.
15877 * locale/programs/ld-messages.c: Likewise.
15878 * locale/programs/ld-monetary.c: Likewise.
15879 * locale/programs/ld-name.c: Likewise.
15880 * locale/programs/ld-numeric.c: Likewise.
15881 * locale/programs/ld-paper.c: Likewise.
15882 * locale/programs/ld-telephone.c: Likewise.
15883 * locale/programs/ld-time.c: Likewise.
15884 * locale/programs/linereader.c: Likewise.
15885 * locale/programs/locale.c: Likewise.
15886 * locale/programs/locarchive.c: Likewise.
15887 * locale/programs/locfile.h: Likewise.
15888 * locale/programs/repertoire.c: Likewise.
15889 * locale/programs/simple-hash.c: Likewise.
15890 * locale/programs/simple-hash.h: Likewise.
15891 * malloc/memusage.c: Likewise.
15892 * malloc/memusagestat.c: Likewise.
15893 * nis/nis_defaults.c: Likewise.
15894 * nis/nis_hash.c: Likewise.
15895 * nis/nis_print.c: Likewise.
15896 * nis/nis_xdr.c: Likewise.
15897 * nscd/connections.c: Likewise.
15898 * nscd/hstcache.c: Likewise.
15899 * nscd/nscd_gethst_r.c: Likewise.
15900 * nscd/nscd_getserv_r.c: Likewise.
15901 * nscd/nscd_helper.c: Likewise.
15902 * nscd/servicescache.c: Likewise.
15903 * nss/makedb.c: Likewise.
15904 * nss/nss_db/db-XXX.c: Likewise.
15905 * nss/nss_db/db-initgroups.c: Likewise.
15906 * nss/nss_db/db-netgrp.c: Likewise.
15907 * nss/nss_files/files-network.c: Likewise.
15908 * nss/nss_files/files-parse.c: Likewise.
15909 * posix/bug-regex5.c: Likewise.
15910 * posix/fnmatch_loop.c: Likewise.
15911 * posix/regcomp.c: Likewise.
15912 * posix/regexec.c: Likewise.
15913 * posix/tst-rfc3484-2.c: Likewise.
15914 * posix/tst-rfc3484-3.c: Likewise.
15915 * posix/tst-rfc3484.c: Likewise.
15916 * resolv/nss_dns/dns-canon.c: Likewise.
15917 * resolv/nss_dns/dns-network.c: Likewise.
15918 * resolv/res_init.c: Likewise.
15919 * resolv/res_mkquery.c: Likewise.
15920 * resolv/tst-aton.c: Likewise.
15921 * stdlib/cxa_atexit.c: Likewise.
15922 * stdlib/cxa_finalize.c: Likewise.
15923 * stdlib/gen-fpioconst.c: Likewise.
15924 * stdlib/strtol_l.c: Likewise.
15925 * string/tst-endian.c: Likewise.
15926 * sunrpc/auth_des.c: Likewise.
15927 * sunrpc/clnt_udp.c: Likewise.
15928 * sunrpc/rtime.c: Likewise.
15929 * sunrpc/svcauth_des.c: Likewise.
15930 * sunrpc/xdr.c: Likewise.
15931 * sunrpc/xdr_intXX_t.c: Likewise.
15932 * sunrpc/xdr_rec.c: Likewise.
15933 * sysdeps/generic/ldconfig.h: Likewise.
15934 * sysdeps/generic/ldsodefs.h: Likewise.
15935 * sysdeps/generic/memusage.h: Likewise.
15936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15946 * sysdeps/posix/getaddrinfo.c: Likewise.
15947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15949 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15951 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15952 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15953 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15954 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15955 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15956 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15957 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15958 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15959 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15960 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15962 * sysdeps/x86_64/dl-tls.h: Likewise.
15963 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15964 * time/alt_digit.c: Likewise.
15965 * time/era.c: Likewise.
15966 * wcsmbs/tst-c16c32-1.c: Likewise.
15967
8c75f674
JM
159682013-05-16 Joseph Myers <joseph@codesourcery.com>
15969
15970 * math/libm-test.inc (struct test_sincos_data): New type.
15971 (RUN_TEST_LOOP_sincos): New macro.
15972 (sincos_test_data): New variable.
15973 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15974
e6e49e59
RH
159752013-05-16 Richard Henderson <rth@redhat.com>
15976
15977 * math/atest-exp2.c (LIMB64): New macro.
15978 (CONSTSZ): New macro.
15979 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15980 (hexdig): Move ...
15981 (print_mpn_fp): ... to function scope.
15982 (read_mpn_hex): Remove.
15983 (get_log2): Remove.
15984 (exp2_mpn): Use mp_log2.
15985 (main): Use mp_exp1.
15986
15c7c18d
JM
159872013-05-16 Joseph Myers <joseph@codesourcery.com>
15988
105a07df
JM
15989 * math/libm-test.inc: Remove comment about not testing "inexact"
15990 exceptions.
15991 (INEXACT_EXCEPTION): New macro.
15992 (NO_INEXACT_EXCEPTION): Likewise.
15993 (INVALID_EXCEPTION_OK): Update value.
15994 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15995 (OVERFLOW_EXCEPTION_OK): Likewise.
15996 (UNDERFLOW_EXCEPTION_OK): Likewise.
15997 (IGNORE_ZERO_INF_SIGN): Likewise.
15998 (ERRNO_UNCHANGED): Likewise.
15999 (ERRNO_EDOM): Likewise.
16000 (ERRNO_ERANGE): Likewise.
16001 (test_exceptions): Handle testing "inexact" exceptions.
16002 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16003 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16004 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16005 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16006 INEXACT_EXCEPTION.
16007 (rint_towardzero_test_data): Likewise.
16008 (rint_downward_test_data): Likewise.
16009 (rint_upward_test_data): Likewise.
16010
e9eee333
JM
16011 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16012 with OVERFLOW_EXCEPTION.
16013 (exp10_test_data): Likewise.
16014 (exp2_test_data): Likewise.
16015 (expm1_test_data): Likewise.
16016 (lgamma_test_data): Likewise.
16017 (pow_test_data): Likewise.
16018 (tgamma_test_data): Likewise.
16019 (yn_test_data): Remove duplicate test of overflow.
16020
1c38ff73
JM
16021 * math/libm-test.inc (struct test_cc_c_data): New type.
16022 (RUN_TEST_LOOP_cc_c): New macro.
16023 (cpow_test_data): New variable.
16024 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16025
15c7c18d
JM
16026 * math/libm-test.inc (struct test_f_L_data): New type.
16027 (RUN_TEST_LOOP_f_L): New macro.
16028 (llrint_test_data): New variable.
16029 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16030 (llrint_tonearest_test_data): New variable.
16031 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16032 (llrint_towardzero_test_data): New variable.
16033 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16034 (llrint_downward_test_data): New variable.
16035 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16036 (llrint_upward_test_data): New variable.
16037 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16038 (llround_test_data): New variable.
16039 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16040
f137ff13
PC
160412013-05-13 Peter Collingbourne <pcc@google.com>
16042
16043 * math/atest-exp2.c (get_log2): Remove const attribute.
16044
3608cb24
JM
160452013-05-15 Joseph Myers <joseph@codesourcery.com>
16046
16047 * math/libm-test.inc (struct test_f_l_data): New type.
16048 (RUN_TEST_LOOP_f_l): New macro.
16049 (lrint_test_data): New variable.
16050 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16051 (lrint_tonearest_test_data): New variable.
16052 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16053 (lrint_towardzero_test_data): New variable.
16054 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16055 (lrint_downward_test_data): New variable.
16056 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16057 (lrint_upward_test_data): New variable.
16058 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16059 (lround_test_data): New variable.
16060 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16061
39b1f617
PC
160622013-05-15 Peter Collingbourne <pcc@google.com>
16063
1deff3dc
PC
16064 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16065 (EXTRACT_WORDS64) Use where appropriate.
16066 (INSERT_WORDS64) Likewise.
16067
791f3ba0
PC
16068 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16069 constraints with x constraints.
16070 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16071
39b1f617
PC
16072 * malloc/obstack.c (_obstack_compat): Add initializer.
16073
12fba011
EM
160742013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16075
16076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16077 si_trapno and add si_addr_lsb to _sifields.sigfault.
16078 (si_trapno): Remove macro.
16079 (si_addr_lsb): Define new macro.
16080 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16081
d369f531
JM
160822013-05-15 Joseph Myers <joseph@codesourcery.com>
16083
b861c6c4
JM
16084 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16085 instead of TEST_f_l.
16086 (llrint_test_tonearest): Likewise.
16087 (llrint_test_towardzero): Likewise.
16088 (llrint_test_downward): Likewise.
16089 (llrint_test_upward): Likewise.
16090 (llround_test): Likewise.
16091
7abeee12
JM
16092 * math/libm-test.inc (struct test_f_i_data): Add comment.
16093 (RUN_TEST_LOOP_f_b): New macro.
16094 (RUN_TEST_LOOP_f_b_tg): Likewise.
16095 (finite_test_data): New variable.
16096 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16097 (isfinite_test_data): New variable.
16098 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16099 (isinf_test_data): New variable.
16100 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16101 (isnan_test_data): New variable.
16102 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16103 (isnormal_test_data): New variable.
16104 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16105 (issignaling_test_data): New variable.
16106 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16107 (signbit_test_data): New variable.
16108 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16109
cbe8c4d3
JM
16110 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16111 with INVALID_EXCEPTION.
16112 (acosh_test_data): Likewise.
16113 (asin_test_data): Likewise.
16114 (atanh_test_data): Likewise.
16115 (fmod_test_data): Likewise.
16116 (log_test_data): Likewise.
16117 (log10_test_data): Likewise.
16118 (log2_test_data): Likewise.
16119 (pow_test_data): Likewise.
16120 (sqrt_test_data): Likewise.
16121 (y0_test_data): Likewise.
16122 (y1_test_data): Likewise.
16123 (yn_test_data): Likewise.
16124
5575c0e5
JM
16125 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16126 function contents.
16127
d369f531
JM
16128 * math/libm-test.inc (struct test_ff_i_data): New type.
16129 (RUN_TEST_LOOP_ff_i_tg): New macro.
16130 (isgreater_test_data): New variable.
16131 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16132 (isgreaterequal_test_data): New variable.
16133 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16134 (isless_test_data): New variable.
16135 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16136 (islessequal_test_data): New variable.
16137 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16138 (islessgreater_test_data): New variable.
16139 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16140 (isunordered_test_data): New variable.
16141 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16142
781fd748
DM
161432013-05-14 David S. Miller <davem@davemloft.net>
16144
16145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16146
87aa21df
JM
161472013-05-14 Joseph Myers <joseph@codesourcery.com>
16148
5e908270
JM
16149 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16150
f71172e5
JM
16151 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16152 extra_test to int.
16153 (struct test_f_i_data): Change type of max_ulp to int.
16154
8cfa635a
JM
16155 * math/libm-test.inc (test_ffI_f1_data): New type.
16156 (RUN_TEST_LOOP_ffI_f1): New macro.
16157 (remquo_test_data): New variable.
16158 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16159
2bcb36b2
JM
16160 * setjmp/tst-setjmp-fp.c: New file.
16161 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16162 (link-libm): New variable.
16163 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16164
acbd839a
JM
16165 * math/libm-test.inc (struct test_f_i_data): New type.
16166 (RUN_TEST_LOOP_f_i): New macro.
16167 (RUN_TEST_LOOP_f_i_tg): Likewise.
16168 (fpclassify_test_data): New variable.
16169 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16170 (ilogb_test_data): New variable.
16171 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16172
e414d745
JM
16173 * math/libm-test.inc (scalbln_test): Correct function name in END
16174 call.
16175
d9c2a0fd
JM
16176 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16177 (RUN_TEST_LOOP_fI_f1): New macro.
16178 (frexp_test_data): New variable.
16179 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16180
9dc9095d
JM
16181 * math/libm-test.inc (struct test_fF_f1_data): New type.
16182 (RUN_TEST_LOOP_fF_f1): New macro.
16183 (modf_test_data): New variable.
16184 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16185
87aa21df
JM
16186 * math/libm-test.inc (struct test_f_f1_data): New type.
16187 (RUN_TEST_LOOP_f_f1): New macro.
16188 (gamma_test_data): New variable.
16189 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16190 (lgamma_test_data): New variable.
16191 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16192
141af660
CD
161932013-05-13 Carlos O'Donell <carlos@redhat.com>
16194
16195 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16196 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16197 (main): Comment "tls" pseudo-hwcap.
16198
6d33265c
JM
161992013-05-13 Joseph Myers <joseph@codesourcery.com>
16200
68fc074c
JM
16201 * math/libm-test.inc (struct test_fl_f_data): New type.
16202 (RUN_TEST_LOOP_fl_f): New variable.
16203 (scalbln_test_data): New variable.
16204 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16205
243216e1
JM
16206 * math/libm-test.inc (struct test_fi_f_data): New type.
16207 (RUN_TEST_LOOP_fi_f): New macro.
16208 (ldexp_test_data): New variable.
16209 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16210 (scalbn_test_data): New variable.
16211 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16212
6a1992e2
JM
16213 * math/libm-test.inc (struct test_c_f_data): New type.
16214 (RUN_TEST_LOOP_c_f): New macro.
16215 (cabs_test_data): New variable.
16216 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16217 (carg_test_data): New variable.
16218 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16219 (cimag_test_data): New variable.
16220 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16221 (creal_test_data): New variable.
16222 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16223
0e400df5
JM
16224 * math/libm-test.inc (struct test_if_f_data): New type.
16225 (RUN_TEST_LOOP_if_f): New macro.
16226 (jn_test_data): New variable.
16227 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16228 (yn_test_data): New variable.
16229 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16230
6d33265c
JM
16231 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16232
f98ece5f
AZ
162332013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16234
16235 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16236 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16237
0f7d347b
SP
162382013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16239
43fe811b
SP
16240 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16241 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16242 (bench-deps): Add bench-timing.h.
16243 * benchtests-bench-skeleton.c: Include bench-timing.h.
16244 (main): Use TIMING_* macros instead of clock_gettime.
16245 * benchtests/bench-timing.h: New file.
16246
0f7d347b
SP
16247 [BZ #14582]
16248 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16249 Renamed from _LIB_VERSION.
16250 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16251
601a3a5f
JM
162522013-05-12 Joseph Myers <joseph@codesourcery.com>
16253
4f184d30
JM
16254 * math/libm-test.inc (struct test_fff_f_data): New type.
16255 (RUN_TEST_LOOP_fff_f): New macro.
16256 (fma_test_data): New variable.
16257 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16258 (fma_towardzero_test_data): New variable.
16259 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16260 (fma_downward_test_data): New variable.
16261 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16262 (fma_upward_test_data): New variable.
16263 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16264
08198877
JM
16265 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16266 (struct test_c_c_data): New type.
16267 (RUN_TEST_LOOP_c_c): New macro.
16268 (cacos_test_data): New variable.
16269 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16270 (cacosh_test_data): New variable.
16271 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16272 (casin_test_data): New variable.
16273 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16274 (casinh_test_data): New variable.
16275 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16276 (catan_test_data): New variable.
16277 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16278 (catanh_test_data): New variable.
16279 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16280 (ccos_test_data): New variable.
16281 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16282 (ccosh_test_data): New variable.
16283 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16284 (cexp_test_data): New variable.
16285 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16286 (clog_test_data): New variable.
16287 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16288 (clog10_test_data): New variable.
16289 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16290 (conj_test_data): New variable.
16291 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16292 (cproj_test_data): New variable.
16293 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16294 (csin_test_data): New variable.
16295 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16296 (csinh_test_data): New variable.
16297 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16298 (csqrt_test_data): New variable.
16299 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16300 (ctan_test_data): New variable.
16301 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16302 (ctan_tonearest_test_data): New variable.
16303 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16304 (ctan_towardzero_test_data): New variable.
16305 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16306 (ctan_downward_test_data): New variable.
16307 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16308 (ctan_upward_test_data): New variable.
16309 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16310 (ctanh_test_data): New variable.
16311 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16312 (ctanh_tonearest_test_data): New variable.
16313 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16314 (ctanh_towardzero_test_data): New variable.
16315 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16316 (ctanh_downward_test_data): New variable.
16317 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16318 (ctanh_upward_test_data): New variable.
16319 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16320 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16321 of BUILD_COMPLEX.
16322
601a3a5f
JM
16323 * math/libm-test.inc (struct test_ff_f_data): New type.
16324 (struct test_ff_f_data_nexttoward): Likewise.
16325 (RUN_TEST_LOOP_2_f): New macro.
16326 (RUN_TEST_LOOP_ff_f): Likewise.
16327 (atan2_test_data): New variable.
16328 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16329 (copysign_test_data): New variable.
16330 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16331 (fdim_test_data): New variable.
16332 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16333 (fmax_test_data): New variable.
16334 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16335 (fmin_test_data): New variable.
16336 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16337 (fmod_test_data): New variable.
16338 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16339 (hypot_test_data): New variable.
16340 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16341 (nextafter_test_data): New variable.
16342 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16343 (nexttoward_test_data): New variable.
16344 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16345 (pow_test_data): New variable.
16346 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16347 (pow_tonearest_test_data): New variable.
16348 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16349 (pow_towardzero_test_data): New variable.
16350 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16351 (pow_downward_test_data): New variable.
16352 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16353 (pow_upward_test_data): New variable.
16354 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16355 (remainder_test_data): New variable.
16356 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16357 (scalb_test_data): New variable.
16358 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16359 * sysdeps/i386/fpu/libm-test-ulps: Update.
16360
74c57478
JM
163612013-05-11 Joseph Myers <joseph@codesourcery.com>
16362
8329e4da
JM
16363 * math/libm-test.inc (fma_test): Use max_value instead of local
16364 variable fltmax.
16365 (nextafter_test): Likewise.
16366
74c57478
JM
16367 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16368 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16369 (acos_downward_test_data): New variable.
16370 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16371 (acos_upward_test_data): New variable.
16372 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16373 (acosh_test_data): New variable.
16374 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16375 (asin_test_data): New variable.
16376 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16377 (asin_tonearest_test_data): New variable.
16378 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16379 (asin_towardzero_test_data): New variable.
16380 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16381 (asin_downward_test_data): New variable.
16382 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16383 (asin_upward_test_data): New variable.
16384 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16385 (asinh_test_data): New variable.
16386 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (atan_test_data): New variable.
16388 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16389 (atanh_test_data): New variable.
16390 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16391 (cbrt_test_data): New variable.
16392 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16393 (ceil_test_data): New variable.
16394 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16395 (cos_test_data): New variable.
16396 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16397 (cos_tonearest_test_data): New variable.
16398 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16399 (cos_towardzero_test_data): New variable.
16400 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16401 (cos_downward_test_data): New variable.
16402 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16403 (cos_upward_test_data): New variable.
16404 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16405 (cosh_test_data): New variable.
16406 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16407 (cosh_tonearest_test_data): New variable.
16408 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16409 (cosh_towardzero_test_data): New variable.
16410 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16411 (cosh_downward_test_data): New variable.
16412 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16413 (cosh_upward_test_data): New variable.
16414 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16415 (erf_test_data): New variable.
16416 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16417 (erfc_test_data): New variable.
16418 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16419 (exp_test_data): New variable.
16420 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16421 (exp_tonearest_test_data): New variable.
16422 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16423 (exp_towardzero_test_data): New variable.
16424 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16425 (exp_downward_test_data): New variable.
16426 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16427 (exp_upward_test_data): New variable.
16428 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16429 (exp10_test_data): New variable.
16430 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16431 (exp2_test_data): New variable.
16432 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16433 (expm1_test_data): New variable.
16434 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16435 (fabs_test_data): New variable.
16436 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16437 (floor_test_data): New variable.
16438 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16439 (j0_test_data): New variable.
16440 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16441 (j1_test_data): New variable.
16442 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16443 (log_test_data): New variable.
16444 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16445 (log10_test_data): New variable.
16446 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16447 (log1p_test_data): New variable.
16448 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16449 (log2_test_data): New variable.
16450 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16451 (logb_test_data): New variable.
16452 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16453 (logb_downward_test_data): New variable.
16454 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16455 (nearbyint_test_data): New variable.
16456 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16457 (rint_test_data): New variable.
16458 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16459 (rint_tonearest_test_data): New variable.
16460 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16461 (rint_towardzero_test_data): New variable.
16462 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16463 (rint_downward_test_data): New variable.
16464 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16465 (rint_upward_test_data): New variable.
16466 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16467 (round_test_data): New variable.
16468 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16469 (sin_test_data): New variable.
16470 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16471 (sin_tonearest_test_data): New variable.
16472 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16473 (sin_towardzero_test_data): New variable.
16474 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16475 (sin_downward_test_data): New variable.
16476 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16477 (sin_upward_test_data): New variable.
16478 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16479 (sinh_test_data): New variable.
16480 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16481 (sinh_tonearest_test_data): New variable.
16482 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16483 (sinh_towardzero_test_data): New variable.
16484 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16485 (sinh_downward_test_data): New variable.
16486 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16487 (sinh_upward_test_data): New variable.
16488 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16489 (sqrt_test_data): New variable.
16490 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16491 (tan_test_data): New variable.
16492 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16493 (tan_tonearest_test_data): New variable.
16494 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16495 (tan_towardzero_test_data): New variable.
16496 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16497 (tan_downward_test_data): New variable.
16498 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16499 (tan_upward_test_data): New variable.
16500 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16501 (tanh_test_data): New variable.
16502 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16503 (tgamma_test_data): New variable.
16504 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16505 (trunc_test_data): New variable.
16506 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16507 (y0_test_data): New variable.
16508 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16509 (y1_test_data): New variable.
16510 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16511 (significand_test_data): New variable.
16512 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16513
7187d844
CG
165142013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16515
16516 [BZ #12387]
16517 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16518
f63fae73
PT
165192013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16520
16521 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16522
8a67a4b3
AJ
165232013-05-10 Andreas Jaeger <aj@suse.de>
16524
16525 [BZ #15448]
16526 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16527 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16528
51df539d
JM
165292013-05-10 Joseph Myers <joseph@codesourcery.com>
16530
16531 * math/gen-libm-test.pl (adjust_arg): New function.
16532 (special_functions): Handle generating output in both functions
16533 and arrays.
16534 (parse_args): Likewise.
16535 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16536 $in_func argument to parse_args.
16537 * math/libm-test.inc (struct test_f_f_data): New type.
16538 (IF_ROUND_INIT_): New macro.
16539 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16540 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16541 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16542 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16543 (ROUND_RESTORE_): Likewise.
16544 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16545 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16546 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16547 (ROUND_RESTORE_FE_UPWARD): Likewise.
16548 (RUN_TEST_LOOP_f_f): New macro.
16549 (acos_test_data): New variable.
16550 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16551 (acos_tonearest_test_data): New variable.
16552 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16553
5c637fe5
SP
165542013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16555
16556 * benchtests/bench-skeleton.c (startup): Fix coding style.
16557
ab2b9461
JM
165582013-05-10 Joseph Myers <joseph@codesourcery.com>
16559
16560 [BZ #6809]
16561 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16562 negative infinity argument.
16563 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16564 negative infinity argument.
16565 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16566 negative infinity argument.
16567 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16568 domain errors.
16569
4c0fe6fe
FW
165702013-05-10 Florian Weimer <fweimer@redhat.com>
16571
16572 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16573 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16574 * iconv/iconv_prog.c (main): Likewise.
16575 * locale/programs/charmap-dir.c (charmap_readdir)
16576 (fopen_uncompressed): Likewise.
16577 * locale/programs/locfile.c (siblings_uncached)
16578 (write_locale_data): Use lstat64 instead of lstat.
16579 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16580 stat.
16581
a3375d29
AJ
165822013-05-10 Andreas Jaeger <aj@suse.de>
16583
16584 [BZ #15395]
16585 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16586 localization.
16587 Include <locale.h>.
16588
36129722
CD
165892013-05-09 Carlos O'Donell <carlos@redhat.com>
16590
16591 * elf/dl-close.c (_dl_close_worker): Add comments.
16592
faa7f811
JM
165932013-05-09 Joseph Myers <joseph@codesourcery.com>
16594
ed41ffef
JM
16595 [BZ #15359]
16596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16597 high part of pi/2.
16598 (__ieee754_rem_pio2l): Update comments.
16599
d0213cd0
JM
16600 [BZ #15429]
16601 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16602 high part of pi/2.
16603 (__ieee754_rem_pio2l): Update comments.
16604
0d3e777a
JM
16605 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16606 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16607
24f56066
JM
16608 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16609 M_PI_4l.
16610
faa7f811
JM
16611 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16612 (M_PI_34_LOG10El): Likewise.
16613 (M_PI2_LOG10El): Likewise.
16614 (M_PI4_LOG10El): Likewise.
16615 (M_PI_LOG10El): Likewise.
16616
e9a5e0fd
AZ
166172013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16618
16619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16620
d8cd06db
JM
166212013-05-08 Joseph Myers <joseph@codesourcery.com>
16622
a0d9f9d7
JM
16623 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16624 (MINUS_ZERO_INIT): Likewise.
16625 (PLUS_INFTY_INIT): Likewise.
16626 (MINUS_INFTY_INIT): Likewise.
16627 (QNAN_VALUE_INIT): Likewise.
16628 (MAX_VALUE_INIT): Likewise.
16629 (MIN_VALUE_INIT): Likewise.
16630 (MIN_SUBNORM_VALUE_INIT): Likewise.
16631 (plus_zero): Initialize with PLUS_ZERO_INIT.
16632 (minus_zero): Initialize with MINUS_ZERO_INIT.
16633 (plus_infty): Initialize with PLUS_INFTY_INIT.
16634 (minus_infty): Initialize with MINUS_INFTY_INIT.
16635 (qnan_value): Initialize with QNAN_VALUE_INIT.
16636 (max_value): Initialize with MAX_VALUE_INIT.
16637 (min_value): Initialize with MIN_VALUE_INIT.
16638 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16639
ae08db3b
JM
16640 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16641 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16642 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16643 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16644
f44bf14a
JM
16645 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16646 (RUN_TEST_2_f): Likewise.
16647 (RUN_TEST_ff_f): Likewise.
16648 (RUN_TEST_fi_f): Likewise.
16649 (RUN_TEST_fl_f): Likewise.
16650 (RUN_TEST_fff_f): Likewise.
16651 (RUN_TEST_c_f): Likewise.
16652 (RUN_TEST_f_f1): Likewise.
16653 (RUN_TEST_fF_f1): Likewise.
16654 (RUN_TEST_fI_f1): Likewise.
16655 (RUN_TEST_ffI_f1): Likewise.
16656 (RUN_TEST_c_c): Likewise.
16657 (RUN_TEST_cc_c): Likewise.
16658 (RUN_TEST_f_i): Likewise.
16659 (RUN_TEST_f_i_tg): Likewise.
16660 (RUN_TEST_ff_i_tg): Likewise.
16661 (RUN_TEST_f_b): Likewise.
16662 (RUN_TEST_f_b_tg): Likewise.
16663 (RUN_TEST_f_l): Likewise.
16664 (RUN_TEST_f_L): Likewise.
16665 (RUN_TEST_sincos): Likewise.
16666 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16667 whether to show exceptions. Do not include ");\n" in return
16668 value.
16669 (special_functions): Output call to RUN_TEST_sincos instead of
16670 check_float calls. Update calls to new_test.
16671 (parse_args): Output call to single RUN_TEST_* macro instead of
16672 check_* calls and other assignments. Update calls to new_test.
16673
d8cd06db
JM
16674 [BZ #2546]
16675 [BZ #2560]
16676 [BZ #5159]
16677 [BZ #15426]
16678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16679 input to result for tgamma overflow.
16680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16681 (gamma_coeff): New variable.
16682 (NCOEFF): New macro.
16683 (gamma_positive): New function.
16684 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16685 underflow here. Use gamma_positive instead of exp (lgamma) for
16686 other arguments.
16687 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16688 (gamma_coeff): New variable.
16689 (NCOEFF): New macro.
16690 (gammaf_positive): New function.
16691 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16692 underflow here. Use gamma_positive instead of exp (lgamma) for
16693 other arguments.
16694 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16695 (gamma_coeff): New variable.
16696 (NCOEFF): New macro.
16697 (gammal_positive): New function.
16698 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16699 underflow here. Use gamma_positive instead of exp (lgamma) for
16700 other arguments.
16701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16702 (gamma_coeff): New variable.
16703 (NCOEFF): New macro.
16704 (gammal_positive): New function.
16705 (__ieee754_gammal_r): Handle positive infinity, overflow and
16706 underflow here. Handle NaN the same as positive infinity. Remove
16707 check x < 0xffffffff for negative integers. Use gamma_positive
16708 instead of exp (lgamma) for other arguments.
16709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16710 (gamma_coeff): New variable.
16711 (NCOEFF): New macro.
16712 (gammal_positive): New function.
16713 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16714 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16718 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16719 * sysdeps/generic/math_private.h (__gamma_productf): New
16720 prototype.
16721 (__gamma_product): Likewise.
16722 (__gamma_productl): Likewise.
16723 * math/Makefile (libm-calls): Add gamma_product.
16724 * math/libm-test.inc (tgamma_test): Add more tests.
16725 * sysdeps/i386/fpu/libm-test-ulps: Update.
16726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16727
bb7cf681
OB
167282013-05-08 Ondřej Bílka <neleai@seznam.cz>
16729
16730 * benchtests/bench-skeleton.c (main): Preheat CPU.
16731
ba853947
AJ
167322013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16733
16734 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16735
8347c74c
RM
167362013-05-07 Roland McGrath <roland@hack.frob.com>
16737
16738 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16739 and _dl_skip_args_internal.
16740
e8dd4791
CD
167412013-05-07 Carlos O'Donell <carlos@redhat.com>
16742
16743 * manual/message.texi (Message Translation): Talk about users.
16744 Message to key mapping impacts design.
16745
c7405830
RM
167462013-05-06 Roland McGrath <roland@hack.frob.com>
16747
a9173057
RM
16748 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16749
976e2f03
RM
16750 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16751
9723ffc5
RM
16752 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16753 * sysdeps/wordsize-64/glob64.c: ... here.
16754
962e6658
RM
16755 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16756 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16757 New macros.
16758
ee586a6d
RM
16759 * debug/getlogin_r_chk.c: Moved to ...
16760 * login/getlogin_r_chk.c: ... here.
16761 * debug/Makefile (routines): Move getlogin_r_chk to ...
16762 * login/Makefile (routines): ... here.
16763 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16764 * login/Versions (libc: GLIBC_2.4): ... here.
16765
355f9165
RM
16766 * io/poll.c (__poll): Renamed from poll.
16767 Add libc_hidden_def.
16768 (poll): Define as weak alias.
16769
bd9ffde6
RM
16770 * debug/ptsname_r_chk.c: Moved to ...
16771 * login/ptsname_r_chk.c: ... here.
16772 * debug/Makefile (routines): Move ptsname_r_chk to ...
16773 * login/Makefile (routines): ... here.
16774 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16775 * login/Versions (libc: GLIBC_2.4): ... here.
16776
8fb16a04
RM
16777 * posix/getlogin.c: Moved to ...
16778 * login/getlogin.c: ... here.
16779 * posix/getlogin_r.c: Moved to ...
16780 * login/getlogin_r.c: ... here.
16781 * posix/getlogin_r.c: Moved to ...
16782 * login/getlogin_r.c: ... here.
16783 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16784 * login/Makefile (routines): ... here.
16785 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16786 * login/Versions (libc: GLIBC_2.0): ... here.
16787
b99b892f
RM
16788 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16789 (setrlimit): Define as weak alias.
16790
c7405830
RM
16791 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16792 Call __ names for open, ftruncate, and close.
16793 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16794 (truncate): Define as weak alias.
16795
5bf96de5
JM
167962013-05-06 Joseph Myers <joseph@codesourcery.com>
16797
9ea3513c
JM
16798 * math/gen-libm-test.pl (parse_args): Initialize x before each
16799 test of frexp, modf and remquo.
16800
5bf96de5
JM
16801 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16802 test signgam value.
16803
16e616a7
AZ
168042013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16805
16806 [BZ #15418]
16807 [BZ #15419]
16808 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16809 internal tests.
16810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16811
d5e82754
RM
168122013-05-06 Roland McGrath <roland@hack.frob.com>
16813
16814 * elf/dl-writev.h: New file.
16815 * elf/dl-misc.c: Include it.
16816 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16817 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16818
a7548d41
JM
168192013-05-04 Joseph Myers <joseph@codesourcery.com>
16820
b7dab1e4
JM
16821 * math/libm-test.inc (noXFails): Remove variable.
16822 (noXPasses): Likewise.
16823 (BUILD_COMPLEX_INT): Remove macro.
16824 (print_screen): Remove xfail argument.
16825 (print_screen_max_error): Likewise.
16826 (update_stats): Likewise.
16827 (print_max_error): Likewise. Update calls to other affected
16828 functions.
16829 (print_complex_max_error): Likewise.
16830 (test_single_exception): Update calls to print_screen.
16831 (test_single_errno): Likewise.
16832 (check_float_internal): Remove xfail argument. Update calls to
16833 other affected functions.
16834 (check_float): Likewise.
16835 (check_complex): Likewise.
16836 (check_int): Likewise.
16837 (check_long): Likewise.
16838 (check_bool): Likewise.
16839 (check_longlong): Likewise.
16840 (main): Don't print noXFails and noXPasses.
16841 * math/gen-libm-test.pl (top level): Don't mention expected
16842 failure handling in comment.
16843 (new_test): Don't handle expected failures.
16844 (parse_args): Don't mention expected failure handling in comment.
16845 (generate_testfile): Don't handle expected failures.
16846 (parse_ulps): Likewise.
16847 (print_ulps_file): Likewise.
16848 (get_failure): Remove function.
16849 (output_test): Don't handle expected failures.
16850 * make/README.libm-test: Don't mention expected failure handling.
16851
a7548d41
JM
16852 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16853 (minus_zero): Likewise.
16854 (plus_infty): Likewise.
16855 (minus_infty): Likewise.
16856 (qnan_value): Likewise.
16857 (max_value): Likewise.
16858 (min_value): Likewise.
16859 (min_subnorm_value): Likewise.
16860 (initialize): Do not initialize those variables dynamically.
16861
60bfd54c
RM
168622013-05-03 Roland McGrath <roland@hack.frob.com>
16863
cc0e6ed8
RM
16864 * io/open.c (__open_2): Moved to ...
16865 * io/open_2.c: ... this new file.
16866 * io/open64.c (__open64_2): Moved to ...
16867 * io/open64_2.c: ... this new file.
16868 * io/openat.c (__openat_2): Moved to ...
16869 * io/openat_2.c: ... this new file.
16870 * io/openat64.c (__openat64_2): Moved to ...
16871 * io/openat64_2.c: ... this new file.
16872 * io/Makefile (routines): Add them.
16873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16874 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16875 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16876 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16877 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16878 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16879 (__openat64): Add hidden_ver.
16880 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16881 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16882
60bfd54c
RM
16883 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16884 Separately conditionalize setting of GLRO(dl_sysinfo) so
16885 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16886 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16887
83e7640f
AZ
168882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16889
16890 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16892 definition.
16893 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16894 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16895 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16896 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16897 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16898
d5dc2af3
JM
168992013-05-03 Joseph Myers <joseph@codesourcery.com>
16900
c31a5b1e
JM
16901 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16902 test signgam value.
16903
d5dc2af3
JM
16904 * math/libm-test.inc (hypot_test): Do not use
16905 IGNORE_ZERO_INF_SIGN.
16906
164fd39d
AJ
169072013-05-03 Andreas Jaeger <aj@suse.de>
16908
16909 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16910 Linux 3.9.
16911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16912 (PF_MAX): Adjust for VSOCK change.
16913
8237f48c
AZ
169142013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915
16916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16917
9df02941
CD
169182013-05-02 Carlos O'Donell <carlos@redhat.com>
16919
16920 [BZ #15264]
16921 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16922 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16923 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16924
d422395e
DM
169252013-05-02 David S. Miller <davem@davemloft.net>
16926
16927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16928
a07c5731
OB
169292013-05-01 Ondřej Bílka <neleai@seznam.cz>
16930
16931 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16932
1324e37f
RM
169332013-05-01 Roland McGrath <roland@hack.frob.com>
16934
16935 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16936
0695940b
RS
169372013-05-01 Richard Smith <richard@metafoo.co.uk>
16938
bb5f27ad 16939 [BZ #14952]
0695940b
RS
16940 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16941 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16942 Use __attribute__ ((__gnu_inline__)).
16943 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16944 Don't use __attribute__ ((__gnu_inline__)).
16945
10de07f5
JM
169462013-05-01 Joseph Myers <joseph@codesourcery.com>
16947
16948 [BZ #15423]
16949 * math/s_catan.c (__catan): Handle small real or imaginary part of
16950 input specially to avoid spurious underflow.
16951 * math/s_catanf.c (__catanf): Likewise.
16952 * math/s_catanh.c (__catanh): Likewise.
16953 * math/s_catanhf.c (__catanhf): Likewise.
16954 * math/s_catanhl.c (__catanhl): Likewise.
16955 * math/s_catanl.c (__catanl): Likewise.
16956 * math/libm-test.inc (catan_test): Add more tests.
16957 (catanh_test): Likewise.
16958 * sysdeps/i386/fpu/libm-test-ulps: Update.
16959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16960
cb4d5414
AZ
169612013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16962
16963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16964
caf84319
JM
169652013-04-30 Joseph Myers <joseph@codesourcery.com>
16966
16967 [BZ #15416]
16968 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16969 accurately for denominator in atan2.
16970 * math/s_catanf.c (__catanf): Likewise.
16971 * math/s_catanh.c (__catanh): Likewise.
16972 * math/s_catanhf.c (__catanhf): Likewise.
16973 * math/s_catanhl.c (__catanhl): Likewise.
16974 * math/s_catanl.c (__catanl): Likewise.
16975 * math/libm-test.inc (catan_test): Add more tests.
16976 (catanh_test): Likewise.
16977 * sysdeps/i386/fpu/libm-test-ulps: Update.
16978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16979
d569c6ee
SP
169802013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16981
6dbe713d
SP
16982 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16983
f0ee064b
SP
16984 * benchtests/Makefile (bench): Remove slow benchmarks.
16985 * benchtests/atan-inputs: Add slow benchmark inputs.
16986 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16987 (BENCH_FUNC): Accept variant offset.
16988 (VARIANT): Define.
16989 * benchtests/bench-skeleton.c (main): Run benchmark for each
16990 variant.
16991 * benchtests/cos-inputs: Add slow benchmark inputs.
16992 * benchtests/exp-inputs: Likewise.
16993 * benchtests/pow-inputs: Likewise.
16994 * benchtests/sin-inputs: Likewise.
16995 * benchtests/slowatan-inputs: Remove.
16996 * benchtests/slowatan.c: Remove.
16997 * benchtests/slowcos-inputs: Remove.
16998 * benchtests/slowcos.c: Remove.
16999 * benchtests/slowexp-inputs: Remove.
17000 * benchtests/slowexp.c: Remove.
17001 * benchtests/slowpow-inputs: Remove.
17002 * benchtests/slowpow.c: Remove.
17003 * benchtests/slowsin-inputs: Remove.
17004 * benchtests/slowsin.c: Remove.
17005 * benchtests/slowtan-inputs: Remove.
17006 * benchtests/slowtan.c: Remove.
17007 * benchtests/tan-inputs: Add slow benchmark inputs.
17008 * scripts/bench.pl: Parse comments and directives.
17009
d569c6ee
SP
17010 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17011 in CPPFLAGS.
17012 ($(objpfx)bench-%.c): Remove *-ITER.
17013 * benchtests/bench-modf.c: Remove definition of ITER.
17014 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17015 (main): Loop for DURATION seconds instead of fixed number of
17016 iterations.
17017 * scripts/bench.pl: Don't expect iterations in parameters.
17018
a6a242fe
RM
170192013-04-29 Roland McGrath <roland@hack.frob.com>
17020
17021 * io/fchdir.c (__fchdir): Renamed from fchdir.
17022 (fchdir): Define as weak alias.
17023
f2da7793
JM
170242013-04-29 Joseph Myers <joseph@codesourcery.com>
17025
17026 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17027 (ERRNO_EDOM): Likewise.
17028 (ERRNO_ERANGE): Likewise.
17029 (noErrnoTests): New variable.
17030 (init_max_error): Set errno to 0.
17031 (test_single_errno): New function.
17032 (test_errno): Likewise.
17033 (check_float_internal): Call test_errno. Set errno to 0.
17034 (check_complex): Refer to errno tests in comment.
17035 (check_int): Call test_errno. Set errno to 0.
17036 (check_long): Likewise.
17037 (check_bool): Likewise.
17038 (check_longlong): Likewise.
17039 (cos_test): Use ERRNO_* flags for errno tests instead of
17040 check_int.
17041 (expm1_test): Likewise.
17042 (fmod_test): Likewise.
17043 (ilogb_test): Likewise.
17044 (lgamma_test): Likewise.
17045 (pow_test): Likewise.
17046 (remainder_test): Likewise.
17047 (sin_test): Likewise.
17048 (tan_test): Likewise.
17049 (yn_test): Likewise.
17050 (initialize): Set errno to 0.
17051 (main): Print number of errno tests.
17052 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17053
b1a36ceb
AJ
170542013-04-29 Andreas Jaeger <aj@suse.de>
17055
c3ed8088
AJ
17056 [BZ #15084]
17057 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17058 and RES_USEVC.
17059
f1a24198
AJ
17060 [BZ #15085]
17061 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17062 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17063 unimplemented.
17064
9ce3b2cb
AJ
17065 [BZ #15380]
17066 * stdlib/random.c (__initstate): Return NULL if
17067 __initstate fails.
17068
f1a24198 17069 [BZ #15086]
b1a36ceb
AJ
17070 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17071 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17072 RES_SNGLKUPREOP.
17073
7e7b6f36
AZ
170742013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17075
17076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17077
4d14f449
JM
170782013-04-29 Joseph Myers <joseph@codesourcery.com>
17079
17080 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17081 of individual tests.
17082 (casin_test): Likewise.
17083 (casinh_test): Likewise.
17084
5b4217d7
JM
170852013-04-27 Joseph Myers <joseph@codesourcery.com>
17086
17087 [BZ #15409]
17088 * math/s_catan.c (__catan): Handle arguments with large real or
17089 imaginary part separately without squaring.
17090 * math/s_catanf.c (__catanf): Likewise.
17091 * math/s_catanh.c (__catanh): Likewise.
17092 * math/s_catanhf.c (__catanhf): Likewise.
17093 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17094 and redefine.
17095 (__catanhl): Handle arguments with large real or imaginary part
17096 separately without squaring.
17097 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17098 and redefine.
17099 (__catanl): Handle arguments with large real or imaginary part
17100 separately without squaring.
17101 * math/libm-test.inc (catan_test): Add more tests.
17102 (catanh_test): Likewise.
17103 * sysdeps/i386/fpu/libm-test-ulps: Update.
17104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105
4220c3ef
AJ
171062013-04-27 Andreas Jaeger <aj@suse.de>
17107
17108 [BZ #15007]
17109 * stdlib/stdlib.h: Update guards for qecvt.
17110 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17111 <stdlib.h>.
17112
4721b2d1
AM
171132013-04-27 Allan McRae <allan@archlinux.org>
17114
17115 * sysdeps/i386/fpu/libm-test-ulps: Update.
17116
f0302940
JM
171172013-04-26 Joseph Myers <joseph@codesourcery.com>
17118
9457fd95
JM
17119 [BZ #15406]
17120 * math/s_catan.c: Include <float.h>.
17121 (__catan): Ensure underflow exception occurs for underflowed
17122 result.
17123 * math/s_catanf.c: Include <float.h>.
17124 (__catanf): Ensure underflow exception occurs for underflowed
17125 result.
17126 * math/s_catanh.c: Include <float.h>.
17127 (__catanh): Ensure underflow exception occurs for underflowed
17128 result.
17129 * math/s_catanhf.c: Include <float.h>.
17130 (__catanhf): Ensure underflow exception occurs for underflowed
17131 result.
17132 * math/s_catanhl.c: Include <float.h>.
17133 (__catanhl): Ensure underflow exception occurs for underflowed
17134 result.
17135 * math/s_catanl.c: Include <float.h>.
17136 (__catanl): Ensure underflow exception occurs for underflowed
17137 result.
17138 * math/libm-test.inc (catan_test): Add more tests.
17139 (catanh_test): Likewise.
17140
f0302940
JM
17141 [BZ #15405]
17142 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17143 underflowed result.
17144 * math/s_ccoshf.c (__ccoshf): Likewise.
17145 * math/s_ccoshl.c (__ccoshl): Likewise.
17146 * math/s_csin.c (__csin): Likewise.
17147 * math/s_csinf.c (__csinf): Likewise.
17148 * math/s_csinh.c (__csinh): Likewise.
17149 * math/s_csinhf.c (__csinhf): Likewise.
17150 * math/s_csinhl.c (__csinhl): Likewise.
17151 * math/s_csinl.c (__csinl): Likewise.
17152 * math/libm-test.inc (ccos_test): Add more tests.
17153 (ccosh_test): Likewise.
17154 (csin_test): Likewise.
17155 (csinh_test): Likewise.
17156
aa630f59
AZ
171572013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17158
17159 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17160 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17161 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17162 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17163 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17164 powerpc/power5+/fpu folders.
17165 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17166
17167
1b835983
MT
171682013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17169
17170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17171
73709b26
JM
171722013-04-25 Joseph Myers <joseph@codesourcery.com>
17173
17174 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17175 additions to variable.
17176 [$(config-machine) = x86_64] (modules-names): Likewise.
17177 ($(objpfx)tst-audit3): Remove dependency.
17178 ($(objpfx)tst-audit3.out): Likewise.
17179 ($(objpfx)tst-audit4): Likewise.
17180 ($(objpfx)tst-audit4.out): Likewise.
17181 ($(objpfx)tst-audit5): Likewise.
17182 ($(objpfx)tst-audit5.out): Likewise.
17183 ($(objpfx)tst-audit6): Likewise.
17184 ($(objpfx)tst-audit6.out): Likewise.
17185 ($(objpfx)tst-audit7): Likewise.
17186 ($(objpfx)tst-audit7.out): Likewise.
17187 (tst-audit3-ENV): Remove variable.
17188 (tst-audit4-ENV): Likewise.
17189 (tst-audit5-ENV): Likewise.
17190 (tst-audit6-ENV): Likewise.
17191 (tst-audit7-ENV): Likewise.
17192 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17193 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17194 addition to variable.
17195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17196 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17197 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17198 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17200 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17201 tst-audit3, tst-audit4 and tst-audit5.
17202 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17203 tst-audit6 and tst-audit7.
17204 [$(subdir) = elf] (modules-names): Add audit modules for those
17205 tests.
17206 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17207 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17208 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17209 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17210 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17211 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17212 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17213 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17214 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17215 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17216 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17217 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17218 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17219 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17220 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17221 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17222 Likewise.
17223 [$(subdir) = elf && $(config-cflags-avx) = yes]
17224 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17225 [$(subdir) = elf && $(config-cflags-avx) = yes]
17226 (CFLAGS-tst-auditmod4a.c): Likewise.
17227 [$(subdir) = elf && $(config-cflags-avx) = yes]
17228 (CFLAGS-tst-auditmod4b.c): Likewise.
17229 [$(subdir) = elf && $(config-cflags-avx) = yes]
17230 (CFLAGS-tst-auditmod6b.c): Likewise.
17231 [$(subdir) = elf && $(config-cflags-avx) = yes]
17232 (CFLAGS-tst-auditmod6c.c): Likewise.
17233 [$(subdir) = elf && $(config-cflags-avx) = yes]
17234 (CFLAGS-tst-auditmod7b.c): Likewise.
17235 * elf/tst-audit3.c: Move to ...
17236 * sysdeps/x86_64/tst-audit3.c: ... here.
17237 * elf/tst-audit4.c: Move to ...
17238 * sysdeps/x86_64/tst-audit4.c: ... here.
17239 * elf/tst-audit5.c: Move to ...
17240 * sysdeps/x86_64/tst-audit5.c: ... here.
17241 * elf/tst-audit6.c: Move to ...
17242 * sysdeps/x86_64/tst-audit6.c: ... here.
17243 * elf/tst-audit7.c: Move to ...
17244 * sysdeps/x86_64/tst-audit7.c: ... here.
17245 * elf/tst-auditmod3a.c: Move to ...
17246 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17247 * elf/tst-auditmod3b.c: Move to ...
17248 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17249 * elf/tst-auditmod4a.c: Move to ...
17250 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17251 * elf/tst-auditmod4b.c: Move to ...
17252 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17253 * elf/tst-auditmod5a.c: Move to ...
17254 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17255 * elf/tst-auditmod5b.c: Move to ...
17256 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17257 * elf/tst-auditmod6a.c: Move to ...
17258 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17259 * elf/tst-auditmod6b.c: Move to ...
17260 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17261 * elf/tst-auditmod6c.c: Move to ...
17262 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17263 * elf/tst-auditmod7a.c: Move to ...
17264 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17265 * elf/tst-auditmod7b.c: Move to ...
17266 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17267
1ef74943
PP
172682013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17269
17270 [BZ #15366]
17271 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17272 define unconditionally.
17273 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17274 define unconditionally.
17275 (INT8_C, INT16_C, etc.): Likewise.
17276
93fd48c5
MR
172772013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17278
ae9552cf
MR
17279 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17280 __ehdr_start with hidden visibility.
17281
93fd48c5
MR
17282 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17283
418601aa
CD
172842013-04-24 Carlos O'Donell <carlos@redhat.com>
17285
17286 * math/libm-test.inc (cos_test): Use accurate hex constants.
17287 (sincost_test): Likewise.
17288
2f38fbfe
JM
172892013-04-24 Joseph Myers <joseph@codesourcery.com>
17290
5e221800
JM
17291 * math/libm-test.inc (catan_test): Add more tests.
17292 (catanh_test): Likewise.
17293
77f143fd
JM
17294 * math/s_catanf.c (__catanf): Use suffixed floating-point
17295 constants.
17296 * math/s_catanhf.c (__catanhf): Likewise.
17297 * math/s_catanhl.c (__catanhl): Likewise.
17298 * math/s_catanl.c (__catanl): Likewise.
17299
2f38fbfe
JM
17300 [BZ #15394]
17301 * math/s_catan.c (__catan): Calculate imaginary part of result
17302 with log1p not log unless computing log of number close to 0.
17303 * math/s_catanf.c (__catanf): Likewise.
17304 * math/s_catanl.c (__catanl): Likewise.
17305 * math/s_catanh.c (__catanh): Calculate real part of result with
17306 log1p not log unless computing log of number close to 0.
17307 * math/s_catanhf.c (__catanhf): Likewise.
17308 * math/s_catanhl.c (__catanhl): Likewise.
17309 * math/libm-test.inc (catan_test): Add more tests.
17310 (catanh_test): Likewise.
17311 * sysdeps/i386/fpu/libm-test-ulps: Update.
17312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17313
45d69176
SP
173142013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17315
17316 * benchtests/Makefile: Mention files in which fast and slow
17317 paths of math functions are implemented.
17318
87f51853
RM
173192013-04-23 Roland McGrath <roland@hack.frob.com>
17320
17321 * sysdeps/posix/timespec_get.c: New file.
17322
3c026539
AZ
173232013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17324
17325 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17326 POWER.
17327 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17328 for POWER.
17329 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17330 powerpc/power5/fpu folders.
17331 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17332 * benchtests/Makefile: Add modf testcase.
17333 * benchtests/bench-modf.c: New file: Benchmark test for mo
17334
ff491d14
SP
173352013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17336
17337 [BZ #14888]
17338 * time/Makefile (tests): Add tst-strptime-whitespace.
17339 * time/strptime_l.c (get_number): Use ISSPACE.
17340 (__strptime_internal): Likewise.
17341 * time/tst-strptime-whitespace.c: New test case.
17342
7ed3f4e8
AS
173432013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17344
17345 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17346 member.
17347 (_nss_files_init): Set it here.
17348
5c95f7b6
HC
173492013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17350
17351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17352 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17353 unsigned.
17354
d34c9158
JBG
173552013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17356
17357 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17358
2169712d
SP
173592013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17360
17361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17362 size just once.
17363
29c5de99
DM
173642013-04-21 David S. Miller <davem@davemloft.net>
17365
17366 * po/ru.po: Update Russion translation from translation project.
17367
ccdad15d
AC
173682013-04-17 Adam Conrad <adconrad@0c3.net>
17369
17370 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17371 and setfsgid.
17372
0f122b8d
CD
173732013-04-17 Carlos O'Donell <carlos@redhat.com>
17374
5c5b07da 17375 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17376 * configure: Regenerate.
5c5b07da 17377 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17378 Add example to error message.
17379 * sysdeps/i386/configure: Regenerate.
17380
037714dd
SP
173812013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17382
17383 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17384 slowtan.
17385 * benchtests/cos-inputs: New file.
17386 * benchtests/slowcos-inputs: New file.
17387 * benchtests/slowcos.c: New file.
17388 * benchtests/slowtan-inputs: New file.
17389 * benchtests/slowtan.c: New file.
17390 * benchtests/tan-inputs: New file.
17391
e913141d
RM
173922013-04-16 Roland McGrath <roland@hack.frob.com>
17393
17394 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17395 considered kosher.
17396
a2964074
SP
173972013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17398
4856bcd2
SP
17399 * benchtests/Makefile: Include cppflags-iterator.mk to add
17400 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17401
a2964074
SP
17402 * Makefile.in (bench-clean): New target.
17403 * benchtests/Makefile (bench-clean): Likewise.
17404
9fbf9aca
DH
174052013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17406
17407 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17408
207d1e2a
TS
174092013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17410
17411 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17412
306dfba9
AS
174132013-04-15 Andreas Schwab <schwab@suse.de>
17414
17415 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17417 * nscd/pwdcache.c (cache_addpw): Likewise.
17418 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17419 more than recsize.
17420
206a6699
SP
174212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17422
17423 * benchtests/Makefile (bench): Write all output to
17424 bench-out.tmp together.
17425
0582f6b3
AS
174262013-04-15 Andreas Schwab <schwab@suse.de>
17427
17428 * nscd/nscd.c (main): Don't fork again after closing files.
17429
acb4325f
SP
174302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17431
5cb26d0a
SP
17432 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17433
acb4325f
SP
17434 * benchtests/Rules (bench-deps): Collect dependencies into a
17435 single variable. Add Makefile to dependencies.
17436 ($(objpfx)bench-%.c): Depend on bench-deps.
17437
47792506
RM
174382013-04-12 Roland McGrath <roland@hack.frob.com>
17439 Xavier Roche <roche+kml2@exalead.com>
17440
17441 [BZ #15361]
17442 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17443 just that it's a file descriptor.
17444 * manual/llio.texi (Synchronizing AIO Operations): Update description
17445 for EBADF error from aio_fsync.
17446
8fc1bee5
SP
174472013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17448
17449 * Rules (bench): Move target definition...
17450 * benchtests/Makefile: ... here.
17451
aba5e333
CD
174522013-04-11 Carlos O'Donell <carlos@redhat.com>
17453
17454 * math/libm-test.inc (cos_test): Fix PI/2 test.
17455 (sincos_test): Likewise.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17457 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17458
273cdee8
AS
174592013-04-11 Andreas Schwab <schwab@suse.de>
17460
6ecec3b6
AS
17461 [BZ #13988]
17462 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17463 accept exponent character only when digits were seen.
17464 * stdio-common/Makefile (tests): Add bug26.
17465 * stdio-common/bug26.c: New file.
17466
273cdee8
AS
17467 [BZ #14293]
17468 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17469 non-freeable.
17470
8da491f5
SP
174712013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17472
01dc6df9
SP
17473 * Makeconfig (rtld-prefix): Define built linker prefix.
17474 * Rules (run-bench): Use it.
17475 * math/Makefile (run-regen-ulps): Likewise.
17476
8da491f5
SP
17477 * Rules (bench): Remove eval.
17478
abe7f530
SP
174792013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17480 Roland McGrath <roland@hack.frob.com>
17481 Ondrej Bilka <neleai@seznam.cz>
17482
17483 [BZ #15346]
17484 * time/getdate.c: Include ctype.h and alloca.h.
17485 (__getdate_r): Trim leading and trailing spaces of input.
17486 * time/tst-getdate.c (tests): Add tests with leading and
17487 trailing spaces.
17488
61c23e62
RM
174892013-04-08 Roland McGrath <roland@hack.frob.com>
17490
17491 [BZ #14280]
17492 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17493 when computing value.
17494
7208a313
CD
174952013-04-06 Carlos O'Donell <carlos@redhat.com>
17496
085b2d41
CD
17497 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17498 Use testrun.sh to run libm tests.
17499
7208a313
CD
17500 [BZ #15309]
17501 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17502
872c0acd
MM
175032013-04-06 Marko Myllynen <myllynen@redhat.com>
17504
17505 [BZ #15264]
17506 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17507
26510bdd
CD
175082013-04-06 Carlos O'Donell <carlos@redhat.com>
17509
17510 * Makefile.in (regen-ulps): New target.
17511 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17512 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17513 [ifneq (no,$(PERL)] (regen-ulps): New target.
17514 [ifeq (no,$(PERL)] (regen-ulps): New target.
17515 * math/libm-test.inc (ulps_file_name): Define.
17516 (output_dir): New variable.
17517 (options): Add "output-dir" option.
17518 (parse_opt): Handle 'o' case.
17519 (main): If output_dir is non-NULL use it as a prefix
17520 otherwise use "".
17521 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17522
a01f19c8
CD
175232013-04-06 Carlos O'Donell <carlos@redhat.com>
17524
17525 [BZ #10060, #10062]
17526 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17527 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17528 fail configure if __sync_val_compare_and_swap is not inlined.
17529 * sysdeps/i386/configure: Regenerate.
17530 * configure.in: Build for i686 when configured for i386.
17531 * configure: Regenerate.
17532 * README: Remove i386 reference.
17533
b7a329a5
CD
175342013-04-06 Carlos O'Donell <carlos@redhat.com>
17535
17536 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17538
bf0f50df
TS
175392013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17540
ee091edf
TS
17541 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17542 (lmsnanval): New variables.
17543 (F): Add conversion tests.
17544 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17545 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17546
a8b792d6
TS
17547 * stdio-common/tstdiomisc.c (F): Properly collect individual
17548 tests' results.
17549
a1cbf437
TS
17550 [BZ #14686, #15336]
17551 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17552 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17553 Instead, use input NaN values or generate a qNaN by arithmetic
17554 operation. Also fix bugs to comply with the standard.
17555 * math/libm-test.inc (remainder_test): Add more tests.
17556
8b43a0c9
TS
17557 [BZ #15335, #15342]
17558 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17560 input NaN values or generate a qNaN by arithmetic operation.
17561
d91da4ce
TS
17562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17563 unreachable code.
17564
bf0f50df
TS
17565 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17566 definitions.
17567
05e166c8
JM
175682013-04-03 Joseph Myers <joseph@codesourcery.com>
17569
17570 [BZ #14478]
17571 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17572 underflowed result.
17573 * math/s_cexpf.c (__cexpf): Likewise.
17574 * math/s_cexpl.c (__cexpl): Likewise.
17575 * math/libm-test.inc (cexp_test): Add more tests.
17576
1cef1b19
AS
175772013-04-03 Andreas Schwab <schwab@suse.de>
17578
17579 [BZ #15330]
17580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17581 order arrays from heap if bigger than alloca cutoff.
17582
74d87055
TS
175832013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17584
17585 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17586 (SNAN_TESTS_double): Refer to GCC PR56831.
17587 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17588 GCC PR56828.
17589
d755bba4
SP
175902013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17591
90d5d5bb
SP
17592 * Rules (bench): Move bench.out after the run is complete.
17593
73e0cd5d
SP
17594 * Rules (bench): Echo currently running benchmark.
17595
64aabd4b
SP
17596 * benchtests/Makefile (bench): Add atan and slowatan.
17597 * benchtests/atan-inputs: New file.
17598 * benchtests/slowatan-inputs: New file.
17599 * benchtests/slowatan.c: New file.
17600
c871eccd
SP
17601 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17603 its value.
17604
d755bba4
SP
17605 [BZ #15305]
17606 * sysdeps/unix/sysv/linux/kernel-features.h
17607 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17608 __ASSUME_XFS_RESTRICTED_CHOWN.
17609 * sysdeps/unix/sysv/linux/pathconf.c
17610 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17611 Save and restore errno.
17612
52ce4860
JM
176132013-04-02 Joseph Myers <joseph@codesourcery.com>
17614
17615 [BZ #15327]
17616 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17617 arguments using __kernel_casinh.
17618 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17619 arguments using __kernel_casinhf.
17620 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17621 arguments using __kernel_casinhl.
17622 * math/libm-test.inc (cacosh_test): Add more tests.
17623 * sysdeps/i386/fpu/libm-test-ulps: Update.
17624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17625
81f311c2
SP
176262013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
e7906a47
SP
17628 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17630
92e3664b
SP
17631 * bench/Makefile (bench): Add sin and slowsin.
17632 * benchtests/sin-inputs: New file.
17633 * benchtests/slowsin-inputs: New file.
17634 * benchtests/slowsin.c: New file.
17635
81f311c2
SP
17636 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17637 (bench): Add slowexp and slowpow.
17638 (exp-ITER): Increase iterations.
17639 (pow-ITER): Likewise.
17640 * benchtests/exp-inputs: Change input.
17641 * benchtests/pow-inputs: Likewise.
17642 * benchtests/slowexp-inputs: New file.
17643 * benchtests/slowexp.c: New file.
17644 * benchtests/slowpow-inputs: New file.
17645 * benchtests/slowpow.c: New file.
17646
ab0f1aa9
AZ
176472013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17648
17649 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17650 instructions.
17651 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17652 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17653 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17654 * benchtests/Makefile: Add rint benchtest.
17655 * benchtests/rint-inputs: Input for rint benchtest.
17656
57267616
TS
176572013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17658
17659 * Versions.def (libm): Add GLIBC_2.18.
17660 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17661 hidden libm prototypes.
17662 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17663 * math/Makefile (libm-calls): Add s_issignaling.
17664 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17665 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17666 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17667 declaration.
17668 * math/math.h [__USE_GNU] (issignaling): New macro.
17669 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17670 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17672 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17675 * manual/arith.texi (issignaling): New section.
17676 * manual/libm-err-tab.pl (@all_functions): Update comment.
17677 * math/gen-libm-test.pl (parse_args): Apply special handling for
17678 issignaling.
17679 * math/libm-test.inc (print_float, issignaling_test): New
17680 functions.
17681 (check_float_internal): Add issignaling checks.
17682 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17683 default definition.
17684 * sysdeps/powerpc/math-tests.h: New file.
17685 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17686 tests.
17687 * math/test-snan.c (TEST_FUNC): Likewise.
17688
6142896d
DM
176892013-03-30 David S. Miller <davem@davemloft.net>
17690
17691 * po/de.po: Update from translation team.
17692
ccc8cadf
JM
176932013-03-30 Joseph Myers <joseph@codesourcery.com>
17694
17695 [BZ #10357]
17696 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17697 imaginary part less than 1.0 and real part less than 0.5
17698 specially.
17699 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17700 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17701 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17702 (cacos_test): Add more tests.
17703 (casin_test): Likewise.
17704 (casinh_test): Likewise.
17705 * sysdeps/i386/fpu/libm-test-ulps: Update.
17706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17707
0f6a8d4b
SP
177082013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17709
0d1029de
SP
17710 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17711 ONE with its value.
17712
c2d94018
SP
17713 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17714 (__pow_mp): Replace ONE and MONE with their values.
17715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17717 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17718 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17719 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17720 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17721
27ec37f1
SP
17722 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17723
a64d7e0e
SP
17724 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17725 (__pow_mp): Replace ZERO and MZERO with their values.
17726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17728 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17730 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17731 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17732 (__sqr): Likewise.
17733
d26dd3eb
SP
17734 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17735
0f6a8d4b
SP
17736 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17737
e57b0c61
RM
177382013-03-28 Roland McGrath <roland@hack.frob.com>
17739
17740 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17741 Declare with __attribute__ ((weak)).
17742 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17743 Call __call_tls_dtors only if it's not NULL.
17744
356b3480
RM
177452013-03-28 Roland McGrath <roland@hack.frob.com>
17746
288f7d79
RM
17747 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17748 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17749 magic __ehdr_start linker symbol if it's defined.
17750 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17751 them up here if it was already done.
17752
dc0a0263
RM
17753 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17754 (_dl_aux_init): Use const in cast when setting it.
17755 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17756 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17757 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17758
3d3436ae
RM
17759 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17760 Declare them here.
17761 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17762 * csu/libc-tls.c: Nor here.
17763 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17764
356b3480
RM
17765 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17766 (__libc_message): Never call vsyslog.
17767
b0f1246a
AM
177682013-03-28 Alan Modra <amodra@gmail.com>
17769
17770 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17771 Define as empty.
17772 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17773 Likewise.
17774
fbbe2b9a
AZ
177752013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17776
17777 [BZ #15214]
17778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17779 underflow.
17780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17781
1728ab37
SP
177822013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17783
7a86be6e
SP
17784 [BZ #15304]
17785 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17786 Don't add gid passed as argument.
17787
1728ab37
SP
17788 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17789
3a7182a1
JM
177902013-03-27 Joseph Myers <joseph@codesourcery.com>
17791
17792 [BZ #15307]
17793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17794 imaginary part between 1.0 and 1.5 and real part less than 0.5
17795 specially.
17796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17798 * math/libm-test.inc (cacos_test): Add more tests.
17799 (casin_test): Likewise.
17800 (casinh_test): Likewise.
17801 * sysdeps/i386/fpu/libm-test-ulps: Update.
17802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803
6f2e90e7
SP
178042013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17805
5739f705
SP
17806 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17807 constants.
17808 (norm): Likewise.
17809 (denorm): Likewise.
17810 (__dbl_mp): Likewise.
17811 (add_magnitudes): Likewise.
17812 (sub_magnitudes): Likewise.
17813 (__add): Likewise.
17814 (__sub): Likewise.
17815 (__mul): Likewise.
17816 (__sqr): Likewise.
17817 (__inv): Likewise.
17818 (__dvd): Likewise.
17819
e375e83d
SP
17820 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17821 commented code.
17822 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17823 (__dubcos): Likewise.
17824 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17825 (__ieee754_acos): Likewise.
17826 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17827 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17828 (__exp1): Likewise.
17829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17831 (log1): Likewise.
17832 (my_log2): Likewise.
17833 (checkint): Likewise.
17834 * sysdeps/ieee754/dbl-64/e_remainder.c
17835 (__ieee754_remainder): Likewise.
17836 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17838 (bsloww): Likewise.
17839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17840
6f2e90e7
SP
17841 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17843 MANTISSA_STORE_T to store computations on mantissa. Use
17844 macros for rounding and division.
17845 (denorm): Likewise.
17846 (__dbl_mp): Likewise.
17847 (add_magnitudes): Likewise.
17848 (sub_magnitudes): Likewise.
17849 (__mul): Likewise.
17850 (__sqr): Likewise.
17851 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17852 powers of two in terms of TWOPOW macro.
17853 (mp_no): Make type of mantissa as MANTISSA_T.
17854 [!RADIXI]: Define RADIXI.
17855 [!TWO52]: Define TWO52.
17856 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17857
fce14d4e
AZ
178582013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17859
17860 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17861 llroundl symbol when building for PPC32.
17862
9ad027fb
MW
178632013-03-24 Mark H Weaver <mhw@netris.org>
17864
17865 * manual/arith.texi (Normalization Functions): Fix prototypes for
17866 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17867
e42a38dd
AZ
178682013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17869
17870 [BZ #13889]
17871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17872 high value to check if expl overflow.
17873 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17874 to check for underflow and overflow.
17875 * math/libm-test.inc: Add exp test.
17876
2e0fb521
DL
178772013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17878
17879 [BZ #11120]
17880 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17881 with NOT_IN_libc.
17882
b5784d95
AZ
178832013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17884
17885 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17886 symbol.
17887
5aa4a1a1
TS
178882013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17889
bdef0be7
TS
17890 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17891 wrap blocks consisting of several statements.
17892
5aa4a1a1
TS
17893 * sysdeps/generic/math-tests.h: New file.
17894 * sysdeps/i386/fpu/math-tests.h: Likewise.
17895 * math/test-snan.c: Include it.
17896 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17897
98c48fe5
JM
178982013-03-21 Joseph Myers <joseph@codesourcery.com>
17899
17900 [BZ #15285]
17901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17902 (__ieee754_j0l): Do not improve calculations using cos of twice
17903 input for inputs above LDBL_MAX / 2.0L.
17904 (__ieee754_y0l): Likewise.
17905 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17906 (__ieee754_j1l): Do not improve calculations using cos of twice
17907 input for inputs above LDBL_MAX / 2.0L.
17908 (__ieee754_y1l): Likewise.
17909 * math/libm-test.inc (j0_test): Add another test.
17910 (j1_test): Likewise.
17911 (y0_test): Likewise.
17912 (y1_test): Likewise.
17913 * sysdeps/i386/fpu/libm-test-ulps: Update.
17914
3775a8bc
SP
179152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17916
17917 * Rules ($(objpfx)bench-%.c): Include code from a C source
17918 file.
17919
0a1b2ae6
JM
179202013-03-21 Joseph Myers <joseph@codesourcery.com>
17921
17922 [BZ #15287]
17923 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17924 imaginary part 1.0 and real part less than 0.5 specially.
17925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17927 * math/libm-test.inc (cacos_test): Add more tests.
17928 (casin_test): Likewise.
17929 (casinh_test): Likewise.
17930 * sysdeps/i386/fpu/libm-test-ulps: Update.
17931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17932
b33d4ce4
SP
179332013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17934
17935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17936 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17937
bef0b507
JM
179382013-03-20 Joseph Myers <joseph@codesourcery.com>
17939
17940 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17941 * config.make.in (config-cflags-sse4): Remove variable.
17942 (config-cflags-avx): Likewise.
17943 (config-cflags-sse2avx): Likewise.
17944 (config-cflags-novzeroupper): Likewise.
17945 (config-asflags-i686): Likewise.
17946 (have-mfma4): Likewise.
17947 (have-as-vis3): Likewise.
17948 (MIG): Likewise.
17949 * configure.in (MIG): Do not AC_SUBST.
17950 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17951 (libc_cv_cc_sse4): Do not AC_SUBST.
17952 (libc_cv_cc_avx): Likewise.
17953 (libc_cv_cc_sse2avx): Likewise.
17954 (libc_cv_cc_novzeroupper): Likewise.
17955 (libc_cv_cc_fma4): Likewise.
17956 (libc_cv_as_i686): Likewise.
17957 (libc_cv_sparc_as_vis3): Likewise.
17958 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17959 LIBC_CONFIG_VAR.
17960 (config-asflags-i686): Likewise.
17961 (config-cflags-avx): Likewise.
17962 (config-cflags-sse2avx): Likewise.
17963 (have-mfma4): Likewise.
17964 (config-cflags-novzeroupper): Likewise.
17965 * sysdeps/mach/configure.in (MIG): Likewise.
17966 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17967 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17968 LIBC_CONFIG_VAR.
17969 (config-cflags-avx): Likewise.
17970 (config-cflags-sse2avx): Likewise.
17971 (have-mfma4): Likewise.
17972 (config-cflags-novzeroupper): Likewise.
17973 * configure: Regenerated.
17974 * sysdeps/i386/configure: Likewise.
17975 * sysdeps/mach/configure: Likewise.
17976 * sysdeps/sparc/configure: Likewise.
17977 * sysdeps/x86_64/configure: Likewise.
17978
912cc4b3
RM
179792013-03-20 Roland McGrath <roland@hack.frob.com>
17980
17981 [BZ #14812]
17982 * locale/programs/localedef.c (options): Put N_ translation marker
17983 on argument names, not just descriptions.
17984
04eed2b0
MS
179852013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17986
17987 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17988
a065ceff
OB
179892013-03-20 Ondřej Bílka <neleai@seznam.cz>
17990
9bb2a810 17991 [BZ #14176]
a065ceff
OB
17992 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17993
a600e5ce
RM
179942013-03-19 Roland McGrath <roland@hack.frob.com>
17995
17996 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17997 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17998 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17999 [!BEFORE_ABORT] (before_abort): New function.
18000 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18001 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18002 (writev_for_fatal): New function.
18003 (WRITEV_FOR_FATAL): New macro; call that.
18004 (backtrace_and_maps): New function.
18005 (BEFORE_ABORT): New macro; call that.
18006 (struct str_list): Type removed.
18007 (__libc_message, __libc_fatal): Functions removed.
18008 Include <sysdeps/posix/libc_fatal.c> instead.
18009
6b18bea6
JM
180102013-03-19 Joseph Myers <joseph@codesourcery.com>
18011
18012 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18013 constants.
18014 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18015 double constants.
18016
aaa8cb4b
AS
180172013-03-19 Andreas Schwab <schwab@suse.de>
18018
44673770
AS
18019 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18020 * sysdeps/gnu/configure: Regenerate.
18021
aaa8cb4b
AS
18022 * configure.in: Substitute libc_cv_rtlddir.
18023 * configure: Regenerate.
18024 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18025 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18026 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18027 * elf/Makefile (install-others, CFLAGS-interp.c)
18028 (ldso_install, common-ldd-rewrite): Likewise.
18029 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18030 $(inst_slibdir)/$(rtld-installed-name).
18031 * scripts/rellns-sh: Add -p option.
18032 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18033 for source.
18034
d3cfc668
SP
180352013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18036
18037 * manual/nptl.texi: Renamed to ...
18038 * manual/threads.texi: ... this.
18039 * manual/Makefile (chapters): Update.
18040
0e2b9cdd
RM
180412013-03-18 Roland McGrath <roland@hack.frob.com>
18042
18043 [BZ #14812]
18044 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18045 on argument names, not just descriptions.
0e2b9cdd
RM
18046 * malloc/memusagestat.c (options): Likewise.
18047 * nss/getent.c (options): Likewise.
63270c24
RM
18048
180492013-03-18 Benno Schulenberg <bensberg@justemail.net>
18050
18051 [BZ #14812]
18052 * iconv/iconv_prog.c (options): Put N_ translation marker
18053 on argument names, not just descriptions.
18054 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18055
b2e1393c
OB
180562013-03-18 Ondrej Bilka <neleai@seznam.cz>
18057
18058 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18059 implementation which is faster on all x86_64 architectures.
18060 Tested on AMD, Intel Nehalem, SNB, IVB.
18061 * sysdeps/x86_64/strnlen.S: Likewise.
18062
18063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18064 Remove all multiarch strlen and strnlen versions.
18065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18066 Remove strlen and strnlen related parts.
18067
18068 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18069 Inline strlen part.
18070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18071
18072 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18073 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18074 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18075 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18076 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18077 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18078
ec4ff04d
CD
180792013-03-17 Carlos O'Donell <carlos@redhat.com>
18080
18081 * manual/memory.texi (Malloc Tunable Parameters):
18082 Sort parameters alphabetically. Add comments for missing entries.
18083
cd18e90a
DM
180842013-03-17 David S. Miller <davem@davemloft.net>
18085
18086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18087
2a185d32
JM
180882013-03-16 Joseph Myers <joseph@codesourcery.com>
18089
d2f9799e
JM
18090 [BZ #15283]
18091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18092 for arguments at most half maximum finite value.
18093 * math/libm-test.inc (j0_test): Add more tests.
18094 (j1_test): Likewise.
18095 (y0_test): Likewise.
18096 (y1_test): Likewise.
18097 * sysdeps/i386/fpu/libm-test-ulps: Update.
18098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18099
2a185d32
JM
18100 [BZ #14155]
18101 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18102 1 / x and functions P and Q for arguments above 0x1p256L.
18103 (__ieee754_y0l): Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18105 (__ieee754_y1l): Likewise.
18106 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18107 (j1_test): Likewise.
18108 (y0_test): Likewise.
18109 (y1_test): Likewise.
18110
6cbec759
TS
181112013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18112
18113 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18114 variable.
18115
bc16e260
RM
181162013-03-15 Roland McGrath <roland@hack.frob.com>
18117
aefc9b8c
RM
18118 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18119 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18120 zero since it's initialized to EXEC_PAGESIZE.
18121
bc16e260
RM
18122 * sysdeps/unix/sysv/linux/ldsodefs.h
18123 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18124 * sysdeps/generic/ldsodefs.h: ... here.
18125
a57da955
TS
181262013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18127
af00a34d
TS
18128 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18129
495ded2c
TS
18130 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18131 math/test-snan.c.
18132 * math/test-snan.c: Renamed from
18133 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18134 * math/Makefile (tests): Add test-snan.
18135 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18136 test-powerpc-snan.
18137
777b0332
TS
18138 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18139 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18140 functions.
18141 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18142 __builtin_nan family of functions.
18143 * math/libm-test.inc (initialize): Initialize qnan_value with
18144 __builtin_nan family of functions.
18145 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18146 Remove variables.
18147 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18148 Remove functions.
18149 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18150 storage class. Initialize qNaN_var and sNaN_var with
18151 __builtin_nan and __builtin_nans families of functions,
18152 respectively.
18153
64d063b8
TS
18154 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18155 (sqrt_test): Remove duplicate test with qNaN input.
18156 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18157 (round_test, signbit_test, significand_test): Note missing +/-Inf
18158 as well as qNaN tests.
18159
67e971f1
TS
18160 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18161 qNaN_var. Fix a few strings, too.
18162 * math/libm-test.inc (nan_value): Rename to qnan_value.
18163 * math/gen-libm-test.pl (%beautify): Adjust to that.
18164 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18165 * math/test-misc.c (main): Likewise.
18166 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18167 to __qnan_bytes, and __qnan_union, respectively.
18168 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18169 Likewise.
18170 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18171 and lqnanval, respectively.
18172 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18173 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18174 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18175 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18176
64487e12
TS
18177 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18178 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18179 doubles.
18180
e015e27b
TS
18181 * math/test-misc.c (main): Fix copy'n'pastos.
18182 * misc/tst-efgcvt.c (special): Likewise.
18183
a57da955
TS
18184 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18185 Remove declarations.
18186
1e380345
SP
181872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18188
18189 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18190 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18191 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18193
ef26eece
AZ
181942013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18195
18196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18197 macro to return vdso values correctly in IFUNC implementations.
18198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18199 Optimization by using IFUNC.
18200
8cfdb7e0
SP
182012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18202 Richard Henderson <rth@redhat.com>
18203 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18204
18205 * Makefile.in (bench): New target.
18206 * NEWS: Mention the benchmark framework.
18207 * Rules (bench): Likewise.
18208 (binaries-bench): Generate binaries for functions to
18209 benchmark.
18210 * benchtests/Makefile: New makefile for benchmark tests.
18211 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18212 programs.
18213 * benchtests/exp-inputs: New input file for EXP function.
18214 * benchtests/pow-inputs: New input file for POW function.
18215 * scripts/bench.pl: New script to generate source files for
18216 benchmark programs.
18217
bcda9880
SP
182182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18219
d22ca8cd
SP
18220 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18222 computations on mantissa. Use macros for rounding and
18223 division.
18224 (denorm): Likewise.
18225 (__dbl_mp): Likewise.
18226 (add_magnitudes): Likewise.
18227 (sub_magnitudes): Likewise.
18228 (__mul): Likewise.
18229 (__sqr): Likewise.
18230 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18231 powers of two in terms of TWOPOW macro.
18232 (mp_no): Make type of mantissa as MANTISSA_T.
18233 [!RADIXI]: Define RADIXI.
18234 [!TWO52]: Define TWO52.
18235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18236
bcda9880
SP
18237 * manual/nptl.texi (cindex): Modify threads to pthreads.
18238
06d5adfb
JM
182392013-03-15 Joseph Myers <joseph@codesourcery.com>
18240
18241 * sysdeps/x86_64/preconfigure: Regenerated.
18242
41c7328e
JM
182432013-03-14 Joseph Myers <joseph@codesourcery.com>
18244
18245 [BZ #14155]
18246 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18247 0x1p28 and above.
18248 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18249 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18250 0x1p28 and above.
18251 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18252 * math/libm-test.inc (j0_test): Do not allow one spurious
18253 underflow exception.
18254 (y1_test): Likewise.
18255
e25cfa60
SP
182562013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18257
0409959c
SP
18258 * manual/Makefile (chapters): Add nptl.
18259 * manual/debug.texi (Debugging Support): Add link to Threads
18260 chapter.
18261 * manual/nptl.texi: New file.
18262
e25cfa60
SP
18263 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18264
58a1335e
PB
182652013-03-14 Petr Baudis <pasky@ucw.cz>
18266
18267 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18268 for non-NULL pointer before the memory validity test. Pointed
18269 out by Holger Brunck <holger.brunck@keymile.com>.
18270
9dc7c64f
AS
182712013-03-13 Andreas Schwab <schwab@suse.de>
18272
18273 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18274 instead of .os.
18275
54206aa6
JM
182762013-03-13 Joseph Myers <joseph@codesourcery.com>
18277
18278 * timezone/zic.c: Update from tzcode 2013b.
18279
e98cdb38
CD
182802013-03-12 Carlos O'Donell <carlos@redhat.com>
18281
18282 * manual/install.texi (Configuring and compiling):
18283 Mention i686 and i586.
18284 * INSTALL: Regenerate.
18285
9967e003
RM
182862013-03-12 Roland McGrath <roland@hack.frob.com>
18287
18288 * sysdeps/init_array/elf-init.c: New file.
18289 * csu/elf-init.c
18290 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18291 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18292
18293 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18294 __gmon_start__ as global, but as static with a .preinit_array pointer.
18295 * sysdeps/init_array/gmon-start.c: New file. Use that.
18296 * sysdeps/init_array/crti.S: New file, empty except for comments.
18297 * sysdeps/init_array/crtn.S: Likewise.
18298
e6b5a293 182992013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18300
18301 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18302 definining bcopy.
80f844c9
OB
18303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18304 Remove Prefer_SSE_for_memop.
18305 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18306 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18307 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18309 memset-x86-64.
80f844c9 18310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18311 Remove bzero, memset ifunc support.
80f844c9
OB
18312 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18313 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18314 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18315 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18316
fb6b0fcb
AS
183172013-03-11 Andreas Schwab <schwab@suse.de>
18318
18319 [BZ #15234]
18320 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18321 by SHLIB_COMPAT.
18322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18323 (GLIBC_2.16): Remove pthread_atfork.
18324
3e6bd4b1
PP
183252013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18326
18327 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18328 (ptestcases.h): Likewise.
18329
222d7f00
RM
183302013-03-08 Roland McGrath <roland@hack.frob.com>
18331
18332 * Makeconfig ($(common-objpfx)config.status): Depend on
18333 sysdeps/*/preconfigure{,.in} too.
18334
1ba4f030
JM
183352013-03-08 Joseph Myers <joseph@codesourcery.com>
18336
a222d91a
JM
18337 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18338 (__free_hook): Use void * instead of __malloc_ptr_t.
18339 (__malloc_hook): Likewise.
18340 (__realloc_hook): Likewise.
18341 (__memalign_hook): Likewise.
18342 (__after_morecore_hook): Likewise.
18343 * malloc/arena.c (save_malloc_hook): Likewise.
18344 (save_free_hook): Likewise.
18345 * malloc/hooks.c (malloc_hook_ini): Likewise.
18346 (realloc_hook_ini): Likewise.
18347 (memalign_hook_ini): Likewise.
18348 * malloc/malloc.c (malloc_hook_ini): Likewise.
18349 (realloc_hook_ini): Likewise.
18350 (memalign_hook_ini): Likewise.
18351 (__free_hook): Likewise.
18352 (__malloc_hook): Likewise.
18353 (__realloc_hook): Likewise.
18354 (__memalign_hook): Likewise.
18355 (__libc_malloc): Likewise.
18356 (__libc_free): Likewise.
18357 (__libc_realloc): Likewise.
18358 (__libc_memalign): Likewise.
18359 (__libc_valloc): Likewise.
18360 (__libc_pvalloc): Likewise.
18361 (__libc_calloc): Likewise.
18362 (__posix_memalign): Likewise.
18363 * malloc/morecore.c (__sbrk): Likewise.
18364 (__default_morecore): Likewise.
18365
5cc45e10
JM
18366 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18367
dd54b864
JM
18368 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18369 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18370 __malloc_ptrdiff_t.
18371
1ba4f030
JM
18372 * malloc/malloc.h (__malloc_size_t): Remove macro.
18373 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18374 __malloc_size_t.
18375 (old_memalign_hook): Likewise.
18376 (old_realloc_hook): Likewise.
18377 (struct hdr): Likewise.
18378 (flood): Likewise.
18379 (mallochook): Likewise.
18380 (memalignhook): Likewise.
18381 (reallochook): Likewise.
18382 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18383 (tr_old_realloc_hook): Likewise.
18384 (tr_old_memalign_hook): Likewise.
18385 (tr_mallochook): Likewise.
18386 (tr_reallochook): Likewise.
18387 (tr_memalignhook): Likewise.
18388
edf66e57
AZ
183892013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18390
18391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18392 default_ldbl_pack and using as default implementation.
18393 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18394 implementation.
18395 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18396 redundant definition.
18397 (ldbl_insert_mantissa): Likewise.
18398 (ldbl_canonicalize): Likewise.
18399 (ldbl_nearbyint): Likewise.
18400 (ldbl_pack): Rename to ldbl_pack_ppc.
18401 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18402 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18403 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18404
6d9145d8
SP
184052013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18406
18407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18408 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18409 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18410 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18413 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18414 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18415
4dd4e157
AJ
184162013-03-07 Andreas Jaeger <aj@suse.de>
18417
18418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18419 bits/mman-linux.h.
18420
adbb8027
SP
184212013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18422
ce544b5b
SP
18423 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18424 Include mpa.h and declare __MPEXP.
18425 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18427 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18430 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18432
4cc149fd
SP
18433 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18434 (__slowpow): Use long double EXPL and LOGL functions to
18435 compute POW.
18436 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18437 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18438 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18439 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18440 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18442
e6ebd4a7
SP
18443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18444 intermediate variable to calculate exponent.
18445 (__sqr): Likewise.
18446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18447 Likewise.
18448 (__sqr): Likewise.
18449
82a9811d
SP
18450 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18451 [!NO__SQR]: Define __sqr.
18452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18453 and NO__SQR. Remove all code except __mul and __sqr. Include
18454 sysdeps/ieee754/dbl-64/mpa.c.
18455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18456
adbb8027
SP
18457 [BZ #12723]
18458 * posix/Makefile (tests): Add tst-pathconf.
18459 * posix/tst-pathconf.c: New test case.
18460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18461 _PC_PIPE_BUF.
18462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18463
39120df9
PF
184642013-03-06 Patsy Franklin <pfrankli@redhat.com>
18465
18466 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18467
67525cb8
AJ
184682013-03-06 Andreas Jaeger <aj@suse.de>
18469
664a9ce4
AJ
18470 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18471 definition via __MAP_ANONYMOUS.
18472
8e39047d
AJ
18473 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18474 it's not part of Linux headers.
18475
67525cb8
AJ
18476 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18477 (MAP_HUGE_MASK): Define.
18478
18479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18480 Define.
18481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18483 Define.
18484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18485 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18486 Define.
18487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18489 Define.
18490 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18491
18492 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18493 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18494 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18495 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18496 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18497 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18498
18499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18500 Handle f2fs.
18501
18502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18503 Handle f2fs and efivarfs.
18504
18505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18506 f2fs.
18507
18508 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18509 (EFIVARFS_MAGIC): Add.
18510 (F2FS_LINK_MAX): Add.
18511
e1b42695
PP
185122013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18513
18514 * stdio-common/vfprintf.c: Replace __builtin_expect with
18515 __glibc_unlikely.
18516
2d67d91a
JM
185172013-03-06 Joseph Myers <joseph@codesourcery.com>
18518
18519 [BZ #13550]
18520 * sysdeps/generic/bp-sym.h: Remove file.
18521 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18523 <bp-sym.h> and <bp-asm.h>.
18524 (__longjmp): Don't use BP_SYM.
18525 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18526 and <bp-asm.h>.
18527 (memcpy): Don't use BP_SYM.
18528 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18529 <bp-sym.h> and <bp-asm.h>.
18530 (memcpy): Don't use BP_SYM.
18531 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18532 <bp-asm.h>.
18533 (memcpy): Don't use BP_SYM.
18534 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18535 <bp-asm.h>.
18536 (memset): Don't use BP_SYM.
18537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539 (__bzero): Don't use BP_SYM.
18540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18543 <bp-sym.h> and <bp-asm.h>.
18544 (memcmp): Don't use BP_SYM. Remove comment about bounded
18545 pointers.
18546 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18547 <bp-sym.h> and <bp-asm.h>.
18548 (memcpy): Don't use BP_SYM.
18549 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18550 <bp-sym.h> and <bp-asm.h>.
18551 (memset): Don't use BP_SYM.
18552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18554 (__bzero): Don't use BP_SYM.
18555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18557 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18558 <bp-sym.h> and <bp-asm.h>.
18559 (strncmp): Don't use BP_SYM. Remove comment about bounded
18560 pointers.
18561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18562 <bp-sym.h> and <bp-asm.h>.
18563 (memcpy): Don't use BP_SYM.
18564 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18565 <bp-sym.h> and <bp-asm.h>.
18566 (memset): Don't use BP_SYM.
18567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18569 (__bzero): Don't use BP_SYM.
18570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18573 <bp-sym.h> and <bp-asm.h>.
18574 (__memchr): Don't use BP_SYM.
18575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18576 <bp-sym.h> and <bp-asm.h>.
18577 (memcmp): Don't use BP_SYM. Remove comment about bounded
18578 pointers.
18579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18580 <bp-sym.h> and <bp-asm.h>.
18581 (memcpy): Don't use BP_SYM.
18582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18583 <bp-sym.h> and <bp-asm.h>.
18584 (__mempcpy): Don't use BP_SYM.
18585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18586 <bp-sym.h> and <bp-asm.h>.
18587 (__memrchr): Don't use BP_SYM.
18588 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18589 <bp-sym.h> and <bp-asm.h>.
18590 (memset): Don't use BP_SYM.
18591 (__bzero): Likewise.
18592 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18593 <bp-sym.h> and <bp-asm.h>.
18594 (__rawmemchr): Don't use BP_SYM.
18595 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18596 <bp-sym.h> and <bp-asm.h>.
18597 (__STRCMP): Don't use BP_SYM.
18598 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18599 <bp-sym.h> and <bp-asm.h>.
18600 (strchr): Don't use BP_SYM.
18601 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18602 <bp-sym.h> and <bp-asm.h>.
18603 (__strchrnul): Don't use BP_SYM.
18604 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18605 <bp-sym.h> and <bp-asm.h>.
18606 (strlen): Don't use BP_SYM.
18607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18608 <bp-sym.h> and <bp-asm.h>.
18609 (strncmp): Don't use BP_SYM. Remove comment about bounded
18610 pointers.
18611 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18612 <bp-sym.h> and <bp-asm.h>.
18613 (__strnlen): Don't use BP_SYM.
18614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18615 <bp-sym.h> and <bp-asm.h>.
18616 (__GI__setjmp): Don't use BP_SYM.
18617 (_setjmp): Likewise.
18618 (__sigsetjmp): Likewise.
18619 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18620 (L(start_addresses)): Don't use BP_SYM.
18621 (_start): Likewise.
18622 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18623 <bp-asm.h>.
18624 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18625 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18626 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18627 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18628 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18629 <bp-asm.h>.
18630 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18631 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18632 about bounded pointers.
18633 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18634 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18635 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18636 <bp-asm.h>.
18637 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18638 about bounded pointers. Remove GKM FIXME comments.
18639 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18640 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18641 <bp-asm.h>.
18642 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18643 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18644 Remove GKM FIXME comments.
18645 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18646 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18647 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18648 <bp-asm.h>.
18649 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18650 about bounded pointers. Remove GKM FIXME comment.
18651 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18652 and <bp-asm.h>.
18653 (strncmp): Don't use BP_SYM. Remove comment about bounded
18654 pointers.
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18656 <bp-sym.h> and <bp-asm.h>.
18657 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18659 <bp-sym.h> and <bp-asm.h>.
18660 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18661 comment.
18662
cdcf361f
PP
186632013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18664
18665 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18666 call free(NULL).
18667
3c4a2b15
DM
186682013-03-05 David S. Miller <davem@davemloft.net>
18669
18670 * po/es.po: Update from translation team.
18671
cdcf361f 186722013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18673
18674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18675 <bits/mman-linux.h>.
18676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18677 is fine.
18678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18679 <bits/mman-linux.h> to end of file.
18680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18681 is fine.
18682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18683 <bits/mman-linux.h> to end of file.
18684 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18685 is fine.
18686 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18687 <bits/mman-linux.h> to end of file.
18688
18689 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18690 (MCL_CURRENT, MCL_FUTURE): Define here.
18691
5f67c04f
AK
186922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18693
8a4473cc 18694 [BZ #15232]
5f67c04f
AK
18695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18696 attribute_hidden.
18697 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18698
c3e94a95
AK
186992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18700
18701 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18702 fourth parameter needed for rt_sigprocmask syscall.
18703 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18704 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18706 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18707 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18709
cfb6382a
JM
187102013-03-04 Joseph Myers <joseph@codesourcery.com>
18711
18712 [BZ #13550]
18713 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18714 comment about bounded pointers.
18715 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18716 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18717
539d8e01
AJ
187182013-03-04 Andreas Jaeger <aj@suse.de>
18719
18720 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18721 common definitions.
18722
18723 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18724 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18725 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18727 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18729
2e167a70 187302013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18731
18732 [BZ #15055]
18733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18734 __ieee754_sqrl instead of __sqrl.
18735
68508633
JM
187362013-03-01 Joseph Myers <joseph@codesourcery.com>
18737
18738 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18739 * sysdeps/powerpc/fpu_control.h: ... here.
18740 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18741 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18742 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18743 * sysdeps/powerpc/bits/mathinline.h: ... here.
18744
7775448e
RM
187452013-03-01 Roland McGrath <roland@hack.frob.com>
18746
18747 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18748 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18749 to just [NEED_DL_SYSINFO_DSO].
18750 * elf/dl-support.c: Likewise.
18751 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18752 * elf/rtld.c (dl_main): Likewise.
18753 * elf/setup-vdso.h (setup_vdso): Likewise.
18754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18755 * sysdeps/unix/sysv/linux/dl-sysdep.c
18756 (_dl_discover_osversion): Likewise.
18757
4e9b5995
CD
187582013-03-01 Carlos O'Donell <carlos@redhat.com>
18759
18760 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18761 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18762
e23872c8
SP
187632013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18764
e5c74c63
SP
18765 * NEWS: Mention libm performance improvements and non-x86 PI
18766 futex support.
18767
e23872c8
SP
18768 * csu/libc-start.c (__pthread_initialize_minimal): Change
18769 function arguments.
18770 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18771
b5510883
JM
187722013-02-28 Joseph Myers <joseph@codesourcery.com>
18773
18774 [BZ #13550]
18775 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18776 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18777 <bp-sym.h> and <bp-asm.h>.
18778 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18779 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18780 and <bp-asm.h>.
18781 (memcpy): Don't use BP_SYM.
18782 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18783 <bp-asm.h>.
18784 (__mpn_add_n): Don't use BP_SYM.
18785 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18786 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18787 and <bp-asm.h>.
18788 (__mpn_addmul_1): Don't use BP_SYM.
18789 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18790 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18791 <bp-sym.h>.
18792 (_setjmp): Don't use BP_SYM.
18793 (__novmx_setjmp): Likewise.
18794 (__GI__setjmp): Likewise.
18795 (__vmx_setjmp): Likewise.
18796 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18797 <bp-sym.h>.
18798 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18799 (__bzero): Don't use BP_SYM.
18800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18803 <bp-sym.h> and <bp-asm.h>.
18804 (memcpy): Don't use BP_SYM.
18805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18806 <bp-sym.h> and <bp-asm.h>.
18807 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18809 <bp-sym.h> and <bp-asm.h>.
18810 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18811 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18812 <bp-asm.h>.
18813 (__mpn_lshift): Don't use BP_SYM.
18814 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18815 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18816 <bp-asm.h>.
18817 (memset): Don't use BP_SYM.
18818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18820 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18821 <bp-asm.h>.
18822 (__mpn_mul_1): Don't use BP_SYM.
18823 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18825 <bp-sym.h> and <bp-asm.h>.
18826 (memcmp): Don't use BP_SYM.
18827 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18828 <bp-sym.h> and <bp-asm.h>.
18829 (memcpy): Don't use BP_SYM.
18830 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18831 <bp-sym.h> and <bp-asm.h>.
18832 (memset): Don't use BP_SYM.
18833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18834 <bp-sym.h> and <bp-asm.h>.
18835 (strncmp): Don't use BP_SYM.
18836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18837 <bp-sym.h> and <bp-asm.h>.
18838 (memcpy): Don't use BP_SYM.
18839 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18840 <bp-sym.h> and <bp-asm.h>.
18841 (memset): Don't use BP_SYM.
18842 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18843 <bp-sym.h> and <bp-asm.h>.
18844 (__memchr): Don't use BP_SYM.
18845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18846 <bp-sym.h> and <bp-asm.h>.
18847 (memcmp): Don't use BP_SYM.
18848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18849 <bp-sym.h> and <bp-asm.h>.
18850 (memcpy): Don't use BP_SYM.
18851 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18852 <bp-sym.h> and <bp-asm.h>.
18853 (__mempcpy): Don't use BP_SYM.
18854 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18855 <bp-sym.h> and <bp-asm.h>.
18856 (__memrchr): Don't use BP_SYM.
18857 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18858 <bp-sym.h> and <bp-asm.h>.
18859 (memset): Don't use BP_SYM.
18860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18861 <bp-sym.h> and <bp-asm.h>.
18862 (__rawmemchr): Don't use BP_SYM.
18863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18864 <bp-sym.h> and <bp-asm.h>.
18865 (__STRCMP): Don't use BP_SYM.
18866 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18867 <bp-sym.h> and <bp-asm.h>.
18868 (strchr): Don't use BP_SYM.
18869 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18870 <bp-sym.h> and <bp-asm.h>.
18871 (__strchrnul): Don't use BP_SYM.
18872 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18873 <bp-sym.h> and <bp-asm.h>.
18874 (strlen): Don't use BP_SYM.
18875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18876 <bp-sym.h> and <bp-asm.h>.
18877 (strncmp): Don't use BP_SYM.
18878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18879 <bp-sym.h> and <bp-asm.h>.
18880 (__strnlen): Don't use BP_SYM.
18881 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18882 <bp-asm.h>.
18883 (__mpn_rshift): Don't use BP_SYM.
18884 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18885 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18886 <bp-sym.h> and <bp-asm.h>.
18887 (__sigsetjmp): Don't use BP_SYM.
18888 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18889 (L(start_addresses)): Don't use BP_SYM.
18890 (_start): Likewise.
18891 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18892 <bp-asm.h>.
18893 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18894 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18895 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18896 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18897 <bp-asm.h>.
18898 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18899 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18900 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18901 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18902 <bp-asm.h>.
18903 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18904 comments.
18905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18906 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18907 <bp-asm.h>.
18908 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18909 FIXME comments.
18910 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18911 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18912 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18913 <bp-asm.h>.
18914 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18915 comment.
18916 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18917 and <bp-asm.h>.
18918 (strncmp): Don't use BP_SYM,
18919 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18920 <bp-asm.h>.
18921 (__mpn_sub_n): Don't use BP_SYM.
18922 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18923 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18924 and <bp-asm.h>.
18925 (__mpn_submul_1): Don't use BP_SYM.
18926 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18928 <bp-sym.h> and <bp-asm.h>.
18929 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18931 <bp-sym.h> and <bp-asm.h>.
18932 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18933 comment.
18934
8d19fe64
SP
189352013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18936
18937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18938 Use ZK to minimize writes to Z.
18939 (sub_magnitudes): Simplify code a bit.
18940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18941 Use ZK to minimize writes to Z.
18942 (sub_magnitudes): Simplify code a bit.
18943
85bd816a
RM
189442013-02-27 Roland McGrath <roland@hack.frob.com>
18945
18946 * csu/gmon-start.c: Add special exception to license text.
18947
b5977bf2
RH
189482013-02-27 Richard Henderson <rth@redhat.com>
18949
18950 * scripts/config.guess: Update from config.git.
18951 * scripts/config.sub: Likewise.
18952
11d6e2f2
SP
189532013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18954
09c14ed2
SP
18955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18956
a688864e
SP
18957 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18958
6295157a
SP
18959 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18960
b8de2202
SP
18961 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18962
11d6e2f2
SP
18963 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18964
7e80ddb8
RM
189652013-02-26 Roland McGrath <roland@hack.frob.com>
18966
18967 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18968 [$(build-shared = yes].
7e80ddb8 18969
7da6d9ed
SP
189702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18971
45f05884
SP
18972 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18973 (__mul): Reduce iterations for calculating mantissa.
18974
2236d359
SP
18975 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18976 MPTWO.
18977 (__mpranred): Likewise.
18978
7da6d9ed
SP
18979 [BZ #15160]
18980 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18981 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18982
b7688c42
PE
189832013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18984
18985 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18986 Define __attribute__.
18987
53a5c423
SP
189882013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18989
18990 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18991 unused.
18992 * posix/regex_internal.h (__attribute): Remove.
18993 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18994 (re_string_context_at): Likewise.
18995 (bitset_not): Use __attribute__ and mark function as possibly
18996 unused.
18997 (bitset_merge): Likewise.
18998 (bitset_mask): Likewise.
18999 (re_string_char_size_at): Likewise.
19000 (re_string_wchar_at): Likewise.
19001 (re_string_elem_size_at): Likewise.
19002
60f5a8b5
SP
190032013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19004
2a983a2e
SP
19005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19006 code.
19007 (cc32): Likewise.
19008
e69804d1
SP
19009 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19010 (__acr): Likewise.
19011 (__cpy): Likewise.
19012 (norm): Likewise.
19013 (denorm): Likewise.
19014 (__dbl_mp): Likewise.
19015 (add_magnitudes): Likewise.
19016 (sub_magnitudes): Likewise.
19017 (__mul): Likewise.
19018 (__inv): Likewise.
19019
2f22a1e8
SP
19020 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19021 style.
19022
8930ddc7
SP
19023 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19024 style.
19025
dc60cb11
SP
19026 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19027 code.
19028
60f5a8b5
SP
19029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19030 up changes with default code.
19031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19032 Likewise.
19033
b4d1fd33
AM
190342013-02-24 Allan McRae <allan@archlinux.org>
19035
faf6f8bc
AM
19036 * manual/socket.texi (The Internet Namespace): Order menu items
19037 to match that in the file.
19038
b4d1fd33
AM
19039 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19040 node listing of the info page menu.
19041
2366713d
JM
190422013-02-21 Joseph Myers <joseph@codesourcery.com>
19043
19044 [BZ #13550]
19045 * sysdeps/i386/bp-asm.h: Remove file.
19046 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19047 (PARMS): Do not use macros from bp-asm.h.
19048 (S1): Likewise.
19049 (S2): Likewise.
19050 (SIZE): Likewise.
19051 (__mpn_add_n): Do not use BP_SYM
19052 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19053 "bp-asm.h".
19054 (PARMS): Do not use macros from bp-asm.h.
19055 (S1): Likewise.
19056 (SIZE): Likewise.
19057 (__mpn_addmul_1): Do not use BP_SYM
19058 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19059 "bp-asm.h".
19060 (PARMS): Do not use macros from bp-asm.h.
19061 (SIGMSK): Likewise.
19062 (_setjmp): Likewise. Do not use BP_SYM.
19063 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19064 "bp-asm.h".
19065 (PARMS): Do not use macros from bp-asm.h.
19066 (SIGMSK): Likewise.
19067 (setjmp): Likewise. Do not use BP_SYM.
19068 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19069 "bp-asm.h".
19070 (PARMS): Do not use macros from bp-asm.h.
19071 (__frexp): Do not use BP_SYM.
19072 (frexp): Likewise.
19073 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19074 "bp-asm.h".
19075 (PARMS): Do not use macros from bp-asm.h.
19076 (__frexpf): Do not use BP_SYM.
19077 (frexpf): Likewise.
19078 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19079 "bp-asm.h".
19080 (PARMS): Do not use macros from bp-asm.h.
19081 (__frexpl): Do not use BP_SYM.
19082 (frexpl): Likewise.
19083 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19084 "bp-asm.h".
19085 (PARMS): Do not use macros from bp-asm.h.
19086 (__remquo): Do not use BP_SYM.
19087 (remquo): Likewise.
19088 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19089 "bp-asm.h".
19090 (PARMS): Do not use macros from bp-asm.h.
19091 (__remquof): Do not use BP_SYM.
19092 (remquof): Likewise.
19093 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19094 "bp-asm.h".
19095 (PARMS): Do not use macros from bp-asm.h.
19096 (__remquol): Do not use BP_SYM.
19097 (remquol): Likewise.
19098 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19099 "bp-asm.h".
19100 (PARMS): Do not use macros from bp-asm.h.
19101 (DEST): Likewise.
19102 (SRC): Likewise.
19103 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19104 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19105 "bp-asm.h".
19106 (PARMS): Do not use macros from bp-asm.h.
19107 (strlen): Do not use BP_SYM.
19108 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19109 "bp-asm.h".
19110 (PARMS): Do not use macros from bp-asm.h.
19111 (S1): Likewise.
19112 (S2): Likewise.
19113 (SIZE): Likewise.
19114 (__mpn_add_n): Do not use BP_SYM.
19115 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19116 "bp-asm.h".
19117 (PARMS): Do not use macros from bp-asm.h.
19118 (S1): Likewise.
19119 (SIZE): Likewise.
19120 (__mpn_addmul_1): Do not use BP_SYM.
19121 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19122 weak_alias.
19123 (bzero): Likewise.
19124 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19125 "bp-asm.h".
19126 (PARMS): Do not use macros from bp-asm.h.
19127 (S): Likewise.
19128 (SIZE): Likewise.
19129 (__mpn_lshift): Do not use BP_SYM.
19130 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19131 "bp-asm.h".
19132 (PARMS): Do not use macros from bp-asm.h.
19133 (DEST): Likewise.
19134 (SRC): Likewise.
19135 (LEN): Likewise.
19136 (memcpy): Likewise. Do not use BP_SYM.
19137 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19138 libc_hidden_def and weak_alias.
19139 (mempcpy): Do not use BP_SYM in weak_alias.
19140 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19141 "bp-asm.h".
19142 (PARMS): Do not use macros from bp-asm.h.
19143 (DEST): Likewise.
19144 (LEN): Likewise.
19145 [!BZERO_P] (CHR): Likewise.
19146 (memset): Likewise. Do not use BP_SYM.
19147 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19148 "bp-asm.h".
19149 (PARMS): Do not use macros from bp-asm.h.
19150 (S1): Likewise.
19151 (SIZE): Likewise.
19152 (__mpn_mul_1): Do not use BP_SYM.
19153 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19154 "bp-asm.h".
19155 (PARMS): Do not use macros from bp-asm.h.
19156 (S): Likewise.
19157 (SIZE): Likewise.
19158 (__mpn_rshift): Do not use BP_SYM.
19159 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19160 "bp-asm.h".
19161 (PARMS): Do not use macros from bp-asm.h.
19162 (STR): Likewise.
19163 (CHR): Likewise.
19164 (strchr): Likewise. Do not use BP_SYM.
19165 (index): Do not use BP_SYM in weak_alias.
19166 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19167 "bp-asm.h".
19168 (PARMS): Do not use macros from bp-asm.h.
19169 (DEST): Likewise.
19170 (SRC): Likewise.
19171 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19172 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19173 "bp-asm.h".
19174 (PARMS): Do not use macros from bp-asm.h.
19175 (strlen): Do not use BP_SYM.
19176 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19177 "bp-asm.h".
19178 (PARMS): Do not use macros from bp-asm.h.
19179 (S1): Likewise.
19180 (S2): Likewise.
19181 (SIZE): Likewise.
19182 (__mpn_sub_n): Do not use BP_SYM.
19183 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19184 "bp-asm.h".
19185 (PARMS): Do not use macros from bp-asm.h.
19186 (S1): Likewise.
19187 (SIZE): Likewise.
19188 (__mpn_submul_1): Do not use BP_SYM.
19189 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19190 "bp-asm.h".
19191 (PARMS): Do not use macros from bp-asm.h.
19192 (S1): Likewise.
19193 (S2): Likewise.
19194 (SIZE): Likewise.
19195 (__mpn_add_n): Do not use BP_SYM.
19196 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19197 weak_alias.
19198 (bzero): Likewise.
19199 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19200 "bp-asm.h".
19201 (PARMS): Do not use macros from bp-asm.h.
19202 (BLK2): Likewise.
19203 (LEN): Likewise.
19204 (memcmp): Do not use BP_SYM.
19205 (bcmp): Do not use BP_SYM in weak_alias.
19206 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19207 "bp-asm.h".
19208 (PARMS): Do not use macros from bp-asm.h.
19209 (DEST): Likewise.
19210 (SRC): Likewise.
19211 (LEN): Likewise.
19212 (memcpy): Likewise. Do not use BP_SYM.
19213 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19214 "bp-asm.h".
19215 (PARMS): Do not use macros from bp-asm.h.
19216 (DEST): Likewise.
19217 (SRC): Likewise.
19218 (LEN): Likewise.
19219 (memmove): Likewise. Do not use BP_SYM.
19220 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19221 "bp-asm.h".
19222 (PARMS): Do not use macros from bp-asm.h.
19223 (DEST): Likewise.
19224 (SRC): Likewise.
19225 (LEN): Likewise.
19226 (__mempcpy): Likewise. Do not use BP_SYM.
19227 (mempcpy): Do not use BP_SYM in weak_alias.
19228 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19229 "bp-asm.h".
19230 (PARMS): Do not use macros from bp-asm.h.
19231 (DEST): Likewise.
19232 (LEN): Likewise.
19233 [!BZERO_P] (CHR): Likewise.
19234 (memset): Likewise. Do not use BP_SYM.
19235 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19236 "bp-asm.h".
19237 (PARMS): Do not use macros from bp-asm.h.
19238 (STR2): Likewise.
19239 (strcmp): Do not use BP_SYM.
19240 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19241 "bp-asm.h".
19242 (PARMS): Do not use macros from bp-asm.h.
19243 (STR): Likewise.
19244 (DELIM): Likewise.
19245 [USE_AS_STRTOK_R] (SAVE): Likewise.
19246 (FUNCTION): Likewise. Do not use BP_SYM.
19247 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19248 aliases.
19249 (strtok_r): Likewise.
19250 (__GI___strtok_r): Likewise.
19251 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19252 (PARMS): Do not use macros from bp-asm.h.
19253 (S): Likewise.
19254 (SIZE): Likewise.
19255 (__mpn_lshift): Do not use BP_SYM.
19256 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19257 (PARMS): Do not use macros from bp-asm.h.
19258 (STR): Likewise.
19259 (CHR): Likewise.
19260 (__memchr): Do not use BP_SYM.
19261 (memchr): Do not use BP_SYM in weak_alias.
19262 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19263 (PARMS): Do not use macros from bp-asm.h.
19264 (BLK2): Likewise.
19265 (LEN): Likewise.
19266 (memcmp): Do not use BP_SYM.
19267 (bcmp): Do not use BP_SYM in weak_alias.
19268 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19269 (PARMS): Do not use macros from bp-asm.h.
19270 (S1): Likewise.
19271 (SIZE): Likewise.
19272 (__mpn_mul_1): Do not use BP_SYM.
19273 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19274 "bp-asm.h".
19275 (PARMS): Do not use macros from bp-asm.h.
19276 (STR): Likewise.
19277 (CHR): Likewise.
19278 (__rawmemchr): Do not use BP_SYM.
19279 (rawmemchr): Do not use BP_SYM in weak_alias.
19280 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19281 (PARMS): Do not use macros from bp-asm.h.
19282 (S): Likewise.
19283 (SIZE): Likewise.
19284 (__mpn_rshift): Do not use BP_SYM.
19285 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19286 (PARMS): Do not use macros from bp-asm.h.
19287 (SIGMSK): Likewise.
19288 (__sigsetjmp): Likewise. Do not use BP_SYM.
19289 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19290 (_start): Do not use BP_SYM.
19291 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19292 (PARMS): Do not use macros from bp-asm.h.
19293 (DEST): Likewise.
19294 (SRC): Likewise.
19295 (__stpcpy): Likewise. Do not use BP_SYM.
19296 (stpcpy): Do not use BP_SYM in weak_alias.
19297 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19298 "bp-asm.h".
19299 (PARMS): Do not use macros from bp-asm.h.
19300 (DEST): Likewise.
19301 (SRC): Likewise.
19302 (LEN): Likewise.
19303 (__stpncpy): Likewise. Do not use BP_SYM.
19304 (stpncpy): Do not use BP_SYM in weak_alias.
19305 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19306 (PARMS): Do not use macros from bp-asm.h.
19307 (STR): Likewise.
19308 (CHR): Likewise.
19309 (strchr): Likewise. Do not use BP_SYM.
19310 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19311 "bp-asm.h".
19312 (PARMS): Do not use macros from bp-asm.h.
19313 (STR): Likewise.
19314 (CHR): Likewise.
19315 (__strchrnul): Likewise. Do not use BP_SYM.
19316 (strchrnul): Do not use BP_SYM in weak_alias.
19317 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19318 "bp-asm.h".
19319 (PARMS): Do not use macros from bp-asm.h.
19320 (STOP): Likewise.
19321 (strcspn): Do not use BP_SYM.
19322 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19323 "bp-asm.h".
19324 (PARMS): Do not use macros from bp-asm.h.
19325 (STR): Likewise.
19326 (STOP): Likewise.
19327 (strpbrk): Likewise. Do not use BP_SYM.
19328 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19329 "bp-asm.h".
19330 (PARMS): Do not use macros from bp-asm.h.
19331 (STR): Likewise.
19332 (CHR): Likewise.
19333 (strrchr): Likewise. Do not use BP_SYM.
19334 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19335 (PARMS): Do not use macros from bp-asm.h.
19336 (SKIP): Likewise.
19337 (strspn): Do not use BP_SYM.
19338 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19339 (PARMS): Do not use macros from bp-asm.h.
19340 (STR): Likewise.
19341 (DELIM): Likewise.
19342 (SAVE): Likewise.
19343 (FUNCTION): Likewise. Do not use BP_SYM.
19344 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19345 aliases.
19346 (strtok_r): Likewise.
19347 (__GI___strtok_r): Likewise.
19348 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19349 (PARMS): Do not use macros from bp-asm.h.
19350 (S1): Likewise.
19351 (S2): Likewise.
19352 (SIZE): Likewise.
19353 (__mpn_sub_n): Do not use BP_SYM.
19354 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19355 "bp-asm.h".
19356 (PARMS): Do not use macros from bp-asm.h.
19357 (S1): Likewise.
19358 (SIZE): Likewise.
19359 (__mpn_submul_1): Do not use BP_SYM.
19360 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19361 <bp-sym.h>.
19362 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19363 and <bp-asm.h>.
19364 (PARMS): Do not use macros from bp-asm.h.
19365 (FLAGS): Likewise.
19366 (PTID): Likewise.
19367 (TLS): Likewise.
19368 (CTID): Likewise.
19369 (__clone): Do not use BP_SYM.
19370 (clone): Do not use BP_SYM in weak_alias.
19371 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19372 and <bp-asm.h>.
19373 (PARMS): Do not use macros from bp-asm.h.
19374 (LEN): Likewise.
19375 (__mmap64): Do not use BP_SYM.
19376 (mmap64): Do not use BP_SYM in weak_alias.
19377 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19378 <bp-sym.h> and <bp-asm.h>.
19379 (PARMS): Do not use macros from bp-asm.h.
19380 (__posix_fadvise64_l64): Do not use BP_SYM.
19381 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19382 (PARMS): Do not use macros from bp-asm.h.
19383 (NSOPS): Likewise.
19384 (semtimedop): Do not use BP_SYM.
19385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19386 and <bp-asm.h>.
19387
582a3cff
AM
193882013-02-21 Allan McRae <allan@archlinux.org>
19389
19390 * manual/message.texi (Charset conversion in gettext):
19391 Move @end statement to beginning of line.
19392
bab8a695
SP
193932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19394
80945231
SP
19395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19396 static.
19397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19398 Likewise.
19399
bab8a695
SP
19400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19401 (denorm): Likewise.
19402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19404
e21d7aa7
AK
194052013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19406
19407 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19408 tail-call to the resolved function if pltexit isn't needed.
19409
4c7a4263
SP
194102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19411
19412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19413 or Y being zero as being unlikely.
19414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19415 Likewise.
19416
41f49342
CD
194172013-02-20 Carlos O'Donell <carlos@redhat.com>
19418
19419 * manual/nss.texi (System Databases and Name Service Switch):
19420 Remove frobnicate @pxref.
19421
50022a93
TS
194222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19423
19424 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19425 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19426
08cbd996
PM
194272013-02-20 Petr Machata <pmachata@redhat.com>
19428
19429 * elf/elf.h (R_ARM_TARGET1): New macro.
19430 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19431 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19432 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19433 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19434 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19435 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19436 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19437 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19438 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19439 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19440 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19441 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19442 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19443 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19444 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19445 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19446 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19447 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19448 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19449 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19450 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19451 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19452 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19453 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19454 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19455 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19456 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19457 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19458 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19459 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19460 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19461 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19462 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19463 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19464 (R_ARM_THM_GOT_BREL12): Likewise.
19465 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19466 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19467 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19468 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19469 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19470 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19471 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19472 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19473 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19474
c7b275d6
TS
194752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19476
19477 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19478 __attribute_used__ to __attribute__ ((unused)).
19479
20cd7fb3
SP
194802013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19481
19482 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19483 powerpc mpa.c.
19484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19485 comment formatting.
19486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19487
92945b52
JM
194882013-02-19 Joseph Myers <joseph@codesourcery.com>
19489
19490 [BZ #13550]
19491 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19492 Remove macro.
19493 (ENTER): Remove both macro definitions.
19494 (LEAVE): Likewise.
19495 (CHECK_BOUNDS_LOW): Likewise.
19496 (CHECK_BOUNDS_HIGH): Likewise.
19497 (CHECK_BOUNDS_BOTH): Likewise.
19498 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19499 (RETURN_BOUNDED_POINTER): Likewise.
19500 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19501 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19502 (POP_ERRNO_LOCATION_RETURN): Likewise.
19503 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19505 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19506 macros.
19507 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19508 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19509 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19510 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19511 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19512 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19513 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19514 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19515 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19516 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19517 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19518 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19520 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19521 removed macros.
19522 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19523 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19524 macros.
19525 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19526 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19527 * sysdeps/i386/i586/memset.S (memset): Likewise.
19528 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19529 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19530 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19531 macros.
19532 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19533 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19534 Change uses of L(2) to L(out).
19535 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19536 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19537 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19538 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19539 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19540 removed macros.
19541 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19542 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19543 macros.
19544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19545 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19546 (RETURN): Do not use macro LEAVE.
19547 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19548 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19549 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19550 * sysdeps/i386/i686/memset.S (memset): Likewise.
19551 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19552 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19554 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19555 Likewise.
19556 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19557 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19558 L(1_2) and L(1_3) into L(1).
19559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19560 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19561 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19562 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19563 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19564 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19565 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19567 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19568 macros.
19569 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19570 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19571 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19572 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19573 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19574 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19575 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19576 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19577 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19578 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19579 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19580 * sysdeps/i386/strspn.S (strspn): Likewise.
19581 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19582 conditional code.
19583 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19584 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19585 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19586 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19587 L(1_3) into L(1_1).
19588 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19589 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19590 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19591 macros.
19592 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19593
2389741a
JJ
195942013-02-19 Jakub Jelinek <jakub@redhat.com>
19595
19596 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19597 macro.
19598
2016b3cd
SP
195992013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19600
e4f22324
SP
19601 * math/atest-exp.c (exp_mpn): Remove ROUND.
19602 * math/atest-exp2.c (exp_mpn): Likewise.
19603 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19604
2016b3cd
SP
19605 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19606 * stdlib/tst-tls-atexit-lib.c: Likewise.
19607 * stdlib/tst-tls-atexit.c: Likewise.
19608
4be9b544
MF
196092013-02-18 Mike Frysinger <vapier@gentoo.org>
19610
19611 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19612 and __attribute_alloc_size__.
19613
2f62b9ee
MF
196142013-02-18 Mike Frysinger <vapier@gentoo.org>
19615
19616 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19617 __attribute_alloc_size__.
19618 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19619 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19620
6ff444c4
MF
196212013-02-18 Mike Frysinger <vapier@gentoo.org>
19622
19623 * include/programs/xmalloc.h: New file.
19624 * catgets/gencat.c: Include it.
19625 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19626 * elf/pldd.c: Likewise.
19627 * iconv/iconv_charmap.c: Likewise.
19628 * iconv/iconvconfig.c: Likewise.
19629 * iconv/strtab.c: Likewise.
19630 * locale/programs/locale.c: Likewise.
19631 * locale/programs/localedef.h: Likewise.
19632 * locale/programs/simple-hash.c: Likewise.
19633 * nscd/nscd.h: Likewise.
19634 * nss/makedb.c: Likewise.
19635 * sysdeps/generic/ldconfig.h: Likewise.
19636
be179c8a
SP
196372013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19638
ba384f6e
SP
19639 * Versions.def: Add GLIBC_2.18.
19640 * include/link.h (struct link_map): New member l_tls_dtor_count.
19641 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19642 (__call_tls_dtors): Likewise.
19643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19644 __cxa_thread_atexit_impl.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19646 Likewise.
19647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19648 Likewise.
19649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19650 Likewise.
19651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19652 Likewise.
19653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19655 Likewise.
19656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19657 Likewise.
19658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19660 Likewise.
19661 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19662 (tests): Add test case tst-tls-atexit.
19663 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19664 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19665 (GLIBC_PRIVATE): Add __call_tls_dtors.
19666 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19667 for libstdc++.
19668 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19669 * stdlib/tst-tls-atexit.c: New test case.
19670 * stdlib/tst-tls-atexit-lib.c: New test case.
19671
ffaa74cf 19672 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19673
be179c8a
SP
19674 * elf/Versions (ld): Add _dl_find_dso_for_object.
19675 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19676 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19677 (dl_open_worker): Use _dl_find_dso_for_object.
19678 * elf/dl-sym.c (do_sym): Likewise.
19679 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19680
f78b5caa
AK
196812013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19682
19683 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19684 Syntactic changes only.
19685 (_dl_runtime_profile): Do a tail-call to the resolved function.
19686
29691210
JM
196872013-02-17 Joseph Myers <joseph@codesourcery.com>
19688
19689 [BZ #13550]
19690 * sysdeps/x86_64/bp-asm.h: Remove file.
19691 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19692 <bp-sym.h> and <bp-asm.h>.
19693 (__clone): Do not use BP_SYM.
19694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19695 <bp-sym.h> and <bp-asm.h>.
19696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19697 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19698 "bp-asm.h".
19699 (_setjmp): Do not use BP_SYM.
19700 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19701 "bp-asm.h".
19702 (setjmp): Do not use BP_SYM.
19703 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19704 libc_hidden_def.
19705 (mempcpy): Do not use BP_SYM in weak_alias.
19706 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19707 "bp-asm.h".
19708 (strchr): Do not use BP_SYM.
19709 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19710 "bp-asm.h".
19711 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19712 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19713 (_start): Do not use BP_SYM.
19714 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19715 "bp-asm.h".
19716 (strcat): Do not use BP_SYM.
19717 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19718 "bp-asm.h".
19719 (STRCMP): Do not use BP_SYM.
19720 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19721 "bp-asm.h".
19722 (STRCPY): Do not use BP_SYM.
19723 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19724 "bp-asm.h".
19725 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19726 "bp-asm.h".
19727 (FUNCTION): Do not use BP_SYM.
19728 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19729 weak_alias.
19730 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19731
f238fd19
AJ
197322013-02-17 Andreas Jaeger <aj@suse.de>
19733
19734 * time/Versions: Sort entries.
19735 * string/Versions: Likewise.
19736 * resolv/Versions: Likewise.
19737 * posix/Versions: Likewise.
19738 * iconv/Versions: Likewise.
19739 * elf/Versions: Likewise.
19740 * wcsmbs/Versions: Likewise.
19741
bd07f23c 197422013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19743
22af19f9
SP
19744 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19745 loop termination condition.
19746
4709fe76
SP
19747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19748 variable to calculate EZ.
19749 (__sqr): Likewise.
2d0e0f29
SP
19750
19751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19752 the lower precision input.
19753
daaa7713
JM
197542013-02-15 Joseph Myers <joseph@codesourcery.com>
19755
19756 [BZ #13550]
19757 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19758 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19759 (run-via-rtld-prefix): Do not handle %-bp tests.
19760 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19761 (all-object-suffixes): Remove .ob.
19762 (bppfx): Remove variable.
19763 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19764 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19765 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19766 [$(build-bounded) = yes] (libtype.ob): Likewise.
19767 * Makerules (elide-routines.ob): Remove variable.
19768 (do-tests-clean): Do not handle *-bp.out.
19769 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19770 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19771 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19772 (tests): Do not include $(tests-bp.out).
19773 (xtests): Do not include $(xtests-bp.out).
19774 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19775 [$(build-bounded) = yes] ($(addprefix
19776 $(objpfx),$(binaries-bounded))): Remove rule.
19777 ($(objpfx)%-bp.out): Remove rule.
19778 * config.make.in (build-bounded): Remove variable.
19779 * crypt/Makefile [$(build-bounded) = yes]
19780 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19781 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19782 append to variable.
19783 [$(build-bounded) = yes] (install-lib): Likewise.
19784 [$(build-bounded) = yes] (generated): Likewise.
19785 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19786 Remove rule.
19787 * intl/Makefile [$(build-bounded) = yes]
19788 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19789 * math/Makefile [$(build-bounded) = yes]
19790 ($(tests:%=$(objpfx)%-bp): Likewise.
19791 * misc/Makefile [$(build-bounded) = yes]
19792 ($(objpfx)tst-tsearch-bp): Likewise.
19793 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19794 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19795 Remove dependency.
19796 * string/Makefile (o-objects.ob): Remove variable.
19797 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19798 (CFLAGS-.ob): Remove variable.
19799 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19800 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19801 both definitions of variable.
19802 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19803 (ASFLAGS-.ob): Remove variable.
19804
e97ed6dd
JM
198052013-02-14 Joseph Myers <joseph@codesourcery.com>
19806
2bdd4ca6
JM
19807 [BZ #13550]
19808 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19809 Remove __BOUNDED_POINTERS__ from condition.
19810 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19811 * string/bits/string2.h [!__NO_STRING_INLINES &&
19812 !__BOUNDED_POINTERS__]: Likewise.
19813 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19814 Likewise.
19815 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19816 Remove conditional code.
19817 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19818 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19819 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19820 condition.
19821
e97ed6dd
JM
19822 [BZ #13550]
19823 * csu/libc-start.c: Do not include <bp-sym.h>.
19824 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19825 * elf/dl-open.c: Do not include <bp-sym.h>.
19826 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19827 * math/fegetenv.c: Do not include <bp-sym.h>.
19828 (fegetenv): Do not use BP_SYM in versioned symbols.
19829 * nptl/sysdeps/pthread/bits/libc-lockP.h
19830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19831 <bp-sym.h>.
19832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19833 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19835 (__pthread_mutex_destroy): Likewise.
19836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19837 (__pthread_mutex_lock): Likewise.
19838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19839 (__pthread_mutex_trylock): Likewise.
19840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19841 (__pthread_mutex_unlock): Likewise.
19842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19843 (__pthread_mutexattr_init): Likewise.
19844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19845 (__pthread_mutexattr_destroy): Likewise.
19846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19847 (__pthread_mutexattr_settype): Likewise.
19848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19849 (__pthread_rwlock_init): Likewise.
19850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19851 (__pthread_rwlock_destroy): Likewise.
19852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19853 (__pthread_rwlock_rdlock): Likewise.
19854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19855 (__pthread_rwlock_tryrdlock): Likewise.
19856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19857 (__pthread_rwlock_wrlock): Likewise.
19858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19859 (__pthread_rwlock_trywrlock): Likewise.
19860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19861 (__pthread_rwlock_unlock): Likewise.
19862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19863 (__pthread_key_create): Likewise.
19864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19865 (__pthread_setspecific): Likewise.
19866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19867 (__pthread_getspecific): Likewise.
19868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19869 Likewise.
19870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19871 (_pthread_cleanup_push_defer): Likewise.
19872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19873 (_pthread_cleanup_pop_restore): Likewise.
19874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19875 (pthread_setcancelstate): Likewise.
19876 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19877 <bp-sym.h>.
19878 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19879 (memchr): Do not use BP_SYM in weak_alias.
19880 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19881 (fegetenv): Do not use BP_SYM in versioned symbols.
19882 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19883 (fesetenv): Do not use BP_SYM in versioned symbols.
19884 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19885 (feupdateenv): Do not use BP_SYM in versioned symbols.
19886 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19887 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19888 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19889 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19890 (open64): Do not use BP_SYM in weak_alias.
19891 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19892 (fegetenv): Do not use BP_SYM in versioned symbols.
19893 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19894 (fesetenv): Do not use BP_SYM in versioned symbols.
19895 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19896 (feupdateenv): Do not use BP_SYM in versioned symbols.
19897 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19898 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19899 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19900 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19901 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19902 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19903 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19904 <bp-sym.h>.
19905 (__libc_start_main): Do not use BP_SYM.
19906
d6752ccd
SP
199072013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19908
cb57ce60
SP
19909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19910 redundant return line.
19911 (norm): Likewise.
19912 (denorm): Likewise.
19913 (dbl_mp): Likewise.
19914 (sub_magnitudes): Likewise.
19915 (__add): Likewise.
19916 (__sub): Likewise.
19917 (__mul): Likewise.
19918 (__inv): Likewise.
19919 (__dvd): Likewise.
19920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19921 (norm): Likewise.
19922 (denorm): Likewise.
19923 (dbl_mp): Likewise.
19924 (sub_magnitudes): Likewise.
19925 (__add): Likewise.
19926 (__sub): Likewise.
19927 (__mul): Likewise.
19928 (__inv): Likewise.
19929 (__dvd): Likewise.
19930
f414520d
SP
19931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19932 instead of __mul.
19933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19934 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19935 (cc32): Likewise.
19936
d6752ccd
SP
19937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19938 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19940 of __mul for squares.
19941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19942 function
19943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19944 Likewise.
19945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19947
70d9946a
JM
199482013-02-13 Joseph Myers <joseph@codesourcery.com>
19949
19950 [BZ #13550]
19951 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19952 code.
19953 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19954 prototype or function definition. Rename ubp_* variables and
19955 parameters. Remove argv definitions conditional on
19956 [__BOUNDED_POINTERS__].
19957 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19958 * elf/dl-runtime.c (_dl_fixup): Likewise.
19959 * include/set-hooks.h (RUN_HOOK): Likewise.
19960 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19961 definition.
19962 * string/strcpy.c (strcpy): Do not use __unbounded.
19963 * sysdeps/generic/frame.h (struct layout): Likewise.
19964 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19965 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19966 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19967 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19968 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19969 (__backtrace): Likewise.
19970 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19971 use __ptrvalue.
19972 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19973 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19974 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19975 Likewise.
19976 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19977 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19979 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19980 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19981 Do not use __unbounded.
19982 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19983 Rename __unboundedrlimits parameter to rlimits in prototype.
19984 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19985 Do not use __unbounded.
19986 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19987 not use __ptrvalue.
19988 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19989 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19990 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19991 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19992 __ptrvalue or __unbounded.
19993 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19994 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19995 use __unbounded.
19996 (__new_msgctl): Do not use __ptrvalue.
19997 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19998 __unbounded.
19999 (__libc_msgrcv): Do not use __ptrvalue.
20000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20001 startup_info): Do not use __unbounded.
20002 (__libc_start_main): Likewise. Rename ubp_* variables and
20003 parameters. Remove argv definitions conditional on
20004 [__BOUNDED_POINTERS__].
20005 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20006 __ptrvalue.
20007 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20008 use __unbounded.
20009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20010 or __ptrvalue.
20011 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20012 use __unbounded.
20013 (__new_shmctl): Do not use __ptrvalue.
20014 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20015 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20016 Likewise.
20017 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20019 (__libc_sigaction): Likewise.
20020 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20021 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20022 Likewise.
20023 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20024
cc7834d6
OB
200252013-02-13 Ondřej Bílka <neleai@seznam.cz>
20026
ffb1ec7b 20027 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20028
20029 * string/mempcpy.c: Implement by calling memcpy.
20030
bdf02814
SP
200312013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20032
c2af38aa
SP
20033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20034
4e92d59e
SP
20035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20036 evaluation.
20037
909279a5
SP
20038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20039 values in the mantissa.
20040
bdf02814
SP
20041 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20042 minimize writes to Z.
20043 (sub_magnitudes): Simplify code a bit.
20044
cd525923
RM
200452013-02-12 Roland McGrath <roland@hack.frob.com>
20046
20047 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20048 from the message. The linker prefixes all warnings with that already.
20049
7e2f0d2d
AS
200502013-02-12 Andreas Schwab <schwab@suse.de>
20051
a445af0b
AS
20052 [BZ #15078]
20053 * posix/regexec.c (extend_buffers): Add parameter min_len.
20054 (check_matching): Pass minimum needed length.
20055 (clean_state_log_if_needed): Likewise.
20056 (get_subexp): Likewise.
20057 * posix/Makefile (tests): Add bug-regex34.
20058 (bug-regex34-ENV): Define.
20059 * posix/bug-regex34.c: New file.
20060
7e2f0d2d
AS
20061 [BZ #11561]
20062 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20063 elements compare against the byte sequence of it, not its name.
20064 * posix/Makefile (tests): Add bug-regex35.
20065 (bug-regex35-ENV): Define.
20066 * posix/bug-regex35.c: New file.
20067
a175b684
TV
200682013-02-11 Tom de Vries <tom@codesourcery.com>
20069
20070 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20071 comment.
20072 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20073 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20074 (CHECK_EOL): Add undef.
20075
310998fe 200762013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20077
20078 * bits/stdlib-bsearch.h: New file.
20079 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20080 * stdlib/stdlib.h: Likewise.
41eda41d 20081
8ded91fb
RM
200822013-02-11 Roland McGrath <roland@hack.frob.com>
20083
20084 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20085 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20086 declaration.
20087 * manual/search.texi (Array Search Function): Add missing const in
20088 lfind prototype.
20089 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20090 declaration to use rlim_t.
20091 (Basic Scheduling Functions): Remove erroneous const from
20092 sched_getparam prototype. Remove erroneous * from
20093 sched_get_priority_max and sched_get_priority_min prototypes.
20094 (Resource Usage): Fix summary @comment on vtimes to refer to
20095 sys/vtimes.h rather than vtimes.h.
20096 Add missing *s in vtimes prototype.
20097 (Limits on Resources): Fix ulimit prototype to return long int.
20098 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20099 prototypes to use long int rather than double.
20100 (BSD Random): Fix initstate and setstate to use char *, not void *.
20101 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20102 prototype to make second argument 'struct aiocb64 *const[]'.
20103 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20104 (Status of AIO Operations): Remove erroneous const in aio_return and
20105 aio_return64 prototypes.
20106 (Synchronizing I/O): Fix sync prototype to return void.
20107 * manual/startup.texi (Suboptions): Remove an erroneous const in
20108 getsubopt prototype.
20109 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20110 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20111 use size_t rather than int.
20112 (Scanning All Users): Likewise for getpwent_r.
20113 (Setting Groups): Add missing const to setgroups prototype.
20114 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20115 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20116 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20117 'const void *' rather than 'const char *'.
20118 (Host Address Functions): Likewise for inet_ntop.
20119 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20120 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20121 ssize_t for return value.
20122 (Sending Data): Likewise for send, sendto, sendmsg.
20123 (Socket Option Functions): Add a missing const in setsockopt prototype.
20124 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20125 use wchar_t for the argument.
20126 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20127 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20128 take no arguments.
20129 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20130 double/float/long double for second argument.
20131 Fix return types of significand, significandf, significandl.
20132 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20133 argument in fchmod prototype.
20134 (File Owner): Use uid_t and gid_t in fchown prototype.
20135 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20136 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20137 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20138 use 'const struct dirent **' as argument types to CMP function pointer
20139 argument.
20140 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20141 (File Times): Fix summary magic @comment for struct utimbuf and utime
20142 to refer to utime.h, not time.h.
20143 * manual/string.texi (Argz Functions): Add missing const in
20144 argz_extract and argz_next prototypes.
20145 (Finding Tokens in a String): Likewise for basename.
20146 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20147 (Copying and Concatenation): Fix typo in wmemmove prototype.
20148 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20149 (Signal Stack): Remove erroneous const in sigstack prototype.
20150 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20151 prototype.
20152 (Simple Calendar Time): Likewise for stime.
20153 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20154 prototype.
20155 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20156 say sys/sysctl.h instead.
20157 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20158 and vsyslog prototypes.
20159
fe77fe6d
TV
201602013-02-11 Tom de Vries <tom@codesourcery.com>
20161
20162 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20163 Remove.
20164
3a09b620
RM
201652013-02-11 Roland McGrath <roland@hack.frob.com>
20166
20167 * misc/sys/mman.h: Fix typo in mremap comment.
20168
550a0b89
RM
201692013-02-08 Roland McGrath <roland@hack.frob.com>
20170
20171 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20172 the '\0' terminator.
20173
a2da1673
JM
201742013-02-08 Joseph Myers <joseph@codesourcery.com>
20175
20176 [BZ #13550]
20177 * debug/segfault.c: Don't include <bp-checks.h>.
20178 * sysdeps/generic/bp-checks.h: Remove file.
20179 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20180 (__GETDENTS): Don't use CHECK_N.
20181 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20182 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20183 (__getgroups): Don't use CHECK_N.
20184 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20185 (setgroups): Don't use CHECK_N.
20186 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20187 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20188 (__libc_msgrcv): Don't use CHECK_N.
20189 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20190 (__libc_msgsnd): Don't use CHECK_N.
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20192 <bp-checks.h>.
20193 (__libc_pread): Don't use CHECK_N.
20194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20195 include <bp-checks.h>.
20196 (__libc_pread64): Don't use CHECK_N.
20197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20198 include <bp-checks.h>.
20199 (__libc_pwrite): Don't use CHECK_N.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20201 include <bp-checks.h>.
20202 (__libc_pwrite64): Don't use CHECK_N.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20204 <bp-checks.h>.
20205 (__libc_pread): Don't use CHECK_N.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20207 include <bp-checks.h>.
20208 (__libc_pread64): Don't use CHECK_N.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20210 include <bp-checks.h>.
20211 (__libc_pwrite): Don't use CHECK_N.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20213 include <bp-checks.h>.
20214 (__libc_pwrite64): Don't use CHECK_N.
20215 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20216 (do_pread): Don't use CHECK_N.
20217 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20218 (do_pread64): Don't use CHECK_N.
20219 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20220 (do_pwrite): Don't use CHECK_N.
20221 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20222 (do_pwrite64): Don't use CHECK_N.
20223 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20224 (__libc_readv): Don't use CHECK_N.
20225 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20226 (semop): Don't use CHECK_N.
20227 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20228 <bp-checks.h>.
20229 (semtimedop): Don't use CHECK_N.
20230 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20231 (__libc_pread): Don't use CHECK_N.
20232 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20233 <bp-checks.h>.
20234 (__libc_pread64): Don't use CHECK_N.
20235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20236 <bp-checks.h>.
20237 (__libc_pwrite): Don't use CHECK_N.
20238 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20239 <bp-checks.h>.
20240 (__libc_pwrite64): Don't use CHECK_N.
20241 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20242 <bp-checks.h>.
20243 (__libc_msgrcv): Don't use CHECK_N.
20244 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20245 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20246 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20247 (__libc_writev): Don't use CHECK_N.
20248
b84660a8
RM
202492013-02-08 Roland McGrath <roland@hack.frob.com>
20250
7f3e75f8
RM
20251 * string/strcpy.c: Removed unused variable.
20252
b84660a8
RM
20253 * Makeconfig (+sysdep-includes): Define with := rather than =.
20254 Use an existing include/ subdir of each sysdeps dir before it.
20255
471514d3
CD
202562013-02-08 Carlos O'Donell <carlos@redhat.com>
20257
20258 * nscd/connection.c (register_traced_file): Comment function.
20259 [HAVE_INOTIFY] (union __inev): Define.
20260 [HAVE_INOTIFY] (inotify_check_files): New function.
20261 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20262 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20263 clear_db_cache.
20264 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20265
b2d3c3be
CD
202662013-02-08 Carlos O'Donell <carlos@redhat.com>
20267
20268 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20269 loaded if not already and that a failure is permanent.
20270
b39949d2
CD
202712013-02-08 Carlos O'Donell <carlos@redhat.com>
20272
ddacd1db 20273 [BZ #15006]
b39949d2
CD
20274 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20275 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20276
b2c9eff4
JM
202772013-02-08 Joseph Myers <joseph@codesourcery.com>
20278
f3aae3f3
JM
20279 [BZ #13550]
20280 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20281 (CHECK_1_NULL_OK): Likewise.
20282 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20283 (__fxstat): Do not use CHECK_1.
20284 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20285 <bp-checks.h>.
20286 (___fxstat64): Do not use CHECK_1.
20287 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20288 <bp-checks.h>.
20289 (__fxstatat): Do not use CHECK_1.
20290 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20291 <bp-checks.h>.
20292 (__fxstatat64): Do not use CHECK_1.
20293 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20294 <bp-checks.h>.
20295 (__fxstat): Do not use CHECK_1.
20296 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20297 <bp-checks.h>.
20298 (__fxstatat): Do not use CHECK_1.
20299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20300 <bp-checks.h>.
20301 (__getresgid): Do not use CHECK_1.
20302 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20303 <bp-checks.h>.
20304 (__getresuid): Do not use CHECK_1.
20305 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20306 <bp-checks.h>.
20307 (__lxstat): Do not use CHECK_1.
20308 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20309 <bp-checks.h>.
20310 (__old_msgctl): Do not use CHECK_1.
20311 (__new_msgctl): Likewise.
20312 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20313 <bp-checks.h>.
20314 (__new_setrlimit): Do not use CHECK_1.
20315 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20316 <bp-checks.h>.
20317 (__old_shmctl): Do not use CHECK_1.
20318 (__new_shmctl): Likewise.
20319 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20320 <bp-checks.h>.
20321 (__xstat): Do not use CHECK_1.
20322 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20323 (__lxstat): Do not use CHECK_1.
20324 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20325 <bp-checks.h>.
20326 (___lxstat64): Do not use CHECK_1.
20327 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20328 (__old_msgctl): Do not use CHECK_1.
20329 (__new_msgctl): Likewise.
20330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20331 <bp-checks.h>.
20332 (__gettimeofday): Do not use CHECK_1.
20333 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20334 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20335 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20336 <bp-checks.h>.
20337 (__gettimeofday): Do not use CHECK_1.
20338 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20339 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20340 (__new_shmctl): Do not use CHECK_1.
20341 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20342 <bp-checks.h>.
20343 (do_sigtimedwait): Do not use CHECK_1.
20344 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20345 <bp-checks.h>.
20346 (do_sigwaitinfo): Do not use CHECK_1.
20347 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20348 <bp-checks.h>.
20349 (msgctl): Do not use CHECK_1.
20350 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20351 <bp-checks.h>.
20352 (shmctl): Do not use CHECK_1.
20353 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20354 (ustat): Do not use CHECK_1.
20355 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20356 <bp-checks.h>.
20357 (__fxstat): Do not use CHECK_1.
20358 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20359 <bp-checks.h>.
20360 (__fxstatat): Do not use CHECK_1.
20361 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20362 <bp-checks.h>.
20363 (__lxstat): Do not use CHECK_1.
20364 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20365 <bp-checks.h>.
20366 (__xstat): Do not use CHECK_1.
20367 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20368 (__xstat): Do not use CHECK_1.
20369 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20370 (___xstat64): Do not use CHECK_1.
20371
b2c9eff4
JM
20372 [BZ #13550]
20373 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20374 definitions.
20375 (CHECK_BOUNDS_HIGH): Likewise.
20376 * string/strcpy.c: Do not include <bp-checks.h>.
20377 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20378
f1d70dad
RM
203792013-02-07 Roland McGrath <roland@hack.frob.com>
20380
20381 * nscd/nscd-client.h (__nscd_drop_map_ref):
20382 Add __attribute__ ((unused)).
20383 * nis/nss-nisplus.h (niserr2nss): Likewise.
20384
20385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20386 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20387
20388 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20389 Remove inline keyword.
20390 * include/rounding-mode.h (round_away): Likewise.
20391 * libio/wfileops.c (adjust_wide_data): Likewise.
20392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20393 (__m128i_strloadu_tolower): Likewise.
20394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20395 (__m128i_strloadu_tolower): Likewise.
20396 * time/mktime.c (ydhms_diff): Likewise.
20397 * locale/elem-hash.h (elem_hash): Likewise.
20398 * locale/setlocale.c (setdata): Likewise.
20399 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20400 (re_string_wchar_at): Likewise.
20401 (bitset_not, bitset_merge, bitset_mask): Likewise.
20402 [!(__GNUC__ > 3)] (inline): Remove macro.
20403 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20404 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20405 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20406 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20407 * string/memcmp.c (memcmp_bytes): Likewise.
20408 * locale/programs/locarchive.c (compute_hashval): Likewise.
20409 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20410 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20411 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20412 * nss/getent.c (print_rpc, print_protocols): Likewise.
20413 (print_passwd, print_group, print_aliases): Likewise.
20414 * nis/nss-nisplus.h (niserr2nss): Likewise.
20415 * nscd/connections.c (restart_p): Likewise.
20416 Change return type to bool.
20417
eab55bfb
RM
204182013-02-05 Roland McGrath <roland@hack.frob.com>
20419
7bd642f5
RM
20420 * Makeconfig (all-Depend-files): Add existing
20421 $(sorted-subdirs:=/Depend) files.
20422 (all-subdirs): Remove nss.
20423 * sysdeps/unix/inet/Subdirs: Add it here instead.
20424 * hesiod/Depend: New file.
20425
573c29b2
RM
20426 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20427 instead of calling alloca.
20428
b2e25af0
RM
20429 * io/lseek.c (__lseek): Rename to __libc_lseek.
20430 Define __lseek as an alias.
20431
eab55bfb
RM
20432 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20433
9a0d1941
CD
204342013-02-04 Carlos O'Donell <carlos@redhat.com>
20435
20436 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20437 else clause and remove check for non-standard endianness.
20438
b83bbec4
DM
204392013-02-04 David S. Miller <davem@davemloft.net>
20440
20441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20442
6277fdab
JM
204432013-02-04 Joseph Myers <joseph@codesourcery.com>
20444
20445 [BZ #13550]
20446 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20447 (__ubp_memchr): Remove prototype.
20448 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20449 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20450 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20451 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20452 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20453 Remove alias.
20454 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20455 (__ubp_memchr): Likewise.
20456 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20457 (__ubp_memchr): Likewise.
20458 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20459 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20460 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20462 CHECK_STRING.
20463 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20464 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20465 (__getcwd): Do not use CHECK_STRING.
20466 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20467 <bp-checks.h>.
20468 (__real_chown): Do not use CHECK_STRING.
20469 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20470 <bp-checks.h>.
20471 (fchownat): Do not use CHECK_STRING.
20472 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20473 CHECK_STRING.
20474 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20475 <bp-checks.h>.
20476 (__lchown): Do not use CHECK_STRING.
20477 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20478 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20479 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20480 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20482 include <bp-checks.h>.
20483 (truncate64): Do not use CHECK_STRING.
20484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20485 <bp-checks.h>.
20486 (__real_chown): Do not use CHECK_STRING.
20487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20488 <bp-checks.h>.
20489 (__lchown): Do not use CHECK_STRING.
20490 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20491 <bp-checks.h>.
20492 (__chown): Do not use CHECK_STRING.
20493 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20494 <bp-checks.h>.
20495 (truncate64): Do not use CHECK_STRING.
20496 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20497 Likewise.
20498 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20499 (__xmknod): Do not use CHECK_STRING.
20500 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20501 <bp-checks.h>.
20502 (__xmknodat): Do not use CHECK_STRING.
20503 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20504 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20505
903ae060
AS
205062013-02-04 Andreas Schwab <schwab@suse.de>
20507
20508 [BZ #14142]
20509 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20510 * include/netdb.h: Likewise for h_errno.
20511 * elf/tst-stackguard1.c: Include <tls.h>.
20512
542f9466
JK
205132013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20514
20515 * elf/link.h (struct link_map): Extend the l_addr comment.
20516 * include/link.h (struct link_map): Likewise.
20517
e782a927
JM
205182013-02-01 Joseph Myers <joseph@codesourcery.com>
20519
20520 [BZ #13550]
20521 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20522 (BOUNDED_1): Remove macro.
20523 * debug/backtrace.c: Don't include <bp-checks.h>.
20524 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20525 (__backtrace): Likewise.
20526 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20527 <bp-checks.h>.
20528 (__backtrace): Don't use BOUNDED_1.
20529 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20530 <bp-checks.h>.
20531 (__backtrace): Don't use BOUNDED_1.
20532 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20533 (__backtrace): Don't use BOUNDED_1.
20534 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20535 (shmat): Don't use BOUNDED_N.
20536
8cf28c5e
JM
205372013-01-31 Joseph Myers <joseph@codesourcery.com>
20538
3a7ac8a0
JM
20539 [BZ #13550]
20540 * sysdeps/generic/bp-start.h: Remove file.
20541 * csu/libc-start.c: Don't include <bp-start.h>.
20542 (LIBC_START_MAIN): Set up __environ directly instead of using
20543 INIT_ARGV_and_ENVIRON.
20544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20545 <bp-start.h>.
20546
f3499f95
JM
20547 [BZ #13550]
20548 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20549 definitions.
20550 (CHECK_FCNTL): Likewise.
20551 (CHECK_N_PAGES): Likewise.
20552
32a45bea
JM
20553 [BZ #13550]
20554 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20555 definitions.
20556 (CHECK_SIGSET_NULL_OK): Likewise.
20557 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20558 <bp-checks.h>.
20559 (sigpending): Don't use CHECK_SIGSET.
20560 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20561 <bp-checks.h>.
20562 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20563 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20564 <bp-checks.h>.
20565 (do_sigsuspend): Don't use CHECK_SIGSET.
20566 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20567 use CHECK_SIGSET.
20568 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20569 (do_sigwait): Don't use CHECK_SIGSET.
20570 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20571 use CHECK_SIGSET.
20572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20573 include <bp-checks.h>.
20574 (sigpending): Don't use CHECK_SIGSET.
20575 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20576 include <bp-checks.h>.
20577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20578 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20579 <bp-checks.h>.
20580 (sigpending): Don't use CHECK_SIGSET.
20581 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20582 <bp-checks.h>.
20583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20584
2e8a5c8c
JM
20585 [BZ #13550]
20586 * sysdeps/generic/bp-semctl.h: Remove file.
20587 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20588 <bp-checks.h> and <bp-semctl.h>.
20589 (__old_semctl): Don't use CHECK_SEMCTL.
20590 (__new_semctl): Likewise.
20591 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20592 and <bp-semctl.h>.
20593 (__old_semctl): Don't use CHECK_SEMCTL.
20594 (__new_semctl): Likewise.
20595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20596 <bp-checks.h> and <bp-semctl.h>.
20597 (__old_semctl): Don't use CHECK_SEMCTL.
20598 (__new_semctl): Likewise.
20599 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20600 <bp-checks.h> and <bp-semctl.h>.
20601 (semctl): Don't use CHECK_SEMCTL.
20602
c2d54929
JM
20603 [BZ #13550]
20604 * Makerules (elide-bp-thunks): Remove variable.
20605 (elide-routines.oS): Don't use $(elide-bp-thunks).
20606 (elide-routines.os): Likewise.
20607 (elide-routines.o): Likewise.
20608 (elide-routines.op): Likewise.
20609 (elide-routines.og): Likewise.
20610 (objects): Don't use $(bp-thunks).
20611 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20612 include.
20613 (common-generated): Do not add s-proto-bp.d.
20614 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20615 (int): Likewise.
20616 (typ): Likewise.
20617 Do not generate makefile rules for bounded-pointer thunks.
20618 * sysdeps/generic/bp-thunks.h: Remove file.
20619 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20620 * sysdeps/unix/s-proto-bp.S: Likewise.
20621
8cf28c5e
JM
20622 [BZ #15062]
20623 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20624 parts of result separately when argument is not close to line from
20625 -i to i and one part of argument is small.
20626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20628 * math/libm-test.inc (cacos_test): Add more tests.
20629 (casin_test): Likewise.
20630 (casinh_test): Likewise.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633
c4e33b8d
DM
206342013-01-31 David S. Miller <davem@davemloft.net>
20635
20636 * po/de.po: Update from translation team.
20637
3b60b421
MK
206382013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20639
20640 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20641
bb931195
TS
206422013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20643
b5a5da23
TS
20644 * configure.in (_AC_PROG_CC_C89): New definition.
20645 * configure: Regenerate.
20646
bb931195
TS
20647 * configure.in (AC_PROG_CPP): New definition.
20648 * configure: Regenerate.
20649
8c53a12c
JM
206502013-01-23 Joseph Myers <joseph@codesourcery.com>
20651
20652 * debug/tst-backtrace.h: New file.
20653 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20654 (ret): Remove variable.
20655 (x): Likewise.
20656 (FAIL): Remove macro.
20657 (NO_INLINE): Likewise.
20658 (fn1): Use match function instead of strstr.
20659 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20660 (ret): Remove variable.
20661 (x): Likewise.
20662 (FAIL): Remove macro.
20663 (NO_INLINE): Likewise.
20664 (fn): Use match function instead of strstr.
20665 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20666 (ret): Remove variable.
20667 (x): Likewise.
20668 (FAIL): Remove macro.
20669 (NO_INLINE): Likewise.
20670 (handle_signal): Use match function instead of strstr.
20671 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20672 (ret): Remove variable.
20673 (x): Likewise.
20674 (FAIL): Remove macro.
20675 (NO_INLINE): Likewise.
20676 (handle_signal): Use match function instead of strstr.
20677
4858fa2a
RM
206782013-01-23 Roland McGrath <roland@hack.frob.com>
20679
20680 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20681
bae8e7f5
DM
206822013-01-23 David S. Miller <davem@davemloft.net>
20683
20684 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20685 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20686 argument of CAS if possible.
20687 * sysdeps/sparc/sparc64/bits/atomic.h
20688 (__arch_compare_and_exchange_val_32_acq): Likewise.
20689 (__arch_compare_and_exchange_val_64_acq): Likewise.
20690
9cbbc4ae
PT
206912013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20692
20693 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20694 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20695 Include <limits.h>.
67b3f58c 20696 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20697
5655a0b5
AC
206982013-01-23 Adam Conrad <adconrad@0c3.net>
20699
20700 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20701 (LDFLAGS-tst-array5): Likewise.
20702
052aff95
JM
207032013-01-23 Joseph Myers <joseph@codesourcery.com>
20704
20705 [BZ #15036]
20706 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20707 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20708 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20709 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20710
7c1e01aa
DM
207112013-01-21 David S. Miller <davem@davemloft.net>
20712
20713 * sysdeps/sparc/backtrace.c: New file.
20714 * sysdeps/sparc/sparc32/backtrace.h: New file.
20715 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20716 * sysdeps/sparc/sparc64/backtrace.h: New file.
20717 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20718 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20719 -funwind-tables.
20720
ab087e0a
AS
207212013-01-21 Andreas Schwab <schwab@suse.de>
20722
20723 [BZ #15020]
20724 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20725 closed its stdout.
20726
ed689c2f
AS
207272013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20728
20729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20730 "mpa2.h".
20731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20732
31d470ac
JM
207332013-01-18 Joseph Myers <joseph@codesourcery.com>
20734 Mark Mitchell <mark@codesourcery.com>
20735 Tom de Vries <tom@codesourcery.com>
20736 Paul Pluzhnikov <ppluzhnikov@google.com>
20737
20738 * debug/tst-backtrace2.c: New file.
20739 * debug/tst-backtrace3.c: Likewise.
20740 * debug/tst-backtrace4.c: Likewise.
20741 * debug/tst-backtrace5.c: Likewise.
20742 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20743 (CFLAGS-tst-backtrace3.c): Likewise.
20744 (CFLAGS-tst-backtrace4.c): Likewise.
20745 (CFLAGS-tst-backtrace5.c): Likewise.
20746 (LDFLAGS-tst-backtrace2): Likewise.
20747 (LDFLAGS-tst-backtrace3): Likewise.
20748 (LDFLAGS-tst-backtrace4): Likewise.
20749 (LDFLAGS-tst-backtrace5): Likewise.
20750 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20751 tst-backtrace4 and tst-backtrace5.
20752
90567f30 207532013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20754 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20755
20756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20757 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20759 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20761 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20762 "+r" and remove output regs list as redundant. Add explicit inline
20763 asm to specify register of return val to work around compiler codegen
20764 bug. Remove (int) cast on return value. Add return type parameter to
20765 use in macro so that this macro does not truncate return value for
20766 64-bit values.
20767 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20768 pass to INTERNAL_VSYSCALL_NCS.
20769 (INLINE_VSYSCALL): Add 'long int' as return type to
20770 INTERNAL_VSYSCALL_NCS macro invocation.
20771 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20772 INTERNAL_VSYSCALL_NCS macro invocation.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20774
d3b9ea61
SP
207752013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20776
0b57daeb
SP
20777 [BZ #14496]
20778 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20779 Fix application of SIMD FP exception mask.
20780
caa99d06
SP
20781 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20782 mp_no from a power of two.
20783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20784 __mpexp_twomm1. Use __pow_mp.
20785
d3b9ea61
SP
20786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20787 multiplication.
20788
1dbaee3c
DM
207892013-01-17 David S. Miller <davem@davemloft.net>
20790
20791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20792
728d7b43
JM
207932013-01-17 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #15023]
20796 * include/complex.h: Condition contents on [!_COMPLEX_H].
20797 (__kernel_casinhf): New prototype.
20798 (__kernel_casinh): Likewise.
20799 (__kernel_casinhl): Likewise.
20800 * math/Makefile (libm_calls): Add k_casinh.
20801 * math/k_casinh.c: New file.
20802 * math/k_casinhf.c: Likewise.
20803 * math/k_casinhl.c: Likewise.
20804 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20805 finite nonzero arguments.
20806 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20807 finite nonzero arguments.
20808 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20809 finite nonzero arguments.
20810 * math/s_casinh.c: Do not include <float.h>.
20811 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20812 * math/s_casinhf.c: Do not include <float.h>.
20813 (__casinhf): Move code for finite nonzero arguments to
20814 k_casinhf.c.
20815 * math/s_casinhl.c: Do not include <float.h>.
20816 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20817 redefine.
20818 (__casinhl): Move code for finite nonzero arguments to
20819 k_casinhl.c.
20820 * math/libm-test.inc (cacos_test): Add more tests.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20823
2a26ef3a
PT
208242013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20825
20826 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20827 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20828 [!HAVE_MREMAP]: Remove [defined linux] case.
20829 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20830
a897655d
SP
208312013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20832
20833 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20834
881ebe89 208352013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20836
20837 * elf/elf.h (R_386_SIZE32): New relocation.
20838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20839 R_386_SIZE32.
20840 (elf_machine_rela): Likewise.
20841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20842 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20843
59981e9b
JM
208442013-01-17 Joseph Myers <joseph@codesourcery.com>
20845
20846 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20847 (FP_FAST_FMA): Do not define.
20848 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20849 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20850 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20851 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20852 !_SOFT_FLOAT]: Likewise.
20853 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20854 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20855 value.
20856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20857 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20859 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20860 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20861 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20862 file.
20863
cfa8054f
AS
208642013-01-16 Andreas Schwab <schwab@suse.de>
20865
20866 [BZ #14327]
20867 * include/stdlib.h (__mktemp): Add declaration.
20868 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20869 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20870
dd930cc5
SP
208712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20872
881ebe89
SP
20873 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20874 definitions.
20875 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20876 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20877 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20878 definitions here.
20879 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20880 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20881 definitions.
20882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20883 and ONE.
20884 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20885 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20887 definitions.
20888 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20889 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20890 definitions.
20891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20892
dd930cc5
SP
20893 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20894
c19a9f89
DM
208952013-01-15 David S. Miller <davem@davemloft.net>
20896
1aa61767
DM
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20898 trunc{,f} to libm-sysdep_routes.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20901 file.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20904 file.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20906 file.
20907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20909 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20912 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20913 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20914 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20915
c42d5e98
DM
20916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20917 nearbyint{,f} to libm-sysdep_routes.
20918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20920 New file.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20922 file.
20923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20924 New file.
20925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20926 file.
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20930 file.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20933 file.
20934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20935 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20936 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20937
c19a9f89
DM
20938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20939 libc_feholdexcept and libc_fesetenv.
20940
357679d2
MF
209412013-01-15 Mike Frysinger <vapier@gentoo.org>
20942
20943 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20944
65a82e3d
DM
209452013-01-14 David S. Miller <davem@davemloft.net>
20946
8b954ab9
DM
20947 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20948 (SPARC_ASM_VIS2_IFUNC): Likewise.
20949 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20951 use of 'siam' instruction.
20952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20953 Likewise.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20955 Likewise.
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20957 Likewise.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20963 file.
20964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20965 file.
20966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20967 file.
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20969 file.
20970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20975 new VIS2 routines.
20976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20979 Likewise.
20980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20985 routines to libm-sysdep_routines.
20986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20987
65a82e3d
DM
20988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20989 fdim/fdimf to libm-sysdep_routines.
20990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20991 file.
20992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20994 file.
20995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20998 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20999 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21000 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21001 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21002
e34ab705
SP
210032013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21004
2a91b573
SP
21005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21006 to optimize copies.
21007
1066a534
SP
21008 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21011
e34ab705
SP
21012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21013 local variable MPTWO.
21014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21015 Likewise.
21016
aba5e596
MF
210172013-01-13 Mike Frysinger <vapier@gentoo.org>
21018
21019 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21020 GLOB_NOESCAPE.
21021
e557e9e5
MF
210222013-01-13 Mike Frysinger <vapier@gentoo.org>
21023
21024 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21025
0428cec9
MF
210262013-01-13 Mike Frysinger <vapier@gentoo.org>
21027
21028 * manual/pattern.texi (glob_t): Document gl_flags.
21029 (glob64_t): Likewise.
21030
8794a964
DM
210312013-01-11 David S. Miller <davem@davemloft.net>
21032
66438c3f
RM
21033 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21034 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21035 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21036 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21037 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21038 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21039 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21040 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21041 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21042 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21043 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21044 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21045 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21046
4ae4244d
DM
21047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21048 sparc V9 rather than using V8 code.
21049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21051
8794a964
DM
21052 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21053 Move to...
21054 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21055 Here.
21056
6270516e
RM
210572013-01-11 Roland McGrath <roland@hack.frob.com>
21058
21059 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21060 not in the main loop.
21061 * configure: Regenerated.
21062
6a57d931
JM
210632013-01-11 Joseph Myers <joseph@codesourcery.com>
21064
21065 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21066 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21067 to just #else.
21068 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21069 [!__GLIBC_HAVE_LONG_LONG] case.
21070 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21071 condition to just #else.
21072 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21073 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21074 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21075 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21076 unconditional.
21077 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21078 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21079 #elif condition to just #else.
21080 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21081 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21082 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21083 #elif condition to just #else.
21084
0e8529e9
SE
210852013-01-11 Steve Ellcey <sellcey@mips.com>
21086
21087 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21088 (EF_MIPS_ARCH_64): Fix value.
21089 (EF_MIPS_ARCH_32R2): New.
21090 (EF_MIPS_ARCH_64R2): New.
21091
740b3dbe
L
210922013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21093
21094 * Makeconfig (+link-pie-before-libc): New.
21095 (+link-pie-after-libc): Likewise.
21096 (+link-pie-tests): Likewise.
21097 (+link-pie): Rewritten.
21098 (link-before-libc): Remove $(config-LDFLAGS).
21099 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21100 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21101 (config-LDFLAGS): Renamed to ...
21102 (rtld-LDFLAGS): This.
21103 (rtld-tests-LDFLAGS): New macro.
21104 (link-libc-rpath-link): Likewise.
21105 (link-libc-tests-rpath-link): Likewise.
21106 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21107 (link-libc): Prepand $(link-libc-rpath-link).
21108 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21109 (test-program-prefix): New macro.
21110 (test-via-rtld-prefix): Likewise.
21111 (test-program-cmd): Likewise.
21112 (host-test-program-cmd): Likewise.
21113 * Makefile ($(common-objpfx)testrun.sh): Replace
21114 $(run-program-prefix) with $(test-program-prefix).
21115 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21116 $(rtld-LDFLAGS).
21117 ($(common-objpfx)shlib.lds): Likewise.
21118 (build-module-helper): Likewise.
21119 ($(common-objpfx)format.lds): Likewise.
21120 * Rules (binaries-pie-tests): New.
21121 (binaries-pie-notests): Likewise.
21122 (binaries-pie): Rewritten.
21123 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21124 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21125 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21126 (make-test-out): Replace $(host-built-program-cmd) with
21127 $(host-test-program-cmd).
21128 * config.make.in (build-hardcoded-path-in-tests): New variable.
21129 * configure.in (--enable-hardcoded-path-in-tests): New configure
21130 option.
21131 (hardcoded_path_in_tests): New AC_SUBST.
21132 * configure: Regenerated.
21133 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21134 $(built-program-cmd) with $(test-program-cmd).
21135 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21136 (test_program_cmd): This.
21137 * elf/Makefile ($(objpfx)order.out): Run test with
21138 $(test-program-prefix).
21139 ($(objpfx)order2.out): Likewise.
21140 ($(objpfx)tst-initorder.out): Likewise.
21141 ($(objpfx)tst-initorder2.out): Likewise.
21142 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21143 $(test-program-cmd).
21144 ($(objpfx)tst-array1-static.out): Likewise.
21145 ($(objpfx)tst-array2.out): Likewise.
21146 ($(objpfx)tst-array3.out): Likewise.
21147 ($(objpfx)tst-array4.out): Likewise.
21148 ($(objpfx)tst-array5.out): Likewise.
21149 ($(objpfx)tst-array5-static.out): Likewise.
21150 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21151 $(test-program-cmd).
21152 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21153 $(run-program-prefix) with $(test-program-prefix).
21154 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21155 (test_program_prefix): This.
21156 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21157 $(run-program-prefix) with $(test-program-prefix).
21158 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21159 (test_program_prefix): This.
21160 * iconvdata/tst-tables.sh: Likewise.
21161 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21162 $(run-program-prefix) with $(test-program-prefix).
21163 ($(objpfx)tst-translit.out): Likewise.
21164 ($(objpfx)tst-gettext2.out): Likewise.
21165 ($(objpfx)tst-gettext4.out): Likewise.
21166 ($(objpfx)tst-gettext6.out): Likewise.
21167 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21168 (test_program_prefix): This.
21169 * intl/tst-gettext2.sh: Likewise.
21170 * intl/tst-gettext4.sh Likewise.
21171 * intl/tst-gettext6.sh: Likewise.
21172 * intl/tst-translit.sh: Likewise.
21173 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21174 with $(test-program-cmd).
21175 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21176 $(run-program-prefix) with $(test-program-prefix).
21177 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21178 (test_program_prefix): This.
21179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21180 $(run-program-prefix) with $(test-program-prefix).
21181 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21182 (test_program_prefix): This.
21183 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21184 * posix/Makefile ($(objpfx)globtest.out): Replace
21185 $(run-via-rtld-prefix) and $(test-wrapper) with
21186 $(test-program-prefix) and $(test-via-rtld-prefix).
21187 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21188 $(test-program-prefix).
21189 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21190 $(host-test-program-cmd).
21191 (tst-spawn-ARGS): Likewise.
21192 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21193 $(test-program-prefix).
21194 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21195 (test_via_rtld_prefix): This.
21196 (test_wrapper): Renamed to ...
21197 (test_program_prefix): This.
21198 (run_program_prefix): Replaced by test_program_prefix.
21199 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21200 (test_program_prefix): This.
21201 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21202 with $(host-test-program-cmd).
21203 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21204 $(run-program-prefix) with $(test-program-prefix).
21205 ($(objpfx)tst-printf.out): Likewise.
21206 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21207 $(test-program-cmd).
21208 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21209 (test_program_prefix): This.
21210 * stdio-common/tst-unbputc.sh: Likewise.
21211 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21212 $(run-program-prefix) with $(test-program-prefix).
21213 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21214 (test_program_prefix): This.
21215 * string/Makefile ($(objpfx)tst-svc.out): Replace
21216 $(built-program-cmd) with $(test-program-cmd).
21217
c6fe55cf
AJ
212182013-01-11 Andreas Jaeger <aj@suse.de>
21219
21220 [BZ #15003]
21221 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21222 value. Sync with Linux 3.7.
21223
9e6919c8
DM
212242013-01-10 David S. Miller <davem@davemloft.net>
21225
21226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21227 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21228 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21229
1c9f1a02
RM
212302013-01-10 Roland McGrath <roland@hack.frob.com>
21231
21232 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21233 never set.
21234 * configure: Regenerated.
21235
b9de2dde
DM
212362013-01-10 David S. Miller <davem@davemloft.net>
21237
21238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21239 sparc V9 rather than using V8 code.
21240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21242
e7f68ef4
RM
212432013-01-10 Roland McGrath <roland@hack.frob.com>
21244
21245 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21246 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21247 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21248 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21249 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21250 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21251 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21252 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21253 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21254 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21255 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21256 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21257 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21258 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21259 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21260 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21261 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21262 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21263 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21264 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21265 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21266 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21267 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21268 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21269 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21270 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21271 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21272
5a47cc9c
DM
212732013-01-10 David S. Miller <davem@davemloft.net>
21274
21275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21276
4cf8f209
L
212772013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21278
21279 * posix/Makefile (tests-static): New variable.
21280 (tests): Add $(tests-static).
21281 (tst-exec-static-ARGS): New variable.
21282 (tst-spawn-static-ARGS): Likewise.
21283 * posix/tst-exec-static.c: New file.
21284 * posix/tst-spawn-static.c: Likewise.
21285 * posix/tst-exec.c: Support run directly.
21286 * posix/tst-spawn.c: Likewise.
21287
fed0faa1
JM
212882013-01-10 Joseph Myers <joseph@codesourcery.com>
21289
828beb13
JM
21290 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21291 long.
21292 * math/bits/mathcalls.h (llrint): Likewise.
21293 (llround): Likewise.
21294 * stdlib/stdlib.h (struct drand48_data): Likewise.
21295 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21296 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21298 Likewise.
21299 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21300 Likewise.
21301 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21302 (elf_greg_t): Likewise.
21303 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21304 (__jmp_buf): Likewise.
21305 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21306 definitions.
21307 (llrint): Likewise, for all definitions.
21308 (llrintl): Likewise.
21309
fed0faa1
JM
21310 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21311 Remove [__GNUC__] condition.
21312 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21313 condition to just [__USE_ISOC99].
21314 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21315
1a20cb20
L
213162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21317
21318 [BZ #14200]
21319 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21320 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21321 defined.
21322 (_POSIX_V6_ILP32_OFF32): Likewise.
21323 (_XBS5_ILP32_OFF32): Likewise.
21324 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21325 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21326
751b85f7
SP
213272013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21328
7490eb81
SP
21329 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21330
751b85f7
SP
21331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21332 doubles __mpexp_twomm1. Adjust usage.
21333 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21334 Remove.
21335
988197f0
AS
213362013-01-10 Andreas Schwab <schwab@suse.de>
21337
21338 [BZ #14964]
21339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21340 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21341
e83d7298
DM
213422013-01-09 David S. Miller <davem@davemloft.net>
21343
034ed64b 21344 [BZ #15003]
57f41c40
AS
21345 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21346 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21347 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21348 (TCP_FASTOPEN): Define.
e83d7298
DM
21349 (tcp_repair_opt): New structure.
21350 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21351 enum values.
57f41c40
AS
21352 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21353 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21354 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21355 (tcp_cookie_transactions): New structure.
21356
d5e0b9bd
AB
213572013-01-09 Anton Blanchard <anton@samba.org>
21358
21359 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21360 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21361 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21363
0c07e3ea
JM
213642013-01-09 Joseph Myers <joseph@codesourcery.com>
21365
21366 * include/features.h (__USE_ANSI): Remove.
21367
232f7002
RM
213682013-01-09 Roland McGrath <roland@hack.frob.com>
21369
ad98e30c
RM
21370 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21371
232f7002
RM
21372 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21373
950c99ca
SP
213742013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21375
b5792741
SP
21376 * sysdeps/s390/fpu/libm-test-ulps: Update.
21377
47cf2278
SP
21378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21379
950c99ca
SP
21380 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21381 (__acr): Likewise.
21382 (__cpy): Likewise.
21383 (norm): Likewise.
21384 (denorm): Likewise.
21385 (__mp_dbl): Likewise.
21386 (__dbl_mp): Likewise.
21387 (add_magnitudes): Likewise.
21388 (sub_magnitudes): Likewise.
21389 (__add): Likewise.
21390 (__sub): Likewise.
21391 (__mul): Likewise.
21392 (__inv): Likewise.
21393 (__dvd): Likewise.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21395 (__acr): Likewise.
21396 (__cpy): Likewise.
21397 (norm): Likewise.
21398 (denorm): Likewise.
21399 (__mp_dbl): Likewise.
21400 (__dbl_mp): Likewise.
21401 (add_magnitudes): Likewise.
21402 (sub_magnitudes): Likewise.
21403 (__add): Likewise.
21404 (__sub): Likewise.
21405 (__mul): Likewise.
21406 (__inv): Likewise.
21407 (__dvd): Likewise.
21408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21409 (__acr): Likewise.
21410 (__cpy): Likewise.
21411 (norm): Likewise.
21412 (denorm): Likewise.
21413 (__mp_dbl): Likewise.
21414 (__dbl_mp): Likewise.
21415 (add_magnitudes): Likewise.
21416 (sub_magnitudes): Likewise.
21417 (__add): Likewise.
21418 (__sub): Likewise.
21419 (__mul): Likewise.
21420 (__inv): Likewise.
21421 (__dvd): Likewise.
21422
eede9df9
JM
214232013-01-08 Joseph Myers <joseph@codesourcery.com>
21424
21425 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21426 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21427 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21428 2 && __USE_EXTERN_INLINES]: Likewise.
21429
c40ea3d9
AJ
214302013-01-08 Andreas Jaeger <aj@suse.de>
21431
21432 [BZ# 14985]
21433 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21434 Remove.
21435 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21436 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21437
2ccdea26
AB
214382013-01-07 Anton Blanchard <anton@samba.org>
21439
21440 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21441 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21442 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21443 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21445 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21446 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21447 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21452 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21455 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21456 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21458 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21461 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21463 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21464 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21467 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21469 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21470 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21473 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21474 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21478 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21483
a9708fed
JM
214842013-01-07 Joseph Myers <joseph@codesourcery.com>
21485
375607b9
JM
21486 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21487 (__MALLOC_PMT): Likewise.
21488 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21489 [__GNUC__], only on [_LIBC].
21490 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21491 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21492 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21493 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21494 forward declaration.
21495 (realloc_hook_ini): Likewise.
21496 (memalign_hook_ini): Likewise.
21497 (__libc_memalign): Do not use __MALLOC_PMT in variable
21498 declaration.
21499 (__libc_valloc): Likewise.
21500 (__libc_pvalloc): Likewise.
21501 (__libc_calloc): Likewise.
21502 (__posix_memalign): Likewise.
21503
a9708fed
JM
21504 [BZ #14996]
21505 * math/s_casinh.c: Include <float.h>.
21506 (__casinh): Do not do computation with squaring and square root
21507 for large arguments.
21508 * math/s_casinhf.c: Include <float.h>.
21509 (__casinhf): Do not do computation with squaring and square root
21510 for large arguments.
21511 * math/s_casinhl.c: Include <float.h>.
21512 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21513 (__casinhl): Do not do computation with squaring and square root
21514 for large arguments.
21515 * math/libm-test.inc (casin_test): Add more tests.
21516 (casinh_test): Likewise.
21517 * sysdeps/i386/fpu/libm-test-ulps: Update.
21518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21519
afec409a
L
215202013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21521
21522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21523 (__x86_64_raw_data_cache_size): Likewise.
21524 (__x86_64_data_cache_size_half): Likewise.
21525 (__x86_64_raw_data_cache_size_half): Likewise.
21526 (__x86_64_shared_cache_size): Likewise.
21527 (__x86_64_raw_shared_cache_size): Likewise.
21528 (__x86_64_shared_cache_size_half): Likewise.
21529 (__x86_64_raw_shared_cache_size_half): Likewise.
21530 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21531 to ...
21532 (__x86_data_cache_size): This.
21533 (__x86_64_raw_data_cache_size): Renamed to ...
21534 (__x86_raw_data_cache_size): This.
21535 (__x86_64_data_cache_size_half): Renamed to ...
21536 (__x86_data_cache_size_half): This.
21537 (__x86_64_raw_data_cache_size_half): Renamed to ...
21538 (__x86_raw_data_cache_size_half): This.
21539 (__x86_64_shared_cache_size): Renamed to ...
21540 (__x86_shared_cache_size): This.
21541 (__x86_64_raw_shared_cache_size): Renamed to ...
21542 (__x86_raw_shared_cache_size): This.
21543 (__x86_64_shared_cache_size_half): Renamed to ...
21544 (__x86_shared_cache_size_half): This.
21545 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21546 (__x86_raw_shared_cache_size_half): This.
21547 * sysdeps/x86_64/memcpy.S: Updated.
21548 * sysdeps/x86_64/memset.S: Likewise.
21549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21552
0b3986d0
DM
215532013-01-04 David S. Miller <davem@davemloft.net>
21554
21555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21556
e47686e9
AS
215572013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21558
d643bac1
AS
21559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21560 1 to avoid redefinition warning.
21561 (__USE_GNU): Don't define.
21562 (init_signaling_nan): Protoize.
21563
e47686e9
AS
21564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21565
b18decba
SP
215662013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21567
fffb407f
SP
21568 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21570 (__cpymn): Likewise.
21571 (norm): Remove commented code.
21572 (denorm): Likewise.
21573 (__mp_dbl): Likewise.
21574 (__inv): Likewise.
21575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21576 (__cpymn): Likewise.
21577 (norm): Remove commented code.
21578 (denorm): Likewise.
21579 (__mp_dbl): Likewise.
21580 (__inv): Likewise.
21581
b18decba
SP
21582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21583 mp_no value for 1.0 and 2.0.
21584 (norm): Use RADIXI instead of radixi.d.
21585 (denorm): Likewise.
21586 (__mul): Use 0.0 instead of zero.d.
21587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21588 mp_no value for 1.0 and 2.0.
21589 (norm): Use RADIXI instead of radixi.d.
21590 (denorm): Likewise.
21591 (__mul): Use 0.0 instead of zero.d.
21592
cdc1c96f
JM
215932013-01-04 Joseph Myers <joseph@codesourcery.com>
21594
21595 [BZ #14994]
21596 * math/s_casinh.c (__casinh): Reduce finite argument to first
21597 quadrant then set signs of results at the end.
21598 * math/s_casinhf.c (__casinhf): Likewise.
21599 * math/s_casinhl.c (__casinhl): Likewise.
21600 * math/libm-test.inc (casin_test): Add more tests.
21601 (casinh_test): Likewise.
21602 * sysdeps/i386/fpu/libm-test-ulps: Update.
21603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604
302913e1
SP
216052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21606
6420d207
SP
21607 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21608
a9e48ab4
SP
21609 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21610
b7837264
SP
21611 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21612 declarations.
21613 (denorm): Likewise.
21614 (__mp_dbl): Likewise.
21615 (__inv): Likewise.
21616
f8af25d2
SP
21617 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21618 and adjust the header comment.
21619
302913e1
SP
21620 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21621 variable name from declaration.
21622
5d7dd1ca
L
216232013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21624
21625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21626 Initialize COMMON_CPUID_INDEX_7 element.
21627 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21628 (CPUID_RTM): Likewise.
21629 (HAS_RTM): Likewise.
21630 (COMMON_CPUID_INDEX_7): New enum.
21631
2f5f40f4
AS
216322013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21633
21634 [BZ #14981]
21635 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21636 size is zero, record memory as freed.
21637
4056f4a0
AJ
216382013-01-03 Andreas Jaeger <aj@suse.de>
21639
21640 * po/ia.po: Add new Interlingua translation.
21641
ab15736f 216422012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21643
21644 * locale/programs/localedef.c: Fix description of '--posix' flag.
21645
568035b7
JM
216462013-01-02 Joseph Myers <joseph@codesourcery.com>
21647
e6898b8d
JM
21648 * NEWS: Update dates in second copyright notice.
21649 * README: Update copyright dates in example.
21650 * manual/libc.texinfo: Update copyright dates.
21651 * scripts/test-installation.pl: Update copyright date in --version
21652 output.
21653
0e2f9562
JM
21654 * hurd/ctty-input.c: Fix copyright notice formatting.
21655 * hurd/ctty-output.c: Likewise.
21656 * hurd/dtable.c: Likewise.
21657 * hurd/hurd-raise.c: Likewise.
21658 * hurd/hurdprio.c: Likewise.
21659 * hurd/msgportdemux.c: Likewise.
21660 * misc/sys/file.h: Likewise.
21661 * misc/sys/ioctl.h: Likewise.
21662 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21663 * sysdeps/mach/hurd/chdir.c: Likewise.
21664 * sysdeps/mach/hurd/fchdir.c: Likewise.
21665 * sysdeps/mach/hurd/rename.c: Likewise.
21666 * sysdeps/mach/hurd/rmdir.c: Likewise.
21667 * sysdeps/mach/hurd/seekdir.c: Likewise.
21668 * sysdeps/mach/hurd/setsid.c: Likewise.
21669 * sysdeps/posix/wait3.c: Likewise.
21670
568035b7
JM
21671 * All files with FSF copyright notices: Update copyright dates
21672 using scripts/update-copyrights.
21673 * intl/plural.c: Regenerated.
21674 * locale/programs/charmap-kw.h: Likewise.
21675 * locale/programs/locfile-kw.h: Likewise.
21676
da08f647
SP
216772013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21678
0f5477af
SP
21679 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21680 four values.
21681
44e0d4c2
SP
21682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21683 calculation loop and add branch prediction.
21684
4d55b4e5
SP
21685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21686 check access beyond bounds of m1np.
21687
da08f647
SP
21688 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21689 MPTWO.
21690 (__inv): Remove local variable MPTWO to use the global
21691 constant.
21692 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21694 variable MPTWO.
21695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21696 MP3HALFS static const.
21697
8e051029
DM
216982013-01-01 David S. Miller <davem@davemloft.net>
21699
21700 * po/ca.po: Update from translation team.
21701
f4cf5f2d
JM
217022013-01-01 Joseph Myers <joseph@codesourcery.com>
21703
21704 * scripts/update-copyrights: New file.
21705 * Makeconfig: Reformat copyright notice.
21706 * ctype/ctype.h: Likewise.
21707 * debug/swprintf_chk.c: Likewise.
21708 * elf/dl-cache.c: Likewise.
21709 * elf/dl-debug.c: Likewise.
21710 * elf/dl-object.c: Likewise.
21711 * grp/initgroups.c: Likewise.
21712 * hurd/Makefile: Likewise.
21713 * hurd/hurd/signal.h: Likewise.
21714 * hurd/hurdfault.c: Likewise.
21715 * hurd/hurdioctl.c: Likewise.
21716 * hurd/hurdlookup.c: Likewise.
21717 * hurd/intr-msg.c: Likewise.
21718 * iconv/gconv_open.c: Likewise.
21719 * libio/swprintf.c: Likewise.
21720 * locale/lc-ctype.c: Likewise.
21721 * locale/nl_langinfo.c: Likewise.
21722 * mach/Machrules: Likewise.
21723 * mach/Makefile: Likewise.
21724 * malloc/obstack.h: Likewise.
21725 * manual/Makefile: Likewise.
21726 * manual/tsort.awk: Likewise.
21727 * misc/bits/stab.def: Likewise.
21728 * nis/nis_print_group_entry.c: Likewise.
21729 * nis/nis_table.c: Likewise.
21730 * nis/nss_compat/compat-pwd.c: Likewise.
21731 * nis/nss_compat/compat-spwd.c: Likewise.
21732 * po/Makefile: Likewise.
21733 * posix/fnmatch.c: Likewise.
21734 * posix/regex.h: Likewise.
21735 * resolv/Makefile: Likewise.
21736 * resolv/nss_dns/dns-network.c: Likewise.
21737 * resolv/res_hconf.c: Likewise.
21738 * scripts/gen-sorted.awk: Likewise.
21739 * soft-fp/soft-fp.h: Likewise.
21740 * stdio-common/printf.h: Likewise.
21741 * stdlib/monetary.h: Likewise.
21742 * stdlib/random.c: Likewise.
21743 * stdlib/random_r.c: Likewise.
21744 * sysdeps/generic/Makefile: Likewise.
21745 * sysdeps/gnu/Makefile: Likewise.
21746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21774 * sysdeps/mach/hurd/errnos.awk: Likewise.
21775 * sysdeps/mach/hurd/fork.c: Likewise.
21776 * sysdeps/mach/hurd/getcwd.c: Likewise.
21777 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21778 * sysdeps/mach/hurd/mmap.c: Likewise.
21779 * sysdeps/mach/hurd/utimes.c: Likewise.
21780 * sysdeps/mach/hurd/xmknod.c: Likewise.
21781 * sysdeps/posix/profil.c: Likewise.
21782 * sysdeps/posix/readdir_r.c: Likewise.
21783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21784 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21785 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21788 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21792 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21794 * sysdeps/pthread/lio_listio.c: Likewise.
21795 * sysdeps/sparc/dl-procinfo.h: Likewise.
21796 * sysdeps/unix/i386/sysdep.S: Likewise.
21797 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21798 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21799 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21800 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21802 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21803 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21804 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21805 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21806 * sysdeps/wordsize-32/divdi3.c: Likewise.
21807 * time/sys/time.h: Likewise.
21808 * wcsmbs/Makefile: Likewise.
21809
0549fbba
DM
218102013-01-01 David S. Miller <davem@davemloft.net>
21811
a141f1a7
DM
21812 * po/fr.po: Update from translation team.
21813
0549fbba
DM
21814 * catgets/gencat.c: Update copyright year.
21815 * csu/version.c: Likewise.
21816 * debug/catchsegv.sh: Likewise.
21817 * debug/pcprofiledump.c: Likewise.
21818 * debug/xtrace.sh: Likewise.
21819 * elf/ldconfig.c: Likewise.
21820 * elf/ldd.bash.in: Likewise.
21821 * elf/pldd.c: Likewise.
21822 * elf/sotruss.ksh: Likewise.
21823 * elf/sprof.c: Likewise.
21824 * iconv/iconv_prog.c: Likewise.
21825 * iconv/iconvconfig.c: Likewise.
21826 * locale/programs/locale.c: Likewise.
21827 * locale/programs/localedef.c: Likewise.
21828 * login/programs/pt_chown.c: Likewise.
21829 * malloc/memusage.sh: Likewise.
21830 * malloc/memusagestat.c: Likewise.
21831 * malloc/mtrace.pl: Likewise.
21832 * nscd/nscd.c: Likewise.
21833 * nss/getent.c: Likewise.
21834 * nss/makedb.c: Likewise.
21835 * posix/getconf.c: Likewise.
21836
18ea052c
SP
218372012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21838
21839 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21840 numbers.
21841
9c89fca6
MF
218422012-12-30 Mike Frysinger <vapier@gentoo.org>
21843
21844 * math/bits/mathcalls.h (modf): Use __nonnull.
21845
085ec079
SP
218462012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21847
21848 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21849 (split): Use macro CN instead of the bare value.
21850 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21851 could be used.
21852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21853 instead of the bare value.
21854 (power1): Likewise.
21855
6d9f97e1
SP
218562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21857
d63f73be
SP
21858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21859 __ATAN_TWOM.
21860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21861
6d9f97e1
SP
21862 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21863 their values.
21864 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21866 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21867 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21868
4c4febf5
AJ
218692012-12-28 Andreas Jaeger <aj@suse.de>
21870
af5843ef
AJ
21871 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21872 values are from Linux 3.7.
21873
4c4febf5
AJ
21874 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21875 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21876
99136f82
SP
218772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21878
2f216c3c 21879 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21880 TRUE case.
21881
99136f82
SP
21882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21883 (norm): Likewise.
21884 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21885 variables with preprocessor constants.
21886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21887 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21889
7fffbdff
BH
218902012-12-27 Bruno Haible <bruno@clisp.org>
21891
21892 [BZ #14317]
21893 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21894 only if needed.
21895
b76eb5f0
SP
218962012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21897
31a7fe5c
SP
21898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21899 and use variable directly.
21900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21901
b76eb5f0
SP
21902 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21903 MPONE.
21904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21906 variable MPONE.
21907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21909 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21910 include directive. Remove local variable MPONE.
21911 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21912 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21914
2c8bfe7d
DM
219152012-12-25 David S. Miller <davem@davemloft.net>
21916
21917 * version.h (RELEASE): Set to "development".
21918 (VERSION): Set to "2.17.90".
21919 * NEWS: Add 2.18 section.
21920
147d03b0
DM
219212012-12-21 David S. Miller <davem@davemloft.net>
21922
21923 * po/hr.po: Update from translation team.
21924
a8ebb2b9
AK
219252012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21926
21927 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21928
95b4f1b6
SE
219292012-12-19 Steve Ellcey <sellcey@mips.com>
21930
b2d94007 21931 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21932
cedb2a90
MS
219332012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21934
21935 * manual/contrib.texi (Contributors): Spelling correction.
21936
bbf527d6
DM
219372012-12-15 David S. Miller <davem@davemloft.net>
21938
21939 * po/ru.po: Update from translation team.
21940
bc38c906
DM
219412012-12-13 David S. Miller <davem@davemloft.net>
21942
85429b1a
DM
21943 * NEWS: Mention IFUNC testsuite enhancements.
21944
d283e353
DM
21945 * po/pl.po: Update from translation team.
21946 * po/bg.po: Likewise.
21947
bc38c906
DM
21948 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21949 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21950
a181b0d7
DM
219512012-12-11 David S. Miller <davem@davemloft.net>
21952
4641d57e
DM
21953 * po/sv.po: Update from translation team.
21954
f7bc6495
DM
21955 * po/vi.po: Update from translation team.
21956
6fc9048f
DM
21957 * po/cs.po: Update from translation team.
21958
a181b0d7
DM
21959 * po/de.po: Update from translation team.
21960 * po/eo.po: Likewise.
21961 * po/nl.po: Likewise.
21962
f70bfe80
SP
219632012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21964
3c8b4190
SP
21965 [BZ #14246]
21966 * manual/argp.texi (Argp Helper Functions): Move node to follow
21967 Argp Parsing State.
21968
f70bfe80
SP
21969 [BZ #14872]
21970 * manual/conf.texi (Limits on File System Capacity): Mention if
21971 terminating null is included in the max size.
21972
188f0adf
AJ
219732012-12-10 Andreas Jaeger <aj@suse.de>
21974
21975 * po/cs.po: Update from translation team.
21976
56e7d3ad
SP
219772012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21978
21979 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21980 void pointer and cast to uintptr_t.
21981 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21982 path.
21983 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21984 * sysdeps/s390/s390-64/memset.S: Likewise.
21985
76f2d2ea 219862012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21987
21988 [BZ #14833]
21989 * menual/message.texi (Message Translation): Fix typos.
21990 (Helper programs for gettext): Likewise.
21991
67cbf9a2
AS
219922012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21993
21994 [BZ #14898]
21995 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21996 Change to -1.
21997
682d0e9a
DM
219982012-12-07 David S. Miller <davem@davemloft.net>
21999
22000 * po/libc.pot: Update.
22001
573cd484
RH
220022012-12-07 Richard Henderson <rth@redhat.com>
22003
7e9da188 22004 [BZ #10114]
573cd484
RH
22005 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22006 normal/normal case to before the switch.
22007 (_FP_DIV): Likewise.
22008
e933a943
MF
220092012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22010 Mike Frysinger <vapier@gentoo.org>
22011
22012 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22013 check for __NR_fadvise64_64.
22014
82123268
CM
220152012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22016
22017 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22018 0, not just to plain "0" as a statement.
22019 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22020 with cw.
22021
d9814526
JM
220222012-12-06 Joseph Myers <joseph@codesourcery.com>
22023
22024 * NEWS: Use sourceware.org in Bugzilla URL.
22025
7728c574
SP
220262012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22027
f16946dd
SP
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22029 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22030
5704bbcb
SP
22031 * stdio-common/tst-put-error.c (do_test): Add newline to the
22032 padded test to ensure flush.
22033
17aa0516
JL
220342012-12-05 Jeff Law <law@redhat.com>
22035
22036 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22037
363313b5
JM
220382012-12-05 Joseph Myers <joseph@codesourcery.com>
22039
effbd42a
JM
22040 * README: Don't refer to ports add-on as distributed separately.
22041 Mention AArch64 in list of systems supported in the ports add-on.
22042
87600365
JM
22043 * LICENSES: Add more non-FSF copyright and license notices.
22044
a0d7066a
JM
22045 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22046 ((unused)).
22047
66ca5a5b
JM
22048 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22049
363313b5
JM
22050 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22051 10000 as width of padded output.
22052
b37984ad
JM
220532012-12-04 Joseph Myers <joseph@codesourcery.com>
22054
9003570a
JM
22055 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22056
b37984ad
JM
22057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22058 variable LX with __attribute__ ((unused)).
22059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22060 Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22064 with __attribute__ ((unused)).
22065
c8df52ec
DM
220662012-12-04 David S. Miller <davem@abraco.davemloft.net>
22067
22068 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22069
b3b099af
JM
220702012-12-04 Joseph Myers <joseph@codesourcery.com>
22071
c33aa6e3
JM
22072 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22073 (CFLAGS-nldbl-acos.c): New variable.
22074 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22077 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22078 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22079 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22080 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22081 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22082 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22083 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22084 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22085 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22086 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22087 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22088 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22089 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22090 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22091 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22092 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22093 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22094 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22095 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22096 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22097 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22098 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22099 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22100 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22101 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22102 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22103 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22104 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22105 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22106 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22107 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22108 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22109 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22110 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22111 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22112 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22113 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22114 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22141 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22142 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22143 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22144 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22145 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22146 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22147 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22148 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22149 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22150 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22151 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22152 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22153 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22154 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22155 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22156 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22161 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22162 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22163 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22164 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22165 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22166 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22167 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22168 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22169 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22170 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22171
20f0018d
JM
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22173 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22174
b3b099af
JM
22175 [BZ #14914]
22176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22177 whole low double instead of just low 47 bits when splitting values
22178 into two parts.
22179
029264d1
AM
221802012-12-03 Allan McRae <allan@archlinux.org>
22181
22182 * manual/stdio.texi (Predefined Printf Handlers): Remove
22183 @hsep and @vsep usage.
22184
c9d6789e
MF
221852012-12-03 Mike Frysinger <vapier@gentoo.org>
22186
22187 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22188 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22189
4b7634a5
JL
221902012-12-03 Jeff Law <law@redhat.com>
22191
22192 * time/sys/time.h (settimeofday): Do not mark TV argument
22193 as __nonnull.
22194
eb6cbd24
MF
221952012-12-01 Mike Frysinger <vapier@gentoo.org>
22196
22197 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22198 when currently writing and seek to current position when not.
22199 * libio/Makefile (tests): Remove bug-fclose1.
22200 * libio/bug-fclose1.c: Delete.
22201
f638872a
JM
222022012-12-01 Joseph Myers <joseph@codesourcery.com>
22203
22204 * manual/arith.texi (feenableexcept): Fix typo.
22205 (fedisableexcept): Likewise.
22206
48085d14
RM
222072012-11-30 Roland McGrath <roland@hack.frob.com>
22208
22209 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22210 second, differently-typed declaration, rather than a cast.
22211
1a538b9f
SP
222122012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22213
22214 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22215 * include/rpc/svc.h: ... here.
22216
d07f2ff1 222172012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22218
22219 [BZ #13013]
22220 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22221 depending n and resplen2 to catch cases where answer
22222 equals answerp2.
22223
c93ec1f0
CD
222242012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22225
22226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22227 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22228
37db69de
MF
222292012-11-29 Mike Frysinger <vapier@gentoo.org>
22230
22231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22232
e10c4e4f
RM
222332012-11-29 Roland McGrath <roland@hack.frob.com>
22234
22235 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22236
2af1b328
JL
222372012-11-28 Jeff Law <law@redhat.com>
22238
22239 [BZ #13761]
22240 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22241 dataset_temporary. Track alloca usage into alloca_used.
22242 If dataset is large allocate and release it via malloc/free.
22243
111db5b1
FW
222442012-06-04 Florian Weimer <fweimer@redhat.com>
22245
f06cc227 22246 [BZ #14197]
111db5b1
FW
22247 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22248
dd694abd
DM
222492012-11-28 David S. Miller <davem@davemloft.net>
22250
22251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22252
9984dd01
JM
222532012-11-28 Joseph Myers <joseph@codesourcery.com>
22254
22255 [BZ #14803]
22256 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22257 of pi/2 rounded to nearest to 64 bits.
22258 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22259 nearest to 64 bits.
22260 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22261 bits.
22262
14bc93a9
JL
222632012-11-28 Jeff Law <law@redhat.com>
22264 Martin Osvald <mosvald@redhat.com>
22265
22266 [BZ #14889]
22267 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22268 * sunrpc/svc.c: Include time.h.
22269 (__svc_accept_failed): New function.
22270 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22271 any reason other than EINTR, call __svc_accept_failed.
22272 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22273 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22274
e3c6aa3a
AS
222752012-11-28 Andreas Schwab <schwab@suse.de>
22276
22277 * scripts/abilist.awk: Also handle indirect functions in .opd
22278 section.
22279
1bead169
JM
222802012-11-28 Joseph Myers <joseph@codesourcery.com>
22281
22282 [BZ #13881]
22283 * sysdeps/x86/fpu/powl_helper.c: New file.
22284 * sysdeps/x86/fpu/Makefile: Likewise.
22285 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22286 (p3): New object.
22287 (__ieee754_powl): Use __powl_helper for finite arguments except
22288 integer exponents below 8.
22289 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22290 (p3): New object.
22291 (__ieee754_powl): Use __powl_helper for finite arguments except
22292 integer exponents below 8.
22293 * math/libm-test.inc (pow_test): Add more tests and enable some
22294 previously disabled tests.
22295 * sysdeps/i386/fpu/libm-test-ulps: Update.
22296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22297
0817d63d
SP
222982012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22299 Carlos O'Donell <carlos_odonell@mentor.com>
22300
22301 * nss/makedb.c (is_prime): Assert that input is odd and greater
22302 than 4. Note that fact in a comment too.
22303 (next_prime): Add 4 to input.
22304
de2fd463
SP
223052012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22306
22307 [BZ #11741]
22308 * libio/Makefile (tests): Add test case tst-fwrite-error.
22309 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22310 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22311 * libio/tst-fwrite-error.c: New test case.
22312
c515fb51
L
223132012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22314
22315 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22316 before casting to void *.
22317 * include/libc-internal.h (__pointer_type): New macro.
22318 (__integer_if_pointer_type_sub): Likewise.
22319 (__integer_if_pointer_type): Likewise.
22320 (cast_to_integer): Likewise.
22321 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22322 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22323 before casting to atomic64_t.
22324 (atomic_exchange_acq): Likewise.
22325 (__arch_exchange_and_add_body): Likewise.
22326 (__arch_add_body): Likewise.
22327 (atomic_add_negative): Likewise.
22328 (atomic_add_zero): Likewise.
22329
4cf77aa9
JM
223302012-11-26 Joseph Myers <joseph@codesourcery.com>
22331
22332 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22333 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22334 (add_fdes): Likewise.
22335 (linear_search_fdes): Likewise.
22336 (binary_search_unencoded_fdes): Likewise.
22337
d260b3b4
AS
223382012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22339
22340 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22341
67060746
AC
223422012-11-24 Adam Conrad <adconrad@0c3.net>
22343
22344 * configure.in: Autodetect C++ header directories.
22345 * configure: Regenerated.
22346
800938a1
MF
223472012-11-23 Mike Frysinger <vapier@gentoo.org>
22348
22349 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22350
4e6e34e6
AS
223512012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22352
22353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22354
7c7feb47
JM
223552012-11-22 Joseph Myers <joseph@codesourcery.com>
22356
7184dcdf
JM
22357 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22358 LDBL_MANT_DIG == 106]: Disable some tests.
22359 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22360 Likewise.
22361 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22362 Likewise.
22363
0a42601f
JM
22364 [BZ #14871]
22365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22366 input for small inputs. Return +/- pi/2 for large inputs.
22367 * math/libm-test.inc (atan_test): Add more tests.
22368
79c9b9fe
JM
22369 * sysdeps/generic/unwind-dw2-fde-glibc.c
22370 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22371 __attribute__ ((unused)).
22372
c60d3bf2
JM
22373 [BZ #14645]
22374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22375 x * y if x and y are nonzero and z is zero.
22376
ef1e0867
JM
22377 [BZ #14811]
22378 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22379 nonzero exponents with absolute value below 0x1p-117 to +/-
22380 0x1p-117.
22381
1468ded3
JM
22382 [BZ #14869]
22383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22384 up arguments below 2**-450, not just those below 2**-500.
22385 * math/libm-test.inc (hypot_test): Add another test.
22386
8e27e3cc
JM
22387 [BZ #14868]
22388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22389 Return a+b for ratio over 2**120, not 2**60.
22390 * math/libm-test.inc (hypot_test): Add another test.
22391
c9c0279b
JM
22392 * math/libm-test.inc (clog_test): Use
22393 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22394 (clog10_test): Likewise.
22395
7c7feb47
JM
22396 [BZ #6778]
22397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22398
fff1530e
AS
223992012-11-22 Andreas Schwab <schwab@suse.de>
22400
22401 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402
94558d30
PT
224032012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22404
22405 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22406 printf output with newline.
22407
7e1be741
L
224082012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22409
6bfea974
L
22410 [BZ #14865]
22411 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22412 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22413 -z nodlopen, -z initfirst and -z execstack support.
22414 * configure: Regenerated.
22415
7e1be741
L
22416 * elf/elf.h (DF_1_NODIRECT): New macro.
22417 (DF_1_IGNMULDEF): Likewise.
22418 (DF_1_NOKSYMS): Likewise.
22419 (DF_1_NOHDR): Likewise.
22420 (DF_1_EDITED): Likewise.
22421 (DF_1_NORELOC): Likewise.
22422 (DF_1_SYMINTPOSE): Likewise.
22423 (DF_1_GLOBAUDIT): Likewise.
22424 (DF_1_SINGLETON): Likewise.
22425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22426 DT_1_SUPPORTED_MASK bits.
22427 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22428
105ce2ce
CD
224292012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22430
22431 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22432
123be9de
TS
224332012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22434
d072f3f7
TS
22435 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22436 macro.
22437
123be9de
TS
22438 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22439 (sendmmsg): Move declarations...
22440 * socket/sys/socket.h: ... here.
22441 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22442 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22443 include it from...
22444 * socket/recvmmsg.c: ... this new file.
22445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22446 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22447 definition of __sendmmsg hidden.
22448 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22449 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22450 Move ENOSYS stub into and include it from...
22451 * socket/sendmmsg.c: ... this new file.
22452 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22453 (sysdep_routines): Move recvmmsg and sendmmsg...
22454 * socket/Makefile (routines): ... here.
22455 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22456 (GLIBC_PRIVATE): Add __sendmmsg.
22457 * include/sys/socket.h (__sendmmsg): Add declarations.
22458 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22459 sendmmsg.
22460
cf9a5d18
JM
224612012-11-20 Joseph Myers <joseph@codesourcery.com>
22462
22463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22464 variable I1 with __attribute__ ((unused)).
22465 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22466
ecd4caf9
JM
224672012-11-19 Joseph Myers <joseph@codesourcery.com>
22468
be14d48f
JM
22469 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22470 DUMMY variables with __attribute__ ((unused)).
22471
ecd4caf9
JM
22472 * bits/byteswap.h: Include <bits/types.h>.
22473 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22474
986cab95
PT
224752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22476
22477 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22478 string_t. Do not manually set errno.
22479 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22480 length with __strnlen. Make sure to both set errno and return it on
22481 failure.
22482
6d33cc9d
DM
224832012-11-19 David S. Miller <davem@davemloft.net>
22484
22485 With help from Joseph Myers.
22486 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22487 very large arguments properly.
22488 * math/libm-test.inc (atan_test): New tests.
22489 (atan2_test): New tests.
22490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22492
ee663277
JM
224932012-11-19 Joseph Myers <joseph@codesourcery.com>
22494
877f2d8e
JM
22495 [BZ #14856]
22496 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22497 Define to 3.
22498
116fc08a
JM
22499 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22500 [POSIX] (EADDRNOTAVAIL): Likewise.
22501 [POSIX] (EAFNOSUPPORT): Likewise.
22502 [POSIX] (EALREADY): Likewise.
22503 [POSIX] (ECONNABORTED): Likewise.
22504 [POSIX] (ECONNREFUSED): Likewise.
22505 [POSIX] (ECONNRESET): Likewise.
22506 [POSIX] (EDESTADDRREQ): Likewise.
22507 [POSIX] (EDQUOT): Likewise.
22508 [POSIX] (EHOSTUNREACH): Likewise.
22509 [POSIX] (EIDRM): Likewise.
22510 [POSIX] (EISCONN): Likewise.
22511 [POSIX] (ELOOP): Likewise.
22512 [POSIX] (EMULTIHOP): Likewise.
22513 [POSIX] (ENETDOWN): Likewise.
22514 [POSIX] (ENETUNREACH): Likewise.
22515 [POSIX] (ENOBUFS): Likewise.
22516 [POSIX] (ENODATA): Likewise.
22517 [POSIX] (ENOLINK): Likewise.
22518 [POSIX] (ENOMSG): Likewise.
22519 [POSIX] (ENOPROTOOPT): Likewise.
22520 [POSIX] (ENOSR): Likewise.
22521 [POSIX] (ENOSTR): Likewise.
22522 [POSIX] (ENOTCONN): Likewise.
22523 [POSIX] (ENOTSOCK): Likewise.
22524 [POSIX] (EOPNOTSUPP): Likewise.
22525 [POSIX] (EOVERFLOW): Likewise.
22526 [POSIX] (EPROTO): Likewise.
22527 [POSIX] (EPROTONOSUPPORT): Likewise.
22528 [POSIX] (EPROTOTYPE): Likewise.
22529 [POSIX] (ESTALE): Likewise.
22530 [POSIX] (ETIME): Likewise.
22531 [POSIX] (ETXTBSY): Likewise.
22532 [POSIX] (EWOULDBLOCK): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22534 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22535 [POSIX] (SEEK_CUR): Likewise.
22536 [POSIX] (SEEK_END): Likewise.
22537 [POSIX || UNIX98] (mode_t): Do not require.
22538 [POSIX] (off_t): Likewise.
22539 [POSIX] (pid_t): Likewise.
22540 [POSIX] (sys/stat.h): Do not allow header.
22541 [POSIX] (unistd.h): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22543 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22545 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22546 require.
22547 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22548 sigevent): Specify elements.
22549 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22550 entry.
22551 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22552 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22553
a483863f
JM
22554 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22555 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22556 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22557 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22558 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22559 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22560 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22561 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22563 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22564 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22565 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22566 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22568 Likewise.
22569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22570 Likewise.
22571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22572 Likewise.
22573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22574 Likewise.
22575 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22576 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22577 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22578 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22580 Specify lower bound on value.
22581 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22583 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22587 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22588 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22589 value.
22590 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22591 as optional.
22592 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22593 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22594 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22595 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22596 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22598 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22599 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22600 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22601 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22602 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22603 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22604 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22605 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22606 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22607 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22608 entry.
22609 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22610 optional.
22611 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22612 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22613 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22614 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22615 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22617 Likewise.
22618 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22620 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22621 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22623 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22625 as optional.
22626 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22627 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22629 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22630 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22631 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22632 specify as optional.
22633 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22636 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22637 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22638 [XPG3] (NL_LANGMAX): Likewise.
22639 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22640 [POSIX || XPG3] (NL_NMAX): Likewise.
22641 [POSIX || XPG3] (NL_SETMAX): Likewise.
22642 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22643 [XPG3] (NZERO): Likewise.
22644 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22645 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22646 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22647 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22648 (REG_ERANGE): Expect.
22649 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22650 optional-constant.
22651 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22652 Use (void) in prototype.
22653 [POSIX] (*_t): Allow.
22654 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22655 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22656 (WRDE_BADVAL): Expect.
22657
5ba924e3
JM
22658 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22659 expect.
22660 [XPG3 || XPG4] (O_RSYNC): Likewise.
22661 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22662 Likewise.
22663 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22664 [XPG3 || XPG4] (sigqueue): Likewise.
22665 [XPG3 || XPG4] (sigtimedwait): Likewise.
22666 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22667 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22668 [XPG3 || XPG4] (vsnprintf): Likewise.
22669 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22670 Likewise.
22671 [XPG3 || XPG4] (blksize_t): Likewise.
22672 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22673 Likewise.
22674 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22675 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22676 [XPG3 || XPG4] (struct itimerspec): Likewise.
22677 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22678 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22679 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22680 [XPG3 || XPG4] (clockid_t): Likewise.
22681 [XPG3 || XPG4] (timer_t): Likewise.
22682 [XPG3 || XPG4] (clock_getres): Likewise.
22683 [XPG3 || XPG4] (clock_gettime): Likewise.
22684 [XPG3 || XPG4] (clock_settime): Likewise.
22685 [XPG3 || XPG4] (nanosleep): Likewise.
22686 [XPG3 || XPG4] (timer_create): Likewise.
22687 [XPG3 || XPG4] (timer_delete): Likewise.
22688 [XPG3 || XPG4] (timer_gettime): Likewise.
22689 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22690 [XPG3 || XPG4] (timer_settime): Likewise.
22691 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22692 [XPG3 || XPG4] (getlogin_r): Likewise.
22693 [XPG3 || XPG4] (pread): Likewise.
22694 [XPG3 || XPG4] (pthread_atfork): Likewise.
22695 [XPG3 || XPG4] (pwrite): Likewise.
22696
ee663277
JM
22697 [BZ #14835]
22698 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22699 <bits/siginfo.h>.
22700
942caa16
PT
227012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22702
e19af380
PT
22703 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22704 finalizing MALLSTREAM.
22705
942caa16
PT
22706 * sysdeps/mach/hurd/syncfs.c: New file.
22707
cfde9b46
SP
227082012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22709
22710 [BZ #14719]
22711 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22712 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22713 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22714 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22715 (_nss_dns_gethostbyname4_r): Likewise.
22716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22717 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22718
f6da27e5
PH
227192012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22720
22721 [BZ #13763]
22722 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22723
6665d4a2
SM
227242012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22725
1f51ee92
SM
22726 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22727 * elf/cache.c (print_entry): Print ",AArch64" for
22728 FLAG_AARCH64_LIB64
22729
6665d4a2
SM
22730 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22731 * elf/cache.c (print_entry): Print ",hard-float" for
22732 FLAG_ARM_LIBHF.
22733
05b227bd
DM
227342012-11-18 David S. Miller <davem@davemloft.net>
22735
22736 With help from Joseph Myers.
22737 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22738 cutoff to 2**-13.
22739 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22740 cutoff to 2**-25.
22741 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22742 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22743 small.
22744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22745 * math/libm-test.inc (y0_test): New tests.
22746 (y1_test): New tests.
22747 * sysdeps/i386/fpu/libm-test-ulps: Update.
22748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22750
786b0b67
AS
227512012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22752
22753 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22754 64-bit targets.
22755 * configure: Regenerated.
22756
8e18b86d
DM
227572012-11-17 David S. Miller <davem@davemloft.net>
22758
22759 [BZ #14811]
22760 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22761 nonzero exponents with absolute value below 0x1p-128 to +/-
22762 0x1p-128.
22763
531f1ae0
JM
227642012-11-17 Joseph Myers <joseph@codesourcery.com>
22765
12df29e2
JM
22766 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22767
150dc1a0
JM
22768 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22769
531f1ae0
JM
22770 * posix/getconf-speclist.c: New file.
22771 * posix/posix-envs.def: Likewise.
22772 * posix/confstr.c (START_ENV_GROUP): New macro.
22773 (END_ENV_GROUP): Likewise.
22774 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22775 (KNOWN_PRESENT_ENV_STRING): Likewise.
22776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22777 (UNKNOWN_ENVIRONMENT): Likewise.
22778 (confstr): Include posix-envs.def instead of handling
22779 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22780 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22781 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22782 (END_ENV_GROUP): Likewise.
22783 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22784 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22785 (UNKNOWN_ENVIRONMENT): Likewise.
22786 (__sysconf): Include posix-envs.def instead of handling associated
22787 cases directly here.
22788 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22789 preprocessing getconf-speclist.c rather than running getconf or
22790 generating empty file.
22791
a93f9cbc
PT
227922012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22793
22794 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22795
d64d9f87
AL
227962012-11-16 Andrej Lajovic <natrij@gmail.com>
22797
22798 [BZ #14672]
22799 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22800
447885eb
DM
228012012-11-16 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22804 smaller than LDBL_EPSILON/2.0L, just return xm1.
22805
bcbf9830
L
228062012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * elf/tst-array1.c (init): Set constructor priority to 1000.
22809 (fini): Set destructor priority to 1000.
22810 * elf/tst-array2dep.c: Likewise.
22811
2b766585
SP
228122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22813
22814 [BZ #11741]
22815 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22816 (_IO_new_file_xsputn): Also return EOF if none of the input
22817 data was written when overflow failed.
22818 * libio/iopadn.c (_IO_padn): Likewise.
22819 * libio/iowpadn.c (_IO_wpadn): Likewise.
22820 * stdio-common/tst-put-error.c: Add copyright notice.
22821 (do_test): Add case for printing padded string.
22822 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22823 _IO_padn returned error.
22824 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22825 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22826 return EOF.
22827
b1848fde
SP
228282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22829
22830 * libio/libioP.h: Add comment note that the references to C++
22831 bits are now obsolete.
22832
2fd89785
MS
228332012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22834
22835 * math/libm-test.inc (check_complex): Use asprintf.
22836
e3ea5409
JM
228372012-11-14 Joseph Myers <joseph@codesourcery.com>
22838
22839 * debug/pcprofiledump.c (print_version): Update copyright year.
22840 * malloc/memusagestat.c (print_version): Likewise.
22841
2e64d265
L
228422012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 [BZ #14831]
22845 * elf/Makefile (tests): Add tst-audit8.
22846 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22847 ($(objpfx)tst-audit8.out): New target.
22848 (tst-audit8-ENV): New variable.
22849 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22850 audit if l_reloc_result is NULL.
22851 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22852 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22853 * elf/tst-audit8.c: New file.
22854
c485e4d2
MS
228552012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22856
22857 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22858 * misc/Makefile (CFLAGS-select.c): Define.
22859 * posix/Makefile (CFLAGS-pause.c): Define.
22860
3a0d900a
DM
228612012-11-13 David S. Miller <davem@davemloft.net>
22862
22863 * crypt/Makefile: Move test targets after toplevel Rules
22864 inclusion. Grab any necessary sysdep routines when linking.
22865 * crypt/md5.c (md5_process_block): Remove define, we will always
22866 name it __md5_process_block.
22867 (md5_finish_ctx): Update md5_process_block call.
22868 (md5_stream): Likewise.
22869 (md5_process_bytes): Likewise.
22870 (md5_process_block): Rename to __md5_process_block and move to ...
22871 * crypt/md5-block.c: ... here.
22872 * crypt/sha256.c (sha256_process_block): Move to ...
22873 * crypt/sha256-block.c: ... here.
22874 * crypt/sha512.c (sha512_process_block): Move to ...
22875 * crypt/sha512-block.c: ... here.
22876 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22877 path.
22878 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22879 * sysdeps/sparc/sparc64/multiarch/Makefile
22880 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22881 crypt subdir.
22882 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22884 multiarch changes.
22885 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22886 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22887 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22888 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22889 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22890 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22892 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22894 file.
22895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22896 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22897 file.
22898 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22899
8ca89318
JM
229002012-11-13 Joseph Myers <joseph@codesourcery.com>
22901
e27d476a
JM
22902 * timezone/tzselect.ksh: Update from tzcode git revision
22903 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22904 * timezone/zdump.c: Likewise.
22905 * timezone/zic.c: Likewise.
22906 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22907 in TZVERSION setting, not $(PKGVERSION).
22908 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22909 REPORT_BUGS_TO settings.
22910
8ca89318
JM
22911 [BZ #14838]
22912 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22913 macro.
22914
47594329
MS
229152012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22916
22917 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22918 detection to immediately after _FP_ROUND().
22919 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22920 bits are 0.
22921
640ac3f1
DM
229222012-11-11 David S. Miller <davem@davemloft.net>
22923
22924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22925 inttypes.h
22926 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22927 __close rather than their public counterparts.
22928
3d2577bb
JM
229292012-11-10 Joseph Myers <joseph@codesourcery.com>
22930
22931 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22932 file.
22933 [UNIX98] (sem_timedwait): Do not expect.
22934 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22935 [XPG4 || UNIX98] (sockatmark): Do not expect.
22936 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22937 (clock_getcpuclockid): Do not expect.
22938 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22939 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22940 Do not expect.
22941 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22942 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22943 [UNIX98] (vwscanf): Likewise.
22944 [UNIX98] (vswscanf): Likewise.
22945
fb1ae1ee
JM
229462012-11-09 Joseph Myers <joseph@codesourcery.com>
22947
9ec6f8bd
JM
22948 * timezone/version.h: Remove file.
22949 * timezone/README: Do not refer to version.h.
22950 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22951 $(objpfx)version.h.
22952 ($(objpfx)zdump.o): Likewise.
c3f81911 22953 ($(objpfx)version.h): New target.
9ec6f8bd 22954
0aa8f8a1
JM
22955 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22956 2012i.
22957 * timezone/README: Don't mention modification to tzselect.ksh.
22958 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22959 work on unmodified tzselect.ksh. Substitute version numbers in
22960 tzselect.ksh.
22961
4e87147f
JM
22962 * Makefile (format-me): Remove.
22963 (INSTALL): Adjust indentation. Use commands directly instead of
22964 using $(format-me).
22965
8b748aed
JM
22966 * aclocal.m4 (ACX_PKGVERSION): New macro.
22967 (ACX_BUGURL): Likewise.
22968 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22969 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22970 (REPORT_BUGS_TO): Likewise.
22971 * configure: Regenerated.
22972 * config.h.in (PKGVERSION): New macro.
22973 (REPORT_BUGS_TO): Likewise.
22974 * config.make.in (PKGVERSION): New variable.
22975 (PKGVERSION_TEXI): Likewise.
22976 (REPORT_BUGS_TO): Likewise.
22977 (REPORT_BUGS_TEXI): Likewise.
22978 * Makefile (format-me): Use -I$(common-objpfx)manual.
22979 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22980 ($(common-objpfx)manual/%): New target.
22981 (manual/%): Remove target.
22982 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22983 (print_version): Use PKGVERSION.
22984 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22985 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22986 and REPORT_BUGS_TO.
22987 ($(objpfx)xtrace): Likewise.
22988 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22989 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22990 (print_version): Use PKGVERSION.
22991 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22992 (do_version): Use PKGVERSION.
22993 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22994 REPORT_BUGS_TO.
22995 (common-ldd-rewrite): Likewise.
22996 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22997 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22998 (print_version): Use PKGVERSION.
22999 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23000 * elf/pldd.c (argp_program_bug_address): Remove variable.
23001 (more_help): New function.
23002 (argp): Use more_help.
23003 (print_version): Use PKGVERSION.
23004 * elf/sln.c (main): Use PKGVERSION.
23005 (usage): Use REPORT_BUGS_TO.
23006 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23007 (top level): Use PKGVERSION.
23008 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23009 (print_version): Use PKGVERSION.
23010 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23011 (print_version): Use PKGVERSION.
23012 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23013 (print_version): Use PKGVERSION.
23014 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23015 (print_version): Use PKGVERSION.
23016 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23017 (print_version): Use PKGVERSION.
23018 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23019 (print_version): Use PKGVERSION.
23020 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23021 and BUGURL.
23022 ($(objpfx)memusage): Likewise.
23023 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23024 (do_version): Use PKGVERSION.
23025 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23026 (print_version): Use PKGVERSION.
23027 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23028 ($PKGVERSION): New variable.
23029 ($REPORT_BUGS_TO): Likewise.
23030 (usage): Use $REPORT_BUGS_TO.
23031 (top level): Use $PKGVERSION.
23032 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23033 ($(objpfx)pkgvers.texi): New rule.
23034 ($(objpfx)stamp-pkgvers): Likewise.
23035 * manual/install.texi: Include pkgvers.texi.
23036 (--with-pkgversion): Document new configure option.
23037 (--with-bugurl): Likewise.
23038 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23039 than necessarily for this particular distribution. Use
23040 REPORT_BUGS_TO for where to report bugs.
23041 * INSTALL: Regenerated.
23042 * manual/libc.texinfo: Include pkgvers.texi.
23043 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23044 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23045 (print_version): Use PKGVERSION.
23046 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23047 (print_version): Use PKGVERSION.
23048 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23049 (print_version): Use PKGVERSION.
23050 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23051 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23052 macro.
23053 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23054 (print_version): Use PKGVERSION.
23055 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23056 (print_version): Use PKGVERSION.
23057 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23058 and PKGVERSION.
23059
92e4b6a9
JM
23060 * timezone/checktab.awk: Update from tzcode 2012i.
23061 * timezone/ialloc.c: Likewise.
23062 * timezone/private.h: Likewise.
23063 * timezone/scheck.c: Likewise.
23064 * timezone/tzfile.h: Likewise.
23065 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23066 (TZVERSION): Hardcode tzcode version number.
23067 * timezone/zdump.c: Update from tzcode 2012i.
23068 * timezone/zic.c: Likewise.
23069 * timezone/version.h: New file.
23070 * timezone/README: Describe version.h. Update upstream location.
23071
9bde902c
JM
23072 [BZ #14824]
23073 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23074 (mktemp): Enable declaration.
23075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23079 Likewise.
23080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23081 Likewise.
23082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23083 Likewise.
23084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23085 Likewise.
23086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23087 Likewise.
23088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23089 Likewise.
23090
fb1ae1ee
JM
23091 [BZ #14821]
23092 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23093 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23094 for copies of such integer values.
23095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23097
2c1adbcb
AJ
230982012-11-09 Andreas Jaeger <aj@suse.de>
23099
23100 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23101 definitions and declarations that are provided by
23102 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23103
d0f8457e
AK
231042012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23105
3a235abb 23106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23107 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23108 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23109 definition.
23110
57241e26
MS
231112012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23112
23113 * elf/elf.h: Update comment before AArch64 relocations.
23114
60e8270d
DM
231152012-11-07 David S. Miller <davem@davemloft.net>
23116
23117 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23118 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23119 (__start_context): Declare.
23120 (__makecontext_ret): Delete.
23121 (__makecontext): Hook up __start_context instead of
23122 __makecontext_ret.
23123 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23124 (sysdep_routines): Add __start_context when in stdlib.
23125
0fbb0fbc
JM
231262012-11-07 Joseph Myers <joseph@codesourcery.com>
23127
23128 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23129 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23130 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23131 hardcoded "nm".
23132 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23133 (READELF): New variable. Use it instead of hardcoded "readelf".
23134
eb48db7e
L
231352012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23136
23137 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23138 * sysdeps/x86/Makefile: Here.
23139 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23140 * sysdeps/x86/tst-xmmymm.sh: This.
23141
05bcf62a
JM
231422012-11-07 Joseph Myers <joseph@codesourcery.com>
23143
c4b6cf53
JM
23144 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23145 expectations.
23146 [UNIX98] (pthread_barrier_t): Do not expect.
23147 [UNIX98] (pthread_barrierattr_t): Likewise.
23148 [UNIX98] (pthread_spinlock_t): Likewise.
23149 [UNIX98] (pthread_barrier_destroy): Likewise.
23150 [UNIX98] (pthread_barrier_init): Likewise.
23151 [UNIX98] (pthread_barrier_wait): Likewise.
23152 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23153 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23154 [UNIX98] (pthread_barrierattr_init): Likewise.
23155 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23156 [UNIX98] (pthread_getcpuclockid): Likewise.
23157 [UNIX98] (pthread_mutex_timedlock): Likewise.
23158 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23159 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23160 [UNIX98] (pthread_sigmask): Likewise.
23161 [UNIX98] (pthread_spin_destroy): Likewise.
23162 [UNIX98] (pthread_spin_init): Likewise.
23163 [UNIX98] (pthread_spin_lock): Likewise.
23164 [UNIX98] (pthread_spin_trylock): Likewise.
23165 [UNIX98] (pthread_spin_unlock): Likewise.
23166 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23167 Do not expect.
23168 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23169 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23170 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23171 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23172 [XPG3 || XPG4] (pthread_key_t): Likewise.
23173 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23174 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23175 [XPG3 || XPG4] (pthread_once_t): Likewise.
23176 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23177 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23179 [XPG3 || XPG4] (pthread_t): Likewise.
23180
cbe6e120
JM
23181 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23182 not expect.
23183 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23184
1b126443
JM
23185 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23186 Change function return type to int.
23187
b961a573
JM
23188 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23189 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23190 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23191 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23192 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23193 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23194 [!POSIX] (posix_madvise): Likewise.
23195 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23196 && !UNIX98].
23197 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23198 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23199 (mode_t): Likewise.
23200 (posix_mem_offset): Likewise.
23201 (posix_typed_mem_get_info): Likewise.
23202 (posix_typed_mem_open): Likewise.
23203
9e188909
JM
23204 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23205 Change condition to [XOPEN2K8].
23206
05bcf62a
JM
23207 * conform/conformtest.pl: Preprocess allow-header data with -x c
23208 instead of from stdin.
23209 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23210 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23211 [C99-based standards] (cerfc): Likewise.
23212 [C99-based standards] (cexp2): Likewise.
23213 [C99-based standards] (cexpm1): Likewise.
23214 [C99-based standards] (clog10): Likewise.
23215 [C99-based standards] (clog1p): Likewise.
23216 [C99-based standards] (clog2): Likewise.
23217 [C99-based standards] (clgamma): Likewise.
23218 [C99-based standards] (ctgamma): Likewise.
23219 [C99-based standards] (cerff): Likewise.
23220 [C99-based standards] (cerfcf): Likewise.
23221 [C99-based standards] (cexp2f): Likewise.
23222 [C99-based standards] (cexpm1f): Likewise.
23223 [C99-based standards] (clog10f): Likewise.
23224 [C99-based standards] (clog1pf): Likewise.
23225 [C99-based standards] (clog2f): Likewise.
23226 [C99-based standards] (clgammaf): Likewise.
23227 [C99-based standards] (ctgammaf): Likewise.
23228 [C99-based standards] (cerfl): Likewise.
23229 [C99-based standards] (cerfcl): Likewise.
23230 [C99-based standards] (cexp2l): Likewise.
23231 [C99-based standards] (cexpm1l): Likewise.
23232 [C99-based standards] (clog10l): Likewise.
23233 [C99-based standards] (clog1pl): Likewise.
23234 [C99-based standards] (clog2l): Likewise.
23235 [C99-based standards] (clgammal): Likewise.
23236 [C99-based standards] (ctgammal): Likewise.
23237 * conform/data/inttypes.h-data [C99-based standards]: Include
23238 stdint.h-data. Remove all expectations for stdint.h contents.
23239 [C99-based standards] (PRI*): Do not allow.
23240 [C99-based standards] (SCN*): Likewise.
23241 [C99-based standards] (*_t): Likewise.
23242 [C99-based-standards] (PRId8): Expect macro.
23243 [C99-based-standards] (PRIi8): Likewise.
23244 [C99-based-standards] (PRIo8): Likewise.
23245 [C99-based-standards] (PRIu8): Likewise.
23246 [C99-based-standards] (PRIx8): Likewise.
23247 [C99-based-standards] (PRIX8): Likewise.
23248 [C99-based-standards] (SCNd8): Likewise.
23249 [C99-based-standards] (SCNi8): Likewise.
23250 [C99-based-standards] (SCNo8): Likewise.
23251 [C99-based-standards] (SCNu8): Likewise.
23252 [C99-based-standards] (SCNx8): Likewise.
23253 [C99-based-standards] (PRIdLEAST8): Likewise.
23254 [C99-based-standards] (PRIiLEAST8): Likewise.
23255 [C99-based-standards] (PRIoLEAST8): Likewise.
23256 [C99-based-standards] (PRIuLEAST8): Likewise.
23257 [C99-based-standards] (PRIxLEAST8): Likewise.
23258 [C99-based-standards] (PRIXLEAST8): Likewise.
23259 [C99-based-standards] (SCNdLEAST8): Likewise.
23260 [C99-based-standards] (SCNiLEAST8): Likewise.
23261 [C99-based-standards] (SCNoLEAST8): Likewise.
23262 [C99-based-standards] (SCNuLEAST8): Likewise.
23263 [C99-based-standards] (SCNxLEAST8): Likewise.
23264 [C99-based-standards] (PRIdFAST8): Likewise.
23265 [C99-based-standards] (PRIiFAST8): Likewise.
23266 [C99-based-standards] (PRIoFAST8): Likewise.
23267 [C99-based-standards] (PRIuFAST8): Likewise.
23268 [C99-based-standards] (PRIxFAST8): Likewise.
23269 [C99-based-standards] (PRIXFAST8): Likewise.
23270 [C99-based-standards] (SCNdFAST8): Likewise.
23271 [C99-based-standards] (SCNiFAST8): Likewise.
23272 [C99-based-standards] (SCNoFAST8): Likewise.
23273 [C99-based-standards] (SCNuFAST8): Likewise.
23274 [C99-based-standards] (SCNxFAST8): Likewise.
23275 [C99-based-standards] (PRId16): Likewise.
23276 [C99-based-standards] (PRIi16): Likewise.
23277 [C99-based-standards] (PRIo16): Likewise.
23278 [C99-based-standards] (PRIu16): Likewise.
23279 [C99-based-standards] (PRIx16): Likewise.
23280 [C99-based-standards] (PRIX16): Likewise.
23281 [C99-based-standards] (SCNd16): Likewise.
23282 [C99-based-standards] (SCNi16): Likewise.
23283 [C99-based-standards] (SCNo16): Likewise.
23284 [C99-based-standards] (SCNu16): Likewise.
23285 [C99-based-standards] (SCNx16): Likewise.
23286 [C99-based-standards] (PRIdLEAST16): Likewise.
23287 [C99-based-standards] (PRIiLEAST16): Likewise.
23288 [C99-based-standards] (PRIoLEAST16): Likewise.
23289 [C99-based-standards] (PRIuLEAST16): Likewise.
23290 [C99-based-standards] (PRIxLEAST16): Likewise.
23291 [C99-based-standards] (PRIXLEAST16): Likewise.
23292 [C99-based-standards] (SCNdLEAST16): Likewise.
23293 [C99-based-standards] (SCNiLEAST16): Likewise.
23294 [C99-based-standards] (SCNoLEAST16): Likewise.
23295 [C99-based-standards] (SCNuLEAST16): Likewise.
23296 [C99-based-standards] (SCNxLEAST16): Likewise.
23297 [C99-based-standards] (PRIdFAST16): Likewise.
23298 [C99-based-standards] (PRIiFAST16): Likewise.
23299 [C99-based-standards] (PRIoFAST16): Likewise.
23300 [C99-based-standards] (PRIuFAST16): Likewise.
23301 [C99-based-standards] (PRIxFAST16): Likewise.
23302 [C99-based-standards] (PRIXFAST16): Likewise.
23303 [C99-based-standards] (SCNdFAST16): Likewise.
23304 [C99-based-standards] (SCNiFAST16): Likewise.
23305 [C99-based-standards] (SCNoFAST16): Likewise.
23306 [C99-based-standards] (SCNuFAST16): Likewise.
23307 [C99-based-standards] (SCNxFAST16): Likewise.
23308 [C99-based-standards] (PRId32): Likewise.
23309 [C99-based-standards] (PRIi32): Likewise.
23310 [C99-based-standards] (PRIo32): Likewise.
23311 [C99-based-standards] (PRIu32): Likewise.
23312 [C99-based-standards] (PRIx32): Likewise.
23313 [C99-based-standards] (PRIX32): Likewise.
23314 [C99-based-standards] (SCNd32): Likewise.
23315 [C99-based-standards] (SCNi32): Likewise.
23316 [C99-based-standards] (SCNo32): Likewise.
23317 [C99-based-standards] (SCNu32): Likewise.
23318 [C99-based-standards] (SCNx32): Likewise.
23319 [C99-based-standards] (PRIdLEAST32): Likewise.
23320 [C99-based-standards] (PRIiLEAST32): Likewise.
23321 [C99-based-standards] (PRIoLEAST32): Likewise.
23322 [C99-based-standards] (PRIuLEAST32): Likewise.
23323 [C99-based-standards] (PRIxLEAST32): Likewise.
23324 [C99-based-standards] (PRIXLEAST32): Likewise.
23325 [C99-based-standards] (SCNdLEAST32): Likewise.
23326 [C99-based-standards] (SCNiLEAST32): Likewise.
23327 [C99-based-standards] (SCNoLEAST32): Likewise.
23328 [C99-based-standards] (SCNuLEAST32): Likewise.
23329 [C99-based-standards] (SCNxLEAST32): Likewise.
23330 [C99-based-standards] (PRIdFAST32): Likewise.
23331 [C99-based-standards] (PRIiFAST32): Likewise.
23332 [C99-based-standards] (PRIoFAST32): Likewise.
23333 [C99-based-standards] (PRIuFAST32): Likewise.
23334 [C99-based-standards] (PRIxFAST32): Likewise.
23335 [C99-based-standards] (PRIXFAST32): Likewise.
23336 [C99-based-standards] (SCNdFAST32): Likewise.
23337 [C99-based-standards] (SCNiFAST32): Likewise.
23338 [C99-based-standards] (SCNoFAST32): Likewise.
23339 [C99-based-standards] (SCNuFAST32): Likewise.
23340 [C99-based-standards] (SCNxFAST32): Likewise.
23341 [C99-based-standards] (PRId64): Likewise.
23342 [C99-based-standards] (PRIi64): Likewise.
23343 [C99-based-standards] (PRIo64): Likewise.
23344 [C99-based-standards] (PRIu64): Likewise.
23345 [C99-based-standards] (PRIx64): Likewise.
23346 [C99-based-standards] (PRIX64): Likewise.
23347 [C99-based-standards] (SCNd64): Likewise.
23348 [C99-based-standards] (SCNi64): Likewise.
23349 [C99-based-standards] (SCNo64): Likewise.
23350 [C99-based-standards] (SCNu64): Likewise.
23351 [C99-based-standards] (SCNx64): Likewise.
23352 [C99-based-standards] (PRIdLEAST64): Likewise.
23353 [C99-based-standards] (PRIiLEAST64): Likewise.
23354 [C99-based-standards] (PRIoLEAST64): Likewise.
23355 [C99-based-standards] (PRIuLEAST64): Likewise.
23356 [C99-based-standards] (PRIxLEAST64): Likewise.
23357 [C99-based-standards] (PRIXLEAST64): Likewise.
23358 [C99-based-standards] (SCNdLEAST64): Likewise.
23359 [C99-based-standards] (SCNiLEAST64): Likewise.
23360 [C99-based-standards] (SCNoLEAST64): Likewise.
23361 [C99-based-standards] (SCNuLEAST64): Likewise.
23362 [C99-based-standards] (SCNxLEAST64): Likewise.
23363 [C99-based-standards] (PRIdFAST64): Likewise.
23364 [C99-based-standards] (PRIiFAST64): Likewise.
23365 [C99-based-standards] (PRIoFAST64): Likewise.
23366 [C99-based-standards] (PRIuFAST64): Likewise.
23367 [C99-based-standards] (PRIxFAST64): Likewise.
23368 [C99-based-standards] (PRIXFAST64): Likewise.
23369 [C99-based-standards] (SCNdFAST64): Likewise.
23370 [C99-based-standards] (SCNiFAST64): Likewise.
23371 [C99-based-standards] (SCNoFAST64): Likewise.
23372 [C99-based-standards] (SCNuFAST64): Likewise.
23373 [C99-based-standards] (SCNxFAST64): Likewise.
23374 [C99-based-standards] (PRIdMAX): Likewise.
23375 [C99-based-standards] (PRIiMAX): Likewise.
23376 [C99-based-standards] (PRIoMAX): Likewise.
23377 [C99-based-standards] (PRIuMAX): Likewise.
23378 [C99-based-standards] (PRIxMAX): Likewise.
23379 [C99-based-standards] (PRIXMAX): Likewise.
23380 [C99-based-standards] (SCNdMAX): Likewise.
23381 [C99-based-standards] (SCNiMAX): Likewise.
23382 [C99-based-standards] (SCNoMAX): Likewise.
23383 [C99-based-standards] (SCNuMAX): Likewise.
23384 [C99-based-standards] (SCNxMAX): Likewise.
23385 [C99-based-standards] (PRIdPTR): Likewise.
23386 [C99-based-standards] (PRIiPTR): Likewise.
23387 [C99-based-standards] (PRIoPTR): Likewise.
23388 [C99-based-standards] (PRIuPTR): Likewise.
23389 [C99-based-standards] (PRIxPTR): Likewise.
23390 [C99-based-standards] (PRIXPTR): Likewise.
23391 [C99-based-standards] (SCNdPTR): Likewise.
23392 [C99-based-standards] (SCNiPTR): Likewise.
23393 [C99-based-standards] (SCNoPTR): Likewise.
23394 [C99-based-standards] (SCNuPTR): Likewise.
23395 [C99-based-standards] (SCNxPTR): Likewise.
23396 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23397 allow.
23398 * conform/data/stdint.h-data: Update comments to clarify
23399 requirements.
23400 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23401 type.
23402 [C99-based standards] (INT8_MAX): Likewise.
23403 [C99-based standards] (INT16_MIN): Likewise.
23404 [C99-based standards] (INT16_MAX): Likewise.
23405 [C99-based standards] (INT32_MIN): Likewise.
23406 [C99-based standards] (INT32_MAX): Likewise.
23407 [C99-based standards] (INT64_MIN): Likewise.
23408 [C99-based standards] (INT64_MAX): Likewise.
23409 [C99-based standards] (UINT8_MAX): Likewise.
23410 [C99-based standards] (UINT16_MAX): Likewise.
23411 [C99-based standards] (UINT32_MAX): Likewise.
23412 [C99-based standards] (UINT64_MAX): Likewise.
23413 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23414 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23415 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23416 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23417 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23418 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23419 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23420 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23421 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23422 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23423 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23424 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23425 [C99-based standards] (INT_FAST8_MIN): Likewise.
23426 [C99-based standards] (INT_FAST8_MAX): Likewise.
23427 [C99-based standards] (INT_FAST16_MIN): Likewise.
23428 [C99-based standards] (INT_FAST16_MAX): Likewise.
23429 [C99-based standards] (INT_FAST32_MIN): Likewise.
23430 [C99-based standards] (INT_FAST32_MAX): Likewise.
23431 [C99-based standards] (INT_FAST64_MIN): Likewise.
23432 [C99-based standards] (INT_FAST64_MAX): Likewise.
23433 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23434 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23435 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23436 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23437 [C99-based standards] (INTPTR_MIN): Likewise.
23438 [C99-based standards] (INTPTR_MAX): Likewise.
23439 [C99-based standards] (UINTPTR_MAX): Likewise.
23440 [C99-based standards] (INTMAX_MIN): Likewise.
23441 [C99-based standards] (INTMAX_MAX): Likewise.
23442 [C99-based standards] (UINTMAX_MAX): Likewise.
23443 [C99-based standards] (PTRDIFF_MIN): Likewise.
23444 [C99-based standards] (PTRDIFF_MAX): Likewise.
23445 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23446 [C99-based standards] (SIZE_MAX): Likewise.
23447 [C99-based standards] (WCHAR_MAX): Likewise.
23448 [C99-based standards] (WINT_MAX): Likewise.
23449 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23450 constraint on value.
23451 [C99-based standards] (WCHAR_MIN): Likewise.
23452 [C99-based standards] (WINT_MIN): Likewise.
23453 [C99-based standards] (*_t): Allow.
23454 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23455 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23456 Include math.h-data and complex.h-data. Remove all expectations
23457 of math.h and complex.h contents.
23458 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23459 at end of line.
23460 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23461 (struct tm): Expect tag.
23462 [C99-based-standards] (wcstof): Expect function.
23463 [C99-based-standards] (wcstold): Likewise.
23464 [C99-based-standards] (wcstoll): Likewise.
23465 [C99-based-standards] (wcstoull): Likewise.
23466 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23467 macro-int-constant. Specify type.
23468 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23469 constraint on value.
23470 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23471 Specify type.
23472 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23473 Specify value.
23474 [ISO C standards]: Do not allow headers.
23475 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23476 wcs[abcdefghijklmnopqrstuvwxyz]*.
23477 [ISO C standards] (*_t): Do not allow.
23478 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23479 Expect function.
23480 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23481 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23482 Specify type.
23483 [ISO C standards]: Do not allow headers.
23484 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23485 is[abcdefghijklmnopqrstuvwxyz]*.
23486 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23487 to[abcdefghijklmnopqrstuvwxyz]*.
23488 [ISO C standards] (*_t): Do not allow.
23489 * conform/data/stdalign.h-data: New file.
23490 * conform/data/stdbool.h-data: Likewise.
23491 * conform/data/stdnoreturn.h-data: Likewise.
23492
7514feb8
RM
234932012-11-07 Roland McGrath <roland@hack.frob.com>
23494
23495 [BZ #14815]
23496 * manual/filesys.texi (Directory Entries): Typo fix.
23497 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23498
19b2ecfc
MS
234992012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23500
23501 * elf/elf.h (EM_AARCH64): New macro.
23502 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23503 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23504 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23505 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23506 (R_AARCH64_TLSDESC): Likewise.
23507 (NT_ARM_TLS): Likewise.
23508 (NT_ARM_HW_BREAK): Likewise.
23509 (NT_ARM_HW_WATCH): Likewise.
23510
60e235ee
JM
235112012-11-07 Joseph Myers <joseph@codesourcery.com>
23512
23513 [BZ #14811]
23514 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23515 (__ieee754_powl): Saturate nonzero exponents with absolute value
23516 below 0x1p-79 to +/- 0x1p-79.
23517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23518 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23519 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23520 nonzero exponents with absolute value below 0x1p-32 to +/-
23521 0x1p-32.
23522 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23523 (__ieee754_powl): Saturate nonzero exponents with absolute value
23524 below 0x1p-79 to +/- 0x1p-79.
23525 * math/libm-test.inc (pow_test): Add more tests.
23526
0ab234b7
AK
235272012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23528
23529 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23530 _dl_s390_cap_flags with kernel. Increase string length.
23531 (_dl_s390_platforms): Add z196 and zEC12.
23532
45832f74
JM
235332012-11-07 Joseph Myers <joseph@codesourcery.com>
23534
23535 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23536 Change XOPEN21K to XOPEN2K.
23537
19218757
MK
235382012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23539
23540 * string/memmove.c: Use memcpy when possible.
23541
c5f45721
AJ
235422012-11-06 Andreas Jaeger <aj@suse.de>
23543
23544 * po/eo.po: Update from translation team.
23545
82477c28
JM
235462012-11-06 Joseph Myers <joseph@codesourcery.com>
23547
23548 [BZ #14793]
23549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23550 exponent and small x and y exponents, scale x or y up. Increase
23551 by 2 the exponent used in scaling up.
23552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23554 * math/libm-test.inc (fma_test): Add more tests.
23555 (fma_test_towardzero): Likewise.
23556 (fma_test_downward): Likewise.
23557 (fma_test_upward): Likewise.
23558
99252c8c
JM
235592012-11-05 Joseph Myers <joseph@codesourcery.com>
23560
acfa885f
JM
23561 [BZ #14805]
23562 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23563 fenv_t *.
23564
99252c8c
JM
23565 [BZ #14801]
23566 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23567 namespace for names of struct fields.
23568 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23569 fenv_t fields.
23570 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23571 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23572
d6d98dea
ST
235732012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23574
23575 [BZ #3665]
23576 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23577
e10bb107
TS
235782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23579
23580 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23581 PTR_DEMANGLE.
23582
23583 [BZ #5246]
23584 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23585 PTR_DEMANGLE.
23586
a0c2940d
JM
235872012-11-04 Joseph Myers <joseph@codesourcery.com>
23588
23589 [BZ #14797]
23590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23591 definitely overflow as x * y not x * y + z.
23592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23594 * math/libm-test.inc (fma_test): Add more tests.
23595 (fma_test_towardzero): Likewise.
23596 (fma_test_downward): Likewise.
23597 (fma_test_upward): Likewise.
23598
b830319d
TS
235992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23600
23601 [BZ #157]
23602
23603 * include/stub-tag.h: Remove file.
23604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23605 '#include' of it.
23606 * manual/maint.texi (Porting): Don't reference it.
23607 * Makerules ($(objpfx)stubs): Likewise.
23608 * dirent/closedir.c: Don't include <stub-tag.h>.
23609 * dirent/dirfd.c: Likewise.
23610 * dirent/fdopendir.c: Likewise.
23611 * dirent/getdents.c: Likewise.
23612 * dirent/getdents64.c: Likewise.
23613 * dirent/opendir.c: Likewise.
23614 * dirent/readdir.c: Likewise.
23615 * dirent/readdir64.c: Likewise.
23616 * dirent/readdir64_r.c: Likewise.
23617 * dirent/readdir_r.c: Likewise.
23618 * dirent/rewinddir.c: Likewise.
23619 * dirent/seekdir.c: Likewise.
23620 * dirent/telldir.c: Likewise.
23621 * gmon/profil.c: Likewise.
23622 * grp/setgroups.c: Likewise.
23623 * inet/if_index.c: Likewise.
23624 * io/access.c: Likewise.
23625 * io/chdir.c: Likewise.
23626 * io/chmod.c: Likewise.
23627 * io/chown.c: Likewise.
23628 * io/close.c: Likewise.
23629 * io/dup.c: Likewise.
23630 * io/dup2.c: Likewise.
23631 * io/dup3.c: Likewise.
23632 * io/euidaccess.c: Likewise.
23633 * io/faccessat.c: Likewise.
23634 * io/fchdir.c: Likewise.
23635 * io/fchmod.c: Likewise.
23636 * io/fchmodat.c: Likewise.
23637 * io/fchown.c: Likewise.
23638 * io/fchownat.c: Likewise.
23639 * io/fcntl.c: Likewise.
23640 * io/flock.c: Likewise.
23641 * io/fstatfs.c: Likewise.
23642 * io/fstatfs64.c: Likewise.
23643 * io/fstatvfs.c: Likewise.
23644 * io/fstatvfs64.c: Likewise.
23645 * io/futimens.c: Likewise.
23646 * io/fxstat.c: Likewise.
23647 * io/fxstat64.c: Likewise.
23648 * io/fxstatat.c: Likewise.
23649 * io/fxstatat64.c: Likewise.
23650 * io/getcwd.c: Likewise.
23651 * io/isatty.c: Likewise.
23652 * io/lchmod.c: Likewise.
23653 * io/lchown.c: Likewise.
23654 * io/link.c: Likewise.
23655 * io/linkat.c: Likewise.
23656 * io/lseek.c: Likewise.
23657 * io/lseek64.c: Likewise.
23658 * io/lxstat64.c: Likewise.
23659 * io/mkdir.c: Likewise.
23660 * io/mkdirat.c: Likewise.
23661 * io/mkfifo.c: Likewise.
23662 * io/mkfifoat.c: Likewise.
23663 * io/open.c: Likewise.
23664 * io/open64.c: Likewise.
23665 * io/openat.c: Likewise.
23666 * io/openat64.c: Likewise.
23667 * io/pipe.c: Likewise.
23668 * io/pipe2.c: Likewise.
23669 * io/poll.c: Likewise.
23670 * io/posix_fadvise.c: Likewise.
23671 * io/posix_fadvise64.c: Likewise.
23672 * io/posix_fallocate.c: Likewise.
23673 * io/posix_fallocate64.c: Likewise.
23674 * io/read.c: Likewise.
23675 * io/readlink.c: Likewise.
23676 * io/readlinkat.c: Likewise.
23677 * io/rmdir.c: Likewise.
23678 * io/sendfile.c: Likewise.
23679 * io/sendfile64.c: Likewise.
23680 * io/statfs.c: Likewise.
23681 * io/statfs64.c: Likewise.
23682 * io/statvfs.c: Likewise.
23683 * io/statvfs64.c: Likewise.
23684 * io/symlink.c: Likewise.
23685 * io/symlinkat.c: Likewise.
23686 * io/ttyname.c: Likewise.
23687 * io/ttyname_r.c: Likewise.
23688 * io/umask.c: Likewise.
23689 * io/unlink.c: Likewise.
23690 * io/unlinkat.c: Likewise.
23691 * io/utime.c: Likewise.
23692 * io/utimensat.c: Likewise.
23693 * io/write.c: Likewise.
23694 * io/xmknod.c: Likewise.
23695 * io/xmknodat.c: Likewise.
23696 * io/xstat.c: Likewise.
23697 * io/xstat64.c: Likewise.
23698 * login/getpt.c: Likewise.
23699 * login/grantpt.c: Likewise.
23700 * login/unlockpt.c: Likewise.
23701 * math/e_acoshl.c: Likewise.
23702 * math/e_acosl.c: Likewise.
23703 * math/e_asinl.c: Likewise.
23704 * math/e_atan2l.c: Likewise.
23705 * math/e_atanhl.c: Likewise.
23706 * math/e_coshl.c: Likewise.
23707 * math/e_expl.c: Likewise.
23708 * math/e_fmodl.c: Likewise.
23709 * math/e_gammal_r.c: Likewise.
23710 * math/e_hypotl.c: Likewise.
23711 * math/e_j0l.c: Likewise.
23712 * math/e_j1l.c: Likewise.
23713 * math/e_jnl.c: Likewise.
23714 * math/e_lgammal_r.c: Likewise.
23715 * math/e_log10l.c: Likewise.
23716 * math/e_log2l.c: Likewise.
23717 * math/e_logl.c: Likewise.
23718 * math/e_powl.c: Likewise.
23719 * math/e_rem_pio2l.c: Likewise.
23720 * math/e_sinhl.c: Likewise.
23721 * math/e_sqrtl.c: Likewise.
23722 * math/fclrexcpt.c: Likewise.
23723 * math/fedisblxcpt.c: Likewise.
23724 * math/feenablxcpt.c: Likewise.
23725 * math/fegetenv.c: Likewise.
23726 * math/fegetexcept.c: Likewise.
23727 * math/fegetround.c: Likewise.
23728 * math/feholdexcpt.c: Likewise.
23729 * math/fesetenv.c: Likewise.
23730 * math/fesetround.c: Likewise.
23731 * math/feupdateenv.c: Likewise.
23732 * math/fgetexcptflg.c: Likewise.
23733 * math/fraiseexcpt.c: Likewise.
23734 * math/fsetexcptflg.c: Likewise.
23735 * math/ftestexcept.c: Likewise.
23736 * math/k_cosl.c: Likewise.
23737 * math/k_rem_pio2l.c: Likewise.
23738 * math/k_sinl.c: Likewise.
23739 * math/k_tanl.c: Likewise.
23740 * math/s_asinhl.c: Likewise.
23741 * math/s_atanl.c: Likewise.
23742 * math/s_cbrtl.c: Likewise.
23743 * math/s_erfl.c: Likewise.
23744 * math/s_expm1l.c: Likewise.
23745 * math/s_log1pl.c: Likewise.
23746 * math/s_tanhl.c: Likewise.
23747 * misc/acct.c: Likewise.
23748 * misc/brk.c: Likewise.
23749 * misc/chflags.c: Likewise.
23750 * misc/chroot.c: Likewise.
23751 * misc/fchflags.c: Likewise.
23752 * misc/fgetxattr.c: Likewise.
23753 * misc/flistxattr.c: Likewise.
23754 * misc/fremovexattr.c: Likewise.
23755 * misc/fsetxattr.c: Likewise.
23756 * misc/fsync.c: Likewise.
23757 * misc/ftruncate.c: Likewise.
23758 * misc/futimes.c: Likewise.
23759 * misc/futimesat.c: Likewise.
23760 * misc/getdomain.c: Likewise.
23761 * misc/getdtsz.c: Likewise.
23762 * misc/gethostid.c: Likewise.
23763 * misc/gethostname.c: Likewise.
23764 * misc/getloadavg.c: Likewise.
23765 * misc/getpagesize.c: Likewise.
23766 * misc/getsysstats.c: Likewise.
23767 * misc/getxattr.c: Likewise.
23768 * misc/gtty.c: Likewise.
23769 * misc/ioctl.c: Likewise.
23770 * misc/lgetxattr.c: Likewise.
23771 * misc/listxattr.c: Likewise.
23772 * misc/llistxattr.c: Likewise.
23773 * misc/lremovexattr.c: Likewise.
23774 * misc/lsetxattr.c: Likewise.
23775 * misc/lutimes.c: Likewise.
23776 * misc/madvise.c: Likewise.
23777 * misc/mincore.c: Likewise.
23778 * misc/mlock.c: Likewise.
23779 * misc/mlockall.c: Likewise.
23780 * misc/mmap.c: Likewise.
23781 * misc/mprotect.c: Likewise.
23782 * misc/msync.c: Likewise.
23783 * misc/munlock.c: Likewise.
23784 * misc/munlockall.c: Likewise.
23785 * misc/munmap.c: Likewise.
23786 * misc/preadv.c: Likewise.
23787 * misc/preadv64.c: Likewise.
23788 * misc/ptrace.c: Likewise.
23789 * misc/pwritev.c: Likewise.
23790 * misc/pwritev64.c: Likewise.
23791 * misc/readv.c: Likewise.
23792 * misc/reboot.c: Likewise.
23793 * misc/remap_file_pages.c: Likewise.
23794 * misc/removexattr.c: Likewise.
23795 * misc/revoke.c: Likewise.
23796 * misc/select.c: Likewise.
23797 * misc/setdomain.c: Likewise.
23798 * misc/setegid.c: Likewise.
23799 * misc/seteuid.c: Likewise.
23800 * misc/sethostid.c: Likewise.
23801 * misc/sethostname.c: Likewise.
23802 * misc/setregid.c: Likewise.
23803 * misc/setreuid.c: Likewise.
23804 * misc/setxattr.c: Likewise.
23805 * misc/sstk.c: Likewise.
23806 * misc/stty.c: Likewise.
23807 * misc/swapoff.c: Likewise.
23808 * misc/swapon.c: Likewise.
23809 * misc/sync.c: Likewise.
23810 * misc/syncfs.c: Likewise.
23811 * misc/syscall.c: Likewise.
23812 * misc/truncate.c: Likewise.
23813 * misc/ualarm.c: Likewise.
23814 * misc/usleep.c: Likewise.
23815 * misc/ustat.c: Likewise.
23816 * misc/utimes.c: Likewise.
23817 * misc/vhangup.c: Likewise.
23818 * misc/writev.c: Likewise.
23819 * posix/_exit.c: Likewise.
23820 * posix/alarm.c: Likewise.
23821 * posix/execve.c: Likewise.
23822 * posix/fexecve.c: Likewise.
23823 * posix/fork.c: Likewise.
23824 * posix/fpathconf.c: Likewise.
23825 * posix/getaddrinfo.c: Likewise.
23826 * posix/getegid.c: Likewise.
23827 * posix/geteuid.c: Likewise.
23828 * posix/getgid.c: Likewise.
23829 * posix/getgroups.c: Likewise.
23830 * posix/getlogin.c: Likewise.
23831 * posix/getlogin_r.c: Likewise.
23832 * posix/getpgid.c: Likewise.
23833 * posix/getpid.c: Likewise.
23834 * posix/getppid.c: Likewise.
23835 * posix/getresgid.c: Likewise.
23836 * posix/getresuid.c: Likewise.
23837 * posix/getsid.c: Likewise.
23838 * posix/getuid.c: Likewise.
23839 * posix/glob64.c: Likewise.
23840 * posix/nanosleep.c: Likewise.
23841 * posix/pathconf.c: Likewise.
23842 * posix/pause.c: Likewise.
23843 * posix/posix_madvise.c: Likewise.
23844 * posix/pread.c: Likewise.
23845 * posix/pread64.c: Likewise.
23846 * posix/pwrite.c: Likewise.
23847 * posix/pwrite64.c: Likewise.
23848 * posix/sched_getaffinity.c: Likewise.
23849 * posix/sched_getp.c: Likewise.
23850 * posix/sched_gets.c: Likewise.
23851 * posix/sched_primax.c: Likewise.
23852 * posix/sched_primin.c: Likewise.
23853 * posix/sched_rr_gi.c: Likewise.
23854 * posix/sched_setaffinity.c: Likewise.
23855 * posix/sched_setp.c: Likewise.
23856 * posix/sched_sets.c: Likewise.
23857 * posix/sched_yield.c: Likewise.
23858 * posix/setgid.c: Likewise.
23859 * posix/setlogin.c: Likewise.
23860 * posix/setpgid.c: Likewise.
23861 * posix/setresgid.c: Likewise.
23862 * posix/setresuid.c: Likewise.
23863 * posix/setsid.c: Likewise.
23864 * posix/setuid.c: Likewise.
23865 * posix/sleep.c: Likewise.
23866 * posix/spawni.c: Likewise.
23867 * posix/sysconf.c: Likewise.
23868 * posix/times.c: Likewise.
23869 * posix/wait.c: Likewise.
23870 * posix/wait3.c: Likewise.
23871 * posix/wait4.c: Likewise.
23872 * posix/waitpid.c: Likewise.
23873 * resolv/gai_sigqueue.c: Likewise.
23874 * resource/getpriority.c: Likewise.
23875 * resource/getrlimit.c: Likewise.
23876 * resource/getrusage.c: Likewise.
23877 * resource/nice.c: Likewise.
23878 * resource/setpriority.c: Likewise.
23879 * resource/setrlimit.c: Likewise.
23880 * resource/ulimit.c: Likewise.
23881 * rt/aio_cancel.c: Likewise.
23882 * rt/aio_fsync.c: Likewise.
23883 * rt/aio_read.c: Likewise.
23884 * rt/aio_sigqueue.c: Likewise.
23885 * rt/aio_suspend.c: Likewise.
23886 * rt/aio_write.c: Likewise.
23887 * rt/clock_getres.c: Likewise.
23888 * rt/clock_gettime.c: Likewise.
23889 * rt/clock_nanosleep.c: Likewise.
23890 * rt/clock_settime.c: Likewise.
23891 * rt/lio_listio.c: Likewise.
23892 * rt/mq_close.c: Likewise.
23893 * rt/mq_getattr.c: Likewise.
23894 * rt/mq_notify.c: Likewise.
23895 * rt/mq_open.c: Likewise.
23896 * rt/mq_receive.c: Likewise.
23897 * rt/mq_send.c: Likewise.
23898 * rt/mq_setattr.c: Likewise.
23899 * rt/mq_timedreceive.c: Likewise.
23900 * rt/mq_timedsend.c: Likewise.
23901 * rt/mq_unlink.c: Likewise.
23902 * rt/shm_open.c: Likewise.
23903 * rt/shm_unlink.c: Likewise.
23904 * rt/timer_create.c: Likewise.
23905 * rt/timer_delete.c: Likewise.
23906 * rt/timer_getoverr.c: Likewise.
23907 * rt/timer_gettime.c: Likewise.
23908 * rt/timer_settime.c: Likewise.
23909 * setjmp/__longjmp.c: Likewise.
23910 * setjmp/setjmp.c: Likewise.
23911 * signal/kill.c: Likewise.
23912 * signal/killpg.c: Likewise.
23913 * signal/raise.c: Likewise.
23914 * signal/sigaction.c: Likewise.
23915 * signal/sigaltstack.c: Likewise.
23916 * signal/sigblock.c: Likewise.
23917 * signal/sigignore.c: Likewise.
23918 * signal/sigintr.c: Likewise.
23919 * signal/signal.c: Likewise.
23920 * signal/sigpause.c: Likewise.
23921 * signal/sigpending.c: Likewise.
23922 * signal/sigqueue.c: Likewise.
23923 * signal/sigreturn.c: Likewise.
23924 * signal/sigset.c: Likewise.
23925 * signal/sigsetmask.c: Likewise.
23926 * signal/sigstack.c: Likewise.
23927 * signal/sigsuspend.c: Likewise.
23928 * signal/sigtimedwait.c: Likewise.
23929 * signal/sigvec.c: Likewise.
23930 * signal/sigwait.c: Likewise.
23931 * signal/sigwaitinfo.c: Likewise.
23932 * signal/sysv_signal.c: Likewise.
23933 * socket/accept.c: Likewise.
23934 * socket/accept4.c: Likewise.
23935 * socket/bind.c: Likewise.
23936 * socket/connect.c: Likewise.
23937 * socket/getpeername.c: Likewise.
23938 * socket/getsockname.c: Likewise.
23939 * socket/getsockopt.c: Likewise.
23940 * socket/isfdtype.c: Likewise.
23941 * socket/listen.c: Likewise.
23942 * socket/recv.c: Likewise.
23943 * socket/recvfrom.c: Likewise.
23944 * socket/recvmsg.c: Likewise.
23945 * socket/send.c: Likewise.
23946 * socket/sendmsg.c: Likewise.
23947 * socket/sendto.c: Likewise.
23948 * socket/setsockopt.c: Likewise.
23949 * socket/shutdown.c: Likewise.
23950 * socket/sockatmark.c: Likewise.
23951 * socket/socket.c: Likewise.
23952 * socket/socketpair.c: Likewise.
23953 * stdio-common/ctermid.c: Likewise.
23954 * stdio-common/cuserid.c: Likewise.
23955 * stdio-common/remove.c: Likewise.
23956 * stdio-common/rename.c: Likewise.
23957 * stdio-common/renameat.c: Likewise.
23958 * stdio-common/tempname.c: Likewise.
23959 * stdlib/getcontext.c: Likewise.
23960 * stdlib/makecontext.c: Likewise.
23961 * stdlib/setcontext.c: Likewise.
23962 * stdlib/swapcontext.c: Likewise.
23963 * stdlib/system.c: Likewise.
23964 * streams/fattach.c: Likewise.
23965 * streams/fdetach.c: Likewise.
23966 * streams/getmsg.c: Likewise.
23967 * streams/getpmsg.c: Likewise.
23968 * streams/putmsg.c: Likewise.
23969 * streams/putpmsg.c: Likewise.
23970 * sysdeps/unix/bsd/getpt.c: Likewise.
23971 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23972 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23973 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23975 Likewise.
23976 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23978 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23979 * sysvipc/msgctl.c: Likewise.
23980 * sysvipc/msgget.c: Likewise.
23981 * sysvipc/msgrcv.c: Likewise.
23982 * sysvipc/msgsnd.c: Likewise.
23983 * sysvipc/semctl.c: Likewise.
23984 * sysvipc/semget.c: Likewise.
23985 * sysvipc/semop.c: Likewise.
23986 * sysvipc/semtimedop.c: Likewise.
23987 * sysvipc/shmat.c: Likewise.
23988 * sysvipc/shmctl.c: Likewise.
23989 * sysvipc/shmdt.c: Likewise.
23990 * sysvipc/shmget.c: Likewise.
23991 * termios/tcdrain.c: Likewise.
23992 * termios/tcflow.c: Likewise.
23993 * termios/tcflush.c: Likewise.
23994 * termios/tcgetattr.c: Likewise.
23995 * termios/tcgetpgrp.c: Likewise.
23996 * termios/tcsendbrk.c: Likewise.
23997 * termios/tcsetattr.c: Likewise.
23998 * termios/tcsetpgrp.c: Likewise.
23999 * time/adjtime.c: Likewise.
24000 * time/clock.c: Likewise.
24001 * time/getitimer.c: Likewise.
24002 * time/gettimeofday.c: Likewise.
24003 * time/setitimer.c: Likewise.
24004 * time/settimeofday.c: Likewise.
24005 * time/stime.c: Likewise.
24006 * time/time.c: Likewise.
24007
240082012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24009
a20492cf
PT
24010 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24011 /usr/old/bin.
24012
72e182e3
PT
24013 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24014 instead of spaces.
24015 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24016
fbeafede
JM
240172012-11-03 Joseph Myers <joseph@codesourcery.com>
24018
5b5b04d6
JM
24019 [BZ #14796]
24020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24021 FE_TONEAREST before applying Dekker multiplication and Knuth
24022 addition. Clear inexact exceptions and check for exact zero
24023 results afterwards.
24024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24025 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24027 * math/libm-test.inc (fma_test): Add more tests.
24028 (fma_test_towardzero): Likewise.
24029 (fma_test_downward): Likewise.
24030 (fma_test_upward): Likewise.
24031 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24032 function.
24033 (libc_fesetround): New macro.
24034 (libc_fesetroundf): Likewise.
24035 (libc_fesetroundl): Likewise.
24036 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24037 function.
24038 (libc_fesetround_387): Likewise.
24039 (libc_fesetroundf): New macro.
24040 (libc_fesetround): Likewise.
24041 (libc_fesetroundl): Likewise.
24042 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24043 function.
24044 (libc_fesetroundf): New macro.
24045 (libc_fesetround): Likewise.
24046 (libc_fesetroundl): Likewise.
24047 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24048 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24049 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24050 libm_hidden_ver.
24051 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24052 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24053 libm_hidden_def.
24054 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24055 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24056 libm_hidden_ver.
24057 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24058 libm_hidden_def.
24059
fbeafede
JM
24060 [BZ #3439]
24061 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24062 integer constant usable in #if and use that to give value to enum
24063 constant.
24064 (FE_DIVBYZERO): Likewise.
24065 (FE_UNDERFLOW): Likewise.
24066 (FE_OVERFLOW): Likewise.
24067 (FE_INVALID): Likewise.
24068 (FE_INVALID_SNAN): Likewise.
24069 (FE_INVALID_ISI): Likewise.
24070 (FE_INVALID_IDI): Likewise.
24071 (FE_INVALID_ZDZ): Likewise.
24072 (FE_INVALID_IMZ): Likewise.
24073 (FE_INVALID_COMPARE): Likewise.
24074 (FE_INVALID_SOFTWARE): Likewise.
24075 (FE_INVALID_SQRT): Likewise.
24076 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24077 (FE_TONEAREST): Likewise.
24078 (FE_TOWARDZERO): Likewise.
24079 (FE_UPWARD): Likewise.
24080 (FE_DOWNWARD): Likewise.
24081 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24082 (FE_DIVBYZERO): Likewise.
24083 (FE_OVERFLOW): Likewise.
24084 (FE_UNDERFLOW): Likewise.
24085 (FE_INEXACT): Likewise.
24086 (FE_TONEAREST): Likewise.
24087 (FE_DOWNWARD): Likewise.
24088 (FE_UPWARD): Likewise.
24089 (FE_TOWARDZERO): Likewise.
24090 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24091 (FE_UNDERFLOW): Likewise.
24092 (FE_OVERFLOW): Likewise.
24093 (FE_DIVBYZERO): Likewise.
24094 (FE_INVALID): Likewise.
24095 (FE_TONEAREST): Likewise.
24096 (FE_TOWARDZERO): Likewise.
24097 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24098 (FE_OVERFLOW): Likewise.
24099 (FE_UNDERFLOW): Likewise.
24100 (FE_DIVBYZERO): Likewise.
24101 (FE_INEXACT): Likewise.
24102 (FE_TONEAREST): Likewise.
24103 (FE_TOWARDZERO): Likewise.
24104 (FE_UPWARD): Likewise.
24105 (FE_DOWNWARD): Likewise.
24106 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24107 (FE_DIVBYZERO): Likewise.
24108 (FE_OVERFLOW): Likewise.
24109 (FE_UNDERFLOW): Likewise.
24110 (FE_INEXACT): Likewise.
24111 (FE_TONEAREST): Likewise.
24112 (FE_DOWNWARD): Likewise.
24113 (FE_UPWARD): Likewise.
24114 (FE_TOWARDZERO): Likewise.
24115
105ca950
CM
241162012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24117
24118 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24119
a542b389
AS
241202012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24121
24122 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24123 commands. Quote $PWD.
24124 (blacklist_exports): Don't use remove_newlines. Replace "declare
24125 -x" by "export".
24126 (remove_newlines): Remove.
24127
f62c8abc
L
241282012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24129
24130 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24131 * stdlib/stdlib.h (atof): Moved to ...
24132 * include/bits/stdlib-float.h: Here. New file.
24133 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24134 * stdlib/bits/stdlib-float.h: New file.
24135 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24136 -mno-sse -mno-mmx.
24137 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24138 <xmmintrin.h>.
24139
0155d5b2
JM
241402012-11-02 Joseph Myers <joseph@codesourcery.com>
24141
a68d0680
JM
24142 * conform/conformtest.pl (@headers): Add fenv.h.
24143 * conform/data/fenv.h-data: New file.
24144 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24145 include of <math/fenv.h>.
24146
caf7f573
JM
24147 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24148 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24149 && !UNIX98]. Enables tests for XOPEN2K8.
24150 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24151 POSIX2008]: Likewise.
24152
6c073ad6
JM
24153 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24154 (struct rusage): Do not expect type or its members.
24155
0155d5b2
JM
24156 [BZ #3439]
24157 * math/math.h (FP_NAN): Define macro to integer constant usable in
24158 #if and use that to give value to enum constant.
24159 (FP_INFINITE): Likewise.
24160 (FP_ZERO): Likewise.
24161 (FP_SUBNORMAL): Likewise.
24162 (FP_NORMAL): Likewise.
24163
b5dcacb4
AS
241642012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24165
24166 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24167 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24168 arguments.
24169
f7934be8
RM
241702012-11-02 Roland McGrath <roland@hack.frob.com>
24171
24172 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24173 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24174 autoconf-time if not.
24175 * configure.in: Remove AC_PREREQ.
24176
d7d08bde
TMQMF
241772012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24178
24179 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24180 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24181 of the internal implementation.
24182
dcdae19a
JM
241832012-11-02 Joseph Myers <joseph@codesourcery.com>
24184
24185 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24186 except include of <misc/sys/syslog.h>.
24187
d6cffd3e
AS
241882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24189
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24191 function returns with a NULL context exit with zero.
24192
b3563932
TMQMF
241932012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24194
24195 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24196
b288a93d
L
241972012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24200 (run_program_cmd): This.
24201 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24202 (tst_langinfo): New variable. Use it.
24203
a2421a68
SAS
242042012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24205
24206 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24207 floating point opcodes.
24208
6f796e1b
TS
242092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24210
7402596b
TS
24211 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24212 variable.
24213
d0d4f868
TS
24214 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24215
6f796e1b
TS
24216 * sysdeps/mach/hurd/powerpc: Remove directory.
24217 * sysdeps/mach/powerpc: Likewise.
24218
4da224a2
AS
242192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24220
24221 * scripts/check-local-headers.sh: Ignore c++ headers.
24222
341dd673
TS
242232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24224
24225 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24226 __libc_cleanup_region_start argument.
24227
473611b2
JM
242282012-11-01 Joseph Myers <joseph@codesourcery.com>
24229
24230 [BZ #14784]
24231 [BZ #14785]
24232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24233 x * y using scaling, not as x * y + z.
24234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24236 * math/libm-test.inc (fma_test): Add more tests.
24237 (fma_test_towardzero): Likewise.
24238 (fma_test_downward): Likewise.
24239 (fma_test_upward): Likewise.
24240
4078da3d
TS
242412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24242
24243 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24244
903252aa
JM
242452012-10-31 Joseph Myers <joseph@codesourcery.com>
24246
24247 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24248 New variable.
24249
cbc818d0
TS
242502012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24251
24252 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24253
5a03cb1e
AS
242542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24255
24256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24257 Fix sort order.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24259 Likewise.
24260
90aff2ff
TMQMF
242612012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24262
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24264 Fix the order of the list for glibc 2.17.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24266 Likewise.
24267
1818fcb7
AS
242682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24269
24270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24271
ef82f4da
JM
242722012-10-31 Joseph Myers <joseph@codesourcery.com>
24273
16a0e2ec
JM
24274 [BZ #14610]
24275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24276 for low part of x being zero before using __atanl (y).
24277 * math/libm-test.inc (atan2_test): Add another test.
24278
0eb69512
JM
24279 * manual/install.texi (Configuring and compiling): Document
24280 general use of test-wrapper and test-wrapper-env.
24281 * INSTALL: Regenerated.
24282
ef82f4da
JM
24283 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24284 (__fma): Do not extract and scale down low bits on after-rounding
24285 systems when result rounded to normal precision would have normal
24286 exponent.
24287 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24288 (__fmal): Do not extract and scale down low bits on after-rounding
24289 systems when result rounded to normal precision would have normal
24290 exponent.
24291 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24292 (__fmal): Do not extract and scale down low bits on after-rounding
24293 systems when result rounded to normal precision would have normal
24294 exponent.
24295 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24296 macro.
24297 (fma_test): Add more tests.
24298 (fma_test_towardzero): Likewise.
24299 (fma_test_downward): Likewise.
24300 (fma_test_upward): Likewise.
24301
954ef0d9
L
243022012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 * sysdeps/i386/tininess.h: Renamed to ...
24305 * sysdeps/x86/tininess.h: This.
24306 * sysdeps/x86_64/tininess.h: Removed.
24307
df61ffb2
JM
243082012-10-30 Joseph Myers <joseph@codesourcery.com>
24309
24310 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24311 input. Use $(build-program-cmd).
24312 ($(objpfx)tst-array1-static.out): Likewise.
24313 ($(objpfx)tst-array2.out): Likewise.
24314 ($(objpfx)tst-array3.out): Likewise.
24315 ($(objpfx)tst-array4.out): Likewise.
24316 ($(objpfx)tst-array5.out): Likewise.
24317 ($(objpfx)tst-array5-static.out): Likewise.
24318
01767843
CM
243192012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24320
47cc1490
CM
24321 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24322 if defined.
24323
01767843
CM
24324 * nss/nsswitch.h (nss_interface_function): Provide new
24325 macro for use with NSS functions.
24326 * grp/initgroups.c: Use new macro.
24327 * nss/getXXbyYY.c: Likewise.
24328 * nss/getXXbyYY_r.c: Likewise.
24329 * nss/getXXent.c: Likewise.
24330 * nss/getXXent_r.c: Likewise.
24331 * sysdeps/posix/getaddrinfo.c: Likewise.
24332
8321aa97
AJ
243332012-10-30 Andreas Jaeger <aj@suse.de>
24334
24335 * po/ru.po: Update Russion translation from translation project.
24336
2a27fd6d
JM
243372012-10-30 Joseph Myers <joseph@codesourcery.com>
24338
8627a232
JM
24339 [BZ #14152]
24340 [BZ #14783]
24341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24342 result and shift together with sticky bit instead of replicating
24343 round-to-nearest rounding.
24344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24346 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24347 missing underflow exceptions.
24348 (fma_test_towardzero): Add more tests.
24349 (fma_test_downward): Likewise.
24350 (fma_test_upward): Likewise.
24351
2a27fd6d
JM
24352 [BZ #14047]
24353 * sysdeps/generic/tininess.h: New file.
24354 * sysdeps/i386/tininess.h: Likewise.
24355 * sysdeps/sh/tininess.h: Likewise.
24356 * sysdeps/x86_64/tininess.h: Likewise.
24357 * stdlib/tst-strtod-underflow.c: Likewise.
24358 * stdlib/tst-tininess.c: Likewise.
24359 * stdlib/strtod_l.c: Include <tininess.h>.
24360 (round_and_return): Do not set errno for exact underflow cases.
24361 Force an underflow exception when setting errno for underflow.
24362 Determine underflow based on rounding to normal precision if
24363 TININESS_AFTER_ROUNDING.
24364 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24365 ERANGE for exact underflow cases.
24366 * stdlib/Makefile (tests): Add tst-tininess and
24367 tst-strtod-underflow.
24368 ($(objpfx)tst-tininess): Use $(link-libm).
24369 ($(objpfx)tst-strtod-underflow): Likewise.
24370
e7170363
AJ
243712012-10-30 Andreas Jaeger <aj@suse.de>
24372
e5088dc6
AJ
24373 [BZ#14767]
24374 * elf/Makefile (tests): Remove conditional for have-initfini-array
24375 since this is now always required and the variable does not exist
24376 anymore.
24377 (tests-static): Likewise.
24378 (modules-names): Likewise.
24379
e7170363 24380 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24381
24382 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24383 merged with constructor/destructor.
24384 (init_array): Likewise.
24385 * elf/tst-array2dep.c (fini_array): Likewise.
24386 (init_array): Likewise.
24387
60457d8a
MF
243882012-10-29 Mike Frysinger <vapier@gentoo.org>
24389
24390 * manual/message.texi: Delete @cartouche tags.
24391
8bece752
PT
243922012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24393
94ce799f
PT
24394 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24395 EOPNOTSUPP.
24396 * sysdeps/mach/hurd/fsync.c: Likewise.
24397
8bece752
PT
24398 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24399 [_POSIX_REALTIME_SIGNALS]: Change condition to
24400 [_POSIX_REALTIME_SIGNALS > 0].
24401
86ebe6b1
AJ
244022012-10-27 Andreas Jaeger <aj@suse.de>
24403
24404 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24405 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24407 [__WORDSIZE != 64]: Likewise.
24408
54399c08
L
244092012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24410
24411 * iconvdata/tst-table.sh: Remove ${SHELL}.
24412 * iconvdata/tst-tables.sh: Likewise.
24413
e2211bed
DM
244142012-10-25 David S. Miller <davem@davemloft.net>
24415
24416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24417 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24418 of strtoull.
24419
f303f97c
DM
24420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24421 ifunc-impl-list.c
24422 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24424 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24425 file.
24426
1e9d84cd
RM
244272012-10-25 Roland McGrath <roland@hack.frob.com>
24428
24429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24430 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24431 __getdirentries.
24432
df381762
JM
244332012-10-25 Joseph Myers <joseph@codesourcery.com>
24434 Jim Blandy <jimb@codesourcery.com>
24435
24436 * scripts/cross-test-ssh.sh: New file.
24437 * manual/install.texi (Configuring and compiling): Document use of
24438 cross-test-ssh.sh.
24439 * INSTALL: Regenerated.
24440
bff64913
PT
244412012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24442
24443 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24444 EOPNOTSUPP.
24445
25fe8932
JM
244462012-10-25 Joseph Myers <joseph@codesourcery.com>
24447
24448 * Makeconfig (run-program-prefix): Fix comment.
24449
cc1290d0
JM
244502012-10-24 Joseph Myers <joseph@codesourcery.com>
24451 Jim Blandy <jimb@codesourcery.com>
24452
24453 * Makeconfig (test-wrapper): New variable,
24454 (test-wrapper-env): Likewise.
24455 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24456 (run-built-tests): Define to yes.
24457 (run-program-prefix): Use $(test-wrapper).
24458 (built-program-cmd): Likewise.
24459 * Rules (make-test-out): Use $(test-wrapper-env) and
24460 $(host-built-program-cmd).
24461 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24462 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24463 tst-pathopt.sh.
24464 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24465 $(test-wrapper-env) to tst-rtld-load-self.sh.
24466 ($(objpfx)order2.out): Use $(test-wrapper).
24467 ($(objpfx)tst-initorder.out): Likewise.
24468 ($(objpfx)tst-initorder2.out): Likewise.
24469 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24470 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24471 (test_wrapper_env): New variable. Use it to run ld.so.
24472 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24473 Use it to run ld.so.
24474 (test_wrapper_env): Likewise.
24475 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24476 $(test-wrapper) to run-iconv-test.sh.
24477 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24478 (ICONV): Use $test_wrapper.
24479 * posix/Makefile ($(objpfx)globtest.out): Pass
24480 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24481 globtest.sh, not $(run-program-prefix).
24482 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24483 (test_wrapper): Likewise.
24484 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24485 set together with run_via_rtld_prefix.
24486 (run_program_prefix): Define in terms of test_wrapper and
24487 run_via_rtld_prefix.
24488
6e6249d0
RM
244892012-10-24 Roland McGrath <roland@hack.frob.com>
24490
24491 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24492 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24493 Targets removed.
24494
24495 [BZ #14743]
24496 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24497 Declare __clock_getres, __clock_gettime, __clock_settime,
24498 __clock_nanosleep, and __clock_getcpuclockid.
24499 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24500 Remove librt_hidden_def (clock_gettime).
24501 * sysdeps/unix/clock_gettime.c: Likewise.
24502 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24504 * rt/clock_getres.c: Define __clock_getres as an alias.
24505 * sysdeps/posix/clock_getres.c: Likewise.
24506 * rt/clock_settime.c: Define __clock_settime as an alias.
24507 * sysdeps/unix/clock_settime.c: Likewise.
24508 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24509 * sysdeps/unix/clock_nanosleep.c: Likewise.
24510 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24511 * rt/clock-compat.c: New file.
24512 * rt/Makefile (librt-routines): Add clock-compat and move
24513 $(clock-routines) to ...
24514 (routines): ... here, new variable.
24515 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24516 Don't add get_clockfreq here.
24517 * rt/Versions (libc: GLIBC_2.17): New version set.
24518 Add clock_* symbols here.
24519 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24521 (GLIBC_2.17): Add clock_* symbols.
24522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24526 Likewise.
24527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24528 Likewise.
24529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24533 * NEWS: Mention the move.
24534
24535 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24536 Use __open, __read, __close rather than their public counterparts.
24537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24538 (__get_clockfreq_via_cpuinfo): Likewise.
24539 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24540 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24541
24542 * config.h.in (HAVE_IFUNC): New #undef.
24543 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24544 was successful.
24545 * configure: Regenerated.
24546
0cae3f4b
MF
245472012-10-24 Mike Frysinger <vapier@gentoo.org>
24548
24549 * configure.in: Move READELF check to start of file.
24550 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24551 libc_cv_asm_gnu_indirect_function in the process.
24552 * configure: Regenerated.
24553
8175a253
MF
245542012-10-24 Mike Frysinger <vapier@gentoo.org>
24555
24556 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24557 send the output to /dev/null.
24558 (libc_cv_cc_with_libunwind): Likewise.
24559 (libc_cv_as_noexecstack): Likewise.
24560 * configure: Regenerate.
24561
0708a7d1
JM
245622012-10-24 Joseph Myers <joseph@codesourcery.com>
24563
10b40d85
JM
24564 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24565
0708a7d1
JM
24566 * posix/globtest.sh (TMPDIR): Do not set.
24567 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24568 (testout): Likewise.
24569
9fddec1a
AJ
245702012-10-24 Andreas Jaeger <aj@suse.de>
24571
3a8db22f
AJ
24572 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24573 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24574 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24575 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24576 posix_fadvise64, posix_fallocate64.
24577
9fddec1a
AJ
24578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24579 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24580 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24581 Likewise.
24582 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24583 Likewise.
24584 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24585
24586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24587 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24588 <bits/fcntl-linux.h>.
24589 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24590
24591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24592 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24593 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24594 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24595 [__WORDSIZE != 64]: Likewise.
24596
ebfd1bbd
JM
245972012-10-23 Joseph Myers <joseph@codesourcery.com>
24598
03ac099f
JM
24599 * Makeconfig (run-built-tests): New variable.
24600 * Rules [$(cross-compiling) = yes]: Change condition to
24601 [$(run-built-tests) = no].
24602 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24603 to [$(run-built-tests) = yes].
24604 * elf/Makefile [$(cross-compiling) = no]: Likewise
24605 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24606 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24607 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24608 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24609 * io/Makefile [$(cross-compiling) = no]: Likewise.
24610 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24611 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24612 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24613 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24614 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24615 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24616 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24617 * string/Makefile [$(cross-compiling) = no]: Likewise.
24618
ebfd1bbd
JM
24619 * posix/Makefile ($(objpfx)globtest.out): Pass
24620 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24621 $(rtld-installed-name).
24622 * posix/globtest.sh (elf_objpfx): Remove variable.
24623 (rtld_installed_name): Likewise.
24624 (library_path): Likewise.
24625 (run_program_prefix): New variable. Use for running globtest
24626 binary.
24627
166bca24
JB
246282012-10-23 Jim Blandy <jimb@codesourcery.com>
24629 Joseph Myers <joseph@codesourcery.com>
24630
24631 * Makeconfig (host-built-program-cmd): New variable.
24632 * elf/Makefile (tst-stackguard1-ARGS): Use
24633 $(host-built-program-cmd).
24634 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24635 (tst-spawn-ARGS): Likewise.
24636 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24637
88866099
JM
246382012-10-23 Joseph Myers <joseph@codesourcery.com>
24639 Jim Blandy <jimb@codesourcery.com>
24640
24641 * Makeconfig (run-via-rtld-prefix): New variable.
24642 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24643 (built-program-cmd): Likewise.
24644
b4b4c296
AJ
246452012-10-22 Andreas Jaeger <aj@suse.de>
24646
24647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24648 __O_RSYNC if it exists, otherwise to O_SYNC.
24649
6fb54a22
JB
246502012-10-22 Jim Blandy <jimb@codesourcery.com>
24651 Joseph Myers <joseph@codesourcery.com>
24652
24653 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24654 /dev/null.
24655 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24656 from /dev/null
24657 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24658 /dev/null.
24659
481b90b9
AJ
246602012-10-22 Andreas Jaeger <aj@suse.de>
24661
2a0e2669
AJ
24662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24663 Define always.
24664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24665
76e38f9a
AJ
24666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24667 bits/fcntl-linux.h.
24668
7cd37b43
AJ
24669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24670 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24671
481b90b9
AJ
24672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24673 to __O_LARGEFILE.
24674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24675 to __O_LARGEFILE.
24676
aba75984
JB
246772012-10-21 Jim Blandy <jimb@codesourcery.com>
24678 Joseph Myers <joseph@codesourcery.com>
24679
24680 * config.make.in (NM): New variable.
24681
88d4247f
AJ
246822012-10-21 Andreas Jaeger <aj@suse.de>
24683
24684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24685 definitions and declarations that are provided by
24686 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24687
f2eed205
L
246882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 [BZ #14683]
24691 * elf/Makefile (tests-static): Add tst-leaks1-static.
24692 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24693 ($(objpfx)tst-leaks1-static): New rule.
24694 ($(objpfx)tst-leaks1-static-mem): Likewise.
24695 (tst-leaks1-static-ENV): New macro.
24696 * elf/dl-open.c (dl_open_worker): Check the main application
24697 only if SHARED is defined.
24698 * elf/tst-leaks1-static.c: New file.
24699
335e6931
AJ
247002012-10-20 Andreas Jaeger <aj@suse.de>
24701
24702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24703 generic values for Linux.
24704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24705 and declarations that are provided by <bits/fcntl-linux.h> and
24706 include <bits/fcntl-linux.h>.
24707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24709
ac5c94d3
RM
247102012-10-20 Roland McGrath <roland@hack.frob.com>
24711
24712 * io/fcntl.h: Move include of <bits/types.h> to the top and
24713 include it unconditionally.
24714
de54b33a
L
247152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24716
228cfb01
L
24717 * wcsmbs/Makefile (tests-ifunc): New variable.
24718 (tests): Add $(tests-ifunc).
24719 * wcsmbs/test-wcschr-ifunc.c: New file.
24720 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24721 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24722 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24723 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24724 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24725
69f07e5f
L
24726 * string/Makefile (tests-ifunc): New variable.
24727 (tests): Add $(tests-ifunc).
24728 * string/test-memccpy.c (TEST_NAME): New macro.
24729 * string/test-memchr.c (TEST_NAME): Likewise.
24730 * string/test-memcmp.c (TEST_NAME): Likewise.
24731 * string/test-memcpy.c (TEST_NAME): Likewise.
24732 * string/test-memmem.c (TEST_NAME): Likewise.
24733 * string/test-memmove.c (TEST_NAME): Likewise.
24734 * string/test-memset.c (TEST_NAME): Likewise.
24735 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24736 * string/test-stpcpy.c (TEST_NAME): Likewise.
24737 * string/test-stpncpy.c (TEST_NAME): Likewise.
24738 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24739 * string/test-strcasestr.c (TEST_NAME): Likewise.
24740 * string/test-strcat.c (TEST_NAME): Likewise.
24741 * string/test-strchr.c (TEST_NAME): Likewise.
24742 * string/test-strcmp.c(TEST_NAME): Likewise.
24743 * string/test-strcpy.c (TEST_NAME): Likewise.
24744 * string/test-strcspn.c (TEST_NAME): Likewise.
24745 * string/test-strlen.c (TEST_NAME): Likewise.
24746 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24747 * string/test-strncmp.c (TEST_NAME): Likewise.
24748 * string/test-strncpy.c (TEST_NAME): Likewise.
24749 * string/test-strnlen.c (TEST_NAME): Likewise.
24750 * string/test-strpbrk.c (TEST_NAME): Likewise.
24751 * string/test-strrchr.c (TEST_NAME): Likewise.
24752 * string/test-strspn.c (TEST_NAME): Likewise.
24753 * string/test-strstr.c (TEST_NAME): Likewise.
24754 * string/test-bcopy-ifunc.c: New file.
24755 * string/test-bzero-ifunc.c: Likewise.
24756 * string/test-memccpy-ifunc.c: Likewise.
24757 * string/test-memchr-ifunc.c: Likewise.
24758 * string/test-memcmp-ifunc.c: Likewise.
24759 * string/test-memcpy-ifunc.c: Likewise.
24760 * string/test-memmem-ifunc.c: Likewise.
24761 * string/test-memmove-ifunc.c: Likewise.
24762 * string/test-mempcpy-ifunc.c: Likewise.
24763 * string/test-memset-ifunc.c: Likewise.
24764 * string/test-rawmemchr-ifunc.c: Likewise.
24765 * string/test-stpcpy-ifunc.c: Likewise.
24766 * string/test-stpncpy-ifunc.c: Likewise.
24767 * string/test-strcasecmp-ifunc.c: Likewise.
24768 * string/test-strcasestr-ifunc.c: Likewise.
24769 * string/test-strcat-ifunc.c: Likewise.
24770 * string/test-strchr-ifunc.c: Likewise.
24771 * string/test-strchrnul-ifunc.c: Likewise.
24772 * string/test-strcmp-ifunc.c: Likewise.
24773 * string/test-strcpy-ifunc.c: Likewise.
24774 * string/test-strcspn-ifunc.c: Likewise.
24775 * string/test-strlen-ifunc.c: Likewise.
24776 * string/test-strncasecmp-ifunc.c: Likewise.
24777 * string/test-strncat-ifunc.c: Likewise.
24778 * string/test-strncmp-ifunc.c: Likewise.
24779 * string/test-strncpy-ifunc.c: Likewise.
24780 * string/test-strnlen-ifunc.c: Likewise.
24781 * string/test-strpbrk-ifunc.c: Likewise.
24782 * string/test-strrchr-ifunc.c: Likewise.
24783 * string/test-strspn-ifunc.c: Likewise.
24784 * string/test-strstr-ifunc.c: Likewise.
24785
de54b33a
L
24786 * debug/Makefile (tests-ifunc): New variable.
24787 (tests): Add $(tests-ifunc).
24788 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24789 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24790 * debug/test-stpcpy_chk-ifunc.c: New file.
24791 * debug/test-strcpy_chk-ifunc.c: Likewise.
24792
88481c16
SP
247932012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24794
24795 [BZ #13601]
24796 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24797 header is not read in.
24798
135948bd
JM
247992012-10-19 Joseph Myers <joseph@codesourcery.com>
24800
89f1c388
JM
24801 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24802 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24803 directly. Pass built executable to script as
24804 $(built-program-cmd).
24805 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24806 $testprogram without using LD_LIBRARY_PATH and $ldso.
24807
e40a0d21
JM
24808 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24809 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24810 $(rtld-installed-name).
24811 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24812 (rtld_installed_name): Likewise.
24813 (library_path): Likewise.
24814 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24815 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24816 $(run-program-prefix) to tst-tables.sh.
24817 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24818 it to run tst-table-from and tst-table-to.
24819 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24820 Pass it to tst-table.sh.
24821 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24822 $(run-program-prefix) to tst-gettext.sh.
24823 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24824 tst-translit.sh.
24825 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24826 tst-gettext2.sh.
24827 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24828 to run tst-gettext.
24829 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24830 to run tst-gettext2.
24831 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24832 to run tst-translit.
24833 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24834 $(run-program-prefix) to tst-mtrace.sh.
24835 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24836 to run tst-mtrace.
24837 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24838 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24839 $(rtld-installed-name).
24840 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24841 (rtld_installed_name): Likewise.
24842 (run_program_prefix): New variable. Use it to run wordexp-test.
24843
728e272a
JM
24844 * Makeconfig (ARCH): Remove all definitions.
24845 (machine): Likewise.
24846 [ARCH]: Remove conditional code.
24847 [!objdir]: Give error.
24848 [!objdir] (objpfx): Remove.
24849 [!objdir] (common-objpfx): Likewise.
24850 [!objdir] (common-objdir): Likewise.
24851 * configure.in (config_makefile): Remove. Hardcode Makefile in
24852 AC_CONFIG_FILES call.
24853 * configure: Regenerated.
24854
d528cdcf
JM
24855 [BZ #13888]
24856 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24857 or TMPDIR.
24858 (testout): Likewise.
24859
135948bd
JM
24860 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24861 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24862 $(rtld-installed-name).
24863 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24864 (rtld_installed_name): Likwise.
24865 (runit): Remove function.
24866 (run_getconf): New variable, Use it for running getconf binary.
24867
38c78296
L
248682012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24869
24870 [BZ #14716]
24871 * string/test-memmem.c (check_result): New function.
24872 (do_one_test): Use it.
24873 (check1): New function.
24874 (test_main): Use it.
24875
d077f65f
MT
248762012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24877
24878 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24879
ced52c71
JM
248802012-10-18 Joseph Myers <joseph@codesourcery.com>
24881
24882 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24883 (_G_LSEEK64): Likewise.
24884 (_G_MMAP64): Likewise.
24885 (_G_FSTAT64): Likewise.
24886 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24887 (_G_LSEEK64): Likewise.
24888 (_G_MMAP64): Likewise.
24889 (_G_FSTAT64): Likewise.
24890 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24891 unconditional. Call __mmap64 directly.
24892 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24893 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24894 __lseek64 directly.
24895 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24896 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24897 __mmap64 directly.
24898 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24899 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24900 __lseek64 directly.
24901 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24902 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24903 __lseek64 directly.
24904 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24905 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24906 __lseek64 directly.
24907 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24908 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24909 __fxstat64 directly.
24910 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24911 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24912 unconditional.
24913 (freopen64) [!_G_OPEN64]: Remove conditional code.
24914 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24915 unconditional.
24916 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24917 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24918 unconditional.
24919 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24920 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24921 unconditional.
24922 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24923 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24924 unconditional.
24925 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24926 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24927 unconditional.
24928 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24929 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24930 unconditional.
24931 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24932 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24933 unconditional.
24934 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24935
b741de23
SP
249362012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24937
24938 [BZ #12140]
24939 * manual/memory.texi (Malloc Tunable Parameters): Add note
24940 about free list pointers overwriting some perturb bytes.
24941 Wording suggested by Roland McGrath.
24942
f9b9d9c9
JM
249432012-10-17 Joseph Myers <joseph@codesourcery.com>
24944
24945 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24946 (lgamma_test): Likewise.
24947 (tgamma_test): Likewise.
24948
172a631a
FW
249492012-10-16 Florian Weimer <fweimer@redhat.com>
24950
24951 [BZ #14700]
24952 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24953 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24954
e9f37252
MK
249552012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24956
24957 * NEWS: Mention BZ #14716.
24958 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24959 when removing AVAILABLE1_USES_J macro.
24960
d394eb74
L
249612012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24962
24963 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24964 (__bswap_64): __uint64_t for unsigned 64-bit int.
24965
ca38dc17
AS
249662012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24967
24968 * include/string.h (memmem): Declare libc hidden alias.
24969 * string/memmem.c (memmem): Define libc hidden alias.
24970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24971 __read, __close instead of open, read, close.
24972
9a387d1f
L
249732012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24974
ac49ecaf
L
24975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24976 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24977 global and hidden.
24978 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24979 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24980 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24981 Likewise.
24982 (__rawmemchr_sse2): Likewise.
24983 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24984 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24985 (__strchr_sse2): Likewise.
24986 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24987 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24988 (__strcasecmp_sse2): Likewise.
24989 (__strncasecmp_sse2): Likewise.
24990 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24991 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24992 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24993 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24994 (__strrchr_sse2): Likewise.
24995 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24996 ifunc-impl-list.c.
24997 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24998 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24999 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25001 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25005 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25006 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25007 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25008 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25009 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25010 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25011 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25012 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25013 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25014 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25015 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25016 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25017 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25018 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25019 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25020 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25021 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25022 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25023 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25024 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25025 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25026 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25027
b090e8ea
L
25028 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25029 global and hidden.
25030 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25031 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25032 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25033 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25034 Likewise.
25035 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25036 Likewise.
25037 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25038 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25039 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25040 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25041 ifunc-impl-list.c.
25042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25045 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25046 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25047 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25048 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25049 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25050 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25051 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25052 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25053 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25054 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25055 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25056 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25058 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25059 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25060 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25061 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25063 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25064 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25065 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25067 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25068 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25069 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25070 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25072 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25075 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25083
11dd4af6
L
25084 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25085 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25086 * include/ifunc-impl-list.h: New file.
25087 * misc/ifunc-impl-list.c: Likewise.
25088 * misc/Makefile (routines): Add ifunc-impl-list.
25089 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25090 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25091 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25092 TEST_NAME]: New variables.
11dd4af6
L
25093 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25094 are defined.
25095 (test_init): Call __libc_ifunc_impl_list to initialize
25096 func_list if TEST_IFUNC and TEST_NAME are defined.
25097
9a387d1f
L
25098 * string/Makefile (strop-tests): Add bcopy and bzero.
25099 * string/test-bcopy.c: New file.
25100 * string/test-bzero.c: Likewise.
25101 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25102 defined.
25103 * string/test-memset.c: Support bzero test if TEST_BZERO is
25104 defined.
25105 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25106 __libc_memmove.
25107 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25108 __libc_memset.
25109 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25110 of memset.
25111
472371b9
JM
251122012-10-10 Joseph Myers <joseph@codesourcery.com>
25113
1e4a9536
JM
25114 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25115 * configure: Regenerated.
25116
d173d12e
JM
25117 * Makeconfig (+link-static-before-libc): Don't include
25118 $(link-static-libc).
25119
472371b9
JM
25120 * libio/libio.h (_IO_pos_t): Remove.
25121
89a3ad0b
AO
251222012-10-10 Alexandre Oliva <aoliva@redhat.com>
25123
25124 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25125 McGrath.
25126
e7451425
AO
251272012-10-10 Alexandre Oliva <aoliva@redhat.com>
25128
25129 * crypt/crypt-entry.c: Include fips-private.h.
25130 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25131 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25132 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25133 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25134
4ba74a35
AO
251352012-10-10 Alexandre Oliva <aoliva@redhat.com>
25136
25137 * crypt/crypt-private.h: Include stdbool.h.
25138 (_ufc_setup_salt_r): Return bool.
25139 * crypt/crypt-entry.c: Include errno.h.
25140 (__crypt_r): Return NULL with EINVAL for bad salt.
25141 * crypt/crypt_util.c (bad_for_salt): New.
25142 (_ufc_setup_salt_r): Check that salt is long enough and within
25143 the specified alphabet.
25144 * crypt/badsalttest.c: New file.
25145 * crypt/Makefile (tests): Add it.
25146 ($(objpfx)badsalttest): New.
25147
f96f1242
MK
251482012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25149
25150 * NEWS: Add entry for BZ #14602.
25151
0e8e0c1c
JM
251522012-10-09 Joseph Myers <joseph@codesourcery.com>
25153
25154 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25155 type-generic.
25156 * math/libm-test.inc: Update comment listing what functions and
25157 macros are tested.
25158 (isgreater_test): New function.
25159 (isgreaterequal_test): Likewise.
25160 (isless_test): Likewise.
25161 (islessequal_test): Likewise.
25162 (islessgreater_test): Likewise.
25163 (isunordered_test): Likewise.
25164 (main): Call the new functions.
25165
273edc5e
RM
251662012-10-09 Roland McGrath <roland@hack.frob.com>
25167
b8493de0
RM
25168 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25169 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25170 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25171 * sysdeps/i386/configure: Regenerated.
25172 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25173 * sysdeps/mach/configure: Regenerated.
25174 * sysdeps/mach/hurd/configure: Regenerated.
25175 * sysdeps/powerpc/configure: Regenerated.
25176 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25177 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25178 * sysdeps/s390/s390-32/configure: Regenerated.
25179 * sysdeps/s390/s390-64/configure: Regenerated.
25180 * sysdeps/sh/configure: Regenerated.
25181 * sysdeps/sparc/configure: Regenerated.
25182 * sysdeps/unix/sysv/linux/configure: Regenerated.
25183 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25184 * sysdeps/x86_64/configure: Regenerated.
25185
273edc5e
RM
25186 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25187 defined. Don't check if MAP is NULL.
25188
c8450f70
JM
251892012-10-09 Joseph Myers <joseph@codesourcery.com>
25190
25191 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25192 (_G_stat64): Likewise.
25193 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25194 (_G_stat64): Likewise.
25195 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25196 instead of struct _G_stat64.
25197 * libio/fileops.c (mmap_remap_check): Likewise.
25198 (decide_maybe_mmap): Likewise.
25199 (_IO_new_file_seekoff): Likewise.
25200 (_IO_file_stat): Likewise.
25201 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25202 _G_off64_t.
25203 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25204 instead of struct _G_stat64.
25205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25206
57e605ba
MK
252072012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25208
25209 [BZ #14602]
25210 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25211 Replace with ...
25212 (CHECK_EOL): New macro.
25213 (two_way_short_needle): Check beginning of haystack for EOL. Use
25214 CHECK_EOL.
25215 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25216 Replace with CHECK_EOL.
25217 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25218 Replace with CHECK_EOL.
25219
ef1bb361
JM
252202012-10-08 Joseph Myers <joseph@codesourcery.com>
25221
25222 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25223 type-generic.
25224 * math/libm-test.inc: Update comment listing what functions and
25225 macros are tested.
25226 (finite_test): New function.
25227 (isinf_test): Likewise.
25228 (isnan_test): Likewise.
25229 (fpclassify_test): Test subnormal input.
25230 (isfinite_test): Likewise.
25231 (isnormal_test): Likewise.
25232 (main): Call the new functions.
25233
55f11534
JN
252342012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25235
25236 [BZ #14660]
25237 * Makerules (%.dynsym): Force C locale when running
25238 $(OBJDUMP) --dynamic-syms.
25239
1ab29350
AS
252402012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25241
25242 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25243 <stdint.h>.
25244
f1ecb7ef
DM
252452012-10-06 David S. Miller <davem@davemloft.net>
25246
25247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25248 upper 32-bits of the length value in %o2 since we use branch-on-register
25249 tests which consider the entire 64-bit register.
25250
5d41d91a
L
252512012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25252
25253 * string/test-strstr.c (check2): Add a test for page boundary.
25254
3baddb72
DM
252552012-10-05 David S. Miller <davem@davemloft.net>
25256
25257 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25259 file.
25260 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25261 sysdep_routines.
25262 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25263 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25264 and bzero when HWCAP_SPARC_CRYPTO is present.
25265
9cee5585
L
252662012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25267
d7e0dab9
L
25268 [BZ #14602]
25269 * string/test-strstr.c (check2): New function.
25270 (test_main): Call check2.
25271
03759f47
L
25272 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25273 and bug-strchr1.
25274 * string/bug-strcasestr1.c (do_test): Moved to ...
25275 * string/test-strcasestr.c (check1): Here. New function.
25276 (do_one_test): Break out result checking code into ...
25277 (check_result): This. New function.
25278 (do_one_test): Call check_result.
25279 (test_main): Call check1.
25280 * string/bug-strchr1.c (do_test): Moved to ...
25281 * string/test-strchr.c (check1): Here. New function.
25282 (do_one_test): Break out result checking code into ...
25283 (check_result): This. New function.
25284 (do_one_test): Call check_result.
25285 (test_main): Call check1.
25286 * string/bug-strstr1.c (main): Moved to ...
046f153e 25287 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25288 (do_one_test): Break out result checking code into ...
25289 (check_result): This. New function.
25290 (do_one_test): Call check_result.
25291 (test_main): Call check1.
25292 * string/bug-strcasestr1.c: Removed.
25293 * string/bug-strchr1.c: Likewise.
25294 * string/bug-strstr1.c: Likewise.
25295
53cea63e
L
25296 * elf/Makefile (dl-routines): Add hwcaps.
25297 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25298 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25299 (_dl_important_hwcaps): Moved to ...
25300 * elf/dl-hwcaps.c: Here. New file.
25301 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25302
9cee5585 25303 [BZ #14557]
bb859b06
L
25304 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25305 if IS_IN_rtld isn't defined.
25306
9cee5585
L
25307 * elf/dl-support.c (_dl_sysinfo_map): New.
25308 Include "get-dynamic-info.h" and "setup-vdso.h".
25309 (_dl_non_dynamic_init): Call setup_vdso.
25310 * elf/dynamic-link.h: Don't include <assert.h>.
25311 (elf_get_dynamic_info): Moved to ...
25312 * elf/get-dynamic-info.h: Here. New file.
25313 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25314 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25315 * elf/setup-vdso.h: Here. New file.
25316 * elf/rtld.c: Include "setup-vdso.h".
25317 (dl_main): Call setup_vdso.
25318
23c31b76
JM
253192012-10-05 Joseph Myers <joseph@codesourcery.com>
25320
28234b07
JM
25321 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25322 creal in comment listing functions tested. List finite, isinf,
25323 isnan, isless, islessequal, isgreater, isgreaterequal,
25324 islessgreater, isunordered, lgamma_r and pow10 as functions and
25325 macros not tested. Mention which functions not tested are aliases
25326 for other functions. Fix typo. Note that signs of NaNs are not
25327 tested.
25328
23c31b76
JM
25329 * scripts/config.guess: Update from config.git.
25330 * scripts/config.sub: Likewise.
25331
9043e228
RM
253322012-10-04 Roland McGrath <roland@hack.frob.com>
25333
25334 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25335 * misc/madvise.c (madvise): Renamed to __madvise.
25336 Make madvise a weak alias.
25337 * include/sys/mman.h: Declare __madvise.
25338 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25339 * sysdeps/unix/syscalls.list
25340 (madvise): Make __madvise the strong name, and madvise a weak alias.
25341 * sysdeps/unix/sysv/linux/syscalls.list
25342 (madvise, mmap): Remove redundant entries.
25343 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25344 * malloc/malloc.c (mtrim): Likewise.
25345 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25346
f57f8055
RM
253472012-10-03 Roland McGrath <roland@hack.frob.com>
25348
25349 * sysdeps/mach/hurd/dl-cache.c: File removed.
25350 * config.h.in (USE_LDCONFIG): New #undef.
25351 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25352 * configure: Regenerated.
25353 * elf/Makefile (dl-routines): Add dl-cache only under
25354 [$(use-ldconfig) = yes].
25355 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25356 cache on [USE_LDCONFIG].
25357 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25358 [USE_LDCONFIG].
25359 * elf/rtld.c (dl_main): Likewise.
25360
5bb0c10a
PT
253612012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25362
25363 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25364 _SC_LEVEL4_CACHE_LINESIZE.
25365
010188c6
RM
253662012-10-03 Roland McGrath <roland@hack.frob.com>
25367
25368 * sysdeps/unix/bsd/confstr.h: File removed.
25369
b6c5ec07
AO
253702012-10-02 Alexandre Oliva <aoliva@redhat.com>
25371
25372 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25373 sys/sdt-config.h.
25374
408223d4
RM
253752012-10-02 Roland McGrath <roland@hack.frob.com>
25376
25377 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25378 Make 'mapoff' field ElfW(Off) rather than off_t.
25379
bb9510dc
DL
253802012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25381
fc997c6e
DL
25382 * nscd/Makefile: Remove nscd-cflags and all its users.
25383 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25384 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25385
bb9510dc
DL
25386 [BZ #10631]
25387 * malloc.c (malloc_printerr): Clarify error message.
25388
05699367
L
253892012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25390
25391 [BZ #14648]
25392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25393 Set bit_FMA_Usable if FMA is supported.
25394 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25395 macro.
25396 (bit_FMA4_Usable): Updated.
25397 (index_FMA_Usable): New macro.
25398 (CPUID_FMA): Likewise
25399 (HAS_FMA): Defined with bit_FMA_Usable.
25400
51367701
RM
254012012-10-01 Roland McGrath <roland@hack.frob.com>
25402
25403 * bits/types.h (__swblk_t): Type removed.
25404 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25405 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25407 (__SWBLK_T_TYPE): Likewise.
25408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25409 (__SWBLK_T_TYPE): Likewise.
25410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25411 (__SWBLK_T_TYPE): Likewise.
25412 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25413 (__SWBLK_T_TYPE): Likewise.
25414
4d57bf63 254152012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25416 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25417
25418 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25419 (xdr_mapname): Use YPMAXMAP as maxsize.
25420 (xdr_peername): Use YPMAXPEER as maxsize.
25421 (xdr_keydat): Use YPAXRECORD as maxsize.
25422 (xdr_valdat): Use YPMAXRECORD as maxsize.
25423
93c65d43
RM
254242012-10-01 Roland McGrath <roland@hack.frob.com>
25425
497a03d6
RM
25426 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25427
93c65d43
RM
25428 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25429 * csu/init-first.c: ... here.
25430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25431 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25434 * sysdeps/i386/init-first.c: File removed.
25435 * sysdeps/sh/init-first.c: File removed.
25436
bec749fd
JM
254372012-10-01 Joseph Myers <joseph@codesourcery.com>
25438
25439 [BZ #14645]
25440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25441 if x * y might underflow to zero and z is zero.
25442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25444 * math/libm-test.inc (min_subnorm_value): New variable.
25445 (fma_test): Add more tests.
25446 (fma_test_towardzero): Likewise.
25447 (fma_test_downward): Likewise
25448 (fma_test_upward): Likewise.
25449 (initialize): Set min_subnorm_value.
25450
8ec5b013
JM
254512012-09-29 Joseph Myers <joseph@codesourcery.com>
25452
25453 [BZ #14638]
25454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25455 0 + 0.
25456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25457 mode for addition resulting in exact zero.
25458 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25460 exact 0 + 0.
25461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25463 * math/libm-test.inc (fma_test): Add more tests.
25464 (fma_test_towardzero): New function.
25465 (fma_test_downward): Likewise.
25466 (fma_test_upward): Likewise.
25467 (main): Call the new functions.
25468
b1fa802e
DM
254692012-09-28 David S. Miller <davem@davemloft.net>
25470
25471 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25472
d3b9fd9e
RM
254732012-09-28 Roland McGrath <roland@hack.frob.com>
25474
ea4d37b3
RM
25475 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25476 instead of SIGALRM.
25477
ac51c949
RM
25478 * sysdeps/gnu/_G_config.h: Moved to ...
25479 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25480 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25481 * sysdeps/generic/_G_config.h: ... here.
25482
28c195f7
RM
25483 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25484
848917f9
RM
25485 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25486
6bacf05b
RM
25487 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25488 Conditionalize target on [libnss_test1.so-version].
25489
91363dbb
RM
25490 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25491
cc87f7d8
RM
25492 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25493 (elfobjdir): Move out of conditionals.
25494
b1c608fe
RM
25495 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25496 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25497 (__nss_lookup_function): Conditionalize label remove_from_tree on
25498 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25499
1d9a6d96
DM
255002012-09-28 David S. Miller <davem@davemloft.net>
25501
25502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25503 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25504 file.
25505 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25506 sysdep_routines.
25507 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25509 when HWCAP_SPARC_CRYPTO is present.
25510
72581615
PT
255112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25512
25513 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25514
715a900c
JL
255152012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25516
25517 [BZ #6530]
25518 * stdio-common/vfprintf.c (process_string_arg): Revert
25519 2000-07-22 change.
25520
255212011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25522
25523 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25524 for testcase.
25525 * stdio-common/tst-sprintf.c: Include <locale.h>
25526 (main): Test sprintf's handling of incomplete multibyte
25527 characters.
25528
9bac1d86
L
255292012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 * elf/dl-runtime.c (VERSYMIDX): Removed.
25532 * elf/dl-version.c (VERSYMIDX): Likewise.
25533 * elf/do-rel.h (VERSYMIDX): Likewise.
25534 (VALIDX): Likewise.
25535 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25536 * elf/rtld.c (VALIDX): Likewise.
25537 (ADDRIDX): Likewise.
9bac1d86
L
25538 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25539 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25540 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25541 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25542 (VALIDX): Likewise.
25543 (ADDRIDX): Likewise.
9bac1d86 25544
b31606c0
PT
255452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25546
25547 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25548
11541177
JL
255492012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25550
25551 [BZ #11438]
25552 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25553 to global scope.
25554 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25555 addresses are in the same scope as 192.0.2/24.
25556 * posix/gai.conf: Document new scope table defaults.
25557
adb26fae
SP
255582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25559
25560 [BZ #5298]
25561 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25562 for ftell. Compute offsets from write pointers instead.
25563 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25564
4573c6b0
SP
255652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25566
25567 [BZ #14543]
25568 * libio/Makefile (tests): New test case tst-fseek.
25569 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25570 combination works in wide mode.
25571 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25572 state when the external buffer state changes.
25573
aa9bbfe6
DM
255742012-09-27 David S. Miller <davem@davemloft.net>
25575
25576 [BZ #14376]
25577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25578 pass reloc->r_addend in as the 'high' argument to
25579 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25580
784421e7
DM
25581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25582
c39bc8b8
PT
255832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25584
25585 * rt/tst-aio2.c: Include <pthread.h>.
25586 * rt/tst-aio3.c: Likewise.
25587
1ccc2399
SE
255882012-09-27 Steve Ellcey <sellcey@mips.com>
25589
25590 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25591
31ed4153
L
255922012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25593
25f5f885
L
25594 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25595 contents on [SHARED].
31ed4153 25596
b7bfe116
MP
255972012-09-26 Marek Polacek <polacek@redhat.com>
25598
25599 [BZ #14530]
25600 [BZ #13741]
25601 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25602 for C++ and GCC <4.3 as well as for non GCC compilers.
25603
43c4edba
MT
256042012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25605
25606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25607
6a1bf82f
RM
256082012-09-25 Roland McGrath <roland@hack.frob.com>
25609
25610 * Makefile.in (all, install): Declare with .PHONY.
25611 Reported by Michael Hope <michael.hope@linaro.org>.
25612
8ad11b9a
TMQMF
256132012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25614
25615 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25616 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25617 system header.
25618 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25619 Likewise.
25620 (sydep_routines): Add the new and the internal functions.
25621 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25622 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25624 (GLIBC_2.17): Add the new function.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25626 (GLIBC_2.17): Likewise.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25628 (GLIBC_2.17): Likewise.
25629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25630 (GLIBC_2.17): Likewise.
25631 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25632
7e2fca8d
AM
256332012-09-25 Alan Modra <amodra@gmail.com>
25634
25635 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25636 Add release barrier before setting once_control to say
25637 initialisation is done. Add hints on lwarx. Use macro in
25638 place of isync.
25639 (clear_once_control): Add release barrier.
25640
b87c4b24
JM
256412012-09-25 Joseph Myers <joseph@codesourcery.com>
25642
d032e0d2
JM
25643 [BZ #13629]
25644 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25645 specially.
25646 * math/s_clog10.c (__clog10): Likewise.
25647 * math/s_clog10f.c (__clog10f): Likewise.
25648 * math/s_clog10l.c (__clog10l): Likewise.
25649 * math/s_clogf.c (__clogf): Likewise.
25650 * math/s_clogl.c (__clogl): Likewise.
25651 * math/Makefile (libm-calls): Add x2y2m1.
25652 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25653 (__x2y2m1): Likewise.
25654 (__x2y2m1l): Likewise.
25655 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25656 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25659 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25660 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25661 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25662 * sysdeps/i386/fpu/libm-test-ulps: Update.
25663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664
b87c4b24
JM
25665 [BZ #14621]
25666 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25667 int as type of variable DEPTH.
25668 (glob): Use size_t instead of int as type of variables NEWCOUNT
25669 and OLD_PATHC.
25670
6d3bf199
LD
256712012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25672
22bf5c17
LD
25673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25674 Add s_sincosf-sse2.
25675 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25676 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25677 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25678 macros for using routine as __sincosf_ia32.
25679 Use macro for function declaration and weak_alias.
25680 * sysdeps/i386/fpu/libm-test-ulps: Update.
25681
25682 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25684
25685 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25686 subnormal argument.
25687 * math/s_cexpf.c (__cexpf): Likewise.
25688 * math/s_csinf.c (__csinf): Likewise.
25689 * math/s_csinhf.c (__csinhf): Likewise.
25690 * math/s_ctanf.c (__ctanf): Likewise.
25691 * math/s_ctanhf.c (__ctanhf): Likewise.
25692 * math/s_ccosh.c (__ccoshf): Likewise.
25693 * math/s_cexp.c (__cexpl): Likewise.
25694 * math/s_csin.c (__csin): Likewise.
25695 * math/s_csinh.c (__csinh): Likewise.
25696 * math/s_ctan.c (__ctan): Likewise.
25697 * math/s_ctanh.c (ctanh): Likewise.
25698 * math/s_ccoshl.c (__ccoshl): Likewise.
25699 * math/s_cexpl.c (__cexpl): Likewise.
25700 * math/s_csinl.c (__csinl): Likewise.
25701 * math/s_csinhl.c (__csinhl): Likewise.
25702 * math/s_ctanl.c (__ctanl): Likewise.
25703 * math/s_ctanhl.c (__ctanhl): Likewise.
25704
203e5603
JM
257052012-09-25 Joseph Myers <joseph@codesourcery.com>
25706
25707 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25708 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25709 (_IO_off_t): Define to __off_t, not _G_off_t.
25710 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25711 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25712 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25713 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25714 type of __dummy and __dummy2 fields.
25715 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25716 (_G_ssize_t): Likewise.
25717 (_G_off_t): Likewise.
25718 (_G_pid_t): Likewise.
25719 (_G_uid_t): Likewise.
25720 (_G_wchar_t): Likewise.
25721 (_G_wint_t): Likewise.
25722 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25723 (_G_ssize_t): Likewise.
25724 (_G_off_t): Likewise.
25725 (_G_pid_t): Likewise.
25726 (_G_uid_t): Likewise.
25727 (_G_wchar_t): Likewise.
25728 (_G_wint_t): Likewise.
25729 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25730 (_G_ssize_t): Likewise.
25731 (_G_off_t): Likewise.
25732 (_G_pid_t): Likewise.
25733 (_G_uid_t): Likewise.
25734 (_G_wchar_t): Likewise.
25735 (_G_wint_t): Likewise.
25736
9fab36eb
SP
257372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25738
25739 * malloc/arena.c: Include malloc-sysdep.h.
25740 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25741 is sufficient to shrink the heap or an unmap is needed.
25742 * sysdeps/generic/malloc-sysdep.h: New file. Define
25743 new function check_may_shrink_heap.
25744 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25745 new function check_may_shrink_heap.
25746
2b4f00d1
SP
257472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25748
25749 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25750 comments.
25751
9a9028b1
DL
257522012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25753
57c69bef
DL
25754 * catgets/test-gencat.sh: Add "set -e".
25755 * elf/tst-pathopt.sh: Likewise.
25756 * grp/tst_fgetgrent.sh: Likewise.
25757 * iconvdata/run-iconv-test.sh: Likewise.
25758 * intl/tst-gettext.sh: Likewise.
25759 * intl/tst-gettext2.sh: Likewise.
25760 * intl/tst-gettext4.sh: Likewise.
25761 * intl/tst-gettext6.sh: Likewise.
25762 * intl/tst-translit.sh: Likewise.
25763 * io/ftwtest-sh: Likewise.
25764 * libio/test-freopen.sh: Likewise.
25765 * malloc/tst-mtrace.sh: Likewise.
25766 * posix/globtest.sh: Likewise.
25767 * posix/tst-getconf.sh: Likewise.
25768 * posix/wordexp-tst.sh: Likewise.
25769 * stdio-common/tst-printf.sh: Likewise.
25770 * stdio-common/tst-unbputc.sh: Likewise.
25771 * stdlib/tst-fmtmsg.sh: Likewise.
25772 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25773 * catgets/Makefile: Do not specify -e option when running
25774 testsuite shell scripts.
25775 * elf/Makefile: Likewise.
25776 * grp/Makefile: Likewise.
25777 * iconvdata/Makefile: Likewise.
25778 * intl/Makefile: Likewise.
25779 * io/Makefile: Likewise.
25780 * libio/Makefile: Likewise.
25781 * malloc/Makefile: Likewise.
25782 * posix/Makefile: Likewise.
25783 * stdio-common/Makefile: Likewise.
25784 * stdlib/Makefile: Likewise.
25785 * sysdeps/x86_64/Makefile: Likewise.
25786
9a9028b1
DL
25787 * io/ftwtest-sh: Add copyright header.
25788 * posix/globtest.sh: Likewise.
25789 * posix/tst-getconf.sh: Likewise.
25790 * posix/wordexp-tst.sh: Likewise.
25791 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25792
ced6f16e
L
257932012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25794
94b32c39
L
25795 [BZ #13679]
25796 * Makeconfig (+link): Defined as $(+link-static) if
25797 $(build-shared) isn't yes.
25798 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25799 isn't yes.
25800 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25801
189e935b
L
25802 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25803
ced6f16e
L
25804 [BZ #14562]
25805 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25806 new chunk size with MALLOC_ALIGN_MASK.
25807
a9f8e53a
JM
258082012-09-24 Joseph Myers <joseph@codesourcery.com>
25809
25810 [BZ #5044]
25811 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25812 <rounding-mode.h>.
25813 (__printf_fphex): Determine rounding using get_rounding_mode and
25814 round_away.
25815 * stdio-common/tst-printf-round.c (struct hex_test): New
25816 structure.
25817 (hex_tests): New variable.
25818 (test_hex_in_one_mode): New function.
25819 (do_test): Also run tests for hex float output.
25820
43153109
JM
258212012-09-21 Joseph Myers <joseph@codesourcery.com>
25822
25823 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25824 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25825 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25826 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25827 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25828 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25829 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25830 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25831
8a26625d
JM
258322012-09-20 Joseph Myers <joseph@codesourcery.com>
25833
25834 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25835 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25836 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25837 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25838
f3fd569c
DL
258392012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25840
25841 [BZ #14579]
25842 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25843 mode only.
25844 * elf/tst-rtld-load-self.sh: New test.
25845 * elf/Makefile: Run it.
25846
63bbedd4
JM
258472012-09-18 Joseph Myers <joseph@codesourcery.com>
25848
25849 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25850 (tst-writev-ENV): Remove.
25851 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25852
626f8b6a
CM
258532012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25854
25855 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25856
b7aaa4d6
JM
258572012-09-17 Joseph Myers <joseph@codesourcery.com>
25858
25859 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25860 unconditional.
25861 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25862 Likewise.
25863 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25864 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25866 Likewise.
25867
65513990
L
258682012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25869
25870 [BZ #14587]
25871 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25872 * config.make.in (have-cpp-asm-debuginfo): Removed.
25873 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25874 * configure: Regenerated.
25875
784761be
JM
258762012-09-14 Joseph Myers <joseph@codesourcery.com>
25877
25878 [BZ #5044]
25879 * stdio-common/printf_fp.c: Include <stdbool.h> and
25880 <rounding-mode.h>.
25881 (___printf_fp): Determine rounding using get_rounding_mode and
25882 round_away.
25883 * stdio-common/tst-printf-round.c: New file.
25884 * stdio-common/Makefile (tests): Add tst-printf-round.
25885 (link-libm): New variable.
25886 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25887
9503345f
L
258882012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25889
25890 [BZ #14576]
25891 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25892 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25893 Likewise.
25894 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25895 Likewise.
25896
ad35fc00
JM
258972012-09-13 Joseph Myers <joseph@codesourcery.com>
25898
25899 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25900 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25901 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25902 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25903
6c9b0f68
JM
259042012-09-12 Joseph Myers <joseph@codesourcery.com>
25905
25906 [BZ #14518]
25907 * include/rounding-mode.h: New file.
25908 * sysdeps/generic/get-rounding-mode.h: Likewise.
25909 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25910 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25911 (MAX_VALUE): New macro.
25912 (MIN_VALUE): Likewise.
25913 (overflow_value): New function.
25914 (underflow_value): Likewise.
25915 (round_and_return): Use overflow_value and underflow_value to
25916 determine return values in overflow and underflow cases. Use
25917 round_away to determine rounding depending on rounding mode.
25918 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25919 determine return values in overflow and underflow cases.
25920 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25921 (struct test_results): New structure.
25922 (struct test): Use struct test_results to store expected results
25923 for all rounding modes.
25924 (TEST): Include expected results for all rounding modes.
25925 (test_in_one_mode): New function.
25926 (do_test): Use test_in_one_mode to compute and check results.
25927 Check results for all rounding modes.
25928 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25929 $(link-libm).
25930
19fcedd5
AM
259312012-12-09 Allan McRae <allan@archlinux.org>
25932
1e9d84cd 25933 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25934
8bbfd2f1
JM
259352012-09-11 Joseph Myers <joseph@codesourcery.com>
25936
25937 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25938 (_G_int32_t): Likewise.
25939 (_G_uint16_t): Likewise.
25940 (_G_uint32_t): Likewise.
25941 (_G_HAVE_BOOL): Likewise.
25942 (_G_HAVE_ATEXIT): Likewise.
25943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25944 (_G_HAVE_IO_FILE_OPEN): Likewise.
25945 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25946 (_G_int32_t): Likewise.
25947 (_G_uint16_t): Likewise.
25948 (_G_uint32_t): Likewise.
25949 (_G_HAVE_BOOL): Likewise.
25950 (_G_HAVE_ATEXIT): Likewise.
25951 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25952 (_G_HAVE_IO_FILE_OPEN): Likewise.
25953 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25954 (_G_int32_t): Likewise.
25955 (_G_uint16_t): Likewise.
25956 (_G_uint32_t): Likewise.
25957 (_G_HAVE_BOOL): Likewise.
25958 (_G_HAVE_ATEXIT): Likewise.
25959 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25960 (_G_HAVE_IO_FILE_OPEN): Likewise.
25961
b1dc5912
L
259622012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 * csu/libc-tls.c: Update copyright years.
25965
0e886ef9
JM
259662012-09-10 Joseph Myers <joseph@codesourcery.com>
25967
28361c5e
JM
25968 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25969 [!_G_USING_THUNKS]: Remove conditional code.
25970 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25971 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25972
0e886ef9
JM
25973 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25974 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25975 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25976 (_G_VTABLE_LABEL_PREFIX): Likewise.
25977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25978 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25979 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25980 (_G_VTABLE_LABEL_PREFIX): Likewise.
25981 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25982 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25984 (_G_VTABLE_LABEL_PREFIX): Likewise.
25985 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25986
bcba7aa2
L
259872012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25988
25989 * libio/Makefile: Include ../Makeconfig before tests.
25990 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25991 only if $(build-shared) is yes.
25992
06585ee8
L
25993 * iconv/gconv_db.c: Update copyright years.
25994
80ccd52c
LD
259952012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25996
25997 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25998 unwind info if defined PIC. Fix special cases description.
25999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26000
26001 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26002 DP_HI_MASK entry.
26003 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26004
691bc9c1
L
260052012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26006
3d9b46b3
L
26007 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26008
de2139a9
L
26009 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26010 is NULL.
26011
5ca78dd0
L
26012 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26013 (LDLIBS-tst-chk4): This.
26014 (LDFLAGS-tst-chk5): Renamed to ...
26015 (LDLIBS-tst-chk5): This.
26016 (LDFLAGS-tst-chk6): Renamed to ...
26017 (LDLIBS-tst-chk6): This.
26018 (LDFLAGS-tst-lfschk4): Renamed to ...
26019 (LDLIBS-tst-lfschk4): This.
26020 (LDFLAGS-tst-lfschk5): Renamed to ...
26021 (LDLIBS-tst-lfschk5): This.
26022 (LDFLAGS-tst-lfschk6): Renamed to ...
26023 (LDLIBS-tst-lfschk6): This.
26024
691bc9c1
L
26025 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26026 on $(common-objpfx)soversions.mk.
26027
65cafb1c
JM
260282012-09-07 Joseph Myers <joseph@codesourcery.com>
26029
26030 [BZ #10014]
26031 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26032 example host name.
26033
c78ab094
SP
260342012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26035
26036 * malloc/arena.c (arena_get_retry): New function that gets
26037 another arena for the caller to try its request on.
26038 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26039 current arena cannot fulfill the request.
26040 (__libc_memalign): Likewise.
26041 (__libc_memalign): Likewise.
26042 (__libc_pvalloc): Likewise.
26043 (__libc_calloc): Likewise.
26044
01f49f59
JT
260452012-09-05 John Tobey <john.tobey@gmail.com>
26046
26047 [BZ #13542]
26048 * manual/arith.texi (Operations on Complex): Fix description
26049 of carg branch cut.
26050
4c23fed5
JM
260512012-09-06 Joseph Myers <joseph@codesourcery.com>
26052
1d3c8572
JM
26053 [BZ #10014]
26054 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26055 host name.
26056
4c23fed5
JM
26057 [BZ #10038]
26058 * manual/memory.texi (Memory): Make order of menu items match
26059 order of sections.
26060
04570aaa
L
260612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26062
26063 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26064 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26065 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26066
b80af2f4
L
260672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26068
26069 * csu/libc-tls.c (static_dtv): Renamed to ...
26070 (_dl_static_dtv): This. Make it global.
26071 (_dl_initial_dtv): Removed.
26072 (__libc_setup_tls): Updated.
26073 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26074 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26075 DL_INITIAL_DTV.
26076
2abe9f15
PM
260772012-09-06 Petr Machata <pmachata@redhat.com>
26078
26079 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26080 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26081 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26082 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26083
0948c3af
L
260842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26085
26086 [BZ #14545]
26087 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26088 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26089 freeing dtv[-1].
26090
a5055ad1
L
260912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 [BZ #14544]
26094 * Makeconfig (link-static-before-libc): Replace $(+prector)
26095 with $(+prectorT).
26096 (link-static-after-libc): Replace $(+postctor) with
26097 $(+postctorT).
26098 (link-bounded): Replace $(+prector)/$(+postctor) with
26099 $(+prectorT)/$(+postctorT).
26100 (+prectorT): New macro.
26101 (+postctorT): Likewise.
26102
ed8c2ecd
JM
261032012-09-06 Joseph Myers <joseph@codesourcery.com>
26104
26105 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26106 (round_str): Handle values above the maximum for IBM long double
26107 as inexact.
26108 * stdlib/tst-strtod-round.c (tests): Regenerated.
26109
14c996c8
AK
261102012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26111
26112 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26113 assembler flag.
26114 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26115 zarch_nohighgprs around the zarch optimized routines.
26116 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26117 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26119 for zarch.
26120
430d6ce6
DM
261212012-09-05 David S. Miller <davem@davemloft.net>
26122
26123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26124
57f41c40
AS
26125 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26126 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26127 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26128 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26129 entries.
26130
24d4e01b
AO
261312012-09-05 Alexandre Oliva <aoliva@redhat.com>
26132
26133 * malloc/arena.c: Fold copyright years.
26134 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26135
61d58174
AO
261362012-09-05 Alexandre Oliva <aoliva@redhat.com>
26137
26138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26139
20196a5e
AO
261402012-09-05 Alexandre Oliva <aoliva@redhat.com>
26141
26142 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26143
5c447383
AO
261442012-09-05 Alexandre Oliva <aoliva@redhat.com>
26145
26146 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26147 change internal state upon failure.
26148
fad64255
AO
261492012-09-05 Alexandre Oliva <aoliva@redhat.com>
26150
26151 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26152 * malloc/memusage.c (mmap): Likewise.
26153 (mmap64, mremap): Likewise. Adjust name in comment.
26154
1ffb8c90
SP
261552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26156
26157 * libio/fileops.c: Fix typos in comments.
26158 * libio/oldfileops.c: Likewise.
26159 * libio/wfileops.c: Likewise.
26160
6ef9cc37
SP
261612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26162
26163 [BZ #1349]
26164 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26165 (tst-malloc-usable-ENV): Set environment for test case.
26166 * malloc/hooks.c (malloc_check_get_size): New function to get
26167 requested size.
26168 * malloc/malloc.c (musable): Use malloc_check_get_size.
26169 * malloc/tst-malloc-usable.c: New test case.
26170
4d038ae3
AS
261712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26172
26173 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26174
c4e85184
AM
261752012-09-05 Allan McRae <allan@archlinux.org>
26176
b9dafc56 26177 [BZ #13966]
c4e85184
AM
26178 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26179 determine header location.
26180 * configure: Regenerated.
26181
e1343020
AS
261822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26183
26184 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26185 float format.
26186 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26187 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26188 format.
e1343020
AS
26189 (test): Regenerate.
26190
0a9f1987
DM
261912012-09-04 David S. Miller <davem@davemloft.net>
26192
26193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26195 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26196
29237804
FW
261972012-09-04 Florian Weimer <fweimer@redhat.com>
26198
26199 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26200 failures.
26201
edb3cb88
FW
26202 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26203
60160d83
JM
262042012-09-04 Joseph Myers <joseph@codesourcery.com>
26205
26206 [BZ #9914]
26207 * libio/iogetdelim.c: Include <limits.h>.
26208 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26209 + len + 1 would overflow.
26210
bcd6c8dc
AJ
262112012-09-03 Andreas Jaeger <aj@suse.de>
26212
26213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26214 * sysdeps/i386/fpu/libm-test-ulps: Update.
26215
4ffffbd2
LD
262162012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26217
26218 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26219 Add s_sinf-sse2, s_conf-sse2.
26220
26221 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26222 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26223 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26224 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26225
26226 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26227 for using routine as __sinf_ia32.
26228 Use macro for function declaration and weak_alias.
26229 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26230 for using routine as __cosf_ia32.
26231 Use macro for function declaration and weak_alias.
26232
26233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26234 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26235
26236 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26237 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26239
26240 * math/libm-test.inc (cos_test): Add more test cases.
26241 (sin_test): Likewise.
26242 (sincos_test): Likewise.
26243
511fa286
AK
262442012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26245
26246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26247 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26248 hidden.
26249 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26250
5f30cfec
L
262512012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26252
26253 [BZ #14538]
26254 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26255 first element of the GOT.
26256 (elf_machine_load_address): Return the difference between
26257 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26258
0786794f
AM
262592012-09-01 Allan McRae <allan@archlinux.org>
26260
5f30cfec
L
26261 [BZ #13412]
26262 * configure.in (AWK): Require gawk version 3.0 or later.
26263 * configure: Regenerated.
0786794f 26264
26889eac
JM
262652012-09-01 Joseph Myers <joseph@codesourcery.com>
26266
26267 * sysdeps/unix/sysv/linux/kernel-features.h
26268 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26270 [__NR_clock_getres]: Make code unconditional.
26271 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26272 (clock_getcpuclockid): Remove code left unreachable by removal of
26273 conditionals.
26274 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26275 code unconditional.
26276 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26278 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26279 Make code unconditional.
26280 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26281 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26282 * sysdeps/unix/sysv/linux/clock_settime.c
26283 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26284 conditional code.
26285 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26286 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26287
d22e28b0
L
262882012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 [BZ #14476]
26291 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26292 scripts/test-installation.pl.
26293
26294 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26295 and $ld_so_version if it is set.
26296
050af9c4
SP
262972012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26298
26299 [BZ #14516]
26300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26301 failure if reading from procfs failed.
26302 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26303
ad845c0b
JM
263042012-08-27 Joseph Myers <joseph@codesourcery.com>
26305
26306 * sysdeps/unix/sysv/linux/kernel-features.h
26307 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26308 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26309 Remove conditional code.
26310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26311 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26312 Remove conditional code.
26313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26314 * sysdeps/unix/sysv/linux/i386/fxstat.c
26315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26317 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26318 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26320 * sysdeps/unix/sysv/linux/i386/lxstat.c
26321 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26323 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26324 Remove conditional code.
26325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26326 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26327 Remove conditional code.
26328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26329 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26330 <kernel-features.h>.
26331 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26332 Remove.
26333 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26334 Remove conditional code.
26335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26336 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26337 Remove conditional.
26338
5dbf56af
MF
263392012-08-27 Mike Frysinger <vapier@gentoo.org>
26340
26341 [BZ #5400]
26342 * NEWS: Add fixed bug number.
26343
d6e70f43
JM
263442012-08-27 Joseph Myers <joseph@codesourcery.com>
26345
7efb4737
JM
26346 [BZ #14519]
26347 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26348 underflowing exponent in case of negative sign.
26349 * stdlib/tst-strtod-round-data: Add more tests.
26350 * stdlib/tst-strtod-round.c (tests): Regenerated.
26351
af92131a
JM
26352 [BZ #3479]
26353 * stdlib/strtod_l.c (NDIG): Remove.
26354 (HEXNDIG): Likewise.
26355 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26356 smallest representable value.
26357 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26358 lie within an exact representation of 1/2 ulp of the result.
26359 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26360 unconditionally.
26361 (TENS_P9_IDX): Define unconditionally.
26362 (TENS_P9_SIZE): Likewise.
26363 (TENS_P10_IDX): Likewise.
26364 (TENS_P10_SIZE): Likewise.
26365 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26366 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26367 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26368 entries for 10^2^13 and 10^2^14.
26369 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26370 (TENS_P13_IDX): Define.
26371 (TENS_P13_SIZE): Likewise.
26372 (TENS_P14_IDX): Likewise.
26373 (TENS_P14_SIZE): Likewise.
26374 (_fpioconst_pow10): Change array size to
26375 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26376 unconditional.
26377 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26378 1024]: Add entries for 10^2^13 and 10^2^14.
26379 [LAST_POW10 > _LAST_POW10]: Remove #error.
26380 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26381 (_fpioconst_pow10): Change array size to
26382 FPIOCONST_POW10_ARRAY_SIZE.
26383 * stdlib/gen-fpioconst.c: New file.
26384 * stdlib/gen-tst-strtod-round.c: Likewise.
26385 * stdlib/tst-strtod-round-data: Likewise.
26386 * stdlib/tst-strtod-round.c: Likewise.
26387 * stdlib/Makefile (tests): Add tst-strtod-round.
26388
d6e70f43
JM
26389 [BZ #14459]
26390 * stdlib/strtod_l.c: Include <stdint.h>.
26391 (NDEBUG): Do not define.
26392 (round_and_return): Change EXPONENT parameter to type intmax_t.
26393 Rearrange calculations to avoid internal overflow possibilities.
26394 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26395 Rearrange calculations to avoid internal overflow possibilities.
26396 Assert that number fits inside MPNSIZE limbs.
26397 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26398 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26399 calculations and add assertions to avoid internal overflow
26400 possibilities. Add casts to avoid signed/unsigned operations.
26401 * stdlib/tst-strtod-overflow.c: New file.
26402 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26403
1f529f7d
MP
264042012-08-25 Marek Polacek <polacek@redhat.com>
26405
26406 * time/time.h: Fix some typos in comments.
26407
59a629f1
RM
264082012-08-23 Roland McGrath <roland@hack.frob.com>
26409
26410 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26411 * posix/tst-rfc3484-2.c: Likewise.
26412 * posix/tst-rfc3484-3.c: Likewise.
26413
d3bafbc9
SM
264142012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26415
26416 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26417 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26418
4efcc022
JM
264192012-08-23 Joseph Myers <joseph@codesourcery.com>
26420
26421 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26422 #include of fxstatat64.c.
26423
3cc3ef96
RM
264242012-08-22 Roland McGrath <roland@hack.frob.com>
26425
f04e2132
RM
26426 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26427 * shadow/getspent_r.c: Likewise.
26428 * shadow/getspnam.c: Likewise.
26429 * shadow/getspnam_r.c: Likewise.
26430 * gshadow/getsgent.c: Likewise.
26431 * gshadow/getsgent_r.c: Likewise.
26432 * gshadow/getsgnam.c: Likewise.
26433 * gshadow/getsgnam_r.c: Likewise.
26434 * inet/getnetbyad.c: Likewise.
26435 * inet/getnetbyad_r.c: Likewise.
26436 * inet/getnetbynm.c: Likewise.
26437 * inet/getnetbynm_r.c: Likewise.
26438 * inet/getnetent.c: Likewise.
26439 * inet/getnetent_r.c: Likewise.
26440 * inet/getproto.c: Likewise.
26441 * inet/getproto_r.c: Likewise.
26442 * inet/getprtent.c: Likewise.
26443 * inet/getprtent_r.c: Likewise.
26444 * inet/getprtname.c: Likewise.
26445 * inet/getprtname_r.c: Likewise.
26446 * inet/getrpcbyname.c: Likewise.
26447 * inet/getrpcbyname_r.c: Likewise.
26448 * inet/getrpcbynumber.c: Likewise.
26449 * inet/getrpcbynumber_r.c: Likewise.
26450 * inet/getrpcent.c: Likewise.
26451 * inet/getrpcent_r.c: Likewise.
26452 * inet/getaliasent.c: Likewise.
26453 * inet/getaliasent_r.c: Likewise.
26454 * inet/getaliasname.c: Likewise.
26455 * inet/getaliasname_r.c: Likewise.
26456 * nscd/getgrgid_r.c: Likewise.
26457 * nscd/getgrnam_r.c: Likewise.
26458 * nscd/gethstbyad_r.c: Likewise.
26459 * nscd/gethstbynm3_r.c: Likewise.
26460 * nscd/getpwnam_r.c: Likewise.
26461 * nscd/getpwuid_r.c: Likewise.
26462 * nscd/getsrvbynm_r.c: Likewise.
26463 * nscd/getsrvbypt_r.c: Likewise.
26464 * nscd/gai.c: Likewise.
26465
c53d909c
RM
26466 * configure.in (build_nscd): New substituted variable, set
26467 by --disable-build-nscd and defaults to $use_nscd.
26468 * configure: Regenerated.
26469 * config.make.in (build-nscd): New substituted variable.
26470 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26471 Change conditional to require [$(build-nscd) = yes] as well.
26472 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26473
3cc3ef96
RM
26474 [BZ# 13696]
26475 * configure.in (use_nscd): New substituted variable, set by
26476 --disable-nscd. If enabled, define USE_NSCD.
26477 * configure: Regenerated.
26478 * config.h.in: Add USE_NSCD.
26479 * config.make.in (use-nscd): New substituted variable.
26480 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26481 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26482 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26483 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26484 (CFLAGS-getgrnam_r.c): Likewise.
26485 (CFLAGS-initgroups.c): Likewise.
26486 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26487 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26488 Variables removed.
26489 * inet/getnetgrent_r.c
26490 (nscd_setnetgrent): New function, broken out of ...
26491 (setnetgrent): ... here. Call it.
26492 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26493 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26494 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26495 * nscd/Makefile (routines, aux): Move definitions after include of
26496 Makeconfig. Conditionalize on [$(use-nscd) != no].
26497 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26498 Conditionalize on [USE_NSCD].
26499 (is_nscd, nscd_init_cb): Likewise.
26500 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26501 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26502 * nss/nss_db/db-init.c: Likewise.
26503 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26504 [USE_NSCD].
26505 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26506 (make_request): Use it.
26507 (cache_valid_p): New function.
26508 (__check_pf): Use it.
26509 * NEWS: Add item for --disable-nscd.
26510
07e51550
DL
265112012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26512
26513 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26514 to support sed >= 4.2.1-20-ga9bf076.
26515 * configure: Regenerated.
26516
35a5b08b
RM
265172012-08-22 Roland McGrath <roland@hack.frob.com>
26518
26519 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26520 Conditionalize whole body on [IREL].
26521
8479f23a
JL
265222012-08-22 Jeff Law <law@redhat.com>
26523
26524 [BZ #14505]
26525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26526 if the family is PF_UNSPEC.
26527
48da0b21
MF
265282012-08-22 Mike Frysinger <vapier@gentoo.org>
26529
26530 * Makerules (lib-version): Rename from V.
26531 (install-lib-nosubdir): Change V to lib-version.
26532
15d0da8c
WS
265332012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26534
26535 [BZ #14252]
26536 * powerpc32/power6/wcschr.c: New file.
26537 * powerpc32/power6/wcscpy.c: New file.
26538 * powerpc32/power6/wcsrchr.c: New file.
26539 * powerpc64/power6/wcschr.c: New file.
26540 * powerpc64/power6/wcscpy.c: New file.
26541 * powerpc64/power6/wcsrchr.c: New file.
26542
bcca0895
MK
265432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26544
26545 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26546 (two_way_short_needle): Use it.
5a4aaa33
RM
26547 * string/strstr.c (AVAILABLE1_USES_J): Define.
26548 * string/strcasestr.c: Likewise.
99677e57
MK
26549
26550 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26551 array references.
26552 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26553
400726de
MK
26554 [BZ #11607]
26555 * NEWS: Add an entry.
26556 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26557 define their defaults.
26558 (two_way_short_needle): Detect end-of-string on-the-fly.
26559 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26560 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26561 * string/bug-strcasestr1.c: New test.
26562 * string/Makefile: Run it.
26563
20a71f2c
MK
265642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26565
26566 [BZ #11607]
26567 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26568 the first character.
26569
21ad0558
RM
265702012-08-21 Roland McGrath <roland@hack.frob.com>
26571
26572 * csu/elf-init.c (__libc_csu_irel): Function removed.
26573 * csu/libc-start.c (apply_irel): New function.
26574 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26575
0e1d9911
JM
265762012-08-21 Joseph Myers <joseph@codesourcery.com>
26577
26578 * sysdeps/unix/sysv/linux/kernel-features.h
26579 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26580 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26581 <kernel-features.h>.
26582 [__NR_fadvise64_64]: Make code unconditional.
26583 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26584 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26585 !__NR_fadvise64_64)]: Likewise.
26586 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26587 !__NR_fadvise64_64))]: Likewise.
26588 [__NR_fadvise64]: Make code unconditional.
26589 [!__NR_fadvise64]: Remove conditional code.
26590 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26591 <kernel-features.h>.
26592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26593 unconditional.
26594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26595 conditional code.
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26597 not include <kernel-features.h>.
26598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26599 unconditional.
26600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26601 conditional code.
26602 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26603 include <kernel-features.h>.
26604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26605 unconditional.
26606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26607 conditional code.
26608
14a50c9d
WS
266092012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26610
26611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26612 slight instruction rearrangements per scrollpipe analysis.
26613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26614
c0f4faf0
RM
266152012-08-20 Roland McGrath <roland@hack.frob.com>
26616
696da859
RM
26617 * manual/syslog.texi (syslog; vsyslog, closelog):
26618 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26619 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26620
c0f4faf0
RM
26621 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26622 DSOCAPS to match condition on defining it.
26623
348363b2
JM
266242012-08-20 Joseph Myers <joseph@codesourcery.com>
26625
a35cbf28
JM
26626 * sysdeps/unix/sysv/linux/kernel-features.h
26627 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26632 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26633 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26635 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26636 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26637
445f7ecd
JM
26638 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26639 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26640
348363b2
JM
26641 * sysdeps/unix/sysv/linux/kernel-features.h
26642 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26643 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26644 unconditional.
26645 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26646 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26649 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26650 Make code unconditional.
26651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26652 (__mmap64) [!__NR_mmap2]: Likewise.
26653 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26654 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26655 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26656 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26657 [__NR_mmap2]: Make code unconditional.
26658 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26659 (__mmap64) [!__NR_mmap2]: Likewise.
26660
bc5bc0e5
AK
266612012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26662
26663 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26664
88d506de
AJ
266652012-08-18 Andreas Jaeger <aj@suse.de>
26666
26667 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26668
493387d2
MF
266692012-08-18 Mike Frysinger <vapier@gentoo.org>
26670
26671 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26672 * include/unistd.h (__have_sock_cloexec): Likewise.
26673 (__have_pipe2): Likewise.
26674 (__have_dup3): Likewise.
26675
a277af22
MF
266762012-08-18 Mike Frysinger <vapier@gentoo.org>
26677
26678 [BZ #9685]
26679 * include/unistd.h (__have_pipe2): Change define into an extern int.
26680 (__have_dup3): Likewise.
26681 * socket/have_sock_cloexec.c: Include fcntl.h.
26682 (__have_pipe2): New variable.
26683 (__have_dup3): Likewise.
26684
fdab8fd3
MF
266852012-08-17 Mike Frysinger <vapier@gentoo.org>
26686
26687 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26688
31035e80
MP
266892012-08-17 Marek Polacek <polacek@redhat.com>
26690
26691 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26692 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26693
3bd9e993
RM
266942012-08-17 Roland McGrath <roland@hack.frob.com>
26695
c91c505f
RM
26696 * configure.in: Add AC_SUBST for sysheaders.
26697 * configure: Regenerated.
26698 * config.make.in (sysheaders): New substituted variable.
26699
7c6f9d53
RM
26700 * sysdeps/unix/mkfifo.c: Moved ...
26701 * sysdeps/posix/mkfifo.c: ... here.
26702 * sysdeps/unix/mkfifoat.c: Moved ...
26703 * sysdeps/posix/mkfifoat.c: ... here.
26704
26705 * sysdeps/unix/utime.c: Moved ...
26706 * sysdeps/posix/utime.c: ... here.
26707
26708 * sysdeps/unix/time.c: Moved ...
26709 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26710 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26711 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26712
26713 * sysdeps/unix/nice.c: Moved ...
26714 * sysdeps/posix/nice.c: ... here.
26715
26716 * sysdeps/unix/alarm.c: Moved ...
26717 * sysdeps/posix/alarm.c: ... here.
26718
3bd9e993
RM
26719 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26720
d1f09384
JL
267212012-08-17 Jeff Law <law@redhat.com>
26722
26723 * intl/Makefile (codeset_mo): New variable.
26724 ($(codeset_mo)): New target.
26725 (tst-codeset.out): Depend on that. Remove explicit rule.
26726 (tst-gettext3.out, tst-gettext5.out): Likewise.
26727 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26728 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26729 * intl/tst-codeset.sh: Remove.
26730 * intl/tst-gettext3.sh: Likewise.
26731 * intl/tst-gettext5.sh: Likewise.
26732
2ae1ae5c
RM
267332012-08-17 Roland McGrath <roland@hack.frob.com>
26734
c31fdb83
RM
26735 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26736 * sysdeps/unix/syscalls.list: ... here.
26737
a0844057
RM
26738 * sysdeps/posix/getaddrinfo.c
26739 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26740 (gaiconf_init, gaiconf_reload): Use them.
26741 [!_STATBUF_ST_NSEC]
26742 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26743 Define using time_t rather than struct timespec.
26744
750c1f2a
RM
26745 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26746 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26747 Macros removed.
26748 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26749 [!NO_THREADS].
26750 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26751 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26752 Likewise.
26753
2ae1ae5c
RM
26754 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26755 __libc_cleanup_push argument.
26756
e66a42f5
RM
26757 * bits/param.h: New file.
26758 * misc/sys/param.h: New file.
26759 * include/sys/param.h: New file.
26760 * misc/Makefile (headers): Add bits/param.h.
26761 * sysdeps/generic/sys/param.h: File removed.
26762 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26763 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26764 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26765 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26766
b7c08a66
RM
26767 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26768 last change.
26769
b2e1c562
RM
26770 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26771 [_IO_MTSAFE_IO].
26772 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26773 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26774 New macros.
26775
c75ccd4c
RM
26776 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26777 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26778 rather than -D_IO_MTSAFE_IO conditionally.
26779 * stdio-common/Makefile (CPPFLAGS): Likewise.
26780 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26781 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26782 Use $(libio-mtsafe).
26783 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26784 of -D_IO_MTSAFE_IO.
26785 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26786 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26787 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26788 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26789 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26790 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26791 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26792 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26793 (CFLAGS-fread_u_chk.c): Likewise.
26794 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26795 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26796 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26797 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26798 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26799 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26800 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26801 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26802 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26803
26804 * libio/Makefile: Test [$(libc-reentrant) = yes]
26805 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26806
26807 * Makeconfig
26808 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26809 * sysdeps/pthread/configure: File removed.
26810 * sysdeps/pthread/Makeconfig: New file.
26811 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26812 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26813
d9195db8
GB
268142012-08-16 Gary Benson <gbenson@redhat.com>
26815
26816 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26817 unmapping the first object in a namespace.
26818
86466cd9
RM
268192012-08-16 Roland McGrath <roland@hack.frob.com>
26820
26821 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26822 (__internal_setnetgrent): ... this. Add internal_function to
26823 definition. Add libc_hidden_def.
26824 (setnetgrent): Update caller.
26825 (internal_endnetgrent): Renamed to ...
26826 (__internal_endnetgrent): ... this. Add internal_function to
26827 definition. Add libc_hidden_def.
26828 (endnetgrent): Update caller.
26829 (internal_getnetgrent_r): Renamed to ...
26830 (__internal_getnetgrent_r): ... this. Add internal_function to
26831 definition. Add libc_hidden_def.
26832 (__getnetgrent_r): Update caller.
26833 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26834
c3c8283c
JM
268352012-08-16 Joseph Myers <joseph@codesourcery.com>
26836
26837 * stdlib/longlong.h: Update from GCC.
26838
db1ee0a8
RM
268392012-08-16 Roland McGrath <roland@hack.frob.com>
26840
26841 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26842 on _QL, which is set by umul_ppmm but never used.
26843 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26844 variables, which are set by GMP macros but never used.
26845 * stdio-common/_itowa.c (_itowa): Likewise.
26846 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26847 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26848
30f69637
CD
268492012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26850
26851 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26852 struct La_sh_regs is not constant.
26853 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26854 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26855 and struct La_sparc64_regs are not constant.
26856
93a78ac4
JM
268572012-08-16 Joseph Myers <joseph@codesourcery.com>
26858
26859 * sysdeps/unix/sysv/linux/kernel-features.h
26860 (__ASSUME_POSIX_TIMERS): Remove.
26861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26863 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26864 Make code unconditional.
26865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26866 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26867 Make code unconditional.
26868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26869 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26870 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26872 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26873 Make code unconditional.
26874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26875 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26876 (__libc_missing_posix_timers): Remove.
26877
dd924cd7
RM
268782012-08-15 Roland McGrath <roland@hack.frob.com>
26879
4b4f2771
RM
26880 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26881 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26882
601c888b
RM
26883 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26884
176790a7
RM
26885 * elf/dl-sym.c: Include <stdlib.h>.
26886
329bc018
RM
26887 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26888 constants, which avoids warnings in 32-bit builds.
26889
e04e272d
RM
26890 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26891 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26892
952bf94a
RM
26893 * misc/lseek.c: File moved to ...
26894 * io/lseek.c: ... here.
26895
7c99b50a
RM
26896 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26897
dd924cd7
RM
26898 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26899 shifting LEN more than 31 bits at once.
26900
b3f479a8
LD
269012012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26902
26903 [BZ #14195]
8c4ae0d4
RM
26904 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26905 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26906 * string/test-strncasecmp.c (check1): Renamed to...
26907 (bz12205): ...this.
26908 (bz14195): Add new testcase for two empty input strings and N > 0.
26909 (test_main): Call new testcase, adapt for renamed function.
26910
9c55864e
AJ
269112012-08-15 Andreas Jaeger <aj@suse.de>
26912
26913 [BZ #14090]
26914 * crypt/md5test2.c: New test, based on test supplied by Serge
26915 Belyshev <belyshev@depni.sinp.msu.ru>.
26916 * crypt/Makefile (xtests): Add md5test-giant..
26917 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26918
02dcb6c5
PE
269192012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26920
26921 [BZ #14090]
26922 * crypt/md5.c (md5_process_block): Don't assume the buffer
26923 length is less than 2**32.
26924 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26925 length is less than 2**64.
26926
a3f95dcc
RM
269272012-08-15 Roland McGrath <roland@hack.frob.com>
26928
be75d758
RM
26929 * string/str-two-way.h: Include <sys/param.h>.
26930 (MAX): Macro removed.
26931
7312ca90
RM
26932 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26933 Move #define and #undef of memmove to just before and after
26934 including <string.h>.
26935
9a0a5486
RM
26936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26937 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26938 and after including <string.h>. Move declarations of
26939 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26940 to before #include "string/memmove.c".
26941
67cc348d
RM
26942 * include/dirent.h: Declare __getdirentries.
26943
a3f95dcc
RM
26944 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26945 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26946
ca98e171
MF
269472012-08-14 Mike Frysinger <vapier@gentoo.org>
26948
26949 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26950 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26951 * sysdeps/i386/configure: Regenerated.
26952 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26953 STABS_CURRENT_FILE, and STABS_FUN.
26954 (END): Remove call to STABS_FUN_END.
26955 (STABS_CURRENT_FILE1): Delete.
26956 (STABS_CURRENT_FILE): Likewise.
26957 (STABS_FUN): Likewise.
26958 (STABS_FUN_END): Likewise.
26959 (STABS_FUN2): Likewise.
26960 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26961 * sysdeps/x86_64/configure: Regenerated.
26962
5908bf46
RM
269632012-08-14 Roland McGrath <roland@hack.frob.com>
26964
26965 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26966 * elf/dl-lookup.c: Likewise.
5908bf46 26967
f2c05b9e
JM
269682012-08-14 Joseph Myers <joseph@codesourcery.com>
26969
26970 * sysdeps/unix/sysv/linux/kernel-features.h
26971 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26972 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26973 unconditionally.
26974 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26975 unconditionally.
26976 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26977 condition on __ASSUME_CLONE_THREAD_FLAGS.
26978
e11f5155
AJ
269792012-08-14 Andreas Jaeger <aj@suse.de>
26980
26981 * sysdeps/i386/fpu/libm-test-ulps: Update.
26982
51a9ba86
MK
269832012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26984
2fdd4f78
AJ
26985 * include/atomic.h (atomic_exchange_and_add): Split into ...
26986 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26987 New atomic macros.
51a9ba86 26988
ba6cba9e
MT
269892012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26990
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26992
42443a47
JL
269932012-08-13 Jeff Law <law@redhat.com>
26994
26995 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26996 null byte in the output string.
26997
121dce05
JM
269982012-08-10 Joseph Myers <joseph@codesourcery.com>
26999
27000 * sysdeps/unix/sysv/linux/kernel-features.h
27001 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27002 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27003 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27005 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27006 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27007 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27008
bf51f568
JL
270092012-08-09 Jeff Law <law@redhat.com>
27010
27011 [BZ #13939]
27012 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27013 When avoid_arena is set, don't retry in the that arena. Pick the
27014 next one, whatever it might be.
27015 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27016 (arena_lock): Pass in new parameter to arena_get2.
27017 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27018 arena_get2.
27019 (__libc_malloc): Unify retrying after main arena failure with
27020 __libc_memalign version.
27021 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27022
f85fa270
L
270232012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27024
27025 [BZ #14166]
27026 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27027 to __redirect_strstr.
27028 (__strstr_sse42): Use typeof __redirect_strstr.
27029 (__strstr_ia32): Likewise.
27030 (__libc_strstr): New prototype.
27031 (strstr): Renamed to ...
27032 (__libc_strstr): This.
27033 (strstr): New strong alias of __libc_strstr.
27034 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27035 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27036 __redirect_time.
27037 Include <time.h>.
27038 (__libc_time): New prototype.
27039 (time_ifunc): Replace time with __libc_time.
27040 (time): New strong alias and hidden definition of __libc_time.
27041 (__GI_time): Remove strong alias.
27042 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27043 Include <stddef.h>.
27044 (memmove): Redefined to __redirect_memmove.
27045 (__memmove_sse2): Use typeof __redirect_memmove.
27046 (__memmove_ssse3): Likewise.
27047 (__memmove_ssse3_back): Likewise.
27048 (__libc_memmove): New prototype.
27049 (memmove): Renamed to ...
27050 (__libc_memmove): This.
27051 (memmove): New strong alias of __libc_memmove.
27052
33b4a91e
MS
270532012-08-08 Mark Salter <msalter@redhat.com>
27054
27055 * elf/elf.h
27056 (R_MN10300_TLS_GD): Define.
27057 (R_MN10300_TLS_LD): Likewise.
27058 (R_MN10300_TLS_LDO): Likewise.
27059 (R_MN10300_TLS_GOTIE): Likewise.
27060 (R_MN10300_TLS_IE): Likewise.
27061 (R_MN10300_TLS_LE): Likewise.
27062 (R_MN10300_TLS_DTPMOD): Likewise.
27063 (R_MN10300_TLS_DTPOFF): Likewise.
27064 (R_MN10300_TLS_TPOFF): Likewise.
27065 (R_MN10300_SYM_DIFF): Likewise.
27066 (R_MN10300_ALIGN): Likewise.
27067 (R_MN10300_NUM): Update.
27068
b36137f1
JM
270692012-08-08 Joseph Myers <joseph@codesourcery.com>
27070
27071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27072 Remove.
27073
cdd915fd
RM
270742012-08-08 Roland McGrath <roland@hack.frob.com>
27075
a2433aac
RM
27076 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27077
cdd915fd
RM
27078 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27079 sysdeps/unix -> sysdeps/posix move.
27080 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27081
bf9b740a
AM
270822012-08-07 Allan McRae <allan@archlinux.org>
27083
27084 [BZ #14303]
27085 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27086 (SUNOS_CPP): Likewise.
27087 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27088 not found.
27089 (open_input): Call CPP using execvp.
27090
93df14ee
JM
270912012-08-07 Joseph Myers <joseph@codesourcery.com>
27092
27093 * sysdeps/unix/sysv/linux/kernel-features.h
27094 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27095 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27096 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27097 (__ASSUME_WAITID_SYSCALL): Likewise.
27098 * sysdeps/unix/sysv/linux/dl-execstack.c
27099 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27100 code unconditional.
27101 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27102 conditional code.
27103 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27104 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27105 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27106 code.
27107 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27108 unconditional.
27109 [__ASSUME_WAITID_SYSCALL]: Likewise.
27110 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27111
d34689de
RM
271122012-08-07 Roland McGrath <roland@hack.frob.com>
27113
a281decc
RM
27114 * sysdeps/unix/closedir.c: Renamed to ...
27115 * sysdeps/posix/closedir.c: ... here.
27116 * sysdeps/unix/dirfd.c: Renamed to ...
27117 * sysdeps/posix/dirfd.c: ... here.
27118 * sysdeps/unix/dirstream.h: Renamed to ...
27119 * sysdeps/posix/dirstream.h: ... here.
27120 * sysdeps/unix/fdopendir.c: Renamed to ...
27121 * sysdeps/posix/fdopendir.c: ... here.
27122 * sysdeps/unix/opendir.c: Renamed to ...
27123 * sysdeps/posix/opendir.c: ... here.
27124 * sysdeps/unix/readdir.c: Renamed to ...
27125 * sysdeps/posix/readdir.c: ... here.
27126 * sysdeps/unix/readdir_r.c: Renamed to ...
27127 * sysdeps/posix/readdir_r.c: ... here.
27128 * sysdeps/unix/rewinddir.c: Renamed to ...
27129 * sysdeps/posix/rewinddir.c: ... here.
27130 * sysdeps/unix/seekdir.c: Renamed to ...
27131 * sysdeps/posix/seekdir.c: ... here.
27132 * sysdeps/unix/telldir.c: Renamed to ...
27133 * sysdeps/posix/telldir.c: ... here.
27134 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27135 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27136 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27137 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27138
22895b47
RM
27139 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27140 * bits/fcntl.h: ... here.
27141
707a53b6
RM
27142 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27143 not 0.
27144 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27145 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27146 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27147 (struct flock): Move l_start, l_len to the beginning.
27148 Use __pid_t for l_pid.
27149 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27150 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27151 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27152 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27153 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27154 [__USE_LARGEFILE64] (struct flock64): New type.
27155 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27156
f0bd3e25
RM
27157 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27158 * bits/dirent.h: ... here.
27159
d34689de
RM
27160 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27161 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27162
6dad2c06
JM
271632012-08-07 Joseph Myers <joseph@codesourcery.com>
27164
27165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27166 Change from 2.6.0 to 2.6.16.
27167 * sysdeps/unix/sysv/linux/configure: Regenerated.
27168 * sysdeps/unix/sysv/linux/kernel-features.h
27169 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27170 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27171 version.
27172 (__ASSUME_UTIMES): Likewise.
27173 (__ASSUME_CLONE_STOPPED): Remove.
27174 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27175 architectures, not kernel version.
27176 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27177 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27178 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27179 (__ASSUME_WAITID_SYSCALL): Likewise.
27180 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27181 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27182 * README: State 2.6.16 as minimum Linux kernel version. Do not
27183 refer to older versions.
27184
03af9520
RM
271852012-08-06 Roland McGrath <roland@hack.frob.com>
27186
8e49df1d
RM
27187 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27188 Define alphasort64 as an alias.
27189 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27190 Define versionsort64 as an alias.
27191 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27192 Define scandir64 as an alias.
27193 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27194 Define scandirat64 as an alias.
27195 * dirent/alphasort64.c (alphasort64):
27196 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27197 * dirent/versionsort64.c: Likewise.
27198 * dirent/scandir64.c: Likewise.
27199 * dirent/scandirat64.c: Likewise.
27200 * sysdeps/wordsize-64/alphasort.c: File removed.
27201 * sysdeps/wordsize-64/alphasort64.c: File removed.
27202 * sysdeps/wordsize-64/scandir.c: File removed.
27203 * sysdeps/wordsize-64/scandir64.c: File removed.
27204 * sysdeps/wordsize-64/scandirat.c: File removed.
27205 * sysdeps/wordsize-64/scandirat64.c: File removed.
27206 * sysdeps/wordsize-64/versionsort.c: File removed.
27207 * sysdeps/wordsize-64/versionsort64.c: File removed.
27208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27215 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27216
27217 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27219 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27221 [defined __arch64__ || defined __sparcv9]
27222 (__INO_T_MATCHES_INO64_T): New macro.
27223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27224 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27225 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27226 * sysdeps/unix/sysv/linux/bits/dirent.h
27227 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27228 (_DIRENT_MATCHES_DIRENT64): New macro.
27229
03af9520
RM
27230 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27231 Define lockf64 as an alias.
27232 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27233 Define fseeko64 as an alias.
27234 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27235 Define ftello64 as an alias.
27236 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27237 Define _IO_fgetpos64 and fgetpos64 as aliases.
27238 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27239 Define _IO_fsetpos64 and fsetpos64 as aliases.
27240 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27241 Conditionalize body on this.
27242 * libio/fseeko64.c: Likewise.
27243 * libio/ftello64.c: Likewise.
27244 * libio/iofgetpos64.c: Likewise.
27245 * libio/iofsetpos64.c: Likewise.
27246 * sysdeps/wordsize-64/lockf.c: File removed.
27247 * sysdeps/wordsize-64/lockf64.c: File removed.
27248 * sysdeps/wordsize-64/fseeko.c: File removed.
27249 * sysdeps/wordsize-64/fseeko64.c: File removed.
27250 * sysdeps/wordsize-64/ftello.c: File removed.
27251 * sysdeps/wordsize-64/ftello64.c: File removed.
27252 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27253 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27254 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27255 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27256 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27257 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27258 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27260 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27265 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27266
27267 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27269 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27271 [defined __arch64__ || defined __sparcv9]
27272 (__OFF_T_MATCHES_OFF64_T): New macro.
27273 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27274 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27276 (__OFF_T_MATCHES_OFF64_T): New macro.
27277
c5757acd
L
272782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27279
27280 * stdlib/secure-getenv.c (__secure_getenv): Replace
27281 GLIBC_2_16 with GLIBC_2_17.
27282
3a31811e
L
272832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27284
27285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27287
faa2bccb
DM
272882012-08-03 David S. Miller <davem@davemloft.net>
27289
27290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27291
85fe1997
JM
272922012-08-03 Joseph Myers <joseph@codesourcery.com>
27293
27294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27295 Remove.
27296 (__ASSUME_CORRECT_SI_PID): Likewise.
27297 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27298 (__ASSUME_TMPFS_NAME): Likewise.
27299 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27300 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27301 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27302 (HAVE_AUX_SECURE): Make definition unconditional.
27303 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27304 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27305
4f75b7a0
RM
273062012-08-03 Roland McGrath <roland@hack.frob.com>
27307
27308 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27309 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27310 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27312 __eloop_threshold instead of SYMLOOP_MAX.
27313
27314 * sysdeps/generic/eloop-threshold.h: New file.
27315 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27316 of MAXSYMLINKS.
27317 * elf/chroot_canon.c (chroot_canon): Likewise.
27318
7aab07e4
JM
273192012-08-03 Joseph Myers <joseph@codesourcery.com>
27320
27321 [BZ #13717]
27322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27323 Change to 2.6.0 everywhere.
27324 * sysdeps/unix/sysv/linux/configure: Regenerated.
27325 * sysdeps/unix/sysv/linux/kernel-features.h
27326 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27327 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27328 kernel versions.
27329 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27330 (__ASSUME_FUTEX_REQUEUE): Remove.
27331 (__ASSUME_STATFS64): Define unconditionally.
27332 (__ASSUME_AT_SECURE): Likewise.
27333 (__ASSUME_CORRECT_SI_PID): Likewise.
27334 (__ASSUME_TGKILL): Define without depending on kernel version for
27335 i386.
27336 (__ASSUME_UTIMES): Likewise.
27337 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27338 kernel version.
27339 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27340 (__ASSUME_TMPFS_NAME): Likewise.
27341 * README: Update reference to Linux kernel versions.
27342
b67e9372
MP
273432012-08-02 Marek Polacek <polacek@redhat.com>
27344
1f529f7d 27345 [BZ# 14150]
b67e9372
MP
27346 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27347 libc_cv_asm_type_prefix with %.
27348 * configure: Regenerated.
d2441631
RM
27349 * include/libc-symbols.h: Remove comment about
27350 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27351 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27352 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27353 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27354 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27355 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27356 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27357 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27358 * elf/tst-unique2mod1.c: Likewise.
27359 * elf/tst-unique1mod2.c: Likewise.
27360 * elf/tst-unique1mod1.c: Likewise.
27361 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27362 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27363 Replace ASM_TYPE_DIRECTIVE with .type.
27364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27365 * sysdeps/i386/sysdep.h: Likewise.
27366 * sysdeps/x86_64/sysdep.h: Likewise.
27367 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27369 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27370 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27371 * sysdeps/powerpc/powerpc32/sysdep.h:
27372 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27374 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27375 * sysdeps/i386/fpu/e_powf.S: Likewise.
27376 * sysdeps/i386/fpu/e_expl.S: Likewise.
27377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27379 * sysdeps/i386/fpu/e_pow.S: Likewise.
27380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27384 * sysdeps/i386/fpu/e_log2.S: Likewise.
27385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27387 * sysdeps/i386/fpu/e_powl.S: Likewise.
27388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27390 * sysdeps/i386/fpu/e_logl.S: Likewise.
27391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27392 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27393 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27394 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27395 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27396 * sysdeps/i386/fpu/e_log.S: Likewise.
27397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27398 * sysdeps/i386/fpu/e_logf.S: Likewise.
27399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27401 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27402 * sysdeps/i386/fpu/e_log10.S: Likewise.
27403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27409 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27410 * sysdeps/i386/i686/strtok.S: Likewise.
27411 * sysdeps/i386/i386-mcount.S: Likewise.
27412 * sysdeps/i386/strtok.S: Likewise.
27413 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27414 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27416 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27417 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27422 * sysdeps/x86_64/_mcount.S: Likewise.
27423 * sysdeps/x86_64/strtok.S: Likewise.
27424 * sysdeps/sh/_mcount.S: Likewise.
27425
2747bf9a
RM
274262012-08-01 Roland McGrath <roland@hack.frob.com>
27427
27428 * libio/iofopen.c: Include <fcntl.h>.
27429 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27430 (_IO_fopen64, fopen64): Define as aliases.
27431 * libio/iofopen64.c: Include <fcntl.h>.
27432 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27433 Conditionalize body on this.
27434 * sysdeps/wordsize-64/iofopen.c: File removed.
27435 * sysdeps/wordsize-64/iofopen64.c: File removed.
27436
3fb791b8
MP
274372012-08-01 Marek Polacek <polacek@redhat.com>
27438
27439 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27440 Use dlfcn directly instead of a variable.
27441 (binfmt-subdir): Do not define.
27442 (dlfcn): Likewise.
27443
a9f1039f
JM
274442012-08-01 Joseph Myers <joseph@codesourcery.com>
27445
23bddc06
JM
27446 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27447 Remove all definitions.
27448 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27449 <kernel-features.h>.
27450 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27451 (miss_F_GETOWN_EX): Remove all definitions.
27452 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27453 macro definition.
27454 [!__ASSUME_FCNTL64]: Remove conditional code.
27455 [__ASSUME_FCNTL64]: Make code unconditional.
27456 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27457 <kernel-features.h>.
27458 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27459 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27460 (lockf64) [__NR_fcntl64]: Make code unconditional.
27461 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27462
a9f1039f
JM
27463 * sysdeps/unix/sysv/linux/kernel-features.h
27464 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27465 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27466 Make code unconditional.
27467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27470 [__NR_vfork]: Make code unconditional.
27471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27474 [__NR_vfork]: Make code unconditional.
27475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27477
09c0ee5f
RM
274782012-08-01 Roland McGrath <roland@hack.frob.com>
27479
48aec5b9
RM
27480 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27481 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27482
cd97c966
RM
27483 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27484 Define mkstemp64 as an alias.
3f55550c
RM
27485 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27486 Define mkstemps64 as an alias.
cd97c966
RM
27487 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27488 Define mkostemp64 as an alias.
b8625cfc
RM
27489 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27490 Define mkostemps64 as an alias.
cd97c966
RM
27491 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27492 Conditionalize body on this.
27493 * misc/mkostemp64.c: Likewise.
b8625cfc 27494 * misc/mkostemps64.c: Likewise.
3f55550c 27495 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27496 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27497 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27498 * sysdeps/wordsize-64/mkostemp.c: File removed.
27499 * sysdeps/wordsize-64/mkstemp.c: File removed.
27500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27501 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27503 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27504
09c0ee5f
RM
27505 [BZ #14138]
27506 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27508 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27509 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27510
27511 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27512 compat_symbol macros from <shlib-compat.h> rather than the underlying
27513 default_symbol_version and symbol_version macros, so that DEFAULT
27514 lines in shlib-versions are respected.
27515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27516
7e66ee51
FW
275172012-08-01 Florian Weimer <fweimer@redhat.com>
27518
27519 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27520 Declare with warn_unused_result.
27521 (setgid, setregid, setegid, setresgid): Likewise.
27522 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27523 Likewise.
27524 * WUR-REPORT: Remove set*id functions.
27525
d2a54255
PT
275262012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27527
27528 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27529
7ecdb005
RM
275302012-07-31 Roland McGrath <roland@hack.frob.com>
27531
b4180a5e 27532 [BZ #10191]
789bd351
RM
27533 * include/sys/socket.h (__libc_accept, __libc_accept4):
27534 Add attribute_hidden.
27535 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27536
40ce302d
RM
27537 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27538 use of PTR_MANGLE.
27539 * inet/getnetgrent_r.c (setup): Likewise.
27540
7ecdb005
RM
27541 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27542
e2eabb2c
DM
275432012-07-31 David S. Miller <davem@davemloft.net>
27544
27545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27546
d0419dbf
JM
275472012-07-31 Joseph Myers <joseph@codesourcery.com>
27548
27549 [BZ #13629]
27550 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27551 value between 1.0 and 2.0 and smaller part has absolute value less
27552 than 1.0.
27553 * math/s_clog10.c (__clog10): Likewise.
27554 * math/s_clog10f.c (__clog10f): Likewise.
27555 * math/s_clog10l.c (__clog10l): Likewise.
27556 * math/s_clogf.c (__clogf): Likewise.
27557 * math/s_clogl.c (__clogl): Likewise.
27558 * math/libm-test.inc (clog_test): Add more tests.
27559 (clog10_test): Likewise.
27560 * sysdeps/i386/fpu/libm-test-ulps: Update.
27561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27562
2bc13872
FW
275632012-07-31 Florian Weimer <fweimer@redhat.com>
27564
27565 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27566 Exit with zero in case no suitable GID is found, and write a
27567 message to standard error.
27568
bea9b193
RM
275692012-07-30 Roland McGrath <roland@hack.frob.com>
27570
27571 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27572 rather than to 1.
27573 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27574 (MAXPATHLEN): Removed.
27575 (NOGROUP, NODEV): New macros.
27576 (setbit, clrbit, isset, isclr): New macros.
27577 (howmany, roundup, powerof2): New macros.
27578 (DEV_BSIZE): New macro.
27579
27580 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27581 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27582
27583 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27584 definition on [!__NO_LONG_DOUBLE_MATH].
27585
27586 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27587 PTR_MANGLE and PTR_DEMANGLE.
27588
27589 * socket/accept4.c (accept4): Rename to __libc_accept4.
27590 Define accept4 as a weak alias.
27591
27592 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27593 on [_DIRENT_HAVE_D_TYPE].
27594 * io/ftw.c (ftw_dir): Likewise.
27595
27596 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27597
27598 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27599
27600 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27601 Use the BSD numbers rather than the arbitrary ones we had.
27602 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27603 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27604 (SIGXCPU, SIGXFSZ): New macros.
27605 (_NSIG): Now 32.
27606
27607 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27608 initializer on [_LIBC_REENTRANT].
27609
27610 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27611 definitions inside [_POSIX_MAPPED_FILES].
27612
27613 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27614
27615 * dirent/opendir.c: Include <fcntl.h>.
27616
27617 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27618 (__libc_getspecific): Likewise.
27619 (__libc_key_create): Likewise.
27620
27621 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27622 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27623 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27624 (tmpfile64): Define as alias.
27625 * sysdeps/wordsize-64/tmpfile.c: File removed.
27626 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27627 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27628 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27629
27630 * stdio-common/vfscanf.c: Include <stdbool.h>.
27631 * nss/makedb.c: Likewise.
27632 * stdio-common/_i18n_number.h: Likewise.
27633 * argp/argp-help.c: Likewise.
27634 * posix/wordexp.c: Likewise.
27635 * sysdeps/posix/spawni.c: Likewise.
27636 * nss/nss_files/files-initgroups.c: Likewise.
27637 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27638 * nss/nss_files/files-initgroups.c: Likewise.
27639 * nss/nss_db/db-netgrp.c: Likewise.
27640 * nss/nss_db/db-initgroups.c: Likewise.
27641 * io/fchmodat.c: Include <sys/stat.h>.
27642
27643 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27644 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27645
27646 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27647 [HAVE_MMAP].
27648
27649 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27650 Add multiple inclusion protection.
27651
e5abc686
DM
276522012-07-27 David S. Miller <davem@davemloft.net>
27653
27654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27655
815e6fa3
GB
276562012-07-27 Gary Benson <gbenson@redhat.com>
27657
27658 [BZ #14298]
27659 * elf/rtld.c: Include <stap-probe.h>.
27660 (dl_main): Added static probes "init_start" and "init_complete".
27661 * elf/dl-load.c: Include <stap-probe.h>.
27662 (lose): Take new parameter "nsid".
27663 Added static probe "map_failed".
27664 (_dl_map_object_from_fd): Pass namespace id to lose.
27665 Added static probe "map_start".
27666 (open_verify): Pass namespace id to lose.
27667 * elf/dl-open.c: Include <stap-probe.h>.
27668 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27669 and "reloc_complete".
27670 * elf/dl-close.c: Include <stap-probe.h>.
27671 (_dl_close_worker): Added static probes "unmap_start" and
27672 "unmap_complete".
27673 * elf/rtld-debugger-interface.txt: New file documenting the above.
27674
9f98c16c
RM
276752012-07-26 Roland McGrath <roland@hack.frob.com>
27676
27677 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27678 rather than a string variable.
27679 * sunrpc/rpc_main.c (h_output): Likewise.
27680 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27681
f3c22df3
PT
276822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27683
27684 * inet/check_native.c: New file.
27685
3129cfc6
JM
276862012-07-26 Joseph Myers <joseph@codesourcery.com>
27687
da865e95
JM
27688 [BZ #13629]
27689 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27690 if larger part has absolute value 1.0.
27691 * math/s_clog10.c (__clog10): Likewise.
27692 * math/s_clog10f.c (__clog10f): Likewise.
27693 * math/s_clog10l.c (__clog10l): Likewise.
27694 * math/s_clogf.c (__clogf): Likewise.
27695 * math/s_clogl.c (__clogl): Likewise.
27696 * math/libm-test.inc (clog_test): Add more tests.
27697 (clog10_test): Likewise.
27698 * sysdeps/i386/fpu/libm-test-ulps: Update.
27699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27700
3129cfc6
JM
27701 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27702 (pltexit): Likewise.
27703 (La_regs): Likewise.
27704 (La_retval): Likewise.
27705 (int_retval): Likewise.
27706 Update #error for removed macros to refer only to definitions in
27707 tst-audit.h.
27708 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27709 macro.
27710 (pltexit): Likewise.
27711 (La_regs): Likewise.
27712 (La_retval): Likewise.
27713 (int_retval): Likewise.
27714 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27715 macro.
27716 (pltexit): Likewise.
27717 (La_regs): Likewise.
27718 (La_retval): Likewise.
27719 (int_retval): Likewise.
27720 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27721 macro.
27722 (pltexit): Likewise.
27723 (La_regs): Likewise.
27724 (La_retval): Likewise.
27725 (int_retval): Likewise.
27726 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27727 macro.
27728 (pltexit): Likewise.
27729 (La_regs): Likewise.
27730 (La_retval): Likewise.
27731 (int_retval): Likewise.
27732 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27733 macro.
27734 (pltexit): Likewise.
27735 (La_regs): Likewise.
27736 (La_retval): Likewise.
27737 (int_retval): Likewise.
27738 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27739 macro.
27740 (pltexit): Likewise.
27741 (La_regs): Likewise.
27742 (La_retval): Likewise.
27743 (int_retval): Likewise.
27744 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27745 macro definitions in tst-audit.h.
27746 * sysdeps/i386/tst-audit.h: New file.
27747 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27748 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27749 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27750 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27751 * sysdeps/sh/tst-audit.h: Likewise.
27752 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27753 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27754 * sysdeps/x86_64/tst-audit.h: Likewise.
27755
bfc07087
AJ
277562012-07-26 Andreas Jaeger <aj@suse.de>
27757
b1b2aaf8
AJ
27758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27759 ptrace.
27760
27761 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27762 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27763 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27764 PTRACE_O_MASK.
27765 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27766 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27767 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27768
bfc07087
AJ
27769 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27770 value.
27771
27772 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27773 _sigsys.
27774 (si_call_addr, si_syscall, si_arch): Define new macro.
27775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27776 _sigsys.
27777 (si_call_addr, si_syscall, si_arch): Define new marcro.
27778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27779 _sigsys.
27780 (si_call_addr, si_syscall, si_arch): Define new macro.
27781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27782 _sigsys.
27783 (si_call_addr, si_syscall, si_arch): Define new macro.
27784
89b4b02f
JM
277852012-07-25 Joseph Myers <joseph@codesourcery.com>
27786
27787 [BZ #13717]
27788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27789 Change to 2.4.21 where previously 2.4.1.
27790 * sysdeps/unix/sysv/linux/configure: Regenerated.
27791 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27792 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27793 Linux kernel version.
27794 (__ASSUME_STD_AUXV): Remove.
27795 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27796 kernel version.
27797 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27798 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27799 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27800 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27801 (__ASSUME_NETLINK_SUPPORT): Likewise.
27802 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27803 (__no_netlink_support): Remove conditional definition.
27804 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27805 Remove.
27806 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27807 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27808 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27809 (if_nameindex_ioctl): Remove.
27810 (if_nameindex_netlink): Do not handle __no_netlink_support.
27811 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27812 code.
27813 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27814 Remove conditional code.
27815 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27816 code.
27817 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27818 unconditional.
27819 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27820 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27821 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27822 Remove.
27823 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27824 [!__ASSUME_STD_AUXV]: Remove conditional code.
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27826 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27827 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27829 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27831 code.
27832 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27834 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27835 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27836 conditional code.
27837 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27839 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27840 code.
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27842 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27843 conditional code.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27845 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27846 code unconditional.
27847 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27848 conditional code.
27849 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27850 unconditional.
27851 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27852 conditional code.
27853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27854 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27855 unconditional.
27856 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27857 conditional code.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27859 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27860 code unconditional.
27861 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27862 conditional code.
27863 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27864 unconditional.
27865 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27866 conditional code.
27867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27868 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27869 code unconditional.
27870 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27871 conditional code.
27872 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27873 unconditional.
27874 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27875 conditional code.
27876
842a39cd
AS
278772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27878
27879 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27881 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27882 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27883 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27884 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27885 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27886 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27887 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27888 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27889 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27890 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27891 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27892 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27895 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27897 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27900 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27902
84b3fd84
FW
279032012-07-25 Florian Weimer <fweimer@redhat.com>
27904
27905 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27906 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27907 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27908 Introduce __libc_secure_getenv.
0c7936d5
FW
27909 * stdlib/Versions (2.17): Add secure_getenv
27910 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27911 * stdlib/secure-getenv.c: Rename __secure_getenv to
27912 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27913 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27914 * stdlib/tst-secure-getenv.c: New.
27915 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27916 * manual/startup.texi (Environment Access): Document
27917 secure_getenv.
84b3fd84
FW
27918 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27919 __libc_secure_getenv.
27920 * inet/ruserpass.c (ruserpass): Likewise.
27921 * malloc/mtrace.c (mtrace): Likewise.
27922 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27923 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27924 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27925 * sysdeps/posix/tempname.c: Likewise. Evaluate
27926 HAVE_SECURE_GETENV.
27927 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27928 __secure_getenv to __libc_secure_getenv.
84b3fd84 27929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27931 Likewise.
27932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27933 Likewise.
27934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27941
56e49b71
JM
279422012-07-25 Joseph Myers <joseph@codesourcery.com>
27943
27944 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27945 (struct La_i86_retval): Likewise.
27946 (struct La_x86_64_regs): Likewise.
27947 (struct La_x86_64_retval): Likewise.
27948 (struct La_x32_regs): Likewise.
27949 (struct La_x32_retval): Likewise.
27950 (struct La_ppc32_regs): Likewise.
27951 (struct La_ppc32_retval): Likewise.
27952 (struct La_ppc64_regs): Likewise.
27953 (struct La_ppc64_retval): Likewise.
27954 (struct La_sh_regs): Likewise.
27955 (struct La_sh_retval): Likewise.
27956 (struct La_s390_32_regs): Likewise.
27957 (struct La_s390_32_retval): Likewise.
27958 (struct La_s390_64_regs): Likewise.
27959 (struct La_s390_64_retval): Likewise.
27960 (struct La_sparc32_regs): Likewise.
27961 (struct La_sparc32_retval): Likewise.
27962 (struct La_sparc64_regs): Likewise.
27963 (struct La_sparc64_retval): Likewise.
27964 (struct audit_ifaces): Remove architecture-specific pltenter and
27965 pltexit members.
27966 * sysdeps/i386/ldsodefs.h: New file.
27967 * sysdeps/powerpc/ldsodefs.h: Likewise.
27968 * sysdeps/s390/ldsodefs.h: Likewise.
27969 * sysdeps/sh/ldsodefs.h: Likewise.
27970 * sysdeps/sparc/ldsodefs.h: Likewise.
27971 * sysdeps/x86_64/ldsodefs.h: Likewise.
27972
354691b7
MP
279732012-07-25 Marek Polacek <polacek@redhat.com>
27974
27975 [BZ #6808]
27976 * math/libm-test.inc (yn_test): Add another test.
27977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27978 to ERANGE when the result is +-Inf.
27979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27980 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27981 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27982 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27983
bf9e2071
JM
279842012-07-24 Joseph Myers <joseph@codesourcery.com>
27985
27986 * conform/data/time.h-data (NULL): Use macro-constant. Require
27987 equal to 0.
27988 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27989 clock_t.
27990 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27991
57633811
TS
279922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27993
27994 * configure.in <sysdeps resolving>: Correct printing
27995 Implies_before.
27996 * configure: Regenerate.
27997
c23c33b0
TS
279982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27999
28000 * math/w_ilogb.c: Include <limits.h>.
28001 * math/w_ilogbl.c: Likewise.
28002
b5982523
JM
280032012-07-20 Joseph Myers <joseph@codesourcery.com>
28004
28005 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28006 va_copy. Document allowing for unavailable va_copy only as
28007 pre-C99 compatibility.
28008 * manual/string.texi (Copying and Concatenation): Use va_copy
28009 instead of __va_copy in concat example.
28010
ac4ea442
PT
280112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28012
28013 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28014 (__sendto): Use create_address_port. Initialize APORT and deallocate
28015 it if not null.
28016
f98eafbd
PT
28017 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28018 with O_NOLINK passed to __file_name_lookup.
28019
898c7aab
PT
28020 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28021 with O_NOLINK passed to __file_name_lookup.
28022
0ced335a
PT
28023 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28024 negative N or less than NGIDS.
28025
b3404dbd
PT
28026 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28027 type to string_t. Set ERANGE as errno and return it if NAME is not big
28028 enough. Use memcpy instead of strncpy.
28029
0f48659e
JM
280302012-07-20 Joseph Myers <joseph@codesourcery.com>
28031
28032 * elf/Makefile (check-data): Remove.
28033 (localplt.data): New vpath directive.
28034 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28035 instead of $(check-data).
28036 * scripts/data/localplt-generic.data: Move to ...
28037 * sysdeps/generic/localplt.data: ... here.
28038 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28039 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28040 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28042 ... here.
28043 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28045 ... here.
28046 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28048 ... here.
28049 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28051 ... here.
28052 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28054 ... here.
28055 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28057 ... here.
28058
d37cbdaa
AZ
280592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28060
28061 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28062 PPC32 and PPC64 files.
28063 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28064 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28065
46f85fc2
AK
280662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28067
28068 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28069 __makecontext_ret to ...
28070 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28071 ... here and call exit if uc_link is NULL. New file.
28072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28073 __makecontext_ret.S.
28074 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28075 __makecontext_ret to ...
28076 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28077 ... here and call exit if uc_link is NULL. New file.
28078 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28079 __makecontext_ret.S.
28080
08f43f9b
AK
280812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28082
28083 * elf/elf.h (R_390_IRELATIVE): New definition.
28084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28085 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28086 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28088 (elf_machine_lazy_rel): Likewise.
28089 * sysdeps/s390/dl-irel.h: New file.
28090 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28091 * sysdeps/s390/s390-64/memset.S: New asm code.
28092 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28093 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28094 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28095 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28096 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28097 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28099 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28100 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28101 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28102 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28103 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28104 * sysdeps/s390/s390-32/memset.S: New asm code.
28105 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28106
3b05db33
MP
281072012-07-17 Marek Polacek <polacek@redhat.com>
28108
28109 [BZ #14349]
28110 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28111 * sysdeps/s390/s390-64/configure.in: Likewise.
28112 * sysdeps/sparc/configure.in: Likewise.
28113 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28114 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28115 * sysdeps/i386/configure.in: Likewise.
28116 * sysdeps/x86_64/configure.in: Likewise.
28117 * sysdeps/sh/configure.in: Likewise.
28118 * sysdeps/s390/s390-32/configure: Regenerated.
28119 * sysdeps/s390/s390-64/configure: Likewise.
28120 * sysdeps/x86_64/configure: Likewise.
28121 * sysdeps/sh/configure: Likewise.
28122 * sysdeps/powerpc/powerpc64/configure: Likewise.
28123 * sysdeps/powerpc/powerpc32/configure: Likewise.
28124 * sysdeps/sparc/configure: Likwise.
28125 * sysdeps/i386/configure: Likewise.
28126
a66877c6
MP
28127 * elf/dl-open.c: Comment fixes.
28128
cfc82fd8
JM
281292012-07-17 Joseph Myers <joseph@codesourcery.com>
28130
bd29910a
JM
28131 * Makefile [CXX] (check-data): Remove.
28132 [CXX] (c++-types.data): New vpath directive.
28133 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28134 vpath. Do not allow for C++ type data being missing.
28135 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28136 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28137 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28138 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28139 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28140 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28141 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28143 ... here.
28144 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28146 ... here.
28147 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28149 ... here.
28150 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28152 ... here.
28153 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28155 ... here.
28156 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28158 ... here.
28159 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28161 ... here.
28162 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28164
cfc82fd8
JM
28165 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28166 definitions to architecture-specific files.
28167 (TLS_IE): Likewise.
28168 (TLS_LD): Likewise.
28169 (TLS_GD): Likewise.
28170 * sysdeps/i386/tls-macros.h: New file.
28171 * sysdeps/powerpc/tls-macros.h: Likewise.
28172 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28173 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28174 * sysdeps/sh/tls-macros.h: Likewise.
28175 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28176 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28177 * sysdeps/x86_64/tls-macros.h: Likewise.
28178
f7db3170
TS
281792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28180
07cbfc23
TS
28181 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28182 zero value for regular exit case.
28183
f7db3170
TS
28184 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28185 (__start_context): Preserve zero value for regular exit case.
28186
dc97c227
TS
281872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28188 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28189
28190 * manual/setjmp.texi (setcontext): Clarify normal process
28191 termination when uc_link is the null pointer.
28192 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28193 exit call.
28194
d0cd7d02
AS
281952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28196
28197 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28198 preprocessor. Test for each exception mask separately.
28199
dd318934
AJ
282002012-07-16 Andreas Jaeger <aj@suse.de>
28201
28202 * po/ru.po: Update from translation team.
28203
8048311a
JM
282042012-07-15 Joseph Myers <joseph@codesourcery.com>
28205
28206 * conform/data/string.h-data (NULL): Use macro-constant. Require
28207 equal to 0.
28208 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28209 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28210 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28211 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28213
b637d46e
AJ
282142012-07-13 Andreas Jaeger <aj@suse.de>
28215
28216 * po/fr.po: Update from translation team.
28217
541428fe
MP
282182012-07-12 Marek Polacek <polacek@redhat.com>
28219
28220 [BZ #14173]
28221 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28223 loop condition.
28224
ec332e94
JM
282252012-07-12 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #13717]
28228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28229 Change to 2.4.1 where previously 2.4.0.
28230 * sysdeps/unix/sysv/linux/configure: Regenerated.
28231 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28232 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28233 version.
28234 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28235 (__ASSUME_AT_CLKTCK): Remove.
28236 (__ASSUME_AT_PAGESIZE): Likewise.
28237 (__ASSUME_AT_XID): Likewise.
28238 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28239 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28240 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28241 unconditionally.
28242 (HAVE_AUX_PAGESIZE): Likewise.
28243 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28244 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28245 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28246
7b6e99be
JB
282472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28248
28249 [BZ #14307]
28250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28251 the temporary buffer used to invoke __gethostbyname2_r,
28252 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28253 host_data / struct gaih_addrtuple.
28254 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28255 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28256 header file nss/nsswitch.h.
28257 * nss/nsswitch.h (global scope): Add definition of implementation
28258 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28259 resolv/nss_dns/dns-host.c).
28260
608404eb
AJ
282612012-07-11 Andreas Jaeger <aj@suse.de>
28262
28263 * po/fr.po: Update from translation team.
28264
71220aca
AJ
28265 * po/sv.po: Update from translation team
28266 * po/fr.po: Another update from translation team.
28267
28cfe843
AZ
282682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28269
28270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28271 for subnormals or multiply small sinh result by itself.
28272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28274
6b90f981
DM
282752012-07-11 David S. Miller <davem@davemloft.net>
28276
28277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28278
c6825772
AS
282792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28280
28281 [BZ #14347]
28282 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28283 (INTERNAL_MARK): Shift it here.
28284
7b8e0d49
MP
282852012-07-10 Marek Polacek <polacek@redhat.com>
28286
28287 [BZ #14151]
28288 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28289 libc_cv_asm_global_directive with .globl.
28290 * configure: Regenerated.
28291 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28292 with .globl.
28293 * sysdeps/i386/configure: Regenerated.
28294 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28295 with .globl.
28296 * sysdeps/x86_64/configure: Regenerated.
28297 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28298 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28299 * elf/tst-unique2mod2.c: Likewise.
28300 * elf/tst-unique2mod1.c: Likewise.
28301 * elf/tst-unique1mod2.c: Likewise.
28302 * elf/tst-unique1mod1.c: Likewise.
28303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28304 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28305 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28307 * sysdeps/mach/sysdep.h: Likewise.
28308 * sysdeps/i386/sysdep.h: Likewise.
28309 * sysdeps/i386/i386-mcount.S: Likewise.
28310 * sysdeps/x86_64/_mcount.S: Likewise.
28311 * sysdeps/x86_64/sysdep.h: Likewise.
28312 * sysdeps/sh/_mcount.S: Likewise.
28313 * sysdeps/sh/sysdep.h: Likewise.
28314 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28315 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28316 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28318 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28319 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28320 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28321 * locale/localeinfo.h: Likewise.
28322 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28323 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28324
6c55cda3
RM
283252012-07-09 Roland McGrath <roland@hack.frob.com>
28326
28327 [BZ #14336]
28328 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28329 system".
28330 * manual/message.texi (The Uniforum approach): Likewise.
28331 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28332 (glibc iconv Implementation): Likewise.
28333
638a572e
JM
283342012-07-09 Joseph Myers <joseph@codesourcery.com>
28335
28336 [BZ #14337]
28337 * math/s_clog.c (__clog): Avoid scaling a value down where that
28338 could result in underflow.
28339 * math/s_clog10.c (__clog10): Likewise.
28340 * math/s_clog10f.c (__clog10f): Likewise.
28341 * math/s_clog10l.c (__clog10l): Likewise.
28342 * math/s_clogf.c (__clogf): Likewise.
28343 * math/s_clogl.c (__clogl): Likewise.
28344 * math/libm-test.inc (clog_test): Add more tests.
28345 (clog10_test): Likewise.
28346 * sysdeps/i386/fpu/libm-test-ulps: Update.
28347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28348
261f4859
AS
283492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28350
0abaf3e4
AS
28351 [BZ #14283]
28352 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28353 by 7 not 8 to examine high bit of fractional part.
28354
261f4859
AS
28355 [BZ #14042]
28356 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28357 for call to __mcount_internal.
28358 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28359 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28360 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28361
f17ac40d
JM
283622012-07-06 Joseph Myers <joseph@codesourcery.com>
28363
9ad63c23
JM
28364 [BZ #14154]
28365 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28366 approximation for values within 0x1p-13f of an odd multiple of
28367 pi/4.
28368 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28369 exception. Add more tests.
28370 * sysdeps/i386/fpu/libm-test-ulps: Update.
28371
f17ac40d
JM
28372 [BZ #6778]
28373 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28374 inputs and return -1 for them. Do not check for +Inf in case not
28375 reachable for +Inf.
28376 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28377 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28379 and return -1 for them. Do not check for +Inf in case not
28380 reachable for +Inf.
28381 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28382 define.
28383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28384 and return -1 for them. Do not check for +Inf in case not
28385 reachable for +Inf.
28386 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28387 spurious underflow.
28388 * sysdeps/i386/fpu/libm-test-ulps: Update.
28389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28390
fb21f89b
MF
283912012-07-06 Mike Frysinger <vapier@gentoo.org>
28392
28393 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28394
cdfe2c5e
JM
283952012-07-05 Joseph Myers <joseph@codesourcery.com>
28396
28397 [BZ #14157]
28398 [BZ #14331]
28399 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28400 could result in spurious underflow. Scale down values above
28401 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28402 * math/s_csqrtf.c (__csqrtf): Likewise.
28403 * math/s_csqrtl.c (__csqrtl): Likewise.
28404 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28405 spurious underflow.
28406 * sysdeps/i386/fpu/libm-test-ulps: Update.
28407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28408
70d35b67
AS
284092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28410
704bc459
AS
28411 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28412 xopen-msg.sed.
28413 * catgets/xopen-msg.awk: New file.
28414 * catgets/xopen-msg.sed: Removed.
28415
70d35b67
AS
28416 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28417 po2text.sed.
28418 * intl/po2test.awk: New file.
28419 * intl/po2test.sed: Removed.
28420
ca61cf32
JM
284212012-07-04 Joseph Myers <joseph@codesourcery.com>
28422
28423 [BZ #14328]
28424 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28425 or multiply small sinh result by itself.
28426 * math/s_ctanf.c (__ctanf): Likewise.
28427 * math/s_ctanh.c (__ctanh): Likewise.
28428 * math/s_ctanhf.c (__ctanhf): Likewise.
28429 * math/s_ctanhl.c (__ctanhl): Likewise.
28430 * math/s_ctanl.c (__ctanl): Likewise.
28431 * math/libm-test.inc (ctan_test_tonearest): New function.
28432 (ctan_test_towardzero): Likewise.
28433 (ctan_test_downward): Likewise.
28434 (ctan_test_upward): Likewise.
28435 (ctanh_test_tonearest): Likewise.
28436 (ctanh_test_towardzero): Likewise.
28437 (ctanh_test_downward): Likewise.
28438 (ctanh_test_upward): Likewise.
28439 (main): Call these new functions.
28440 * sysdeps/i386/fpu/libm-test-ulps: Update.
28441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442
ca48a46a
MF
284432012-07-03 Mike Frysinger <vapier@gentoo.org>
28444
28445 * .gitignore: Delete /ports entry.
28446
9d63d37d
AJ
284472012-07-03 Andreas Jaeger <aj@suse.de>
28448
28449 * po/bg.po: Update from translation team.
28450 * po/cs.po: Likewise.
28451 * po/de.po: Likewise.
28452 * po/hr.po: Likewise.
28453 * po/nl.pl: Likewise.
28454 * po/pl.po: Likewise.
28455 * po/vi.po: Likewise.
28456
370ca3d2
JM
284572012-07-03 Joseph Myers <joseph@codesourcery.com>
28458
95f5a9a8
JM
28459 * Makeconfig [!+link] (+link-before-libc): New variable.
28460 [!+link] (+link-after-libc): Likewise.
28461 [!+link] (+link-tests): Likewise.
28462 [!+link] (+link): Define in terms of $(+link-before-libc) and
28463 $(+link-after-libc).
28464 [!+link-static] (+link-static-before-libc): New variable.
28465 [!+link-static] (+link-static-after-libc): Likewise.
28466 [!+link-static] (+link-static-tests): Likewise.
28467 [!+link-static] (+link-static): Define in terms of
28468 $(+link-static-before-libc) and $(+link-static-after-libc).
28469 [build-shared] (link-libc-before-gnulib): New variable.
28470 [build-shared] (link-libc-tests): Likewise.
28471 [build-shared] (link-libc): Define in terms of
28472 $(link-libc-before-gnulib).
28473 [!build-shared] (link-libc-tests): New variable.
28474 (link-libc-static-tests): New variable.
28475 [!gnulib] (gnulib-arch): New variable.
28476 [!gnulib] (gnulib-tests): Likewise.
28477 [!gnulib] (static-gnulib-arch): Likewise.
28478 [!gnulib] (static-gnulib-tests): Likewise.
28479 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28480 Define with "=" instead of ":=".
28481 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28482 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28483 * Rules (binaries-all-notests): New variable.
28484 (binaries-all-tests): Likewise.
28485 (binaries-static-notests): Likewise.
28486 (binaries-static-tests): Likewise.
28487 (binaries-all): Define using $(binaries-all-notests) and
28488 $(binaries-all-tests).
28489 (binaries-static): Define using $(binaries-static-notests) and
28490 $(binaries-static-tests).
28491 (binaries-shared-tests): New variable.
28492 (binaries-shared-notests): Likewise.
28493 (binaries-shared): Remove variable.
28494 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28495 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28496 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28497 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28498 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28499 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28500 * elf/Makefile (sln-modules): New variable.
28501 (extra-objs): Add $(sln-modules:=.o).
28502 (ldconfig-modules): Add static-stubs.
28503 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28504 * elf/static-stubs.c: New file.
28505
7a845b2c
JM
28506 [BZ #14283]
28507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28508 by 7 not 8 to examine high bit of fractional part. Use volatile
28509 variables when splitting into final array of floats if
28510 __FLT_EVAL_METHOD__ != 0.
28511 * math/libm-test.inc (cos_test): Add another test.
28512 (sin_test): Likewise.
28513 * sysdeps/i386/fpu/libm-test-ulps: Update.
28514
e2283f38
JM
28515 [BZ #14273]
28516 * math/libm-test.inc (cosh_test): Add more tests.
28517
370ca3d2
JM
28518 * version.h (RELEASE): Set to "development".
28519 (VERSION): Set to "2.16.90".
28520
ee9247c3
CD
285212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28522
28523 * NEWS: Update copyright. Remove last-updated date.
28524 Mention math library bug fixes and timezone data changes.
28525 * README: Mention GNU/Hurd, x32, and HPPA support status.
28526
4648c381
TS
285272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28528
28529 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28530
aac78a43
AJ
285312012-06-27 Andreas Jaeger <aj@suse.de>
28532
28533 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28534
ed3dbfad
AJ
285352012-06-25 Andreas Jaeger <aj@suse.de>
28536
28537 * sysdeps/s390/fpu/libm-test-ulps: Update.
28538
4d0ee855
AS
285392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28540 Thomas Schwinge <thomas@codesourcery.com>
28541
28542 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28543 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28545 fanotify_mark.
28546
af1bce34
TS
285472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28548
a9fa33ba
TS
28549 * sysdeps/mach/start.c: Remove file.
28550 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28551 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28552 * sysdeps/sh/init-first.c: Likewise.
28553
58f902b8
TS
28554 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28555 registers for frame unwinding purposes, add CFI directives.
28556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28558 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28559 Likewise.
28560
1518f58b
TS
28561 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28562 __fortify_fail returning.
28563 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28564
db9b5059
TS
28565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28566 sysdeps/sh/____longjmp_chk.S.
28567 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28568 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28569 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28570 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28571
967705fe
TS
28572 * sysdeps/sh/abort-instr.h: New file.
28573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28574 process in case exit returns.
28575
a9def8c4
TS
28576 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28577 initialize the GOT register before use.
28578
2a649725
TS
28579 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28580 calculation of ARGC > 4.
28581
af1bce34
TS
28582 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28583 meaningful names to some local labels.
28584
d230f50a
KK
285852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28586 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28587
28588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28589 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28590 (__arch_compare_and_exchange_val_16_acq): Likewise.
28591 (__arch_compare_and_exchange_val_32_acq): Likewise.
28592 (atomic_exchange_and_add): Fix gUSA sequence.
28593 (atomic_add): Likewise.
28594 (atomic_add_negative): Likewise.
28595 (atomic_add_zero): Likewise.
28596 (atomic_bit_test_set): Likewise.
28597
0479b305
AS
285982012-06-22 Andreas Schwab <schwab@redhat.com>
28599
28600 [BZ #13579]
28601 * include/link.h (struct link_map): Add l_free_initfini.
28602 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28603 l_initfini.
28604 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28605 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28606 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28607 set.
28608
0e3933b9
CD
286092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28610
28611 * configure.in: Use AC_LANG_SOURCE.
28612 * configure: Regenerate.
28613
4248b1b1
RM
286142012-06-22 Roland McGrath <roland@hack.frob.com>
28615
28616 * configure.in (libc_cv_localstatedir): New substituted variable.
28617 * configure: Regenerated.
28618 * config.make.in (localstatedir): New variable, substituted from
28619 libc_cv_localstatedir.
28620 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28621 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28622 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28623 * sysdeps/gnu/configure: Regenerated.
28624
006dd861
JL
286252012-06-21 Jeff Law <law@redhat.com>
28626
28627 [BZ #14277]
28628 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28629 free. Simplify list management for _LIBC case.
28630
79662d42
JM
286312012-06-21 Joseph Myers <joseph@codesourcery.com>
28632
b7abb4bf
JM
28633 [BZ #14273]
28634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28635 Clear sign bit of 64-bit integer value before comparing against
28636 overflow value.
28637
79662d42
JM
28638 * sysdeps/mach/configure: Regenerated.
28639
1f150908
L
286402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28641
28642 [BZ #14278]
28643 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28644
28363bbf
JL
286452012-06-21 Jeff Law <law@redhat.com>
28646
28647 [BZ #13882]
28648 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28649 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28651 * elf/dl-open.c (dl_open_worker): Likewise.
28652
09615db4
CD
286532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28654
28655 * scripts/list-sources.sh: Scan PORTS for translations.
28656 * po/libc.pot: Regenerated.
28657
2174c6dd
AJ
286582012-06-21 Andreas Jaeger <aj@suse.de>
28659
28660 [BZ #12194]
28661 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28662 warning.
28663 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28664 * bits/byteswap-16.h (__bswap_16): Likewise.
28665 * bits/byteswap.h (__bswap_constant_16): Likewise.
28666
3ee947b1
L
286672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28668
28669 [BZ #14117]
a2f34833
L
28670 * sysdeps/i386/fpu_control.h: Removed.
28671 * sysdeps/x86_64/fpu_control.h: Moved to ...
28672 * sysdeps/x86/fpu_control.h: Here.
28673
3ee947b1
L
28674 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28675 (_FPU_SETCW): Likewise.
28676
ed1825f8
L
286772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28678
25f1282a
L
28679 [BZ #14117]
28680 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28681 * sysdeps/x86/fpu/bits/mathinline.h: This.
28682 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28683
ed1825f8
L
28684 [BZ #14050]
28685 [BZ #14117]
28686 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28687 functions if __x86_64__ is defined.
28688
36d54b74
CLT
286892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28690
28691 * string/endian.h: Add !__ASSEMBLER__ condition for including
28692 conversion interfaces.
28693
10285c21
JM
286942012-06-15 Joseph Myers <joseph@codesourcery.com>
28695
28696 [BZ #14241]
28697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28698 of ABS(x) in calculating zero to negative powers other than odd
28699 integers.
28700 * math/libm-test.inc (pow_test): Add more tests.
28701
06c5abbd
AJ
287022012-06-15 Andreas Jaeger <aj@suse.de>
28703
28704 * manual/contrib.texi (Contributors): Update entry of Liubov
28705 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28706 Machado Filho.
28707
a3aeac40
CH
287082012-06-15 Cyril Hrubis <metan@ucw.cz>
28709
28710 * string/string.h: Add __wur to GNU version of strerror_r.
28711
49bdf4c1
L
287122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28713
28714 [BZ #14229]
28715 * string/Makefile (tests): Add tst-strtok_r.
28716 * string/tst-strtok_r.c: New file.
28717 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28718 RAX_LP/RDX_LP on SAVE_PTR.
28719
834f9b8d
RM
287202012-06-14 Roland McGrath <roland@hack.frob.com>
28721
28722 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28723
75fa1921
JM
287242012-06-14 Joseph Myers <joseph@codesourcery.com>
28725
28726 * libm_test.inc (csqrt_test): Allow more spurious underflow
28727 exceptions.
28728 (j0_test): Likewise.
28729 (j1_test): Likewise.
28730 (y0_test): Likewise.
28731 (y1_test): Likewise.
28732
771766df
CD
287332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28734
28735 * po/Makefile (libc.pot): Use UTF-8 charset.
28736
ceb9e56b
PP
287372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28738
28739 [BZ #14210]
28740 Suppress sign-conversion warning from FD_SET.
28741 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28742 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28743 not unsigned long int.
28744 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28745
ddb28975
L
287462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28747
28748 [BZ #14050]
28749 [BZ #14117]
28750 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28751 __extern_always_inline instead of __extern_inline.
28752 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28753 (__signbit): Likewise.
28754 (__signbitl): Support C++ namespace.
28755 (lrintf): New inline function.
28756 (lrint): Likewise.
28757 (llrintf): Likewise.
28758 (llrint): Likewise.
28759 (fmaxf): Likewise.
28760 (fmax): Likewise.
28761 (fminf): Likewise.
28762 (fmin): Likewise.
28763 (rint): Likewise.
28764 (rintf): Likewise.
28765 (ceil): Likewise.
28766 (ceilf): Likewise.
28767 (floor): Likewise.
28768 (floorf): Likewise.
28769 (nearbyint): Likewise.
28770 (nearbyintf): Likewise.
28771
d7b4fb26
TS
287722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28773
28774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28775 non-default versions.
28776
eb55f5c2
RM
287772012-06-11 Roland McGrath <roland@hack.frob.com>
28778
28779 [BZ #14218]
28780 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28781
366af02c
TS
287822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28783
99ff6e5c
TS
28784 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28785 (FE_UPWARD, FE_DOWNWARD): Don't define.
28786 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28787 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28788
366af02c
TS
28789 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28790 reading it.
28791 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28792 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28793
793ea851
KK
287942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28795
28796 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28798 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28800
a728a38f
L
288012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 [BZ #14117]
c08010c7
L
28804 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28805 * sysdeps/i386/fpu/Implies: New file.
28806 * sysdeps/x86_64/fpu/Implies: Likewise.
28807 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28808 * sysdeps/x86/fpu/bits/fenv.h: This.
28809
a728a38f
L
28810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28811 __SSE_MATH__.
28812
6e230d11
SP
288132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28814
28815 [BZ #14134]
28816 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28817 character 0xffff that matches the last element of the
28818 conversion table.
28819
1b671feb
AZ
288202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28821
28822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28823 fmodl commit.
28824
6043738b
AZ
288252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28826
28827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28828 values higher than 25.6283.
28829
34ae0b32
AZ
288302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28831
28832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28833 subnormal exponent extraction and add some __builtin_expect.
28834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28835 Fix for subnormal mantissa calculation.
28836
1214ec8f
MF
288372012-06-04 Mike Frysinger <vapier@gentoo.org>
28838
28839 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28840 cpu2 is -1 and errno is not ENOSYS.
28841
f3d1f93c
L
288422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 [BZ #14117]
0e4a3cd7
L
28845 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28846 * sysdeps/x86/bits/string.h: This.
28847 * sysdeps/x86_64/bits/string.h: Removed.
28848
6704c645
L
28849 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28850 if not compiling for x86-64, but compiling for >= i486.
28851
48495318
L
28852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28853 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28854
14adcbfc
L
28855 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28856 New macro from Linux kernel 3.4.0.
28857 (FP_XSTATE_MAGIC2): Likewise.
28858 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28859 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28860 (struct _fpx_sw_bytes): New struct.
28861 (struct _xsave_hdr): Likewise.
28862 (struct _ymmh_state): Likewise.
28863 (struct _xstate): Likewise.
28864
68e408ab
L
28865 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28866 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28868 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28869 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28870 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28871
f3d1f93c
L
28872 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28873 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28874 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28875 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28876 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28877 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28878
d9dc34cd
TMQMF
288792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28880
28881 [BZ #13743]
28882 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28883 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28884 (sysdep_headers): Include sys/platform/ppc.h.
28885 * sysdeps/powerpc/test-gettimebase.c: Test for
28886 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28887 * manual/Makefile (appendices): Include platform.texi.
28888 * manual/contrib.texi (Contributors): Update @node pointers.
28889 * manual/maint.texi (Maintenance): Likewise.
28890 (Platform): New node.
28891 * manual/platform.texi: New file. Document the new features.
28892
4af3879c
SP
288932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28894 Jakub Jelinek <jakub@redhat.com>
28895
28896 [BZ #14188]
28897 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28898 where __builtin_expect is unavailable.
28899
2fd6ff13
DM
289002012-06-03 David S. Miller <davem@davemloft.net>
28901
28902 * stdlib/longlong.h: Updated from GCC.
28903
173f7220
AS
289042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28905
28906 [BZ #14042]
28907 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28908 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28909 __mcount_internal.
28910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28911 (GLIBC_2.16): Likewise.
28912
f34a1c6f
L
289132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28914
28915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28916
88a4576f
JM
289172012-06-01 Joseph Myers <joseph@codesourcery.com>
28918
ea32bcdd
JM
28919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28920 (default-abi): New variable.
28921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28922 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28923 variable.
28924 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28925 Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28927 Likewise.
28928 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28929 Likewise.
28930
88a4576f
JM
28931 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28932 definition. Document in comment.
28933
402fe938
DM
289342012-06-01 David S. Miller <davem@davemloft.net>
28935
28936 * stdlib/longlong.h: Updated from GCC.
28937
3553723f
L
289382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 [BZ #14117]
3bd872c4
L
28941 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28942 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28943 sys/debugreg.h sys/io.h here.
28944 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28945 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28946 sys/io.h.
28947 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28948 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28949 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28950 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28951 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28952 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28953
3553723f
L
28954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28955 Define only if __x86_64__ is defined.
28956
4842e4fe
JM
289572012-06-01 Joseph Myers <joseph@codesourcery.com>
28958
c5bfe3d5
JM
28959 [BZ #14048]
28960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28961 Use int64_t for variable i.
28962 * math/libm-test.inc (fmod_test): Add more tests.
28963
4842e4fe
JM
28964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28965 z computation is not scheduled after fetestexcept.
28966 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28967 Use math_force_eval instead of asm to ensure calculation scheduled
28968 before exception test.
28969 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28970 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28971
efb73488
AJ
289722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28973
28974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28975 computation is not scheduled after fetestexcept.
28976
29bcce7c
L
289772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28978
28979 [BZ #14117]
28980 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28981 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28982
73a68f94
AZ
289832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28984
28985 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28986 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28987
67b6df78
L
289882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28989
edf2933a 28990 [BZ #14117]
ebc64a18
L
28991 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28992 <bits/wordsize.h>.
28993 (__WCHAR_MIN): Support __WORDSIZE == 64.
28994 (__WCHAR_MAX): Likewise.
28995
edf2933a
L
28996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28998
57c6cf40
L
28999 [BZ #14183]
29000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29001 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29002
67b6df78 29003 [BZ #14117]
8eb6281e
L
29004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29005 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29006
aac639f4
L
29007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29008 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29009
67b6df78
L
29010 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29011 Defined to 1 if __x86_64__ isn't defined.
29012 (_STAT_VER_LINUX_OLD): New.
29013 (st_atime): Remove duplicate.
29014 (st_mtime): Likewise.
29015 (st_ctime): Likewise.
29016
1c2cfe81
DM
290172012-05-31 David S. Miller <davem@davemloft.net>
29018
29019 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29020 entries.
29021
5be8418c
AS
290222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29023
e7725326
AS
29024 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29025 gen-libm-test.pl.
29026
5be8418c
AS
29027 [BZ #14132]
29028 * elf/dl-reloc.c: Include <_itoa.h>.
29029 (_dl_reloc_bad_type): Remove use of INTUSE.
29030 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29031 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29032 * stdio-common/psiginfo.c (psiginfo): Likewise.
29033 * stdio-common/psignal.c (psignal): Likewise.
29034 * string/strsignal.c (strsignal): Likewise.
29035 * include/signal.h (_sys_siglist): Declare hidden proto.
29036 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29037 INTVARDEF with libc_hidden_data_def.
29038 * stdio-common/itoa-udigits.c: Likewise.
29039 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29040 (_itoa_lower_digits_internal): Remove declaration.
29041 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29042 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29043 (_sys_sigabbrev_internal): Remove aliases.
29044 (_sys_siglist): Define hidden alias.
29045
507352f1
MT
290462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29047
29048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29049 bits/sysctl.h.
29050
42bbb1c3
L
290512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 [BZ #14117]
6bd784b6
L
29054 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29055 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29056
8bca20f0
L
29057 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29058 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29059 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29060 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29062 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29063
f9e890a9
L
29064 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29066 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29067
471101a1
L
29068 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29069 with __addr.
29070 (insw): Likewise.
29071 (insl): Likewise.
29072 (outsb): Likewise.
29073 (outsw): Likewise.
29074 (outsl): Likewise.
29075
6451c862
L
29076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29077 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29078 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29079
a254b8c9
L
29080 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29081 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29083 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29084 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29085 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29086
b8dfdd92
L
29087 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29088 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29089
578cd270
L
29090 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29091 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29092
de662f5f
L
29093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29096
25653439
L
29097 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29098 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29099 to ...
29100 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29101
6bad24a0
L
29102 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29103 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29104 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29105
42bbb1c3
L
29106 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29107 for x86-64.
29108 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29109
2d10d547
JM
291102012-05-31 Joseph Myers <joseph@codesourcery.com>
29111
29112 * math/math.h (M_El): Use two more decimal places.
29113 (M_LOG2El): Likewise.
29114 (M_LOG10El): Likewise.
29115 (M_LN2l): Likewise.
29116 (M_LN10l): Likewise.
29117 (M_PIl): Likewise.
29118 (M_PI_2l): Likewise.
29119 (M_PI_4l): Likewise.
29120 (M_1_PIl): Likewise.
29121 (M_2_PIl): Likewise.
29122 (M_2_SQRTPIl): Likewise.
29123 (M_SQRT2l): Likewise.
29124 (M_SQRT1_2l): Likewise.
29125
f230c29b
DM
291262012-05-31 David S. Miller <davem@davemloft.net>
29127
29128 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29129 values between float registers.
29130 * sysdeps/sparc/sparc64/memset.S: Likewise.
29131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29132
fed806c3
MF
291332012-05-31 Mike Frysinger <vapier@gentoo.org>
29134
29135 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29136 -D_FORTIFY_SOURCE=1.
29137 (CPPFLAGS-tst-longjmp_chk.c): Define.
29138 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29139 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29140 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29141 CFLAGS-tst-wchar-h.c.
29142
30917259
MP
291432012-05-31 Marek Polacek <polacek@redhat.com>
29144
29145 [BZ #14132]
29146 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29147 __endmntent_internal): Remove declaration.
29148 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29149 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29150 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29151
1c58d5dc
DM
291522012-05-30 David S. Miller <davem@davemloft.net>
29153
29154 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29155 (___Q_simulate_exceptions): Use real FP ops rather than writing
29156 into the %fsr.
29157 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29158 Likewise.
29159
7dc00e0d
L
291602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 [BZ #14117]
0bd53985
L
29163 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29164 * sysdeps/x86/bits/xtitypes.h: This.
29165
3a257e66
L
29166 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29167 * sysdeps/x86/bits/wordsize.h: This.
29168
62f62904
L
29169 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29170 * sysdeps/x86/bits/huge_vall.h: This.
29171
404fe9d9
L
29172 * sysdeps/i386/bits/select.h: Removed.
29173 * sysdeps/x86_64/bits/select.h: Renamed to ...
29174 * sysdeps/x86/bits/select.h: This.
29175
d48d0446
L
29176 * sysdeps/i386/bits/setjmp.h: Removed.
29177 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29178 * sysdeps/x86/bits/setjmp.h: This.
29179
7dc00e0d
L
29180 * sysdeps/i386/bits/mathdef.h: Removed.
29181 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29182 * sysdeps/x86/bits/mathdef.h: This.
29183
03277f8f
AS
291842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29185
29186 [BZ #14132]
29187 * include/sys/socket.h (__connect_internal)
29188 (__libc_sa_len_internal): Remove declaration.
29189 (__connect, __libc_sa_len): Declare hidden_proto.
29190 (SA_LEN): Remove use of INTUSE.
29191 * socket/connect.c: Add libc_hidden_def.
29192 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29193 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29194 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29195 alias.
29196 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29198 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29199 of adding _internal alias.
29200
13764867
L
292012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 [BZ #14117]
6bd97696
L
29204 * sysdeps/i386/bits/link.h: Removed.
29205 * sysdeps/i386/bits/linkmap.h: Likewise.
29206 * sysdeps/x86_64/bits/link.h: Renamed to ...
29207 * sysdeps/x86/bits/link.h: This.
29208 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29209 * sysdeps/x86/bits/linkmap.h: This.
29210
f726f0bb
L
29211 * sysdeps/i386/bits/endian.h: Removed.
29212 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29213 * sysdeps/x86/bits/endian.h: This.
29214
13764867
L
29215 * sysdeps/i386/bits/byteswap.h: Removed.
29216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29217 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29218 * sysdeps/x86/bits/byteswap.h: This.
29219 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29220 * sysdeps/x86/bits/byteswap-16.h: This.
29221 * sysdeps/i386/Implies: Add x86.
29222 * sysdeps/x86_64/Implies: Likewise.
29223
ae251b0b
DM
292242012-05-30 David S. Miller <davem@davemloft.net>
29225
29226 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29227 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29228 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29229 (FP_TRAPPING_EXCEPTIONS): Define.
29230 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29231 (FP_TRAPPING_EXCEPTIONS): Define.
29232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29233 subnormals only when inexact has been signalled or underflow
29234 exceptions are enabled.
29235 (_FP_PACK_CANONICAL): Likewise.
29236
d5c90867
L
292372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 [BZ #14183]
29240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29241 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29242
63f1549e
RH
292432012-05-30 Richard Henderson <rth@twiddle.net>
29244
8d8f2279
RH
29245 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29246 with #ifndef NOT_IN_libc.
29247
63f1549e
RH
29248 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29249 marked to avoid plt entry.
29250
0ab0291b
L
292512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29252
29253 [BZ #14112]
29254 * Makeconfig (default-abi): New macro.
29255 (abi-includes): Likewise.
29256 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29257 $(abi-$(default-abi)-lib-soname) for soname if defined.
29258 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29259 abi-variants.
29260 * Makefile (installed-stubs): Likewise.
29261 * include/stubs-biarch.h: Removed.
29262 * scripts/lib-names.awk: Only handle one library at a time.
29263 * scripts/soversions.awk: Remove WORDSIZE support.
29264 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29265 entries.
29266 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29267 Removed.
29268 (syscall-list-default-condition): Likewise.
29269 (syscall-list-default-condition): Likewise.
29270 (syscall-list-includes): Likewise.
29271 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29272 syscall-list-* with abi-*. Handle undefined abi-variants.
29273 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29274 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29275 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29276 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29278 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29279 Removed.
29280 (syscall-list-32-options): Likewise.
29281 (syscall-list-32-condition): Likewise.
29282 (syscall-list-64-options): Likewise.
29283 (syscall-list-64-condition): Likewise.
29284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29285 macro.
29286 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29287 Renamed to ...
29288 (abi-*): This.
29289 (abi-64-ld-soname): New macro.
29290 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29291 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29292 Renamed to ...
29293 (abi-*): This.
29294 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29295 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29296
4da0431d
JM
292972012-05-30 Joseph Myers <joseph@codesourcery.com>
29298
3a85279c
JM
29299 * sysdeps/unix/sysv/linux/kernel-features.h
29300 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29301 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29302 include <kernel-features.h>.
29303 [!__NR_ftruncate64]: Remove conditional code.
29304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29305 [__NR_ftruncate64]: Make code unconditional.
29306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29307 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29308 include <kernel-features.h>.
29309 [!__NR_ftruncate64]: Remove conditional code.
29310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29311 [__NR_ftruncate64]: Make code unconditional.
29312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29314 include <kernel-features.h>.
29315 [!__NR_ftruncate64]: Remove conditional code.
29316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29317 [__NR_ftruncate64]: Make code unconditional.
29318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29320 include <kernel-features.h>.
29321 [!__NR_ftruncate64]: Remove conditional code.
29322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29323 [__NR_ftruncate64]: Make code unconditional.
29324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29325
4da0431d
JM
29326 * configure.in (libc_cv_fpie): Weaken to a compile test using
29327 LIBC_TRY_CC_OPTION.
29328 * configure: Regenerated.
29329
11ef492c
AK
293302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29331
29332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29336 Refreshed.
29337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29343 Refreshed.
29344
d66ef399
DM
293452012-05-27 David S. Miller <davem@davemloft.net>
29346
29347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29348 (___Q_zero): New.
29349 (__Q_simulate_exceptions): Return void. Change to simulate
29350 exceptions by writing into the %fsr.
29351 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29352 (__Qp_handle_exceptions): Likewise.
29353 (numbers): Delete.
29354 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29355 __Qp_handle_exceptions.
29356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29357 __Qp_handle_exceptions.
29358 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29359 as unused and give dummy FP_RND_NEAREST initializer.
29360 (FP_INHIBIT_RESULTS): Define.
29361 (___Q_simulate_exceptions): Update declaration.
29362 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29363 formatting.
29364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29365 as unused and give dummy FP_RND_NEAREST initializer.
29366 (__Qp_handle_exceptions): Update declaration.
29367 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29368 formatting.
29369
04fb54b5
TS
293702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29371
29372 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29373 the temporary FPU control word.
29374 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29375 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29377 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29378 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29379 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29380 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29382 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29383 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29385
3f99608f
KK
293862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29387
29388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29389 fields.
29390
65a4de4e
CLT
293912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29392
29393 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29394 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29395 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29396 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29397 Likewise.
29398 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29399 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29400 Likewise.
29401
15749d40
UD
294022012-05-27 Ulrich Drepper <drepper@gmail.com>
29403
29404 * po/h.po: Update from translation team.
29405
25dbcb27
AS
294062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29407
3d3f8e55
AS
29408 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29409
25dbcb27
AS
29410 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29411 handling of denormals.
29412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29413 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29414 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29415 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29419 Likewise.
29420
7ad47a80 294212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29422
29423 [BZ #14152]
29424 * math/libm-test.inc (fma_test): Don't always expect underflow
29425 exception.
29426
9c6ea9fa
SP
294272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29428
29429 [BZ #12416]
29430 * elf/tst-execstack.c: Include stackinfo.h.
29431 (do_test): Adjust test case to ensure that pthread_getattr_np
29432 behaviour remains the same after marking stack executable.
29433
a8239222
JM
294342012-05-25 Joseph Myers <joseph@codesourcery.com>
29435
29436 * sysdeps/unix/sysv/linux/kernel-features.h
29437 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29438 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29439 kernel-features.h.
29440 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29441 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29442 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29443 kernel-features.h.
29444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29446
918b5606
L
294472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29448
29449 * configure.in: Define the default includes to being none.
29450 * configure: Regenerated.
29451
3a097cc7
RM
294522012-05-25 Roland McGrath <roland@hack.frob.com>
29453
8422c9a5
RM
29454 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29455 * sysdeps/x86_64/setjmp.S: Likewise.
29456 * sysdeps/i386/bsd-setjmp.S: Likewise.
29457 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29458 * sysdeps/i386/setjmp.S: Likewise.
29459 * sysdeps/i386/__longjmp.S: Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29461 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29462
3a097cc7
RM
29463 * include/stap-probe.h: New file.
29464 * configure.in: Handle --enable-systemtap.
29465 * configure: Regenerated.
29466 * config.h.in (USE_STAP_PROBE): New #undef.
29467 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29468 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29470
21708942
JM
294712012-05-25 Joseph Myers <joseph@codesourcery.com>
29472
29473 [BZ #13717]
29474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29475 to 2.4.0 where earlier.
29476 * sysdeps/unix/sysv/linux/configure: Regenerated.
29477 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29478 <kernel-features.h>.
29479 [__ASSUME_32BITUIDS]: Make code unconditional.
29480 [!__ASSUME_32BITUIDS]: Remove conditional code.
29481 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29482 <kernel-features.h>.
29483 [__ASSUME_32BITUIDS]: Make code unconditional.
29484 [!__ASSUME_32BITUIDS]: Remove conditional code.
29485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29486 [__ASSUME_32BITUIDS]: Make code unconditional.
29487 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29488 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29489 <kernel-features.h>.
29490 [__ASSUME_32BITUIDS]: Make code unconditional.
29491 [!__ASSUME_32BITUIDS]: Remove conditional code.
29492 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29493 <kernel-features.h>.
29494 [__ASSUME_32BITUIDS]: Make code unconditional.
29495 [!__ASSUME_32BITUIDS]: Remove conditional code.
29496 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29497 <kernel-features.h>.
29498 [__ASSUME_32BITUIDS]: Make code unconditional.
29499 [!__ASSUME_32BITUIDS]: Remove conditional code.
29500 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29501 <kernel-features.h>.
29502 [__ASSUME_32BITUIDS]: Make code unconditional.
29503 [!__ASSUME_32BITUIDS]: Remove conditional code.
29504 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29505 <kernel-features.h>.
29506 [__ASSUME_32BITUIDS]: Make code unconditional.
29507 [!__ASSUME_32BITUIDS]: Remove conditional code.
29508 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29509 <kernel-features.h>.
29510 [__ASSUME_32BITUIDS]: Make code unconditional.
29511 [!__ASSUME_32BITUIDS]: Remove conditional code.
29512 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29513 <kernel-features.h>.
29514 [__ASSUME_32BITUIDS]: Make code unconditional.
29515 [!__ASSUME_32BITUIDS]: Remove conditional code.
29516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29517 <kernel-features.h>.
29518 [__ASSUME_32BITUIDS]: Make code unconditional.
29519 [!__ASSUME_32BITUIDS]: Remove conditional code.
29520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29521 <kernel-features.h>.
29522 [__ASSUME_32BITUIDS]: Make code unconditional.
29523 [!__ASSUME_32BITUIDS]: Remove conditional code.
29524 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29525 <kernel-features.h>.
29526 [__ASSUME_32BITUIDS]: Make code unconditional.
29527 [!__ASSUME_32BITUIDS]: Remove conditional code.
29528 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29529 <kernel-features.h>.
29530 [__NR_setresgid] (__setresgid): Do not declare.
29531 [__ASSUME_32BITUIDS]: Make code unconditional.
29532 [!__ASSUME_32BITUIDS]: Remove conditional code.
29533 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29534 <kernel-features.h>.
29535 [__NR_setresuid] (__setresuid): Do not declare.
29536 [__ASSUME_32BITUIDS]: Make code unconditional.
29537 [!__ASSUME_32BITUIDS]: Remove conditional code.
29538 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29539 <kernel-features.h>.
29540 [__ASSUME_32BITUIDS]: Make code unconditional.
29541 [!__ASSUME_32BITUIDS]: Remove conditional code.
29542 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29543 <kernel-features.h>.
29544 [__ASSUME_32BITUIDS]: Make code unconditional.
29545 [!__ASSUME_32BITUIDS]: Remove conditional code.
29546 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29547 <kernel-features.h>.
29548 [__ASSUME_32BITUIDS]: Make code unconditional.
29549 [!__ASSUME_32BITUIDS]: Remove conditional code.
29550 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29551 <kernel-features.h>.
29552 [__ASSUME_32BITUIDS]: Make code unconditional.
29553 [!__ASSUME_32BITUIDS]: Remove conditional code.
29554 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29555 <kernel-features.h>.
29556 [__ASSUME_32BITUIDS]: Make code unconditional.
29557 [!__ASSUME_32BITUIDS]: Remove conditional code.
29558 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29559 <kernel-features.h>.
29560 [__ASSUME_32BITUIDS]: Make code unconditional.
29561 [!__ASSUME_32BITUIDS]: Remove conditional code.
29562 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29563 <kernel-features.h>.
29564 [__ASSUME_32BITUIDS]: Make code unconditional.
29565 [!__ASSUME_32BITUIDS]: Remove conditional code.
29566 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29567 <kernel-features.h>.
29568 [__ASSUME_32BITUIDS]: Make code unconditional.
29569 [!__ASSUME_32BITUIDS]: Remove conditional code.
29570 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29571 <kernel-features.h>.
29572 [__ASSUME_32BITUIDS]: Make code unconditional.
29573 [!__ASSUME_32BITUIDS]: Remove conditional code.
29574 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29575 <kernel-features.h>.
29576 [__ASSUME_32BITUIDS]: Make code unconditional.
29577 [!__ASSUME_32BITUIDS]: Remove conditional code.
29578 * sysdeps/unix/sysv/linux/kernel-features.h
29579 (__ASSUME_SETRESUID_SYSCALL): Remove.
29580 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29581 (__ASSUME_32BITUIDS): Likewise.
29582 (__ASSUME_LDT_WORKS): Likewise.
29583 (__ASSUME_O_DIRECTORY): Likewise.
29584 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29585 architecture but not kernel version.
29586 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29587 (__ASSUME_MMAP2_SYSCALL): Likewise.
29588 (__ASSUME_STAT64_SYSCALL): Likewise.
29589 (__ASSUME_IPC64): Likewise.
29590 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29591 <kernel-features.h>.
29592 [__ASSUME_32BITUIDS]: Make code unconditional.
29593 [!__ASSUME_32BITUIDS]: Remove conditional code.
29594 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29595 <kernel-features.h>.
29596 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29597 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29598 132096]: Remove conditional code.
29599 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29601 <kernel-features.h>.
29602 [__ASSUME_32BITUIDS]: Make code unconditional.
29603 [!__ASSUME_32BITUIDS]: Remove conditional code.
29604 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29605 <kernel-features.h>.
29606 [__ASSUME_32BITUIDS]: Make code unconditional.
29607 [!__ASSUME_32BITUIDS]: Remove conditional code.
29608 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29609 <kernel-features.h>.
29610 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29611 unconditional.
29612 (__setresgid): Do not declare.
29613 [__ASSUME_32BITUIDS]: Make code unconditional.
29614 [!__ASSUME_32BITUIDS]: Remove conditional code.
29615 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29616 <kernel-features.h>.
29617 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29618 unconditional.
29619 (__setresuid): Do not declare.
29620 [__ASSUME_32BITUIDS]: Make code unconditional.
29621 [!__ASSUME_32BITUIDS]: Remove conditional code.
29622 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29623 <kernel-features.h>.
29624 [__ASSUME_32BITUIDS]: Make code unconditional.
29625 [!__ASSUME_32BITUIDS]: Remove conditional code.
29626 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29627 <kernel-features.h>.
29628 [__ASSUME_32BITUIDS]: Make code unconditional.
29629 [!__ASSUME_32BITUIDS]: Remove conditional code.
29630
a386f1cc
RH
296312012-05-25 Richard Henderson <rth@twiddle.net>
29632
29633 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29634 dl_hwcap to ifunc resolver.
29635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29636 elf_ifunc_invoke.
29637 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29638 dl_hwcap to ifunc resolver.
29639 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29640
b6550497
JM
296412012-05-24 Joseph Myers <joseph@codesourcery.com>
29642
29643 [BZ #14153]
29644 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29645 for |x| <= 2**-26, not 2**-57.
29646 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29647 exception.
29648
b0bc23a1
JL
296492012-05-24 Jeff Law <law@redhat.com>
29650
29651 * stdio-common/Makefile (tests): Add bug25.
29652 * stdio-common/bug25.c: New test.
29653
347c92e9
L
296542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29655
29656 [BZ #13576]
29657 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29658 multiple of MALLOC_ALIGNMENT in size.
29659 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29660
6bcc8b3f
JM
296612012-05-24 Joseph Myers <joseph@codesourcery.com>
29662
29663 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29664 Require >= 256.
29665 (FILENAME_MAX): Use macro-int-constant.
29666 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29667 (_IOFBF): Use macro-int-constant.
29668 (_IOLBF): Likewise.
29669 (_IONBF): Likewise.
29670 (SEEK_CUR): Likewise.
29671 (SEEK_END): Likewise.
29672 (SEEK_SET): Likewise.
29673 (TMP_MAX): Likewise.
29674 (EOF): Use macro-int-constant. Require < 0.
29675 (NULL): Use macro-constant. Require == 0.
29676 (stdin): Require type to be FILE *.
29677 (stdout): Likewise.
29678 (stderr): Likewise.
29679 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29680 macro-int-constant.
29681 (EXIT_SUCCESS): Likewise.
29682 (NULL): Use macro-constant. Require == 0.
29683 (RAND_MAX): Use macro-int-constant.
29684 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29685 [C99-based standards] (strtof): Require function.
29686 [C99-based standards] (strtold): Likewise.
29687 [C99-based standards] (strtoll): Likewise.
29688 [C99-based standards] (strtoull): Likewise.
29689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29690 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29691 [ISO || ISO99 || ISO11] (math.h): Likewise.
29692 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29693 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29695
d18ea0c5
AS
296962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29697
29698 [BZ #14132]
56d25bb8
AS
29699 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29700 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29701 * intl/dgettext.c (DCGETTEXT): Likewise.
29702 * intl/gettext.c (DCGETTEXT): Likewise.
29703 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29704 * posix/regex_internal.h (gettext): Likewise.
29705 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29706 Remove declaration.
29707 * include/argz.h (__argz_count_internal)
29708 (__argz_stringify_internal): Remove declaration.
29709 (__argz_count, __argz_stringify): Declare hidden proto.
29710 * intl/dcgettext.c: Remove use of INTDEF.
29711 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29712 * string/argz-stringify.c: Likewise.
29713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29715 Declare hidden proto.
d18ea0c5
AS
29716 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29717 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29718 Declare hidden proto.
29719 * include/stdio.h (__asprintf_internal): Don't declare.
29720 (__asprintf): Don't define as macro. Declare hidden proto.
29721 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29722 (__fsetlocking): Declare hidden proto.
29723 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29724 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29725 hidden proto.
29726 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29727 (_IO_setlinebuf): Remove use of INTUSE.
29728 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29729 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29730 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29731 Remove declaration.
29732 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29733 (_IO_do_flush): Remove use of INTUSE.
29734 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29735 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29736 (_IO_adjust_column, _IO_least_wmarker)
29737 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29738 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29739 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29740 (_IO_default_doallocate, _IO_wdefault_doallocate)
29741 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29742 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29743 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29744 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29745 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29746 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29747 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29748 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29749 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29750 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29751 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29752 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29753 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29754 proto.
29755 (_IO_flush_all_internal, _IO_adjust_column_internal)
29756 (_IO_default_uflow_internal, _IO_default_finish_internal)
29757 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29758 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29759 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29760 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29761 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29762 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29763 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29764 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29765 (_IO_file_close_internal, _IO_file_close_it_internal)
29766 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29767 (_IO_file_init_internal, _IO_file_attach_internal)
29768 (_IO_file_fopen_internal, _IO_file_read_internal)
29769 (_IO_file_sync_internal, _IO_file_seek_internal)
29770 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29771 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29772 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29773 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29774 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29775 (_IO_list_all_internal, _IO_link_in_internal)
29776 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29777 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29778 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29779 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29780 (_IO_do_write_internal, _IO_padn_internal)
29781 (_IO_getline_info_internal, _IO_getline_internal)
29782 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29783 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29784 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29785 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29786 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29787 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29788 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29789 with libc_hidden_ver, remove use of INTUSE.
29790 * libio/genops.c: Likewise.
29791 * libio/freopen.c: Likewise.
29792 * libio/freopen64.c: Likewise.
29793 * libio/iofclose.c: Likewise.
29794 * libio/iofdopen.c: Likewise.
29795 * libio/iofflush.c: Likewise.
29796 * libio/iofflush_u.c: Likewise.
29797 * libio/iofgets.c: Likewise.
29798 * libio/iofgets_u.c: Likewise.
29799 * libio/iofopen.c: Likewise.
29800 * libio/iofopncook.c: Likewise.
29801 * libio/iofread.c: Likewise.
29802 * libio/iofread_u.c: Likewise.
29803 * libio/ioftell.c: Likewise.
29804 * libio/iofwrite.c: Likewise.
29805 * libio/iogetline.c: Likewise.
29806 * libio/iogets.c: Likewise.
29807 * libio/iogetwline.c: Likewise.
29808 * libio/iopadn.c: Likewise.
29809 * libio/iopopen.c: Likewise.
29810 * libio/ioseekoff.c: Likewise.
29811 * libio/ioseekpos.c: Likewise.
29812 * libio/iosetbuffer.c: Likewise.
29813 * libio/iosetvbuf.c: Likewise.
29814 * libio/ioungetc.c: Likewise.
29815 * libio/ioungetwc.c: Likewise.
29816 * libio/iovdprintf.c: Likewise.
29817 * libio/iovsprintf.c: Likewise.
29818 * libio/iovsscanf.c: Likewise.
29819 * libio/memstream.c: Likewise.
29820 * libio/obprintf.c: Likewise.
29821 * libio/oldfileops.c: Likewise.
29822 * libio/oldiofclose.c: Likewise.
29823 * libio/oldiofdopen.c: Likewise.
29824 * libio/oldiofopen.c: Likewise.
29825 * libio/oldiopopen.c: Likewise.
29826 * libio/oldstdfiles.c: Likewise.
29827 * libio/putc.c: Likewise.
29828 * libio/setbuf.c: Likewise.
29829 * libio/setlinebuf.c: Likewise.
29830 * libio/stdfiles.c: Likewise.
29831 * libio/strops.c: Likewise.
29832 * libio/vasprintf.c: Likewise.
29833 * libio/vscanf.c: Likewise.
29834 * libio/vsnprintf.c: Likewise.
29835 * libio/vswprintf.c: Likewise.
29836 * libio/wfiledoalloc.c: Likewise.
29837 * libio/wfileops.c: Likewise.
29838 * libio/wgenops.c: Likewise.
29839 * libio/wmemstream.c: Likewise.
29840 * libio/wstrops.c: Likewise.
29841 * libio/__fpurge.c: Likewise.
29842 * libio/__fsetlocking.c: Likewise.
29843 * assert/assert.c: Likewise.
29844 * debug/fgets_chk.c: Likewise.
29845 * debug/fgets_u_chk.c: Likewise.
29846 * debug/fread_chk.c: Likewise.
29847 * debug/fread_u_chk.c: Likewise.
29848 * debug/gets_chk.c: Likewise.
29849 * debug/obprintf_chk.c: Likewise.
29850 * debug/vasprintf_chk.c: Likewise.
29851 * debug/vdprintf_chk.c: Likewise.
29852 * debug/vsnprintf_chk.c: Likewise.
29853 * debug/vsprintf_chk.c: Likewise.
29854 * malloc/mtrace.c: Likewise.
29855 * misc/error.c: Likewise.
29856 * misc/syslog.c: Likewise.
29857 * stdio-common/asprintf.c: Likewise.
29858 * stdio-common/fxprintf.c: Likewise.
29859 * stdio-common/getw.c: Likewise.
29860 * stdio-common/isoc99_fscanf.c: Likewise.
29861 * stdio-common/isoc99_scanf.c: Likewise.
29862 * stdio-common/isoc99_vfscanf.c: Likewise.
29863 * stdio-common/isoc99_vscanf.c: Likewise.
29864 * stdio-common/isoc99_vsscanf.c: Likewise.
29865 * stdio-common/printf-prs.c: Likewise.
29866 * stdio-common/printf_fp.c: Likewise.
29867 * stdio-common/printf_fphex.c: Likewise.
29868 * stdio-common/printf_size.c: Likewise.
29869 * stdio-common/putw.c: Likewise.
29870 * stdio-common/scanf.c: Likewise.
29871 * stdio-common/sprintf.c: Likewise.
29872 * stdio-common/tmpfile.c: Likewise.
29873 * stdio-common/vfprintf.c: Likewise.
29874 * stdio-common/vfscanf.c: Likewise.
29875 * stdlib/strfmon_l.c: Likewise.
29876 * sunrpc/openchild.c: Likewise.
29877 * sunrpc/xdr_stdio.c: Likewise.
29878 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29879 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29880
d6c33fda
RM
298812012-05-24 Roland McGrath <roland@hack.frob.com>
29882
c1487492
RM
29883 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29884
29885 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29886 in the third column, to generate for the shared library an IFUNC
29887 that uses _dl_vdso_vsym.
29888 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29889 * Makeconfig (object-suffixes-noshared): New variable.
29890
29891 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29892 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29893 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29894 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29895
d6c33fda
RM
29896 [BZ #14132]
29897 * include/sys/time.h (__gettimeofday): Remove macro.
29898 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29899 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29900 Remove INTDEF.
29901 (__gettimeofday): Add libc_hidden_def.
29902 (gettimeofday): Add libc_hidden_weak.
29903 * sysdeps/mach/gettimeofday.c: Likewise.
29904 * sysdeps/posix/gettimeofday.c: Likewise.
29905 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29906 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29908 (__gettimeofday_internal): Remove strong_alias.
29909 (__gettimeofday): Add libc_hidden_def.
29910 (gettimeofday): Add libc_hidden_weak.
29911 * sysdeps/unix/syscalls.list (gettimeofday):
29912 Remove __gettimeofday_internal alias.
29913
b5a2bbe6
L
299142012-05-24 Daniel Jacobowitz <drow@false.org>
29915 H.J. Lu <hongjiu.lu@intel.com>
29916
29917 [BZ #12495]
29918 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29919 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29920 (largebin_index_32_big): New.
29921 (largebin_index): Use it for 16-byte alignment.
29922 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29923 correction with front_misalign.
29924
cfba4fda
L
299252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29926
7f907421
L
29927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29929 Likewise.
29930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29931 Likewise.
29932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29933 Likewise.
29934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29935 Likewise.
29936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29937 Likewise.
29938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29939 Likewise.
29940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29941 Likewise.
29942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29943 Likewise.
29944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29945 Likewise.
29946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29947 Likewise.
29948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29949 Likewise.
29950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29951 Likewise.
29952
cfba4fda
L
29953 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29954 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29955
80bad0cc
JM
299562012-05-24 Joseph Myers <joseph@codesourcery.com>
29957
7a25eb06
JM
29958 [BZ #10846]
29959 [BZ #14036]
29960 * math/libm-test.inc (exp_test): Add test from bug 14036.
29961 (pow_test): Add test from bug 10846.
29962
795405f9
JM
29963 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29964 and other flags.
29965 (special_function): Do not include flags in test name.
29966 (parse_args): Likewise.
29967 * sysdeps/i386/fpu/libm-test-ulps: Update.
29968 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29969 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29972
80bad0cc
JM
29973 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29974 exceptions.
29975 * math/libm-test.inc ("Philosophy"): Update comment about
29976 exception testing.
29977 (UNDERFLOW_EXCEPTION): New macro.
29978 (UNDERFLOW_EXCEPTION_OK): Likewise.
29979 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29980 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29981 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29982 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29983 (INVALID_EXCEPTION_OK): Update value.
29984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29985 (OVERFLOW_EXCEPTION_OK): Likewise.
29986 (IGNORE_ZERO_INF_SIGN): Likewise.
29987 (test_exceptions): Handle underflow exceptions.
29988 (acos_test): Update for underflow exception expectations.
29989 (cexp_test): Likewise.
29990 (clog_test): Likewise.
29991 (clog10_test): Likewise.
29992 (csqrt_test): Likewise.
29993 (ctan_test): Likewise.
29994 (ctanh_test): Likewise.
29995 (exp_test): Likewise.
29996 (exp10_test): Likewise.
29997 (exp2_test): Likewise.
29998 (expm1_test): Likewise.
29999 (fma_test): Likewise.
30000 (j0_test): Likewise.
30001 (jn_test): Likewise.
30002 (nexttoward_test): Likewise.
30003 (pow_test): Likewise.
30004 (scalbn_test): Likewise.
30005 (scalbln_test): Likewise.
30006 (tan_test): Likewise.
30007 (y1_test): Likewise.
30008 * sysdeps/i386/fpu/libm-test-ulps: Update.
30009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30010
9e0e3d0b
DM
300112012-05-23 David S. Miller <davem@davemloft.net>
30012
30013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30014 (__libc_sigaction): Remove unused local variables.
30015
ccd0a08f
L
300162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30017
30018 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30019
62bdf9a6
PE
300202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30021
f8591f80
PE
30022 mktime: avoid signed integer overflow
30023 * time/mktime.c (__mktime_internal): Do not mishandle the case
30024 where diff == INT_MIN.
30025
94c7d826
PE
30026 mktime: simplify computation of average
30027 * time/mktime.c (ranged_convert): Use new time_t_avg function
30028 instead of rolling our own (probably-slower) code.
30029
ce73d683
PE
30030 mktime: do not assume signed right shift propagates sign bit
30031 * time/mktime.c (isdst_differ): New static function.
30032 (__mktime_internal): No need to normalize tm_isdst now.
30033 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30034 tm_isdst values.
30035
72a22e59
PE
30036 mktime: merge another wrapv change from gnulib
30037 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30038 from some compilers.
30039
68605433
PE
30040 mktime: remove incorrect attempt at unusual arithmetics
30041 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30042 The code didn't really work on such machines anyway.
30043 (TYPE_MINIMUM): Assume two's complement.
30044 (twos_complement_arithmetic): Verify that long_int and time_t
30045 are two's complement (or unsigned, in the latter case).
30046
03cf7fe3
PE
30047 mktime: check signed shifts on long_int and time_t, too
30048 * time/mktime.c (SHR): Check that shifts work as desired
30049 on the types long_int and time_t too, as SHR is used on
30050 such types.
30051
f04dfbc2
PE
30052 mktime: do not assume 'long' is wide enough
30053 * time/mktime.c (verify): Move decl up.
30054 (long_int): New type.
30055 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30056 to remove assumption in the code that 'long' is wide enough to
30057 store year values. This assumption is not true on x32 and on
30058 some non-glibc platforms.
30059
62bdf9a6
PE
30060 mktime: merge wrapv change from gnulib
30061 * time/mktime.c (WRAPV): New macro.
30062 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30063 (guess_time_tm, __mktime_internal): Do not assume that signed
30064 integer overflow wraps around; modern compilers generate code
30065 where this assumption is no longer valid.
30066
5e292e4f
L
300672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30068
30069 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30070 Replace "jmp L(pseudo_end)" with "ret".
30071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30072 Likewise.
30073
8caf8c87
AJ
300742012-05-23 Andreas Jaeger <aj@suse.de>
30075
30076 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30077 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30078
1a09dc56
AJ
300792012-05-23 Andreas Jaeger <aj@suse.de>
30080 Maximilian Attems <max@stro.at>
30081
30082 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30083 New macros.
30084
1c87aba0
L
300852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30086
30087 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30088 code so that pseudo_end is just ret and the stack pointer is
30089 correct also for static library in error case.
30090
40e45bd5
JM
300912012-05-23 Joseph Myers <joseph@codesourcery.com>
30092
c2670533
JM
30093 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30094 move to syscalls.list.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30099
40e45bd5
JM
30100 * manual/install.texi (Running make install): Do not mention Linux
30101 kernel version for which pt_chown is not needed.
30102 (Linux): Do not mention problems with nscd with 2.0 kernels.
30103 * INSTALL: Regenerated.
30104
be08eda5
AJ
301052012-05-23 Andreas Jaeger <aj@suse.de>
30106
30107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30108 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30109 macro.
30110 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30112 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30114 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30120 * sysdeps/unix/sysv/linux/bits/in.h
30121 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30122
a6a056bb
RM
301232012-05-22 Roland McGrath <roland@hack.frob.com>
30124
30125 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30126 (PREPARE_VERSION): Just use assert instead, it will be elided
30127 under [NDEBUG] anyway.
30128
c9009328
L
301292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30130
30131 * sysdeps/unix/sysv/linux/Makefile: Include
30132 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30133 (sysdep_routines): Remove sysctl.
c9009328
L
30134 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30135 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30136 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30137 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30138 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30139
73338355
AJ
301402012-05-22 Andreas Jaeger <aj@suse.de>
30141
30142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30143 that pseudo_end is just ret and the stack pointer is correct also
30144 for static library in error case.
30145
d44638b0
PP
301462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30147
30148 [BZ #14122]
30149 * nss/nsswitch.c (defconfig_entries): New variable.
30150 (__nss_database_lookup): Don't leak defconfig entries.
30151 (nss_parse_service_list): Don't leak on error paths.
30152 (free_database_entries): New function.
30153 (free_defconfig): New function.
30154 (free_mem): Move common code to free_database_entries.
30155
31a39bd8
L
301562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30157
da0331a8
L
30158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30159 Add arch_prctl.
30160 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30161
31a39bd8
L
30162 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30163 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30165 New macro.
30166 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30167 (INTERNAL_SYSCALL_TYPES): Likewise.
30168 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30169 (LOAD_REGS_TYPES_[1-6]): Likewise.
30170 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30171 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30172
45470df3
AZ
301732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30174
30175 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30176 copysignl for GLIBC_2_0.
30177 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30178 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30180 logbl for GLIBC_2_0.
30181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30182 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30183
98a61bcb
L
301842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30185
a4f6e481
L
30186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30188
f63d5db6
L
30189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30190 Use "neg %eax".
30191
98a61bcb
L
30192 * time/mktime.c: Update copyright years.
30193
95770f14
PE
301942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30195
6226efbd
PE
30196 mktime: merge comment-quoting-style change from gnulib
30197 * time/mktime.c: Quote 'like this' in comments.
30198 The GNU coding standards suggest that we no longer quote `like this',
30199 as "`" and "'" are typically rendered asymmetrically nowadays.
30200 The typical gnulib style is to quote 'like this' when quoting
30201 code, and "like this" when quoting English.
30202
b99e4f78
PE
30203 * time/mktime.c (compile-command): Add "-I.".
30204
643e01e6
PE
30205 mktime: merge mktime-internal.h change from gnulib
30206 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30207
2554247d
PE
30208 mktime: merge time_r change from gnulib
30209 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30210
826dd0ab
PE
30211 mktime: merge DEBUG change from gnulib
30212 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30213 case system <time.h> has a #define.
30214
bd83aabe
PE
30215 mktime: merge <sys/types.h> change from gnulib
30216 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30217 since <time.t> is now guaranteed to define time_t.
30218
95770f14
PE
30219 mktime: merge HAVE_CONFIG_H change from gnulib
30220 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30221
5e1a27a9
L
302222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30223
0e44a77e
L
30224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30225 Use "neg %eax".
30226
5e1a27a9
L
30227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30228 __rlim_t cast.
30229 (struct rusage): Use anonymous union to pad each field to
30230 __syscall_slong_t.
30231
46259bec
DM
302322012-05-21 David S. Miller <davem@davemloft.net>
30233
30234 * Makefules (o-iterator): Remove .s cases.
30235 (compile-command.s): Delete.
30236 (COMPILE.s): Delete.
30237 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30238
59f0c22e
JM
302392012-05-21 Joseph Myers <joseph@codesourcery.com>
30240
30241 * configure.in (libc_cv_predef_stack_protector): Only consider
30242 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30243 * configure: Regenerated.
30244
20c07380
L
302452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30246
bbb3154b
L
30247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30248 New macro. Use R*LP on int and pointer.
30249 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30250 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30251 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30252 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30253
20c07380
L
30254 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30255 [__WORDSIZE_TIME64_COMPAT32] instead of
30256 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30257 (struct utmp): Likewise.
30258 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30259 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30260 Renamed to ...
30261 (__WORDSIZE_TIME64_COMPAT32): This.
30262 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30263 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30264 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30265 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30266 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30267 (__WORDSIZE_TIME64_COMPAT32): New macro.
30268
d8d1017e
AJ
302692012-05-21 Andreas Jaeger <aj@suse.de>
30270
30271 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30272 only if [SHARED]. Add prototype for __wcschr_ia32.
30273
6c7fb145
RM
302742012-05-21 Roland McGrath <roland@hack.frob.com>
30275
30276 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30277 of %rbp unmolested in the jmp_buf while mangling the low bits.
30278 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30279 unmolested high bits of %rbp while demangling the low bits.
30280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30281
66274218
AJ
302822012-05-21 Andreas Jaeger <aj@suse.de>
30283
07c58f8f
AJ
30284 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30285 * sunrpc/svc_simple.c: Use it for registerrpc.
30286 * sunrpc/xcrypt.c: Use it for passwd2des.
30287
66274218
AJ
30288 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30289
61f65140
L
302902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30291
30292 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30293 Don't define if [__SYSCALL_WORDSIZE != 32].
30294 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30295 New macro.
30296
5fefb436
AJ
302972012-05-21 Bruno Haible <bruno@clisp.org>
30298 Andreas Jaeger <aj@suse.de>
30299
30300 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30301 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30302 inptr and inend for must_buffer_ch.
30303 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30304 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30305 * stdio-common/Makefile (tests): Remove bug15.
30306 (bug15-ENV): Remove macro.
30307 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30308 anymore.
30309
d8e272ab
AJ
303102012-05-19 Andreas Jaeger <aj@suse.de>
30311 Roland McGrath <roland@hack.frob.com>
30312
30313 * manual/contrib.texi: Completely rewritten. It contains now an
30314 alphabetical list of contributors and their contributions.
30315
4a56a162
RH
303162012-05-21 Richard Henderson <rth@twiddle.net>
30317
30318 * misc/getauxval.c (__getauxval): Use unsigned long int.
30319 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30320 (getauxval): Use unsigned long int.
30321
d024d23c
L
303222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30323
30324 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30325
cbc00a03
RM
303262012-05-21 Roland McGrath <roland@hack.frob.com>
30327
30328 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30329 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30330 __alignof__ (long double).
30331
478143fa
AZ
303322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30333
30334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30335
c7683a6d
RH
303362012-05-20 Richard Henderson <rth@twiddle.net>
30337
30338 * misc/getauxval.c: New file.
30339 * misc/sys/auxv.h: New file.
30340 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30341 (routines): Add getauxval.
30342 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30344 * elf/dl-sysdep.c (_dl_auxv): Remove.
30345 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30346 * elf/dl-support.c (_dl_auxv): New variable.
30347 (_dl_aux_init): Initialize it.
30348 * manual/startup.texi (Auxiliary Vector): New node.
30349 * sysdeps/generic/bits/hwcap.h: New file.
30350 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30351 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30352 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30353 * sysdeps/sparc/sysdep.h: ... here. Include it.
30354 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30357 Update.
c7683a6d
RH
30358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30366
a6f1845d
AZ
303672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30368
30369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30370
cbcbe830
DM
303712012-05-19 David S. Miller <davem@davemloft.net>
30372
30373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30374
e0b16cc2
JM
303752012-05-19 Joseph Myers <joseph@codesourcery.com>
30376
30377 [BZ #14123]
30378 * math/s_ccosh.c: Include <float.h>
30379 (__ccosh): Avoid internal overflow calculating sinh and cosh
30380 values before multiplying by sin and cos values.
30381 * math/s_ccoshf.c: Likewise.
30382 * math/s_ccoshl.c: Likewise.
30383 * math/s_csin.c: Likewise.
30384 * math/s_csinf.c: Likewise.
30385 * math/s_csinl.c: Likewise.
30386 * math/s_csinh.c: Likewise.
30387 * math/s_csinhf.c: Likewise.
30388 * math/s_csinhl.c: Likewise.
30389 * math/libm-test.inc (ccos_test): Add more tests.
30390 (ccosh_test): Likewise.
30391 (csin_test): Likewise.
30392 (csinh_test): Likewise.
30393 * sysdeps/i386/fpu/libm-test-ulps: Update.
30394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395
6ad13e08
L
303962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30397
f66f0ce8
L
30398 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30399 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30400
6ad13e08
L
30401 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30402
b1d072a7
JM
304032012-05-19 Joseph Myers <joseph@codesourcery.com>
30404
30405 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30406 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30407 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30408 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30409 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30410 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30411 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30412 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30413 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30414 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30415 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30416 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30417 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30418 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30419 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30420 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30421 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30422 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30423 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30424 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30425 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30426 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30427 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30428 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30429 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30430 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30431 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30432 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30433 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30434 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30435 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30436
9eae47cb
AJ
304372012-05-18 Andreas Jaeger <aj@suse.de>
30438
30439 * csu/.gitignore: Delete.
30440
bb07f69f
L
304412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30442
30443 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30444 (timex): Use __syscall_slong_t.
30445
e6bdb741
AJ
304462012-05-18 Andreas Jaeger <aj@suse.de>
30447 Carlos O'Donell <carlos_odonell@mentor.com>
30448
30449 * manual/install.texi (Configuring and compiling): Update
30450 description about files modified in the source directory.
d6c33fda 30451 * INSTALL: Regenerated.
e6bdb741 30452
1b74487e
L
304532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30454
30455 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30456 value. Use "or" to set return value to -1.
30457 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30458 negate return value.
30459
a88b64b9
TMQMF
304602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30461
57f41c40
AS
30462 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30463 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30464 failure if the compiler has Graphite support disabled.
30465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30466 Likewise.
57f41c40
AS
30467 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30468 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30470 Likewise.
30471
3707636e
L
304722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30473
610b8622
L
30474 * sysdeps/x86_64/x32/_itoa.h: New file.
30475
7cd195df
L
30476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30477 getdents system call only if kernel and user dirents have the
30478 same d_ino and d_off.
30479
94b07d20
L
30480 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30481 LLONG_MAX != LONG_MAX.
30482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30483 (_fitoa_word): Likewise.
30484
18298070
L
30485 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30486 years.
30487 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30488 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30489 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30490
553c7ea4
L
30491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30492 include <bits/wordsize.h>. Check __x86_64__ instead of
30493 __WORDSIZE.
30494 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30495 if __x86_64__ is defined. Use anonymous union on fpstate.
30496
3707636e
L
30497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30498 anonymous union.
30499
b53ef01a
AS
305002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30501
37fb1dc0
AS
30502 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30503 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30504 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30505 Refer to _rtld_local_ro instead of _rtld_global_ro.
30506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30507 Likewise.
30508 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30509 Likewise.
30510 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30511 Likewise.
30512 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30513 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30514 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30515
b53ef01a
AS
30516 * sysdeps/powerpc/powerpc32/dl-machine.c
30517 (__elf_machine_runtime_setup) [PROF]: Don't reference
30518 _dl_prof_resolve.
30519
7a185db2
AJ
305202012-05-18 Andreas Jaeger <aj@suse.de>
30521
30522 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30523 function only available for GCCs before 3.4 since GCC 3.4
30524 introduced a builtin.
30525 (lrint): Likewise.
30526 (llrintf): Likewise.
30527 (llrint): Likewise.
30528 (fmaxf): Likewise.
30529 (fmax): Likewise.
30530 (fminf): Likewise.
30531 (fmin): Likewise.
30532 (rint): Likewise.
30533 (rintf): Likewise.
30534 (nearbyint): Likewise.
30535 (nearbyintf): Likewise.
30536 (ceil): Likewise.
30537 (ceilf): Likewise.
30538 (floor): Likewise.
30539 (floorf): Likewise.
30540
3e5aef87
L
305412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30542
428bd707
L
30543 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30544 on both fields and cast pointer to __syscall_ulong_t.
30545
3e5aef87
L
30546 * bits/types.h (__fsword_t): New type.
30547 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30548 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30550 (__FSWORD_T_TYPE): Likewise.
30551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30552 (__FSWORD_T_TYPE): Likewise.
30553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30554 (__FSWORD_T_TYPE): Likewise.
30555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30556 (__FSWORD_T_TYPE): Likewise.
30557 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30558 __SWORD_TYPE with __fsword_t.
30559 (statfs64): Likewise.
30560
1ba7c3dc
DM
305612012-05-17 David S. Miller <davem@davemloft.net>
30562
30563 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30564
59910343
AJ
305652012-05-17 Andreas Jaeger <aj@suse.de>
30566
30567 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30568 warning.
30569
2e4c1e9e
L
305702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30571
30572 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30573
de7f5ce7
AJ
305742012-05-17 Andreas Jaeger <aj@suse.de>
30575
30576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30577 when it is used.
30578
286abc3d
CM
305792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30580
30581 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30582
477cc68e
L
305832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30584
30585 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30586 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30587
1a0994f5
CD
305882012-05-17 Andreas Jaeger <aj@suse.de>
30589 Carlos O'Donell <carlos_odonell@mentor.com>
30590
30591 [BZ #14059]
30592 * sysdeps/x86_64/multiarch/init-arch.h
30593 (bit_YMM_Usable): Rename to...
30594 (bit_AVX_Usable): ... this.
30595 (bit_FMA4_Usable): New macro.
30596 (bit_XMM_state): New macro.
30597 (bit_YMM_state): New macro.
30598 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30599 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30600 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30601 (CPUID_OSXSAVE): New macro.
30602 (CPUID_AVX): New macro.
30603 (CPUID_FMA4): New macro.
30604 (index_YMM_Usable): Rename to...
30605 (index_AVX_Usable): ... this.
30606 (HAS_AVX): Use HAS_ARCH_FEATURE.
30607 (HAS_FMA4): Likewise.
30608 (HAS_YMM_USABLE): Remove.
30609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30610 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30611 are present.
30612 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30613 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30614 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30615 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30616 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30617
0af797de
CM
306182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30619
30620 * math/libm-test.c: Support platforms without multiple rounding modes.
30621 * math/bug-nextafter.c: Support platforms without FP exceptions.
30622 * math/bug-nexttoward.c: Likewise.
30623 * math/test-fenv.c: Likewise.
30624 * math/test-misc.c: Likewise.
30625 * stdlib/bug-getcontext.c: Likewise.
30626
e39745ff
AJ
306272012-05-17 Andreas Jaeger <aj@suse.de>
30628
30629 * manual/examples/search.c (critter_cmp): Change signature to
30630 avoid warnings.
30631 * manual/string.texi (Collation Functions): Likewise.
30632
48970aba
L
306332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30634
30635 * bits/types.h: Fold copyright years.
30636 * bits/typesizes.h: Likewise.
30637 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30641 * time/time.h: Likewise.
30642
bedee953
PP
306432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30644
30645 [BZ #208]
30646 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30647 in instead of returning them. Return void.
30648 (__libc_mallinfo): Accumulate over all arenas.
30649 (__malloc_stats): Adjust for change in int_mallinfo interface.
30650
61653dfb
RM
306512012-05-16 Roland McGrath <roland@hack.frob.com>
30652
30b99d79
RM
30653 [BZ #10375]
30654 * configure.in (NM): Add AC_CHECK_TOOL for it.
30655 (libc_extra_cflags): New substituted variable.
30656 Check for -fstack-protector being used implicitly.
30657 * configure: Regenerated.
30658 * config.make.in (config-extra-cflags): New variable,
30659 gets @libc_extra_cflags@.
30660 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30661
61653dfb
RM
30662 [BZ #10375]
30663 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30664 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30665 * configure: Regenerated.
30666 * config.make.in (CPPUNDEFS): New substituted variable.
30667 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30668 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30669 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30670
661768bb
L
306712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30674 (mq_attr): Use __syscall_slong_t.
30675
d4261567
L
306762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30677
30678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30679 Check __x86_64__ instead of __WORDSIZE.
30680 (_STAT_VER_LINUX): Likewise.
30681 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30682 __syscall_ulong_t and __syscall_slong_t.
30683 (stat64): Likewise.
30684
cf3ff365
L
306852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30686
30687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30688
76cf3e4d
L
306892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30692
a637753a
L
306932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30694
30695 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30696 __syscall_ulong_t.
30697
d5e05119
L
30698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30699 include <bits/wordsize.h>. Check __x86_64__ instead of
30700 __WORDSIZE.
30701 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30702 defined.
30703 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30704
f62ee380
L
30705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30706 include <bits/wordsize.h>. Check __x86_64__ instead of
30707 __WORDSIZE.
30708 (user_regs_struct): Use "__extension__ unsigned long long"
30709 instead of "unsigned long" if __x86_64__ is defined.
30710 (user): Likewise. Pad after pointer field if __ILP32__ is
30711 defined.
30712
4e124ced
JM
307132012-05-16 Joseph Myers <joseph@codesourcery.com>
30714
6a3951a0
JM
30715 * configure.in (makeinfo): Require version 4.5 or later. Allow
30716 versions 5 to 9.
30717 * configure: Regenerated.
30718 * manual/install.texi (texinfo): Increase version requirement to
30719 4.5 or later.
30720 * INSTALL: Regenerated.
30721
4e124ced
JM
30722 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30723
953ca31a
L
307242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30725
30726 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30727
617aca05
L
30728 * sysdeps/x86_64/x32/ffs.c: New file.
30729
5762f7ae
L
30730 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30731 __syscall_ulong_t.
30732 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30733 defined. Use __syscall_ulong_t.
30734 (shminfo): Use __syscall_ulong_t.
30735 (shm_info): Likewise.
30736
a26b6856
L
30737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30738 __syscall_ulong_t.
30739
cb2b9ef7
L
30740 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30741 <bits/wordsize.h>.
30742 (msgqnum_t): Use __syscall_ulong_t.
30743 (msglen_t): Likewise.
30744 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30745 __syscall_ulong_t.
30746
34683bb0
L
30747 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30748 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30749
84a68786
L
30750 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30751
48baa5f1
L
30752 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30753 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30754
180be88b
L
30755 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30756 __syscall_slong_t.
30757
5e90c8ad
L
30758 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30759 include <bits/wordsize.h>. Check __x86_64__ instead of
30760 __WORDSIZE.
30761
23dfb58b
L
30762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30763 "unsigned long long int" if __x86_64__ is defined.
30764 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30765
ce5d54b0
L
30766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30768 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30769
13dc9eac
L
30770 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30771 <stdint.h>.
30772 (GET_PC): Cast to uintptr_t first.
30773 (GET_FRAME): Likewise.
30774 (GET_STACK): Likewise.
30775
a7895d15
L
30776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30777 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30778 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30779 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30780 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30781 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30782 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30783 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30784 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30785 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30786 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30787 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30788 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30789 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30791 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30792 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30793 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30795 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30801 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30802 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30803 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30805
656416c9
AS
308062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30807
5bd66283
AS
30808 * Makerules (+depfiles): Also collect depfiles from .oS in
30809 $(extra-objs).
30810 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30811 .oS, $(libnldbl-routines)).
30812
656416c9
AS
30813 * Makerules (native-compile-mkdep-flags): Define.
30814 * sunrpc/Makefile (extra-objs): Add $(addprefix
30815 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30816 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30817 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30818 calling $(make-target-directory).
30819
a46f2169
L
308202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30821
30822 * bits/types.h (__snseconds_t): Removed.
30823 * time/time.h (struct timespec): Replace __snseconds_t with
30824 __syscall_slong_t.
30825 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30826 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30827 Likewise.
30828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30829 (__SNSECONDS_T_TYPE): Likewise.
30830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30831 (__SNSECONDS_T_TYPE): Likewise.
30832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30833 (__SNSECONDS_T_TYPE): Likewise.
30834
6af6528b
L
308352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30836
30837 * sysdeps/mach/hurd/bits/typesizes.h
30838 (__SYSCALL_SLONG_TYPE): New macro.
30839 (__SYSCALL_ULONG_TYPE): Likewise.
30840
de986b56
L
308412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30842
30843 * bits/types.h (__syscall_slong_t): New type.
30844 (__syscall_ulong_t): Likewise.
30845
30846 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30847 (__SYSCALL_ULONG_TYPE): Likewise.
30848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30849 (__SYSCALL_SLONG_TYPE): Likewise.
30850 (__SYSCALL_ULONG_TYPE): Likewise.
30851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30852 (__SYSCALL_SLONG_TYPE): Likewise.
30853 (__SYSCALL_ULONG_TYPE): Likewise.
30854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30855 (__SYSCALL_SLONG_TYPE): Likewise.
30856 (__SYSCALL_ULONG_TYPE): Likewise.
30857
85736dc7
L
308582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30859
30860 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30861 Add sigaltstack-offsets.sym.
30862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30863 <sigaltstack-offsets.h>.
30864 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30865 longjmp_msg pointer.
30866 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30867 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30868 signal stack.
30869 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30870
cc03b296
JM
308712012-05-15 Joseph Myers <joseph@codesourcery.com>
30872
a9538892
JM
30873 * elf/stackguard-macros.h: Remove file.
30874 * sysdeps/generic/stackguard-macros.h: New file.
30875 * sysdeps/i386/stackguard-macros.h: Likewise.
30876 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30877 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30878 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30879 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30880 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30881 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30882 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30883 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30884 <elf/stackguard-macros.h>.
30885
cc03b296
JM
30886 [BZ #14109]
30887 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30888 __aligned__ in attribute.
30889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30890 (gregset_t): Likewise.
30891
93171016
L
308922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30893
30894 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30895 * sysdeps/x86_64/64/Implies-after: Here. New file.
30896 * sysdeps/x86_64/x32/Implies-after: New file.
30897
d86813a0
L
308982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30899
30900 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30901 and access return value for _dl_profile_fixup. Use R10_LP to
30902 load frame size.
30903
2953ec75
L
309042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30905
30906 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30907
3b550e9e
L
309082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30909
30910 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30911 * sysdeps/x86_64/x32/sysdep.h: New file.
30912
eda41706
L
309132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30914
30915 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30916 * sysdeps/x86_64/setjmp.S: Likewise.
30917
9ea01d93
AZ
309182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30919
30920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30922 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30923 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30924 remove unused global constant.
30925
02a91938
CM
309262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30927
30928 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30929 include of <not-cancel.h>.
30930
6540185f
RM
309312012-05-15 Roland McGrath <roland@hack.frob.com>
30932
30933 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30934
509072a0
AJ
309352012-05-15 Jeff Law <law@redhat.com>
30936 Andreas Jaeger <aj@suse.de>
30937
30938 [BZ #13594]
30939 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30940 out from...
30941 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30942 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30944 code changing __hst_map_handle.map.
30945
ba75122d
RM
309462012-05-15 Roland McGrath <roland@hack.frob.com>
30947
30948 * configure.in (sysnames): Look for Implies-before and Implies-after
30949 files.
30950 * configure: Regenerated.
30951
890d8bd8
L
309522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30953
30954 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30955 8-byte data alignment with LP_SIZE alignment.
30956
f6ee6623
L
309572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30960 into R10_LP.
30961
ea2626f6
L
309622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30965
085f715e
L
309662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30967
30968 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30969 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30971 Likewise.
30972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30973
be8498fc
L
309742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30975
30976 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30977 (stackinfo_sub_sp): Likewise.
30978
70bc83b9
L
309792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30980
30981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30982 RAX_LP.
30983
9bc0b730
L
309842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30985
30986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30987 into R*_LP.
30988
6d2850e7
L
309892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30990
30991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30992 sizes into R*_LP.
30993
3cb84561
L
309942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30997
54e2ed81
L
309982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30999
31000 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31001 into R11_LP and load __x86_64_shared_cache_size_half into
31002 R8_LP.
31003
8a17f349
L
310042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31005
31006 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31007 R8_LP.
31008
777b1eea
AZ
310092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31010
31011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31012 logb for POWER7.
31013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31014 logbf for POWER7.
31015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31016 logbl for POWER7.
31017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31018 powerpc32/power7/fpu/s_logb.c via #include.
31019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31020 powerpc32/power7/fpu/s_logbf.c via #include.
31021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31022 powerpc32/power7/fpu/s_logbl.c via #include.
31023
d20d4ac2
JM
310242012-05-15 Joseph Myers <joseph@codesourcery.com>
31025
31026 * README.libm: Remove file.
31027
6cdef1ab
L
310282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31029
31030 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31031 count for x32. Use R*_LP and omit operand-size suffix.
31032
0b254d8f
L
310332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31034
31035 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31036 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31037 * sysdeps/x86_64/x32/shlib-versions: New file.
31038
ceb809dc
RM
310392012-05-14 Roland McGrath <roland@hack.frob.com>
31040
31041 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31042 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31043 Use _dl_fatal_printf instead.
31044
37f1abd4
JM
310452012-05-14 Joseph Myers <joseph@codesourcery.com>
31046
31047 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31048 set if not set by the user. Do not allow for being unset.
31049 * sysdeps/unix/sysv/linux/configure: Regenerated.
31050
11de3a33
L
310512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31052
31053 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31054 the `q' suffix from lea and replace .quad with ASM_ADDR.
31055
e02f153a
L
310562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31059 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31060 instead of $17.
31061 (PTR_DEMANGLE): Likewise.
31062
520ae0fd
L
310632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31066 (LP_OP): Likewise.
31067 (ASM_ADDR): Likewise.
31068 (RAX_LP): Likewise.
31069 (RBP_LP): Likewise.
31070 (RBX_LP): Likewise.
31071 (RCX_LP): Likewise.
31072 (RDI_LP): Likewise.
31073 (RSI_LP): Likewise.
31074 (RSP_LP): Likewise.
31075 (R8_LP): Likewise.
31076 (R9_LP): Likewise.
31077 (R10_LP): Likewise.
31078 (R10_LP): Likewise.
31079 (R11_LP): Likewise.
31080 (R12_LP): Likewise.
31081 (R13_LP): Likewise.
31082 (R14_LP): Likewise.
31083 (R15_LP): Likewise.
31084
b985be81
L
310852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31086
31087 * sysdeps/x86_64/x32/dl-machine.h: New file.
31088
6a4888ff
AJ
310892012-05-14 Andreas Jaeger <aj@suse.de>
31090
31091 * manual/Makefile (subdir): Remove export of subdir.
31092 (all): Remove target.
31093 (.PHONY): Remove all from list.
31094 (mkinstalldirs): Remove.
31095 (.PHONY): Remove installdirs from list.
31096 ($(inst_infodir)/libc.info): Use make-target-directory.
31097 (installdirs): Remove.
31098 (subdir_%): Remove.
31099 (glibc-targets): Remove.
31100 (lib): Remove.
31101 (stubs): Remove.
31102 ($(objpfx)stubs ../po/manual.pot): Remove.
31103 ($(objpfx)stamp%): Remove.
31104 (make-target-directory): Remove.
31105 (subdir_install): Remove.
31106 (routines): Remove.
31107 (aux): Remove.
31108 (sources): Remove.
31109 (objects): Remove.
31110 (headers): Remove.
31111
31112 [BZ #13750]
31113 * manual/.gitignore: Remove, it's not needed anymore.
31114 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31115 all files in it.
31116 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31117 directory.
31118 (texis): Renamed to $(objpfx)texis.
31119 (texis-path): New, contains path to generated files.
31120 (chapters.%): Use texis-path for complete path, add extra argument
31121 libc-texinfo.sh.
31122 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31123 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31124 (summary,texi, stamp-summary): Use complete path of
31125 files. Generate files in build dir.
31126 (dir-add.texi): Build in build dir.
31127 (libm-err.texi,stamp-libm-err): Likewise.
31128 (version.texi, stamp-version): Likewise.
31129 (.%c.texi): Likewise.
31130 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31131 (mostlyclean): Remove target.
31132 (realclean): Remove target.
31133 (generated): Add new variable with contents from mostlyclean and
31134 realclean, remove entries duplicated in common-mostlyclean, add
31135 stamp-libm-err and stamp-version.
31136 (generated-dirs): Add libc directory.
31137 ($(inst_infodir)/libc.info): Install files from build dir.
31138
31139 * manual/install.texi (Configuring and compiling): Adjust since
31140 the info files are not part of the tar ball anymore.
31141
7ac77294
AJ
311422012-05-14 Andreas Jaeger <aj@suse.de>
31143
31144 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31145 variable.
31146
ffb7875d
JM
311472012-05-14 Joseph Myers <joseph@codesourcery.com>
31148
31149 [BZ #13717]
31150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31151 to 2.2.0 where earlier.
31152 * sysdeps/unix/sysv/linux/configure: Regenerated.
31153 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31154 Remove conditional code.
31155 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31156 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31157 Remove conditional code.
31158 [!__NR_lchown]: Likewise.
31159 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31160 [__NR_lchown]: Likewise.
31161 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31162 comment referencing __ASSUME_LCHOWN_SYSCALL.
31163 * sysdeps/unix/sysv/linux/i386/sigaction.c
31164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31166 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31167 Remove conditional code.
31168 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31169 (__protocol_available): Remove #if 0 code.
31170 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31171 conditional code.
31172 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31173 * sysdeps/unix/sysv/linux/kernel-features.h
31174 (__ASSUME_GETCWD_SYSCALL): Don't define.
31175 (__ASSUME_REALTIME_SIGNALS): Likewise.
31176 (__ASSUME_PREAD_SYSCALL): Likewise.
31177 (__ASSUME_PWRITE_SYSCALL): Likewise.
31178 (__ASSUME_POLL_SYSCALL): Likewise.
31179 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31180 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31181 non-SPARC.
31182 (__ASSUME_SIOCGIFNAME): Don't define.
31183 (__ASSUME_MSG_NOSIGNAL): Likewise.
31184 (__ASSUME_SENDFILE): Define unconditionally.
31185 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31186 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31187 conditional code.
31188 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31189 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31191 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31192 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31193 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31194 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31199 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31205 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31219 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31220 Remove conditional code.
31221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31222 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31223 Remove conditional code.
31224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31226 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31227 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31228 Remove conditional code.
31229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31230 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31231 Remove conditional code.
31232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31233 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31234 Remove conditional code.
31235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31236 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31237 Remove conditional code.
31238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31239 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31240 Remove conditional code.
31241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31242 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31245 * sysdeps/unix/sysv/linux/sigaction.c
31246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31248 * sysdeps/unix/sysv/linux/sigpending.c
31249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31251 * sysdeps/unix/sysv/linux/sigprocmask.c
31252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31254 * sysdeps/unix/sysv/linux/sigsuspend.c
31255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31257 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31258 (__libc_missing_rt_sigs): Remove.
31259 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31260 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31261 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31262 Remove conditional code.
31263 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31264 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31265 return 1.
31266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31267 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31268 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31270
1bfb7291
AJ
312712012-05-14 Andreas Jaeger <aj@suse.de>
31272
caae5a81
AJ
31273 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31274 it's not used in glibc.
31275 (__coshm1): Likewise.
31276 (__acosh1p): Likewise.
31277 (__sgn): Likewise.
31278
1bfb7291
AJ
31279 * manual/string.texi (Copying and Concatenation): Add missing
31280 variable in concat example.
31281 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31282
c044d724
L
312832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31284
144c5467 31285 [BZ #14103]
c044d724
L
31286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31287 __builtin_clzl with __builtin_clzll.
31288
2523c62b
L
312892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31290
31291 [BZ #14104]
31292 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31293 libc_freeres_ptr.
31294
d7bb4c42
LD
312952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31296
31297 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31298 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31299 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31300 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31301
9dc4e1fb
MF
313022012-05-14 Mike Frysinger <vapier@gentoo.org>
31303
31304 * NEWS: Update ia64 info.
31305
c7df0112
AS
313062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31307
31308 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31309 used as bcopy.
31310
dc70356c
TS
313112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31312
31313 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31314 * sysdeps/unix/syscalls.list (dup3): Likewise.
31315 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31316 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31317
9fb1a21f
L
313182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31319
31320 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31321 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31322
4822a2a5
L
313232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31324
31325 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31326 thread pointer.
31327 (TLS_IE): Use mov/add instead of movq/addq to load thread
31328 pointer.
31329 (TLS_GD_PREFIX): New.
31330 (TLS_GD): Use it.
31331
842b81d6
DM
313322012-05-11 David S. Miller <davem@davemloft.net>
31333
31334 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31335 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31336 (_FPU_SETCW): Likewise.
31337
1cf463cd
L
313382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31339
31340 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31341 is 32-byte aligned.
31342
60cc4a18
AS
313432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31344
31345 [BZ #11837]
31346 * iconvdata/gb18030.c: Update tables.
31347 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31348 characters specially.
31349 (BODY for TO_LOOP): Add encoding of missing ranges.
31350
febb44a4
TS
313512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31352
31353 [BZ #13673]
31354 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31355 * sysdeps/mach/hurd/dup3.c: Likewise.
31356 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31357 * sysdeps/powerpc/memmove.c:: Likewise.
31358
0a10fb9e
L
313592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31360
31361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31362 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31363
df8a552f
L
313642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31365
31366 * elf/elf.h (R_X86_64_RELATIVE64): New.
31367 (R_X86_64_NUM): Updated.
31368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31369 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31370 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31371 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31372 tst-quad1pie tst-quad2pie
31373 (modules-names): Add tst-quadmod1 tst-quadmod2.
31374 ($(objpfx)tst-quad1): New dependency.
31375 ($(objpfx)tst-quad2): Likewise.
31376 ($(objpfx)tst-quad1pie): Likewise.
31377 ($(objpfx)tst-quad2pie): Likewise.
31378 * sysdeps/x86_64/tst-quad1.c: New file.
31379 * sysdeps/x86_64/tst-quad1pie.c: New file.
31380 * sysdeps/x86_64/tst-quad2.c: Likewise.
31381 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31382 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31383 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31384 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31385 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31386
f34d6f84
ST
313872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31388
f42d41d1
ST
31389 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31390 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31391 * streams/stropts.h (t_scalar_t): Define type.
31392
3c3571fc
ST
31393 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31394 (_PATH_PRESERVE): Set to "/var/lib".
31395 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31396
61f06bd3
ST
31397 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31398 instead of int.
31399
918d4d71
ST
31400 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31401 if __dir_mkfile succeeded.
31402
f34d6f84
ST
31403 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31404 checking for _hurd_dtablesize. Unlock it right after having
31405 finished _hurd_dtable allocation.
31406
10589b4a
TS
314072012-05-10 Thomas Schwinge <thomas@schwinge.name>
31408
674cdbc7
TS
31409 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31410 * sysdeps/mach/hurd/configure: Regenerated.
31411 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31412 special-casing to...
31413 * sysdeps/gnu/configure.in: ... this new file.
31414 * sysdeps/unix/sysv/linux/configure: Regenerated.
31415 * sysdeps/gnu/configure: New generated file.
31416
8e41b99f
TS
31417 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31418 for Linux: use nsec instead of usec, as well as:
31419 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31420 members of type struct timespec.
31421 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31422 New macros.
31423 (struct stat64): Likewise.
31424 (_STATBUF_ST_NSEC): New macro.
31425 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31426
10589b4a
TS
31427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31428 __strtoul_internal rather than strtoul.
31429
63643c85
PT
314302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31431
31432 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31433 and reject them.
31434
3faebe6a
ST
314352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31436
31437 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31438 which preserves existing values.
31439 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31440
c6474b07
PT
314412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31442
31443 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31444 TIMEOUT values. Return EINVAL for NFDS values either negative or
31445 greater than FD_SETSIZE.
31446
1043890b
ST
314472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31448
31449 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31450 allocated, call __vm_protect to finish enabling the existing space, and
31451 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31452 allocate the remainder.
31453
37ed8b9b
PT
314542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31455
31456 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31457 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31458
db653660
ST
314592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31460
37ed8b9b
PT
31461 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31462 sysdeps/mach/hurd/readlink.c.
b29d4053 31463
db653660
ST
31464 * posix/tst-sysconf.c (posix_options): Only use
31465 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31466 _POSIX_SYNCHRONIZED_IO when they are defined
31467 * sysdeps/mach/hurd/bits/posix_opt.h:
31468 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31469 (_XOPEN_REALTIME): Undefine macro.
31470 (_XOPEN_REALTIME_THREADS): Undefine macro.
31471 (_XOPEN_SHM): Undefine macro.
31472 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31473 macro to -1.
31474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31475 macro to -1.
31476 (_POSIX_ASYNC_IO): Undefine macro.
31477 (_POSIX_PRIORITIZED_IO): Undefine macro.
31478 (_POSIX_SPIN_LOCKS): Define macro to -1.
31479
ee16e894
ST
31480 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31481 SA_NODEFER, SA_RESETHAND.
31482 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31483 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31484 F_DUPFD_CLOEXEC.
31485
6103ae3b
TS
314862012-05-10 Thomas Schwinge <thomas@schwinge.name>
31487
31488 * elf/Makefile (pldd-modules): Define unconditionally.
31489
80b4e5f3
TS
314902012-05-10 Thomas Schwinge <thomas@schwinge.name>
31491
31492 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31493
edadcbd6
ST
314942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31495
31496 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31497 Return ENOENT when name is empty.
31498 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31499
80694780
TS
315002012-05-10 Thomas Schwinge <thomas@schwinge.name>
31501
1792c087
TS
31502 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31503
80694780
TS
31504 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31505
6b645f0d
ST
315062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31507
80694780
TS
31508 Fix mlock in all cases except non-readable pages.
31509 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31510 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31511
6b645f0d
ST
31512 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31513 (__mkdir): When path is `/', just fail with EEXIST.
31514 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31515
e468f8a3
TS
315162012-05-10 Thomas Schwinge <thomas@schwinge.name>
31517
31518 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31519 <sys/uio.h> (for writev).
31520 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31521 and <sys/param.h> (for MIN).
31522
a4186cff
PT
315232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31524
31525 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31526 REQUESTED_TIME. Properly set the remaining time and return EINTR
31527 if interrupted.
31528
510bbf14
TS
315292012-05-10 Thomas Schwinge <thomas@schwinge.name>
31530
31531 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31532 Depend on against $(link-rpcuserlibs).
31533
5d5722e8
ST
315342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31535
a4186cff
PT
31536 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31537 (__libc_stack_end): Do not use attribute_relro.
31538 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31539 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31540 to libthread-provided value.
a4186cff
PT
31541 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31542 attribute_relro.
5d5722e8 31543
37233df9
TS
315442012-05-10 Thomas Schwinge <thomas@schwinge.name>
31545
be971a2b
TS
31546 [BZ #3748]
31547 * bits/libc-lock.h (__libc_once_get): New macro.
31548 * sysdeps/mach/bits/libc-lock.h: Likewise.
31549 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31551 instead of using implementation details.
31552
37233df9
TS
31553 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31554 * libio/freopen.c: Likewise.
31555 * libio/freopen64.c: Likewise.
31556 * misc/syslog.c: Likewise.
31557 * nscd/connections.c: Likewise.
31558 * nscd/netgroupcache.c: Likewise.
31559 * sysdeps/posix/getcwd.c: Likewise.
31560
38de94a5
RM
315612012-05-10 Roland McGrath <roland@hack.frob.com>
31562
31563 * math/w_ilogbf.c: Add #include <limits.h>.
31564
67530489
ST
315652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31566
a4186cff 31567 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31568 path instead of returning without unlocking.
31569
67530489
ST
31570 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31571 immediate-write ioctls.
31572 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31573
5aa3a74a
TS
315742012-05-10 Thomas Schwinge <thomas@schwinge.name>
31575
18bad2ae
TS
31576 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31577 __builtin_frame_address instead of making assumptions about the
31578 location of the return address relative to DATA. Force early load of
31579 the return address.
31580 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31581 __builtin_frame_address.
31582
5aa3a74a
TS
31583 dup3 for GNU Hurd.
31584 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31585 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31586 implement dup3 and do some further code clean-ups.
31587 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31588 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31589
ecd0de9a
ST
315902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31591
cd9fa985
ST
31592 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31593
a4186cff
PT
31594 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31595 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31596 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31597 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31598 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31599 d->port.lock.
802ca5a5 31600
a4186cff
PT
31601 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31602 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31603 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31604
bcf55240
TS
316052012-05-10 Thomas Schwinge <thomas@schwinge.name>
31606
6960eb42
TS
31607 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31608 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31609 definitions.
31610
eb43375f
TS
31611 accept4 for GNU Hurd.
31612 * include/sys/socket.h (__libc_accept4): New prototype.
31613 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31614 to implement __libc_accept4.
31615 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31616 __libc_accept4.
31617 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31618
bcf55240
TS
31619 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31620 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31621 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31622 signal-defines.sym.
31623
6178c55b
ST
316242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31625
a4186cff 31626 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31627
6f080c2f
TS
316282012-05-10 Thomas Schwinge <thomas@schwinge.name>
31629
31630 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31631 assertion on O_CLOEXEC flag.
31632 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31633 * hurd/intern-fd.c: Likewise.
31634 * hurd/port2fd.c: Likewise.
31635
bcfe3a54
ST
316362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31637
31638 [BZ #3906]
31639 * bits/in.h (IPV6_PKTINFO): Define new macro.
31640 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31641
89c9aa49
AZ
316422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31643
31644 [BZ #13954]
31645 [BZ #13955]
31646 [BZ #13956]
31647 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31649 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31650 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31652 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31653 * math/libm-test.inc (logb_test) : Additional logb tests.
31654
021db4be
AJ
316552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31656 Andreas Jaeger <aj@suse.de>
31657
31658 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31659 * configure: Regenerated.
31660 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31661 * config.make.in (link-obsolete-rpc): New substituted variable.
31662 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31663 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31664 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31665 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31666 so that libc.a contains the symbols.
31667 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31668 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31669 * sunrpc/auth_none.c: Likewise.
31670 * sunrpc/auth_unix.c: Likewise.
31671 * sunrpc/authdes_prot.c: Likewise.
31672 * sunrpc/authuxprot.c: Likewise.
31673 * sunrpc/clnt_gen.c: Likewise.
31674 * sunrpc/clnt_perr.c: Likewise.
31675 * sunrpc/clnt_raw.c: Likewise.
31676 * sunrpc/clnt_simp.c: Likewise.
31677 * sunrpc/clnt_tcp.c: Likewise.
31678 * sunrpc/clnt_udp.c: Likewise.
31679 * sunrpc/clnt_unix.c: Likewise.
31680 * sunrpc/des_crypt.c: Likewise.
31681 * sunrpc/des_soft.c: Likewise.
31682 * sunrpc/get_myaddr.c: Likewise.
31683 * sunrpc/key_call.c: Likewise.
31684 * sunrpc/key_prot.c: Likewise.
31685 * sunrpc/netname.c: Likewise.
31686 * sunrpc/pm_getmaps.c: Likewise.
31687 * sunrpc/pm_getport.c: Likewise.
31688 * sunrpc/pmap_clnt.c: Likewise.
31689 * sunrpc/pmap_prot.c: Likewise.
31690 * sunrpc/pmap_prot2.c: Likewise.
31691 * sunrpc/pmap_rmt.c: Likewise.
31692 * sunrpc/publickey.c: Likewise.
31693 * sunrpc/rpc_cmsg.c: Likewise.
31694 * sunrpc/rpc_common.c: Likewise.
31695 * sunrpc/rpc_dtable.c: Likewise.
31696 * sunrpc/rpc_prot.c: Likewise.
31697 * sunrpc/rpc_thread.c: Likewise.
31698 * sunrpc/rtime.c: Likewise.
31699 * sunrpc/svc.c: Likewise.
31700 * sunrpc/svc_auth.c: Likewise.
31701 * sunrpc/svc_raw.c: Likewise.
31702 * sunrpc/svc_run.c: Likewise.
31703 * sunrpc/svc_tcp.c: Likewise.
31704 * sunrpc/svc_udp.c: Likewise.
31705 * sunrpc/svc_unix.c: Likewise.
31706 * sunrpc/svcauth_des.c: Likewise.
31707 * sunrpc/xcrypt.c: Likewise.
31708 * sunrpc/xdr.c: Likewise.
31709 * sunrpc/xdr_array.c: Likewise.
31710 * sunrpc/xdr_float.c: Likewise.
31711 * sunrpc/xdr_intXX_t.c: Likewise.
31712 * sunrpc/xdr_mem.c: Likewise.
31713 * sunrpc/xdr_rec.c: Likewise.
31714 * sunrpc/xdr_ref.c: Likewise.
31715 * sunrpc/xdr_sizeof.c: Likewise.
31716 * sunrpc/xdr_stdio.c: Likewise.
31717
b5c086a2
RM
317182012-05-10 Roland McGrath <roland@hack.frob.com>
31719
31720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31721 change. Update copyright years.
31722
6d74dd09
JM
317232012-05-10 Joseph Myers <joseph@codesourcery.com>
31724
31725 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31726
28e72501
MK
317272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31728 Joseph Myers <joseph@codesourcery.com>
31729 Paul Pluzhnikov <ppluzhnikov@google.com>
31730
31731 [BZ #14012]
31732 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31733 requiring rpcgen.
31734 [cross-compiling] (extra-libs): Likewise.
31735 [cross-compiling] (extra-libs-others): Likewise.
31736 [cross-compiling] (librpcsvc-routines): Likewise.
31737 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31738 [cross-compiling] (omit-deps): Likewise.
31739 (sunrpc-CPPFLAGS): New variable.
31740 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31741 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31742 (cross-rpcgen-objs): New variable.
31743 (extra-objs): Append $(cross-rpcgen-objs).
31744 ($(cross-rpcgen-objs)): New rule.
31745 ($(objpfx)cross-rpcgen): Likewise.
31746 (rpcgen-cmd): Define to use $(built-program-file). Expand
31747 comment.
31748 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31749 ($(objpfx)x%.stmp): Likewise.
31750 * sunrpc/proto.h [IS_IN_build] (_): Define.
31751 [IS_IN_build] (_libc_intl_domainname): Likewise.
31752
c8c59454
L
317532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31756 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31757 and R_X86_64_TPOFF64.
31758
6f27cd16
JM
317592012-05-10 Joseph Myers <joseph@codesourcery.com>
31760
31761 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31762 sysdeps/unix/sysv/syscalls.list.
31763 (stime): Likewise.
31764 (utime): Likewise.
31765 * sysdeps/unix/sysv/syscalls.list: Remove file.
31766
02467e1c
PE
317672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31768
31769 [BZ #3440]
31770 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31771 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31772 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31773 (__LC_IDENTIFICATION): Make these macros useful in #if
31774 expressions, as required by C99.
31775
da392631
AS
317762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31777
31778 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31779 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31780 after this.
31781
8115f29b
L
317822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31783
31784 * stdlib/longlong.h: Updated from GCC.
31785
bdd74070
AJ
317862012-05-09 Andreas Jaeger <aj@suse.de>
31787
edfe0dbe
AJ
31788 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31789 default is first entry.
31790 (run_mode): Set type.
31791 (main): Remove informal message about syslog.
31792 (options): Fix typo.
31793
bcfe3a54
ST
31794 [BZ #14053]
31795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31796 to asm.
bcfe3a54
ST
31797 (lrint): Likewise.
31798 (llrintf): Likewise.
31799 (llrint): Likewise.
31800 (rint): Likewise.
31801 (rintf): Likewise.
31802 (nearbyint): Likewise.
31803 (nearbyintf): Likewise.
bdd74070 31804
91d8d69e
AJ
318052012-05-09 Andreas Jaeger <aj@suse.de>
31806 Pedro Alves <palves@redhat.com>
31807
31808 * nscd/nscd.c (run_mode): Use enum.
31809 (main): Cleanup coding style issue.
31810
bb90b80b
AJ
318112012-05-09 Alexandre Oliva <aoliva@redhat.com>
31812 Andreas Jaeger <aj@suse.de>
31813
bcfe3a54
ST
31814 * nscd/nscd.c (go_background): Replaced with...
31815 (run_mode): ... this.
bb90b80b 31816 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31817 (options): Add -F --foreground.
31818 (main): Implement it.
31819 (parse_opt): Parse it.
bb90b80b 31820
1a4b75a1
AJ
318212012-05-09 Andreas Jaeger <aj@suse.de>
31822
31823 [BZ #14083]
31824 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31825 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31826 -Wconversion warning.
31827 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31828 Likewise.
31829
b1cc2472
JM
318302012-05-09 Joseph Myers <joseph@codesourcery.com>
31831
31832 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31833 == 0.
31834 (LC_ALL): Use macro-int-constant.
31835 (LC_COLLATE): Likewise.
31836 (LC_CTYPE): Likewise.
31837 (LC_MESSAGES): Likewise.
31838 (LC_MONETARY): Likewise.
31839 (LC_NUMERIC): Likewise.
31840 (LC_TIME): Likewise.
31841 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31842 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31844 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31845 Specify type.
31846 [C99-based standards] (float_t): Expect type.
31847 [C99-based standards] (double_t): Expect type.
31848 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31849 type.
31850 [C99-based standards] (HUGE_VALL): Likewise.
31851 [C99-based standards] (INFINITY): Likewise.
31852 [C99-based standards] (NAN): Likewise.
31853 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31854 [C99-based standards] (FP_NAN): Likewise.
31855 [C99-based standards] (FP_NORMAL): Likewise.
31856 [C99-based standards] (FP_SUBNORMAL): Likewise.
31857 [C99-based standards] (FP_ZERO): Likewise.
31858 [C99-based standards] (FP_FAST_FMA): Use
31859 optional-macro-int-constant. Specify type. Require == 1.
31860 [C99-based standards] (FP_FAST_FMAF): Likewise.
31861 [C99-based standards] (FP_FAST_FMAL): Likewise.
31862 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31863 [C99-based standards] (FP_ILOGBNAN): Likewise.
31864 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31865 Specify type.
31866 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31867 [C99-based standards] (math_errhandling): Specify type.
31868 [ISO99 || ISO11] (signgam): Do not allow.
31869 [non-C99-based standards] (copysignf): Do not allow.
31870 [non-C99-based standards] (exp2f): Likewise.
31871 [non-C99-based standards] (log2f): Likewise.
31872 [non-C99-based standards] (modff): Allow.
31873 [non-C99-based standards] (erff): Do not allow.
31874 [non-C99-based standards] (erfcf): Likewise.
31875 [non-C99-based standards] (gammaf): Likewise.
31876 [non-C99-based standards] (hypotf): Likewise.
31877 [non-C99-based standards] (j0f): Likewise.
31878 [non-C99-based standards] (j1f): Likewise.
31879 [non-C99-based standards] (jnf): Likewise.
31880 [non-C99-based standards] (lgammaf): Likewise.
31881 [non-C99-based standards] (tgammaf): Likewise.
31882 [non-C99-based standards] (y0f): Likewise.
31883 [non-C99-based standards] (y1f): Likewise.
31884 [non-C99-based standards] (ynf): Likewise.
31885 [non-C99-based standards] (isnanf): Likewise.
31886 [non-C99-based standards] (acoshf): Likewise.
31887 [non-C99-based standards] (asinhf): Likewise.
31888 [non-C99-based standards] (atanhf): Likewise.
31889 [non-C99-based standards] (cbrtf): Likewise.
31890 [non-C99-based standards] (expm1f): Likewise.
31891 [non-C99-based standards] (ilogbf): Likewise.
31892 [non-C99-based standards] (log1pf): Likewise.
31893 [non-C99-based standards] (logbf): Likewise.
31894 [non-C99-based standards] (nextafterf): Likewise.
31895 [non-C99-based standards] (remainderf): Likewise.
31896 [non-C99-based standards] (rintf): Likewise.
31897 [non-C99-based standards] (scalbf): Likewise.
31898 [non-C99-based standards] (copysignl): Likewise.
31899 [non-C99-based standards] (exp2l): Likewise.
31900 [non-C99-based standards] (log2l): Likewise.
31901 [non-C99-based standards] (modfl): Allow.
31902 [non-C99-based standards] (erfl): Do not allow.
31903 [non-C99-based standards] (erfcl): Likewise.
31904 [non-C99-based standards] (gammal): Likewise.
31905 [non-C99-based standards] (hypotl): Likewise.
31906 [non-C99-based standards] (j0l): Likewise.
31907 [non-C99-based standards] (j1l): Likewise.
31908 [non-C99-based standards] (jnl): Likewise.
31909 [non-C99-based standards] (lgammal): Likewise.
31910 [non-C99-based standards] (tgammal): Likewise.
31911 [non-C99-based standards] (y0l): Likewise.
31912 [non-C99-based standards] (y1l): Likewise.
31913 [non-C99-based standards] (ynl): Likewise.
31914 [non-C99-based standards] (isnanl): Likewise.
31915 [non-C99-based standards] (acoshl): Likewise.
31916 [non-C99-based standards] (asinhl): Likewise.
31917 [non-C99-based standards] (atanhl): Likewise.
31918 [non-C99-based standards] (cbrtl): Likewise.
31919 [non-C99-based standards] (expm1l): Likewise.
31920 [non-C99-based standards] (ilogbl): Likewise.
31921 [non-C99-based standards] (log1pl): Likewise.
31922 [non-C99-based standards] (logbl): Likewise.
31923 [non-C99-based standards] (nextafterl): Likewise.
31924 [non-C99-based standards] (remainderl): Likewise.
31925 [non-C99-based standards] (rintl): Likewise.
31926 [non-C99-based standards] (scalbl): Likewise.
31927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31928 [non-C99-based standards] (FP_*): Do not allow.
31929 [C99-based standards] (FP_*): Change to
31930 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31931 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31932 allow.
31933 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31934 (SIG_ERR): Likewise.
31935 [X/Open-based standards] (SIG_HOLD): Likewise.
31936 (SIG_IGN): Likewise.
31937 (SIGABRT): Use macro-int-constant. Specify type. Require
31938 positive value.
31939 (SIGFPE): Likewise.
31940 (SIGILL): Likewise.
31941 (SIGINT): Likewise.
31942 (SIGSEGV): Likewise.
31943 (SIGTER): Likewise.
31944 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31945 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31946 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31947 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31948 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31949 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31950 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31951 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31952 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31953 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31954 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31955 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31956 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31957 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31958 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31959 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31960 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31961 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31962 [X/Open-based standards] (SIGTRAP): Likewise.
31963 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31964 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31965 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31966 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31967 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31968 allow.
31969
b9f1922d
IW
319702012-05-08 Ian Wienand <ianw@vmware.com>
31971
31972 [BZ #14080]
31973 * time/tzset.c (__tzset_parse_tz): Update default rules for
31974 daylight time changes in the Energy Policy Act of 2005.
31975
1db86e88
AJ
319762012-05-09 Andreas Jaeger <aj@suse.de>
31977
31978 [BZ #13983]
31979 * elf/ldconfig.c (parse_conf): Change string to make clear that
31980 ldconfig only issued a warning if ld.so.conf does not exist.
31981
dee4a4e3
DM
319822012-05-08 David S. Miller <davem@davemloft.net>
31983
ee0db190
DM
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31985 movxtod instead of popping the value on the stack.
31986
dee4a4e3
DM
31987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31988
6a43ec98
CD
319892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31990
31991 * config.h.in: Add HAVE_ARM_PCS_VFP.
31992
05c2c961
RMG
319932012-05-08 Roland Mc Grath <roland@hack.frob.com>
31994
bcfe3a54
ST
31995 [BZ #13979]
31996 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31997 checking but the checks are disabled for any reason.
05c2c961 31998
4b30f61a
L
319992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32000
32001 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32002 and ELF64_R_TYPE with ELFW(R_TYPE).
32003
eee2bc67
JM
320042012-05-08 Joseph Myers <joseph@codesourcery.com>
32005
7ea5391a
JM
32006 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32007 (ulimit): Likewise.
32008
eee2bc67
JM
32009 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32010 (settimeofday): Likewise.
32011
abb66a67
MF
320122012-05-08 Mike Frysinger <vapier@gentoo.org>
32013
32014 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32015 a struct th_u2 inside the union, and move tu_block/tu_code into
32016 a new th_u3 union of tu_block/tu_code inside of that. Move
32017 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32018 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32019 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32020 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32021 (th_stuff): Change to th_u1.tu_stuff.
32022 (th_data): Define.
32023 (th_msg): Change to th_u1.th_u2.tu_data.
32024
7f18b530
DM
320252012-05-07 David S. Miller <davem@davemloft.net>
32026
05760585
DM
32027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32028
7f18b530
DM
32029 [BZ #14074]
32030 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32031 (SETUP_PIC_REG): Use it.
32032 (SETUP_PIC_REG_LEAF): Use it.
32033
495fd99f
JM
320342012-05-07 Joseph Myers <joseph@codesourcery.com>
32035
32036 [BZ #13885]
32037 [BZ #13923]
32038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32039 USE_AS_EXPM1L.
32040 (EXPL_FINITE): Likewise.
32041 (FLDLOG): Likewise.
32042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32043 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32044 e_expl.S.
32045 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32046 USE_AS_EXPM1L.
32047 (EXPL_FINITE): Likewise.
32048 (FLDLOG): Likewise.
32049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32050 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32051 e_expl.S.
32052 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32053 test of -max_value argument for long double.
32054 * sysdeps/i386/fpu/libm-test-ulps: Update.
32055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32056
6693d694
DM
320572012-05-06 David S. Miller <davem@davemloft.net>
32058
32059 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32060 quad soft-float symbols whose references which are compiler
32061 generated.
32062 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32063
6c23e11c
JM
320642012-05-06 Joseph Myers <joseph@codesourcery.com>
32065
d8b82cad
JM
32066 [BZ #13884]
32067 [BZ #13914]
32068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32069 USE_AS_EXP10L.
32070 (EXPL_FINITE): Likewise.
32071 (FLDLOG): Likewise.
32072 (c0): Likewise.
32073 (c1): Likewise.
32074 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32075 Adjust comments for base varying.
32076 (__expl_finite): Change alias to EXPL_FINITE.
32077 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32078 e_expl.S.
32079 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32080 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32081 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32082 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32083 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32084 USE_AS_EXP10L.
32085 (EXPL_FINITE): Likewise.
32086 (FLDLOG): Likewise.
32087 (c0): Likewise.
32088 (c1): Likewise.
32089 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32090 Adjust comments for base varying.
32091 (__expl_finite): Change alias to EXPL_FINITE.
32092 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32093 tests for bugs.
32094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32095
6c23e11c
JM
32096 [BZ #14064]
32097 * math/libm-test.inc (check_float_internal): Correct ulp
32098 calculation for subnormal expected results.
32099
29ba805c
AJ
321002012-05-06 Andreas Jaeger <aj@suse.de>
32101
32102 * Makeconfig (+math-flags): New, set to -frounding-math.
32103 (+cflags): Add +math-flags so that all of glibc gets compiled with
32104 it.
32105
32106 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32107
7b17aeda
JM
321082012-05-05 Joseph Myers <joseph@codesourcery.com>
32109
5779f134
JM
32110 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32111 Disable one test.
32112
41498f4d
JM
32113 [BZ #13787]
32114 [BZ #13922]
32115 [BZ #14036]
32116 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32117 (__ieee754_expl): Allow for and saturate large arguments.
32118 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32119 (u_threshold): Likewise.
32120 (__exp): Call __ieee754_exp before checking for overflow and
32121 underflow.
32122 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32123 (u_threshold): Likewise.
32124 (__expf): Call __ieee754_expf before checking for overflow and
32125 underflow.
32126 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32127 (u_threshold): Likewise.
32128 (__expl): Call __ieee754_expl before checking for overflow and
32129 underflow.
32130 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32131 (__ieee754_expl): Allow for and saturate large arguments.
32132 * math/libm-test.inc (exp_test): Add another test. Do not allow
32133 missing overflow exception on overflow.
32134 (expm1_test): Do not allow missing overflow exception on overflow.
32135
6698b8bf
JM
32136 * sysdeps/i386/fpu/e_expl.c: Move to ...
32137 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32138 rather than using inline asm.
32139 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32140 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32141 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32142
7b17aeda
JM
32143 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32144 (nice): Likewise.
32145 (poll): Likewise.
32146 (signal): Likewise.
32147 (time): Likewise.
32148 (times): Likewise.
32149
f7c85819
JM
321502012-05-04 Joseph Myers <joseph@codesourcery.com>
32151
32152 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32153 sysdeps/unix/common/syscalls.list.
32154 (fchmod): Likewise.
32155 (fchown): Likewise.
32156 (ftruncate): Likewise.
32157 (getrusage): Likewise.
32158 (gettimeofday): Likewise.
32159 (setpgid): Likewise.
32160 (setregid): Likewise.
32161 (setreuid): Likewise.
32162 (sigaction): Likewise.
32163 (truncate): Likewise.
32164 (vhangup): Likewise.
32165 * sysdeps/unix/common/syscalls.list: Remove file.
32166 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32167 * sysdeps/unix/sysv/linux/Implies: Likewise.
32168
336270d0
L
321692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32170
32171 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32173 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32174 Moved to ...
32175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32176 Here.
32177 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32178 to ...
32179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32180 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32181 to ...
32182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32183 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32184 to ...
32185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32186 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32187 to ...
32188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32189 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32190 to ...
32191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32193 to ...
32194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32196 to ...
32197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32198 Here.
32199 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32200 to ...
32201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32202 Here.
32203 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32204 to ...
32205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32206 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32207 Moved to ...
32208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32209 Here.
32210 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32211 to ...
32212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32213
d128e450
JM
322142012-05-04 Joseph Myers <joseph@codesourcery.com>
32215
fa8ee516
JM
32216 * sysdeps/unix/common/bits/dirent.h: Remove file.
32217 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32218
d128e450
JM
32219 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32220 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32221 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32222 * sysdeps/unix/bsd/isatty.c: Likewise.
32223 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32224 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32225 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32226
ff8faaf0 322272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32228
62881be4 32229 [BZ #13563]
31dc8730
AZ
32230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32231 long double comparison inaccuracies.
32232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32234
6fef930c
AS
322352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32236
32237 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32239
8f203e6c
JM
322402012-05-04 Joseph Myers <joseph@codesourcery.com>
32241
32242 [BZ #14049]
32243 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32244 nonzero digits before rounding a hex value.
32245 * stdlib/tst-strtod.c (tests): Add another test.
32246
5197d9c2
AK
322472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32248
32249 * sysdeps/s390/fpu/libm-test-ulps: Update.
32250
f0c1dedf
AJ
322512012-05-03 Andreas Jaeger <aj@suse.de>
32252
32253 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32254 does not get optimized out.
32255 (malloc_opt_barrier): New.
32256
a65ef2ae 322572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32258 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32259
2b942cb7 32260 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32261 intermediate file deletion.
2b942cb7 32262 (generated): Add .symlist files.
a65ef2ae 32263
54b71e02
JM
322642012-05-03 Joseph Myers <joseph@codesourcery.com>
32265
32266 [BZ #13775]
32267 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32268 Redirect under this condition.
32269 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32270 [__USE_GNU] (__dprintf_chk): Not under this condition.
32271 [__USE_GNU] (__vdprintf_chk): Likewise.
32272 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32273 under this condition.
32274 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32275 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32276 [__USE_XOPEN2K8] (vdprintf): Likewise.
32277 [__USE_GNU] (__dprintf_chk): Not under this condition.
32278 [__USE_GNU] (__vdprintf_chk): Likewise.
32279 [__USE_GNU] (dprintf): Likewise.
32280 [__USE_GNU] (vdprintf): Likewise.
32281
d3dfcc41
RM
322822012-05-03 Roland McGrath <roland@hack.frob.com>
32283
32284 * elf/Makefile (common-generated): Set this instead of generated for
32285 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32286 $(all-built-dso)-derived lists.
32287
7ac30cc5
AJ
322882012-05-03 Andreas Jaeger <aj@suse.de>
32289
0c51e550
AJ
32290 * sysdeps/i386/fpu/libm-test-ulps: Update.
32291
7ac30cc5
AJ
32292 * FAQ: Removed.
32293 * FAQ.in: Likewise.
32294 * scripts/gen-FAQ.pl: Likewise.
32295 * manual/install.texi (Installation): Point to online location of
32296 FAQ.
32297 * Makefile (files-for-dist): Remove FAQ.
32298 (FAQ): Remove.
32299
d4c2917f
AM
323002012-05-02 Allan McRae <allan@archlinux.org>
32301
32302 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32303 (LDFLAGS-reldepmod5.so): Likewise.
32304 (LDFLAGS-reldep6mod1.so): Likewise.
32305 (LDFLAGS-reldep6mod4.so): Likewise.
32306 (LDFLAGS-reldep8mod3.so): Likewise.
32307 (LDFLAGS-unload4mod1.so): Likewise.
32308 (LDFLAGS-unload4mod2.so): Likewise.
32309 (LDFLAGS-tst-initorder): Likewise.
32310 (LDFLAGS-tst-initordera2.so): Likewise.
32311 (LDFLAGS-tst-initordera3.so): Likewise.
32312 (LDFLAGS-tst-initordera4.so): Likewise.
32313 (LDFLAGS-tst-initorderb2.so): Likewise.
32314 (LDFLAGS-noload): Likewise.
32315 (LDFLAGS-next): Likewise.
32316 (LDFLAGS-order2mod1.so): Likewise.
32317 (LDFLAGS-order2mod2.so): Likewise.
32318 (LDFLAGS-tst-initorder2): Likewise.
32319 (LDFLAGS-tst-initorder2a.so): Likewise.
32320 (LDFLAGS-tst-initorder2b.so): Likewise.
32321 (LDFLAGS-tst-initorder2c.so): Likewise.
32322 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32323
d77f993f
DM
323242012-05-02 David S. Miller <davem@davemloft.net>
32325
32326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32327
171a70b4
PP
323282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32329
32330 [BZ #14055]
32331 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32332
0be196ad
AJ
323332012-05-02 Andreas Jaeger <aj@suse.de>
32334
32335 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32336 since we manipulate rounding mode.
32337 (CPPFLAGS-test-idouble.c): Likewise.
32338 (CPPFLAGS-test-ifloat.c): Likewise.
32339 (CFLAGS-test-ldouble.c): Likewise.
32340 (CFLAGS-test-double.c): Likewise.
32341 (CFLAGS-test-float.c): Likewise.
32342 (CFLAGS-test-misc.c): Likewise.
32343 (CFLAGS-test-test-fenv.c): Likewise.
32344
4f9d04aa
AZ
323452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346
2b942cb7
RM
32347 [BZ #2550]
32348 [BZ #2570]
32349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32350 comparisons to determine direction to adjust input.
4f9d04aa 32351
82a79e7d
RM
323522012-05-01 Roland McGrath <roland@hack.frob.com>
32353
f5a01ca9
RM
32354 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32355 output to the target.
32356
90fe4186
RM
32357 * scripts/localplt.awk: New file.
32358 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32359 (check-localplt-CFLAGS): Variable removed.
32360 ($(all-built-dso:=.jmprel)): New static pattern rule.
32361 (generated): Add those targets.
32362 (localplt-built-dso): New variable.
32363 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32364
32365 * elf/check-localplt.c: File removed.
32366
82397ed6
RM
32367 * scripts/check-execstack.awk: New file.
32368 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32369 (check-execstack-CFLAGS): Variable removed.
32370 ($(objpfx)check-execstack.h): Target removed.
32371 ($(objpfx)execstack-default): New target.
32372 (generated): Add that instead of check-execstack.h.
32373 ($(all-built-dso:=.phdr)): New static pattern rule.
32374 (generated): Add those targets.
32375 * elf/check-execstack.c: File removed.
32376
82a79e7d
RM
32377 * scripts/check-textrel.awk: New file.
32378 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32379 (check-textrel-CFLAGS): Variable removed.
32380 (all-built-dso): Use := to define.o
32381 ($(all-built-dso:=.dyn)): New static pattern rule.
32382 (generated): Add those targets.
32383 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32384 * config.make.in (READELF): New substituted variable.
32385 * elf/check-textrel.c: File removed.
32386
62fde54f 323872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32388
615605c9
JM
32389 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32390 allow.
32391 * conform/data/ctype.h-data [C99-based standards] (isblank):
32392 Expect function.
32393 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32394 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32396 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32397 Specify type. Require positive value.
32398 (EILSEQ): Likewise.
32399 (ERANGE): Likewise.
32400 [ISO || POSIX] (EILSEQ): Do not expect.
32401 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32402 Specify type. Require positive value.
32403 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32404 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32405 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32406 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32407 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32408 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32409 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32410 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32411 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32412 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32413 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32414 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32415 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32416 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32417 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32418 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32419 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32420 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32421 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32422 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32423 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32424 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32425 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32426 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32427 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32428 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32429 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32430 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32431 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32432 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32433 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32434 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32435 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32436 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32437 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32438 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32439 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32440 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32441 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32442 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32443 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32444 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32445 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32446 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32447 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32448 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32449 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32450 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32451 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32453 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32454 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32455 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32456 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32457 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32460 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32477 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32478 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32479 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32480 Require >= 2.
32481 (FLT_ROUNDS): Expect as macro, not constant.
32482 (FLT_MANT_DIG): Use macro-int-constant.
32483 (DBL_MANT_DIG): Likewise.
32484 (LDBL_MANT_DIG): Likewise.
32485 (FLT_DIG): Likewise.
32486 (DBL_DIG): Likewise.
32487 (LDBL_DIG): Likewise.
32488 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32489 (DBL_MIN_EXP): Likewise.
32490 (LDBL_MIN_EXP): Likewise.
32491 (FLT_MAX_EXP): Use macro-int-constant.
32492 (DBL_MAX_EXP): Likewise.
32493 (LDBL_MAX_EXP): Likewise.
32494 (FLT_MAX_10_EXP): Likewise.
32495 (DBL_MAX_10_EXP): Likewise.
32496 (LDBL_MAX_10_EXP): Likewise.
32497 (FLT_MAX): Use macro-constant.
32498 (DBL_MAX): Likewise.
32499 (LDBL_MAX): Likewise.
32500 (FLT_EPSILON): Use macro-constant. Give upper bound.
32501 (DBL_EPSILON): Likewise.
32502 (LDBL_EPSILON): Likewise.
32503 (FLT_MIN): Likewise.
32504 (DBL_MIN): Likewise.
32505 (LDBL_MIN): Likewise.
32506 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32507 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32508 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32509 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32510 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32511 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32512 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32513 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32514 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32515 [ISO11] (FLT_TRUE_MIN): Likewise.
32516 [ISO11] (LDBL_TRUE_MIN): Likewise.
32517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32518 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32519 (SCHAR_MIN): Use macro-int-constant. Specify type.
32520 (SCHAR_MAX): Likewise.
32521 (UCHAR_MAX): Likewise.
32522 (CHAR_MIN): Likewise.
32523 (CHAR_MAX): Likewise.
32524 (MB_LEN_MAX): Use macro-int-constant.
32525 (SHRT_MIN): Use macro-int-constant. Specify type.
32526 (SHRT_MAX): Likewise.
32527 (USHRT_MAX): Likewise.
32528 (INT_MAX): Likewise.
32529 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32530 bound negative.
32531 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32532 bound with "U".
32533 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32534 bound with "L".
32535 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32536 bound negative. Suffix upper bound with "L".
32537 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32538 bound with "UL".
32539 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32540 Specify type.
32541 [C99-based standards] (LLONG_MAX): Likewise.
32542 [C99-based standards] (ULLONG_MAX): Likewise.
32543 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32544 == 0.
32545 [ISO11] (max_align_t): Require type.
32546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32547
c9140a62
JM
32548 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32549 from $CFLAGS, without defining away __attribute__ calls.
32550 (checknamespace): Use $CFLAGS_namespace.
32551
9af0bf29
JM
32552 * conform/conformtest.pl (@keywords): Only include C99 keywords
32553 for standards based on C99 or C11.
32554
343222a2
JM
32555 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32556 Disable tests.
32557 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32558 UNIX98]: Likewise.
32559
661f8cf0
JM
32560 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32561 usability of symbols in #if.
32562
ee74b9cb
JM
32563 * conform/conformtest.pl: If macro or constant types start
32564 "promoted:", expect the symbol to be of the following type
32565 promoted by the integer promotions.
62fde54f 32566
aafc49b3
JM
32567 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32568 in one place. Also handle "macro-constant".
32569
fefdf574
JM
32570 * conform/conformtest.pl: Only accept expected macro values with
32571 "==". Parse all "macro" lines in one place.
32572 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32573
f2d922fe
JM
32574 * conform/conformtest.pl: Handle braced types on "constant" lines
32575 instead of handling "typed-constant".
32576 * conform/data/signal.h-data: Use "constant" instead of
32577 "typed-constant".
32578
d22956c9
JM
32579 * conform/conformtest.pl: Handle "optional-" at start of lines in
32580 one place rather than duplicating several cases. Handle each
32581 format of "macro" line with initial "optional-".
32582
028e2e38
JM
32583 * conform/conformtest.pl: Only accept expected constant or
32584 optional-constant values with "==". Parse all "constant" lines in
32585 one place. Parse all "optional-constant" lines in one place.
32586 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32587 * conform/data/fmtmsg.h-data: Likewise.
32588 * conform/data/netinet/in.h-data: Likewise.
32589 * conform/data/tar.h-data: Likewise.
32590 * conform/data/limits.h-data: Use "==" form on "constant" and
32591 "optional-constant" lines.
32592
1b8f2850
JM
32593 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32594 Use -std=c99 for XOPEN2K.
32595 (@knownproblems): Remove.
32596 (newtoken): Don't check %isknown.
32597
a05a144b
JM
32598 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32599 Do not expect macro.
32600 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32612 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32613 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32630 [XPG3] (acosh): Likewise.
32631 [XPG3] (asinh): Likewise.
32632 [XPG3] (atanh): Likewise.
32633 [XPG3] (cbrt): Likewise.
32634 [XPG3] (expm1): Likewise.
32635 [XPG3] (ilogb): Likewise.
32636 [XPG3] (log1p): Likewise.
32637 [XPG3] (logb): Likewise.
32638 [XPG3] (nextafter): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32641 [XPG3] (remainder): Likewise.
32642 [XPG3] (rint): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32650 [UNIX98 || XOPEN2K] (scalb): Expect.
32651 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32652 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32758 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32788
73c5ebe3
JM
32789 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32790 _XOPEN_SOURCE_EXTENDED for XPG4.
32791
39c33b6c
JM
32792 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32793
62fde54f
JM
32794 * Makeconfig (localtime): Remove variable.
32795 (inst_localtime-file): Likewise.
32796
0741d64c
AS
327972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32798
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32800 Update.
32801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32802 Update.
32803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32804 Update.
32805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32806 Update.
32807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32808 Update.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32810 Update.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32812 Update.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32814 Update.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32816 Update.
32817
7cb029ee
JM
328182012-05-01 Joseph Myers <joseph@codesourcery.com>
32819
32820 [BZ #2550]
32821 [BZ #2570]
32822 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32823 comparisons to determine direction to adjust input.
32824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32825 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32827 Likewise.
32828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32829 Likewise.
32830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32831 Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32834 Likewise.
32835 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32836 Likewise.
32837 * math/libm-test.inc (nexttoward_test): Add more tests.
32838
412bd966
AS
328392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32840
32841 [BZ #14040]
32842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32843 in version GLIBC_2.1, not GLIBC_2.0.
32844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32845 Likewise.
32846
9568c0c2
JM
328472012-04-30 Joseph Myers <joseph@codesourcery.com>
32848
adfbc8ac
JM
32849 [BZ #13942]
32850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32851 (1 - x) * (1 + x).
32852 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32853 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32854 * math/libm-test.inc (acos_test): Add more tests.
32855 (asin_test): Likewise.
32856 * sysdeps/i386/fpu/libm-test-ulps: Update.
32857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32858
5ba3cc69
JM
32859 [BZ #14034]
32860 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32861 of square root.
32862 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32863 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32864 * math/libm-test.inc (acos_test_tonearest): New function.
32865 (acos_test_towardzero): Likewise.
32866 (acos_test_downward): Likewise.
32867 (acos_test_upward): Likewise.
32868 (asin_test_tonearest): Likewise.
32869 (asin_test_towardzero): Likewise.
32870 (asin_test_downward): Likewise.
32871 (asin_test_upward): Likewise.
32872 (main): Call the new functions.
32873 * sysdeps/i386/fpu/libm-test-ulps: Update.
32874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32875
9568c0c2
JM
32876 [BZ #13884]
32877 [BZ #13924]
32878 * math/e_exp10.c: Include <float.h>.
32879 (__ieee754_exp10): Handle underflow here rather than multiplying
32880 large negative argument by M_LN10.
32881 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32882 of __ieee754_expf.
32883 * math/e_exp10l.c: Include <float.h>.
32884 (__ieee754_exp10l): Handle underflow here rather than multiplying
32885 large negative argument by M_LN10l.
32886 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32887 spurious overflow exception on underflow.
32888
5ac3ea17
MP
328892012-04-29 Marek Polacek <polacek@redhat.com>
32890
32891 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32892 (__fortify_function): New macro.
32893 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32894 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32895 __extern_always_inline.
32896 * libio/bits/stdio2.h: Likewise.
32897 * libio/bits/stdio.h: Likewise.
32898 * string/string.h: Likewise.
32899 * string/bits/string3.h: Likewise.
32900 * include/stdio.h: Likewise.
32901 * stdlib/bits/stdlib.h: Likewise.
32902 * stdlib/stdlib.h: Likewise.
32903 * rt/bits/mqueue2.h: Likewise.
32904 * rt/mqueue.h: Likewise.
32905 * posix/bits/unistd.h: Likewise.
32906 * posix/unistd.h: Likewise.
32907 * io/bits/poll2.h: Likewise.
32908 * io/bits/fcntl2.h: Likewise.
32909 * io/fcntl.h: Likewise.
32910 * io/sys/poll.h: Likewise.
32911 * misc/bits/syslog.h: Likewise.
32912 * misc/bits/syslog-ldbl.h: Likewise.
32913 * misc/sys/syslog.h: Likewise.
32914 * socket/bits/socket2.h: Likewise.
32915 * socket/sys/socket.h: Likewise.
32916 * debug/tst-chk1.c: Likewise.
32917 * wcsmbs/bits/wchar2.h: Likewise.
32918 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32919 * wcsmbs/wchar.h: Likewise.
32920
ecf0ebfb
AJ
329212012-04-29 Andreas Jaeger <aj@suse.de>
32922
32923 * Makerules (tests): Remove enable-check-abi protection.
32924 (check-abi-warn): Remove.
32925 (check-abi-%): Remove check-abi-warn usage.
32926
32927 * configure.in: Remove check-abi configure option.
32928 * configure: Regenerated.
32929 * config.make.in (enable-check-abi): Remove.
32930
6d5c57fa
AS
329312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32932
24c5d07e 32933 [BZ #14033]
ded5180a
AS
32934 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32935 double functions to double *_finite functions.
32936
7e0d315d
AS
32937 [BZ #13941]
32938 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32939 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32940 LDBL_MIN_EXP.
32941 * stdio-common/Makefile (tests): Add tst-sprintf3.
32942 * stdio-common/tst-sprintf3.c: New file.
32943
6d5c57fa
AS
32944 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32945 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32946
0749ff8b
JM
329472012-04-28 Joseph Myers <joseph@codesourcery.com>
32948
32949 * conform/conformtest.pl: Remove duplicate typed-constant
32950 handling.
32951
8dbd5d7b
DM
329522012-04-28 David S. Miller <davem@davemloft.net>
32953
32954 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32955 (check-abi-%): Remove AWK script prerequisite and explicit
32956 abilist directory.
32957 (check-abi): Rewrite to just diff the symlist with the abilist.
32958 (config-tls, config-abi-config): Delete, no longer used.
32959 (update-abi-%): Remove AWK script and explicit abilist directory.
32960 (update-abi): Rewrite to simply compare and conditionally copy the
32961 symlist and the sysdep abilist file. Remove update-abi-config
32962 checks.
32963 * abilist/ld.abilist: Remove.
32964 * abilist/libBrokenLocale.abilist: Remove.
32965 * abilist/libanl.abilist: Remove.
32966 * abilist/libcrypt.abilist: Remove.
32967 * abilist/libdl.abilist: Remove.
32968 * abilist/librt.abilist: Remove.
32969 * abilist/libthread_db.abilist: Remove.
32970 * abilist/libutil.abilist: Remove.
32971 * scripts/extract-abilist.awk: Remove.
32972 * scripts/merge-abilist.awk: Remove.
32973 * sysdeps/generic/libcidn.abilist: New file.
32974 * sysdeps/generic/libnss_compat.abilist: New file.
32975 * sysdeps/generic/libnss_db.abilist: New file.
32976 * sysdeps/generic/libnss_dns.abilist: New file.
32977 * sysdeps/generic/libnss_files.abilist: New file.
32978 * sysdeps/generic/libnss_hesiod.abilist: New file.
32979 * sysdeps/generic/libnss_nis.abilist: New file.
32980 * sysdeps/generic/libnss_nisplus.abilist: New file.
32981 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32982 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32983 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32984 file.
32985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32986 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32987 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32988 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32989 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32990 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32991 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32992 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32993 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32994 file.
32995 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32996 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32997 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32998 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32999 file.
33000 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33001 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33003 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33005 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33006 file.
33007 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33008 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33009 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33010 file.
33011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33013 New file.
33014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33015 New file.
33016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33017 New file.
33018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33019 New file.
33020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33021 New file.
33022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33023 New file.
33024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33025 New file.
33026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33027 New file.
33028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33029 New file.
33030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33031 New file.
33032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33033 New file.
33034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33035 New file.
33036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33037 New file.
33038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33039 file.
33040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33041 New file.
33042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33043 New file.
33044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33045 file.
33046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33047 New file.
33048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33049 New file.
33050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33051 file.
33052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33053 New file.
33054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33055 New file.
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33057 New file.
33058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33059 New file.
33060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33061 New file.
33062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33063 New file.
33064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33066 file.
33067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33068 New file.
33069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33070 file.
33071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33072 file.
33073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33074 file.
33075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33076 file.
33077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33078 file.
33079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33080 New file.
33081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33082 file.
33083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33084 file.
33085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33086 New file.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33088 file.
33089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33091 file.
33092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33093 New file.
33094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33095 file.
33096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33097 file.
33098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33099 file.
33100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33101 file.
33102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33103 file.
33104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33105 New file.
33106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33107 file.
33108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33109 file.
33110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33111 New file.
33112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33113 file.
33114 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33115 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33116 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33117 file.
33118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33119 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33120 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33121 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33122 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33123 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33124 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33125 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33126 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33127 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33130 file.
33131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33132 New file.
33133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33134 file.
33135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33136 file.
33137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33138 file.
33139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33140 file.
33141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33142 file.
33143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33144 New file.
33145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33146 New file.
33147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33148 file.
33149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33150 New file.
33151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33152 file.
33153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33155 file.
33156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33157 New file.
33158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33159 file.
33160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33161 file.
33162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33163 file.
33164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33165 file.
33166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33167 file.
33168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33169 New file.
33170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33171 New file.
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33173 file.
33174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33175 New file.
33176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33177 file.
33178
41d73a1b
JM
331792012-04-28 Joseph Myers <joseph@codesourcery.com>
33180
33181 * conform/conformtest.pl: Fix typo in handling typed-constant from
33182 allow-header.
33183
28aeeda4
JM
331842012-04-27 Joseph Myers <joseph@codesourcery.com>
33185
adae8f5e
JM
33186 * README: Cut down references to pre-2.6 Linux kernels and
33187 Linuxthreads. Update lists of configurations in libc and ports
33188 and sort alphabetically. Say "or newer" with Linux kernel version
33189 requirements.
33190
28aeeda4
JM
33191 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33192
a462cb63
RA
331932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33194
33195 [BZ #887]
33196 * math/libm-test.inc (logb_test_downward): New test to expose
33197 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33198 rounding mode.
33199
6ad3493e
JM
332002012-04-27 Joseph Myers <joseph@codesourcery.com>
33201
33202 [BZ #14027]
33203 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33204 to be done.
33205 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33206 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33207
2ce4f015
JM
332082012-04-26 Joseph Myers <joseph@codesourcery.com>
33209
5aeb141a
JM
33210 * sysdeps/unix/i386/brk.S: Remove file.
33211 * sysdeps/unix/i386/dl-brk.S: Likewise.
33212 * sysdeps/unix/i386/pipe.S: Likewise.
33213 * sysdeps/unix/i386/sigreturn.S: Likewise.
33214 * sysdeps/unix/i386/syscall.S: Likewise.
33215 * sysdeps/unix/i386/vfork.S: Likewise.
33216 * sysdeps/unix/i386/wait.S: Likewise.
33217
7143acae
JM
33218 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33219 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33220
2ce4f015
JM
33221 * configure.in (arm*-none*): Do not allow without
33222 --enable-hacker-mode.
33223 (netbsd*): Remove case setting base_os.
33224 (386bsd*): Likewise.
33225 (freebsd*): Likewise.
33226 (bsdi*): Likewise.
33227 (osf*): Likewise.
33228 (sunos*): Likewise.
33229 (ultrix*): Likewise.
33230 (newsos*): Likewise.
33231 (dynix*): Likewise.
33232 (*bsd*): Likewise.
33233 (sysv*): Likewise.
33234 (isc*): Likewise.
33235 (esix*): Likewise.
33236 (sco*): Likewise.
33237 (minix*): Likewise.
33238 (irix4*): Likewise.
33239 (irix6*): Likewise.
33240 (solaris[2-9]*): Likewise.
33241 (none): Likewise.
33242 * configure: Regenerated.
33243
0ac229c8
AZ
332442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33245
33246 [BZ #11521]
33247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33248 overflow or cancellation in calculating denominator.
33249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33251 down expression to avoid unexpected rounding in newer GCCs.
33252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33253
33f244f4
DM
332542012-04-26 David S. Miller <davem@davemloft.net>
33255
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33257 long-double compat symbols.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33271
cfa1f3e8
DM
332722012-04-25 David S. Miller <davem@davemloft.net>
33273
33274 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33275 HWCAP_* values only after the memory barriers have been defined.
33276 (atomic_full_barrier): Define.
33277 (atomic_read_barrier): Define.
33278 (atomic_write_barrier): Define.
33279
6e236b92
SP
332802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33281
33282 * shlib-versions: Add libgcc_s version information.
33283 * sysdeps/generic/libgcc_s.h: Remove.
33284 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33285 libgcc_s.h.
33286 * sysdeps/gnu/unwind-resume.c: Likewise.
33287 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33288
aab39a09
DM
332892012-04-25 David S. Miller <davem@davemloft.net>
33290
33291 * sysdeps/unix/sparc/brk.S: Delete.
33292 * sysdeps/unix/sparc/dl-brk.S: Delete.
33293 * sysdeps/unix/sparc/pipe.S: Delete.
33294 * sysdeps/unix/sparc/sysdep.S: Delete.
33295 * sysdeps/unix/sparc/sysdep.h: Delete.
33296 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33297 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33298 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33300 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33301 (JUMPTARGET): Remove.
33302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33303 sysdeps/unix/sparc/sysdep.h
33304 (ENTRY, END): Remove.
33305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33306
a3cc4f48
JM
333072012-04-25 Joseph Myers <joseph@codesourcery.com>
33308
2ed8cda2
JM
33309 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33310 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33311 -DIS_IN_build.
33312
35d76d59
JM
33313 * timezone/README: Update upstream location and email address for
33314 tzcode and tzdata.
33315 * timezone/zdump.c: Update from tzcode 2012b.
33316 * timezone/zic.c: Likewise.
33317
a3cc4f48
JM
33318 * configure.in (libc_cv_as_needed): Remove test.
33319 * configure: Regenerated.
33320 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33321 conditional definition.
33322 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33323 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33324 * config.make.in (have-as-needed): Remove variable.
33325
ceab42c3
SP
333262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33327 Paul Pluzhnikov <ppluzhnikov@google.com>
33328
33329 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33330 strings correctly.
33331
3ce2865f
CLT
333322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33333
33334 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33335 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33336 * sysdeps/sh/strlen.S: Likewise.
33337
f37e0d68
JM
333382012-04-24 Joseph Myers <joseph@codesourcery.com>
33339
ae186e9a
JM
33340 * sysdeps/unix/fork.S: Remove file.
33341 * sysdeps/unix/i386/fork.S: Likewise.
33342 * sysdeps/unix/sparc/fork.S: Likewise.
33343
b96914af
JM
33344 * sysdeps/unix/system.c: Remove file.
33345 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33346
f37e0d68
JM
33347 * sysdeps/unix/getegid.S: Remove file.
33348 * sysdeps/unix/geteuid.S: Likewise.
33349
87ef29ca
RM
333502012-04-24 Roland McGrath <roland@hack.frob.com>
33351
83bcd236
RM
33352 * scripts/check-localplt.awk: New file.
33353 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33354 of diff.
33355 * scripts/data/localplt-generic.data: Add a comment.
33356
87ef29ca
RM
33357 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33358 NODE when __dir_mkfile failed.
33359 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33360 Reported by Ludovic Courtès <ludo@gnu.org>.
33361
e5a6e567
AJ
333622012-04-24 Andreas Jaeger <aj@suse.de>
33363
33364 * Makerules (common-clean): Also remove gen-as-const-headers
33365 files.
33366
c1820385
JM
333672012-04-24 Joseph Myers <joseph@codesourcery.com>
33368
33369 * Makerules (native-compile): Do not change working directory for
33370 build. Use $(OUTPUT_OPTION) in command.
33371 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33372
94e02fc4
AZ
333732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33374
33375 [BZ #13886]
33376 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33377 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33378 * math/libm-test.inc (floor_test): Add more tests.
33379 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33380
3a533ca3
JM
333812012-04-24 Joseph Myers <joseph@codesourcery.com>
33382
940ab4b3
JM
33383 * sysdeps/unix/getdents.c: Remove file.
33384 * sysdeps/unix/sysv/getdents.c: Likewise.
33385 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33386
90e037bd
JM
33387 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33388 sysdeps/unix/mman/syscalls.list.
33389 (mmap): Likewise.
33390 (mprotect): Likewise.
33391 (msync): Likewise.
33392 (munmap): Likewise.
33393 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33394 * sysdeps/unix/mman/syscalls.list: Remove.
33395 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33396
3a533ca3
JM
33397 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33398 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33399 * configure: Regenerated.
33400 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33401 $(libgcc_s_suffix).
33402 * config.make.in (libgcc_s_suffix): Remove variable.
33403
1ad743de
JM
334042012-04-23 Joseph Myers <joseph@codesourcery.com>
33405
4ad451e2
JM
33406 * sysdeps/unix/sysv/gethostname.c: Move to ...
33407 * sysdeps/posix/gethostname.c: ... here.
33408
5e37ce39
JM
33409 * sysdeps/unix/execve.S: Remove file.
33410
1ad743de
JM
33411 * sysdeps/unix/_exit.S: Remove file.
33412
4e681b5b
AJ
334132012-04-23 Andreas Jaeger <aj@suse.de>
33414
33415 [BZ #13739]
33416 * manual/Makefile: Remove make dist support, there's no
33417 need for a stand-alone documentation tar ball.
33418 (TEXI2DVI): Define always, it's not in Makeconfig.
33419 (dist): Removed.
33420 (tar-it): Removed.
33421 (edition): Removed.
33422 (glibc-doc-$(edition).tar): Removed
33423 (%.Z): Removed.
33424 (%.gz): Removed.
33425 (%.uu): Removed.
33426 (ETAGS): Remove, it's in Makeconfig.
33427 (move-if-change): Remove, it's in Makeconfig.
33428
38686a03 334292012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33430
33431 [BZ #13970]
33432 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33433 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33434 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33435 (strtod_l, strtof_l, strtold_l): Remove __wur.
33436 It is not necessarily an error to ignore strtol's return value.
33437 One can reliably look at the stored endptr to decide whether
33438 the number had valid syntax.
33439
7c0616fa
AJ
334402012-04-21 Andreas Jaeger <aj@suse.de>
33441
803cb6b7 33442 [BZ #13739]
7c0616fa
AJ
33443 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33444
b0fe253f
JM
334452012-04-21 Joseph Myers <joseph@codesourcery.com>
33446
33447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33448 * sysdeps/unix/sysv/Versions: Remove file.
33449
8280f22d
MT
334502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33451
33452 [BZ #13927]
33453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33454
75ce411f 334552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33456
33457 [BZ #7064]
33458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33459 version from __vm86.
33460
097d59fa
JM
334612012-04-20 Joseph Myers <joseph@codesourcery.com>
33462
a90f3bcb
JM
33463 * sysdeps/unix/common/lxstat.c: Remove file.
33464 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33465
edc7ea78
JM
33466 * sysdeps/unix/sysv/Makefile: Remove file.
33467
cb78c221
JM
33468 * sysdeps/unix/sysv/direct.h: Remove file.
33469
efa6a45f
JM
33470 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33471 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33472 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33473 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33474 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33475 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33476 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33477
9c9f2d0c
JM
33478 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33479
4541c83b
JM
33480 * sysdeps/unix/xmknod.c: Remove file.
33481 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33482
f5d153a0
JM
33483 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33484
aa746595
JM
33485 * sysdeps/unix/sysv/i386/time.S: Remove file.
33486
cce5905e
JM
33487 * sysdeps/unix/fxstat.c: Remove file.
33488 * sysdeps/unix/xstat.c: Likewise.
33489 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33490
37fa3841
JM
33491 * sysdeps/unix/sysv/sigaction.c: Remove file.
33492
ff1962a3
JM
33493 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33494 (sysdep_headers): Remove variable.
33495 [termio.h not in sysdep_headers] (generated): Likewise.
33496 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33497 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33498 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33499 * sysdeps/unix/sysv/tcflow.c: Likewise.
33500 * sysdeps/unix/sysv/tcflush.c: Likewise.
33501 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33502 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33503 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33504 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33505 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33506
e7740d31
JM
33507 * sysdeps/unix/siglist.c: Remove file.
33508
ee06f18b
JM
33509 * sysdeps/unix/getppid.S: Remove file.
33510
097d59fa
JM
33511 * sysdeps/unix/mkdir.c: Remove file.
33512 * sysdeps/unix/rmdir.c: Likewise.
33513
ff3d51ec
AS
335142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33515
33516 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33517 ERR_MAX value.
33518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33519 errlist-compat value.
33520
50f81fd7
DM
335212012-04-18 David S. Miller <davem@davemloft.net>
33522
33523 * sysdeps/generic/memcopy.h (reg_char): Delete.
33524 * debug/strcat_chk.c: Use char, not reg_char.
33525 * debug/strcpy_chk.c: Likewise.
33526 * debug/strncat_chk.c: Likewise.
33527 * debug/strncpy_chk.c: Likewise.
33528 * string/memchr.c: Likewise.
33529 * string/memrchr.c: Likewise.
33530 * string/rawmemchr.c: Likewise.
33531 * string/strcat.c: Likewise.
33532 * string/strchr.c: Likewise.
33533 * string/strchrnul.c: Likewise.
33534 * string/strcmp.c: Likewise.
33535 * string/strcpy.c: Likewise.
33536 * string/strncat.c: Likewise.
33537 * string/strncmp.c: Likewise.
33538 * string/strncpy.c: Likewise.
33539
8ff41c46
WS
335402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33541
33542 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33543 __builtin_memcopy is called when src and dest ranges are known to not
33544 overlap.
33545
6b652f46
WS
335462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33547
33548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33549 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33550 fwd_align_merge macro call.
33551 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33552 bwd_align_merge macro call.
33553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33554
b282631e
WS
335552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33556
33557 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33558 bwd_align_merge macros.
33559 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33560 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33561 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33562
95aa737c
DM
335632012-04-18 David S. Miller <davem@davemloft.net>
33564
33565 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33566
7a99a614
AJ
335672012-04-18 Andreas Jaeger <aj@suse.de>
33568
33569 [BZ# 6794]
33570 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33571 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33572 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33573
33574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33575 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33577
33578 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33579 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33580 Adjust for changed ldbl-128 files.
33581
33582 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33583 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33585
e5270c23
DM
335862012-04-17 David S. Miller <davem@davemloft.net>
33587
33588 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33589
fb5e92c9
AS
335902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33591
33592 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33593 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33594 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33595 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33596 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33598
76da7265
AZ
335992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33600
33601 [BZ #6794]
33602 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33603 * math/libm-test.inc: Add ilogb errno and exception tests.
33604 * math/w_ilogb.c: New file: ilogb wrapper.
33605 * math/w_ilogbf.c: New file: ilogbf wrapper.
33606 * math/w_ilogbl.c: New file: ilogbl wrapper.
33607 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33608 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33609 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33610 exception being thrown with 0.0 as argument.
33611 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33612 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33613 exception being thrown with 0.0 as argument.
33614 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33615 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33616 exception being thrown with 0.0 as argument.
33617 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33618 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33619 exception being thrown with 0.0 as argument.
33620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33621 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33623 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33626 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33627 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33628 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33629
0396e69d
PB
336302012-04-17 Petr Baudis <pasky@ucw.cz>
33631
33632 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33633 with altivec.
33634
750b5926
MP
336352012-04-16 Marek Polacek <polacek@redhat.com>
33636
33637 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33638
751728a1
MP
336392012-04-16 Marek Polacek <polacek@redhat.com>
33640
33641 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33642 operands of fdivp instruction.
33643
34a27407
L
336442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33645
33646 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33647 * elf/tst-auditmod3b.c: Likewise.
33648 * elf/tst-auditmod4b.c: Likewise.
33649 * elf/tst-auditmod5b.c: Likewise.
33650 * elf/tst-auditmod6b.c: Likewise.
33651 * elf/tst-auditmod6c.c: Likewise.
33652 * elf/tst-auditmod7b.c: Likewise.
33653 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33654 * sysdeps/x86_64/preconfigure.in: Likewise.
33655 * sysdeps/x86_64/preconfigure: Regenerated.
33656
7e73e17d
L
336572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33658
33659 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33660 __ILP32__.
33661
c7a6ab72
AB
336622012-04-13 Antoine Balestrat <merkil33@gmail.com>
33663
33664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33665 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33666
a9e8e0e0
CL
336672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33668
33669 [BZ #13973]
33670 * locale/iso-639.def: Fix gl language name. Spotted by
33671 Yaron Shahrabani.
33672
ec98af7d
RM
336732012-04-12 Roland McGrath <roland@hack.frob.com>
33674
33675 [BZ #2074]
33676 * libio/libio.h (__io_write_fn): Update comment.
33677
247c3ede
PB
336782012-04-12 Petr Baudis <pasky@ucw.cz>
33679
33680 [BZ #2074]
33681 * stdio.texi (Hook Functions): The user provided writer function
33682 is not allowed to return -1.
33683
55939d6d
DM
336842012-04-11 David S. Miller <davem@davemloft.net>
33685
33686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33687
90020f5a
MF
336882012-04-11 Mike Frysinger <vapier@gentoo.org>
33689
33690 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33691 Add a leading slash to rtkaio.
33692
288f9098
JM
336932012-04-11 Jim Meyering <meyering@redhat.com>
33694
90020f5a
MF
33695 [BZ #11959]
33696 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33697 It is not necessarily an error to ignore fwrite's return
33698 value. One can reliably use ferror to test for errors after
33699 the fact.
288f9098 33700
4be2b570
L
337012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33702
33703 * bits/types.h (__snseconds_t): New type.
33704 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33705
33706 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33708 (__SNSECONDS_T_TYPE): Likewise.
33709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33710 (__SNSECONDS_T_TYPE): Likewise.
33711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33712 (__SNSECONDS_T_TYPE): Likewise.
33713
288f9098 337142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33715
33716 [BZ #2636]
33717 * manual/time.texi (Processor Time): Return type of times is
33718 elapsed real time since an arbitrary point in the past.
33719 (CPU Time): Move CLK_TCK from here...
33720 (Processor Time): ...to here. Correct description.
33721 * manual/conf.texi (Constants for Sysconf): Correct description of
33722 _SC_CLK_TCK.
33723
d7dd4413
DM
337242012-04-10 David S. Miller <davem@davemloft.net>
33725
33726 [BZ #13967]
33727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33728 where the is a gap between DT_REL(A) and DT_JMPREL.
33729
b46068fc
L
337302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33731
33732 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33733 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33734 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33735
73d65cc3
SP
337362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33737
33738 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33739 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33740 (dl_main): Handle --inhibit-cache.
33741 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33742 _dl_inhibit_cache.
33743 * elf/dl-load.c (_dl_map_object): Use it.
33744 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33745
bcc8d661
JM
337462012-04-09 Joseph Myers <joseph@codesourcery.com>
33747
8f9a2fae
JM
33748 [BZ #13872]
33749 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33750 (__ieee754_powl): Saturate large exponents rather than testing for
33751 overflow of y*log2(x).
33752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33753 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33754 exceptions.
33755
bcc8d661
JM
33756 [BZ #11521]
33757 * math/s_ctan.c: Include <float.h>.
33758 (__ctan): Avoid internal overflow or cancellation in calculating
33759 denominator.
33760 * math/s_ctanf.c: Likewise.
33761 * math/s_ctanl.c: Likewise.
33762 * math/s_ctanh.c: Likewise.
33763 * math/s_ctanhf.c: Likewise.
33764 * math/s_ctanhl.c: Likewise.
33765 * math/libm-test.inc (ctan_test): Add more tests.
33766 (ctanh_test): Likewise.
33767 * sysdeps/i386/fpu/libm-test-ulps: Update.
33768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33769
823fbbb4
AJ
337702012-04-09 Andreas Jaeger <aj@suse.de>
33771
03879793
AJ
33772 [BZ #6894]
33773 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33774 is an optional BSD extension.
33775
823fbbb4
AJ
33776 [BZ #10254]
33777 * manual/stdio.texi (Opening Streams): Document additional fopen
33778 parameters.
33779
8de131cb
RM
337802012-04-09 Roland McGrath <roland@hack.frob.com>
33781
33782 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33783 %eax without telling the compiler.
33784
c0ed9d7d
CD
337852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33786
33787 [BZ # 13963]
33788 * manual/install.texi: Use sourceware.org.
33789
c483f6b4
JM
337902012-04-09 Joseph Myers <joseph@codesourcery.com>
33791
d7dd9453
JM
33792 [BZ #13873]
33793 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33794 (__ieee754_pow): Generate overflow and underflow using huge*huge
33795 and tiny*tiny rather than just returning constant infinity or zero
33796 for large exponents.
33797 * math/libm-test.inc (pow_test): Require overflow exceptions for
33798 applicable cases of large exponents.
33799
c483f6b4
JM
33800 [BZ #706]
33801 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33802 (__ieee754_pow): Use iterative multiplication algorithm only for
33803 integer exponents with absolute value below 1024. Check for odd
33804 integer exponents when using algorithm for real exponents.
33805 * math/libm-test.inc (pow_test): Add more tests.
33806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33807
d2de7579
JM
338082012-04-08 Joseph Myers <joseph@codesourcery.com>
33809
33810 [BZ #13705]
33811 * math/libm-test.inc (exp_test): Do not allow overflow exception
33812 on underflow test.
33813
f77f1232
AJ
338142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33815
33816 [BZ #13705]
33817 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33818 instead of __kernel_standard_f.
33819
3884932b
MF
338202012-04-08 Mike Frysinger <vapier@gentoo.org>
33821
33822 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33823 * sysdeps/x86_64/memset_chk.S: Likewise.
33824
54472e9c
AJ
338252012-04-08 Andreas Jaeger <aj@suse.de>
33826
6ab0fbfc
AJ
33827 [BZ #10153]
33828 * manual/startup.texi (Environment Access): Describe return value
33829 for putenv and setenv.
33830
61efba8c
AJ
33831 [BZ #6895]
33832 * manual/filesys.texi (Directory Entries): Add description for
33833 DT_LNK.
33834
95c3f29a
AJ
33835 [BZ #6890]
33836 * manual/filesys.texi (Directory Entries): Clarify that it's file
33837 system not operating system in the description of DT_UNKNOWN.
33838
54472e9c
AJ
33839 [BZ #6578]
33840 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33841
624254b1
SC
338422012-04-08 Stephen Compall <s11@member.fsf.org>
33843
33844 [BZ #6649]
33845 * manual/llio.texi (Opening and Closing Files): Add cross
33846 reference to explain mode argument.
33847
1e4920e0
MF
338482012-04-07 Mike Frysinger <vapier@gentoo.org>
33849
33850 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33851 * sysdeps/x86_64/memset_chk.S: Likewise.
33852
5ed848f3
DM
338532012-04-07 David S. Miller <davem@davemloft.net>
33854
33855 * elf/elf.h (R_SPARC_WDISP10): Define.
33856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33857 R_SPARC_SIZE32.
33858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33859 R_SPARC_SIZE64 and R_SPARC_H34.
33860
96154cd8
CD
338612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33862
33863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33864 conditions and remove no longer applicable assertion.
33865
9904dc47
L
338662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33867
33868 * bits/byteswap.h: Include <features.h>.
33869 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33870 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33871
f8887d0a
L
338722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33873
33874 * bits/byteswap.h (__bswap_16): Removed.
33875 Include <bits/byteswap-16.h> to get __bswap_16.
33876 * sysdeps/i386/bits/byteswap.h: Likewise.
33877 * sysdeps/s390/bits/byteswap.h: Likewise.
33878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33879 * bits/byteswap-16.h: New file.
33880 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33881 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33882 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33883 * string/Makefile (headers): Add bits/byteswap-16.h.
33884
62470f60
PP
338852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33886
33887 [BZ #13895]
33888 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33889 extra indirection.
33890 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33891 * nss/tst-nss-static.c: New.
33892
4dad7bab
RM
338932012-04-06 Robert Millan <rmh@gnu.org>
33894
33895 [BZ #6486]
33896 * manual/llio.texi (File Position Primitive): lseek
33897 refers to WHENCE when it really means OFFSET.
33898
e9142a17
AJ
338992012-04-06 Andreas Jaeger <aj@suse.de>
33900
2c040eff
AJ
33901 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33902 strncmp declarations.
33903
e9142a17
AJ
33904 * abilist/libc.abilist: Add __poll and __ppoll.
33905
ff9f1c5f
DM
339062012-04-05 David S. Miller <davem@davemloft.net>
33907
dcd2ae90
DM
33908 * scripts/check-local-headers.sh: Accept a host triplet in the
33909 path matched by the exclude regexp.
33910
993eb054
DM
33911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33912 definition.
33913 * sysdeps/powerpc/powerpc32/dl-machine.h
33914 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33915 * sysdeps/s390/s390-32/dl-machine.h
33916 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33917 * sysdeps/sparc/sparc32/dl-machine.h
33918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33919 * sysdeps/sparc/sparc64/dl-machine.h
33920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33921
ff9f1c5f
DM
33922 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33923 lazy binding.
48e2e132 33924 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33925 undefined symbol errors.
33926
48e2e132 33927 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33928 DT_NEEDED entries.
33929
e80d6f94
MM
339302012-04-05 Michael Matz <matz@suse.de>
33931
33932 [BZ #13592]
33933 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33934
349fa79f
AJ
339352012-04-05 Andreas Jaeger <aj@suse.de>
33936
33937 [BZ #13908]
33938 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33939 comment.
33940
f402708f
KK
339412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33942
33943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33944 which ROUND is no valid rounding mode.
33945
2ecccfc9
KK
339462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33947
33948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33949 read again.
33950 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33951
8a53f50f
KK
339522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33953
33954 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33955 an exception using FPU order intentionally.
33956
339572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33958
33959 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33960 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33961 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33962 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33963
d653abb7
SJ
339642012-04-05 Simon Josefsson <simon@josefsson.org>
33965
33966 [BZ #12340]
33967 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33968 EINVAL when BUFLEN is too smal.
33969
c3b1bf7d
TS
339702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33971
33972 [BZ #13553]
33973 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33974 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33975
b1aa60f3
AJ
339762012-04-03 Andreas Jaeger <aj@suse.de>
33977
c3b1bf7d 33978 [BZ #13938]
67f60a26
AJ
33979 * manual/setjmp.texi (System V contexts): Fix sentence.
33980
b1aa60f3
AJ
33981 [BZ #13926]
33982 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33983 New macro for this case.
33984 [!__GNUC__] (__bswap_64): New inline function for this case.
33985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33986 * bits/byteswap.h: Likewise.
33987 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33988 ull, guard with __GLIBC_HAVE_LONG_LONG.
33989
33990 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33991 __GLIBC_HAVE_LONG_LONG.
33992
33993 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33994 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33995
39c59c35
TMQMF
339962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33997
33998 [BZ #13691]
33999 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34000 inptr and inend, rather than using last_ch.
34001
135ffda8
DM
340022012-04-02 David S. Miller <davem@davemloft.net>
34003
34004 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34005 * stdio-common/printf-parse.h (read_int): Change return type to
34006 'int', return -1 on INT_MAX overflow.
34007 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34008 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34009 overflows INT_MAX. Check for overflow of in-format-string precision
34010 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34011 SIZE_MAX not INT_MAX for integer overflow test.
34012 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34013 skip the construct in the format string but do not record anything.
34014 * stdio-common/bug22.c: Adjust to test both width/prevision
34015 INT_MAX overflow as well as total length INT_MAX overflow. Check
34016 explicitly for proper errno values.
34017
228c019e
TS
340182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34019
302cadd3
TS
34020 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34021 CHAR_MAX.
34022 * string/test-strcmp.c [! WIDE]: Likewise.
34023 * time/tst-mktime2.c: Likewise for INT_MAX.
34024 * string/test-string.h: #include <sys/param.h> for MIN.
34025
228c019e
TS
34026 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34027 * sysdeps/i386/init-first.c (init): Likewise.
34028 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34029 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34030 * sysdeps/sh/init-first.c (init): Likewise.
34031
cfa633f5
UD
340322012-04-01 Ulrich Drepper <drepper@gmail.com>
34033
34034 * po/ru.po: Update from translation team.
d1635ef8 34035 * po/vi.po: Likewise.
cfa633f5 34036
6cd0a5ea
SP
340372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34038
34039 * resolv/nss_dns/dns-host.c: Merge copyright years.
34040
4b43400f
LD
340412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34042
34043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34044 Optimize memcpy with prefetch if
34045 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34046 src, dst pointers have unequal 16 byte alignments.
34047
48c41d04
SP
340482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34049
34050 [BZ #13928]
34051 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34052 from a CNAME entry and return the minimum ttl for the query.
34053 (gaih_getanswer_slice): Likewise.
34054
b8dc394d
JL
340552012-03-30 Jeff Law <law@redhat.com>
34056
34057 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34058 due to long keys.
34059 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34060 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34061
2f5a5ed0
JL
34062 * resolv/nss_dns/dns-host.c: Update copyright year.
34063
1d39e359
UD
340642012-03-30 Ulrich Drepper <drepper@gmail.com>
34065
c030f70c 34066 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34067 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34068
1d39e359
UD
34069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34070 comments for sendmmsg.
34071
340722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34073
34074 [BZ #13691]
34075 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34076 with only 1 character between 0x0041 and 0x01b0.
34077 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34078 * wcsmbs/tst-mbsnrtowcs.c: New file.
34079
20fde227
DM
340802012-03-29 David S. Miller <davem@davemloft.net>
34081
34082 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34083 small copies by hand.
34084
984a4237
JL
340852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34086
34087 [BZ #13761]
57f41c40
AS
34088 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34089 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34090 group memberships.
984a4237 34091
18c9d62b
DM
340922012-03-28 David S. Miller <davem@davemloft.net>
34093
88d85d4f
DM
34094 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34095 that branches into memcpy.
34096 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34099 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34101 bits.
34102 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34103 implementation too.
34104 * sysdeps/sparc/mempcpy.S: New file.
34105
e5aa83e1
DM
34106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34107 the IFUNC routine in the libc case.
34108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34109
88570753
DM
34110 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34111 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34112 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34113 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34114 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34115 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34116 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34117 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34118
249d7567
DM
34119 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34120 loop to 256 bytes instead of 64 bytes and fix test signedness.
34121
18c9d62b
DM
34122 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34123 * sysdeps/sparc/sparc32/Makefile: rather than here...
34124 * sysdeps/sparc/sparc64/Makefile: and here.
34125
05f3d1f6
UD
341262012-03-28 Ulrich Drepper <drepper@gmail.com>
34127
34128 * malloc/mallocbug.c: Avoid warnings about unused variables.
34129
86ae07a8
JL
341302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34131
34132 [BZ #13760]
34133 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34134 in the right place. Discard and retry query if response is
34135 larger than input buffer size.
34136
41bf21a1
JM
341372012-03-28 Joseph Myers <joseph@codesourcery.com>
34138
d6270972
JM
34139 [BZ #369]
34140 [BZ #2678]
34141 [BZ #3866]
34142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34143 x for large integer exponent.
34144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34145 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34146 sign of result as needed afterwards.
34147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34148 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34149 result for underflowing pow the same as for overflow.
34150 (__kernel_standard_l): Handle powl overflow and underflow here
34151 rather than calling __kernel_standard.
34152 * math/libm-test.inc (pow_test): Add more tests.
34153
414fca03 34154 [BZ #3868]
41bf21a1
JM
34155 [BZ #13879]
34156 [BZ #13910]
34157 [BZ #13911]
34158 [BZ #13912]
34159 [BZ #13913]
34160 [BZ #13915]
34161 [BZ #13916]
34162 [BZ #13917]
34163 [BZ #13918]
34164 [BZ #13919]
34165 [BZ #13920]
34166 [BZ #13921]
34167 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34168 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34169 (__kernel_standard_l): New function.
34170 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34171 __kernel_standard.
34172 * math/w_acosl.c (__acosl): Likewise.
34173 * math/w_asinl.c (__asinl): Likewise.
34174 * math/w_atan2l.c (__atan2l): Likewise.
34175 * math/w_atanhl.c (__atanhl): Likewise.
34176 * math/w_coshl.c (__coshl): Likewise.
34177 * math/w_exp10l.c (__exp10l): Likewise.
34178 * math/w_exp2l.c (__exp2l): Likewise.
34179 * math/w_fmodl.c (__fmodl): Likewise.
34180 * math/w_hypotl.c (__hypotl): Likewise.
34181 * math/w_j0l.c (__j0l, __y0l): Likewise.
34182 * math/w_j1l.c (__j1l, __y1l): Likewise.
34183 * math/w_jnl.c (__jnl, __ynl): Likewise.
34184 * math/w_lgammal.c (__lgammal): Likewise.
34185 * math/w_log10l.c (__log10l): Likewise.
34186 * math/w_log2l.c (__log2l): Likewise.
34187 * math/w_logl.c (__logl): Likewise.
34188 * math/w_powl.c (__powl): Likewise.
34189 * math/w_remainderl.c (__remainderl): Likewise.
34190 * math/w_scalbl.c (sysv_scalbl): Likewise.
34191 * math/w_sinhl.c (__sinhl): Likewise.
34192 * math/w_sqrtl.c (__sqrtl): Likewise.
34193 * math/w_tgammal.c (__tgammal): Likewise.
34194 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34195 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34196 * math/libm-test.inc (acos_test): Add more tests.
34197 (acosh_test): Likewise.
34198 (asin_test): Likewise.
34199 (atanh_test): Likewise.
34200 (exp_test): Likewise.
34201 (exp10_test): Likewise.
34202 (exp2_test): Likewise.
34203 (expm1_test): Likewise.
34204 (lgamma_test): Likewise.
34205 (log_test): Likewise.
34206 (log10_test): Likewise.
34207 (log1p_test): Likewise.
34208 (log2_test): Likewise.
34209 (pow_test): Do not allow some spurious overflow exceptions.
34210 (sqrt_test): Add more tests.
34211 (tgamma_test): Likewise.
34212 (y0_test): Likewise.
34213 (y1_test): Likewise.
34214 (yn_test): Likewise.
34215
dd62fda6
AB
342162012-03-27 Anton Blanchard <anton@samba.org>
34217
34218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34219 MAP_HUGETLB.
34220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34223
1e3cdfda
AJ
342242012-03-27 David S. Miller <davem@davemloft.net>
34225
b855ab85
DM
34226 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34227
1e3cdfda
AJ
34228 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34229 have-as-vis3 check.
34230
342312012-03-27 Andreas Jaeger <aj@suse.de>
34232
34233 * sysdeps/x86_64/elf/configure.in: Moved to ...
34234 * sysdeps/x86_64/configure.in: ... here.
34235 * sysdeps/x86_64/elf/start.S: Moved to ...
34236 * sysdeps/x86_64/start.S: ... here.
34237 * sysdeps/x86_64/elf/configure: Delete.
34238
34239 * sysdeps/x86_64/configure.in: Merge contents from
34240 sysdeps/i386/configure.in (without i686 check).
34241
34242 * sysdeps/i386/elf/Versions: Merge into ...
34243 * sysdeps/i386/Versions: ... this.
34244 * sysdeps/i386/elf/Versions: Delete file.
34245 * sysdeps/i386/elf/start.S: Moved to ...
34246 * sysdeps/i386/start.S: ...here.
34247 * sysdeps/i386/elf/configure.in: Merge into...
34248 * sysdeps/i386/configure.in: ...here.
34249 * sysdeps/i386/elf/configure.in: Delete file.
34250 * sysdeps/i386/elf/configure: Delete file.
34251
34252 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34253 * debug/backtracesyms.c: ... here.
34254 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34255 * debug/backtracesymsfd.c: ... here.
34256 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34257 * sysdeps/generic/ifunc-sel.h: ... here.
34258
34259 * sysdeps/unix/i386/start.c: Delete file.
34260 * sysdeps/unix/sparc/start.c: Delete file.
34261 * sysdeps/unix/start.c: Delete file.
34262
34263 * sysdeps/sh/elf/configure.in: Moved to ...
34264 * sysdeps/sh/configure.in: ... here.
34265 * sysdeps/sh/elf/start.S: Moved to ...
34266 * sysdeps/sh/start.S: ... here.
34267 * sysdeps/sh/elf/configure: Delete file.
34268
34269 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34270 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34271 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34272 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34273 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34274 * sysdeps/powerpc/powerpc64/start.S: here.
34275 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34276 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34277 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34278 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34279 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34280
34281 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34282 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34283 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34284 * sysdeps/powerpc/powerpc32/start.S: ... here.
34285 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34286 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34287 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34288
34289 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34290 * sysdeps/powerpc/ifunc-sel.h: ... here.
34291 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34292 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34293
34294 * sysdeps/sparc/elf/configure.in: Moved to ...
34295 * sysdeps/sparc/configure.in: ... here.
34296 * sysdeps/sparc/elf/configure: Delete file.
34297 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34298 * sysdeps/sparc/sparc32/start.S: ... here.
34299 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34300 * sysdeps/sparc/sparc64/start.S: ... here.
34301 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34302 * sysdeps/sparc/sparc32/Makefile: ... this.
34303 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34304 * sysdeps/sparc/sparc64/Makefile: ... this.
34305
34306 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34307 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34308 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34309 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34310 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34311 * sysdeps/s390/s390-32/setjmp.S: ... here.
34312 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34313 * sysdeps/s390/s390-32/configure.in: ... here.
34314 * sysdeps/s390/s390-32/elf/configure: Delete file.
34315 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34316 * sysdeps/s390/s390-32/start.S: ... here.
34317
34318 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34319 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34320 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34321 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34322 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34323 * sysdeps/s390/s390-64/setjmp.S: ... here.
34324 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34325 * sysdeps/s390/s390-64/configure.in: ... here
34326 * sysdeps/s390/s390-64/elf/configure: Delete file.
34327 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34328 * sysdeps/s390/s390-64/start.S: ... here.
34329 * sysdeps/s390/s390-64/elf/configure: Delete.
34330
34331 * configure.in: Remove support for elf directories in sysdeps.
34332
34333 * configure: Regenerated.
34334 * sysdeps/i386/configure: Regenerated.
34335 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34336 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34337 * sysdeps/s390/s390-32/configure: Regenerated.
34338 * sysdeps/s390/s390-64/configure: Regenerated.
34339 * sysdeps/sh/configure: Regenerated.
34340 * sysdeps/sparc/configure: Regenerated.
34341 * sysdeps/x86_64/configure: Regenerated.
34342
a3f61311
AS
343432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34344
c876e002
AS
34345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34346
a3f61311
AS
34347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34348 denormal result into account.
34349
ac4c54f0
RM
343502012-03-25 Roland McGrath <roland@hack.frob.com>
34351
34352 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34353 Reported by Allan McRae <allan@archlinux.org>.
34354
6a9b9c02
JL
343552012-03-23 Jeff Law <law@redhat.com>
34356
34357 * nss/getnssent.c (__nss_getent): Fix typo.
34358
4c42a0c1
DM
343592012-03-23 David S. Miller <davem@davemloft.net>
34360
34361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34362
1532c7ac
L
343632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34364
34365 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34366 to pad to uint64_t for each field.
34367 (dl_tls_index): Replace unsigned long with uint64_t.
34368
3ff42526
PP
343692012-03-23 Daniel Jacobowitz <dmj@google.com>
34370 Paul Pluzhnikov <ppluzhnikov@google.com>
34371
34372 [BZ #6528]
34373 * grp/Makefile (otherlibs): Don't set it.
34374 * inet/Makefile (otherlibs): Likewise.
34375 * login/Makefile (otherlibs): Likewise.
34376 * nscd/Makefile (otherlibs): Likewise.
34377 * posix/Makefile (otherlibs): Likewise.
34378 * pwd/Makefile (otherlibs): Likewise.
34379 * rt/Makefile (otherlibs): Likewise.
34380 * sunrpc/Makefile (otherlibs): Likewise.
34381 * nss/Makefile (otherlibs): Likewise.
34382 Add libnss_files to routines and static-only-routines.
34383 ($(objpfx)getent): Remove rule.
34384 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34385 static-only-routines.
34386
7c69cd14
JM
343872012-03-22 Joseph Myers <joseph@codesourcery.com>
34388
34389 [BZ #13892]
34390 * math/s_cexp.c: Include <float.h>.
34391 (__cexp): Handle exp result overflowing not necessarily
34392 overflowing both real and imaginary parts of result.
34393 * math/s_cexpf.c: Likewise.
34394 * math/s_cexpl.c: Likewise.
34395 * math/libm-test.inc (cexp_test): Add more tests.
34396 * sysdeps/i386/fpu/libm-test-ulps: Update.
34397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34398
81b035fe
L
343992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34400
34401 * include/link.h (ELFW): New macro.
34402 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34403 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34404
1da7940c
L
344052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34406
34407 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34408 with uint64_t.
34409
b749dbb9
L
344102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34411
34412 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34413 declaration.
34414 (struct La_x32_retval): Likewise.
34415
2ff87f3f
L
344162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 * sysdeps/x86_64/preconfigure.in: New file.
34419 * sysdeps/x86_64/preconfigure: New generated file.
34420
c0df8e69
JM
344212012-03-22 Joseph Myers <joseph@codesourcery.com>
34422
48e44791
JM
34423 [BZ #13824]
34424 * math/e_exp2l.c: Include <float.h>.
34425 (__ieee754_exp2l): Handle overflow and underflow cases
34426 separately. Only pass fractional part of argument to
34427 __ieee754_expl.
34428 * math/libm-test.inc (exp2_test): Add more tests.
34429
c0df8e69
JM
34430 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34431 negating x to take absolute value.
34432 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34433 Likewise.
34434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34436 Likewise.
34437 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34438 computing low part if x was negated.
34439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34440
c8e43ba7
L
344412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34442
34443 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34444 la_x32_gnu_pltexit.
34445 (pltexit): Cast int_retval to ptrdiff_t.
34446 * elf/tst-auditmod3b.c: Likewise.
34447 * elf/tst-auditmod4b.c: Likewise.
34448 * elf/tst-auditmod5b.c: Likewise.
34449 * elf/tst-auditmod6b.c: Likewise.
34450 * elf/tst-auditmod6c.c: Likewise.
34451 * elf/tst-auditmod7b.c: Likewise.
34452
34453 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34454 and x32_gnu_pltexit.
34455
34456 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34457 __ELF_NATIVE_CLASS.
34458 (La_x32_regs): New macro.
34459 (La_x32_retval): Likewise.
34460 (la_x32_gnu_pltenter): New function prototype.
34461 (la_x32_gnu_pltexit): Likewise.
34462
7998fa78
AS
344632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34464
dcb33988
AS
34465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34466 exponent.
34467
233fc563
AS
34468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34469
7998fa78
AS
34470 * configure.in (libc_cv_cc_nofma): Check for option to disable
34471 generation of FMA instructions.
34472 * configure: Regenerate.
34473 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34474 * sysdeps/ieee754/dbl-64/Makefile: New file.
34475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34476 Remove brandred-fma4.
34477 (CFLAGS-brandred-fma4.c): Remove.
34478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34480 define.
34481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34482 define.
34483
8e95c99a
L
344842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34487 LLONG_MAX != LONG_MAX.
34488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34489 (_fitoa_word): Likewise.
34490 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34491 LLONG_MAX != LONG_MAX.
34492 * stdio-common/_itowa.h: Include <_itoa.h>.
34493 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34494 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34495 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34496 only if not defined.
34497 (_ITOA_WORD_TYPE): Likewise.
34498 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34499 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34500
6f4db457
DM
345012012-03-21 David S. Miller <davem@davemloft.net>
34502
34503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34504
7785fe5a
L
345052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34508 of x86_64 when setting libc_cv_slibdir, libdir and
34509 libc_cv_localedir.
34510 * sysdeps/unix/sysv/linux/configure: Regenerated.
34511
4535cd55
JM
345122012-03-21 Joseph Myers <joseph@codesourcery.com>
34513
34514 * manual/lang.texi (Old Varargs): Remove section.
34515 (How Variadic): Update menu.
34516 (va_start): Do not mention varargs.h.
34517
17228132
TS
345182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34519 Joseph Myers <joseph@codesourcery.com>
34520
34521 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34522 link test.
34523 * configure: Regenerated.
34524
8149f976
TS
345252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34526
05f3d1f6
UD
34527 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34528 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34529 conformtest.pl
8149f976 34530
1a4ac776
JM
345312012-03-21 Joseph Myers <joseph@codesourcery.com>
34532
be22ce65
JM
34533 * NOTES: Remove.
34534 * Makefile (files-for-dist): Remove NOTES.
34535 (NOTES): Remove rule.
34536 * README: Don't refer to NOTES.
34537 * manual/creature.texi: Don't include macros.texi.
34538 * manual/intro.texi (creature.texi): Remove comment referring to
34539 NOTES.
34540
40b601fb
JM
34541 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34542 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34543 * configure: Regenerated.
34544 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34545 LIBC_TRY_CC_OPTION.
34546 (libc_cv_as_i686): Likewise.
34547 (libc_cv_cc_avx): Likewise.
34548 (libc_cv_cc_sse2avx): Likewise.
34549 (libc_cv_cc_fma4): Likewise.
34550 (libc_cv_cc_novzeroupper): Likewise.
34551 * sysdeps/i386/configure: Regenerated.
34552
1a4ac776
JM
34553 [BZ #13883]
34554 * sysdeps/i386/fpu/s_cexp.S: Remove.
34555 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34556 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34557 * math/libm-test.inc (cexp_test): Add more tests.
34558 * sysdeps/i386/fpu/libm-test-ulps: Update.
34559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34560
a458e7fe
AM
345612012-03-21 Allan McRae <allan@archlinux.org>
34562
34563 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34564
0cb7efc5
JM
345652012-03-21 Joseph Myers <joseph@codesourcery.com>
34566
34567 [BZ #13871]
34568 * math/w_exp2.c: Do not include <float.h>.
34569 (o_threshold, u_threshold): Remove.
34570 (__exp2): Calculate result before checking finiteness and calling
34571 __kernel_standard.
34572 * math/w_exp2f.c: Likewise.
34573 * math/w_exp2l.c: Likewise.
34574 * math/libm-test.inc (exp2_test): Require overflow exception for
34575 1e6 input.
2460d3aa
JM
34576
34577 [BZ #3866]
34578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34579 range of signed 64-bit integers before using fistpll. Remove
34580 checks for whether integers fit in mantissa bits.
34581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34582 the range of signed 32-bit integers before using fistpl. Remove
34583 checks for whether integers fit in mantissa bits.
34584 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34585 (__ieee754_powl): Test for y outside the range of signed 64-bit
34586 integers before using fistpll. Reduce 64-bit values to 63-bit
34587 ones as needed.
34588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34589 divide-by-zero is raised for zero to large negative powers.
34590 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34591 (__ieee754_powl): Test for y outside the range of signed 64-bit
34592 integers before using fistpll. Reduce 64-bit values to 63-bit
34593 ones as needed.
34594 * math/libm-test.inc (pow_test): Add more tests.
34595
eb96ffb0
L
345962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34597
34598 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34599 <stdio-common/_itoa.h>.
34600 * debug/segfault.c: Likewise.
34601 * elf/dl-cache.c: Likewise.
34602 * elf/dl-minimal.c: Likewise.
34603 * elf/dl-misc.c: Likewise.
34604 * elf/dl-sysdep.c: Likewise.
34605 * elf/dl-version.c: Likewise.
34606 * elf/rtld.c: Likewise.
34607 * hurd/hurdsock.c: Likewise.
34608 * hurd/lookup-retry.c: Likewise.
34609 * malloc/malloc.c: Likewise.
34610 * malloc/mtrace.c: Likewise.
34611 * nscd/nscd_getgr_r.c: Likewise.
34612 * nscd/nscd_getpw_r.c: Likewise.
34613 * nscd/nscd_getserv_r.c: Likewise.
34614 * posix/getopt_init.c: Likewise.
34615 * posix/wordexp.c: Likewise.
34616 * stdio-common/_itoa.c: Likewise.
34617 * stdio-common/printf_fphex.c: Likewise.
34618 * stdio-common/vfprintf.c: Likewise.
34619 * string/_strerror.c: Likewise.
34620 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34621 * sysdeps/i386/i686/hp-timing.h: Likewise.
34622 * sysdeps/mach/_strerror.c: Likewise.
34623 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34624 * sysdeps/mach/hurd/sethostid.c: Likewise.
34625 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34626 * sysdeps/mach/xpg-strerror.c: Likewise.
34627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34628 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34629 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34630 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34631 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34632 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34633 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34634 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34635 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34636 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34637 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34638 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34639 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34640 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34641 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34642 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34643 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34644 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34645 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34646 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34648
34649 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34650
34651 * stdio-common/_itoa.h: Moved to ...
34652 * sysdeps/generic/_itoa.h: Here.
34653
34654 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34655
34656 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34657 instead of "_itoa.h" and "_itowa.h".
34658 * stdio-common/vfprintf.: Likewise.
34659
d1af992d
L
346602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34663 <bits/wordsize.h>.
34664 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34665 (__signbit): Likwise.
34666 (llrintf): Likwise.
34667 (llrint): Likwise.
34668
114883e0
L
346692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34672 __WORDSIZE != 64.
34673
c135cc1b
JM
346742012-03-20 Joseph Myers <joseph@codesourcery.com>
34675
34676 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34677 OVERFLOW_EXCEPTION_OK.
34678 * math/libm-test.inc ("Philosophy"): Update comment about
34679 exception testing.
34680 (OVERFLOW_EXCEPTION): Define.
34681 (OVERFLOW_EXCEPTION_OK): Likewise.
34682 (INVALID_EXCEPTION_OK): Renumber.
34683 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34684 (IGNORE_ZERO_INF_SIGN): Likewise.
34685 (test_exceptions): Handle FE_OVERFLOW.
34686 (exp10_test): Expect overflow exceptions.
34687 (exp2_test): Likewise.
34688 (expm1_test): Likewise.
34689 (nextafter_test): Likewise.
34690 (pow_test): Likewise.
34691 (scalbn_test): Likewise.
34692 (scalbln_test): Likewise.
34693
95443d88
L
346942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34695
34696 * sysdeps/x86_64/bits/atomic.h
34697 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34698 64bit integer.
34699 (atomic_exchange_acq): Likewise.
34700 (__arch_exchange_and_add_body): Likewise.
34701 (__arch_add_body): Likewise.
34702 (atomic_add_negative): Likewise.
34703 (atomic_add_zero): Likewise.
34704
490df6c4
L
347052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34706
c2722551 34707 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34708 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34709
5e52b189
L
347102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34711
34712 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34713 Check __x86_64__ instead of __WORDSIZE.
34714
a9879d4c
L
347152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34716
34717 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34718
5df98260
DM
347192012-03-19 David S. Miller <davem@davemloft.net>
34720
e1497744
DM
34721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34722
5df98260
DM
34723 * sysdeps/sparc/fpu/fenv_private.h: New file.
34724 * sysdeps/sparc/fpu/math_private.h: Use it.
34725 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34726 Remove.
57f41c40 34727 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34728 (libc_feholdexcept_setroundl): Remove.
34729 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34730 Remove.
34731 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34732 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34733
b4c35121
L
347342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34735
34736 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34737 int64_t instead of long int.
34738 (INSERT_WORDS64): Likwise.
34739
56965fd7
L
347402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34743 _Unwind_GetCFA return to _Unwind_Ptr first.
34744
83d1aec8
JM
347452012-03-19 Joseph Myers <joseph@codesourcery.com>
34746
1897ad44
JM
34747 [BZ #13629]
34748 * math/s_clog.c: Include <float.h>.
34749 (__clog): Scale large or subnormal inputs.
34750 * math/s_clogf.c: Likewise.
34751 * math/s_clogl.c: Likewise.
34752 * math/s_clog10.c: Include <float.h>.
34753 (M_LOG10_2): Define.
34754 (__clog10): Scale large or subnormal inputs.
34755 * math/s_clog10f.c: Likewise.
34756 * math/s_clog10l.c: Likewise.
34757 * math/libm-test.inc (clog_test): Add more tests.
34758 (clog10_test): Likewise.
34759 * sysdeps/i386/fpu/libm-test-ulps: Update.
34760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34761
7726d6a9
JM
34762 [BZ #11451]
34763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34764 x and y.
34765 * math/libm-test.inc (atan2_test): Add another test.
34766
83d1aec8
JM
34767 * Makerules (common-objdir-compile): Remove.
34768 * sysdeps/unix/Makefile (config-generated): Do not add
34769 $(unix-generated) to variable.
34770 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34771 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34772 Remove rule.
34773 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34774 Likewise.
34775 [generic bits/local_lim.h] (before-compile): Do not append to
34776 variable.
34777 [generic bits/local_lim.h] (common-generated): Likewise.
34778 [generic sys/param.h] (before-compile): Do not append to variable.
34779 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34780 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34781 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34782 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34783 include.
34784 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34785 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34786 [generic sys/param.h] ($(addprefix
34787 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34788 [generic sys/param.h] (common-generated): Do not append to
34789 variable.
34790 [generic sys/param.h] (sysdep_headers): Likewise.
34791 [generic bits/errno.h] (before-compile): Do not append to
34792 variable.
34793 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34794 rule.
34795 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34796 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34797 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34798 [generic bits/errno.h] (common-generated): Do not append to
34799 variable.
34800 [generic bits/ioctls.h] (before-compile): Do not append to
34801 variable.
34802 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34803 rule.
34804 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34805 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34806 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34807 rule.
34808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34809 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34810 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34811 [generic bits/ioctls.h] (common-generated): Do not append to
34812 variable.
34813 [generic sys/syscall.h] (syscall.h): Remove variable.
34814 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34815 rule.
34816 [generic sys/syscall.h] (before-compile): Do not append to
34817 variable.
34818 [generic sys/syscall.h] (common-generated): Likewise.
34819 * sysdeps/unix/errnos-tmpl.c: Remove file.
34820 * sysdeps/unix/errnos.awk: Likewise.
34821 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34822 * sysdeps/unix/ioctls.awk: Likewise.
34823 * sysdeps/unix/mk-local_lim.c: Likewise.
34824 * sysdeps/unix/snarf-ioctls: Likewise.
34825
4851a949
RH
348262012-03-19 Richard Henderson <rth@twiddle.net>
34827
bd37f2ee
RH
34828 * sysdeps/i386/fpu/fenv_private.h: New file.
34829 * sysdeps/i386/fpu/math_private.h: Use it.
34830 (math_opt_barrier, math_force_eval): Remove.
34831 (libc_feholdexcept_setround_53bit): Remove.
34832 (libc_feupdateenv_53bit): Remove.
34833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34834 (math_opt_barrier, math_force_eval): Remove.
34835 (libc_feholdexcept): Remove.
34836 (libc_feholdexcept_setround): Remove.
34837 (libc_fetestexcept, libc_fesetenv): Remove.
34838 (libc_feupdateenv_test): Remove.
34839 (libc_feupdateenv, libc_feholdsetround): Remove.
34840 (libc_feresetround): Remove.
34841
d0adc922
RH
34842 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34843 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34844
0fe0f1f8
RH
34845 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34846 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34847 (libc_feupdateenv_testl): New.
34848 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34849 (libc_feupdateenv_testf): New.
34850 (libc_feupdateenv): Use libc_feupdateenv_test.
34851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34853
eb92c487
RH
34854 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34855 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34856 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34857 (libc_feresetround_noex): New.
34858 (libc_feresetround_noexf): New.
34859 (libc_feresetround_noexl): New.
34860 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34861 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34862 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34863 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34864 SET_RESTORE_ROUND.
34865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34867 (__cos): Likewise.
34868 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34870 SET_RESTORE_ROUND_NOEX.
34871 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34872 SET_RESTORE_ROUND_NOEXF.
34873 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34874 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34875 (libc_feholdsetroundf): New.
34876 (libc_feresetround, libc_feresetroundf): New.
34877
7d2e8012
RH
34878 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34879 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34880 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34881
b4dabbb4
RH
34882 * sysdeps/generic/math_private.h: Include <fenv.h>.
34883 (default_libc_feholdexcept): New.
34884 (default_libc_feholdexcept_setround): New.
34885 (default_libc_fesetenv, default_libc_feupdateenv): New.
34886 (libc_feholdexcept): Only define if undefined.
34887 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34888 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34889 (libc_feholdexcept_setroundl): Likewise.
34890 (libc_feholdexcept_setround_53bit): Likewise.
34891 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34892 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34893 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34894 (libc_feupdateenv_53bit): Likewise.
34895 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34896 (libc_feholdexcept): Convert from macro to inline function.
34897 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34898 (libc_fesetenv, libc_feupdateenv): Likewise.
34899
4851a949
RH
34900 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34901 not previously defined.
34902 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34903 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34904 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34905 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34906 * sysdeps/ieee754/flt-32/math_private.h: New file.
34907 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34908 math_private.h below SET_FLOAT_WORD.
34909 (__isnan, __isinf_ns, __finite): Remove.
34910 (__isnanf, __isinf_nsf, __finitef): Remove.
34911
e79d442e
AS
349122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34913
34914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34915
90b80344
DM
349162012-03-17 David S. Miller <davem@davemloft.net>
34917
34918 [BZ #6471]
34919 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34920 for 2.16.
34921
edc21804
DM
349222012-03-16 David S. Miller <davem@davemloft.net>
34923
77e927af
DM
34924 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34925 warnings.
34926
374976dd
DM
34927 [BZ #6471]
34928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34929 properly.
34930 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34931 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34932 sysdep_routines when subdir is sysvipc.
34933 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34934 __getshmlba helper.
34935
edc21804
DM
34936 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34937
473c3ef3
L
349382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34939
34940 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34941 [__LP64__].
34942
eb0f39b6
L
349432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34944
34945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34946 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34947 (__lround): Renamed to ...
34948 (__llround): This. Replace long int with long long int.
34949 Define lround functions as aliases of llround functions.
34950 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34951
6b6cd74b
L
349522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34953
34954 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34955 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34956 adresses to uintptr_t. Replace "long int" and "unsigned long
34957 int" with "greg_t" on va_arg.
34958
f1a77b01
L
349592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34960
34961 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34962 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34963
34964 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34965 Move e_machine check before EI_CLASS check. Handle x32
34966 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34967 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34968 SKIP_EM_IA_64 and include
34969 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34970
34971 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34972 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34973 (add_system_dir): New macro.
34974
34975 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34976 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34977
11b90b9f
JM
349782012-03-16 Joseph Myers <joseph@codesourcery.com>
34979
c36e1d23
JM
34980 [BZ #2551]
34981 [BZ #2552]
34982 [BZ #2553]
34983 [BZ #2554]
34984 [BZ #2562]
34985 [BZ #2563]
34986 [BZ #2565]
34987 [BZ #2566]
34988 [BZ #2576]
34989 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34990 (y0): Likewise.
34991 * math/w_j0f.c (j0f): Likewise.
34992 (y0f): Likewise.
34993 * math/w_j0l.c (__j0l): Likewise.
34994 (__y0l): Likewise.
34995 * math/w_j1.c (j1): Likewise.
34996 (y1): Likewise.
34997 * math/w_j1f.c (j1f): Likewise.
34998 (y1f): Likewise.
34999 * math/w_j1l.c (__j1l): Likewise.
35000 (__y1l): Likewise.
35001 * math/w_jn.c (jn): Likewise.
35002 (yn): Likewise.
35003 * math/w_jnf.c (jnf): Likewise.
35004 (ynf): Likewise.
35005 * math/w_jnl.c (__jnl): Likewise.
35006 (__ynl): Likewise.
35007 * math/libm-test.inc (j0_test): Add more tests.
35008 (j1_test): Likewise.
35009 (jn_test): Likewise. Add trailing semicolon to existing test.
35010 (y0_test): Likewise.
35011 (y1_test): Likewise.
35012 * sysdeps/i386/fpu/libm-test-ulps: Update.
35013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35014
11b90b9f
JM
35015 [BZ #13851]
35016 [BZ #13854]
35017 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35018 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35019 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35021 (__tanl): Set errno for infinite argument.
35022 * sysdeps/i386/fpu/mptan.c: Remove.
35023 * sysdeps/i386/fpu/s_tan.S: Likewise.
35024 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35025 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35026 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35027 * math/libm-test.inc (tan_test): Add more tests and enable more
35028 tests for double and long double.
35029 * sysdeps/i386/fpu/libm-test-ulps: Update.
35030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35031
6a1bd2a1
JK
350322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35033
35034 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35035 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35036
10a803e0
RM
350372012-03-16 Roland McGrath <roland@hack.frob.com>
35038
35039 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35040 * configure.in: Use it for both main tree and add-ons.
35041 * configure: Regenerated.
35042
f196c7f7
L
350432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35044
35045 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35046
8848d99d
JM
350472012-03-16 Joseph Myers <joseph@codesourcery.com>
35048
96cbe7f4
JM
35049 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35050 in comment.
35051
8848d99d
JM
35052 [BZ #13851]
35053 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35054 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35058 infinite argument.
35059 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35061 != 0 for prec == 2.
35062 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35063 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35064 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35065 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35066 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35067 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35068 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35069 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35070 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35071 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35072 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35073 * math/libm-test.inc (cos_test): Add more tests and enable more
35074 tests for long double.
35075 (sin_test): Likewise.
35076 (sincos_test): Likewise.
35077 * sysdeps/i386/fpu/libm-test-ulps: Update.
35078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35079
dd7f4703
DM
350802012-03-16 David S. Miller <davem@davemloft.net>
35081
35082 * sysdeps/sparc/fpu/math_private.h: New file.
35083
006f1daa
DM
350842012-03-15 David S. Miller <davem@davemloft.net>
35085
c0c83bc8
DM
35086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35087 file.
e6a62e18 35088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35090 file.
e6a62e18
DM
35091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35097 sysdep routines.
35098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35099
88cb87d9
DM
35100 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35101 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35102
006f1daa 35103 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35105 sparc-ifunc.h
006f1daa 35106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35108 Likewise.
35109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35110 Likewise.
006f1daa
DM
35111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35115 Likewise.
006f1daa
DM
35116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35121 Likewise.
35122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35123 Likewise.
006f1daa
DM
35124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35148
11e0098e
AS
351492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35150
35151 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35152 scaling.
35153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35154
e85b09d0
AJ
351552012-03-15 Andreas Jaeger <aj@suse.de>
35156
35157 [BZ #13852]
35158 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35159 ieee754/flt-32 implementation for sin, cos and sincos.
35160 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35161 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35162 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35163 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35164 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35165 ieee754/flt-32 implementation for tan.
35166
35167 * math/libm-test.inc (cos_test): Enable some large input tests for
35168 float as well
35169 (sin_test): Likewise.
35170 (sincos_test): Likewise.
35171 (tan_test): Add tests for large input.
35172
35173 * sysdeps/i386/fpu/libm-test-ulps: Update.
35174
81c64153
AJ
351752012-03-15 Andreas Jaeger <aj@suse.de>
35176
35177 [BZ #13658]
35178 * math/libm-test.inc (cos_test): Add more test cases.
35179 (sin_test): Likewise.
35180 (sincos_test): Likewise.
35181
7bbfa5c6
AJ
351822012-03-15 Andreas Jaeger <aj@suse.de>
35183
35184 [BZ #13837]
35185 * math/libm-test.inc (cos_test): Add a test case for large input
35186 value.
35187 (sin_test): Likewise.
35188 (sincos_test): Likewise.
35189
57f41c40
AS
351902012-03-15 Andreas Jaeger <aj@suse.de>
35191 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35192
35193 [BZ #13658]
0671f479 35194 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35195 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35196 * sysdeps/i386/fpu/branred.c: Likewise.
35197 * sysdeps/i386/fpu/dosincos.c: Likewise.
35198 * sysdeps/i386/fpu/mpa.c: Likewise.
35199 * sysdeps/i386/fpu/s_cos.S: Likewise.
35200 * sysdeps/i386/fpu/s_sin.S: Likewise.
35201 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35202 * sysdeps/i386/fpu/sincos32.c: Likewise.
35203
35204 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35205 Define.
35206 (libc_feupdateenv_53bit): Define.
35207 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35208 Define.
35209 (libc_feupdateenv_53bit): Define.
35210
35211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35212 53 bit (without extend i386 double precision).
35213
35214 * math/libm-test.inc (sincos_test): Add tests for large input.
35215 (sin): Likewise.
35216 (cos): Likewise.
35217
35218 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35219
9cad04ea
AS
352202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35221
35222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35223
f7062b9a
DM
352242012-03-15 David S. Miller <davem@davemloft.net>
35225
35226 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35227 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35228 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35229 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35242 file.
f7062b9a 35243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35245 file.
f7062b9a 35246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35248 file.
f7062b9a 35249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35251 file.
f7062b9a
DM
35252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35254 fmin/fmax sysdep routines.
35255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35256
7bd951ff
DM
352572012-03-14 David S. Miller <davem@davemloft.net>
35258
559398ab
DM
35259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35288 routines.
35289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35290 file.
559398ab 35291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35293 file.
559398ab 35294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35296 file.
559398ab 35297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35299 file.
559398ab 35300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35302 file.
559398ab 35303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35305 file.
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35307 file.
35308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35309 file.
35310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35311 file.
35312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35313 New file.
35314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35315 file.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35317 file.
559398ab 35318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35320 file.
559398ab 35321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35323 file.
559398ab 35324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35326 file.
559398ab 35327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35329 VIS3 routines.
559398ab
DM
35330
35331 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35332 New file.
35333
5a1c1e32
DM
35334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35335
eae47a36
DM
35336 * sysdeps/sparc/configure.in: New file.
35337 * sysdeps/sparc/configure: Generate.
35338 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35339 * configure: Regenerate.
35340 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35341 * config.make.in (have-as-vis3): New.
35342 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35343 available use -Av9d instead of -Av9a.
35344 * sysdeps/sparc/sparc64/Makefile: Likewise.
35345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35347 New file.
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35349 file.
35350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35351 New file.
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35353 file.
eae47a36
DM
35354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35359
c0c83bc8
DM
35360 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35361 fzeros/fnegs to load 0x80000000 into a float register instead of
35362 using the stack.
7bd951ff
DM
35363 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35364
bd951ccb
JM
353652012-03-14 Joseph Myers <joseph@codesourcery.com>
35366
35367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35368 bits/syscall.h.
35369 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35370 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35371 ($(inst_includedir)/bits/syscall.h): Remove rule.
35372 ($(objpfx)bits/syscall.d): Include instead of
35373 $(objpfx)syscall-list.d.
35374 (generated): Change syscall-list.h and syscall-list.d to
35375 bits/syscall.h and bits/syscall.d.
35376
bb4e6db2
RM
353772012-03-14 Roland McGrath <roland@hack.frob.com>
35378
35379 [BZ #13846]
35380 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35381
aa4a2ae1
JM
353822012-03-14 Joseph Myers <joseph@codesourcery.com>
35383
e456826d
JM
35384 [BZ #13841]
35385 * math/s_csqrt.c: Include <float.h>.
35386 (__csqrt): Scale large or subnormal inputs.
35387 * math/s_csqrtf.c: Likewise.
35388 * math/s_csqrtl.c: Likewise.
35389 * math/libm-test.inc (csqrt_test): Add more tests.
35390 * sysdeps/i386/fpu/libm-test-ulps: Update.
35391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35392
aa4a2ae1
JM
35393 [BZ #13840]
35394 * math/libm-test.inc (hypot_test): Add more tests.
35395
7c10fd35
DM
353962012-03-13 David S. Miller <davem@davemloft.net>
35397
35398 [BZ #13840]
35399 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35400 double-precision for the calculation instead of scaling.
35401
f453b98b
JM
354022012-03-13 Joseph Myers <joseph@codesourcery.com>
35403
35404 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35405 manipulate bits before adding and subtracting TWO52[sx].
35406 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35408 Likewise.
35409 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35410
09a3453f
DM
354112012-03-13 David S. Miller <davem@davemloft.net>
35412
8e59da90
DM
35413 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35414 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35416 rtld-global-offsets.h
35417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35418
2a8ab7f2
DM
35419 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35420 large parameters.
35421
10f62770
DM
35422 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35423
5f0bdb18
DM
35424 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35425 'err' in the ifdef scope in which it is actually used.
35426
09a3453f
DM
35427 * nss/nss_db/db-init.c: Include string.h
35428
b4b2eb5e
DM
354292012-03-12 David S. Miller <davem@davemloft.net>
35430
98bb2f1c
DM
35431 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35432 masking out of the most significant byte of random value used.
35433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35434 Fix coding style in previous change.
35435
b4b2eb5e
DM
35436 * sysdeps/unix/sysv/linux/kernel-features.h
35437 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35438 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35439 expression.
35440 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35441 later.
35442
6e226b09
DM
354432012-03-11 David S. Miller <davem@davemloft.net>
35444
a1bcbd40
DM
35445 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35446 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35448 for 'resultvar' otherwise things get truncated on 64-bit.
35449
cb9d6174
DM
35450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35451 Fix masking out of the most significant byte of random value used.
35452
6e226b09
DM
35453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35454
058c132d
AS
354552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35456
35457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35458
2d2cd515
DM
354592012-03-09 David S. Miller <davem@davemloft.net>
35460
35461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35462 variables with appropriate CPP guards.
57f41c40
AS
35463 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35464 from the frame pointer, not the stack pointer. Correct layout
35465 comments. Fix test on resulting framesize and the management of
35466 the outregs buffer for pltexit. Preserve floating point return
35467 values across _dl_call_pltexit call.
2d2cd515
DM
35468 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35469 framesize and the management of the outregs buffer for pltexit.
35470 Preserve floating point return values across _dl_call_pltexit
35471 call.
57f41c40
AS
35472 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35473 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35474 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35475 (print_exit): Fix format string for return register value.
35476
9a07f9d0
JM
354772012-03-10 Joseph Myers <joseph@codesourcery.com>
35478
35479 * sunrpc/Makefile (others): Add rpcgen.
35480 ($(objpfx)rpcgen): Remove special build rule and dependency on
35481 libc.
35482 * sunrpc/rpcgen.c: New file.
35483
547b5e30
PE
354842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35485
c524201a
PE
35486 [BZ #13673]
35487 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35488 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35489 * sysdeps/i386/crti.S: Likewise.
35490 * sysdeps/i386/crtn.S: Likewise.
35491 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35492 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35493 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35494 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35495 * sysdeps/sh/crti.S: Likewise.
35496 * sysdeps/sh/crtn.S: Likewise.
35497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35498
7b6235f2
PE
35499 [BZ #13673]
35500 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35501 with URL.
35502 * locale/programs/locfile-kw.gperf: Likewise.
35503 * locale/programs/charmap-kw.h: Regenerated.
35504 * locale/programs/locfile-kw.h: Likewise.
35505
547b5e30
PE
35506 [BZ #13673]
35507 * intl/plural.y: Replace FSF snail mail address with URL.
35508 * intl/plural.c: Regenerated.
35509
5f0a5dae
RH
355102012-03-09 Richard Henderson <rth@twiddle.net>
35511
35512 * include/math_private.h: Remove file.
35513 * math/math_private.h: Move file ...
35514 * sysdeps/generic/math_private.h: ... here.
35515
b8c03620
RH
35516 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35517 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35519
4e234f5d 35520 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35521 and <math_private.h>.
35522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35527 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35530 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35531 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35534 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35536 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35537 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35540 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35543 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35544 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35548 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35581 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35582 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35587 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35588 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35589 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35591 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35596 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35615 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35617 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35619 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35622 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35623 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35624 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35625 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35630 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35632 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35633 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35635 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35636 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35638 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35639 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35640 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35643 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35644 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35645 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35648 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35649 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35651 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35652 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35655 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35656 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35660 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35661 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35667 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35671 * sysdeps/ieee754/k_standard.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35804 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35821 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35822 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35832 * sysdeps/ieee754/s_lib_version.c: Likewise.
35833 * sysdeps/ieee754/s_matherr.c: Likewise.
35834 * sysdeps/ieee754/s_signgam.c: Likewise.
35835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35838 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35839 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35840 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35841 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35842 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35843 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35844 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35845 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35846 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35847 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35848 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35849 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35852 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35853 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35856
1991fa03
JM
358572012-03-09 Joseph Myers <joseph@codesourcery.com>
35858
35859 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35860 * sunrpc/rpc_main.c: Likewise.
35861 * sunrpc/rpc_svcout.c: Likewise.
35862
60d6f5a6
DM
358632012-03-09 David S. Miller <davem@davemloft.net>
35864
35865 * include/math_private.h: New file.
35866
4962050e
JM
358672012-03-09 Joseph Myers <joseph@codesourcery.com>
35868
02a6f887
JM
35869 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35870 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35871 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35872 from <bits/socket_type.h>.
35873 (enum __socket_type): Don't define here.
35874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35876 bits/socket_type.h.
35877
c6e013c1
JM
35878 [BZ #13566]
35879 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35880 checking __USE_GNU.
35881
4962050e
JM
35882 * Makerules ($(inst_includedir)/%.h): New rule.
35883 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35884 (install-others): Remove variable setting.
35885 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35886
38842f45
RH
358872012-03-08 Richard Henderson <rth@twiddle.net>
35888
67bb6da6
RH
35889 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35890 from macro to inline function; merge with the
35891 !__LIBC_INTERNAL_MATH_INLINES version.
35892 (__ieee754_sqrtf): Likewise.
35893
15194b4b
RH
35894 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35895 to inline function.
35896 (__rintf, __floor, __floorf): Likewise.
35897
64e21ede
RH
35898 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35899 macro to inline function.
35900 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35901
38842f45
RH
35902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35903 not <math/math_private.h>.
35904
c64bf5fe
DM
359052012-03-08 David S. Miller <davem@davemloft.net>
35906
35907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35908 copyright year.
35909 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35910
82d86f28
TS
359112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35912
35913 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35914 normalization.
35915 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35917
aea5d727
UD
359182012-03-08 Ulrich Drepper <drepper@gmail.com>
35919
35920 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35921 be defined individually, they must be defined as a block. Define
35922 S for printing a string instead of hidint the different by using a
35923 macro for adding the 'l'.
35924 * stdio-common/tst-fphex-wide.c: Adjust.
35925
70bca0a3
MP
359262012-03-07 Marek Polacek <polacek@redhat.com>
35927
35928 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35929
65b81130
MP
359302012-03-08 Marek Polacek <polacek@redhat.com>
35931
35932 [BZ #13806]
35933 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35934 * stdio-common/tst-fphex.c: Define a few macros to make the
35935 test reusable. Use them.
35936 * stdio-common/tst-fphex-wide.c: New file.
35937
07037eeb
JM
359382012-03-08 Joseph Myers <joseph@codesourcery.com>
35939
a7a93d50
JM
35940 [BZ #6911]
35941 * manual/macros.texi (gnusystems): New macro.
35942 (nongnusystems): Likewise.
35943 (gnulinuxhurdsystems): Likewise.
35944 (gnuhurdsystems): Likewise..
35945 (gnulinuxsystems): Likewise.
35946 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35947 variants of the GNU system, not "GNU system".
35948 * manual/conf.texi: Likewise.
35949 * manual/errno.texi: Likewise. Update example of errno macro
35950 expansion.
35951 * manual/filesys.texi: Likewise.
35952 (getumask): Document as specific to GNU/Hurd.
35953 * manual/install.texi: Likewise. Reword some references to
35954 GNU/Linux.
35955 * manual/intro.texi: Likewise.
35956 * manual/io.texi: Likewise.
35957 (File Name Portability): Detail which constraints are inapplicable
35958 to all GNU systems and which are only inapplicable to GNU/Hurd.
35959 * manual/job.texi: Likewise.
35960 * manual/llio.texi: Likewise.
35961 (O_NOCTTY): Document as present on GNU/Linux.
35962 * manual/maint.texi: Likewise.
35963 * manual/memory.texi: Likewise.
35964 * manual/pattern.texi: Likewise.
35965 * manual/pipe.texi: Likewise.
35966 * manual/process.texi: Likewise.
35967 * manual/resource.texi: Likewise.
35968 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35969 child on GNU/Hurd.
35970 * manual/setjmp.texi: Likewise.
35971 * manual/signal.texi: Likewise.
35972 * manual/startup.texi: Likewise.
35973 * manual/stdio.texi: Likewise.
35974 * manual/terminal.texi: Likewise.
35975 (ONLCR): Document as POSIX.
35976 (OXTABS): Document availability on GNU/Linux as XTABS.
35977 (ONOEOT): Document availability separately from other bits.
35978 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35979 * manual/time.texi: Likewise.
35980 * manual/users.texi: Likewise.
35981 * INSTALL: Regenerated.
35982 * sysdeps/gnu/errlist.c: Regenerated.
35983
07037eeb
JM
35984 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35985 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35986 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35987 puts.
35988 * configure: Regenerated.
35989
d1d3431a
JM
359902012-03-07 Joseph Myers <joseph@codesourcery.com>
35991
af6a1e37
JM
35992 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35993 default includes instead of AC_HEADER_CHECK.
35994 * sysdeps/i386/configure: Regenerated.
35995
d1d3431a
JM
35996 [BZ #10716]
35997 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35998 * math/s_cacoshf.c (__cacoshf): Likewise.
35999 * math/s_cacoshl.c (__cacoshl): Likewise.
36000 * math/s_casinh.c (__casinh): Set signs of result from argument.
36001 * math/s_casinhf.c (__casinhf): Likewise.
36002 * math/s_casinhl.c (__casinhl): Likewise.
36003 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36004 (casinh_test): Add more tests.
36005 * sysdeps/i386/fpu/libm-test-ulps: Update.
36006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36007
482ff4da
UD
360082012-03-07 Ulrich Drepper <drepper@gmail.com>
36009
872fda05
UD
36010 * po/zh_TW.po: Update from translation team.
36011
a4300c7a
UD
36012 * login/Makefile (distribute): Remove variable.
36013 * catgets/Makefile: Likewise.
36014 * mach/Makefile: Likewise.
36015 * malloc/Makefile: Likewise.
36016 * misc/Makefile: Likewise.
36017 * iconv/Makefile: Likewise.
36018 * nscd/Makefile: Likewise.
36019 * hurd/Makefile: Likewise.
36020 * manual/Makefile: Likewise.
36021 * locale/Makefile: Likewise.
36022 * intl/Makefile: Likewise.
36023 * conform/Makefile: Likewise.
36024 * nss/Makefile: Likewise.
36025 * time/Makefile: Likewise.
36026 * soft-fp/Makefile: Likewise.
36027 * dirent/Makefile: Likewise.
36028 * gmon/Makefile: Likewise.
36029 * po/Makefile: Likewise.
36030 * rt/Makefile: Likewise.
36031 * socket/Makefile: Likewise.
36032 * math/Makefile: Likewise.
36033 * signal/Makefile: Likewise.
36034 * debug/Makefile: Likewise.
36035 * elf/Makefile: Likewise.
36036 * timezone/Makefile: Likewise.
36037 * stdlib/Makefile: Likewise.
36038 * iconvdata/Makefile: Likewise.
36039 * sunrpc/Makefile: Likewise.
36040 * io/Makefile: Likewise.
36041 * argp/Makefile: Likewise.
36042 * inet/Makefile: Likewise.
36043 * hesiod/Makefile: Likewise.
36044 * grp/Makefile: Likewise.
36045 * csu/Makefile: Likewise.
36046 * wctype/Makefile: Likewise.
36047 * crypt/Makefile: Likewise.
36048 * libio/Makefile: Likewise.
36049 * string/Makefile: Likewise.
36050 * nis/Makefile: Likewise.
36051 * resolv/Makefile: Likewise.
36052 * stdio-common/Makefile: Likewise.
36053 * wcsmbs/Makefile: Likewise.
36054 * dlfcn/Makefile: Likewise.
36055 * posix/Makefile: Likewise.
36056
3b7c4e74 36057 [BZ #6959]
482ff4da
UD
36058 * timezone/Makefile: Don't install timezone files, just the programs
36059 and scripts.
36060
f72ed77d
UD
360612012-03-06 Ulrich Drepper <drepper@gmail.com>
36062
a000466f
UD
36063 * nss/databases.def: Add missing gshadow entry.
36064
f72ed77d
UD
36065 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36066
a53b7a4e
MP
360672012-03-06 Marek Polacek <polacek@redhat.com>
36068
36069 [BZ #13726]
36070 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36071 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36072 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36073 * stdio-common/tst-long-dbl-fphex.c: New file.
36074
e9258400
DM
360752012-03-06 David S. Miller <davem@davemloft.net>
36076
36077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36078 (set_obp_int): New function.
36079 (get_obp_int): New function.
36080 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36082 Avoid unused variable warnings on 'val' and use builtin_expect.
36083 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36084 __builtin_expect.
e9258400
DM
36085 (INLINE_CLONE_SYSCALL): Likewise.
36086
3bd2c723
DM
360872012-03-05 David S. Miller <davem@davemloft.net>
36088
36089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36090
bbb78d03
AS
360912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36092
884c5db4
AS
36093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36094
bbb78d03
AS
36095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36096 only for |x| >= 40.
36097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36098
1c9f702a 360992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36100
36101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36102 Replace gettimeofday with __vdso_gettimeofday.
36103
7be16f82
RM
36104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36105 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36106 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36107
36108 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36109 time with __vdso_time.
36110
ed58a00f
JM
361112012-03-05 Joseph Myers <joseph@codesourcery.com>
36112
36113 * manual/lang.texi (size_t): Note types to which size_t may be
36114 equivalent with the GNU C Library, but do not describe when
36115 differences between them are significant.
36116
30ee4ced
AJ
361172012-03-05 Andreas Jaeger <aj@suse.de>
36118
36119 * sysdeps/i386/fpu/libm-test-ulps: Update.
36120
b7cd39e8
JM
361212012-03-05 Joseph Myers <joseph@codesourcery.com>
36122
36123 [BZ #3976]
36124 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36125 (__ieee754_pow): Save and restore rounding mode and use
36126 round-to-nearest for main computations.
36127 * math/libm-test.inc (pow_test_tonearest): New function.
36128 (pow_test_towardzero): Likewise.
36129 (pow_test_downward): Likewise.
36130 (pow_test_upward): Likewise.
36131 (main): Call the new functions.
36132 * sysdeps/i386/fpu/libm-test-ulps: Update.
36133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36134
36135 [BZ #3976]
36136 * math/libm-test.inc (cosh_test_tonearest): New function.
36137 (cosh_test_towardzero): Likewise.
36138 (cosh_test_downward): Likewise.
36139 (cosh_test_upward): Likewise.
36140 (sinh_test_tonearest): Likewise.
36141 (sinh_test_towardzero): Likewise.
36142 (sinh_test_downward): Likewise.
36143 (sinh_test_upward): Likewise.
36144 (main): Call the new functions.
36145 * sysdeps/i386/fpu/libm-test-ulps: Update.
36146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36147
6c6a98c9
TV
361482012-03-05 Tom de Vries <tom@codesourcery.com>
36149
36150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36151 default stack guard is set in last bytes.
36152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36153
21bb2d2e 361542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36155
21bb2d2e 36156 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36157
21bb2d2e
AJ
36158 [BZ #13656]
36159 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36160 possibly allocate from heap instead of stack.
36161 * stdio-common/bug-vfprintf-nargs.c: New file.
36162 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36163
c6922934
AS
361642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36165
36166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36167
bc957d53
MP
361682012-03-03 Marek Polacek <polacek@redhat.com>
36169
36170 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36171 * math/math_private.h: Likewise.
36172 * stdlib/tst-strtod.c: Likewise.
36173 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36174 * sysdeps/x86_64/bits/atomic.h: Likewise.
36175
6358490d
DM
361762012-03-02 David S. Miller <davem@davemloft.net>
36177
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36182 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36183 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36184 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36185 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36186
01ae168d
RM
361872012-03-02 Roland McGrath <roland@hack.frob.com>
36188
d9a17c07
RM
36189 [BZ #13792]
36190 * manual/examples/README: New file, says the example source files
36191 can be used under GPL>=2.
36192 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36193 line containing just "*/".
36194 * manual/examples/add.c: Add copyright header (GPL>=2).
36195 * manual/examples/argp-ex1.c: Likewise.
36196 * manual/examples/argp-ex2.c: Likewise.
36197 * manual/examples/argp-ex3.c: Likewise.
36198 * manual/examples/argp-ex4.c: Likewise.
36199 * manual/examples/atexit.c: Likewise.
36200 * manual/examples/db.c: Likewise.
36201 * manual/examples/dir.c: Likewise.
36202 * manual/examples/dir2.c: Likewise.
36203 * manual/examples/execinfo.c: Likewise.
36204 * manual/examples/filecli.c: Likewise.
36205 * manual/examples/filesrv.c: Likewise.
36206 * manual/examples/fmtmsgexpl.c: Likewise.
36207 * manual/examples/genpass.c: Likewise.
36208 * manual/examples/inetcli.c: Likewise.
36209 * manual/examples/inetsrv.c: Likewise.
36210 * manual/examples/isockad.c: Likewise.
36211 * manual/examples/longopt.c: Likewise.
36212 * manual/examples/memopen.c: Likewise.
36213 * manual/examples/memstrm.c: Likewise.
36214 * manual/examples/mkfsock.c: Likewise.
36215 * manual/examples/mkisock.c: Likewise.
36216 * manual/examples/mygetpass.c: Likewise.
36217 * manual/examples/pipe.c: Likewise.
36218 * manual/examples/popen.c: Likewise.
36219 * manual/examples/rprintf.c: Likewise.
36220 * manual/examples/search.c: Likewise.
36221 * manual/examples/select.c: Likewise.
36222 * manual/examples/setjmp.c: Likewise.
36223 * manual/examples/sigh1.c: Likewise.
36224 * manual/examples/sigusr.c: Likewise.
36225 * manual/examples/stpcpy.c: Likewise.
36226 * manual/examples/strdupa.c: Likewise.
36227 * manual/examples/strftim.c: Likewise.
36228 * manual/examples/strncat.c: Likewise.
36229 * manual/examples/subopt.c: Likewise.
36230 * manual/examples/swapcontext.c: Likewise.
36231 * manual/examples/termios.c: Likewise.
36232 * manual/examples/testopt.c: Likewise.
36233 * manual/examples/testpass.c: Likewise.
36234 * manual/examples/timeval_subtract.c: Likewise.
36235
01ae168d
RM
36236 [BZ #13792]
36237 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36238 function to ...
36239 * manual/timeval_subtract.c.texi: ... here, new file.
36240
49efa33d
DM
362412012-03-02 David S. Miller <davem@davemloft.net>
36242
36243 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36244
28afd92d
JM
362452012-03-02 Joseph Myers <joseph@codesourcery.com>
36246
804360ed
JM
36247 [BZ #3976]
36248 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36249 (__sin): Save and restore rounding mode and use round-to-nearest
36250 for all computations.
36251 (__cos): Save and restore rounding mode and use round-to-nearest
36252 for all computations.
36253 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36254 <fenv.h>.
36255 (tan): Save and restore rounding mode and use round-to-nearest for
36256 all computations.
36257 * math/libm-test.inc (cos_test_tonearest): New function.
36258 (cos_test_towardzero): Likewise.
36259 (cos_test_downward): Likewise.
36260 (cos_test_upward): Likewise.
36261 (sin_test_tonearest): Likewise.
36262 (sin_test_towardzero): Likewise.
36263 (sin_test_downward): Likewise.
36264 (sin_test_upward): Likewise.
36265 (tan_test_tonearest): Likewise.
36266 (tan_test_towardzero): Likewise.
36267 (tan_test_downward): Likewise.
36268 (tan_test_upward): Likewise.
36269 (main): Call the new functions.
36270 * sysdeps/i386/fpu/libm-test-ulps: Update.
36271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272
a6d06d7b
JM
36273 [BZ #10135]
36274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36275 small n, then large n, before computing and testing k+n.
36276 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36278 Likewise.
36279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36280 Likewise.
36281 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36282 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36289 * math/libm-test.inc (scalbn_test): Add more tests.
36290 (scalbln_test): Likewise.
36291
07e12bb3
JM
36292 * manual/filesys.texi (mode_t): Describe constraints on size and
36293 signedness, not exact equivalence to a particular type.
36294 (ino_t): Likewise.
36295 (ino64_t): Likewise.
36296 (dev_t): Likewise.
36297 (nlink_t): Likewise.
36298 (blkcnt_t): Likewise.
36299 (blkcnt64_t): Likewise.
36300 * manual/llio.texi (off_t): Likewise.
36301
28afd92d
JM
36302 [BZ #3976]
36303 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36304 (__ieee754_exp): Save and restore rounding mode and use
36305 round-to-nearest for all computations.
36306 * math/libm-test.inc (exp_test_tonearest): New function.
36307 (exp_test_towardzero): Likewise.
36308 (exp_test_downward): Likewise.
36309 (exp_test_upward): Likewise.
36310 (main): Call the new functions.
36311 * sysdeps/i386/fpu/libm-test-ulps: Update.
36312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36313
b1eeb65d
CD
363142012-03-01 Chris Demetriou <cgd@google.com>
36315
36316 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36317 have predictable order.
36318
53362a4b
DM
363192012-03-01 David S. Miller <davem@davemloft.net>
36320
3c969083
DM
36321 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36322
759707de
DM
36323 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36324 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36325 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36326 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36327
dfdb8ff2
DM
36328 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36329 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36330 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36332 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36333 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36334 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36335 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36336 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36337
ead89f96
DM
36338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36339
7f66bd07
DM
36340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36341 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36342 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36343
53362a4b
DM
36344 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36347 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36348 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36349 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36350 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36352 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36353 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36354 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36360 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36361 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36362 * sysdeps/sparc/elf/configure: Regenerated.
36363
7b1902cb
JM
363642012-03-01 Joseph Myers <joseph@codesourcery.com>
36365
bec039bc
JM
36366 * configure.in (AS, LD): Require binutils 2.20 or later.
36367 * configure: Regenerated.
36368 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36369 as required minimum version.
36370 * INSTALL: Regenerated.
36371
7b1902cb
JM
36372 [BZ #2541]
36373 [BZ #4108]
36374 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36375 before squaring exponent.
36376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36377 bottom long double and 27 bits of top long double before squaring
36378 exponent.
36379 * math/libm-test.inc (erfc_test): Add more tests.
36380 * sysdeps/i386/fpu/libm-test-ulps: Update.
36381 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383
f775c276
KT
363842012-03-01 Kai Tietz <ktietz@redhat.com>
36385
36386 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36387 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36388 containing bit-fields.
36389 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36390 * soft-fp/single.h (_FP_UNION_S): Likewise.
36391 * soft-fp/double.h (_FP_UNION_D): Likewise.
36392
5b8a4d4a
JM
363932012-02-29 Joseph Myers <joseph@codesourcery.com>
36394
0bab47b6
JM
36395 [BZ #13786]
36396 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36397 not include ../strcmp.S.
36398 [USE_AS_STRNCASECMP_L]: Likewise.
36399 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36400 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36401 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36402 (__strncasecmp_l_ia32): Define as alias to
36403 __strncasecmp_l_nonascii.
36404
0fcad3e2
JM
36405 [BZ #5794]
36406 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36407 * sysdeps/i386/fpu/libm-test-ulps: Update.
36408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409
5b8a4d4a
JM
36410 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36412
8fdceb2e
JL
364132012-02-29 Jeff Law <law@redhat.com>
36414
36415 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36416 out of bounds read.
36417
1f393a11
MP
364182012-02-29 Marek Polacek <polacek@redhat.com>
36419
36420 [BZ #13706]
36421 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36422 * elf/Makefile: Add rules to run tst-unused-dep.out.
36423
8847f037
DM
364242012-02-28 David S. Miller <davem@davemloft.net>
36425
36426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36432
169d7f11
JM
364332012-02-29 Joseph Myers <joseph@codesourcery.com>
36434
36435 * math/libm-test.inc (llround_test): Move one test from
36436 lround_test. Use TEST_f_L in moved test.
36437 (lround_test): Move misplaced test to llround_test. Add testcase
36438 from bug 2561.
36439
39adf059
UD
364402012-02-28 Ulrich Drepper <drepper@gmail.com>
36441
36442 * sysdeps/x86_64/fpu/e_expf.S: New file.
36443 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36444
71b5d1c5
SB
364452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36446
36447 [BZ #13637]
36448 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36449 of remain_len that may cause incomplete multi-byte character and
36450 false match.
36451 * posix/bug-regex33.c: New file.
36452 * posix/Makefile (tests): Add bug-regex33.
36453
1f77f049
JM
364542012-02-28 Joseph Myers <joseph@codesourcery.com>
36455
36456 * manual/macros.texi: New file.
36457 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36458 * manual/libc.texinfo: Include macros.texi.
36459 * manual/creatute.texi: Likewise.
36460 * manual/install.texi: Likewise.
36461 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36462 @glibcadj{} in references to the GNU C Library.
36463 * manual/charset.texi: Likewise.
36464 * manual/conf.texi: Likewise.
36465 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36466 when not using those macros.
36467 * manual/creature.texi: Likewise.
36468 * manual/crypt.texi: Likewise.
36469 * manual/errno.texi: Likewise.
36470 * manual/filesys.texi: Likewise.
36471 * manual/header.texi: Likewise.
36472 * manual/install.texi: Likewise.
36473 * manual/intro.texi: Likewise.
36474 * manual/io.texi: Likewise.
36475 * manual/job.texi: Likewise.
36476 * manual/lang.texi: Likewise.
36477 * manual/libc.texiinfo: Likewise.
36478 * manual/llio.texi: Likewise.
36479 * manual/locale.texi: Likewise.
36480 * manual/maint.texi: Likewise.
36481 * manual/math.texi: Likewise.
36482 * manual/memory.texi: Likewise.
36483 * manual/message.texi: Likewise.
36484 * manual/nss.texi: Likewise.
36485 * manual/pattern.texi: Likewise.
36486 * manual/process.texi: Likewise.
36487 * manual/resource.texi: Likewise.
36488 * manual/search.texi: Likewise.
36489 * manual/setjmp.texi: Likewise.
36490 * manual/signal.texi: Likewise.
36491 * manual/socket.texi: Likewise.
36492 * manual/startup.texi: Likewise.
36493 * manual/stdio.texi: Likewise.
36494 * manual/string.texi: Likewise.
36495 * manual/sysinfo.texi: Likewise.
36496 * manual/syslog.texi: Likewise.
36497 * manual/terminal.texi: Likewise.
36498 * manual/time.texi: Likewise.
36499 * manual/users.texi: Likewise.
36500 * INSTALL: Regenerated.
36501 * NOTES: Regenerated.
d40c5d54 36502 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36503
450bf206
AS
365042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36505
36506 * include/dirent.h: Include <dirstream.h> before
36507 <dirent/dirent.h>.
36508
741a235b
DM
365092012-02-28 David S. Miller <davem@davemloft.net>
36510
36511 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36512 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36513 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36514 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36515
d6b5aa58
DM
365162012-02-27 David S. Miller <davem@davemloft.net>
36517
1aff59a3
DM
36518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36520 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36521 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36522
d6b5aa58
DM
36523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36524 frame pointer instead of stack pointer relative arg slot.
36525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36526 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36527 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36528
433f48bf
CD
365292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36530
36531 [BZ #3992]
36532 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36533
d674b76d
DM
365342012-02-27 David S. Miller <davem@davemloft.net>
36535
36536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36542 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36544
0e7727f7
JM
365452012-02-27 Joseph Myers <joseph@codesourcery.com>
36546
36547 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36548 later. Allow versions 5-9.
43be4ca2 36549 * configure: Regenerated.
0e7727f7
JM
36550 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36551 required minimum version and 4.6 as recommended version. Do not
36552 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36553 * INSTALL: Regenerated.
0e7727f7 36554
a78bc654
DM
365552012-02-27 David S. Miller <davem@davemloft.net>
36556
428d5830
DM
36557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36563 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36565
a78bc654
DM
36566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36567 manipulate bits before adding and subtracting TWO112[sx].
36568 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36569
4579f81c
RM
365702012-02-27 Roland McGrath <roland@hack.frob.com>
36571
36c8acb4
RM
36572 [BZ #13775]
36573 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36574 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36575 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36576 being in POSIX, because they are in 1003.1-2008.
36577
84ad622b
RM
36578 * rt/tst-aio.c: Include <fcntl.h>.
36579 * rt/tst-aio7.c: Likewise.
36580 * rt/tst-aio64.c: Likewise.
36581
4579f81c
RM
36582 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36583
abd923db
JM
365842012-02-27 Joseph Myers <joseph@codesourcery.com>
36585
36586 * manual/install.texi (--with-headers): Describe headers as
36587 interface headers, not private headers.
36588 (Specific advice for GNU/Linux systems): Describe use of headers
36589 from "make headers_install", not private headers from older
36590 kernels.
43be4ca2 36591 * INSTALL: Regenerated.
abd923db
JM
36592 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36593 Change to 2.6.19.
36594 * sysdeps/unix/sysv/linux/configure: Regenerated.
36595
6664049b
JM
36596 * manual/llio.texi (fclean): Remove documentation.
36597
bb8b6697
JM
36598 * manual/Makefile (libc-texi-generated): New variable. Include
36599 version.texi.
36600 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36601 $(libc-texi-generated), not duplicated list of files.
36602 (version.texi, stamp-version): New rules.
36603 (realclean): Remove $(libc-texi-generated), not individual files
36604 from that list. Do not remove dir-add.texinfo.
36605 * manual/libc.texinfo: Comment out uses of edition numbers and
36606 references to printed manual. Remove last-updated dates.
36607 (EDITION): Comment out.
36608 (ISBN): Likewise.
36609 (VERSION, UPDATED): Remove.
36610 (version.texi): Include.
36611
12e5c3b9
AS
366122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36613
36614 * sysdeps/posix/spawni.c: Include <signal.h>.
36615 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36616 * sysdeps/pthread/aio_fsync.c: Likewise.
36617
4efeffc1 366182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36619
ba63ba08
UD
36620 * conform/Makefile (tests): Run only when not cross-compiling and
36621 when fast-check is not defined.
36622
d94a4670
UD
36623 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36624 * conform/data/limits.h-data: Fixes for POSIX2008.
36625 * conform/run-conformtest.sh: Run all tests.
36626 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36627 headers.
36628 * include/bits/dlfcn.h: Likewise.
36629 * include/langinfo.h: Likewise.
36630 * include/monetary.h: Likewise.
36631 * include/sys/poll.h: Likewise.
36632
36633 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36634 for __USE_GNU.
36635 * posix/spawn.h: Define __need_sigset_t.
36636 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36637 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36638 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36639 to get sigevent_t only.
36640 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36641 only for __USE_GNU.
36642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36643 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36644 process_vm_writev only for __USE_GNU.
36645 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36646
36647 * conform/Makefile: For now ignore errors from run-conformtest.
36648 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36649 POSIX to avoid namespace pollution. Don't prepend headers.
36650 * conform/data/aio.h-data: Fixes for POSIX testing.
36651 * conform/data/fcntl.h-data: Likewise.
36652 * conform/data/glob.h-data: Likewise.
36653 * conform/data/grp.h-data: Likewise.
36654 * conform/data/pthread.h-data: Likewise.
36655 * conform/data/pwd.h-data: Likewise.
36656 * conform/data/signal.h-data: Likewise.
36657 * conform/data/spawn.h-data: Likewise.
36658 * conform/data/stdio.h-data: Likewise.
36659 * conform/data/stdlib.h-data: Likewise.
36660 * conform/data/stropts.h-data: Likewise.
36661 * conform/data/sys/mman.h-data: Likewise.
36662 * conform/data/sys/stat.h-data: Likewise.
36663 * conform/data/sys/types.h-data: Likewise.
36664 * conform/data/sys/wait.h-data: Likewise.
36665 * conform/data/time.h-data: Likewise.
36666 * conform/data/unistd.h-data: Likewise.
36667 * conform/data/utime.h-data: Likewise.
36668
36669 * io/sys/stat.h: fchmod was always in POSIX.
36670 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36671 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36672 * rt/aio.h: Define __need_timespec before including <time.h>.
36673 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36674 struct. Add forward declaration of pthread_attr_t and use it in
36675 sigevent.
36676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36677 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36678 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36679 always remove CLK_TCK definition.
36680
c20105c3
AS
366812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36682
36683 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36684
7a270350
UD
366852012-02-25 Ulrich Drepper <drepper@gmail.com>
36686
31341567
UD
36687 * conform/run-conformtest.sh: New file.
36688 * conform/Makefile: Run run-conformtest for tests.
36689 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36690 support.
36691
36692 * conform/data/uchar.h-data: New file.
36693 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36694 * conform/data/arpa/inet.h-data: Likewise.
36695 * conform/data/assert.h-data: Likewise.
36696 * conform/data/complex.h-data: Likewise.
36697 * conform/data/cpio.h-data: Likewise.
36698 * conform/data/ctype.h-data: Likewise.
36699 * conform/data/dirent.h-data: Likewise.
36700 * conform/data/dlfcn.h-data: Likewise.
36701 * conform/data/errno.h-data: Likewise.
36702 * conform/data/fcntl.h-data: Likewise.
36703 * conform/data/float.h-data: Likewise.
36704 * conform/data/fmtmsg.h-data: Likewise.
36705 * conform/data/fnmatch.h-data: Likewise.
36706 * conform/data/ftw.h-data: Likewise.
36707 * conform/data/glob.h-data: Likewise.
36708 * conform/data/grp.h-data: Likewise.
36709 * conform/data/iconv.h-data: Likewise.
36710 * conform/data/inttypes.h-data: Likewise.
36711 * conform/data/langinfo.h-data: Likewise.
36712 * conform/data/libgen.h-data: Likewise.
36713 * conform/data/limits.h-data: Likewise.
36714 * conform/data/locale.h-data: Likewise.
36715 * conform/data/math.h-data: Likewise.
36716 * conform/data/monetary.h-data: Likewise.
36717 * conform/data/mqueue.h-data: Likewise.
36718 * conform/data/ndbm.h-data: Likewise.
36719 * conform/data/net/if.h-data: Likewise.
36720 * conform/data/netdb.h-data: Likewise.
36721 * conform/data/netinet/in.h-data: Likewise.
36722 * conform/data/nl_types.h-data: Likewise.
36723 * conform/data/poll.h-data: Likewise.
36724 * conform/data/pthread.h-data: Likewise.
36725 * conform/data/pwd.h-data: Likewise.
36726 * conform/data/regex.h-data: Likewise.
36727 * conform/data/sched.h-data: Likewise.
36728 * conform/data/search.h-data: Likewise.
36729 * conform/data/semaphore.h-data: Likewise.
36730 * conform/data/setjmp.h-data: Likewise.
36731 * conform/data/signal.h-data: Likewise.
36732 * conform/data/spawn.h-data: Likewise.
36733 * conform/data/stdarg.h-data: Likewise.
36734 * conform/data/stdio.h-data: Likewise.
36735 * conform/data/stdlib.h-data: Likewise.
36736 * conform/data/string.h-data: Likewise.
36737 * conform/data/strings.h-data: Likewise.
36738 * conform/data/stropts.h-data: Likewise.
36739 * conform/data/sys/ipc.h-data: Likewise.
36740 * conform/data/sys/mman.h-data: Likewise.
36741 * conform/data/sys/msg.h-data: Likewise.
36742 * conform/data/sys/resource.h-data: Likewise.
36743 * conform/data/sys/select.h-data: Likewise.
36744 * conform/data/sys/sem.h-data: Likewise.
36745 * conform/data/sys/shm.h-data: Likewise.
36746 * conform/data/sys/socket.h-data: Likewise.
36747 * conform/data/sys/stat.h-data: Likewise.
36748 * conform/data/sys/statvfs.h-data: Likewise.
36749 * conform/data/sys/time.h-data: Likewise.
36750 * conform/data/sys/timeb.h-data: Likewise.
36751 * conform/data/sys/times.h-data: Likewise.
36752 * conform/data/sys/types.h-data: Likewise.
36753 * conform/data/sys/uio.h-data: Likewise.
36754 * conform/data/sys/un.h-data: Likewise.
36755 * conform/data/sys/utsname.h-data: Likewise.
36756 * conform/data/sys/wait.h-data: Likewise.
36757 * conform/data/syslog.h-data: Likewise.
36758 * conform/data/tar.h-data: Likewise.
36759 * conform/data/termios.h-data: Likewise.
36760 * conform/data/utime.h-data: Likewise.
36761 * conform/data/utmpx.h-data: Likewise.
36762 * conform/data/varargs.h-data: Likewise.
36763 * conform/data/wchar.h-data: Likewise.
36764 * conform/data/wctype.h-data: Likewise.
36765 * conform/data/wordexp.h-data: Likewise.
36766
36767 * include/stropts.h: New file.
36768 * include/uchar.h: New file.
36769 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36770 * include/assert.h: Likewise.
36771 * include/ctype.h: Likewise.
36772 * include/dirent.h: Likewise.
36773 * include/dlfcn.h: Likewise.
36774 * include/fcntl.h: Likewise.
36775 * include/fnmatch.h: Likewise.
36776 * include/glob.h: Likewise.
36777 * include/grp.h: Likewise.
36778 * include/libio.h: Likewise.
36779 * include/locale.h: Likewise.
36780 * include/math.h: Likewise.
36781 * include/net/if.h: Likewise.
36782 * include/netdb.h: Likewise.
36783 * include/netinet/in.h: Likewise.
36784 * include/pthread.h: Likewise.
36785 * include/pwd.h: Likewise.
36786 * include/regex.h: Likewise.
36787 * include/sched.h: Likewise.
36788 * include/search.h: Likewise.
36789 * include/setjmp.h: Likewise.
36790 * include/signal.h: Likewise.
36791 * include/stdio.h: Likewise.
36792 * include/stdlib.h: Likewise.
36793 * include/string.h: Likewise.
36794 * include/sys/cdefs.h: Likewise.
36795 * include/sys/mman.h: Likewise.
36796 * include/sys/msg.h: Likewise.
36797 * include/sys/resource.h: Likewise.
36798 * include/sys/select.h: Likewise.
36799 * include/sys/socket.h: Likewise.
36800 * include/sys/stat.h: Likewise.
36801 * include/sys/statvfs.h: Likewise.
36802 * include/sys/time.h: Likewise.
36803 * include/sys/times.h: Likewise.
36804 * include/sys/uio.h: Likewise.
36805 * include/sys/utsname.h: Likewise.
36806 * include/sys/wait.h: Likewise.
36807 * include/termios.h: Likewise.
36808 * include/time.h: Likewise.
36809 * include/ulimit.h: Likewise.
36810 * include/unistd.h: Likewise.
36811 * include/utime.h: Likewise.
36812 * include/wchar.h: Likewise.
36813 * include/wctype.h: Likewise.
36814 * include/wordexp.h: Likewise.
36815
36816 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36817
7a270350
UD
36818 * time/time.h: TIME_UTC must be a macro.
36819 Make timespec_get available for ISO C11 only as well.
36820
7724defc
UD
368212012-02-24 Ulrich Drepper <drepper@gmail.com>
36822
36823 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36824 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36825
6b1d1d46
JM
368262012-02-24 Joseph Myers <joseph@codesourcery.com>
36827
36828 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36829
0f8bbd69
JM
368302012-02-24 Joseph Myers <joseph@codesourcery.com>
36831
36832 * manual/texinfo.tex: Update to version 2012-01-19.16.
36833
66ab80bc
JM
368342012-02-24 Joseph Myers <joseph@codesourcery.com>
36835
36836 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36837
74981cc5
RM
368382012-02-24 Roland McGrath <roland@hack.frob.com>
36839
ee968201
RM
36840 [BZ #13738]
36841 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36842 * manual/fdl-1.3.texi: New file.
36843 * manual/fdl-1.1.texi: File removed.
36844
74981cc5
RM
36845 [BZ #13738]
36846 * manual/libc.texinfo (FDL_VERSION): New @set.
36847 Use it for mention of FDL in cover text.
36848 (Documentation License): Use it in @include file name.
36849
7bb764bc
JM
368502012-02-22 Joseph Myers <joseph@codesourcery.com>
36851 Roland McGrath <roland@hack.frob.com>
36852
36853 [BZ #5461]
57f41c40
AS
36854 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36855 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36856 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36857 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36858 name.
36859 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36860
6cbeae47
JM
368612012-02-22 Joseph Myers <joseph@codesourcery.com>
36862
36863 [BZ #2547]
36864 [BZ #11365]
36865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36866 manipulate bits before adding and subtracting TWO23[sx].
36867 * math/libm-test.inc (nearbyint_test): Add more tests.
36868
fe45ce09
JM
368692012-02-22 Joseph Myers <joseph@codesourcery.com>
36870
36871 [BZ #2548]
36872 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36873 bits before adding and subtracting TWO23[sx].
36874 * math/libm-test.inc (rint_test): Add more tests.
36875 (rint_test_tonearest): Likewise.
36876 (rint_test_towardzero): Likewise.
36877 (rint_test_downward): Likewise.
36878 (rint_test_upward: Likewise.
36879
ff3b3d82
JM
368802012-02-22 Joseph Myers <joseph@codesourcery.com>
36881
36882 [BZ #10110]
36883 * include/stdc-predef.h: New file. Extracted from features.h.
36884 * include/features.h: Include stdc-predef.h.
36885 * Makefile (headers): Add stdc-predef.h.
36886 * CONFORMANCE (Compiler limitations): Update.
36887
ef0aab35
JM
368882012-02-22 Joseph Myers <joseph@codesourcery.com>
36889
36890 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36891
58639409
DM
368922012-02-21 David S. Miller <davem@davemloft.net>
36893
36894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36896
c0e70b25
DM
368972012-02-20 David S. Miller <davem@davemloft.net>
36898
36899 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36900 using a normal save/restore sequence, rather than allocating a
36901 dummy stack frame just to store a frame pointer and restore.
36902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36903
fb06851d
JM
369042012-02-21 Joseph Myers <joseph@codesourcery.com>
36905
36906 * manual/install.texi: Fix stray word in line-wrapped comment.
36907
7a8b71c3
DM
369082012-02-20 David S. Miller <davem@davemloft.net>
36909
d510c123
DM
36910 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36911 both binutils and gcc support GOTDATA.
36912
0722d7c2
DM
36913 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36914 "rd %pc" in the PIC register setup sequences.
36915
3d2b3019
DM
36916 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36917 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36920 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36925 (SYSCALL_ERROR_HANDLER): Likewise.
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36927 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36929 (SYSCALL_ERROR_HANDLER): Likewise.
36930
c80098a9
DM
36931 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36932 (HAVE_GCC_GOTDATA): New.
36933 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36934 relocation support in both binutils and gcc.
36935 * sysdeps/sparc/elf/configure: Regenerate.
36936
3a2545a0
DM
36937 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36938 * sysdeps/sparc/sparc32/elf/configure: Delete.
36939 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36940 * sysdeps/sparc/sparc64/elf/configure: Delete.
36941 * sysdeps/sparc/elf/configure.in: New file.
36942 * sysdeps/sparc/elf/configure: Generate.
36943
7a8b71c3
DM
36944 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36945 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36946 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36947 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36948 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36949
f1e86fca
JM
369502012-02-21 Joseph Myers <joseph@codesourcery.com>
36951
36952 * manual/install.texi: Do not mention specific glibc version
36953 numbers.
36954 * manual/libc.texinfo (VERSION, UPDATED): Update.
36955 (@copying): Use @copyright{} and range of years.
36956
0e7dfaef
JM
369572012-02-21 Joseph Myers <joseph@codesourcery.com>
36958
36959 [BZ #13695]
36960 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36961 [crti.S not in sysdirs] (generated): Do not append.
36962 [crti.S not in sysdirs] (omit-deps): Likewise.
36963 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36964 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36965 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36966 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36967 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36968 Likewise.
36969 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36970 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36971 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36972 * csu/defs.awk: Remove file.
36973 * sysdeps/generic/initfini.c: Likewise.
36974 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36975 variable.
36976 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36977 Likewise.
36978
599af3ca
JM
369792012-02-20 Joseph Myers <joseph@codesourcery.com>
36980
36981 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36983 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36986 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36987 <bits/epoll.h>.
36988 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36989 (__EPOLL_PACKED): Define to empty if not defined by
36990 <bits/epoll.h>.
36991 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36993 bits/epoll.h.
36994
0e499750
JM
369952012-02-20 Joseph Myers <joseph@codesourcery.com>
36996
36997 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36998 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36999 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37000 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37001 <bits/timerfd.h>.
37002 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37004 bits/timerfd.h.
37005
5ad91f6e
JM
370062012-02-20 Joseph Myers <joseph@codesourcery.com>
37007
37008 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37009 in C locale.
37010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37014
06b99b02
AJ
370152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37016
37017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37019
7638c0fd
AS
370202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37021
37022 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37023 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37024 defined.
37025 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37026 Likewise.
37027 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37028 entry for 2.16.
37029
92221550
AJ
370302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37031
37032 * math/w_acos.c: Use non-signaling floating-point comparisons.
37033 * math/w_acosf.c: Likewise.
37034 * math/w_acosh.c: Likewise.
37035 * math/w_acoshf.c: Likewise.
37036 * math/w_acoshl.c: Likewise.
37037 * math/w_acosl.c: Likewise.
37038 * math/w_asin.c: Likewise.
37039 * math/w_asinf.c: Likewise.
37040 * math/w_asinl.c: Likewise.
37041 * math/w_atanh.c: Likewise.
37042 * math/w_atanhf.c: Likewise.
37043 * math/w_atanhl.c: Likewise.
37044 * math/w_exp2.c: Likewise.
37045 * math/w_exp2f.c: Likewise.
37046 * math/w_exp2l.c: Likewise.
37047 * math/w_j0.c: Likewise.
37048 * math/w_j0f.c: Likewise.
37049 * math/w_j0l.c: Likewise.
37050 * math/w_j1.c: Likewise.
37051 * math/w_j1f.c: Likewise.
37052 * math/w_j1l.c: Likewise.
37053 * math/w_jn.c: Likewise.
37054 * math/w_jnf.c: Likewise.
37055 * math/w_log.c: Likewise.
37056 * math/w_log10.c: Likewise.
37057 * math/w_log10f.c: Likewise.
37058 * math/w_log10l.c: Likewise.
37059 * math/w_log2.c: Likewise.
37060 * math/w_log2f.c: Likewise.
37061 * math/w_log2l.c: Likewise.
37062 * math/w_logf.c: Likewise.
37063 * math/w_logl.c: Likewise.
37064 * math/w_sqrt.c: Likewise.
37065 * math/w_sqrtf.c: Likewise.
37066 * math/w_sqrtl.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37069 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37072
ebaf36eb
JM
370732012-02-19 Joseph Myers <joseph@codesourcery.com>
37074
37075 [BZ #9739]
37076 * manual/string.texi (strnlen): Use correct parameter name in
37077 equivalent expression.
37078
71c254a6
JM
370792012-02-19 Joseph Myers <joseph@codesourcery.com>
37080
37081 [BZ #11174]
37082 * manual/users.texi (seteuid): Consistently use neweuid for
37083 argument name.
37084
16d2c631
JM
370852012-02-19 Joseph Myers <joseph@codesourcery.com>
37086
37087 [BZ #13704]
37088 * manual/nss.texi (Services in the NSS configuration): Correct
37089 list of services in example configuration file.
37090
cd837b09
NB
370912012-02-19 Nick Bowler <nbowler@draconx.ca>
37092
37093 [BZ #11322]
37094 * manual/arith.texi: Remove statements about negative zero
37095 behaving identically to zero.
37096
02c4bbad
JM
370972012-02-18 Joseph Myers <joseph@codesourcery.com>
37098
37099 [BZ #5993]
37100 * manual/install.texi: Do not document upgrading from libc5.
37101
366842e7
JM
371022012-02-18 Joseph Myers <joseph@codesourcery.com>
37103
37104 [BZ #4596]
37105 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37106
dd54084d
DM
371072012-02-18 David S. Miller <davem@davemloft.net>
37108
37109 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37110 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37111 %o7 across the call.
37112 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37113 instead.
37114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37115 SETUP_PIC_REG_LEAF.
37116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37117 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37118 * sysdeps/sparc/crtn.S: Likewise.
37119
2bcc53a3
UD
371202012-02-17 Ulrich Drepper <drepper@gmail.com>
37121
37122 * aout/Makefile: Remove.
37123
09c093b5
RK
371242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37125
37126 [BZ #13058]
37127 * manual/examples/argp-ex1.c (main): Format definition in GNU
37128 style.
37129 * manual/examples/argp-ex2.c (main): Likewise.
37130 * manual/examples/argp-ex3.c (main): Likewise.
37131 * manual/examples/argp-ex4.c (main): Likewise.
37132 * manual/examples/longopt.c (main): Use new-style prototype
37133 definition.
37134 * manual/examples/strncat.c (main): Specify return type and use
37135 (void) for arguments.
37136 * manual/examples/subopt.c (main): Use char **argv argument.
37137
2ee633a2
JM
371382012-02-17 Joseph Myers <joseph@codesourcery.com>
37139
37140 [BZ #5077]
37141 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37142 rounding modes.
37143
0520adde
FB
371442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37145
37146 [BZ #6907]
37147 * manual/string.texi (strchr): Change when strchrnul is
37148 recommended.
37149
3f4081cd
DGM
371502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37151
37152 [BZ #174]
37153 * manual/locale.texi (setlocale): Document LOCPATH.
37154
d1b10e78
JM
371552012-02-17 Joseph Myers <joseph@codesourcery.com>
37156
37157 [BZ #10210]
37158 * manual/process.texi (execle): Move @dots{} before last argument.
37159
79c6869c
PB
371602012-02-17 Paul Bolle <pebolle@tiscali.nl>
37161
37162 [BZ #12047]
37163 * manual/charset.texi (Generic Charset Conversion): Fix typo
37164 (LC_TYPE -> LC_CTYPE).
37165
cc6e48bc
NB
371662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37167
37168 [BZ #5805]
37169 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37170 (scalbnf): Likewise.
37171 (scalbnl): Likewise.
37172 (scalbln): Likewise.
37173 (scalblnf): Likewise.
37174 (scalblnl): Likewise.
37175 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37176 (vwarnx): Likewise.
37177 (verr): Likewise.
37178 (verrx): Likewise.
37179 * manual/filesys.texi (telldir): Use braces around return type.
37180 * manual/llio.texi (mmap): Add space after comma.
37181 (mmap64): Likewise.
37182 * manual/math.texi (jn): Use @var{} on parameter names.
37183 (jnf): Likewise.
37184 (jnl): Likewise.
37185 (yn): Likewise.
37186 (ynf): Likewise.
37187 (ynl): Likewise.
37188 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37189 line.
37190 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37191 "...".
37192 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37193 (sched_get_priority_max): Likewise.
37194 * manual/signal.texi (sigvec): Add space after comma.
37195 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37196 names.
37197 (if_indextoname): Likewise.
37198 (if_freenameindex): Likewise.
37199 (sendto): Use ',' instead of '.' in prototype.
37200 * manual/startup.texi (syscall): Use @dots{} instead of literal
37201 "...".
37202 * manual/stdio.texi (__fpending): Separate initial words of
37203 paragraph from @deftypefun line.
37204 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37205 "...".
37206 (vsyslog): Use @var{} on parameter names.
37207 * manual/terminal.texi (stty): Use @var{} on parameter names.
37208 * manual/users.texi (getutmp): Use @var{} on parameter names.
37209 (getutmpx): Likewise.
37210
5b23062f
JM
372112012-02-17 Joseph Myers <joseph@codesourcery.com>
37212
37213 [BZ #6884]
37214 * manual/stdio.texi (fopen): Fix typos in description of
37215 ",ccs=STRING".
37216
8dee4833
AJ
372172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37218
37219 [BZ #4026]
37220 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37221 get clock_id definition.
37222
9078ce93
TS
372232012-02-17 Thomas Schwinge <thomas@schwinge.name>
37224
37225 [BZ #4822]
37226 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37227 (madvise): Cast every argument to void on its own.
37228
3835c55f
JM
372292012-02-17 Joseph Myers <joseph@codesourcery.com>
37230
37231 [BZ #9902]
37232 * manual/startup.texi (Exit Status): Fix typo.
37233
35c47e37
JM
372342012-02-17 Joseph Myers <joseph@codesourcery.com>
37235
37236 [BZ #10140]
37237 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37238 * manual/examples/argp-ex2.c: Likewise.
37239 * manual/examples/argp-ex3.c: Likewise.
37240
e3b69ca7
RH
372412012-02-16 Richard Henderson <rth@redhat.com>
37242
37243 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37244 * sysdeps/s390/s390-32/initfini.c: Remove.
37245 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37246 * sysdeps/s390/s390-64/initfini.c: Remove.
37247
df83af67
KK
372482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37249
37250 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37251 compiler output for sysdeps/generic/initfini.c.
37252 * sysdeps/sh/elf/initfini.c: Remove file.
37253
f63f3380
DM
372542012-02-16 David S. Miller <davem@davemloft.net>
37255
fb59b3a4
DM
37256 [BZ #11494]
37257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37258
f63f3380
DM
37259 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37260 * sysdeps/sparc/crti.S: New file.
37261 * sysdeps/sparc/crtn.S: New file.
37262 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37263 * sysdeps/sparc/sparc64/Makefile: Likewise.
37264
df6a4a4a
MF
372652012-02-15 Mike Frysinger <vapier@gentoo.org>
37266
6dd8f3dc 37267 [BZ #3335]
df6a4a4a
MF
37268 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37269
1cac7236
RM
372702012-02-15 Roland McGrath <roland@hack.frob.com>
37271
d2c736f8
RM
37272 [BZ #4822]
37273 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37274
1cac7236
RM
37275 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37276 (write, read, close): Likewise.
37277 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37278
8e475601
JM
372792012-02-15 Joseph Myers <joseph@codesourcery.com>
37280
37281 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37282 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37283 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37284 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37285 <bits/signalfd.h>.
37286 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37288 bits/signalfd.h.
37289
ed656b40
MP
372902012-02-14 Marek Polacek <polacek@redhat.com>
37291
37292 * sysdeps/x86_64/crti.S: New file.
37293 * sysdeps/x86_64/crtn.S: New file.
37294 * sysdeps/x86_64/elf/initfini.c: Remove file.
37295
2a979d3a
JM
372962012-02-13 Joseph Myers <joseph@codesourcery.com>
37297
37298 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37299 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37300 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37301 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37302 <bits/inotify.h>.
37303 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37305 bits/inotify.h.
37306
2a418ac3
JM
373072012-02-13 Joseph Myers <joseph@codesourcery.com>
37308
37309 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37310 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37311 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37312 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37313 <bits/eventfd.h>.
37314 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37316 bits/eventfd.h.
37317
fb779be7
TS
373182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37319
e19e83c5
RM
37320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37321 __feraiseexcept instead of feraiseexcept.
7c35ffed 37322
fb779be7
TS
37323 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37324 nanosleep invocations.
37325 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37326 strings, and add error checking for a nanosleep invocations.
37327
59ba27a6
PE
373282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37329
37330 Replace FSF snail mail address with URLs, as per GNU coding standards.
37331 Most of the snail mail addresses were wrong anyway, and omitting
37332 them makes the source code easier to maintain. Almost all of the
37333 changes are to license notices and to locale LC_IDENTIFICATION
37334 addresses, except for this one:
37335 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37336 not its snail mail address.
37337
57b957eb
RH
373382012-02-09 Richard Henderson <rth@twiddle.net>
37339
af850b1c
RH
37340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37341 of kernel-features.h.
37342
57b957eb
RH
37343 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37344
6b73181a
MP
373452012-02-08 Marek Polacek <polacek@redhat.com>
37346
37347 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37348 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37349 * sysdeps/gnu/_G_config.h: Likewise.
37350 * sysdeps/generic/_G_config.h: Likewise.
37351
26ecc33a
AS
373522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37353
6c6dbc63
AS
37354 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37355 tests.
37356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37357
e216c012
AS
37358 * sysdeps/powerpc/powerpc32/crti.S: New file.
37359 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37360 * sysdeps/powerpc/powerpc64/crti.S: New file.
37361 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37362
26ecc33a
AS
37363 * Makeconfig (have-initfini): Don't set.
37364 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37365 * configure.in (nopic_initfini): Don't substitute.
37366 * config.h.in (HAVE_INITFINI): Don't #undef.
37367 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37368 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37369
3add8e13
JM
373702012-02-08 Joseph Myers <joseph@codesourcery.com>
37371
37372 Support crti.S and crtn.S provided directly by architectures.
37373 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37374 [crti.S in sysdirs] (omit-deps): Likewise.
37375 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37376 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37377 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37378 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37379 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37380 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37381 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37382 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37383 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37384 compiler output for sysdeps/generic/initfini.c.
37385 * sysdeps/i386/elf/Makefile: Remove file.
37386 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37387
a22f12b4
MP
373882012-02-07 Marek Polacek <polacek@redhat.com>
37389
37390 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37391 * sysdeps/gnu/_G_config.h: Likewise.
37392 * sysdeps/mach/hurd/_G_config.h: Likewise.
37393
148cf100
MP
373942012-02-07 Marek Polacek <polacek@redhat.com>
37395
37396 * math/Makefile (tests): Add tst-CMPLX2.
37397 * math/tst-CMPLX2.c: New file.
37398
cfdc0dd7
AS
373992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37400
84ba42c4
AS
37401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37402
cfdc0dd7
AS
37403 * math/libm-test.inc (jn_test): Add missing L suffix.
37404
622c86f4
MP
374052012-02-06 Marek Polacek <polacek@redhat.com>
37406
37407 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37408 * sysdeps/i386/fpu/e_powf.S: Likewise.
37409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37410 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37412 * sysdeps/i386/fpu/e_pow.S: Likewise.
37413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37417 * sysdeps/i386/fpu/e_log2.S: Likewise.
37418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37420 * sysdeps/i386/fpu/e_powl.S: Likewise.
37421 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37422 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37423 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37424 * sysdeps/i386/fpu/e_logl.S: Likewise.
37425 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37426 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37431 * sysdeps/i386/fpu/e_log.S: Likewise.
37432 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37433 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37434 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37435 * sysdeps/i386/fpu/e_logf.S: Likewise.
37436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37438 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37439 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37440 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37441 * sysdeps/i386/fpu/e_log10.S: Likewise.
37442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37447 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37448 * sysdeps/i386/asm-syntax.h: Likewise.
37449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37452 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37453 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37455 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37456 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37458 * sysdeps/powerpc/sysdep.h: Likewise.
37459 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37461
d4a54ac6
JM
374622012-02-06 Joseph Myers <joseph@codesourcery.com>
37463
37464 [BZ #411]
37465 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37466
314054ea
JM
374672012-02-06 Joseph Myers <joseph@codesourcery.com>
37468
37469 * sysdeps/i386/sysdep.h: Include <features.h>.
37470 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37471 version.
37472
d8e0ca50
JM
374732012-02-05 Joseph Myers <joseph@codesourcery.com>
37474
37475 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37476 Define.
37477 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37478 LOAD_PIC_REG_STR.
37479
b1da7dd9
JM
374802012-02-03 Joseph Myers <joseph@codesourcery.com>
37481
37482 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37483 (SETUP_PIC_REG): Use GET_PC_THUNK.
37484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37485 macro.
37486
9a1d9254
JM
374872012-02-03 Joseph Myers <joseph@codesourcery.com>
37488
37489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37490 for non-PIC compilation.
37491 (SETUP_PIC_REG): Add .p2align directive.
37492 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37493 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37494 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37498 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37507 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37508 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37509 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37510 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37511 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37520 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37521 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37522 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37533
65dc3b75
JM
375342012-02-03 Joseph Myers <joseph@codesourcery.com>
37535
37536 * math/tst-CMPLX.c: Include <stdio.h>.
37537
d55bf177
JM
375382012-01-31 Joseph Myers <joseph@codesourcery.com>
37539
37540 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37541 float.
37542 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37543 * sysdeps/sparc/bits/mathdef.h: Likewise.
37544
69db4f8f
MP
375452012-01-31 Marek Polacek <polacek@redhat.com>
37546
37547 * libio/libio.h: Don't define _PARAMS.
37548 * locale/programs/config.h: Don't define PARAMS.
37549 * stdlib/strtol_l.c: Likewise.
37550 (__strtol_l): Remove PARAMS from the prototype.
37551
41b81892
UD
375522012-01-31 Ulrich Drepper <drepper@gmail.com>
37553
3b49edc0
UD
37554 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37555 names. Just use the correct names. Remove unnecessary wrapper
37556 functions.
37557 * malloc/arena.c: Likewise.
37558 * malloc/hooks.c: Likewise.
37559
41b81892
UD
37560 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37561 ARENA_TEST says not to. Simplify test for creation of a new arena.
37562 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37563
27a25b6e
UD
375642012-01-30 Ulrich Drepper <drepper@gmail.com>
37565
37566 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37567 into tail calls.
37568 (update_get_addr): New function.
37569 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37570 GET_ADDR_MODULE parameter.
37571
c8a89e7d
JM
375722012-01-30 Joseph Myers <joseph@codesourcery.com>
37573
37574 * crypt/cert.c: Remove __STDC__ conditionals.
37575 * crypt/crypt-entry.c: Likewise.
37576 * crypt/crypt_util.c: Likewise.
37577 * libio/filedoalloc.c: Likewise.
37578 * libio/fileops.c: Likewise.
37579 * libio/genops.c: Likewise.
37580 * libio/iofclose.c: Likewise.
37581 * libio/iofdopen.c: Likewise.
37582 * libio/iofopen.c: Likewise.
37583 * libio/iofopen64.c: Likewise.
37584 * libio/iogetdelim.c: Likewise.
37585 * libio/iopopen.c: Likewise.
37586 * libio/obprintf.c: Likewise.
37587 * libio/oldfileops.c: Likewise.
37588 * libio/oldiofclose.c: Likewise.
37589 * libio/oldiofdopen.c: Likewise.
37590 * libio/oldiofopen.c: Likewise.
37591 * libio/oldiopopen.c: Likewise.
37592 * libio/wfiledoalloc.c: Likewise.
37593 * libio/wgenops.c: Likewise.
37594 * locale/programs/xmalloc.c: Likewise.
37595 * misc/syslog.c: Likewise.
37596 * stdio-common/xbug.c: Likewise.
37597 * string/memchr.c: Likewise.
37598 * string/memcmp.c: Likewise.
37599 * string/memrchr.c: Likewise.
37600 * string/rawmemchr.c: Likewise.
37601 * sysdeps/posix/getcwd.c: Likewise.
37602 * time/strftime_l.c: Likewise.
37603
3b100462
JM
376042012-01-30 Joseph Myers <joseph@codesourcery.com>
37605
37606 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37607 * config.make.in (config-cflags-sse2avx): Define.
37608 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37609 Fix typo.
37610
607998af
CM
376112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37612
37613 * scripts/config.guess: Update from upstream config git repository.
37614 * scripts/config.sub: Likewise.
37615
3601428f
CM
376162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37617
3ac8b282
CM
37618 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37619 (EM_NUM): Update.
37620 (R_TILEPRO_*, R_TILEGX_*): New macros.
37621
e034841e
CM
37622 * scripts/firstversions.awk: Fix bug in version range handling.
37623
540d7568
CM
37624 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37625
3601428f
CM
37626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37627
463de862
CM
37628 * include/sys/epoll.h: New file.
37629 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37630 libc_hidden_def.
37631
73139a76
UD
376322012-01-28 Ulrich Drepper <drepper@gmail.com>
37633
96bc5b45
UD
37634 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37635 Avoid unnecessary __WORDSIZE == 64 test.
37636 (fmaxf): Use VEX format if possible.
37637 (fmax): Likewise.
37638 (fminf): Likewise.
37639 (fmin): Likewise.
37640
56f6f6a2
UD
37641 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37642 * math/math_private.h: Remove libc_fegetround* and
37643 libc_fesetround*.
37644 * sysdeps/i386/configure.in: Check for -msse2avx.
37645 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37646 also if SSE2AVX is defined.
37647 Remove libc_fegetround* and libc_fesetround*.
37648 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37649 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37651 of HAS_YMM_USABLE.
37652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37657
73139a76
UD
37658 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37659
d73f93a4
AZ
376602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37661
37662 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37663 size is not set.
37664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37665
6ee65ed6
UD
376662012-01-27 Ulrich Drepper <drepper@gmail.com>
37667
37668 [BZ #13618]
37669 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37670 relocation.
37671 * Makeconfig (libm): Define.
37672 * elf/Makefile: Add rules to build and run tst-relsort1.
37673 * elf/tst-relsort1.c: New file.
37674 * elf/tst-relsort1mod1.c: New file.
37675 * elf/tst-relsort1mod2.c: New file.
37676
8db21882
JM
376772012-01-27 Joseph Myers <joseph@codesourcery.com>
37678
37679 * math/s_ldexp.c: Remove __STDC__ conditionals.
37680 * math/s_ldexpf.c: Likewise.
37681 * math/s_ldexpl.c: Likewise.
37682 * math/s_nextafter.c: Likewise.
37683 * math/s_nexttowardf.c: Likewise.
37684 * math/s_significand.c: Likewise.
37685 * math/s_significandf.c: Likewise.
37686 * math/s_significandl.c: Likewise.
37687 * math/w_jnl.c: Likewise.
37688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37703 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37710 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37712 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37713 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37718 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37719 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37722 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37728 * sysdeps/ieee754/k_standard.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37808 * sysdeps/ieee754/s_matherr.c: Likewise.
37809 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37810 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37812 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37813
965a54a4
JM
378142012-01-26 Joseph Myers <joseph@codesourcery.com>
37815
37816 * crypt/md5.h: Remove __STDC__ conditionals.
37817 * libio/libioP.h: Likewise.
37818 * locale/programs/config.h: Likewise.
37819 * sysdeps/generic/sysdep.h: Likewise.
37820 * sysdeps/i386/asm-syntax.h: Likewise.
37821 * sysdeps/s390/asm-syntax.h: Likewise.
37822 * sysdeps/unix/sysdep.h: Likewise.
37823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37825
7071ad79
JM
378262012-01-26 Joseph Myers <joseph@codesourcery.com>
37827
37828 * libio/libio.h: Remove __STDC__ conditionals.
37829 * malloc/obstack.h: Likewise.
37830 * math/complex.h: Likewise.
37831 * math/math.h: Likewise.
37832 * sysdeps/generic/_G_config.h: Likewise.
37833 * sysdeps/gnu/_G_config.h: Likewise.
37834 * sysdeps/mach/hurd/_G_config.h: Likewise.
37835 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37836 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37837 * sysdeps/sparc/bits/mathdef.h: Likewise.
37838
afc5ed09
UD
378392012-01-26 Ulrich Drepper <drepper@gmail.com>
37840
37841 [BZ #13583]
37842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37843 Clean up HAS_* macros.
afc5ed09 37844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37845 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37846 possible.
37847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37848 HAS_AVX.
37849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37850 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37852 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37853 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37854
bdb6de1d
JM
378552012-01-25 Joseph Myers <joseph@codesourcery.com>
37856
37857 * elf/tst-unique3.cc (gets): Remove declaration.
37858 * elf/tst-unique3lib.cc (gets): Likewise.
37859 * elf/tst-unique3lib2.cc (gets): Likewise.
37860 * elf/tst-unique4.cc (gets): Likewise.
37861
b15549e6
UD
378622012-01-24 Ulrich Drepper <drepper@gmail.com>
37863
37864 * include/stdio.h: Add C++ protection. Add gets declarations and
37865 definitions.
37866 * debug/tst-chk1.c: Don't declare gets here.
37867 * stdio-common/tst-gets.c: Likewise.
37868
a037381f
JM
378692012-01-24 Joseph Myers <joseph@codesourcery.com>
37870
37871 * posix/glob: Remove directory.
37872
f1d4aa75
JM
378732012-01-24 Joseph Myers <joseph@codesourcery.com>
37874
37875 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37876
81c0c964
PT
378772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37878
37879 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37880 of the non-standard EPFNOSUPPORT.
37881
0ea698ae
ST
378822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37883
37884 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37885 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37886 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37887
d220b117
UD
378882012-01-21 Ulrich Drepper <drepper@gmail.com>
37889
37890 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37891
3e1aa84e
UD
378922012-01-20 Ulrich Drepper <drepper@gmail.com>
37893
37894 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37895 transient errors.
37896 * nscd/grpcache.c (cache_addgr): Likewise.
37897 * nscd/hstcache.c (cache_addhst): Likewise.
37898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37899 * nscd/pwdcache.c (cache_addpw): Likewise.
37900 * nscd/servicescache.c (cache_addserv): Likewise.
37901
400aa020
UD
379022012-01-16 Ulrich Drepper <drepper@gmail.com>
37903
d77e7869
UD
37904 * malloc/malloc.c: Various cleanups.
37905 * malloc/hooks.c: Likewise.
37906
400aa020
UD
37907 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37908 * stdlib/bug-fmtmsg1.c: New file.
37909
37910 * stdlib/fmtmsg.c (init): Add missing unlock.
37911 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37912
e0a309cf
MP
379132012-01-12 Marek Polacek <polacek@redhat.com>
37914
37915 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37916 and _GNU_SOURCE.
37917
929d11c7
WS
379182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37919
37920 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37921 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37922 macro to ensure uniqueness of label name.
37923 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37924 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37925
41d0e869
UD
379262012-01-11 Ulrich Drepper <drepper@gmail.com>
37927
0cc5ed3b
UD
37928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37929
41d0e869
UD
37930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37931 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37932 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37934
a47a831a
UD
379352012-01-10 Ulrich Drepper <drepper@gmail.com>
37936
daa891c0
UD
37937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37938
37939 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37940 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37941 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37942
e58ef0f2
UD
37943 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37944
a47a831a 37945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37946 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37949
37950 * math/bits/math-finite.h: Add ldexp support.
37951
a0bfc9c7
MP
379522012-01-10 Marek Polacek <polacek@redhat.com>
37953
37954 * locale/programs/localedef.h (show_archive_content): Add noreturn
37955 attribute.
37956
d6e97a1d
UD
379572012-01-09 Ulrich Drepper <drepper@gmail.com>
37958
37959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37960
d5835c26
UD
379612012-01-08 Ulrich Drepper <drepper@gmail.com>
37962
e5f484c6
UD
37963 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37964
d5835c26
UD
37965 * io/Makefile (headers): Add bits/poll2.h.
37966
d1f741e9
WS
379672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37968
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37970 typo #include statement.
37971
ec09c1c4
UD
379722012-01-08 Ulrich Drepper <drepper@gmail.com>
37973
37974 * include/sys/cdefs.h: Define __attribute_alloc_size.
37975 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37976 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37977 * elf/pldd.c: Likewise.
37978 * iconv/iconv_charmap.c: Likewise.
37979 * iconv/iconvconfig.c: Likewise.
37980 * iconv/strtab.c: Likewise.
37981 * locale/programs/locale.c: Likewise.
37982 * locale/programs/localedef.h: Likewise.
37983 * locale/programs/simple-hash.c: Likewise.
37984 * nscd/nscd.h: Likewise.
37985 * nss/makedb.c: Likewise.
37986 * sysdeps/generic/ldconfig.h: Likewise.
37987 * locale/programs/localedef.c: Remove xmalloc prototype.
37988 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37989
20b38e03
PP
379902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37991
37992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37993 appropriate.
37994
a0da5fe1
UD
379952012-01-08 Ulrich Drepper <drepper@gmail.com>
37996
1d5a644a 37997 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37998 * math/tst-CMPLX.c: New file.
1d5a644a 37999
8784a6db
UD
38000 * math/complex.h (CMPLXL): Fix typo.
38001
d9a216c0
UD
38002 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38003 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38004 GLIBC_2.16.
38005 * debug/tst-chk1.c: Add poll and ppoll tests.
38006 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38007 * include/sys/poll.h: Add hidden proto for ppoll.
38008 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38009 * sysdeps/mach/hurd/ppoll.c: Likewise.
38010 * io/ppoll.c: Likewise.
38011 * debug/poll_chk.c: New file.
38012 * debug/ppoll_chk.c: New file.
38013 * include/bits/poll2.h: New file.
38014 * io/bits/poll2.h: New file.
38015
ac097f5c
UD
38016 [BZ #1350]
38017 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38018
2119dcfa
UD
38019 * configure.in: static is always set to yes. Remove.
38020 * config.make.in: Don't set build-static.
38021 * Makeconfig: Remove use of build-static.
38022 * dlfcn/Makefile: Likewise.
38023 * elf/Makefile: Likewise.
38024 * math/Makefile: Likewise.
38025 * misc/Makefile: Likewise.
38026 * nptl/Makefile: Likewise.
38027 * sysdeps/mach/hurd/Makefile: Likewise.
38028
121766a9
UD
38029 * configure.in: PWD_P is not used anymore.
38030 * config.make.in: Remove PWD_P entry.
38031
51a1d39c 38032 * configure.in: Remove last remnants of RANLIB.
8720d066 38033 No need to check for signed size_t anymore.
215f4bdc
UD
38034 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38035 and IA-64.
3857022a 38036 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38037 * aclocal.m4: Likewise.
38038
d3ed7225
UD
38039 * wcsmbs/mbrtoc16.c: Implement using towc function.
38040 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38041 * wcsmbs/wcsmbsload.c: Likewise.
38042 * iconv/gconv_simple.c: Likewise.
38043 * iconv/gconv_int.h: Likewise.
38044 * iconv/gconv_builtin.h: Likewise.
38045 * iconv/iconv_prog.c: Remove CHAR16 handling.
38046
38047 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38048
38049 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38050
a0da5fe1
UD
38051 * configure.in: Remove --with-elf and --enable-bounded options.
38052 Dont set base_machine for ia64. More non-ELF conditions removed.
38053 Remove testing and setting of leading underscore information.
38054 * config.make.in (build-bounded): Set to no.
38055 * config.h.in: Remove NO_UNDERSCORES entry.
38056 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38057 them.
38058 * csu/start.c: Remove !NO_UNDERSCORE code.
38059 * locale/localeinfo.h: Likewise.
38060 * sysdeps/generic/machine-gmon.h: Likewise.
38061 * sysdeps/generic/sysdep.h: Likewise.
38062 * sysdeps/i386/sysdep.h: Likewise.
38063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38064 * sysdeps/mach/sysdep.h: Likewise.
38065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38066 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38067 * sysdeps/sh/sysdep.h: Likewise.
38068 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38069 * sysdeps/unix/i386/sysdep.S: Likewise.
38070 * sysdeps/unix/sparc/start.c: Likewise.
38071 * sysdeps/unix/sparc/sysdep.S: Likewise.
38072 * sysdeps/unix/sparc/sysdep.h: Likewise.
38073 * sysdeps/unix/start.c: Likewise.
38074 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38075 * sysdeps/x86_64/sysdep.h: Likewise.
38076
df78418a
UD
380772012-01-07 Ulrich Drepper <drepper@gmail.com>
38078
a784e502
UD
38079 [BZ #13553]
38080 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38081 for non-gcc.
38082 * argp/argp-fmtstream.h: Use const instead __const.
38083 * argp/argp.h: Likewise.
38084 * assert/assert.h: Likewise.
38085 * bits/fenv.h: Likewise.
38086 * bits/sched.h: Likewise.
38087 * bits/sigset.h: Likewise.
38088 * bits/sigthread.h: Likewise.
38089 * catgets/nl_types.h: Likewise.
38090 * conform/data/pthread.h-data: Likewise.
38091 * crypt/crypt-private.h: Likewise.
38092 * crypt/crypt.h: Likewise.
38093 * crypt/crypt_util.c: Likewise.
38094 * ctype/ctype.h: Likewise.
38095 * debug/execinfo.h: Likewise.
38096 * debug/mbsnrtowcs_chk.c: Likewise.
38097 * debug/mbsrtowcs_chk.c: Likewise.
38098 * debug/wcsnrtombs_chk.c: Likewise.
38099 * debug/wcsrtombs_chk.c: Likewise.
38100 * debug/wcstombs_chk.c: Likewise.
38101 * dirent/dirent.h: Likewise.
38102 * dlfcn/dlfcn.h: Likewise.
38103 * elf/neededtest4.c: Likewise.
38104 * grp/grp.h: Likewise.
38105 * gshadow/gshadow.h: Likewise.
38106 * iconv/gconv.h: Likewise.
38107 * iconv/gconv_int.h: Likewise.
38108 * iconv/gconv_simple.c: Likewise.
38109 * iconv/iconv.h: Likewise.
38110 * iconv/loop.c: Likewise.
38111 * iconv/skeleton.c: Likewise.
38112 * include/aio.h: Likewise.
38113 * include/aliases.h: Likewise.
38114 * include/argz.h: Likewise.
38115 * include/arpa/inet.h: Likewise.
38116 * include/assert.h: Likewise.
38117 * include/dirent.h: Likewise.
38118 * include/dlfcn.h: Likewise.
38119 * include/execinfo.h: Likewise.
38120 * include/fcntl.h: Likewise.
38121 * include/fenv.h: Likewise.
38122 * include/glob.h: Likewise.
38123 * include/grp.h: Likewise.
38124 * include/libintl.h: Likewise.
38125 * include/mntent.h: Likewise.
38126 * include/netdb.h: Likewise.
38127 * include/pwd.h: Likewise.
38128 * include/rpc/netdb.h: Likewise.
38129 * include/sched.h: Likewise.
38130 * include/search.h: Likewise.
38131 * include/shadow.h: Likewise.
38132 * include/signal.h: Likewise.
38133 * include/stdio.h: Likewise.
38134 * include/stdlib.h: Likewise.
38135 * include/string.h: Likewise.
38136 * include/sys/socket.h: Likewise.
38137 * include/sys/stat.h: Likewise.
38138 * include/sys/statfs.h: Likewise.
38139 * include/sys/statvfs.h: Likewise.
38140 * include/sys/syslog.h: Likewise.
38141 * include/sys/time.h: Likewise.
38142 * include/sys/uio.h: Likewise.
38143 * include/time.h: Likewise.
38144 * include/unistd.h: Likewise.
38145 * include/utmp.h: Likewise.
38146 * include/wchar.h: Likewise.
38147 * include/wctype.h: Likewise.
38148 * inet/aliases.h: Likewise.
38149 * inet/arpa/inet.h: Likewise.
38150 * inet/netinet/ether.h: Likewise.
38151 * inet/netinet/in.h: Likewise.
38152 * intl/libintl.h: Likewise.
38153 * io/bits/fcntl2.h: Likewise.
38154 * io/fcntl.h: Likewise.
38155 * io/ftw.h: Likewise.
38156 * io/sys/poll.h: Likewise.
38157 * io/sys/stat.h: Likewise.
38158 * io/sys/statfs.h: Likewise.
38159 * io/sys/statvfs.h: Likewise.
38160 * io/utime.h: Likewise.
38161 * libio/bits/stdio.h: Likewise.
38162 * libio/bits/stdio2.h: Likewise.
38163 * libio/libio.h: Likewise.
38164 * libio/libioP.h: Likewise.
38165 * libio/stdio.h: Likewise.
38166 * locale/lc-ctype.c: Likewise.
38167 * locale/locale.h: Likewise.
38168 * login/utmp.h: Likewise.
38169 * malloc/arena.c: Likewise.
38170 * malloc/malloc.c: Likewise.
38171 * malloc/malloc.h: Likewise.
38172 * malloc/mcheck.c: Likewise.
38173 * malloc/mtrace.c: Likewise.
38174 * math/bits/mathcalls.h: Likewise.
38175 * math/fenv.h: Likewise.
38176 * math/math_private.h: Likewise.
38177 * misc/bits/error.h: Likewise.
38178 * misc/bits/syslog.h: Likewise.
38179 * misc/err.h: Likewise.
38180 * misc/error.h: Likewise.
38181 * misc/fstab.h: Likewise.
38182 * misc/mntent.h: Likewise.
38183 * misc/regexp.h: Likewise.
38184 * misc/search.h: Likewise.
38185 * misc/sgtty.h: Likewise.
38186 * misc/sys/mman.h: Likewise.
38187 * misc/sys/syslog.h: Likewise.
38188 * misc/sys/uio.h: Likewise.
38189 * misc/sys/xattr.h: Likewise.
38190 * misc/ttyent.h: Likewise.
38191 * nis/rpcsvc/ypclnt.h: Likewise.
38192 * nss/nss.h: Likewise.
38193 * posix/bits/unistd.h: Likewise.
38194 * posix/fnmatch.h: Likewise.
38195 * posix/glob.h: Likewise.
38196 * posix/sched.h: Likewise.
38197 * posix/spawn.h: Likewise.
38198 * posix/sys/wait.h: Likewise.
38199 * posix/unistd.h: Likewise.
38200 * posix/wordexp.h: Likewise.
38201 * pwd/pwd.h: Likewise.
38202 * resolv/netdb.h: Likewise.
38203 * resource/sys/resource.h: Likewise.
38204 * rt/aio.h: Likewise.
38205 * rt/bits/mqueue2.h: Likewise.
38206 * rt/mqueue.h: Likewise.
38207 * shadow/shadow.h: Likewise.
38208 * signal/signal.h: Likewise.
38209 * socket/send.c: Likewise.
38210 * socket/sendto.c: Likewise.
38211 * socket/sys/socket.h: Likewise.
38212 * stdio-common/printf.h: Likewise.
38213 * stdlib/bits/stdlib.h: Likewise.
38214 * stdlib/fmtmsg.h: Likewise.
38215 * stdlib/monetary.h: Likewise.
38216 * stdlib/stdlib.h: Likewise.
38217 * stdlib/ucontext.h: Likewise.
38218 * streams/stropts.h: Likewise.
38219 * string/argz.h: Likewise.
38220 * string/bits/string2.h: Likewise.
38221 * string/string.h: Likewise.
38222 * string/strings.h: Likewise.
38223 * sunrpc/rpc/auth.h: Likewise.
38224 * sunrpc/rpc/auth_des.h: Likewise.
38225 * sunrpc/rpc/clnt.h: Likewise.
38226 * sunrpc/rpc/netdb.h: Likewise.
38227 * sunrpc/rpc/pmap_clnt.h: Likewise.
38228 * sunrpc/rpc/xdr.h: Likewise.
38229 * sysdeps/generic/inttypes.h: Likewise.
38230 * sysdeps/generic/net/if.h: Likewise.
38231 * sysdeps/generic/sys/swap.h: Likewise.
38232 * sysdeps/gnu/net/if.h: Likewise.
38233 * sysdeps/gnu/utmpx.h: Likewise.
38234 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38235 * sysdeps/i386/i486/bits/string.h: Likewise.
38236 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38237 * sysdeps/s390/bits/string.h: Likewise.
38238 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38239 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38240 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38241 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38242 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38243 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38244 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38245 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38246 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38247 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38248 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38249 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38250 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38252 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38253 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38254 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38259 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38260 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38261 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38262 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38263 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38264 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38266 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38268 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38269 * sysvipc/sys/ipc.h: Likewise.
38270 * sysvipc/sys/msg.h: Likewise.
38271 * sysvipc/sys/sem.h: Likewise.
38272 * sysvipc/sys/shm.h: Likewise.
38273 * termios/termios.h: Likewise.
38274 * time/sys/time.h: Likewise.
38275 * time/time.h: Likewise.
38276 * wcsmbs/bits/wchar2.h: Likewise.
38277 * wcsmbs/uchar.h: Likewise.
38278 * wcsmbs/wchar.h: Likewise.
38279 * wctype/wctype.h: Likewise.
38280
0269750c
UD
38281 [BZ #13551]
38282 * Makeconfig: Remove all but ELF support including AIX support.
38283 * Makerules: Likewise.
38284 * config.h.in: Likewise.
38285 * config.make.in: Likewise.
38286 * configure: Likewise.
38287 * configure.in: Likewise.
38288 * csu/Makefile: Likewise.
38289 * csu/version.c: Likewise.
38290 * debug/Makefile: Likewise.
38291 * dlfcn/Makefile: Likewise.
38292 * elf/Makefile: Likewise.
38293 * extra-lib.mk: Likewise.
38294 * iconv/Makefile: Likewise.
38295 * include/libc-symbols.h: Likewise.
38296 * include/shlib-compat.h: Likewise.
38297 * resolv/Makefile: Likewise.
38298 * resolv/res_libc.c: Likewise.
38299 * rt/Makefile: Likewise.
38300 * sysdeps/i386/asm-syntax.h: Likewise.
38301 * sysdeps/i386/sysdep.h: Likewise.
38302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38303 * sysdeps/mach/sysdep.h: Likewise.
38304 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38305 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38306 * sysdeps/s390/asm-syntax.h: Likewise.
38307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38308 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38309 * sysdeps/sh/sysdep.h: Likewise.
38310 * sysdeps/unix/sparc/sysdep.h: Likewise.
38311 * sysdeps/wordsize-32/divdi3.c: Likewise.
38312 * sysdeps/x86_64/sysdep.h: Likewise.
38313
00bbd29b
UD
38314 * argp/Versions: Remove _argp_unlock_xxx.
38315
38316 [BZ #13559]
38317 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38318 * abilist/libBrokenLocale.abilist: Likewise.
38319 * abilist/libanl.abilist: Likewise.
38320 * abilist/libc.abilist: Likewise.
38321 * abilist/libcrypt.abilist: Likewise.
38322 * abilist/libdl.abilist: Likewise.
38323 * abilist/libm.abilist: Likewise.
38324 * abilist/libnsl.abilist: Likewise.
38325 * abilist/libpthread.abilist: Likewise.
38326 * abilist/libresolv.abilist: Likewise.
38327 * abilist/librt.abilist: Likewise.
38328 * abilist/libthread_db.abilist: Likewise.
38329 * abilist/libutil.abilist: Likewise.
38330 * abilist/libnss_db.abilist: New file.
38331
38332 * scripts/abilist.awk: Add support for indirect functions.
38333
a2693a0e
UD
38334 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38335
3f05895f
UD
38336 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38337
ecb6fb48
UD
38338 * shlib-versions: Remove entries for ports architectures.
38339
664f8cb9
UD
38340 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38341 files in ports.
38342 * elf/stackguard-macros.h: Remove support for IA-64.
38343 * elf/tst-auditmod1.c: Likewise.
38344 * sysdeps/generic/ldsodefs.h: Likewise.
38345
7ae81d88
UD
38346 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38347 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38348 configure files.
38349
bdeba135
UD
38350 [BZ #13552]
38351 * configure.in: Remove --enable-omitfp support.
38352 * FAQ.in: Adjust.
38353 * config.make.in: Likewise.
38354 * Makeconfig: Likewise.
38355 * manual/install.texi: Likewise.
38356
d75a0a62
UD
38357 In case anyone cares, the IA-64 architecture could move to ports.
38358 * sysdeps/ia64/*: Removed.
38359 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38360 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38361
dcc9756b
UD
38362 [BZ #13555]
38363 * configure.in: Remove entries for unsupported architectures.
38364
d3761ebc 38365 [BZ #13533]
9954432e
UD
38366 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38367 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38368 routines.
38369 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38370 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38371 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38372 fall back to using wcrtomb.
38373 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38374 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38375 renaming.
38376 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38377 * wcsmbs/tst-c16c32-1.c: New file.
38378
38379 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38380 local variable.
38381
c3a87236
UD
38382 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38383
28926a1b
UD
38384 * elf/tst-unique3.cc: Add explicit declaration of gets.
38385 * elf/tst-unique3lib.cc: Likewise.
38386 * elf/tst-unique3lib2.cc: Likewise.
38387 * elf/tst-unique4.cc: Likewise.
38388
df78418a
UD
38389 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38390
8ecd6b2a
JM
383912012-01-06 Joseph Myers <joseph@codesourcery.com>
38392
38393 [BZ #13566]
38394 * assert/assert.h (static_assert): Don't define for C++.
38395 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38396 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38397
9f115170
UD
383982012-01-03 Ulrich Drepper <drepper@gmail.com>
38399
5e0d0300
UD
38400 * iconv/loop.c (single loop): Fix assertion in storing of
38401 remaining bytes.
38402
9f115170
UD
38403 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38404
81fb02b0
UD
384052012-01-01 Ulrich Drepper <drepper@gmail.com>
38406
38407 * posix/getconf.c: Update copyright year.
38408 * nss/getent.c: Likewise.
a316c1f6 38409 * nss/makedb.c: Likewise.
81fb02b0
UD
38410 * iconv/iconvconfig.c: Likewise.
38411 * iconv/iconv_prog.c: Likewise.
38412 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38413 * elf/pldd.c: Likewise.
38414 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38415 * catgets/gencat.c: Likewise.
38416 * csu/version.c: Likewise.
38417 * elf/ldd.bash.in: Likewise.
38418 * elf/sprof.c (print_version): Likewise.
38419 * locale/programs/locale.c: Likewise.
38420 * locale/programs/localedef.c: Likewise.
a316c1f6 38421 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38422 * nscd/nscd.c (print_version): Likewise.
38423 * debug/xtrace.sh: Likewise.
38424 * malloc/memusage.sh: Likewise.
38425 * malloc/mtrace.pl: Likewise.
38426 * debug/catchsegv.sh: Likewise.
38427
2ba92745
JJ
384282011-12-30 Jakub Jelinek <jakub@redhat.com>
38429
38430 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38431 pure attribute.
38432
dadebdae
UD
384332011-12-24 Ulrich Drepper <drepper@gmail.com>
38434
d3761ebc 38435 [BZ #13533]
db6af3eb
UD
38436 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38437 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38438 transformations.
38439 * iconv/gconv_int.h: Likewise.
38440 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38441 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38442 from libc for GLIBC_2.16.
38443 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38444 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38445 * wcsmbs/uchar.h: Really define mbstate_t.
38446 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38447 * wcsmbs/c16rtomb.c: New file.
38448 * wcsmbs/mbrtoc16.c: New file.
38449 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38450 for C/POSIX locale.
38451 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38452 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38453
dadebdae
UD
38454 * wcsmbs/wchar.h: Add missing __restrict.
38455
67371b56
UD
384562011-12-23 Ulrich Drepper <drepper@gmail.com>
38457
74033a25
UD
38458 [BZ #13532]
38459 * time/Makefile (routines): Add timespec_get.
38460 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38461 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38462 timespec for ISO C11.
38463 * time/timespec_get.c: New file.
38464 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38465 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38466
380d7e87
UD
38467 [BZ #13531]
38468 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38469 * stdlib/stdlib.h: Declare aligned_alloc.
38470 * Versions.def: Add GLIBC_2.16 for libc.
38471 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38472
4e9e7a35
UD
38473 [BZ 13527]
38474 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38475 ISO C11.
38476
380d7e87 38477 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38478 code.
38479
03a71829
UD
38480 [BZ #13528]
38481 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38482
839e283e
UD
38483 [BZ #13529]
38484 * assert/assert.h (static_assert): Define.
38485
ce5294e2 38486 * version.h: Update for 2.16 development version.
90fa7312 38487
8d44e150 38488 [BZ #13526]
d7809905
UD
38489 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38490 _ISOC11_SOURCE.
38491
c0da14cd
UD
38492 * version.h (RELEASE): Bump for 2.15 release.
38493 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38494
530a3249
MP
38495 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38496 Patch by Marek Polacek <mpolacek@redhat.com>.
38497
67371b56
UD
38498 * bits/byteswap.h: Protect long long constants with __extension__.
38499 * sysdeps/i386/bits/byteswap.h: Likewise.
38500 * sysdeps/ia64/bits/byteswap.h: Likewise.
38501 * sysdeps/s390/bits/byteswap.h: Likewise.
38502 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38503
15db4de1
LD
385042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38505
38506 [BZ #13540]
bbe315ea
LD
38507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38508 destination buffer.
15db4de1
LD
38509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38510
2b2596b1
MP
385112011-12-23 Marek Polacek <polacek@redhat.com>
38512
38513 * elf/dl-addr.c (determine_info): Add inline keyword.
38514 * elf/tst-auditmod4b.c (check_avx): Likewise.
38515 * elf/tst-auditmod6b.c (check_avx): Likewise.
38516 * elf/tst-auditmod6c.c (check_avx): Likewise.
38517 * elf/tst-auditmod7b.c (check_avx): Likewise.
38518
70c6c246
UD
385192011-12-23 Ulrich Drepper <drepper@gmail.com>
38520
38521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38522 !__SSE_MATH__.
38523
c044cf14
LD
385242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38525
15db4de1 38526 [BZ #13540]
c044cf14
LD
38527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38528 processing for last bytes.
38529
6b13d9d9
BH
385302011-08-06 Bruno Haible <bruno@clisp.org>
38531
d455f537
BH
38532 [BZ #13061]
38533 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38534 U+0385, not to U+1FEE.
38535
6b13d9d9
BH
38536 [BZ #13062]
38537 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38538 entry for U+00A5 U+0301.
38539
db910efd
UD
385402011-12-22 Ulrich Drepper <drepper@gmail.com>
38541
27deeafc
UD
38542 [BZ #13166]
38543 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38544 buffer for the output is too small.
38545
aed9d171
UD
38546 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38547 optimization.
38548
db910efd
UD
38549 [BZ #13185]
38550 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38551 SSE flags if possible.
38552
2bd779ae
LD
385532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38554
e7f9dac3 38555 [BZ #13540]
2bd779ae
LD
38556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38557 processing for last bytes.
38558
154bfc16
JM
385592011-12-22 Joseph Myers <joseph@codesourcery.com>
38560
38561 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38562 (syscall-list-default-options, syscall-list-default-condition)
38563 (syscall-list-includes): Define.
38564 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38565 list of ABIs and options and #if conditions for each ABI. Do not
38566 handle common syscalls between ABIs specially.
38567 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38568 Remove.
38569 (syscall-list-variants, syscall-list-32bit-options)
38570 (syscall-list-32bit-condition, syscall-list-64bit-options)
38571 (syscall-list-64bit-condition): Define.
38572 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38573 (syscall-list-variants, syscall-list-32bit-options)
38574 (syscall-list-32bit-condition, syscall-list-64bit-options)
38575 (syscall-list-64bit-condition): Define.
38576 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38577 Remove.
38578 (syscall-list-variants, syscall-list-32bit-options)
38579 (syscall-list-32bit-condition, syscall-list-64bit-options)
38580 (syscall-list-64bit-condition): Define.
38581 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38582 Remove.
38583 (syscall-list-variants, syscall-list-32bit-options)
38584 (syscall-list-32bit-condition, syscall-list-64bit-options)
38585 (syscall-list-64bit-condition): Define.
38586
21eaf3a5
UD
385872011-12-22 Ulrich Drepper <drepper@gmail.com>
38588
16c6f992
UD
38589 * locale/iso-639.def: Add brx entry.
38590
41043168
UD
38591 [BZ #13328]
38592 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38593 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38594
21eaf3a5
UD
38595 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38596 __feraiseexcept_renamed.
38597
e3a851a2
UD
385982011-12-21 Ulrich Drepper <drepper@gmail.com>
38599
4920765e
UD
38600 [BZ #13538]
38601 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38602 EPOLLET with unsigned values.
38603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38605
e3a851a2
UD
38606 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38607 to large cancellation.
38608 * math/s_cacoshf.c: Likewise.
38609 * math/s_cacoshl.c: Likewise.
38610
b27e24b8
RK
386112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38612
38613 [BZ #13305]
aebefeee 38614 [BZ #12786]
b27e24b8
RK
38615 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38616 * math/s_cacoshf.c: Likewise.
38617 * math/s_cacoshl.c: Likewise.
38618
ee190f67
UD
386192011-12-21 Ulrich Drepper <drepper@gmail.com>
38620
38621 [BZ #13439]
38622 * iconv/gconv.h: Define __GCONV_SWAP.
38623 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38624 * iconvdata/utf-16.c: Likewise.
38625 * iconvdata/utf-32.c: Likewise.
38626
707f25df
AS
386272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38628
38629 [BZ #13524]
38630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38631 numerator after shifting it by one limb.
38632
d2daaa1e
RÁE
386332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38634
38635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38636 under [__USE_EXTERN_INLINES].
38637
a4647e72
UD
386382011-12-17 Ulrich Drepper <drepper@gmail.com>
38639
38640 [BZ #13446]
38641 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38642
f0b264f1
AZ
386432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38644
38645 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38646 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38647 optimized code.
38648 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38649 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38650 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38651 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38652 for strncasecmp/strncasecmp_l compilation.
38653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38654 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38655
8ef4f244
MP
386562011-12-08 Marek Polacek <mpolacek@redhat.com>
38657
38658 [BZ #13484]
38659 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38660 of __asm__.
38661
97ac2654
UD
386622011-12-17 Ulrich Drepper <drepper@gmail.com>
38663
38664 [BZ #13506]
38665 * time/tzfile.c (__tzfile_read): Check values from file header.
38666
91d2a845
WS
386672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38668
38669 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38670 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38671 * powerpc/powerpc32/dl-start.S: Likewise.
38672 * powerpc/powerpc32/elf/start.S: Likewise.
38673 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38674 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38675 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38676 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38677 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38678 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38679 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38680 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38681 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38682 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38683 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38684 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38685 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38686 * powerpc/powerpc32/memset.S: Likewise.
38687 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38688 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38689 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38690 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38691 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38692 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38693 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38694 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38695 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38696 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38697 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38700
a1267ba1
AZ
387012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38702
38703 * math/libm-test.inc: Added more nearbyint tests.
38704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38708
ad8ac1bd
RL
387092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38710
38711 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38712 FD_CLOEXEC.
38713
1d3e4b61
UD
387142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38715
38716 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38717 Add wcscpy-ssse3 wcscpy-c.
38718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38719 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38720 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38721 * sysdeps/x86_64/wcschr.S: New file.
38722 * sysdeps/x86_64/wcsrchr.S: New file.
38723 * string/test-strcmp.c: Remove checking of wcscmp function for
38724 wrong alignments.
38725 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38726 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38727 wcsrchr-sse2 wcsrchr-c.
38728 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38729 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38730 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38731 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38732 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38733 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38734 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38735 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38737 * wcsmbc/wcschr.c (WCSCHR): New macro.
38738
5b330a2d
UD
387392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38740
38741 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38742 * wcsmbs/test-wcsrchr.c: New file.
38743 * string/test-strrchr.c: Add wcsrchr support.
38744 (WIDE): New macro.
38745 * wcsmbs/test-wcscpy.c: New file.
38746 * string/test-strcpy.c: Add wcscpy support.
38747 (WIDE): New macro.
26428b7c 38748
f039c043
UD
387492011-12-10 Ulrich Drepper <drepper@gmail.com>
38750
38751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38752 the inner loop.
38753
850fb039
AS
387542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38755
38756 [BZ #13472]
38757 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38758
4efbd5cb
UD
387592011-12-04 Ulrich Drepper <drepper@gmail.com>
38760
52ff5dd0 38761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38762 Minor optimizations.
52ff5dd0 38763
4efbd5cb
UD
38764 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38765 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38766 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38767
8a426e12
UD
387682011-12-03 Ulrich Drepper <drepper@gmail.com>
38769
aff2453d
UD
38770 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38771 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38772 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38773 for gcc to avoid warnings.
38774 * inet/Makefile (tests): Add tst-checks.
38775 * inet/tst-checks.c: New file.
38776
38777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38778 warning.
38779
38780 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38781 __wmemcmp_sse2.
38782
38783 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38784 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38785
8a426e12
UD
38786 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38787
9bea3473
UD
387882011-12-02 Ulrich Drepper <drepper@gmail.com>
38789
3a965496
UD
38790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38791 problem.
38792
9bea3473
UD
38793 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38794
f101631b
UD
387952011-11-29 Joseph Myers <joseph@codesourcery.com>
38796
38797 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38798 conditional on GCC version.
38799 (__arch_compare_and_exchange_val_8_acq)
38800 (__arch_compare_and_exchange_val_16_acq)
38801 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38802 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38803 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38804
a98275aa
UD
388052011-12-02 Joseph Myers <joseph@codesourcery.com>
38806
38807 * sysdeps/sh/backtrace.c: New file.
38808
d4cc29a2
AS
388092011-12-02 Andreas Schwab <schwab@redhat.com>
38810
38811 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38812 parenthesis.
38813
6257af2d
AS
388142011-12-01 Andreas Schwab <schwab@redhat.com>
38815
38816 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38817 falling back to utime.
38818
b5f44c1a
AS
388192011-11-30 Andreas Schwab <schwab@redhat.com>
38820
38821 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38822 expectations for float.
38823
f3a6cc0a
AS
388242011-11-29 Andreas Schwab <schwab@redhat.com>
38825
38826 * locale/weight.h (findidx): Add parameter len.
38827 * locale/weightwc.h (findidx): Likewise.
38828 * posix/fnmatch_loop.c (FCT): Adjust caller.
38829 * posix/regcomp.c (build_equiv_class): Likewise.
38830 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38831 * posix/regexec.c (check_node_accept_bytes): Likewise.
38832 * string/strcoll_l.c (STRCOLL): Likewise.
38833 * string/strxfrm_l.c (STRXFRM): Likewise.
38834
9d65ea3a
UD
388352011-11-17 Ulrich Drepper <drepper@gmail.com>
38836
38837 * Makefile.in: Remove CVSOPT handling.
38838 * configure.in: Remove use of AC_REVISION.
38839 * iconvdata/Makefile (distribute): No need to filter out CVS.
38840 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38841 handling.
38842
5583a086
AS
388432011-11-16 Andreas Schwab <schwab@redhat.com>
38844
38845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38846 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38847 [USE_AS_STRNCASECMP_L]: Likewise.
38848 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38849 NO_TLS_DIRECT_SEG_REFS.
38850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38851 Fix argument offsets for non-PIC.
38852 [USE_AS_STRNCASECMP_L]: Likewise.
38853 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38854 NO_TLS_DIRECT_SEG_REFS.
38855
d62a8200
UD
388562011-11-15 Ulrich Drepper <drepper@gmail.com>
38857
9d65ea3a 38858 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38859 O_CLOEXEC.
38860 * locale/loadlocale.c (_nl_load_locale): Likewise.
38861
09f93bd3
AS
388622011-11-15 Andreas Schwab <schwab@redhat.com>
38863
446514f9
AS
38864 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38865 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38867 (SYSCALL_GETTIME): Set errno on error.
38868
09f93bd3
AS
38869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38870 count references to noai6ai_cached.
38871
312be3f9
UD
388722011-11-15 Ulrich Drepper <drepper@gmail.com>
38873
38874 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38875
38876 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38877 FD_CLOEXEC for /proc/self/maps.
38878
38879 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38880 FD_CLOEXEC for /proc/meminfo.
38881
38882 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38883 gai.conf.
38884
38885 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38886 FD_CLOEXEC for given file.
38887
38888 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38889
38890 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38891 FD_CLOEXEC for /etc/hosts.
38892 (_gethtent): Likewise.
38893
38894 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38895
38896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38897 cancellation and set FD_CLOEXEC for /etc/netgroup.
38898
38899 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38900 reading /etc/publickey.
38901
38902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38903 allow cancellation when reading /etc/group.
38904
38905 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38906 cancellation.
38907 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38908
38909 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38910 when using data file.
38911
38912 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38913
38914 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38915 (write_nis_obj): Use "c" and "e" in fopen.
38916
38917 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38918
38919 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38920
38921 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38922
38923 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38924
38925 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38926 locale.alias.
38927
38928 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38929
38930 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38931
38932 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38933
38934 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38935 file parsing and set FD_CLOEXEC.
38936
82af0fa8
UD
389372011-11-14 Ulrich Drepper <drepper@gmail.com>
38938
38939 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38940
a5fb313c
AS
389412011-11-14 Andreas Schwab <schwab@redhat.com>
38942
38943 * malloc/arena.c (arena_get2): Don't call reused_arena when
38944 _int_new_arena failed.
38945
6abf3465
UD
389462011-11-14 Ulrich Drepper <drepper@gmail.com>
38947
38948 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38949 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38952 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38954 to compile strcasecmp and strncasecmp.
38955 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38956 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38957
38958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38959
76e3966e
UD
389602011-11-13 Ulrich Drepper <drepper@gmail.com>
38961
38962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38963 locale-defines.sym to gen-as-const-headers.
38964 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38965 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38967 to compile strcasecmp and strncasecmp.
38968 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38969 strcasecmp_l and strncasecmp_l.
38970 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38971 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38972 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38974 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38976 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38977 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38978 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38979 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38980 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38981
ab26144e
UD
389822011-11-12 Ulrich Drepper <drepper@gmail.com>
38983
7edb22ef
UD
38984 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38985 result of SYSDEP_GETTIME_CPU to retval.
38986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38987 parameter list to macro. Remove trailing semicolon. Adjust users.
38988
9694fc44
UD
38989 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38990 variable.
38991
8ad89ef8
UD
38992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38993 mantissa words.
38994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38995
0c822ef9
UD
38996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38997 from unused variable.
38998
874e0564
UD
38999 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39000 DWARF definitions.
39001 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39002 for assembling.
39003
3a2edc79
UD
39004 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39005 over namespaces.
39006
f3c2577f
UD
39007 * sunrpc/rpc_prot.c (rejected): Fix case value.
39008
294ce126
UD
39009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39010 unsigned long long int to avoid warnings in shift.
39011
5e2b63c6
UD
39012 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39013 of use of trans.
39014 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39015 variable tmp.
39016
e7f4b08e
UD
39017 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39018 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39019 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39020
ab26144e
UD
39021 * nis/nis_table.c (nis_list): Use variable of correct type for
39022 result of __follow_path call.
39023
8a6d5255
AZ
390242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39025
39026 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39027 of math functions ceil, trunc, floor, round, and sqrt, when
39028 avaliable on the platform.
39029 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39030 name clash.
39031 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39032 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39033 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39034
aaddc98c
MP
390352011-10-30 Marek Polacek <mpolacek@redhat.com>
39036
39037 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39038 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39039
95b7042b
RM
390402011-11-11 Roland McGrath <roland@hack.frob.com>
39041
39042 * include/unistd.h: Fix __readlink return type.
39043 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39044
57769839
UD
390452011-11-11 Ulrich Drepper <drepper@gmail.com>
39046
39047 * stdlib/ucontext.h: Undo last change for makecontext.
39048
edc5984d
AS
390492011-11-11 Andreas Schwab <schwab@redhat.com>
39050
98591e58
AS
39051 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39052
edc5984d
AS
39053 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39054 * setjmp/setjmp.h: Mark functions as non-leaf.
39055 * setjmp/bits/setjmp2.h: Likewise.
39056 * stdlib/ucontext.h: Likewise.
39057
77cdc054
AS
390582011-11-10 Andreas Schwab <schwab@redhat.com>
39059
39060 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39061 (reused_arena): Don't check arena limit.
39062 (arena_get2): Atomically check arena limit.
39063
fe72eebd
UD
390642011-11-08 Ulrich Drepper <drepper@gmail.com>
39065
5f078c32
UD
39066 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39067 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39068
fe72eebd
UD
39069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39070 instructions.
39071
ae1bc2fa
AS
390722011-11-07 Andreas Schwab <schwab@redhat.com>
39073
7583a88d
AS
39074 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39075 handler when locking.
39076
ae1bc2fa
AS
39077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39078 Fix size of allocated buffer.
39079
10fb0bfa
AS
390802011-11-04 Andreas Schwab <schwab@redhat.com>
39081
998832a4
AS
39082 [BZ #10103]
39083 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39084 declarations for long double functions.
39085 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39086
10fb0bfa
AS
39087 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39088
3d7ba52b
AS
390892011-11-03 Andreas Schwab <schwab@redhat.com>
39090
a9ae54a1
AS
39091 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39092 installed.
39093
3d7ba52b
AS
39094 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39095 is disabled.
39096
bc8db248
ST
390972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39098
39099 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39100
45b96dd6
AS
391012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39102
647776f6
AS
39103 * include/alloca.h (stackinfo_alloca_round): Define.
39104 (extend_alloca): Use it.
39105 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39106 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39107 here.
39108
d91a8b93
AS
39109 * scripts/check-local-headers.sh: Ignore libaudit.h.
39110
45b96dd6
AS
39111 * nscd/Makefile (extra-objs): Make recursively expanded.
39112
432d41ce
UD
391132011-11-01 Ulrich Drepper <drepper@gmail.com>
39114
34372fc6
UD
39115 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39117
fadb59f8
UD
39118 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39119 * posix/tst-rfc3484-2.c: Likewise.
39120 * posix/tst-rfc3484-3.c: Likewise.
39121
78239589
UD
39122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39123 process_vm_writev.
39124 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39125 process_vm_writev.
39126 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39127 process_vm_writev from libc using GLIBC_2.15 version.
39128
432d41ce
UD
39129 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39130
02f9c6cf
PP
391312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39132
39133 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39134 stack usage.
39135
3a2c0242
UD
391362011-10-31 Ulrich Drepper <drepper@gmail.com>
39137
f4ec4833
UD
39138 [BZ #13367]
39139 * nss/getent.c (initgroups_keys): Show error message in case no group
39140 names are given.
39141
3a2c0242
UD
39142 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39143 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39144 __bump_nl_timestamp.
39145 * nscd/connections (nscd_init): When host database is served open
39146 netlink socket and request notification about configuration changes.
39147 (main_loop_poll): Track netlink file descriptor and bump timestamp
39148 in case data becomes available.
39149 (main_loop_epoll): Likewise.
39150 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39151 (database_pers_head): Add extra_data fileds.
39152 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39153 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39154 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39155 Adjust caller.
39156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39157 in6ai data, call __free_in6ai.
39158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39159 Add -DHAVE_NETLINK.
39160 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39161 interface information. Reuse previous data if netlink timestamp
39162 is not changed.
39163 (__bump_nl_timestamp): New function.
39164 (__free_in6ai): New function.
39165
636064eb
UD
391662011-10-30 Ulrich Drepper <drepper@gmail.com>
39167
39168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39169 close_not_cancel_no_status here.
39170 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39171
9beb2334
UD
391722011-10-29 Ulrich Drepper <drepper@gmail.com>
39173
6ef76f3b
UD
39174 [BZ #13276]
39175 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39176 return value.
39177
0ffc4f3e 39178 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39179 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39180 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39181
cb95113e
UD
391822011-07-03 Andreas Jaeger <aj@suse.de>
39183
39184 [BZ #10709]
39185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39186 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39187 * math/libm-test.inc (sin_test): Add test case.
39188
a1b560ff
UD
391892011-10-29 Ulrich Drepper <drepper@gmail.com>
39190
c9aaface
UD
39191 [BZ #13337]
39192 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39194
d272e7f1
UD
39195 * elf/chroot_canon.c (chroot_canon): Cleanups.
39196
1bc33071
UD
39197 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39198
1760874d
TJ
39199 [BZ #13335]
39200 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39201 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39202
51d91b18
UD
39203 * string/test-strchr.c: Make usable for strchrnul testing.
39204 * string/test-strchrnul.c: New file.
39205 * string/Makefile (strop-tests): Add strchrnul.
39206
a1b560ff 39207 * po/it.po: Update from translation team.
b611fb81 39208 * po/es.po: Likewise.
a1b560ff 39209
a5b81e1f
UD
392102011-10-28 Ulrich Drepper <drepper@gmail.com>
39211
fd52bc6d
UD
39212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39213 the three constants needed as parameters. Drop the others.
39214 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39215 __m128i_strloadu_tolower.
52e4b9eb
UD
39216 Create and initialize variable zero and use it in all the places
39217 where _mm_setzero_si128 was used.
fd52bc6d 39218
a5b81e1f
UD
39219 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39220 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39221 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39223 anymore.
39224 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39225 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39226 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39227 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39228 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39229 __mpranred, __mptan.
39230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39234 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39235 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39237 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39238 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39239
b4343346
AS
392402011-10-28 Andreas Schwab <schwab@redhat.com>
39241
0c92d8a8
AS
39242 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39243 redefine if SHARED.
39244 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39245
b4343346
AS
39246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39247 wide char related routines to wcsmbs subdir.
39248
3871f58f
AS
392492011-10-27 Andreas Schwab <schwab@redhat.com>
39250
39251 [BZ #13344]
39252 * misc/sys/cdefs.h (__THROWNL): Define.
39253 * posix/unistd.h: Use __THREADNL instead of __THREAD
39254 for memory synchronization functions.
39255
94d44d9f
RM
392562011-10-26 Roland McGrath <roland@hack.frob.com>
39257
21b64b15 39258 [BZ #13349]
94d44d9f
RM
39259 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39260 doesn't exist.
39261 * manual/stdio.texi (Obstack Streams): Node removed.
39262
f6ce9294
AS
392632011-10-26 Andreas Schwab <schwab@redhat.com>
39264
80479147
AS
39265 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39268
f6ce9294
AS
39269 * math/math_private.h (math_force_eval): Allow non-addressable
39270 arguments.
39271 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39272
618280a1
UD
392732011-10-25 Ulrich Drepper <drepper@gmail.com>
39274
e0016b11
UD
39275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39276 file is not needed.
39277
39278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39285 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39286 Add AVX variants.
39287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39291 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39292 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39293 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39294 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39295 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39296 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39297 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39298 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39301 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39302 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39303 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39304 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39305 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39306
39307 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39308 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39309
618280a1
UD
39310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39311 place. Use VEX encoding when compiling for AVX.
39312
37822576
AS
393132011-10-25 Andreas Schwab <schwab@redhat.com>
39314
1f1e1947
AS
39315 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39317
37822576
AS
39318 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39319
31ea014d
UD
393202011-10-25 Ulrich Drepper <drepper@gmail.com>
39321
d7826aa1 39322 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39323 useless if() expression.
d7826aa1
UD
39324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39333 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39334 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39336 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39338 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39343
31ea014d
UD
39344 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39345
16437fec
AS
393462011-10-25 Andreas Schwab <schwab@redhat.com>
39347
39348 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39349 condition.
39350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39351
31d3cc00
UD
393522011-10-25 Ulrich Drepper <drepper@gmail.com>
39353
39354 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39355 .text section. Avoid duplicate constants.
39356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39364 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39366 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39368 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39373 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39380 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39381 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39382 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39387 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39388 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39389 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39390 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39391 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39392 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39394 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39395 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39401
58985aa9
UD
394022011-10-24 Ulrich Drepper <drepper@gmail.com>
39403
202c9deb
UD
39404 * sysdeps/x86_64/dla.h: Move to ...
39405 * sysdeps/x86_64/fpu/dla.h: ...here.
39406 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39407 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39408
af968f62
UD
39409 * config.make.in: Add have-mfma4 entry.
39410 * configure.in: Substitute libc_cv_cc_fma4.
39411 * math/Makefile (dbl-only-routines): Add sincostab.
39412 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39413 Use __sincostab not sincos.
39414 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39415 name is a macro.
39416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39420 using __copysign.
39421 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39422 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39423 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39424 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39425 and __inv.
39426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39427 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39428 __copysign.
39429 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39430 define aliases when function name is a macro.
39431 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39432 sysdeps/ieee754/dbl-64/sincos.tbl.
39433 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39434 fma4-enabled routines.
39435 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39436 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39437 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39438 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39439 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39445 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39447 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39448 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39449 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39450 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39451 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39453 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39455 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39459 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39462 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39465
58985aa9
UD
39466 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39467 rename.
39468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39476
a201fbcf
AS
394772011-10-24 Andreas Schwab <schwab@redhat.com>
39478
39479 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39480
fc2ee42a
LD
394812011-10-23 Ulrich Drepper <drepper@gmail.com>
39482
bb3129bd
UD
39483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39484
0275fff8
UD
39485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39486 prediction.
39487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39488
2fa2ae85
UD
39489 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39490 Remove unused variable magic_bits.
39491 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39492
fc2ee42a
LD
39493 * string/strnlen.c: Define and use STRNLEN macro.
39494 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39495 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39497 * wcsmbs/wcslen.c: Define and use WCSLEN.
39498 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39499 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39500 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39501 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39503 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39505
ce7dd29f
LD
395062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39507
39508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39509 strnlen-sse2-no-bsf.
39510 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39512 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39513 Add strnlen support.
39514 (USE_AS_STRNLEN): New macro.
39515 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39517 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39518 * sysdeps/x86_64/wcslen.S: New file.
39519
979c70a3
MZ
395202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39521
39522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39523 XMM-moves are used for copying on small sizes.
39524
2d09f82f
LD
395252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39526
39527 * wcsmbs/Makefile (strop-tests): Add wcschr.
39528 * wcsmbs/test-wcschr.c: New file.
39529 * string/test-strchr.c: Update.
39530 Add wcschr support.
39531 (WIDE): New macro.
39532
619fccca
LD
395332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39534
2d09f82f 39535 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39536 * wcsmbs/test-wcslen.c: New file.
39537 * string/test-strlen.c: Update.
39538 Add wcslen support.
39539 (WIDE): New macro.
39540
09f699ea
UD
395412011-10-23 Ulrich Drepper <drepper@gmail.com>
39542
39543 * po/it.po: Update from translation team.
39544
95584d3b
LD
395452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39546
39547 * sysdeps/x86_64/wcscmp.S: Update.
39548 Fix wrong comparison semantics.
39549 wcscmp shall use signed comparison not unsigned.
39550 Don't use substraction to avoid overflow bug.
39551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39552 * wcsmbc/wcscmp.c: Likewise.
39553 * string/test-strcmp.c: Likewise.
39554 Add new tests to check cases with negative values.
39555
c8b3296b
UD
395562011-10-23 Ulrich Drepper <drepper@gmail.com>
39557
39558 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39559 * sysdeps/x86_64/dla.h: ...here. New file.
39560 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39569
246ad57a
AS
395702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39571
39572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39573 __ynl_finite aliases.
39574
a1a87169
UD
395752011-10-22 Ulrich Drepper <drepper@gmail.com>
39576
0d355eb7
UD
39577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39578
a1a87169
UD
39579 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39580 define DLA_FMA.
39581 [DLA_FMA] (EMULV): Use DLA_FMA.
39582 [DLA_FMA] (MUL12): Use EMULV.
39583 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39584 that are not needed.
39585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39592
ee2aafe0
AS
395932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39594
39595 * math/s_nan.c: Undef __nan.
39596 * math/s_nanf.c: Undef __nanf.
39597 * math/s_nanl.c: Undef __nanl.
39598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39599 "math_private.h".
39600
bc62c2fb
UD
396012011-10-22 Ulrich Drepper <drepper@gmail.com>
39602
77425c63
UD
39603 * math/s_catan.c: Add branch predictions.
39604 * math/s_catanf.c: Likewise.
39605 * math/s_catanh.c: Likewise.
39606 * math/s_catanhf.c: Likewise.
39607 * math/s_catanhl.c: Likewise.
39608 * math/s_catanl.c: Likewise.
39609 * math/s_cexp.c: Likewise.
39610 * math/s_cexpf.c: Likewise.
39611 * math/s_cexpl.c: Likewise.
39612 * math/s_clog.c: Likewise.
39613 * math/s_clog10.c: Likewise.
39614 * math/s_clog10f.c: Likewise.
39615 * math/s_clog10l.c: Likewise.
39616 * math/s_clogf.c: Likewise.
39617 * math/s_clogl.c: Likewise.
39618 * math/s_csqrt.c: Likewise.
39619 * math/s_csqrtf.c: Likewise.
39620 * math/s_csqrtl.c: Likewise.
39621 * math/s_ctanf.c: Likewise.
39622 * math/s_ctanh.c: Likewise.
39623 * math/s_ctanhf.c: Likewise.
39624 * math/s_ctanhl.c: Likewise.
39625 * math/s_ctanl.c: Likewise.
39626
bc62c2fb
UD
39627 * math/math_private.h: Define __nan, __nanf, __nanl.
39628 * math/s_cacosh.c: Include <math_private.h>.
39629 * math/s_cacoshl.c: Likewise.
39630 * math/s_casinh.c: Likewise.
39631 * math/s_casinhf.c: Likewise.
39632 * math/s_casinhl.c: Likewise.
39633 * math/s_ccos.c: Rely entire on ccosh.
39634 * math/s_ccosf.c: Rely entire on ccoshf.
39635 * math/s_ccosl.c: Rely entirely on ccoshl.
39636 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39637 Remove tests for FE_INVALID.
39638 * math/s_ccoshf.c: Likewise.
39639 * math/s_ccoshl.c: Likewise.
39640 * math/s_csin.c: Likewise.
39641 * math/s_csinf.c: Likewise.
39642 * math/s_csinh.c Likewise.
39643 * math/s_csinhf.c: Likewise.
39644 * math/s_csinhl.c: Likewise.
39645 * math/s_csinl.c: Likewise.
39646 * math/s_ctan.c: Likewise.
39647 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39648 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39649 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39650
8ec250a4
UD
396512011-10-21 Ulrich Drepper <drepper@gmail.com>
39652
c196fed8
UD
39653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39654 compilation problems.
39655
8ec250a4
UD
39656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39657 __builtin_expect.
39658
8d4f46c6
UD
396592011-10-20 Ulrich Drepper <drepper@gmail.com>
39660
ed72b654
UD
39661 * sysdeps/i386/configure.in: Test for -mfma4 option.
39662 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39663 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39664 COMMON_CPUID_INDEX_80000001.
39665 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39666 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39667 use it if FMA3 is not supported.
39668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39669
8d4f46c6
UD
39670 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39672
d45c60c2
AS
396732011-10-20 Andreas Schwab <schwab@redhat.com>
39674
39675 [BZ #12892]
39676 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39677 it would create a cycle with a link time dependency.
39678
d9a4d2ab
UD
396792011-10-19 Ulrich Drepper <drepper@gmail.com>
39680
855d1560
UD
39681 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39682 instruction.
39683 * string/Makefile (strop-tests): Add rawmemchr.
39684 * string/test-rawmemchr.c: New file.
39685
d9a4d2ab
UD
39686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39688 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39689 when compiling str{,n}casecmp and when AVX is available. Hook up
39690 new optimized code in initializers.
39691
8f3b1ffe
AS
396922011-10-19 Andreas Schwab <schwab@redhat.com>
39693
39694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39695 __feraiseexcept instead of feraiseexcept.
39696
d38f1dba
UD
396972011-10-18 Ulrich Drepper <drepper@gmail.com>
39698
d9a8d0ab
UD
39699 * math/math_private.h: Define defaults for libc_fetestexcept and
39700 libc_feupdateenv.
39701 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39702 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39704 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39707 libc_fetestexcept and libc_feupdateenv.
39708
4855e3dd
UD
39709 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39710 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39711 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39712 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39713 libc_feholdexcept_setround.
39714
581d30e3
UD
39715 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39716 Add s_nearbyint-c and s_nearbyintf-c.
39717 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39718 nearbyintf inlines.
39719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39720 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39723
d38f1dba
UD
39724 * math/math_private.h: Define defaults for libc_fegetround,
39725 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39726 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39727 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39729 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39730 standard functions.
39731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39732 Remove comments and hacks for old compiler versions.
39733 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39734 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39735 libc_feholdexceptl.
39736
caa6c9d8
AS
397372011-10-18 Andreas Schwab <schwab@redhat.com>
39738
39739 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39740 (__feraiseexcept_renamed): Add __NTH.
39741 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39742 namespace violations.
39743
97c066e6
UD
397442011-10-17 Ulrich Drepper <drepper@gmail.com>
39745
99ce7b04
UD
39746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39747
1004d182
UD
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39749
228a984d
UD
39750 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39751 recently added interfaces.
39752 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39753
c8553a6a
UD
39754 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39755 about macro parameter expansion.
39756
ed22dcf6
UD
39757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39758 __NO_MATH_INLINES is defined. Cleanups.
39759
39760 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39761 and __floorf is target has SSE4.1.
39762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39764 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39766
b171c137
UD
39767 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39768 name.
39769 (floorf): Likewise.
39770
97c066e6
UD
39771 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39772
629f62ef
AS
397732011-10-17 Andreas Schwab <schwab@redhat.com>
39774
49a43d80
AS
39775 * misc/sys/cdefs.h: Fix last change.
39776
629f62ef
AS
39777 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39778 database lookup.
39779
e453f6cd
UD
397802011-10-16 Ulrich Drepper <drepper@gmail.com>
39781
aa78043a
UD
39782 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39783
ad0f5cad
UD
39784 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39790 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39793 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39794 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39795 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39796 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39797 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39798 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39799 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39801 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39802 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39803 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39805 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39806
39807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39808 ceil, ceilf, floor, floorf.
39809
39810 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39811 Perform IRELATIVE relocations last.
39812
e453f6cd
UD
39813 * elf/do-rel.h: Add another parameter nrelative, replacing the
39814 local variable with the same name. Change name of the function
39815 to end in Rel or Rela (uppercase).
39816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39817 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39818 elf_dynamic_do_##reloc function.
39819
fd5bdc09
UD
398202011-10-15 Ulrich Drepper <drepper@gmail.com>
39821
79b195b5
UD
39822 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39823 is sufficient, at least on modern CPUs.
39824
d4a28569
UD
39825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39826
b61099b5
UD
39827 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39828 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39829
bcf01e6d
UD
39830 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39831 __expl_finite.
39832 * math/bits/math-finite.h: Add entries for exp.
39833 * math/e_expl.c: Add __*_finite alias.
39834 * sysdeps/i386/fpu/e_exp.S: Likewise.
39835 * sysdeps/i386/fpu/e_expf.S: Likewise.
39836 * sysdeps/i386/fpu/e_expl.c: Likewise.
39837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39842 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39843 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39844
ba1a0d59
UD
39845 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39846 is sufficient, at least on modern CPUs.
39847
fd5bdc09
UD
39848 * ctype/ctype-info.c (__ctype_init): Define.
39849 * include/ctype.h (__ctype_init): Declare.
39850 (__ctype_b_loc): The variable is always initialized.
39851 (__ctype_toupper_loc): Likewise.
39852 (__ctype_tolower_loc): Likewise.
39853 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39854 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39855
7872cfb0
AS
398562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39857
b468825a
AS
39858 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39859
7872cfb0
AS
39860 * configure.in: Also look in $cxxmachine/include for C++ system
39861 headers.
39862
be13f7bf
LD
398632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39864
39865 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39866 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39867 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39868 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39870 (USE_AS_WMEMCMP): New macro.
39871 Fixing indents.
39872 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39873 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39874 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39875 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39877 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39878 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39880 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39881 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39882 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39883 (USE_AS_WMEMCMP): New macro.
39884 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39885 * sysdeps/string/test-memcmp.c: Update.
39886 Fix simple_wmemcmp.
39887 Add new tests.
39888 * wcsmbs/wmemcmp.c: Update.
39889 (WMEMCMP): New macro.
39890 Fix overflow bug.
39891
556a2007
AJ
398922011-10-12 Andreas Jaeger <aj@suse.de>
39893
39894 [BZ #13268]
39895 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39896
538faaa7
UD
398972011-10-15 Ulrich Drepper <drepper@gmail.com>
39898
ab6737ff
UD
39899 * libio/iofwide.c (do_length): Avoid warning.
39900
538faaa7
UD
39901 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39902
396a21b1
UD
399032011-10-14 Ulrich Drepper <drepper@gmail.com>
39904
cdf2901f
UD
39905 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39906
38ad40ce
UD
39907 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39908 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39909 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39910 * sysdeps/i386/i686/fpu/e_log.S: New file.
39911 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39912 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39913
396a21b1
UD
39914 * ctype/ctype.h: Add support for inlined isXXX functions when
39915 compiling C++ code.
39916
6b1f68c9
AS
399172011-10-14 Andreas Schwab <schwab@redhat.com>
39918
349290c0
AS
39919 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39920
6b1f68c9
AS
39921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39922
f2282d42
RM
399232011-10-13 Roland McGrath <roland@hack.frob.com>
39924
39925 [BZ #13291]
39926 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39927
5298ffa8
AS
399282011-10-13 Andreas Schwab <schwab@redhat.com>
39929
714fad23
AS
39930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39931 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39932 feraiseexcept.
39933
81dcc7fb
AS
39934 * sysdeps/x86_64/memrchr.S: Check for zero size.
39935
5298ffa8
AS
39936 * string/stratcliff.c: Add memrchr tests.
39937
951fbcec
LD
399382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39939
39940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39941 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39942 rawmemchr-sse2 rawmemchr-sse2-bsf.
39943 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39944 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39945 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39946 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39947 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39948 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39949 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39950 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39951 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39952 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39953 * string/memrchr.c (MEMRCHR): New macro.
39954
0ac5ae23
UD
399552011-10-12 Ulrich Drepper <drepper@gmail.com>
39956
39957 Add integration with gcc's -ffinite-math-only and optimize wrapper
39958 functions in libm.
39959 * Versions.def: Define GLIBC_2.15 version for libm.
39960 * math/Makefile (headers): Add bits/math-finite.h.
39961 * math/bits/math-finite.h: New file.
39962 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39963 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39964 * math/e_acoshl.c: Add __*_finite alias.
39965 * math/e_acosl.c: Likewise.
39966 * math/e_asinl.c: Likewise.
39967 * math/e_atan2l.c: Likewise.
39968 * math/e_atanhl.c: Likewise.
39969 * math/e_coshl.c: Likewise.
39970 * math/e_exp10.c: Likewise.
39971 * math/e_exp10f.c: Likewise.
39972 * math/e_exp10l.c: Likewise.
39973 * math/e_exp2l.c: Likewise.
39974 * math/e_fmodl.c: Likewise.
39975 * math/e_gammal_r.c: Likewise.
39976 * math/e_hypotl.c: Likewise.
39977 * math/e_j0l.c: Likewise.
39978 * math/e_j1l.c: Likewise.
39979 * math/e_jnl.c: Likewise.
39980 * math/e_lgammal_r.c: Likewise.
39981 * math/e_log10l.c: Likewise.
39982 * math/e_log2l.c: Likewise.
39983 * math/e_logl.c: Likewise.
39984 * math/e_powl.c: Likewise.
39985 * math/e_sinhl.c: Likewise.
39986 * math/e_sqrtl.c: Likewise.
39987 * math/e_scalb.c: Completely rewritten and optimized.
39988 * math/e_scalbf.c: Likewise.
39989 * math/e_scalbl.c: Likewise.
39990 * math/w_acos.c: Likewise.
39991 * math/w_acosf.c: Likewise.
39992 * math/w_acosl.c: Likewise.
39993 * math/w_acosh.c: Likewise.
39994 * math/w_acoshf.c: Likewise.
39995 * math/w_acoshl.c: Likewise.
39996 * math/w_asin.c: Likewise.
39997 * math/w_asinf.c: Likewise.
39998 * math/w_asinl.c: Likewise.
39999 * math/w_atan2.c: Likewise.
40000 * math/w_atan2f.c: Likewise.
40001 * math/w_atan2l.c: Likewise.
40002 * math/w_atanh.c: Likewise.
40003 * math/w_atanhf.c: Likewise.
40004 * math/w_atanhl.c: Likewise.
40005 * math/w_exp10.c: Likewise.
40006 * math/w_exp10f.c: Likewise.
40007 * math/w_exp10l.c: Likewise.
40008 * math/w_fmod.c: Likewise.
40009 * math/w_fmodf.c: Likewise.
40010 * math/w_fmodl.c: Likewise.
40011 * math/w_j0.c: Likewise.
40012 * math/w_j0f.c: Likewise.
40013 * math/w_j0l.c: Likewise.
40014 * math/w_j1.c: Likewise.
40015 * math/w_j1f.c: Likewise.
40016 * math/w_j1l.c: Likewise.
40017 * math/w_jn.c: Likewise.
40018 * math/w_jnf.c: Likewise.
40019 * math/w_log.c: Likewise.
40020 * math/w_logf.c: Likewise.
40021 * math/w_logl.c: Likewise.
40022 * math/w_log10.c: Likewise.
40023 * math/w_log10f.c: Likewise.
40024 * math/w_log10l.c: Likewise.
40025 * math/w_log2.c: Likewise.
40026 * math/w_log2f.c: Likewise.
40027 * math/w_log2l.c: Likewise.
40028 * math/w_pow.c: Likewise.
40029 * math/w_powf.c: Likewise.
40030 * math/w_powl.c: Likewise.
40031 * math/w_remainder.c: Likewise.
40032 * math/w_remainderf.c: Likewise.
40033 * math/w_remainderl.c: Likewise.
40034 * math/w_scalb.c: Likewise.
40035 * math/w_scalbf.c: Likewise.
40036 * math/w_scalbl.c: Likewise.
40037 * math/w_sqrt.c: Likewise.
40038 * math/w_sqrtf.c: Likewise.
40039 * math/w_sqrtl.c: Likewise.
40040 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40041 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40042 used.
40043 * math/math_private.h: Declare __kernel_standard_f.
40044 * math/w_cosh.c: Remove cruft and optimize a bit.
40045 * math/w_coshf.c: Likewise.
40046 * math/w_coshl.c: Likewise.
40047 * math/w_exp2.c: Likewise.
40048 * math/w_exp2f.c: Likewise.
40049 * math/w_exp2l.c: Likewise.
40050 * math/w_hypot.c: Likewise.
40051 * math/w_hypotf.c: Likewise.
40052 * math/w_hypotl.c: Likewise.
40053 * math/w_lgamma.c: Likewise.
40054 * math/w_lgamma_r.c: Likewise.
40055 * math/w_lgammaf.c: Likewise.
40056 * math/w_lgammaf_r.c: Likewise.
40057 * math/w_lgammal.c: Likewise.
40058 * math/w_lgammal_r.c: Likewise.
40059 * math/w_sinh.c: Likewise.
40060 * math/w_sinhf.c: Likewise.
40061 * math/w_sinhl.c: Likewise.
40062 * math/w_tgamma.c: Likewise.
40063 * math/w_tgammaf.c: Likewise.
40064 * math/w_tgammal.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40067 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40068 Minor optimizations. Pretty printing. Remove cruft.
40069 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40073 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40074 * sysdeps/i386/fpu/e_asin.S: Likewise.
40075 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40076 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40077 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40078 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40082 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40083 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40084 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40085 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40086 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40087 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40088 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40089 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40090 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40091 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40092 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40093 * sysdeps/i386/fpu/e_log.S: Likewise.
40094 * sysdeps/i386/fpu/e_log10.S: Likewise.
40095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40097 * sysdeps/i386/fpu/e_log2.S: Likewise.
40098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40099 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40100 * sysdeps/i386/fpu/e_logf.S: Likewise.
40101 * sysdeps/i386/fpu/e_logl.S: Likewise.
40102 * sysdeps/i386/fpu/e_pow.S: Likewise.
40103 * sysdeps/i386/fpu/e_powf.S: Likewise.
40104 * sysdeps/i386/fpu/e_powl.S: Likewise.
40105 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40106 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40107 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40110 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40111 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40112 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40113 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40143 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40145 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40146 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40148 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40149 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40150 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40151 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40155 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40193 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40207 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40211 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40212 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40213 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40214 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40215 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40216 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40217 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40222 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40223 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40224 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40225 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40226 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40227 (__isnanf): Likewise.
40228 (__isinf_ns): Likewise.
40229 (__isinf_nsf): Likewise.
40230 (__finite): Likewise.
40231 (__finitef): Likewise.
40232 (__ieee754_sqrt): Define as macro.
40233 (__ieee754_sqrtf): Define as macro.
40234 (__ieee754_sqrtl): Define as macro.
40235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40236 inlined copy.
40237 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40238 __FINITE_MATH_ONLY__ consistent.
40239 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40240
12cc2fcd
AS
402412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40242
a843a204
AS
40243 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40244 of rawmemchr.
40245
12cc2fcd
AS
40246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40247
c853acd5
UD
402482011-10-09 Ulrich Drepper <drepper@gmail.com>
40249
40250 * po/ja.po: Update from translation team.
40251
c658d255
RM
402522011-10-08 Roland McGrath <roland@hack.frob.com>
40253
110946e4
RM
40254 * locale/programs/locarchive.c (prepare_address_space): New function.
40255 (create_archive, enlarge_archive, open_archive): Use it.
40256
50604220
RM
40257 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40258 inside [SHARED], where it is used.
40259
c658d255
RM
40260 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40261
40262 * nss/getent.c (netgroup_keys): Remove unused variable.
40263 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40264
6a621eb7
UD
402652011-10-08 Ulrich Drepper <drepper@gmail.com>
40266
7edb55ce
UD
40267 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40271 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40273 * math/Makefile (libm-calls): Add s_isinf_ns.
40274 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40275 * math/multc3.c: Likewise.
40276 * math/s_casin.c: Likewise.
40277 * math/s_casinf.c: Likewise.
40278 * math/s_casinl.c: Likewise.
40279 * math/s_ccos.c: Likewise.
40280 * math/s_ccosf.c: Likewise.
40281 * math/s_ccosl.c: Likewise.
40282 * math/s_ctan.c: Likewise.
40283 * math/s_ctanf.c: Likewise.
40284 * math/s_ctanh.c: Likewise.
40285 * math/s_ctanhf.c: Likewise.
40286 * math/s_ctanhl.c: Likewise.
40287 * math/s_ctanl.c: Likewise.
40288 * math/w_fmod.c: Likewise.
40289 * math/w_fmodf.c: Likewise.
40290 * math/w_fmodl.c: Likewise.
40291 * math/w_remainder.c: Likewise.
40292 * math/w_remainderf.c: Likewise.
40293 * math/w_remainderl.c: Likewise.
40294 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40295 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40298 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40299 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40300 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40301 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40302
187da0ae
UD
40303 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40304 of the number.
40305 * stdio-common/printf_fphex.c: Likewise.
40306 * stdio-common/printf_size.c: Likewise.
40307
9277c064
UD
40308 * math/e_exp10.c: Include math_private.h using <...> not "...".
40309 * math/e_exp10f.c: Likewise.
40310 * math/e_exp10l.c: Likewise.
40311 * math/e_exp2l.c: Likewise.
40312 * math/e_j0l.c: Likewise.
40313 * math/e_j1l.c: Likewise.
40314 * math/e_jnl.c: Likewise.
40315 * math/e_lgammal_r.c: Likewise.
40316 * math/e_rem_pio2l.c: Likewise.
40317 * math/e_scalb.c: Likewise.
40318 * math/e_scalbf.c: Likewise.
40319 * math/e_scalbl.c: Likewise.
40320 * math/k_cosl.c: Likewise.
40321 * math/k_sinl.c: Likewise.
40322 * math/k_tanl.c: Likewise.
40323 * math/s_cacoshf.c: Likewise.
40324 * math/s_catan.c: Likewise.
40325 * math/s_catanf.c: Likewise.
40326 * math/s_catanh.c: Likewise.
40327 * math/s_catanhf.c: Likewise.
40328 * math/s_catanhl.c: Likewise.
40329 * math/s_catanl.c: Likewise.
40330 * math/s_ccosh.c: Likewise.
40331 * math/s_ccoshf.c: Likewise.
40332 * math/s_ccoshl.c: Likewise.
40333 * math/s_cexp.c: Likewise.
40334 * math/s_cexpf.c: Likewise.
40335 * math/s_cexpl.c: Likewise.
40336 * math/s_clog.c: Likewise.
40337 * math/s_clog10.c: Likewise.
40338 * math/s_clog10f.c: Likewise.
40339 * math/s_clog10l.c: Likewise.
40340 * math/s_clogf.c: Likewise.
40341 * math/s_clogl.c: Likewise.
40342 * math/s_csin.c: Likewise.
40343 * math/s_csinf.c: Likewise.
40344 * math/s_csinh.c: Likewise.
40345 * math/s_csinhf.c: Likewise.
40346 * math/s_csinhl.c: Likewise.
40347 * math/s_csinl.c: Likewise.
40348 * math/s_csqrt.c: Likewise.
40349 * math/s_csqrtf.c: Likewise.
40350 * math/s_csqrtl.c: Likewise.
40351 * math/s_ctan.c: Likewise.
40352 * math/s_ctanf.c: Likewise.
40353 * math/s_ctanh.c: Likewise.
40354 * math/s_ctanhf.c: Likewise.
40355 * math/s_ctanhl.c: Likewise.
40356 * math/s_ctanl.c: Likewise.
40357 * math/s_ldexp.c: Likewise.
40358 * math/s_ldexpf.c: Likewise.
40359 * math/s_ldexpl.c: Likewise.
40360 * math/s_significand.c: Likewise.
40361 * math/s_significandf.c: Likewise.
40362 * math/s_significandl.c: Likewise.
40363 * math/w_acos.c: Likewise.
40364 * math/w_acosf.c: Likewise.
40365 * math/w_acosh.c: Likewise.
40366 * math/w_acoshf.c: Likewise.
40367 * math/w_acoshl.c: Likewise.
40368 * math/w_acosl.c: Likewise.
40369 * math/w_asin.c: Likewise.
40370 * math/w_asinf.c: Likewise.
40371 * math/w_asinl.c: Likewise.
40372 * math/w_atan2.c: Likewise.
40373 * math/w_atan2f.c: Likewise.
40374 * math/w_atan2l.c: Likewise.
40375 * math/w_atanh.c: Likewise.
40376 * math/w_atanhf.c: Likewise.
40377 * math/w_atanhl.c: Likewise.
40378 * math/w_cosh.c: Likewise.
40379 * math/w_coshf.c: Likewise.
40380 * math/w_coshl.c: Likewise.
40381 * math/w_dremf.c: Likewise.
40382 * math/w_exp10.c: Likewise.
40383 * math/w_exp10f.c: Likewise.
40384 * math/w_exp10l.c: Likewise.
40385 * math/w_exp2.c: Likewise.
40386 * math/w_exp2f.c: Likewise.
40387 * math/w_fmod.c: Likewise.
40388 * math/w_fmodf.c: Likewise.
40389 * math/w_fmodl.c: Likewise.
40390 * math/w_hypot.c: Likewise.
40391 * math/w_hypotf.c: Likewise.
40392 * math/w_hypotl.c: Likewise.
40393 * math/w_j0.c: Likewise.
40394 * math/w_j0f.c: Likewise.
40395 * math/w_j0l.c: Likewise.
40396 * math/w_j1.c: Likewise.
40397 * math/w_j1f.c: Likewise.
40398 * math/w_j1l.c: Likewise.
40399 * math/w_jn.c: Likewise.
40400 * math/w_jnf.c: Likewise.
40401 * math/w_jnl.c: Likewise.
40402 * math/w_lgamma.c: Likewise.
40403 * math/w_lgamma_r.c: Likewise.
40404 * math/w_lgammaf.c: Likewise.
40405 * math/w_lgammaf_r.c: Likewise.
40406 * math/w_lgammal.c: Likewise.
40407 * math/w_lgammal_r.c: Likewise.
40408 * math/w_log.c: Likewise.
40409 * math/w_log10.c: Likewise.
40410 * math/w_log10f.c: Likewise.
40411 * math/w_log10l.c: Likewise.
40412 * math/w_log2.c: Likewise.
40413 * math/w_log2f.c: Likewise.
40414 * math/w_log2l.c: Likewise.
40415 * math/w_logf.c: Likewise.
40416 * math/w_logl.c: Likewise.
40417 * math/w_pow.c: Likewise.
40418 * math/w_powf.c: Likewise.
40419 * math/w_powl.c: Likewise.
40420 * math/w_remainder.c: Likewise.
40421 * math/w_remainderf.c: Likewise.
40422 * math/w_remainderl.c: Likewise.
40423 * math/w_scalb.c: Likewise.
40424 * math/w_scalbf.c: Likewise.
40425 * math/w_scalbl.c: Likewise.
40426 * math/w_sinh.c: Likewise.
40427 * math/w_sinhf.c: Likewise.
40428 * math/w_sinhl.c: Likewise.
40429 * math/w_sqrt.c: Likewise.
40430 * math/w_sqrtf.c: Likewise.
40431 * math/w_sqrtl.c: Likewise.
40432 * math/w_tgamma.c: Likewise.
40433 * math/w_tgammaf.c: Likewise.
40434 * math/w_tgammal.c: Likewise.
40435
6a621eb7
UD
40436 * po/ja.po: Update from translation team.
40437
bf582445
AJ
404382011-09-29 Andreas Jaeger <aj@suse.de>
40439
f9efbf3a
AJ
40440 [BZ #13179]
40441 * sunrpc/netname.c (netname2host): Fix logic.
40442
bf582445
AJ
40443 [BZ #6779]
40444 [BZ #6783]
40445 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40446 correctly.
40447 * math/w_remainder.c (__remainder): Likewise.
40448 * math/w_remainderf.c (__remainderf): Likewise.
40449 * math/libm-test.inc (remainder_test): Add test cases.
40450
48693bea
AK
404512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40452
40453 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40454 sdiv_qrnnd.
40455
42622229
LD
404562011-10-07 Ulrich Drepper <drepper@gmail.com>
40457
40458 * string/test-memcmp.c: Avoid unncessary #defines.
40459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40460
093ecf92
LD
404612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40462
40463 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40464 Use new sse2 version for core i3 - i7 as it's faster
40465 than sse42 version.
40466 (bit_Prefer_PMINUB_for_stringop): New.
40467 * sysdeps/x86_64/rawmemchr.S: Update.
40468 Replace with faster SSE2 version.
40469 * sysdeps/x86_64/memrchr.S: New file.
40470 * sysdeps/x86_64/memchr.S: Update.
40471 Replace with faster SSE2 version.
40472
fde56e5c
MP
404732011-09-12 Marek Polacek <mpolacek@redhat.com>
40474
40475 * elf/dl-load.c (lose): Add cast to avoid warning.
40476
21fd49a9
UD
404772011-10-07 Ulrich Drepper <drepper@gmail.com>
40478
5a06e643
UD
40479 * po/ca.po: Update from translation team.
40480
684ae515
UD
40481 * inet/getnetgrent_r.c: Hook up nscd.
40482 * nscd/Makefile (routines): Add nscd_netgroup.
40483 (nscd-modules): Add netgroupcache.
40484 (CFLAGS-netgroupcache.c): Define.
40485 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40486 (cache_search): Add const to second parameter.
40487 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40488 INNETGR.
40489 (dbs): Add netgrdb entry.
40490 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40491 (verify_persistent_db): Handle netgrdb.
40492 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40493 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40494 GETFDNETGR.
40495 (netgroup_response_header): Define.
40496 (innetgroup_response_header): Define.
40497 (datahead): Add netgroup_response_header and innetgroup_response_header
40498 elements.
40499 * nscd/nscd.conf: Add entries for netgroup cache.
40500 * nscd/nscd.h (dbtype): Add netgrdb.
40501 (_PATH_NSCD_NETGROUP_DB): Define.
40502 (netgroup_iov_disabled): Declare.
40503 (xmalloc, xcalloc, xrealloc): Move declarations here.
40504 (cache_search): Adjust prototype.
40505 Add netgroup-related prototypes.
40506 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40507 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40508 (__nscd_innetgr): Declare.
40509 * nscd/selinux.c (perms): Use access_vector_t as element type and
40510 add netgroup-related initializers.
40511 * nscd/netgroupcache.c: New file.
40512 * nscd/nscd_netgroup.c: New file.
40513 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40514 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40515 For four parameters use innetgr.
40516 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40517 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40518 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40519 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40520
21fd49a9
UD
40521 * nscd/connections.c (register_traced_file): Don't register file
40522 for disabled databases.
40523
054c0457
UD
405242011-10-06 Ulrich Drepper <drepper@gmail.com>
40525
32b63198
UD
40526 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40527
054c0457
UD
40528 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40529 from tree and freeing node.
40530
64031225
JO
405312011-09-25 Jiri Olsa <jolsa@redhat.com>
40532
40533 * nss/nsswitch.c (__nss_database_lookup): Handle
40534 nss_parse_service_list out of memory case.
40535
0490345c
JO
405362011-09-15 Jiri Olsa <jolsa@redhat.com>
40537
40538 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40539 out of memory case.
40540
3a62d00d
AS
405412011-10-04 Andreas Schwab <schwab@redhat.com>
40542
40543 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40544 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40545 pass it down.
40546 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40547 elf_machine_rela, elf_machine_lazy_rel.
40548 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40549 (ELF_DYNAMIC_DO_REL): Likewise.
40550 (ELF_DYNAMIC_DO_RELA): Likewise.
40551 (ELF_DYNAMIC_RELOCATE): Likewise.
40552 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40553 to ELF_DYNAMIC_DO_REL.
40554 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40555 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40556 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40557 elf_machine_rela.
40558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40559 skip_ifunc, don't call ifunc function if non-zero.
40560 (elf_machine_rela): Likewise.
40561 (elf_machine_lazy_rel): Likewise.
40562 (elf_machine_lazy_rela): Likewise.
40563 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40564 (elf_machine_lazy_rel): Likewise.
40565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40566 Likewise.
40567 (elf_machine_lazy_rel): Likewise.
40568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40569 Likewise.
40570 (elf_machine_lazy_rel): Likewise.
40571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40572 (elf_machine_lazy_rel): Likewise.
40573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40574 (elf_machine_lazy_rel): Likewise.
40575 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40576 (elf_machine_lazy_rel): Likewise.
40577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40578 (elf_machine_lazy_rel): Likewise.
40579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40580 (elf_machine_lazy_rel): Likewise.
40581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40582 (elf_machine_lazy_rel): Likewise.
40583
68577918
UD
405842011-09-28 Ulrich Drepper <drepper@gmail.com>
40585
40586 * nss/nss_files/files-init.c (_nss_files_init): Use static
40587 initialization for all the *_traced_file variables.
40588
68822d74
AS
405892011-09-28 Andreas Schwab <schwab@redhat.com>
40590
40591 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40592
2056100b
RM
405932011-09-27 Roland McGrath <roland@hack.frob.com>
40594
40595 [BZ #13226]
40596 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40597
32c76b63
AS
405982011-09-27 Andreas Schwab <schwab@redhat.com>
40599
40600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40601 Reread the line before reparsing it.
40602
bf972c9d
AS
406032011-09-26 Andreas Schwab <schwab@redhat.com>
40604
40605 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40606
e057a1b5
JM
406072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40608 Maxim Kuvyrkov <maxim@codesourcery.com>
40609 Joseph Myers <joseph@codesourcery.com>
40610
40611 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40612 if needed for __stack_chk_guard.
40613
bc7e1c36
RM
406142011-09-19 Roland McGrath <roland@hack.frob.com>
40615
ecb1482f
RM
40616 * sysdeps/posix/spawni.c (script_execute): Always define it.
40617 It will be optimized away if unused.
40618 (maybe_script_execute): New function.
40619 (__spawni): Call it.
40620
bc7e1c36
RM
40621 * Makerules: Don't include tls.make.
40622 (config-tls): Always set to thread.
40623 * tls.make.c: File removed.
40624
1c3b002b
MF
406252011-09-19 Mike Frysinger <vapier@gentoo.org>
40626
40627 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40628 * config.make.in (CPPFLAGS-config): New substituted variable.
40629
2840865d
UD
406302011-09-15 Ulrich Drepper <drepper@gmail.com>
40631
88738eb6
UD
40632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40633
cbf645a6 40634 [BZ #13192]
2840865d
UD
40635 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40636 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40637
b402e91a
RM
406382011-09-15 Roland McGrath <roland@hack.frob.com>
40639
40640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40641 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40643 (CALL_FAIL): Likewise.
40644 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40645 (CALL_FAIL): Macro removed.
40646 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40647
4c1a1f71
UD
406482011-09-15 Ulrich Drepper <drepper@gmail.com>
40649
40650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40651 for __FINITE_MATH_ONLY__ == 1.
40652
edc121be
AS
406532011-09-15 Andreas Schwab <schwab@redhat.com>
40654
40655 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40656 __ieee754_sqrt instead of sqrt.
40657 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40658 __ieee754_sqrtf instead of sqrtf.
40659 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40660 __floorf instead of floorf.
40661 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40662 __floorf, __truncf instead of floorf, truncf.
40663
cd205654
UD
406642011-09-14 Ulrich Drepper <drepper@gmail.com>
40665
ee4d0315
UD
40666 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40667
cd205654
UD
40668 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40669 __extern_always_inline.
40670 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40671 32-bit.
40672
48b67d71
AS
406732011-09-14 Andreas Schwab <schwab@redhat.com>
40674
40675 * elf/rtld.c (dl_main): Also relocate in dependency order when
40676 doing symbol dependency testing.
40677
1ae12c75
AS
406782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40679
40680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40681 Always define `refsym'.
40682
995a80df
AS
406832011-09-13 Andreas Schwab <schwab@redhat.com>
40684
e529793b
AS
40685 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40686 (__FD_ELT): Renamed from __FDELT.
40687 * misc/bits/select2.h (__FD_ELT): Likewise.
40688 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40689 __FD_MASK instead of __FDELT, __FDMASK.
40690 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40691 Likewise.
40692 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40693 Likewise.
40694
52d4fef8
AS
40695 * elf/Makefile (gen-ldd): Fix pattern.
40696
995a80df
AS
40697 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40698 (init_tls): Likewise.
40699
8682f8b0
UD
407002011-09-12 Ulrich Drepper <drepper@gmail.com>
40701
40702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40703
de82006d
AS
407042011-09-12 Andreas Schwab <schwab@redhat.com>
40705
a7c8e6a1
AS
40706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40707 `struct cmsghdr *' instead of `void *'.
40708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40709 Likewise.
40710
0f31fe77
AS
407112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40712
40713 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40714 if non-absolute.
40715 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40716 ldd_rewrite_script.
0f31fe77 40717
32b4c839
UD
407182011-09-11 Ulrich Drepper <drepper@gmail.com>
40719
83cd1420
UD
40720 * configure.in: Remove --with-tls option.
40721 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40722 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40723 out in case it is missing.
40724 * sysdeps/ia64/elf/configure.in: Likewise.
40725 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40726 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40727 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40728 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40729 * sysdeps/sh/elf/configure.in: Likewise.
40730 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40731 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40732 * sysdeps/x86_64/elf/configure.in: Likewise.
40733 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40734 * sysdeps/mach/hurd/tls.h: Likewise.
40735
633f745d
UD
40736 [BZ #13067]
40737 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40738
f318beb8
UD
40739 [BZ #13090]
40740 * configure.in: Fix use of AC_INIT.
40741
32b4c839
UD
40742 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40743
3ce1f295
UD
407442011-09-10 Ulrich Drepper <drepper@gmail.com>
40745
bb016596
UD
40746 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40747 __set_errno.
8e58439c
UD
40748 * malloc/hooks.c: Likewise.
40749
aebae053 40750 [BZ #11929]
02d46fc4
UD
40751 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40752 variables statically.
40753 (narenas): Initialize.
40754 (list_lock): Initialize.
bb016596
UD
40755 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40756 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40757 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40758 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40759 Add initializers to main_arena and mp_.
40760 (malloc_state): Remove pagesize member. Change all users to use
40761 GLRO(dl_pagesize).
40762
40763 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40764 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40765 is always initialized.
40766
22a89187
UD
40767 * malloc/malloc.c: Removed unused configurations and dead code.
40768 * malloc/arena.c: Likewise.
40769 * malloc/hooks.c: Likewise.
02d46fc4 40770 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40771
d063d164
UD
40772 * include/tls.h: Removed. USE___THREAD must always be defined.
40773 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40774 * elf/dl-libc.c: Likewise.
40775 * elf/dl-tsd.c: Likewise.
40776 * include/errno.h: Likewise.
40777 * include/netdb.h: Likewise.
40778 * include/resolv.h: Likewise.
40779 * inet/herrno-loc.c: Likewise.
40780 * inet/herrno.c: Likewise.
40781 * malloc/arena.c: Likewise.
40782 * malloc/hooks.c: Likewise.
40783 * malloc/malloc.c: Likewise.
40784 * resolv/res-state.c: Likewise.
40785 * resolv/res_libc.c: Likewise.
40786 * sysdeps/i386/dl-machine.h: Likewise.
40787 * sysdeps/ia64/dl-machine.h: Likewise.
40788 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40789 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40790 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40791 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40792 * sysdeps/sh/dl-machine.h: Likewise.
40793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40795 * sysdeps/unix/i386/sysdep.S: Likewise.
40796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40797 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40802 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40807 * sysdeps/x86_64/dl-machine.h: Likewise.
40808 * tls.make.c: Likewise.
40809
3ce1f295
UD
40810 * configure.in: Remove --with-__thread option. Make tests for
40811 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40812 tls_model attribute fail if no support is available. Remove
40813 USE_IN_LIBIO.
40814 * Makeconfig: Adjust for dropped configure option. All features are
40815 now mandatory.
40816 * Makerules: Likewise.
40817 * Versions.def: Likewise.
40818 * argp/argp-fmtstream.c: Likewise.
40819 * argp/argp-fmtstream.h: Likewise.
40820 * argp/argp-help.c: Likewise.
40821 * assert/assert.c: Likewise.
40822 * config.h.in: Likewise.
40823 * config.make.in: Likewise.
40824 * configure: Likewise.
40825 * configure.in: Likewise.
40826 * csu/Versions: Likewise.
40827 * csu/init.c: Likewise.
40828 * elf/tst-audit2.c: Likewise.
40829 * elf/tst-tls10.c: Likewise.
40830 * elf/tst-tls10.h: Likewise.
40831 * elf/tst-tls11.c: Likewise.
40832 * elf/tst-tls12.c: Likewise.
40833 * elf/tst-tls14.c: Likewise.
40834 * elf/tst-tlsmod11.c: Likewise.
40835 * elf/tst-tlsmod12.c: Likewise.
40836 * elf/tst-tlsmod13.c: Likewise.
40837 * elf/tst-tlsmod13a.c: Likewise.
40838 * elf/tst-tlsmod14a.c: Likewise.
40839 * elf/tst-tlsmod15b.c: Likewise.
40840 * elf/tst-tlsmod16a.c: Likewise.
40841 * elf/tst-tlsmod16b.c: Likewise.
40842 * elf/tst-tlsmod7.c: Likewise.
40843 * elf/tst-tlsmod8.c: Likewise.
40844 * elf/tst-tlsmod9.c: Likewise.
40845 * gmon/gmon.c: Likewise.
40846 * grp/fgetgrent_r.c: Likewise.
40847 * grp/putgrent.c: Likewise.
40848 * hurd/fopenport.c: Likewise.
40849 * include/libc-symbols.h: Likewise.
40850 * include/tls.h: Likewise.
40851 * intl/gettextP.h: Likewise.
40852 * intl/loadinfo.h: Likewise.
40853 * locale/global-locale.c: Likewise.
40854 * locale/localeinfo.h: Likewise.
40855 * mach/devstream.c: Likewise.
40856 * malloc/arena.c: Likewise.
40857 * malloc/set-freeres.c: Likewise.
40858 * misc/err.c: Likewise.
40859 * misc/getttyent.c: Likewise.
40860 * misc/mntent_r.c: Likewise.
40861 * posix/getopt.c: Likewise.
40862 * posix/wordexp.c: Likewise.
40863 * pwd/fgetpwent_r.c: Likewise.
40864 * resolv/Versions: Likewise.
40865 * resolv/res_hconf.c: Likewise.
40866 * shadow/fgetspent_r.c: Likewise.
40867 * shadow/putspent.c: Likewise.
40868 * stdio-common/printf_fphex.c: Likewise.
40869 * stdio-common/tmpfile.c: Likewise.
40870 * stdlib/abort.c: Likewise.
40871 * stdlib/fmtmsg.c: Likewise.
40872 * sunrpc/auth_unix.c: Likewise.
40873 * sunrpc/clnt_perr.c: Likewise.
40874 * sunrpc/clnt_tcp.c: Likewise.
40875 * sunrpc/clnt_udp.c: Likewise.
40876 * sunrpc/clnt_unix.c: Likewise.
40877 * sunrpc/openchild.c: Likewise.
40878 * sunrpc/svc_simple.c: Likewise.
40879 * sunrpc/svc_tcp.c: Likewise.
40880 * sunrpc/svc_udp.c: Likewise.
40881 * sunrpc/svc_unix.c: Likewise.
40882 * sunrpc/xdr.c: Likewise.
40883 * sunrpc/xdr_array.c: Likewise.
40884 * sunrpc/xdr_rec.c: Likewise.
40885 * sunrpc/xdr_ref.c: Likewise.
40886 * sunrpc/xdr_stdio.c: Likewise.
40887
1248c1c4
PB
408882011-09-09 Ulrich Drepper <drepper@gmail.com>
40889
40890 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40891
408922011-07-03 Andreas Jaeger <aj@suse.de>
40893
40894 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40895 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40896 regenerate with gen-libm-tests.pl.
40897
408982010-05-12 Petr Baudis <pasky@suse.cz>
40899
40900 [BZ #11589]
40901 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40902 around j0() zero points by switching to j1().
40903 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40907
f22e1074
UD
409082011-09-09 Ulrich Drepper <drepper@gmail.com>
40909
f19009c1
UD
40910 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40911 instead of 0.
40912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40913 instead of 0.
f19009c1
UD
40914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40915 Patch in part by Pavel Roskin <proski@gnu.org>.
40916
3f8cc204
UD
40917 [BZ #13138]
40918 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40919 realloc.
40920 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40921 Free memory block if necessary.
40922
f22e1074
UD
40923 [BZ #12847]
40924 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40925 be NULL. Don't lock in this case.
40926
0a2349f9
RM
409272011-09-09 Roland McGrath <roland@hack.frob.com>
40928
40929 * elf/elf.h (ELFOSABI_GNU): New macro.
40930 (ELFOSABI_LINUX): Define to that.
40931
f3cdd467
DZ
409322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40933
40934 * string/strncat.c (strncat): Undef the symbol in case it has been
40935 defined in bits/string.h.
40936
74718d13
UD
409372011-09-09 Ulrich Drepper <drepper@gmail.com>
40938
633e9e0f
UD
40939 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40940
0a2349f9 40941 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40942 link map.
40943
f9924780
AJ
409442011-08-17 Andreas Jaeger <aj@suse.de>
40945
40946 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40947
7f5517aa
PP
409482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40949 Ian Lance Taylor <iant@google.com>
40950
40951 * math/libm-test.inc (lround_test): New testcase.
40952 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40953
762011fe
UD
409542011-09-08 Ulrich Drepper <drepper@gmail.com>
40955
92963737
UD
40956 * Makefile: Remove support for automatic cvs check-ins.
40957 * Makerules: Likewise.
40958 * config.make.in: Likewise.
40959 * configure.in: Likewise.
40960 * intl/Makefile: Likewise.
40961 * locale/Makefile: Likewise.
40962 * po/Makefile: Likewise.
40963 * posix/Makefile: Likewise.
40964 * sysdeps/gnu/Makefile: Likewise.
40965 * sysdeps/mach/hurd/Makefile: Likewise.
40966 * sysdeps/sparc/sparc32/Makefile: Likewise.
40967
b0727fd8
JS
40968 [BZ #13118]
40969 * posix/Makefile (bug-regex32-ENV): Define.
40970 Patch by John Stanley <jpsinthemix@verizon.net>.
40971
a0f33f99
UD
40972 * misc/Makefile (headers): Add bits/select2.h.
40973 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40974 * misc/bits/select2.h: New file.
40975 * include/bits/select2.h: New file.
40976 * debug/Makefile (routines): Add fdelt_chk.
40977 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40978 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40979 FD_ISSET.
40980 * debug/fdelt_chk.c: New file.
40981
762011fe
UD
40982 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40983 * wcsmbs/test-wmemcmp.c: Likewise.
40984 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40985 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40986
409872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40988
40989 * string/Makefile (strop-tests): Add memcmp.
40990 * string/test-wmemcmp.c: New file.
40991 * string/test-memcmp.c: Add wmemcmp support.
40992
7f513ec8
RM
409932011-09-08 Roland McGrath <roland@hack.frob.com>
40994
0442afb4
RM
40995 [BZ #13153]
40996 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40997 2011-07-19 change.
40998
7f513ec8
RM
40999 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41000 garbage value in a __mach_port_mod_refs call in the cases of the
41001 task-self and thread-self ports.
41002
a12b2239
ST
410032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41004
41005 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41006
610f9ab4
AS
410072011-09-08 Andreas Schwab <schwab@redhat.com>
41008
7f513ec8 41009 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41010
48882a1a
LD
410112011-09-07 Ulrich Drepper <drepper@gmail.com>
41012
b49865be
UD
41013 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41014
fdc86bc9
UD
41015 * elf/dl-libc.c (dlerror_run): Pass back error code from
41016 dl_catch_error.
41017
c966526a
UD
41018 [BZ #13123]
41019 * elf/dl-load.c (lose): Free l_origin if it is valid.
41020
48882a1a
LD
41021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41022 names.
41023 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41026 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41028 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41029
77a2a8b4
AZ
410302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41031
41032 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41033 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41034 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41035 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41036 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41037 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41038 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41039 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41040 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41041 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41042
24f579d8
AM
410432011-08-15 Alan Modra <amodra@gmail.com>
41044
41045 [BZ #13092]
41046 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41047 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41048 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41049 ppc_mcount to static-only-routines.
41050 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41051 __mcount_internal.
41052 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41053 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41054
3d4837df
UD
410552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41056
41057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41058 for finite and infinity parameters.
41059
22700377
WS
410602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41061
41062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41063 and add nop instructions for throughput optimization.
41064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41065
5025581e
WS
410662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41067
41068 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41069 aligned copy for power7 with vector-scalar instructions.
41070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41071
08a300c9
L
410722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41073
41074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41075 AVX check.
41076
59178ef9
AS
410772011-09-07 Andreas Schwab <schwab@redhat.com>
41078
41079 [BZ #13144]
41080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41081 last change.
41082
e38ba7ab
UD
410832011-09-07 Ulrich Drepper <drepper@gmail.com>
41084
41085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41086 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41087 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41089 clock_gettime.
41090
d53a73ac
UD
410912011-09-06 Ulrich Drepper <drepper@gmail.com>
41092
fc8bffcc
UD
41093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41094 Forgot to demangle the pointer.
41095
ceaa0c5d
UD
41096 * sysdeps/i386/sysdep.h: Define atom_text_section.
41097 * sysdeps/x86_64/sysdep.h: Likewise.
41098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41099 section with atom_text_section.
41100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41105
a77d3c17
UD
41106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41107 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41108 already be defined. Change to take two parameters and don't assign
41109 result to variable. Adjust all users.
41110 Define INTERNAL_GETTIME if not already defined.
41111 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41112 call.
41113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41114 HAVE_CLOCK_GETTIME_VSYSCALL.
41115 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41116
d53a73ac
UD
41117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41118 gettimeofday vsyscall, just use time.
41119
a8f84144
AS
411202011-09-06 Andreas Schwab <schwab@redhat.com>
41121
41122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41123 <errno.h>.
41124
ef606249
UD
411252011-09-06 Ulrich Drepper <drepper@gmail.com>
41126
41127 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41128 syscall on x86-64.
41129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41130 syscall.
41131 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41133 syscall if possible.
41134
6585cb60
UD
411352011-09-05 Ulrich Drepper <drepper@gmail.com>
41136
41137 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41138 e_ident. Don't pass to find_mapsXX.
41139 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41140
a5f524e4
LD
411412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41142
41143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41144 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41145 * sysdeps/x86_64/multiarch/strchr.S: Update.
41146 Check bit_slow_BSF bit.
41147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41148 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41150
554881ef
UD
411512011-09-05 Ulrich Drepper <drepper@gmail.com>
41152
d96de963
UD
41153 [BZ #13134]
41154 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41155 before glibc 2.15.
41156 (tryshell): Define.
41157 (__spawni): Change last parameter to be flag. Test
41158 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41159 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41160 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41161 * posix/spawni.c: Likewise.
41162 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41163 * posix/spawnp.c: Likewise. Change normal version to use
41164 SPAWN_XFLAGS_USE_PATH.
41165 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41166 SPAWN_XFLAGS_TRY_SHELL.
41167
d48e5868
UD
41168 [BZ #13150]
41169 * posix/glob.h: Remove gcc 1.x support.
41170
554881ef
UD
41171 [BZ #13068]
41172 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41173
693fb948
LD
411742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41175
41176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41177 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41178 strrchr-sse2-bsf
41179 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41180 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41185
1b48c537
UD
411862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41187
49d42c37
UD
41188 * sysdeps/x86_64/wcscmp.S: New file.
41189
1b48c537
UD
41190 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41191 wcscmp-c wcscmp-sse2
41192 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41193 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41195 * wcsmbs/wcscmp.c: Allow renaming.
41196
15c95c5d
DM
411972011-09-05 David S. Miller <davem@davemloft.net>
41198
41199 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41200 stack slot, rather than the struct return pointer slot.
41201 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41202 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41205
2f0ad8f3
UD
412062011-09-05 Ulrich Drepper <drepper@gmail.com>
41207
d88ae418
UD
41208 * po/ja.po: Update from translation team.
41209
2f0ad8f3
UD
41210 [BZ #13144]
41211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41212 kernel in 64-bit binaries.
41213
5f4318d1
DM
412142011-09-01 David S. Miller <davem@davemloft.net>
41215
41216 * elf/elf.h (HWCAP_SPARC_*): Move to..
41217 * sysdeps/sparc/sysdep.h: this new file and add new values.
41218 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41219 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41220 _DL_HWCAP_COUNT to 24.
41221 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41222 entries.
41223 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41224 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41225 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41227 instead of magic constants.
41228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41229
3ba57516
DM
412302011-08-31 David S. Miller <davem@davemloft.net>
41231
41232 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41234 Reimplement to do errno handling inline.
41235 (SYSCALL_ERROR_HANDLER): New macro.
41236 (__SYSCALL_STRING): Do not do errno handling in asm.
41237 (__CLONE_SYSCALL_STRING): Delete.
41238 (__INTERNAL_SYSCALL_STRING): Delete.
41239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41240 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41241 (PSEUDO): Reimplement to do errno handling inline.
41242 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41243 (SYSCALL_ERROR_HANDLER): New macro.
41244 (__SYSCALL_STRING): Do not do errno handling in asm.
41245 (__CLONE_SYSCALL_STRING): Delete.
41246 (__INTERNAL_SYSCALL_STRING): Delete.
41247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41248 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41249 i386.
41250 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41251 (inline_syscall*): Add 'err' argument.
41252 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41253 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41254 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41255 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41256
41257 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41259
2bc17433
AS
412602011-08-30 Andreas Schwab <schwab@redhat.com>
41261
41262 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41263
fbeb5f4d
JO
412642011-08-29 Jiri Olsa <jolsa@redhat.com>
41265
41266 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41267 directive.
41268
ad69cc26
DM
412692011-08-24 David S. Miller <davem@davemloft.net>
41270
41271 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41272
39dd69df
AS
412732011-08-24 Andreas Schwab <schwab@redhat.com>
41274
41275 * elf/Makefile: Add rules to build and run unload8 test.
41276 * elf/unload8.c: New file.
41277 * elf/unload8mod1.c: New file.
41278 * elf/unload8mod1x.c: New file.
41279 * elf/unload8mod2.c: New file.
41280 * elf/unload8mod3.c: New file.
41281
41282 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41283 it wasn't used.
41284
2c0b250a
DM
412852011-08-23 David S. Miller <davem@davemloft.net>
41286
41287 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41288 subtract stack bias.
41289 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41290 %sp not %fp in calculations.
41291 (_JMPBUF_UNWINDS_ADJ): Likewise.
41292
22044b48
DM
41293 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41294 (aio_suspend): Call it to force an exception region around the
41295 AIO_MISC_WAIT() invocation.
41296
2cae4995
AS
412972011-08-23 Andreas Schwab <schwab@redhat.com>
41298
41299 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41300 backslash.
41301
873a772e
AJ
413022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41303
41304 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41305 protection macro.
41306 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41307 and <dl-machine.h>.
41308 (Elf64_FuncDesc): Remove.
41309
25ad0df1
DM
413102011-08-22 David S. Miller <davem@davemloft.net>
41311
41312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41313 sigaltstack check, add missing cfi directives.
41314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41315 missing cfi directives, and sigaltstack handling.
41316
e888bcbe
AS
413172011-08-16 Andreas Schwab <schwab@redhat.com>
41318
41319 [BZ #11724]
41320 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41321 object is seen twice.
41322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41323
41324 * elf/Makefile (distribute): Add tst-initorder2.c.
41325 (tests): Add tst-initorder2.
41326 (modules-names): Add tst-initorder2a tst-initorder2b
41327 tst-initorder2c tst-initorder2d. Add rules to build them.
41328 ($(objpfx)tst-initorder2.out): New rule.
41329 * elf/tst-initorder2.c: New file.
41330 * elf/tst-initorder2.exp: New file.
41331
87162f46
AS
413322011-08-22 Andreas Schwab <schwab@redhat.com>
41333
70538b7f
AS
41334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41335
f55ffe58
AS
41336 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41337 dependencies back to end of function.
41338
87162f46
AS
41339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41340 $(elfobjdir)/ld.so.
41341
91b392a4
UD
413422011-08-21 Ulrich Drepper <drepper@gmail.com>
41343
41344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41345 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41347 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41348 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41349 of __vdso_gettimeofday.
41350 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41351 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41352 attribute_hidden.
41353 (_libc_vdso_platform_setup): Remove initialization of
41354 __vdso_gettimeofday and __vdso_time.
41355
5c43483f
UD
413562011-08-20 Ulrich Drepper <drepper@gmail.com>
41357
775a77e7
UD
41358 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41359 and fgetc_unlocked.
41360 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41361 getc_unlocked.
89f447ed 41362
49c74ba9
UD
41363 * elf/dl-open.c (add_to_global): Report additions to the global scope
41364 for LD_DEBUG=scopes.
41365 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41366 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41367
5c43483f
UD
41368 [BZ #13114]
41369 * stdio-common/Makefile (tests): Add bug24.
41370 * stdio-common/bug24.c: New file.
41371
a101b025
AJ
413722011-08-19 Andreas Jaeger <aj@suse.de>
41373
41374 [BZ #13114]
41375 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41376 non-existant file when using close-on-exec mode.
41377
c88f1766
UD
413782011-08-20 Ulrich Drepper <drepper@gmail.com>
41379
0276a718
UD
41380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41381 the very first instruction.
41382
c88f1766
UD
41383 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41384 the CFI state in the end.
41385 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41386 inclusion of dl-trampoline.h.
41387 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41388
51ccffa0
AS
413892011-08-19 Andreas Schwab <schwab@redhat.com>
41390
94d7165f
AS
41391 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41392 expectations for long double.
41393
51ccffa0
AS
41394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41395 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41396
fd708658 413972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41398
41399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41400 artificual limit depends upon the system page size.
41401
44f0a71e
UD
414022011-08-17 Ulrich Drepper <drepper@gmail.com>
41403
41404 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41405 * resolv/Makefile: Define CFLAGS-libresolv.
41406
8de79a24
AS
414072011-08-17 Andreas Schwab <schwab@redhat.com>
41408
41409 * nss/makedb.c (compute_tables): Make variables used in nested
41410 function static.
41411
27724598
UD
414122011-08-17 Ulrich Drepper <drepper@gmail.com>
41413
c5305d88
UD
41414 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41415 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41416 if buffer was too small.
41417
27724598
UD
41418 * elf/pldd.c (main): Attach to all threads in the process.
41419 Rewrite /proc handling to use *at functions.
41420
076fe015
UD
414212011-08-16 Ulrich Drepper <drepper@gmail.com>
41422
174baab3
UD
41423 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41424 specifies first scope to show.
41425 (dl_open_worker): Update callers. Move printing scope of new
41426 object to before the relocation.
44f0a71e 41427 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41428 * sysdeps/generic/ldsodefs.h: Update declaration.
41429
076fe015
UD
41430 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41431 string for the scope number.
41432
a60df2c3
UD
414332011-08-14 Ulrich Drepper <drepper@gmail.com>
41434
41435 * nscd/servicescache.c (cache_addserv): Make sure written is always
41436 initialized.
41437
5e4287d1
RM
414382011-08-14 Roland McGrath <roland@hack.frob.com>
41439
85ae0589
RM
41440 * sysdeps/i386/i486/bits/atomic.h
41441 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41442 statement expression, so as to suppress "set but not used" warning.
41443 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41444
69f63097
RM
41445 * string/strncat.c (STRNCAT): Use prototype definition.
41446
675456ef
RM
41447 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41448 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41449 -Iprograms here.
41450 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41451 (localedef-modules): Add localedef.
41452 (locale-modules): Add locale.
41453
5e4287d1
RM
41454 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41455 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41456 to avoid a warning.
41457
9c96ff23
DM
414582011-08-14 David S. Miller <davem@davemloft.net>
41459
41460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41461 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41462
f9ddf089
UD
414632011-08-13 Ulrich Drepper <drepper@gmail.com>
41464
44f0a71e 41465 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41466 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41467 * elf/rtld.c (dl_main): Set l_name of vDSO.
41468 Call _dl_show_scope when DL_DEBUG_SCOPES.
41469 (process_dl_debug): Recognize scopes flag and also set it for all.
41470 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41471 Declare _dl_show_scope.
41472
1dc27704
UD
41473 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41474 (do_dlopen): Pass caller_dlopen to dl_open.
41475 (__libc_dlopen_mode): Initialize caller_dlopen.
41476
f9ddf089
UD
41477 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41478 of libc. Make tolower call locale-independent. Optimize a bit by
41479 using isdigit instead of isalnum.
41480 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41481
9ac533d3
UD
414822011-08-12 Ulrich Drepper <drepper@gmail.com>
41483
41484 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41485 was a dependency or dynamically loaded.
41486
89edf2e9
UD
414872011-08-11 Ulrich Drepper <drepper@gmail.com>
41488
8e999d29
UD
41489 * intl/l10nflist.c: Allow architecture-specific pop function.
41490 * sysdeps/x86_64/l10nflist.c: New file.
41491
89edf2e9
UD
41492 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41493 classification.
41494
14d96785
AS
414952011-08-10 Andreas Schwab <schwab@redhat.com>
41496
41497 * include/dirent.h: Add libc_hidden_proto for scandirat and
41498 scandirat64. Don't declare __scandirat64.
41499 * dirent/scandirat.c: Add libc_hidden_def.
41500 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41501 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41502
6761ac04
DM
415032011-08-10 David S. Miller <davem@davemloft.net>
41504
41505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41506 enum.
41507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41510
c55fbd1e
UD
415112011-08-09 Ulrich Drepper <drepper@gmail.com>
41512
41513 * Versions.def [libc]: Add GLIBC_2.15.
41514 * dirent/Makefile (routines): Add scandirat and scandirat64.
41515 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41516 GLIBC_2.15.
41517 * dirent/dirent.h: Declare scandirat and scandirat64.
41518 * dirent/scandirat.c: New file.
41519 * dirent/scandirat64.c: New file.
41520 * sysdeps/wordsize-64/scandirat.c: New file.
41521 * sysdeps/wordsize-64/scandirat64.c: New file.
41522 * dirent/opendir.c: Define opendirat.
41523 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41524 using scandirat.
41525 * dirent/scandir64.c: Adjust for scandir.c change.
41526 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41527 __scandirat64, and __scandir_cancel_handler.
41528 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41529 additional parameter and use openat instead of open (outside of ld.so).
41530 Add new __opendir as wrapper around __opendirat.
41531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41532 here without requiring old scandirat implementation.
41533
879165f2
UD
415342011-08-08 Ulrich Drepper <drepper@gmail.com>
41535
41536 * dirent/scandir.c (cancel_handler): Renamed to
41537 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41538 defined. Adjust users.
41539 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41540 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41541
cb7e923b
UD
415422011-08-04 Ulrich Drepper <drepper@gmail.com>
41543
16292edd
UD
41544 * string/test-string.h (IMPL): Use __STRING to expand name and then
41545 stringify it.
41546
cb7e923b
UD
41547 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41548 of cleanups.
41549
cff82933
LD
415502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41551
41552 * string/Makefile: Update.
41553 (strop-tests): Append strncat.
41554 * string/test-wcscmp.c: New file.
41555 New comprehensive test for wcscmp.
41556 * string/test-strcmp.c: Update.
41557 (WIDE): New define.
41558
9be9bfcc
AS
415592011-07-22 Andreas Schwab <schwab@redhat.com>
41560
41561 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41562 line.
41563
2e96f1c7
AS
415642011-07-26 Andreas Schwab <schwab@redhat.com>
41565
41566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41567 encoding to ACE if AI_IDN.
41568
85188888
JJ
415692011-08-01 Jakub Jelinek <jakub@redhat.com>
41570
41571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41572 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41573
5fa16e9b
LD
415742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41575
41576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41577 Fix overflow bug in strncat.
41578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41579
41580 * string/test-strncat.c: Update.
41581 Add new tests for checking overflow bugs.
41582
415832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41584
41585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41586 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41587 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41588 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41590 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41591 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41592 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41593 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41594
41595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41596 (USE_AS_STRCAT): Define.
41597 Add strcat and strncat support.
41598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41599
8c1a459f
AS
416002011-07-25 Andreas Schwab <schwab@redhat.com>
41601
41602 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41603 __n bigger than INT_MAX+1.
41604 (__strncmp_g): Likewise.
41605
bba33c28
UD
416062011-07-23 Ulrich Drepper <drepper@gmail.com>
41607
798be72d
UD
41608 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41609 * libio/stido.h: Likewise.
41610
8accd4dc
UD
41611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41612 (AF_NFC): Define.
41613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41614 (AF_NFC): Define.
41615
cbff0d96
UD
41616 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41621
9191c04a
UD
41622 [BZ #13021]
41623 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41624 installed.
41625
bba33c28
UD
41626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41627 typo.
41628 (_dl_x86_64_save_sse): Likewise.
41629
90f139dd
UD
416302011-07-22 Ulrich Drepper <drepper@gmail.com>
41631
1aae088a
UD
41632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41633 OSXSAVE.
41634 (_dl_x86_64_save_sse): Likewise.
41635
8e2045f5
UD
41636 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41637
90f139dd
UD
41638 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41639
1d002f25
AS
416402011-07-21 Andreas Schwab <schwab@redhat.com>
41641
41642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41643 change.
41644 (_dl_x86_64_save_sse): Use correct AVX check.
41645
21137f89
UD
416462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41647
41648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41649 bug in strncpy/strncat.
41650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41651
a65c0b7a
UD
416522011-07-21 Ulrich Drepper <drepper@gmail.com>
41653
41654 * string/tester.c (test_strcat): Add tests for different alignments
41655 of source and destination.
41656 (test_strncat): Likewise.
41657
6986b98a
UD
416582011-07-20 Ulrich Drepper <drepper@gmail.com>
41659
90bb2039
UD
41660 [BZ #12852]
41661 * posix/glob.c (glob): Check passed in values before using them in
41662 expressions to avoid some overflows.
41663 (glob_in_dir): Likewise.
41664
5644ef54
UD
41665 [BZ #13007]
41666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41667 check for AVX enablement so that we don't crash with old kernels and
41668 new hardware.
41669 * elf/tst-audit4.c: Add same checks here.
41670 * elf/tst-audit6.c: Likewise.
41671
41672 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41673
bfc9dc9b
AS
416742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41675
41676 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41677
702e64bb
UD
416782011-07-20 Ulrich Drepper <drepper@gmail.com>
41679
41680 * po/cs.po: Update from translation team.
41681 * po/bg.po: Likewise.
41682
295e904f
MP
416832011-07-12 Marek Polacek <mpolacek@redhat.com>
41684
41685 * misc/sys/cdefs.h: Add support for const attribute.
41686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41687 to gnu_dev_{major,minor,makedev} functions.
41688
3ff94596
MP
416892011-07-20 Marek Polacek <mpolacek@redhat.com>
41690
41691 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41692
28b59fca
AS
416932011-07-20 Andreas Schwab <schwab@redhat.com>
41694
41695 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41696 strlen results.
41697
19df733e
AK
416982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41699
41700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41701 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41702 register in order to avoid conflicts with the soft frame pointer
41703 being held in r11 when necessary.
41704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41705 (INTERNAL_VSYSCALL_NCS): Likewise.
41706
c8835729
MP
417072011-07-14 Marek Polacek <mpolacek@redhat.com>
41708
41709 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41710 * elf/dl-fini.c (_dl_fini): Adjust caller.
41711 * elf/dl-close.c (_dl_close_worker): Likewise.
41712 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41713
b902330c
MP
417142011-07-15 Marek Polacek <mpolacek@redhat.com>
41715
8991e135
MP
41716 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41717 "aux_cache->nlibs < 0".
41718
b902330c
MP
41719 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41720 in the reload-count case.
41721
99710781
LD
417222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41723
41724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41725 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41726 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41728 * sysdeps/x86_64/multiarch/strcat.S: New file.
41729 * sysdeps/x86_64/multiarch/strncat.S: New file.
41730 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41732 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41733 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41735 (USE_AS_STRCAT): Define.
41736 Add strcat and strncat support.
41737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41739 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41740 * string/strncat.c: Update.
41741 (USE_AS_STRNCAT): Define.
41742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41743 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41744 and i7.
41745 * sysdeps/x86_64/multiarch/init-arch.h
41746 (bit_Prefer_PMINUB_for_stringop): New.
41747 (index_Prefer_PMINUB_for_stringop): Likewise.
41748 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41749 bit_Prefer_PMINUB_for_stringop.
41750
7dc6bd90
UD
417512011-07-19 Ulrich Drepper <drepper@gmail.com>
41752
41753 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41754 buffer64.
41755 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41756 of casting of buffer.
41757 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41758 buffer32 and buffer64.
41759 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41760 writes instead of casting of buffer.
41761 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41762 buffer32.
41763 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41764 casting of buffer.
41765
e0e72284
AS
417662011-07-19 Andreas Schwab <schwab@redhat.com>
41767
41768 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41769
feb1eb0b
UD
417702011-07-19 Ulrich Drepper <drepper@gmail.com>
41771
41772 * nscd/nscd.c (termination_handler): Don't do anything for a database
41773 if it has not yet been initialized.
41774
298711ff
UD
417752011-07-18 Ulrich Drepper <drepper@gmail.com>
41776
41777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41778
417792011-07-15 Marek Polacek <mpolacek@redhat.com>
41780
41781 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41782
f9d68389
UD
417832011-07-18 Ulrich Drepper <drepper@gmail.com>
41784
41785 * po/nl.po: Update from translation team.
41786 * po/sv.po: Likewise.
41787
db290cf5
RM
417882011-07-16 Roland McGrath <roland@hack.frob.com>
41789
41790 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41791 now disallowed by GCC.
5c550700 41792
fd5e21c7
RM
41793 * configure.in (use-default-link): Default to yes if a test -shared
41794 link meets our qualifications.
41795 * configure: Regenerated.
41796
5c550700
RM
41797 * config.make.in (output-format): New variable.
41798 * configure.in: Check for ld --print-output-format support.
41799 * configure: Regenerated.
41800 * Makerules ($(common-objpfx)format.lds)
41801 [$(output-format) != unknown]: Just use $(output-format),
41802 instead of the linker-script munging.
41803
9fa2c032
RM
418042011-07-14 Roland McGrath <roland@hack.frob.com>
41805
a6928d51
RM
41806 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41807 of $(common-objpfx)shlib.lds.
41808 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41809
661607b3
RM
41810 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41811 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41812
9fa2c032
RM
41813 * configure.in (-z relro check): Adjust test code to add a large
41814 writable data section after it.
41815 * configure: Regenerated.
41816
defe9061
RM
418172011-07-11 Roland McGrath <roland@hack.frob.com>
41818
41819 * configure.in (-z relro check): Fix test code to make the variable
41820 truly const.
41821 * configure: Regenerated.
41822
319b9ad4
UD
418232011-07-11 Ulrich Drepper <drepper@gmail.com>
41824
41825 * nscd/nscd.h (struct traced_file): Define.
41826 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41827 elements. Add traced_files.
41828 (inotify_fd): Declare.
41829 (register_traced_file): Declare.
41830 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41831 (inotify_fd): Export.
41832 (resolv_conf_descr): Remove.
41833 (nscd_init): Move inotify descriptor creation to main.
41834 Don't register files for notification here.
41835 (register_traced_file): New function.
41836 (invalidate_cache): Don't use reset_res to determine whether to call
41837 res_init, go through the list of registered files.
41838 (main_loop_poll): The inotify descriptors are now stored in the
41839 structures for the traced files.
41840 (main_loop_epoll): Likewise
41841 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41842 to __nss_disable_nscd.
41843 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41844 for a database anymore. Check the records for all the registered
41845 files instead.
41846 * nss/Makefile (libnss_files-routines): Add files-init.
41847 (libnss_db-routines): Add db-init.
41848 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41849 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41850 * nss/nss_db/db-init.c: New file.
41851 * nss/nss_files/files-init.c: New file.
41852 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41853 __nss_lookup_function.
41854 (__nss_lookup_function): Call nss_load_library.
41855 (nss_load_all_libraries): New function.
41856 (__nss_disable_nscd): Take parameter with callback function for files
41857 to register. Set is_nscd. Load all the DSOs for the NSS modules
41858 used for the cached services.
41859 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41860 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41861 options for features to all the files in nscd.
41862
41863 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41864
23bee3e8
RM
418652011-07-10 Roland McGrath <roland@hack.frob.com>
41866
41867 * csu/elf-init.c (__libc_csu_init): Comment typo.
41868
46a5b7f0
UD
418692011-07-09 Ulrich Drepper <drepper@gmail.com>
41870
41871 * po/pl.po: Update from translation team.
41872 * po/ja.po: Likewise.
41873 * po/ru.po: Likewise.
41874 * po/ko.po: Likewise.
41875 * po/fr.po: Likewise.
41876
d30cf5bb
RM
418772011-07-09 Roland McGrath <roland@hack.frob.com>
41878
113ddea4
RM
41879 * configure.in (.ctors/.dtors header and trailer check):
41880 Use an empirical test on a built program.
41881 * configure: Regenerated.
41882
574920b4
RM
41883 * configure.in (-z relro check): Use an empirical test on a built DSO.
41884 Detect, but do not require, on ia64.
41885 * configure: Regenerated.
41886
d30cf5bb
RM
41887 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41888 Update tests that use readelf to use $READELF instead.
41889 * configure: Regenerated.
41890
8538fdb3
UD
418912011-07-08 Ulrich Drepper <drepper@gmail.com>
41892
41893 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41894 if the result is not used.
41895
04d08991
AJ
418962011-07-05 Andreas Jaeger <aj@suse.de>
41897
41898 [BZ#9696]
41899 * stdlib/tst-strtod.c: Add testcase.
41900
de283087
AD
419012011-07-07 Ulrich Drepper <drepper@gmail.com>
41902
4e5f31c8 41903 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41904 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41905 The latter has a higher limit. Take additional parameter to pass to
41906 the new function.
41907 (__pathconf): Pass file to __statfs_link_max.
41908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41909 __statfs_link_max.
41910 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41911 __statfs_link_max.
41912
de283087
AD
41913 [BZ #12868]
41914 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41916 Handle Lustre.
41917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41918 (__statfs_filesize_max): Likewise.
41919 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41920
c75fa153
AJ
419212011-07-05 Andreas Jaeger <aj@suse.de>
41922
41923 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41924
1a544854
UD
419252011-07-06 Marek Polacek <mpolacek@redhat.com>
41926
41927 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41928 `status' variable.
41929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41930 Likewise.
41931
6f0eec67
UD
419322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41933
41934 * Makefile (strop-tests): Add strncat.
41935 * string/test-strncat.c: New file.
41936
aae30307
UD
419372011-06-30 Marek Polacek <mpolacek@redhat.com>
41938
41939 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41940
c0cfb5eb
UD
419412011-06-21 Andreas Jaeger <aj@suse.de>
41942
41943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41944 Copy rule from iconvdata/Makefile.
41945
01636b21
UD
419462011-07-06 Ulrich Drepper <drepper@gmail.com>
41947
41948 [BZ #12922]
41949 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41950 but no long options are defined, just return 'W'.
41951
9895c8bc
UD
419522011-06-22 Marek Polacek <mpolacek@redhat.com>
41953
41954 [BZ #9696]
41955 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41956
5d4cf042
UD
419572011-07-06 Ulrich Drepper <drepper@gmail.com>
41958
41959 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41960 netgroups to read.
960e5535 41961 (innetgr): Likewise.
5d4cf042 41962
751eb97e
RM
419632011-07-05 Roland McGrath <roland@hack.frob.com>
41964
41965 * config.make.in (install_root): Default to $(DESTDIR).
41966
f15f1e45
UD
419672011-07-05 Ulrich Drepper <drepper@gmail.com>
41968
41969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41970
4e34ac6a
RM
419712011-07-02 Roland McGrath <roland@hack.frob.com>
41972
5e9b6af4
RM
41973 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41974
84f9ea0f
RM
41975 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41976 containing directory rather than embedding absolute directory names.
41977
ea5ee9f7
RM
41978 * scripts/check-local-headers.sh: Rewritten using awk.
41979 Match by word, not by line. Print error messages for matches.
41980 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41981
1b74661a
RM
41982 * Makerules [shlib-lds-flags empty]:
41983 ($(common-objpfx)libc_pic.opts): New target.
41984 ($(common-objpfx)libc_pic.os.clean): New target.
41985 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41986
41987 * config.make.in (OBJCOPY): New variable.
41988 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41989 * configure: Regenerated.
41990
f781ef40
RM
41991 * config.make.in (use-default-link): New variable.
41992 * configure.in (use_default_link): Grok --with-default-link to set it.
41993 * configure: Regenerated.
41994 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41995 (shlib-lds, shlib-lds-flags): Define to empty.
41996
2d4fa81e
RM
41997 * Makerules (shlib-lds): New variable.
41998 (shlib-lds-flags): New variable.
41999 (build-shlib, build-moduile, build-module-asneeded): Use it.
42000 ($(common-objpfx)libc.so): Use $(shlib-lds).
42001 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42002 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42003
31fffa6b
RM
42004 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42005 DT_FLAGS/DT_FLAGS_1 with zero flags.
42006
4e34ac6a
RM
42007 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42008 linker script munging.
42009
fcfc776b
UD
420102011-07-02 Ulrich Drepper <drepper@gmail.com>
42011
42012 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42013 as 128-bit value.
42014 * crypt/sha512.c (sha512_process_block): Perform total addition using
42015 128-bit if possible.
42016 (__sha512_finish_ctx): Likewise.
42017 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42018 as 64-bit value.
42019 * crypt/sha256.c (SWAP64): Define.
42020 (sha256_process_block): Perform total addition using 64-bit if
42021 possible.
42022 (__sha256_finish_ctx): Likewise.
42023
99231d9a
UD
420242011-07-01 Ulrich Drepper <drepper@gmail.com>
42025
42026 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42028 * nscd/hstcache.c (cache_addhst): Likewise.
42029 * nscd/grpcache.c (cache_addgr): Likewise.
42030 * nscd/aicache.c (addhstaiX): Likewise
42031 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42032
445b4a53
TK
420332011-07-01 Thorsten Kukuk <kukuk@suse.de>
42034
42035 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42037 * nscd/hstcache.c (cache_addhst): Likewise.
42038 * nscd/grpcache.c (cache_addgr): Likewise.
42039 * nscd/aicache.c (addhstaiX): Likewise
42040
6d4d8e8e
AS
420412011-07-01 Andreas Schwab <schwab@redhat.com>
42042
42043 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42044 domain only when needed.
42045
89f654c5
AS
420462011-06-30 Andreas Schwab <schwab@redhat.com>
42047
42048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42049 is always restored.
42050
cf3b23ff
UD
420512011-06-29 Ulrich Drepper <drepper@gmail.com>
42052
42053 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42054 are re-adding the entry.
42055 * nscd/servicescache.c (cache_addserv): Likewise.
42056
751626f9
AJ
420572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42058
42059 * sysdeps/generic/dl-irel.h: fix protection against multiple
42060 inclusions.
42061 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42062
9113ea1f
UD
420632011-06-28 Ulrich Drepper <drepper@gmail.com>
42064
5c0b8d90
UD
42065 [BZ #12935]
42066 * malloc/memusage.sh: Fix quoting in message.
42067 * debug/xtrace.sh: Likewise.
42068
9113ea1f
UD
42069 * configure.in: Remove support for --experimental-malloc option, make
42070 it the default.
42071 * config.make.in: Likewise.
42072 * malloc/Makefile: Likewise.
42073
a4172181
AS
420742011-06-27 Andreas Schwab <schwab@redhat.com>
42075
42076 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42077 two-byte characters.
42078
78a7eee7
RM
420792011-06-27 Roland McGrath <roland@hack.frob.com>
42080
62bede13
RM
42081 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42082 AC_CACHE_CHECK invocation.
42083 * configure: Regenerated.
42084
78a7eee7
RM
42085 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42086
5ce33a62
UD
420872011-06-27 Ulrich Drepper <drepper@gmail.com>
42088
034807a9
UD
42089 [BZ #12350]
42090 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42091 bit from old_res_options.
42092
4902da17
UD
42093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42094
5ce33a62
UD
42095 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42096 value type for setfct.
42097
c2344f56
L
420982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42101 __gettimeofday instead of gettimeofday.
42102
68468076
UD
421032011-06-26 Ulrich Drepper <drepper@gmail.com>
42104
42105 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42106
acb0d739
L
421072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42108
42109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42110
42111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42112 info.
42113
8912479f
L
421142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42117 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42118 strcpy-sse2-unaligned strncpy-sse2-unaligned
42119 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42120 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42121 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42122 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42123 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42126 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42127 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42128 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42129 (STRCPY): Support SSE2 and SSSE3 versions.
42130
d5495a11
UD
421312011-06-24 Ulrich Drepper <drepper@gmail.com>
42132
42133 [BZ #12874]
42134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42135 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42136 kernels which artificially limit size of requests.
42137
0b1cbaae
L
421382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42141 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42142 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42143 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42144 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42145 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42146 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42147 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42150 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42151 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42152 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42153 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42154 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42156 Enable unaligned load optimization for Intel Core i3, i5 and i7
42157 processors.
42158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42159 Define.
42160 (index_Fast_Unaligned_Load): Define.
42161 (HAS_FAST_UNALIGNED_LOAD): Define.
42162
07f494a0
MP
421632011-06-23 Marek Polacek <mpolacek@redhat.com>
42164
42165 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42166
fa3fc0fe
UD
421672011-06-22 Ulrich Drepper <drepper@gmail.com>
42168
42169 [BZ #12907]
42170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42171 until it is clear that the information is realy needed.
42172 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42173
e12df166
AS
421742011-06-22 Andreas Schwab <schwab@redhat.com>
42175
42176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42177
852eb34d
UD
421782011-06-22 Ulrich Drepper <drepper@gmail.com>
42179
84e2a551
UD
42180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42181 /sys/devices/system/cpu/online if it is usable.
42182
852eb34d
UD
42183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42184 reading the information from the /proc filesystem to once a second.
42185
6e502e19
UD
421862011-06-21 Andreas Jaeger <aj@suse.de>
42187
42188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42189 NULL after inclusion of kernel headers.
42190
75d39ff2
UD
421912011-06-21 Ulrich Drepper <drepper@gmail.com>
42192
51f9aa6a
UD
42193 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42194 calls to internal_setent.
42195
c0244a9d
UD
42196 [BZ #12885]
42197 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42198 addresses using gethostbyname4_r ignore IPv4 addresses.
42199
c5e3c2ae
UD
42200 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42201 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42202
75d39ff2
UD
42203 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42204
42675c6f
DM
422052011-06-20 David S. Miller <davem@davemloft.net>
42206
42207 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42208 inclusions.
42209 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42210
42211 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42212 (elf_irel): Use it.
42213 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42214 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42215 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42216 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42217 * sysdeps/x86_64/dl-irel.h: Likewise.
42218
42219 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42220 * elf/dl-sym.c: Likewise.
42221
57912a71
UD
422222011-06-15 Ulrich Drepper <drepper@gmail.com>
42223
42224 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42225 need to dereference resplen2.
42226
ee22793d
AS
422272011-06-14 Andreas Schwab <schwab@redhat.com>
42228
42229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42230
a9e836b0
UD
422312011-06-15 Ulrich Drepper <drepper@gmail.com>
42232
77fb9117
UD
42233 * Makeconfig: Define vardbdir and inst_vardbdir.
42234 * nss/Makefile: Add rules to install db-Makefile.
42235
40c1b22c
UD
42236 * nss/nss_db/db-XXX.c: Cleanup.
42237
9f2da732
UD
42238 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42239 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42240 GLIBC_PRIVATE.
42241 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42242 * nss/makedb.c: Implement -g option to specify that value strings
42243 are generated and should not be added to table iterated over for
42244 get*ent calls.
42245 * nss/nss_db/db-initgroups.c: New file.
42246
82e9a1f7
UD
42247 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42248 interface.
42249
c41af17e
UD
42250 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42251 (internal_getgrouplist): Adjust to name change.
42252 Update use_initgroups_entry if this is not the first call.
42253 * nss/databases.def: Add initgroups entry.
42254
a9e836b0
UD
42255 * nss/makedb.c (compute_tables): Check result of multiple hash table
42256 sizes to minimize maximum chain length.
42257
2666d441
UD
422582011-06-14 Ulrich Drepper <drepper@gmail.com>
42259
42260 * Versions.def: Add entry for libnss_db.
42261 * shlib-versions: Likewise.
42262 * nss/Makefile: Add rules to build libnss_db.
42263 * nss/Versions: Add libnss_db information. Organize libnss_files
42264 entries better.
42265 * nss/db-Makefile: Add gshadow support. Change rules for the new
42266 makedb progra. Some minor improvements to generate smaller files.
42267 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42268 here from...
42269 * nss/makedb.c: ...here.
42270 Improve database format to be smaller and require less memory at
42271 runtime.
42272 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42273 db anymore.
42274 * nss/nss_db/db-netgrp.c: Likewise.
42275 * nss/nss_db/db-open.c: Likewise.
42276 * nss/nss_files/flies-XXX.x: Adjust comments.
42277 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42278 * nss/nss_files/files-grp.c: Likewise.
42279 * nss/nss_files/files-hosts.c: Likewise.
42280 * nss/nss_files/files-network.c: Likewise.
42281 * nss/nss_files/files-proto.c: Likewise.
42282 * nss/nss_files/files-pwd.c: Likewise.
42283 * nss/nss_files/files-rpc.c: Likewise.
42284 * nss/nss_files/files-service.c: Likewise.
42285 * nss/nss_files/files-sgrp.c: Likewise.
42286 * nss/nss_files/files-spwd.c: Likewise.
42287 * nss/nss_db/db-alias.c: Removed.
42288 * nss/nss_db/dummy-db.h: Removed.
42289
9ee76b5a
UD
422902011-06-02 Ulrich Drepper <drepper@gmail.com>
42291
42292 * nss/makedb.c: Rewritten to not use database library.
42293 * nss/Makefile: Update to build new makedb program.
42294
c71ca1f8
AJ
422952011-06-14 Andreas Jaeger <aj@suse.de>
42296
42297 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42298 memset declaration.
42299
3154bfb8
UD
423002011-06-10 Andreas Schwab <schwab@redhat.com>
42301
42302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42303 tmpbuf.
42304
b350afab
RM
423052011-06-10 Roland McGrath <roland@hack.frob.com>
42306
decd4e50
RM
42307 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42308 * elf/Makefile ($(objpfx)ld.so): Likewise.
42309
5615eaf2
RM
42310 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42311 Don't list ld.so twice in dependencies.
42312
42313 * posix/bug-regex31.c: Include <stdlib.h>.
42314
42315 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42316
42317 * nis/nss_compat/compat-spwd.c
42318 (getspent_next_nss_netgr): Remove unused variable.
42319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42320
42321 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42322 nonmembers" output to use the right array.
42323
42324 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42325
42326 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42327
42328 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42329 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42330 * catgets/gencat.c (read_input_file): Likewise.
42331 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42332
42333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42334 variable definition inside #if's controlling its use.
42335
42336 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42337
42338 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42339
42340 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42341
42342 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42343 unreachable code.
42344
42345 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42346
b68e08db
RM
42347 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42348 * configure: Regenerated.
42349
b350afab
RM
42350 * Makerules: Revert last change.
42351 * elf/Makefile: Likewise.
42352
28368601
RM
423532011-06-09 Roland McGrath <roland@hack.frob.com>
42354
42355 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42356 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42357 (reloc-link): Likewise.
42358
11988f8f
UD
423592011-06-09 Ulrich Drepper <drepper@gmail.com>
42360
42361 * elf/Makefile: Add rules to build pldd.
42362 * elf/pldd.c: New file.
42363 * elf/pldd-xx.c: New file.
42364
e80fab37
UD
423652011-06-07 Ulrich Drepper <drepper@gmail.com>
42366
42367 * version.h: Update for 2.15 development version.
42368
9b849836
DM
423692011-06-07 David S. Miller <davem@davemloft.net>
42370
42371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42372 ifuncs.
42373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42374 elf_machine_lazy_rel): Likewise.
42375 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42377 elf_machine_lazy_rel): Likewise.
42378 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42379 dl_hwcap via passed in argument.
42380 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42381 Likewise.
42382
5a31b283
AK
423832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42384
42385 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42386
069e52f8
RM
423872011-06-06 Roland McGrath <roland@hack.frob.com>
42388
42389 [BZ #12849]
42390 * manual/fdl-1.1.texi: New file, verbatim from:
42391 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42392 * manual/lgpl-2.1.texi: New file, verbatim from:
42393 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42394 * manual/Makefile (licenses): New variable, list those new file names.
42395 (texis): Use it.
42396 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42397
42398 * manual/fdl.texi: File removed.
42399 * manual/lesser.texi: File removed.
42400 * manual/libc.texinfo (Copying, Documentation License):
42401 Use new @include file names, put @appendix directive before @include.
42402
f16846a5
JJ
424032011-06-04 Jakub Jelinek <jakub@redhat.com>
42404
42405 [BZ #12841]
42406 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42407 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42408 (mq_open): Add __NTH.
42409
3d29045b
L
424102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42411
42412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42413 Assume Intel Core i3/i5/i7 processor if AVX is available.
42414
8c297311
UD
424152011-05-31 Ulrich Drepper <drepper@gmail.com>
42416
42417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42418 typo.
42419
c8fc0c91
UD
424202011-05-31 Andreas Schwab <schwab@redhat.com>
42421
42422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42423 memory. Use alloca_account. Fix memory leak when retrying.
42424
5b27a807
UD
424252011-05-31 Ulrich Drepper <drepper@gmail.com>
42426
356f8bc6
UD
42427 * version.h (RELEASE): Bump for 2.14 release.
42428 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42429
5b27a807
UD
42430 * config.make.in (RANLIB): Remove entry.
42431
01f16ab0
UD
424322011-05-30 Ulrich Drepper <drepper@gmail.com>
42433
41fce8bd
UD
42434 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42435 (libc.pot): Work around missing support for .ksh extension in xgettext.
42436
4769ae77
UD
42437 [BZ #12684]
42438 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42439 if both request failed.
42440 (send_dg): In case of server errors clear resplen or *resplen2.
42441
6b1e7d19
UD
42442 [BZ #12454]
42443 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42444 when there are multiple maps.
42445 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42446 (_dl_fini): Remove test here.
42447
01f16ab0
UD
42448 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42449
b1ebd700
UD
424502011-05-29 Ulrich Drepper <drepper@gmail.com>
42451
7ae22829
UD
42452 [BZ #12350]
42453 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42454 bit from old_res_options.
42455 (gaih_inet): Likewise.
42456
553149f6 42457 [BZ #11099]
18a84741 42458 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42459 as signed.
42460
652ffab1
UD
42461 * resolv/res_init.c (res_setoptions): Make the code more compact.
42462
16985fd0
UD
42463 [BZ #11558]
42464 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42465 set RES_USEVC.
42466
0464f746
UD
42467 [BZ #11634]
42468 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42469
7d17596c
UD
42470 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42471
cf6bbbd7
UD
42472 [BZ #11781]
42473 * malloc/malloc.h: Declare malloc hook variables as volatile.
42474
13f1ab36
UD
42475 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42476 in last patch.
42477
b1ebd700
UD
42478 [BZ #11799]
42479 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42480 raise in the comment.
80e2212d
UD
42481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42484
ce67228d
UD
424852011-05-28 Ulrich Drepper <drepper@gmail.com>
42486
8887a920
UD
42487 [BZ #12811]
42488 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42489 grow the buffers more if it already has to be sufficient.
42490 (build_wcs_upper_buffer): Likewise.
42491 * posix/regexec.c (check_matching): Likewise.
42492 (clean_state_log_if_needed): Likewise.
42493 (extend_buffers): Don't enlarge buffers beyond size of the input
42494 buffer.
42495 Patches mostly by Emil Wojak <emil@wojak.eu>.
42496 * posix/bug-regex32.c: New file.
42497 * posix/Makefile (tests): Add bug-regex32.
42498
4f031072
UD
42499 * locale/findlocale.c (_nl_find_locale): Return right away if
42500 _nl_explode_name failed.
42501 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42502
d0478f0c
UD
42503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42504
de81b246
UD
42505 * debug/xtrace.sh: Unify messages.
42506 * malloc/memusage.sh: Likewise.
42507
c738465a
UD
42508 [BZ #12813]
42509 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42510 time symbol from vDSO. Substitute with vsyscall if not available.
42511 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42512 __vdso_time.
42513
f1f929d7
UD
42514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42515 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42516 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42517 Add sendmmsg and internal_sendmmsg.
42518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42519 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42521
ce67228d
UD
42522 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42523 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42525
e57420c6
UD
425262011-05-27 Ulrich Drepper <drepper@gmail.com>
42527
a8509ca5
UD
42528 [BZ #12813]
42529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42530 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42531 available.
42532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42533 __vdso_getcpu.
42534
e57420c6
UD
42535 [BZ #12814]
42536 * iconvdata/Makefile (tests): Add bug-iconv9.
42537 * iconvdata/bug-iconv9.c: New file.
42538
4d07db15
AS
425392011-05-27 Andreas Schwab <schwab@redhat.com>
42540
42541 [BZ #12814]
42542 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42543
ea486f69
JJ
425442011-05-25 Jakub Jelinek <jakub@redhat.com>
42545
42546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42547 (struct user_regs_struct): Change intcs field back to cs.
42548
6f038433
UD
425492011-05-25 Ulrich Drepper <drepper@gmail.com>
42550
42551 * po/ja.po: Update from translation team.
42552
67f86a25
UD
425532011-05-23 Ulrich Drepper <drepper@gmail.com>
42554
42555 [BZ #12795]
42556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42558
def7fbd6
AS
425592011-05-20 Andreas Schwab <schwab@redhat.com>
42560
42561 * stdlib/longlong.h: Update from GCC.
42562
f50ef8f1
AS
425632011-05-23 Andreas Schwab <schwab@redhat.com>
42564
42565 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42566 parameter name.
42567 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42568 Add parameter name.
42569 (__sysconf): Pass it down.
42570
de7ce8f1
UD
425712011-05-22 Ulrich Drepper <drepper@gmail.com>
42572
f2962a71
UD
42573 [BZ #12671]
42574 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42575 some situations.
42576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42577 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42578 add in in __libc_use_alloca calls. Adjust callers.
42579 (glob): Use malloc in some situations.
42580
de7ce8f1
UD
42581 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42582 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42583 pltexit.
42584
aec84f53
UD
425852011-05-21 Ulrich Drepper <drepper@gmail.com>
42586
05bb4a68
UD
42587 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42588 and CLOCK_BOOTTIME_ALARM.
42589
7ea72f99
UD
42590 [BZ #12782]
42591 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42592 is returned.
42593
7e4afad5
UD
42594 * string/_strerror.c (__strerror_r): Print negative errors as signed
42595 numbers.
42596
8e211fec
UD
42597 [BZ #12777]
42598 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42599 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42600 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42601
f7d82dc9
UD
42602 * configure.in: Fix typo in redirection and correct removal of test
42603 files in two cases.
42604
cc9e536d
UD
42605 [BZ #12788]
42606 * locale/setlocale.c (new_composite_name): Fix test to check for
42607 identical name of all categories.
42608
aec84f53
UD
42609 [BZ #12792]
42610 * libio/filedoalloc.c (local_isatty): New function.
42611 (_IO_file_doallocate): Use local_isatty.
42612 * stdio-common/perror.c (perror): In case a new stream is used
42613 forward the stream error.
42614 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42615 error flag.
42616
78e64fdc
RT
426172011-05-20 Ulrich Drepper <drepper@gmail.com>
42618
34a9094f
UD
42619 [BZ #11869]
42620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42621 alloca.
42622 * include/alloca.h (extend_alloca_account): Define.
42623
78e64fdc
RT
42624 [BZ #11857]
42625 * posix/regex.h: Fix comments with documentation of user-accessible
42626 fields after compilation and describe correct free'ing of pattern
42627 after re_compile_pattern.
42628 Patch by Reuben Thomas <rrt@sc3d.org>.
42629
457bddfc
RA
426302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42631
42632 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42633 and -mno-altivec to prevent the compiler from using Altivec and/or
42634 VSX instructions when the corresponding registers are not available.
42635
a4527b51
AS
426362011-05-19 Andreas Schwab <schwab@redhat.com>
42637
42638 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42639
ed690b2f
UD
426402011-05-19 Ulrich Drepper <drepper@gmail.com>
42641
42642 * libio/freopen.c (freopen): Use __dup2, not dup2.
42643 * libio/freopen64.c (freopen64): Likewise.
42644
8db73634
L
426452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42646
42647 [BZ #12775]
42648 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42649 * math/Makefile (tests): Add test-powl.
42650 (CFLAGS-test-powl.c): Define.
42651 * math/test-powl.c: New file.
42652
0a197a9d
L
426532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42654
42655 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42656
ee30c380
UD
426572011-05-17 Ulrich Drepper <drepper@gmail.com>
42658
42659 [BZ #11837]
42660 * iconvdata/gb18030.c: Update to GB18020-2005.
42661
6ce75379
UD
426622011-05-16 Ulrich Drepper <drepper@gmail.com>
42663
a4b89fd8
AR
42664 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42665 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42666 Patch by Aharon Robbins <arnold@skeeve.com>.
42667
ea389b12
UD
42668 [BZ #11892]
42669 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42670 on the stack.
42671
68a3f91f
UD
42672 [BZ #11895]
42673 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42674 through underflows.
42675
15cc7dd1
UD
42676 [BZ #12766]
42677 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42678 point to strings before performing equality test for error_one_per_line
42679 mode.
42680
f3799213
UD
42681 [BZ #11697]
42682 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42683
d79a9c94
UD
42684 [BZ #11820]
42685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42686 (struct user_fpregs_struct): Avoid __uint*_t types.
42687
56e5eb46
UD
42688 [BZ #6420]
42689 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42690 symbol info. Use it instead of calling _dl_addr locally.
42691 (lock_and_info): New function.
42692 (tr_freehook): Call lock_and_info and pass symbol info as additional
42693 parameter to tr_where.
42694 (tr_mallochook): Likewise.
42695 (tr_reallochook): Likewise.
42696 (tr_memalignhook): Likewise.
42697
6ce75379
UD
42698 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42699 used and couldn't be at all thread-safe.
42700
f8a3b5bf
UD
427012011-05-15 Ulrich Drepper <drepper@gmail.com>
42702
94b7cc37
UD
42703 * libio/freopen.c (freopen): Don't close old file descriptor
42704 before the new one is opened. Instead dup the new file descriptor
42705 to the old one after the new stream is created.
42706 * libio/freopen64.c (freopen64): Likewise.
42707 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42708 * libio/fileops.c (_IO_new_file_close_it): Handle new
42709 _IO_FLAGS2_NOCLOSE flag.
42710 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42711 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42712 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42713 _IO_FLAGS2_NOCLOSE flag.
42714 * include/unistd.h: Add hidden_proto for dup3.
42715 Define __have_dup3.
42716 * io/dup3.c: Define hidden symbol.
42717 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42718
bd25564e
UD
42719 [BZ #7101]
42720 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42721 when an incomplete long option is used.
42722 * posix/tst-getopt_long1.c: New file.
42723 * posix/Makefile (tests): Add tst-getopt_long1.
42724
c84cfef4
UD
42725 [BZ #10138]
42726 * scripts/config.guess: Update from autoconf-2.68.
42727 * scripts/config.sub: Likewise.
42728
3b85df27
UD
42729 [BZ #10157]
42730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42731 tests into ...
42732 (has_cpuclock): ...this. New function.
42733 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42734 macro here based on has_cpuclock code.
42735
15a856b1
UD
42736 [BZ #10149]
42737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42738 First byte (not low byte) is now always NUL.
42739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42740
05f399e6
UD
42741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42742 Use non-cancelable interfaces.
42743
10a52685 42744 [BZ #9809]
94ecc67d
UD
42745 * locale/iso-639.def: Add entry for Sorani.
42746
f8a3b5bf
UD
42747 [BZ #11901]
42748 * include/stdlib.h: Move include protection to the right place.
42749 Define abort_msg_s. Declare __abort_msg with it.
42750 * stdlib/abort.c (__abort_msg): Adjust type.
42751 * assert/assert.c (__assert_fail_base): New function. Majority
42752 of code from __assert_fail. Allocate memory for __abort_msg with
42753 mmap.
42754 (__assert_fail): Now call __assert_fail_base.
42755 * assert/assert-perr.c: Remove bulk of implementation. Use
42756 __assert_fail_base.
42757 * include/assert.hL Declare __assert_fail_base.
42758 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42759 mmap.
42760 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42761
1af4e298
UD
427622011-05-14 Ulrich Drepper <drepper@gmail.com>
42763
f8a3b5bf 42764 [BZ #11952]
d26dfc60
MG
42765 [BZ #12453]
42766 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42767 until all modules are registered in the DTV.
42768 * elf/Makefile: Add rules to build and run tst-tls19.
42769 * elf/tst-tls19.c: New file.
42770 * elf/tst-tls19mod1.c: New file.
42771 * elf/tst-tls19mod2.c: New file.
42772 * elf/tst-tls19mod3.c: New file.
42773 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42774
2fc54d6f
UD
42775 [BZ #12083]
42776 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42777 correctly.
42778
98d76b46
UD
42779 [BZ #12601]
42780 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42781 two-byte sequence errors.
42782 * iconvdata/Makefile (tests): Add bug-iconv8.
42783 * iconvdata/bug-iconv8.c: New file.
42784
da3c19ef
UD
42785 [BZ #12626]
42786 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42787 buf2 definition.
42788
ca408c15
UD
42789 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42790
d6f67f7d
UD
42791 [BZ #12432]
42792 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42793 (dummy_getcfa): New function.
42794 (init): Get _Unwind_GetCFA address, use dummy if not found.
42795 (backtrace_helper): In recursion check, also check whether CFA changes.
42796 (__backtrace): Completely initialize arg.
42797
1af4e298 42798 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42799 storing incomplete byte sequence in state object. Avoid testing for
42800 guaranteed too small input if we know there is enough data available.
1af4e298 42801
da62f81b
AS
428022011-05-11 Andreas Schwab <schwab@redhat.com>
42803
42804 * Makeconfig (+link-pie): Indent.
42805 * Rules (binaries-pie): Define if $(have-fpie) and
42806 $(build-shared).
42807 (binaries-shared): Also filter out $(binaries-pie).
42808 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42809 * nscd/Makefile (others-pie): Add nscd.
42810 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42811 ($(objpfx)nscd): Remove command override.
42812 * login/Makefile (others-pie): Add pt_chown.
42813 ($(objpfx)pt_chown): Remove command override.
42814 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42815 remove command overrides.
42816
fcabc0f8
UD
428172011-05-13 Ulrich Drepper <drepper@gmail.com>
42818
20030ae6
UD
42819 * libio/tst_putwc.c: Fix error messages.
42820
fcabc0f8
UD
42821 [BZ #12724]
42822 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42823 currently writing and seek to current position when not.
42824 * libio/Makefile (tests): Add bug-fclose1.
42825 * libio/bug-fclose1.c: New file.
42826
320a5dc0
PB
428272011-05-12 Ulrich Drepper <drepper@gmail.com>
42828
42829 [BZ #12511]
42830 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42831 don't set DF_1_NODELETE here.
42832 (do_lookup_x): When entering new entry test for copy relocation
42833 and if necessary set DF_1_NODELETE flag.
42834 * elf/tst-unique4.cc: New file.
42835 * elf/tst-unique4.h: New file.
42836 * elf/tst-unique4lib.cc: New file.
42837 * elf/Makefile: Add rules to build and run tst-unique4.
42838 Patch by Piotr Bury <pbury@goahead.com>.
42839
22836f52
UD
428402011-05-11 Ulrich Drepper <drepper@gmail.com>
42841
f574184a
UD
42842 [BZ #12052]
42843 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42844
e1fb097f
UD
42845 [BZ #12625]
42846 * misc/mntent_r.c (addmntent): Flush the stream after the output
42847
22836f52
UD
42848 [BZ #12393]
42849 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42850 (is_trusted_path_normalize): Skip initial colon. Append slash
42851 to empty buffer. Duplicate is_trusted_path code but allow
42852 constructed patch to be prefix.
42853 (is_dst): Allow $ORIGIN followed by /.
42854 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42855 Correct testing of result of is_trusted_path_normalize
42856 (decompose_rpath): Fix warning.
42857
7b3b0b2a
UD
428582011-05-10 Ulrich Drepper <drepper@gmail.com>
42859
42860 [BZ #11257]
42861 * grp/initgroups.c (internal_getgrouplist): When we found the service
42862 list through the initgroups entry in nsswitch.conf do not always
42863 continue on a successful lookup. Don't always use the
eac80ce2 42864 __nss_group_database value if it is set.
7b3b0b2a
UD
42865 * nss/nsswitch.conf (initgroups): Change action for successful db
42866 lookup to continue for compatibility.
42867
2a81eaa5
UD
428682011-05-09 Ulrich Drepper <drepper@gmail.com>
42869
be97a69e
UD
42870 [BZ #11532]
42871 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42872 and CP774 modules.
42873 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42874 and CP774 modules.
42875 * iconvdata/tst-tables.sh: Likewise.
42876 * iconvdata/cp770.c: New file.
42877 * iconvdata/cp771.c: New file.
42878 * iconvdata/cp772.c: New file.
42879 * iconvdata/cp773.c: New file.
42880 * iconvdata/cp774.c: New file.
42881 * iconvdata/testdata/CP770: New file.
42882 * iconvdata/testdata/CP770..UTF8: New file.
42883 * iconvdata/testdata/CP771: New file.
42884 * iconvdata/testdata/CP771..UTF8: New file.
42885 * iconvdata/testdata/CP772: New file.
42886 * iconvdata/testdata/CP772..UTF8: New file.
42887 * iconvdata/testdata/CP773: New file.
42888 * iconvdata/testdata/CP773..UTF8: New file.
42889 * iconvdata/testdata/CP774: New file.
42890 * iconvdata/testdata/CP774..UTF8: New file.
42891
42892 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42893 END CHARMAP line.
42894 * iconvdata/gen-8bit-gap.sh: Likewise.
42895 * iconvdata/gen-8bit.sh: Likewise.
42896
c1e9e399
UD
42897 * locale/iso-639.def: Add ary entry.
42898
24c55fb3 42899 [BZ #11258]
96b4b1b0
UD
42900 * locale/C-translit.h.in: Add U20A1 transliteration.
42901
bdc2f971
KB
42902 [BZ #12178]
42903 * locale/iso-639.def: Add wae entry.
42904 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42905
2952b117
UD
42906 [BZ #12545]
42907 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42908 for n.
42909
2a81eaa5
UD
42910 [BZ #12711]
42911 * locale/C-translit.h.in: Add entry for U20B9.
42912 Patch by pravin.d.s@gmail.com.
42913
28377d1b
UD
429142011-05-08 Ulrich Drepper <drepper@gmail.com>
42915
7fb90fb8
UD
42916 [BZ #12713]
42917 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42918 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42919 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42920 in rtld. Use *stat64.
7fb90fb8 42921 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42922 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42923 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42924 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42925 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42926 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42927 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42928 __fstatat64 macros.
7fb90fb8
UD
42929 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42930 * dirent/rewinddir.c: Add libc_hidden_def.
42931 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42932 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42933
28377d1b
UD
42934 * include/dirent.h (__alloc_dir): Add flags parameter.
42935 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42936 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42937 __alloc_dir.
42938 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42939 from fdopendir if O_CLOEXEC is already set.
42940
66bdbaa4
AM
429412011-03-15 Alan Modra <amodra@gmail.com>
42942
42943 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42944 l_tls_firstbyte_offset non-zero. Save padding offset in
42945 l_tls_firstbyte_offset for later use.
42946 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42947 freeing static tls block.
42948
95721191
JN
429492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42950
42951 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42952 where #ifdef was intended. The intent is to prevent ARG_MAX from
42953 being defined by the kernel headers.
42954
f87dfb1f
UD
429552011-05-07 Ulrich Drepper <drepper@gmail.com>
42956
42957 [BZ #12734]
42958 * resolv/resolv.h: Define RES_NOTLDQUERY.
42959 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42960 no-tld-query and set RES_NOTLDQUERY.
42961 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42962 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42963 modern BIND to search name as TLD unless forbidden.
42964
47c3cd7a
UD
429652011-05-07 Petr Baudis <pasky@suse.cz>
42966 Ulrich Drepper <drepper@gmail.com>
42967
42968 [BZ #12393]
42969 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42970 (is_trusted_path): ...to here.
c1e9ea35 42971 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42972 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42973 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42974
8a35c912
PP
429752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42976
42977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42978 __BEGIN/__END_DECLS.
42979
acd41f47
UD
429802011-05-06 Ulrich Drepper <drepper@gmail.com>
42981
42982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42983 NSS_STATUS_NOTFOUND if no record was found.
42984
597df647
AS
429852011-05-05 Andreas Schwab <schwab@redhat.com>
42986
42987 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42988 (headers-not-in-tirpc): Remove rpc/netdb.h
42989 * resolv/netdb.h: Revert last change.
42990
b9af1301
PP
429912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42992
42993 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42994 circular dependency between libgcc.a and libc.a.
42995
4e34d5f5
AS
429962011-05-05 Andreas Schwab <schwab@redhat.com>
42997
42998 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42999 * nis/Makefile: Don't install rpcsvc/*.
43000 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43001 instead of <rpc/types.h>.
43002 (MAXHOSTNAMELEN): Define.
43003
00ee369c
AS
430042011-05-03 Andreas Schwab <schwab@redhat.com>
43005
43006 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43007
0b592a30
MB
430082011-04-28 Maciej Babinski <mbabinski@google.com>
43009
43010 [BZ #12714]
43011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43012 gethostbyname4_r when IPv6 results are possible.
43013
6e04cbbe
UD
430142011-05-02 Ulrich Drepper <drepper@gmail.com>
43015
43016 [BZ #12723]
43017 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43018 _PC_PIPE_BUF handling.
43019
e4ecafe0
BH
430202011-04-30 Bruno Haible <bruno@clisp.org>
43021
43022 [BZ #12717]
43023 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43024 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43025 to 'int'.
43026 * inet/getnameinfo.c (getnameinfo): Likewise.
43027
125ee683
UD
430282011-04-29 Ulrich Drepper <drepper@gmail.com>
43029
43030 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43031 to groups setting in database lookup.
43032 * nss/nsswitch.conf: Add initgroups entry.
43033
b722481a
EB
430342011-04-22 Ulrich Drepper <drepper@gmail.com>
43035
43036 [BZ #12685]
43037 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43038 mode string.
43039 Patch by Eric Blake <eblake@redhat.com>.
43040
4df46dbd
L
430412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43042
43043 * sunrpc/Makefile (need-export-routines): Add svc_run.
43044 (routines): Remove svc_run.
43045 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43046 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43047 * sunrpc/svc_run.c (svc_run): Likewise.
43048 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43049
e84142d2
UD
430502011-04-21 Ulrich Drepper <drepper@gmail.com>
43051
43052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43053 problem in reallocation in last patch.
43054
877175d8
UD
430552011-04-20 Ulrich Drepper <drepper@gmail.com>
43056
43057 * sunrpc/Makefile: Move inclusion of Rules.
43058
ab8eed78
UD
430592011-04-19 Ulrich Drepper <drepper@gmail.com>
43060
43061 * nss/nss_files/files-initgroups.c: New file.
43062 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43063 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43064 _nss_files_initgroups_dyn.
43065
e3d8f584
RS
430662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43067
43068 * elf/elf.h (R_ARM_IRELATIVE): Define.
43069
af190f45
UD
430702011-04-19 Ulrich Drepper <drepper@gmail.com>
43071
43072 * po/ru.po: Update from translation team.
43073
53cf59ef
UD
430742011-04-17 Ulrich Drepper <drepper@gmail.com>
43075
43076 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43077 dependencies.
43078
4c559bcd
MF
430792011-02-06 Mike Frysinger <vapier@gentoo.org>
43080
43081 [BZ #12653]
43082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43083 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43087
4420675c
AS
430882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43089
43090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43091 differing bytes.
43092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43095
75ea32ab
UD
430962011-04-17 Ulrich Drepper <drepper@gmail.com>
43097
43098 [BZ #12420]
43099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43100 storing it.
43101 * stdlib/bug-getcontext.c: New file.
43102 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43103
27390476
AK
431042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43105
43106 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43107 instructions into .machine "z9-109".
43108 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43109 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43110
10442705
AK
431112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43112
43113 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43114 between environment variables and auxiliary vector.
43115
7b57bfe5
UD
431162011-04-16 Ulrich Drepper <drepper@gmail.com>
43117
43118 * Makefile: Add rules to build linkobj/libc.so.
43119 * include/libc-symbols.h: Define libc_hidden_nolink.
43120 * include/rpc/auth.h: Mark functions which are to be hidden.
43121 * include/rpc/auth_des.h: Likewise.
43122 * include/rpc/auth_unix.h: Likewise.
43123 * include/rpc/clnt.h: Likewise.
43124 * include/rpc/des_crypt.h: Likewise.
43125 * include/rpc/key_prot.h: Likewise.
43126 * include/rpc/pmap_clnt.h: Likewise.
43127 * include/rpc/pmap_prot.h: Likewise.
43128 * include/rpc/pmap_rmt.h: Likewise.
43129 * include/rpc/rpc_msg.h: Likewise.
43130 * include/rpc/svc.h: Likewise.
43131 * include/rpc/svc_auth.h: Likewise.
43132 * include/rpc/xdr.h: Likewise.
43133 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43134 * nss/Makefile: Likewise.
43135 * sunrpc/Makefile: Don't install headers. Build library with normal
43136 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43137 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43138 for the compat linking library. Remove use of INTDEF/INTUSE.
43139 * sunrpc/auth_none.c: Likewise.
43140 * sunrpc/auth_unix.c: Likewise.
43141 * sunrpc/authdes_prot.c: Likewise.
43142 * sunrpc/authuxprot.c: Likewise.
43143 * sunrpc/clnt_gen.c: Likewise.
43144 * sunrpc/clnt_perr.c: Likewise.
43145 * sunrpc/clnt_raw.c: Likewise.
43146 * sunrpc/clnt_simp.c: Likewise.
43147 * sunrpc/clnt_tcp.c: Likewise.
43148 * sunrpc/clnt_udp.c: Likewise.
43149 * sunrpc/clnt_unix.c: Likewise.
43150 * sunrpc/des_crypt.c: Likewise.
43151 * sunrpc/des_soft.c: Likewise.
43152 * sunrpc/get_myaddr.c: Likewise.
43153 * sunrpc/key_call.c: Likewise.
43154 * sunrpc/key_prot.c: Likewise.
43155 * sunrpc/netname.c: Likewise.
43156 * sunrpc/pm_getmaps.c: Likewise.
43157 * sunrpc/pm_getport.c: Likewise.
43158 * sunrpc/pmap_clnt.c: Likewise.
43159 * sunrpc/pmap_prot.c: Likewise.
43160 * sunrpc/pmap_prot2.c: Likewise.
43161 * sunrpc/pmap_rmt.c: Likewise.
43162 * sunrpc/publickey.c: Likewise.
43163 * sunrpc/rpc_cmsg.c: Likewise.
43164 * sunrpc/rpc_common.c: Likewise.
43165 * sunrpc/rpc_dtable.c: Likewise.
43166 * sunrpc/rpc_prot.c: Likewise.
43167 * sunrpc/rpc_thread.c: Likewise.
43168 * sunrpc/rtime.c: Likewise.
43169 * sunrpc/svc.c: Likewise.
43170 * sunrpc/svc_auth.c: Likewise.
43171 * sunrpc/svc_authux.c: Likewise.
43172 * sunrpc/svc_raw.c: Likewise.
43173 * sunrpc/svc_run.c: Likewise.
43174 * sunrpc/svc_simple.c: Likewise.
43175 * sunrpc/svc_tcp.c: Likewise.
43176 * sunrpc/svc_udp.c: Likewise.
43177 * sunrpc/svc_unix.c: Likewise.
43178 * sunrpc/svcauth_des.c: Likewise.
43179 * sunrpc/xcrypt.c: Likewise.
43180 * sunrpc/xdr.c: Likewise.
43181 * sunrpc/xdr_array.c: Likewise.
43182 * sunrpc/xdr_float.c: Likewise.
43183 * sunrpc/xdr_intXX_t.c: Likewise.
43184 * sunrpc/xdr_mem.c: Likewise.
43185 * sunrpc/xdr_rec.c: Likewise.
43186 * sunrpc/xdr_ref.c: Likewise.
43187 * sunrpc/xdr_sizeof.c: Likewise.
43188 * sunrpc/xdr_stdio.c: Likewise.
43189
e6c61494
UD
431902011-04-10 Ulrich Drepper <drepper@gmail.com>
43191
43192 [BZ #12650]
43193 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43194 * sysdeps/ia64/dl-tls.h: Likewise.
43195 * sysdeps/powerpc/dl-tls.h: Likewise.
43196 * sysdeps/s390/dl-tls.h: Likewise.
43197 * sysdeps/sh/dl-tls.h: Likewise.
43198 * sysdeps/sparc/dl-tls.h: Likewise.
43199 * sysdeps/x86_64/dl-tls.h: Likewise.
43200 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43201
34fe483e
AS
432022011-03-14 Andreas Schwab <schwab@redhat.com>
43203
43204 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43205 rpath element also skip the following colon.
43206 (expand_dynamic_string_token): Add is_path parameter and pass
43207 down to DL_DST_REQUIRED and _dl_dst_substitute.
43208 (decompose_rpath): Call expand_dynamic_string_token with
43209 non-zero is_path. Ignore empty rpaths.
43210 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43211 with zero is_path.
43212
f12a32e6
AS
432132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43214
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43216 Make cancelable.
43217
38a7d692
UD
432182011-04-09 Ulrich Drepper <drepper@gmail.com>
43219
43220 [BZ #12655]
43221 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43222 Patch by Filipe David Manana <fdmanana@apache.org>.
43223
e451d22b
AS
432242011-04-07 Andreas Schwab <schwab@redhat.com>
43225
43226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43227 Maintain aligned stack.
43228 (CHECK_RSP): Remove unused macro.
43229
dedc7c7b
UD
432302011-04-03 Ulrich Drepper <drepper@gmail.com>
43231
43232 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43233 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43234
94521213
UD
432352011-04-02 Ulrich Drepper <drepper@gmail.com>
43236
43237 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43238
8cb700c0 43239 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43240
0354e355
L
432412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43242
43243 [BZ #12518]
43244 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43245 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43246 * sysdeps/x86_64/memmove.c: New file.
43247 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43248 (memcpy): Renamed to ...
43249 (__new_memcpy): This.
43250 (memcpy): Provide GLIBC_2_14 memcpy.
43251 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43252 (memcpy): Provide GLIBC_2_2_5 memcpy.
43253
8593482f
UD
432542011-04-01 Ulrich Drepper <drepper@gmail.com>
43255
43256 [BZ #12631]
43257 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43258
81a5726b
AS
432592011-03-30 Andreas Schwab <schwab@redhat.com>
43260
43261 * misc/syncfs.c: New file.
43262 * misc/Makefile (routines): Add syncfs.
43263 * posix/unistd.h: Declare syncfs.
43264 * sysdeps/unix/syscalls.list: Add syncfs.
43265
00e5419f
AS
432662011-04-01 Andreas Schwab <schwab@redhat.com>
43267
43268 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43269 open_by_handle_at.
43270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43275 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43277
748876bf
UD
432782011-04-01 Ulrich Drepper <drepper@gmail.com>
43279
658e451d
UD
43280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43287
748876bf
UD
43288 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43289 sync_file_range.c with -fexceptions.
43290 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43291 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43292 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43293 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43294 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43295 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43297 sync_file_range as cancellation point
43298 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43299 now a wrapper around __call_sync_file_range with cancellation handling.
43300 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43301 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43302 function name to __call_sync_file_range.
43303 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43304 Add call_sync_file_range.
748876bf 43305
6e63d5e1
AS
433062011-04-01 Andreas Schwab <schwab@redhat.com>
43307
43308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43309 bits/timex.h.
6e63d5e1 43310
46998f74
UD
433112011-04-01 Ulrich Drepper <drepper@gmail.com>
43312
4c1423ed
UD
43313 * iconv/iconv.h: Fix typo in comment.
43314 * io/fcntl.h: Likewise.
43315 * libio/stdio.h: Likewise.
43316 * posix/spawn.h: Likewise.
43317 * posix/unistd.h: Likewise.
43318 * stdlib/stdlib.h: Likewise.
43319 * time/time.h: Likewise.
43320 * wcsmbs/wchar.h: Likewise.
43321
158648c0
UD
43322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43323 open_by_handle): Add.
43324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43325 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43326 Augment a few comments.
43327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43332 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43333 open_by_handle.
43334
46998f74
UD
43335 * io/fcntl.h (AT_EMPTY_PATH): Define.
43336
83fe108b
UD
433372011-03-30 Ulrich Drepper <drepper@gmail.com>
43338
43339 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43340 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43341 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43342 to...
43343 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43344 * Versions.def: Add GLIBC_2.14.
43345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43346 Export.
83fe108b 43347
bb242059
UD
433482011-03-22 Ulrich Drepper <drepper@gmail.com>
43349
43350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43351 round counter.
43352 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43353
c97a1282
L
433542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43355
43356 [BZ #12597]
43357 * string/test-strncmp.c (do_page_test): New function.
43358 (check2): Likewise.
43359 (test_main): Call check2.
43360 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43361
2a115601
UD
433622011-03-20 Ulrich Drepper <drepper@gmail.com>
43363
43364 [BZ #12587]
43365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43366 Handle cache information in CPU leaf 4.
43367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43368
8126d904
UD
433692011-03-18 Ulrich Drepper <drepper@gmail.com>
43370
042c49c6 43371 [BZ #12583]
8126d904
UD
43372 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43373 character representation.
43374 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43375
ccfe366e
RA
433762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43377
43378 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43379 END(__isnan) to END(__isnanf) to match function entry point/label
43380 EALIGN(__isnanf,...).
43381
c6e13027
JJ
433822011-03-10 Jakub Jelinek <jakub@redhat.com>
43383
43384 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43385
33f85a3f
UD
433862011-03-10 Ulrich Drepper <drepper@gmail.com>
43387
028478fa
UD
43388 [BZ #12510]
43389 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43390 copy from the symbol referenced in the relocation to initialize the
43391 used variable.
43392 Patch by Piotr Bury <pbury@goahead.com>.
43393 * elf/Makefile: Add rules to build and tst-unique3.
43394 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43395 * elf/tst-unique3.cc: New file.
43396 * elf/tst-unique3.h: New file.
43397 * elf/tst-unique3lib.cc: New file.
43398 * elf/tst-unique3lib2.cc: New file.
43399
33f85a3f
UD
43400 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43401
03592fc7
MF
434022011-03-10 Mike Frysinger <vapier@gentoo.org>
43403
43404 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43405 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43406 to _start.
03592fc7 43407
6a5ee102
UD
434082011-03-06 Ulrich Drepper <drepper@gmail.com>
43409
43410 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43411 to-be-loaded object along a path to loader is ld.so.
43412
7e4ba49c
HJ
434132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43414 Ulrich Drepper <drepper@gmail.com>
43415
43416 * sysdeps/x86_64/memset.S: After aligning destination, code
43417 branches to different locations depending on the value of
43418 misalignment, when multiarch is enabled. Fix this.
43419
434202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43421
43422 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43423 Set _x86_64_preferred_memory_instruction for AMD processsors.
43424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43425 Set bit_Prefer_SSE_for_memop for AMD processors.
43426
13a804de
UD
434272011-03-04 Ulrich Drepper <drepper@gmail.com>
43428
43429 * libio/fmemopen.c (fmemopen): Optimize a bit.
43430
9d25c392
AS
434312011-03-03 Andreas Schwab <schwab@redhat.com>
43432
43433 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43434
a5543c6a
RM
434352011-03-03 Roland McGrath <roland@redhat.com>
43436
43437 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43438
012d35f7
DM
434392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43440
7e4ba49c 43441 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43442 __bzero_ultra1 instead of __memset_ultra1.
43443
4bff6e01
AS
434442011-02-23 Andreas Schwab <schwab@redhat.com>
43445 Ulrich Drepper <drepper@gmail.com>
43446
43447 [BZ #12509]
43448 * include/link.h (struct link_map): Add l_orig_initfini.
43449 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43450 returning unsuccessfully.
43451 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43452 close of a file loaded at startup, restore the original l_initfini
43453 list.
43454 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43455 list, store the pointer.
43456 * elf/Makefile ($(objpfx)noload-mem): New rule.
43457 (noload-ENV): Define.
43458 (tests): Add $(objpfx)noload-mem.
43459 * elf/noload.c: Include <memcheck.h>.
43460 (main): Call mtrace. Close all opened handles.
43461
f2092faf
AS
434622011-02-17 Andreas Schwab <schwab@redhat.com>
43463
43464 [BZ #12454]
43465 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43466 dependencies are missing.
43467
6c8a2e88
ST
434682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43469
f2092faf 43470 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43471 Hurd needs munmap.
43472 * sysdeps/mach/hurd/ifreq.h: New file.
43473
84a42118
PB
434742011-01-27 Petr Baudis <pasky@suse.cz>
43475 Ulrich Drepper <drepper@gmail.com>
43476
071f805e 43477 [BZ 12445]#
84a42118
PB
43478 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43479 to extend_alloca().
43480 * stdio-common/bug23.c: New file.
43481 * stdio-common/Makefile (tests): Add bug23.
43482
e23fe25b
AS
434832010-09-28 Andreas Schwab <schwab@redhat.com>
43484 Ulrich Drepper <drepper@gmail.com>
43485
43486 [BZ #12489]
43487 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43488 before performing relro protection. At old place add assertion
43489 to make sure nothing changed.
43490
d3f02e10
NS
434912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43492 Glauber de Oliveira Costa <glommer@gmail.com>
43493
43494 * elf/elf.h: Add new ARM TLS relocs.
43495
d55fd7a5
RA
434962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43497
43498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43499 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43500 cast from r3.
43501 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43502 'tests' variable.
43503 * sysdeps/wordsize-64/tst-writev.c: New file.
43504
2206397e
RA
435052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43506
43507 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43508 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43509 insns in _dl_start to prevent a TOC reference before relocs are
43510 resolved.
43511
e9433893
UD
435122011-02-15 Ulrich Drepper <drepper@gmail.com>
43513
43514 [BZ #12469]
43515 * Makeconfig: Remove RANLIB definition.
43516 * Makerules: Don't use RANLIB.
43517 * aclocal.m4: Remove ranlib test.
43518 * configure.in: No need to check for ranlib.
43519 * elf/rtld-Rules: Don't use RANLIB.
43520
f75286c6
ST
435212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43522
8e31c82d
ST
43523 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43524 protection macro.
43525 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43526 inclusion protection macro.
43527
f75286c6
ST
43528 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43529 SIGRTMIN and SIGRTMAX and print information in that case only when
43530 SIGRTMIN is defined.
43531
c1d0e639
JJ
435322011-02-11 Jakub Jelinek <jakub@redhat.com>
43533
43534 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43535 arginfo fn returning -1.
43536
43537 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43538 and thousands string is zero terminated.
43539
edf9294e
AS
435402011-02-03 Andreas Schwab <schwab@redhat.com>
43541
43542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43543 sysdeps/unix/sysv/linux/bits/socket.h.
43544
2b7e92df
ST
435452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43546
edf9294e
AS
43547 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43548 (__CPU_COUNT): Remove old macros.
43549 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43550 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43551 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43552 (__sched_cpualloc, __sched_cpufree): Add declarations.
43553
a4c7ea7b
UD
435542011-02-05 Ulrich Drepper <drepper@gmail.com>
43555
43556 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43557 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43558 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43559 (readdhstai): Return value of addhstaiX call.
43560 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43561 (addgrbyX): Return value returned by cache_addgr.
43562 (readdgrbyname): Return value returned by addgrbyX.
43563 (readdgrbygid): Likewise.
43564 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43565 (addpwbyX): Return value returned by cache_addpw.
43566 (readdpwbyname): Return value returned by addhstbyX.
43567 (readdpwbyuid): Likewise.
43568 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43569 (addservbyX): Return value returned by cache_addserv.
43570 (readdservbyname): Return value returned by addservbyX:
43571 (readdservbyport): Likewise.
43572 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43573 (addhstbyX): Return value returned by cache_addhst.
43574 (readdhstbyname): Return value returned by addhstbyX.
43575 (readdhstbyaddr): Likewise.
43576 (readdhstbynamev6): Likewise.
43577 (readdhstbyaddrv6): Likewise.
43578 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43579 (readdinitgroups): Return value returned by addinitgroupsX.
43580 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43581 (prune_cache): Keep track of timeout value of re-added entries.
43582 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43583 * nscd/nscd.h: Adjust prototypes of readd* functions.
43584
a0bf67cc
RM
435852011-02-04 Roland McGrath <roland@redhat.com>
43586
43587 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43588 (nis_stats): Likewise.
43589 * nis/nis_modify.c (nis_modify): Likewise.
43590 * nis/nis_remove.c (nis_remove): Likewise.
43591 * nis/nis_add.c (nis_add): Likewise.
43592
43593 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43594
43595 * posix/fnmatch_loop.c: Add some consts.
43596
43597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43598
435b95eb
L
435992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43600
43601 [BZ #12460]
43602 * config.make.in (config-cflags-novzeroupper): Define.
43603 * configure.in: Substitute libc_cv_cc_novzeroupper.
43604 * elf/Makefile (AVX-CFLAGS): Define.
43605 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43606 (CFLAGS-tst-auditmod4a.c): Likewise.
43607 (CFLAGS-tst-auditmod4b.c): Likewise.
43608 (CFLAGS-tst-auditmod6b.c): Likewise.
43609 (CFLAGS-tst-auditmod6c.c): Likewise.
43610 (CFLAGS-tst-auditmod7b.c): Likewise.
43611 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43612
8517b15e
UD
436132011-02-02 Ulrich Drepper <drepper@gmail.com>
43614
43615 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43616 function to the callback.
43617 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43618
10a656fe
AS
436192011-02-02 Andreas Schwab <schwab@redhat.com>
43620
43621 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43622 of errno.
43623
968dad0a
UD
436242011-01-19 Ulrich Drepper <drepper@gmail.com>
43625
9f94d2ea 43626 [BZ #11724]
968dad0a
UD
43627 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43628 of constructors.
43629 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43630 of destructors.
43631 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43632
43633 [BZ #11724]
43634 * elf/Makefile: Add rules to build and run new test.
43635 * elf/tst-initorder.c: New file.
43636 * elf/tst-initorder.exp: New file.
43637 * elf/tst-initordera1.c: New file.
43638 * elf/tst-initordera2.c: New file.
43639 * elf/tst-initordera3.c: New file.
43640 * elf/tst-initordera4.c: New file.
43641 * elf/tst-initorderb1.c: New file.
43642 * elf/tst-initorderb2.c: New file.
43643 * elf/tst-order-a1.c: New file.
43644 * elf/tst-order-a2.c: New file.
43645 * elf/tst-order-a3.c: New file.
43646 * elf/tst-order-a4.c: New file.
43647 * elf/tst-order-b1.c: New file.
43648 * elf/tst-order-b2.c: New file.
43649 * elf/tst-order-main.c: New file.
43650 New test case by George Gensure <werkt0@gmail.com>.
43651
86e92359
UD
436522010-10-01 Andreas Schwab <schwab@redhat.com>
43653
43654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43655 decoding ACE if AI_CANONIDN.
43656
5d5732b0
UD
436572011-01-18 Ulrich Drepper <drepper@gmail.com>
43658
43659 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43660
a77e8cbc
UD
436612011-01-17 Ulrich Drepper <drepper@gmail.com>
43662
6392473f
UD
43663 * version.h (RELEASE): Bump for 2.13 release.
43664 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43665
620a0529
UD
43666 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43667
18ba70a5
UD
43668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43669 MADV_NOHUGEPAGE.
32465c3e
UD
43670 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43676
c0dafcf1
UD
43677 * posix/getconf.c: Update copyright year.
43678 * catgets/gencat.c: Likewise.
43679 * csu/version.c: Likewise.
43680 * debug/catchsegv.sh: Likewise.
43681 * debug/xtrace.sh: Likewise.
43682 * elf/ldconfig.c: Likewise.
43683 * elf/ldd.bash.in: Likewise.
43684 * elf/sprof.c (print_version): Likewise.
43685 * iconv/iconv_prog.c: Likewise.
43686 * iconv/iconvconfig.c: Likewise.
43687 * locale/programs/locale.c: Likewise.
43688 * locale/programs/localedef.c: Likewise.
43689 * malloc/memusage.sh: Likewise.
43690 * malloc/mtrace.pl: Likewise.
43691 * nscd/nscd.c (print_version): Likewise.
43692 * nss/getent.c: Likewise.
43693
a77e8cbc
UD
43694 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43695 PF_CAIF, and PF_ALG.
43696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43697
77e8bddf
AS
436982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43699
1f20b93a
AS
43700 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43701 (modules-names): Use them.
43702 (ifunc-test-modules, ifunc-pie-tests): Define.
43703 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43704 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43705 (test-extras): Likewise.
43706 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43707 $(compile-command.c).
43708 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43709 (all-built-dso): Define.
43710 (check-textrel.out, check-execstack.out): Depend on it.
43711
77e8bddf
AS
43712 * configure.in: Don't override --enable-multi-arch.
43713
bc425b33
UD
437142011-01-15 Ulrich Drepper <drepper@gmail.com>
43715
43716 [BZ #6812]
43717 * nscd/hstcache.c (tryagain): Define.
43718 (cache_addhst): Return tryagain not notfound for temporary errors.
43719 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43720 failed.
43721
794c3ad3
UD
437222011-01-14 Ulrich Drepper <drepper@gmail.com>
43723
70181fdd
UD
43724 [BZ #10563]
43725 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43726 to make the syscall.
43727 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43728
794c3ad3
UD
43729 [BZ #12378]
43730 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43731 and fall back to matching as normal character if the string ends before
43732 the matching ']' is found. This is what POSIX requires.
43733 * posix/testfnm.c: Adjust test result.
43734 * posix/globtest.sh: Adjust test result. Add new test.
43735 * posix/tst-fnmatch.input: Likewise.
43736 * posix/tst-fnmatch2.c: Add new test.
43737
68dc9497
AS
437382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43739
43740 * elf/Makefile (check-execstack): Revert last change. Depend on
43741 check-execstack.h.
43742 (check-execstack.h): New target.
43743 (generated): Add check-execstack.h.
43744 * elf/check-execstack.c: Include "check-execstack.h".
43745 (main): Revert last change.
43746 (handle_file): Return zero if GNU_STACK is absent and
43747 DEFAULT_STACK_PERMS doesn't include PF_X.
43748
451f001b
UD
437492011-01-13 Ulrich Drepper <drepper@gmail.com>
43750
cfa28e56
UD
43751 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43752 in child fails because the descriptor is already closed.
8cf8ce17
UD
43753 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43754 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43756
1086d70d
UD
43757 [BZ #12397]
43758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43759 syscall.
43760
451f001b
UD
43761 [BZ #10484]
43762 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43763 temporary buffer used to handle multi lookups locally.
a85b5cb4 43764 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43765
08769175
UD
437662011-01-12 Ulrich Drepper <drepper@gmail.com>
43767
43768 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43769 loader is ld.so.
43770
5e49c52e
UD
437712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43772
43773 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43774 alignment for SSE2.
43775
60522a5f
UD
437762011-01-12 Ulrich Drepper <drepper@gmail.com>
43777
43778 [BZ #12394]
43779 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43780 characters. When rounding increased number of integer digits recompute
43781 number of groups.
43782 * stdio-common/tst-grouping.c: New file.
43783 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43784
f257bbd7
UD
437852011-01-09 Ulrich Drepper <drepper@gmail.com>
43786
43787 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43788 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43789
43790 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43791 void.
43792 * bits/select.h: Likewise.
43793
fa9c15cb
UD
437942011-01-08 Ulrich Drepper <drepper@gmail.com>
43795
43796 * po/ja.po: Update from translation team.
43797
16c2895f
DM
437982011-01-04 David S. Miller <davem@sunset.davemloft.net>
43799
43800 [BZ #11155]
43801 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43802 implementation just like for lxstat, fxstatat, et al.
43803
2543fef2
JM
438042010-12-27 Jim Meyering <meyering@redhat.com>
43805
43806 [BZ #12348]
43807 * posix/regexec.c (build_trtable): Return failure indication upon
43808 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43809
98727dbe
UD
438102010-12-25 Ulrich Drepper <drepper@gmail.com>
43811
5bd6dc5c
UD
43812 [BZ #12201]
43813 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43814 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43817
97983464
UD
43818 [BZ #12207]
43819 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43820
98727dbe
UD
43821 [BZ #12204]
43822 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43823 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43824
4a531bb0
L
438252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43826
43827 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43828 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43829 script has SORT_BY_INIT_PRIORITY.
43830 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43831 NO_CTORS_DTORS_SECTIONS is defined.
43832 * elf/soinit.c: Likewise.
43833 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43834 NO_CTORS_DTORS_SECTIONS is defined.
43835 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43836 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43837 * sysdeps/sh/init-first.c: Likewise.
43838 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43839
07eb4b71
UD
438402010-12-24 Ulrich Drepper <drepper@gmail.com>
43841
43842 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43843 always use the slow path.
43844
30950a5f
RA
438452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43846
43847 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43848 similar rule which adds the sysdep directories to the header search in
43849 order to pick up the correct platform stackinfo.h.
43850 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43851 perform test if it is, otherwise return successfully without testing.
43852 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43853 DEFAULT_STACK_PERMS define in stackinfo.h.
43854 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43855 defined in stackinfo.h.
43856 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43857 DEFAULT_STACK_PERMS defined in stackinfo.h.
43858 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43859 * sysdeps/ia64/stackinfo.h: Likewise.
43860 * sysdeps/s390/stackinfo.h: Likewise.
43861 * sysdeps/sh/stackinfo.h: Likewise.
43862 * sysdeps/sparc/stackinfo.h: Likewise.
43863 * sysdeps/x86_64/stackinfo.h: Likewise.
43864 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43865 PF_X for powerpc64. Retain PF_X for powerpc32.
43866
db753e2c
UD
438672010-12-19 Ulrich Drepper <drepper@gmail.com>
43868
14b697f7
UD
43869 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43870 accurately.
db753e2c
UD
43871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43872 GETDENTS_64BIT_ALIGNED.
43873
28300719
UD
438742010-12-14 Ulrich Drepper <dreper@gmail.com>
43875
14b697f7 43876 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43877
4f197237
AS
438782010-12-10 Andreas Schwab <schwab@redhat.com>
43879
dbb0472f
AS
43880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43881 _GNU_SOURCE.
43882
4f197237
AS
43883 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43884 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43885 Remove __restrict.
43886 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43887 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43888
fb88ac72
UD
438892010-12-09 Ulrich Drepper <drepper@gmail.com>
43890
43891 [BZ #11655]
43892 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43893 are initialized.
43894
42acbb92
JJ
438952010-12-09 Jakub Jelinek <jakub@redhat.com>
43896
43897 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43898
c038d98d
UD
438992010-12-03 Ulrich Drepper <drepper@gmail.com>
43900
43901 * po/it.po: Update from translation team.
43902
3a4a2499
L
439032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43904
43905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43906 unused codes.
43907
1e24cf6e
UD
439082010-11-30 Ulrich Drepper <drepper@gmail.com>
43909
43910 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43911
a7690819
AS
439122010-11-24 Andreas Schwab <schwab@redhat.com>
43913
43914 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43915 specially.
43916 (gaih_getanswer_slice): Likewise.
43917
3bf8d1b1
JJ
439182010-10-20 Jakub Jelinek <jakub@redhat.com>
43919
43920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43921
6db52fbb
PB
439222010-05-31 Petr Baudis <pasky@suse.cz>
43923
43924 [BZ #11149]
43925 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43926 silently even in the chroot mode.
43927
eaca7569
UD
439282010-11-22 Ulrich Drepper <drepper@gmail.com>
43929
43930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43931 last patch a bit. Pretty printing
43932
3056dcdb
UD
439332010-05-31 Petr Baudis <pasky@suse.cz>
43934
43935 [BZ #10085]
43936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43937 initialization of skip_initgroups_dyn.
43938
cf7c9078
UD
439392010-11-19 Ulrich Drepper <drepper@gmail.com>
43940
43941 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43942 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43943
a1fb5e3e
UD
439442010-11-16 Ulrich Drepper <drepper@gmail.com>
43945
43946 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43947
3540d66b
AS
439482010-11-11 Andreas Schwab <schwab@redhat.com>
43949
43950 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43951 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43952 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43953 ($(objpfx)tst-fnmatch-mem): New rule.
43954 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43955 * posix/tst-fnmatch.c (main): Call mtrace.
43956
13b69574
L
439572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43958
43959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43960 Support Intel processor model 6 and model 0x2c.
43961
da93d214
LM
439622010-11-10 Luis Machado <luisgpm@br.ibm.com>
43963
43964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43965 signed comparison.
43966
8ca52c6e
L
439672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43968
43969 [BZ #12205]
43970 * string/test-strncasecmp.c (check_result): New function.
43971 (do_one_test): Use it.
43972 (check1): New function.
43973 (test_main): Use it.
43974 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43975 Support strcasecmp and strncasecmp.
43976
69da074d
UD
439772010-11-08 Ulrich Drepper <drepper@gmail.com>
43978
43979 [BZ #12194]
43980 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43982
ff02d528
L
439832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43984
43985 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43986 IFUNC support.
43987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43988 memset-x86-64.
43989 * sysdeps/x86_64/multiarch/bzero.S: New file.
43990 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43991 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43992 * sysdeps/x86_64/multiarch/memset.S: New file.
43993 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43995 Set bit_Prefer_SSE_for_memop for Intel processors.
43996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43997 Define.
43998 (index_Prefer_SSE_for_memop): Define.
43999 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44000
344d0b54
LM
440012010-11-04 Luis Machado <luisgpm@br.ibm.com>
44002
44003 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44005
c0dde15b
UD
440062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44007
44008 [BZ #12191]
44009 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44010 (__x86_64_raw_data_cache_size_half): Likewise.
44011 (__x86_64_raw_shared_cache_size): Likewise.
44012 (__x86_64_raw_shared_cache_size_half): Likewise.
44013
44014 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44015 (__x86_64_raw_data_cache_size_half): Likewise.
44016 (__x86_64_raw_shared_cache_size): Likewise.
44017 (__x86_64_raw_shared_cache_size_half): Likewise.
44018 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44019 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44020 and __x86_64_raw_shared_cache_size_half. Round
44021 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44022 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44023 to multiple of 256 bytes.
44024
0e516e0e
MS
440252010-11-03 Ulrich Drepper <drepper@gmail.com>
44026
44027 [BZ #12167]
44028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44029 of inacessible symlinks. Verify result of symlink before returning it.
44030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44031 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44032
0e012e87
ER
440332010-10-28 Erich Ritz <erichritz@gmail.com>
44034
44035 * math/math.h (isinf): Fix typo in comment.
44036
de0ff7bc
UD
440372010-11-01 Ulrich Drepper <drepper@gmail.com>
44038
44039 * po/da.po: Update from translation team.
44040
fa41c84d
UD
440412010-10-26 Ulrich Drepper <drepper@gmail.com>
44042
44043 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44044 is added to the list.
44045
f0967738
AK
440462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44047 Ulrich Drepper <drepper@gmail.com>
44048
44049 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44050 the global list here. Move code to...
44051 (_dl_add_to_namespace_list): ...here. New function.
44052 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44053 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44054 * elf/dl-load.c (lose): Don't remove the element from the list.
44055 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44056 (_dl_map_object): Likewise.
44057
440582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44059
44060 [BZ #12159]
44061 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44062 into all bytes of SSE register.
44063 Patch by Richard Li <richardpku@gmail.com>.
44064
f0967738 440652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44066
44067 [BZ #12140]
44068 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44069 perturbing.
44070
d0b9e94f
MB
440712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44072
44073 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44074 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44078 submachine.
44079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44080
8e9f92e9
AS
440812010-10-22 Andreas Schwab <schwab@redhat.com>
44082
44083 * include/dlfcn.h (__RTLD_SECURE): Define.
44084 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44085 mode & __RTLD_SECURE instead.
44086 (open_path): Rename preloaded parameter to secure.
44087 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44088 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44089 * elf/dl-deps.c (openaux): Likewise.
44090 * elf/rtld.c (struct map_args): Remove is_preloaded.
44091 (map_doit): Don't use it.
44092 (dl_main): Likewise.
44093 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44094 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44095
bc96fbda
AS
440962010-09-09 Andreas Schwab <schwab@redhat.com>
44097
44098 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44099 (sysd-rules-targets): Remove duplicates.
44100 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44101 rtld-%.$o dependency.
44102
22cd1c9b
AS
441032010-10-18 Andreas Schwab <schwab@redhat.com>
44104
44105 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44106 _dl_map_object do it.
44107
18edac48
UD
441082010-10-19 Ulrich Drepper <drepper@gmail.com>
44109
44110 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44111 fast fma builtins, define the macros in the C99 standard.
44112 (FP_FAST_FMAF): Likewise.
44113 (FP_FAST_FMAL): Likewise.
44114 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44115
44116 * bits/mathdef.h: Update copyright year.
44117 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44118
d2050124
MM
441192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44120
44121 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44122 builtins, define the macros in the C99 standard.
44123 (FP_FAST_FMAF): Likewise.
44124 (FP_FAST_FMAL): Likewise.
44125 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44126 multiply/add.
44127 (FP_FAST_FMAF): Likewise.
44128
475facd1
JJ
441292010-10-15 Jakub Jelinek <jakub@redhat.com>
44130
44131 [BZ #3268]
44132 * math/libm-test.inc (fma_test): Some new testcases.
44133 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44135 y and infinite z. Do multiplication by C already in long double.
44136 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44138 y and infinite z. Do bitwise or of inexact bit into u.d.
44139 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44140 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44141 * sysdeps/i386/fpu/s_fma.S: Removed.
44142 * sysdeps/i386/fpu/s_fmal.S: Removed.
44143
7c08a05c
JJ
441442010-10-16 Jakub Jelinek <jakub@redhat.com>
44145
44146 [BZ #3268]
44147 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44149 computation is not scheduled after fetestexcept. Fix value
44150 of minimum denormal long double.
44151
f3f7372d
JJ
441522010-10-14 Jakub Jelinek <jakub@redhat.com>
44153
44154 [BZ #3268]
44155 * math/libm-test.inc (fma_test): Add some more tests.
44156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44157 correctly.
44158
14d43591
AS
441592010-10-15 Andreas Schwab <schwab@redhat.com>
44160
44161 * scripts/data/localplt-s390-linux-gnu.data: New file.
44162 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44163
5e908464
JJ
441642010-10-13 Jakub Jelinek <jakub@redhat.com>
44165
44166 [BZ #3268]
44167 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44168 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44169 instead of dbl-64.
44170 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44171 inlines.
44172 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44174 if one of x and y is very large and the other is subnormal.
44175 * sysdeps/s390/fpu/s_fmaf.c: New file.
44176 * sysdeps/s390/fpu/s_fma.c: New file.
44177 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44178 * sysdeps/powerpc/fpu/s_fma.S: New file.
44179 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44180 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44181 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44182
441832010-10-12 Jakub Jelinek <jakub@redhat.com>
44184
44185 [BZ #3268]
44186 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44187 fma tests.
44188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44189 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44190 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44191 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44192 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44193 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44194 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44195
b833d51f
UD
441962010-10-12 Ulrich Drepper <drepper@redhat.com>
44197
44198 [BZ #12078]
44199 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44200 * posix/bug-regex31.input: Add test case.
44201
1751705d
UD
442022010-10-11 Ulrich Drepper <drepper@gmail.com>
44203
e9b9cbf5
UD
44204 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44205 * posix/bug-regex31.input: New file.
44206
44207 [BZ #12078]
44208 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44209 (parse_sub_exp): Fix last change, use postorder.
44210
ef06edbe
UD
44211 * posix/bug-regex31.c: New file.
44212 * posix/Makefile: Add rules to build and run bug-regex31.
44213
a129c80d
UD
44214 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44215
44216 [BZ #12078]
44217 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44218
b76b818e
UD
44219 [BZ #12108]
44220 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44221 to have entries in sys_siglist.
44222
1751705d
UD
44223 [BZ #12093]
44224 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44225 be NULL.
44226
9ff8d36f
JJ
442272010-10-07 Jakub Jelinek <jakub@redhat.com>
44228
44229 [BZ #3268]
44230 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44231 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44232 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44233 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44235 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44236 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44237 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44238 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44239 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44240 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44241 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44242 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44243 * math/ftestexcept.c (fetestexcept): Likewise.
44244 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44245 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44246 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44247 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44248 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44249 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44250 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44251
af325969
UD
442522010-10-11 Ulrich Drepper <drepper@gmail.com>
44253
c579b202 44254 [BZ #12107]
af325969
UD
44255 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44256 newline.
44257
67a67b95
UD
442582010-10-06 Ulrich Drepper <drepper@gmail.com>
44259
44260 * string/bug-strstr1.c: New file.
44261 * string/Makefile: Add rules to build and run bug-strstr1.
44262
5fb308bc
EB
442632010-10-05 Eric Blake <eblake@redhat.com>
44264
44265 [BZ #12092]
44266 * string/str-two-way.h (two_way_long_needle): Always clear memory
44267 when skipping input due to the shift table.
44268
45db99c7
UD
442692010-10-03 Ulrich Drepper <drepper@gmail.com>
44270
3b111893
UD
44271 [BZ #12005]
44272 * malloc/mcheck.c: Handle large requests.
44273
45db99c7
UD
44274 [BZ #12077]
44275 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44276 for strncmp and strncasecmp.
44277 * string/stratcliff.c: Add tests for strcmp and strncmp.
44278 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44279
cf7a1eb8
NI
442802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44281
44282 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44283 __set_fpscr.
44284
6484ba5e
AJ
442852010-09-30 Andreas Jaeger <aj@suse.de>
44286
44287 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44288 (CGROUP_SUPER_MAGIC): Define.
44289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44290 Handle btrfs and cgroup file systems.
44291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44292 Likewise.
44293
91c42559
LM
442942010-09-27 Luis Machado <luisgpm@br.ibm.com>
44295
44296 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44297 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44298
87a97932
AK
442992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44300
44301 [BZ #12067]
44302 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44303 trying to locate the ELF header.
44304
c21cc9bc
AS
443052010-09-27 Andreas Schwab <schwab@redhat.com>
44306
44307 [BZ #11611]
44308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44309 Mask out sign-bit copies when constructing f_fsid.
44310
315970f6
PB
443112010-09-24 Petr Baudis <pasky@suse.cz>
44312
44313 * debug/stack_chk_fail_local.c: Add missing licence exception.
44314 * debug/warning-nop.c: Likewise.
44315
1ac7a2c7
JM
443162010-09-15 Joseph Myers <joseph@codesourcery.com>
44317
44318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44319 implementing getdents64 using getdents syscall, set d_type if
44320 __ASSUME_GETDENTS32_D_TYPE.
44321
56801c50
AS
443222010-09-16 Andreas Schwab <schwab@redhat.com>
44323
44324 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44325 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44326
dda51327
UD
443272010-09-21 Ulrich Drepper <drepper@redhat.com>
44328
44329 [BZ #12037]
44330 * posix/unistd.h: Undo change of feature selection for ftruncate from
44331 2010-01-11.
44332
8ffcee4a
UD
443332010-09-20 Ulrich Drepper <drepper@redhat.com>
44334
a545ecd9 44335 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44336 detection.
44337
e24f0a8b
AS
443382010-09-20 Andreas Schwab <schwab@redhat.com>
44339
44340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44341 fanotify_mark.
44342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44343
7291c56f
AS
443442010-09-14 Andreas Schwab <schwab@redhat.com>
44345
44346 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44347 variables after CHECK_SP call.
44348 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44349
bc5fb037
AS
443502010-09-13 Andreas Schwab <schwab@redhat.com>
44351 Ulrich Drepper <drepper@redhat.com>
44352
44353 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44354 re-relocationg ld.so.
44355 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44356 _dl_init_paths call.
44357 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44358 here anymore.
44359
e66e7419
UD
443602010-09-14 Ulrich Drepper <drepper@redhat.com>
44361
44362 * resolv/res_init.c (__res_vinit): Count the default server we added.
44363
c044aa75
CLT
443642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44365 Ulrich Drepper <drepper@redhat.com>
44366
44367 [BZ #11968]
44368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44369 (____longjmp_chk): Use %ebx for saving value across system call.
44370 Add unwind info.
44371
32cf4069
AS
443722010-09-06 Andreas Schwab <schwab@redhat.com>
44373
44374 * manual/Makefile: Don't mix pattern rules with normal rules.
44375
817328ee
AS
443762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44377
44378 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44379 operation.
44380 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44381 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44382 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44383 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44385 Likewise.
44386
29fddf61
UD
443872010-09-04 Ulrich Drepper <drepper@redhat.com>
44388
44389 [BZ #11979]
44390 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44391 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44392
0959ffc9
UD
443932010-09-02 Ulrich Drepper <drepper@redhat.com>
44394
44395 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44396 * sysdeps/x86_64/addmul_1.S: Likewise.
44397 * sysdeps/x86_64/lshift.S: Likewise.
44398 * sysdeps/x86_64/mul_1.S: Likewise.
44399 * sysdeps/x86_64/rshift.S: Likewise.
44400 * sysdeps/x86_64/sub_n.S: Likewise.
44401 * sysdeps/x86_64/submul_1.S: Likewise.
44402
ece29840
ST
444032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44404
0959ffc9
UD
44405 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44406 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44407 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44408 * bits/sched.h [__need_schedparam]
ece29840 44409 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44410 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44411 (__defined_schedparam): Define to 1.
ece29840
ST
44412 (__sched_param): New structure, identical to sched_param.
44413 (__need_schedparam): Undefine.
44414
e53a31fe
MF
444152010-08-31 Mike Frysinger <vapier@gentoo.org>
44416
fdc0c10d
MF
44417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44418 (epoll_create1): Declare.
44419
e53a31fe
MF
44420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44421
a726d796
AS
444222010-08-31 Andreas Schwab <schwab@redhat.com>
44423
44424 [BZ #7066]
44425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44426 shifting retval into place.
44427
2f3e3dc7
UD
444282010-09-01 Ulrich Drepper <drepper@redhat.com>
44429
f2933da9
UD
44430 * nis/rpcsvc/nis.h: Update copyright notice.
44431 * nis/rpcsvc/nis.x: Likewise.
44432 * nis/rpcsvc/nis_callback.h: Likewise.
44433 * nis/rpcsvc/nis_callback.x: Likewise.
44434 * nis/rpcsvc/nis_object.x: Likewise.
44435 * nis/rpcsvc/nis_tags.h: Likewise.
44436 * nis/rpcsvc/yp.h: Likewise.
44437 * nis/rpcsvc/yp.x: Likewise.
44438 * nis/rpcsvc/ypupd.h: Likewise.
44439 * nis/yp_xdr.c: Likewise.
44440 * nis/ypupdate_xdr.c: Likewise.
44441
2f3e3dc7
UD
44442 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44443 mainly the body of pmap_getport. Add parameters to specify timeouts.
44444 (pmap_getport): Use __libc_rpc_getport.
44445 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44446 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44447 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44448
f3dcc2f9
AS
444492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44450
44451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44452 fanotify_mark.
44453
6d34eb5b
RM
444542010-08-27 Roland McGrath <roland@redhat.com>
44455
44456 * sysdeps/i386/i686/multiarch/Makefile
44457 (CFLAGS-varshift.c): New variable.
44458
9ea3de11
UD
444592010-08-27 Ulrich Drepper <drepper@redhat.com>
44460
c96d23fc
UD
44461 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44462 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44463
9ea3de11
UD
44464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44465
44466 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44467
623aac7f
L
444682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44469
44470 * sysdeps/x86_64/strlen.S: Unroll the loop.
44471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44472 strlen-sse2 strlen-sse2-bsf.
44473 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44474 __strlen_no_bsf if bit_Slow_BSF is set.
44475 (__strlen_sse42): Removed.
44476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44477 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44478
8b2b7715
RM
444792010-08-25 Roland McGrath <roland@redhat.com>
44480
44481 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44482 * sysdeps/x86_64/multiarch/varshift.c: New file.
44483 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44484 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44485 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44487
e73015f2
L
444882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44489
44490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44491 strlen-sse2 strlen-sse2-bsf.
44492 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44493 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44494 (__strlen_sse2): Removed.
44495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44498 bit_Slow_BSF for Atom.
44499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44500 (index_Slow_BSF): Define.
44501 (HAS_SLOW_BSF): Define.
44502
df24a73e
UD
445032010-08-25 Ulrich Drepper <drepper@redhat.com>
44504
44505 [BZ #10851]
44506 * resolv/res_init.c (__res_vinit): When no server address at all
44507 is given default to loopback.
44508
f2ac4868
RM
445092010-08-24 Roland McGrath <roland@redhat.com>
44510
09055553
RM
44511 * configure.in: Remove config-name.h generation.
44512 * configure: Regenerated.
44513 * config-name.in: File removed.
44514 * scripts/config-uname.sh: New file.
44515 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44516 ($(objdir)config-name.h): New target.
44517
f2ac4868
RM
44518 * sunrpc/rpc_parse.h: Avoid nested comment.
44519
73f27d5e
RH
445202010-08-24 Richard Henderson <rth@redhat.com>
44521 Ulrich Drepper <drepper@redhat.com>
44522 H.J. Lu <hongjiu.lu@intel.com>
44523
44524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44526 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44527 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44528 _mm_alignr_epi8 with _mm_loadu_si128.
44529 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44530 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44531 (__m128i_shift_right): Removed.
44532 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44533 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44534 * sysdeps/x86_64/multiarch/varshift.h: New file.
44535 * sysdeps/x86_64/multiarch/varshift.S: New file.
44536
84b9230c
MF
445372010-08-21 Mike Frysinger <vapier@gentoo.org>
44538
44539 * configure.in: Move assembler checks to before sysdep dir checking.
44540
9bbd0ddc
PB
445412010-08-20 Petr Baudis <pasky@suse.cz>
44542
44543 * LICENSES: Sync the sunrpc license.
44544
9da4bb31
UD
445452010-08-19 Ulrich Drepper <drepper@redhat.com>
44546
a7ab6ec8
UD
44547 * sunrpc/auth_des.c: Update copyright notice once again.
44548 * sunrpc/auth_none.c: Likewise.
44549 * sunrpc/auth_unix.c: Likewise.
44550 * sunrpc/authdes_prot.c: Likewise.
44551 * sunrpc/authuxprot.c: Likewise.
44552 * sunrpc/bindrsvprt.c: Likewise.
44553 * sunrpc/clnt_gen.c: Likewise.
44554 * sunrpc/clnt_perr.c: Likewise.
44555 * sunrpc/clnt_raw.c: Likewise.
44556 * sunrpc/clnt_simp.c: Likewise.
44557 * sunrpc/clnt_tcp.c: Likewise.
44558 * sunrpc/clnt_udp.c: Likewise.
44559 * sunrpc/clnt_unix.c: Likewise.
44560 * sunrpc/des_crypt.c: Likewise.
44561 * sunrpc/des_soft.c: Likewise.
44562 * sunrpc/get_myaddr.c: Likewise.
44563 * sunrpc/getrpcport.c: Likewise.
44564 * sunrpc/key_call.c: Likewise.
44565 * sunrpc/key_prot.c: Likewise.
44566 * sunrpc/openchild.c: Likewise.
44567 * sunrpc/pm_getmaps.c: Likewise.
44568 * sunrpc/pm_getport.c: Likewise.
44569 * sunrpc/pmap_clnt.c: Likewise.
44570 * sunrpc/pmap_prot.c: Likewise.
44571 * sunrpc/pmap_prot2.c: Likewise.
44572 * sunrpc/pmap_rmt.c: Likewise.
44573 * sunrpc/rpc/auth.h: Likewise.
44574 * sunrpc/rpc/auth_unix.h: Likewise.
44575 * sunrpc/rpc/clnt.h: Likewise.
44576 * sunrpc/rpc/des_crypt.h: Likewise.
44577 * sunrpc/rpc/key_prot.h: Likewise.
44578 * sunrpc/rpc/netdb.h: Likewise.
44579 * sunrpc/rpc/pmap_clnt.h: Likewise.
44580 * sunrpc/rpc/pmap_prot.h: Likewise.
44581 * sunrpc/rpc/pmap_rmt.h: Likewise.
44582 * sunrpc/rpc/rpc.h: Likewise.
44583 * sunrpc/rpc/rpc_des.h: Likewise.
44584 * sunrpc/rpc/rpc_msg.h: Likewise.
44585 * sunrpc/rpc/svc.h: Likewise.
44586 * sunrpc/rpc/svc_auth.h: Likewise.
44587 * sunrpc/rpc/types.h: Likewise.
44588 * sunrpc/rpc/xdr.h: Likewise.
44589 * sunrpc/rpc_clntout.c: Likewise.
44590 * sunrpc/rpc_cmsg.c: Likewise.
44591 * sunrpc/rpc_common.c: Likewise.
44592 * sunrpc/rpc_cout.c: Likewise.
44593 * sunrpc/rpc_dtable.c: Likewise.
44594 * sunrpc/rpc_hout.c: Likewise.
44595 * sunrpc/rpc_main.c: Likewise.
44596 * sunrpc/rpc_parse.c: Likewise.
44597 * sunrpc/rpc_parse.h: Likewise.
44598 * sunrpc/rpc_prot.c: Likewise.
44599 * sunrpc/rpc_sample.c: Likewise.
44600 * sunrpc/rpc_scan.c: Likewise.
44601 * sunrpc/rpc_scan.h: Likewise.
44602 * sunrpc/rpc_svcout.c: Likewise.
44603 * sunrpc/rpc_tblout.c: Likewise.
44604 * sunrpc/rpc_util.c: Likewise.
44605 * sunrpc/rpc_util.h: Likewise.
44606 * sunrpc/rpcinfo.c: Likewise.
44607 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44608 * sunrpc/rpcsvc/key_prot.x: Likewise.
44609 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44610 * sunrpc/rpcsvc/mount.x: Likewise.
44611 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44612 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44613 * sunrpc/rpcsvc/rex.x: Likewise.
44614 * sunrpc/rpcsvc/rstat.x: Likewise.
44615 * sunrpc/rpcsvc/rusers.x: Likewise.
44616 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44617 * sunrpc/rpcsvc/spray.x: Likewise.
44618 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44619 * sunrpc/rtime.c: Likewise.
44620 * sunrpc/svc.c: Likewise.
44621 * sunrpc/svc_auth.c: Likewise.
44622 * sunrpc/svc_authux.c: Likewise.
44623 * sunrpc/svc_raw.c: Likewise.
44624 * sunrpc/svc_run.c: Likewise.
44625 * sunrpc/svc_simple.c: Likewise.
44626 * sunrpc/svc_tcp.c: Likewise.
44627 * sunrpc/svc_udp.c: Likewise.
44628 * sunrpc/svc_unix.c: Likewise.
44629 * sunrpc/svcauth_des.c: Likewise.
44630 * sunrpc/xcrypt.c: Likewise.
44631 * sunrpc/xdr.c: Likewise.
44632 * sunrpc/xdr_array.c: Likewise.
44633 * sunrpc/xdr_float.c: Likewise.
44634 * sunrpc/xdr_mem.c: Likewise.
44635 * sunrpc/xdr_rec.c: Likewise.
44636 * sunrpc/xdr_ref.c: Likewise.
44637 * sunrpc/xdr_sizeof.c: Likewise.
44638 * sunrpc/xdr_stdio.c: Likewise.
44639
9da4bb31
UD
44640 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44641 handling.
44642
bdaa77bc
AS
446432010-08-19 Andreas Schwab <schwab@redhat.com>
44644
44645 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44646
fe2f79db
LM
446472010-08-19 Luis Machado <luisgpm@br.ibm.com>
44648
44649 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44652 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44654 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44656 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44657 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44658 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44659 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44661 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44662 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44663
b9b42ee0
AB
446642010-07-26 Anton Blanchard <anton@samba.org>
44665
44666 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44667 * malloc/arena.c (heap_trim): Likewise.
44668
1c06ba31
UD
446692010-08-16 Ulrich Drepper <drepper@redhat.com>
44670
44671 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44672 here. Not...
44673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44674 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44675
f8392f40
L
446762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44677
44678 * sysdeps/i386/elf/Makefile: New file.
44679
3162f12e
AS
446802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44681
44682 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44683 from fanotify_init.
44684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44686
28c90b2c
UD
446872010-08-15 Ulrich Drepper <drepper@redhat.com>
44688
44689 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44690 of strncasecmp_l.
1feccb6c 44691 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44692
ca6bb004
UD
446932010-08-14 Ulrich Drepper <drepper@redhat.com>
44694
e9f82e0d
UD
44695 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44696 strncase_l-nonascii.
44697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44698 Add strncase_l-ssse3.
44699 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44700 * sysdeps/x86_64/strcmp.S: Likewise.
44701 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44702 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44703 * sysdeps/x86_64/strncase.S: New file.
44704 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44705 * sysdeps/x86_64/strncase_l.S: New file.
44706 * string/Makefile (strop-tests): Add strncasecmp.
44707 * string/test-strncasecmp.c: New file.
44708
44709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44710 warning.
44711
ca6bb004
UD
44712 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44714
052fa7b3
AS
447152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44716
44717 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44718
962dba78
UD
447192010-08-12 Ulrich Drepper <drepper@redhat.com>
44720
44721 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44724
bebff237
AM
447252010-05-01 Alan Modra <amodra@gmail.com>
44726
44727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44728 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44729 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44730 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44731 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44732 tidying. Don't tail-call __sigjmp_save for static lib.
44733 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44734 save location.
44735 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44736 (CALL_MCOUNT): Add eh info, and nop after bl.
44737 (TAIL_CALL_SYSCALL_ERROR): New macro.
44738 (PSEUDO_RET): Use it.
44739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44740 Correct save location of integer regs and cr.
44741 (_dl_profile_resolve): Correct cr save location. Delete nops
44742 after bl when SHARED. Reduce cfi size a little by better
44743 placement of cfi directives.
44744 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44745 make a stack frame. Instead use parm save area as a temp.
44746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44747 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44749 Don't make a stack frame for parent, use parm save area.
44750 Increase child stack frame to 112 bytes. Don't save unused reg,
44751 and adjust reg usage. Set up cfi on error recovery and
44752 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44754 (__makecontext): Add dummy nop after jump to exit.
44755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44756 Use correct parm save area and cr save, reduce stack frame.
44757 Correct cfi for possible PSEUDO_RET frame setup.
44758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44759 Branch to local label emitted by PSEUDO_RET rather than
44760 __syscall_error.
44761
02637374
AS
447622010-08-12 Andreas Schwab <schwab@redhat.com>
44763
44764 [BZ #11904]
44765 * locale/programs/locale.c (print_assignment): New function.
44766 (show_locale_vars): Use it.
44767
c3e2f19b
UD
447682010-08-11 Ulrich Drepper <drepper@redhat.com>
44769
3cdaa6ad
UD
44770 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44771 field.
44772 (struct statfs64): Likewise.
44773 (_STATFS_F_FLAGS): Define.
44774 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44776 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44777 (ST_VALID): Define locally.
44778 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44779 __statvfs_getflags, use the provided value.
44780 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44781 __ASSUME_STATFS_F_FLAGS.
44782
754f7da3
UD
44783 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44784
10b3bedc
UD
44785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44786 Add sys/fanotify.h.
44787 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44788 fanotify_mask for GLIBC_2.13.
44789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44790 fanotify_init and fanotify_mark.
44791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44792 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44793
c08fb0d7
UD
44794 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44795 Add prlimit.
44796 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44797 prlimit64 for GLIBC_2.13.
44798 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44799 prlimit64.
44800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44801 syscall.
44802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44807 add prlimit alias.
44808 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44809
15bac72b
UD
44810 [BZ #11903]
44811 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44812 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44813
c3e2f19b
UD
44814 * nss/Makefile: Add rules to build and run tst-nss-test1.
44815 * shlib-versions: Add entry for libnss_test1.
44816 * nss/nss_test1.c: New file.
44817 * nss/tst-nss-test1.c: New file.
44818
44819 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44820 (__nss_configure_lookup): Set appropriate entry in
44821 __nss_configure_lookup to true.
44822 * nss/nsswitch.h: Define enum with indeces of databases in
44823 databases and __nss_database_custom arrays. Declare
44824 __nss_database_custom.
44825 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44826 to avoid using nscd when custom rules are installed.
44827 * nss/getXXbyYY_r.c: Likewise.
44828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44829
44830 * nss/nss_files/files-parse.c: Whitespace fixes.
44831
f15ce4d8
UD
448322010-08-09 Ulrich Drepper <drepper@redhat.com>
44833
44834 [BZ #11883]
44835 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44836 * posix/fnmatch_loop.c: Likewise.
44837
d22e4cc9
AK
448382010-07-17 Andi Kleen <ak@linux.intel.com>
44839
44840 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44841 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44842 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44843 * Versions.def [GLIBC_2.13]: Add.
44844
805bc17d
UD
448452010-08-06 Ulrich Drepper <drepper@redhat.com>
44846
44847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44848 Also fail if tpwd after pwuid call is NULL.
44849
5a42321d
ST
448502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44851
44852 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44853 when converting to ms.
44854
fd3ebeda
ST
448552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44856
44857 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44858 EOPNOTSUPP errors with ENOTTY.
44859 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44860 EOPNOTSUPP errors with ENOTTY.
44861
73507d3a
UD
448622010-07-31 Ulrich Drepper <drepper@redhat.com>
44863
44864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44865 Add strcasecmp_l-ssse3.
44866 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44867 strcasecmp.
44868 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44869 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44870 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44871
fe36dd02
UD
448722010-07-30 Ulrich Drepper <drepper@redhat.com>
44873
66f6765a
UD
44874 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44875
42e08a54
UD
44876 * string/Makefile (strop-tests): Add strcasecmp.
44877 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44878 strcasecmp_l-nonascii.
44879 (gen-as-const-headers): Add locale-defines.sym.
44880 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44881 * sysdeps/x86_64/strcasecmp.S: New file.
44882 * sysdeps/x86_64/strcasecmp_l.S: New file.
44883 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44884 * sysdeps/x86_64/locale-defines.sym: New file.
44885 * string/test-strcasecmp.c: New file.
44886
fe36dd02
UD
44887 * string/test-strcasestr.c: Test both ends of the range of characters.
44888 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44889
48cbc0d6
RM
448902010-07-29 Roland McGrath <roland@redhat.com>
44891
76e6d6bc 44892 [BZ #11856]
48cbc0d6
RM
44893 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44894
880113d9
UD
448952010-07-27 Ulrich Drepper <drepper@redhat.com>
44896
44897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44898 for ld.so.
44899
deb9cabb
AS
449002010-07-27 Andreas Schwab <schwab@redhat.com>
44901
44902 * manual/memory.texi (Malloc Tunable Parameters): Document
44903 M_PERTURB.
44904
1c7570ff
RM
449052010-07-26 Roland McGrath <roland@redhat.com>
44906
44907 [BZ #11840]
44908 * configure.in (-fgnu89-inline check): Set and substitute
44909 gnu89_inline, not libc_cv_gnu89_inline.
44910 * configure: Regenerated.
44911 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44912
24fb0f88
UD
449132010-07-26 Ulrich Drepper <drepper@redhat.com>
44914
44915 * string/test-strnlen.c: New file.
44916 * string/Makefile (strop-tests): Add strnlen.
44917 * string/tester.c (test_strnlen): Add a few more test cases.
44918 * string/tst-strlen.c: Better error reporting.
44919
44920 * sysdeps/x86_64/strnlen.S: New file.
44921
8e96b93a
UD
449222010-07-24 Ulrich Drepper <drepper@redhat.com>
44923
44924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44925 lower-latency instructions.
44926
dbc676d4
UD
449272010-07-23 Ulrich Drepper <drepper@redhat.com>
44928
44929 * string/test-strcasestr.c: New file.
44930 * string/test-strstr.c: New file.
44931 * string/Makefile (strop-tests): Add strstr and strcasestr.
44932 * string/str-two-way.h: Don't undefine MAX.
44933 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44934
f6a31e0e
AS
449352010-07-21 Andreas Schwab <schwab@redhat.com>
44936
44937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44938 strcasestr-nonascii.
44939 (CFLAGS-strcasestr-nonascii.c): Define.
44940 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44942 Remove unused attribute.
44943
5dbc3b6c
RM
449442010-07-20 Roland McGrath <roland@redhat.com>
44945
44946 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44947 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44948 ld.so.cache was broken. With it, there is no way to disable dsocaps
44949 like LD_HWCAP_MASK can disable hwcaps.
44950
23d101d8
EPM
449512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44952
44953 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44954
cc9f2e47
UD
449552010-07-16 Ulrich Drepper <drepper@redhat.com>
44956
44957 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44958 call in strcasestr.
44959 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44960 __strcasestr_sse42_nonascii.
44961 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44962 strcasestr-nonascii.c.
44963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44964
77c1b069
LM
449652010-06-15 Luis Machado <luisgpm@br.ibm.com>
44966
44967 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44971
440566c3
UD
449722010-07-09 Ulrich Drepper <drepper@redhat.com>
44973
44974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44975 fcntl.
44976
5be9d05d
AS
449772010-07-06 Andreas Schwab <schwab@redhat.com>
44978
c30b7ee2 44979 [BZ #11577]
5be9d05d
AS
44980 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44981 dl_signal_cerror.
44982
8a492a67
UD
449832010-07-06 Ulrich Drepper <drepper@redhat.com>
44984
44985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44986 _PC_PIPE_BUF using F_GETPIPE_SZ.
44987
713df3d5
RM
449882010-07-05 Roland McGrath <roland@redhat.com>
44989
44990 * manual/arith.texi (Rounding Functions): Fix rint description
44991 implicit in round description.
44992
702e8f14
UD
449932010-07-02 Ulrich Drepper <drepper@redhat.com>
44994
44995 * elf/Makefile: Fix linking for a few tests to make recent linker
44996 happy.
44997
52ed8be9
AS
449982010-06-30 Andreas Schwab <schwab@redhat.com>
44999
45000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45001 $(common-objpfx)libc_nonshared.a.
45002
f47c9a11
LM
450032010-06-21 Luis Machado <luisgpm@br.ibm.com>
45004
45005 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45006 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45007 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45008 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45009 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45011 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45012 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45027 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45028 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45029 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45030 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45031 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45032 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45033 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45034 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45035 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45036 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45037 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45038 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45053
6fb8cbcb
L
450542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45055
45056 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45057 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45058 * string/memmove.c (memmove): Renamed to ...
45059 (MEMMOVE): ...this. Default to memmove.
45060 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45061 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45062 (END_CHK): Define.
45063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45064 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45065 mempcpy-ssse3-back memmove-ssse3-back.
45066 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45069 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45070 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45071 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45072 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45073 * sysdeps/x86_64/multiarch/memmove.c: New file.
45074 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45075 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45076 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45077 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45080 Define.
45081 (index_Fast_Copy_Backward): Define.
45082 (HAS_ARCH_FEATURE): Define.
45083 (HAS_FAST_REP_STRING): Define.
45084 (HAS_FAST_COPY_BACKWARD): Define.
45085
4e733bac 450862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45087
45088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45089 Restore proper fallback handling.
45090
63c4ed22
UD
450912010-06-19 Ulrich Drepper <drepper@redhat.com>
45092
ac2b484c
UD
45093 [BZ #11701]
45094 * posix/group_member.c (__group_member): Correct checking loop.
45095
63c4ed22
UD
45096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45097 OOM in getpwuid_r correctly. Return error number when the caller
45098 should return, otherwise -1.
45099 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45100 call returning > 0 value.
45101 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45102
765ade4b
AS
451032010-06-07 Andreas Schwab <schwab@redhat.com>
45104
45105 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45106 libc_nonshared.a from targets in modules-names.
45107
80da2e09
KS
451082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45109
45110 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45111 requires it.
45112
158db122
LM
451132010-06-10 Luis Machado <luisgpm@br.ibm.com>
45114
45115 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45119
caa78cf8
AS
451202010-06-02 Andreas Schwab <schwab@redhat.com>
45121
45122 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45123
b2ef2c01
UD
451242010-06-14 Ulrich Drepper <drepper@redhat.com>
45125
45126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45127 and F_GETPIPE_SZ.
45128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45134
fbd643b6
RM
451352010-06-14 Roland McGrath <roland@redhat.com>
45136
45137 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45138
f32f2869
JJ
451392010-06-07 Jakub Jelinek <jakub@redhat.com>
45140
45141 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45142 __REDIRECT followed by __THROW.
45143 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45144 * posix/getopt.h (getopt): Likewise.
45145
2a50c078
EPM
451462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45147
45148 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45149 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45150 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45151 in AT_FLAGS.
45152 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45153 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45154
eb5ad2eb
LM
451552010-05-28 Luis Machado <luisgpm@br.ibm.com>
45156
45157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45158
3c88fe1e
L
451592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45160
45161 [BZ #11640]
45162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45163 Properly check family and model.
45164
d2f73151
TY
451652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45166
45167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45168
ebd2e13d
LM
451692010-05-24 Luis Machado <luisgpm@br.ibm.com>
45170
45171 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45172
b32b8b45
UD
451732010-05-21 Ulrich Drepper <drepper@redhat.com>
45174
45175 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45176 symbol reference.
45177
9acbe24d
AS
451782010-05-19 Andreas Schwab <schwab@redhat.com>
45179
45180 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45181 symbol reference.
45182
f0ccf6ea
AS
451832010-05-21 Andreas Schwab <schwab@redhat.com>
45184
3d04ff3a
AS
45185 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45186 and internal_recvmmsg.
45187 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45188 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45189 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45190 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45191
f0ccf6ea
AS
45192 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45193 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45194 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45195
5b08ac57
AS
451962010-05-20 Andreas Schwab <schwab@redhat.com>
45197
45198 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45199
4828935d
LM
452002010-05-17 Luis Machado <luisgpm@br.ibm.com>
45201
45202 POWER7 optimizations.
45203 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45204 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45205
373d545e
UD
452062010-05-19 Ulrich Drepper <drepper@redhat.com>
45207
45208 * version.h: Update for 2.13 development version.
45209
21a2b1ae
AS
452102010-05-12 Andrew Stubbs <ams@codesourcery.com>
45211
45212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45213 exceptions. Return 0.
45214
3f7dcb2b
RM
452152010-05-07 Roland McGrath <roland@redhat.com>
45216
45217 * elf/ldconfig.c (main): Add a const.
45218
5f24d53a 452192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45220
a160f8d8
UD
45221 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45222 (args_options): Add no-idn option.
45223 (ahosts_keys_int): Add idn_flags to ai_flags.
45224 (parse_option): Handle 'i' option to clear idn_flags.
45225
5f24d53a
UD
45226 * malloc/malloc.c (_int_free): Possible race in the most recently
45227 added check. Only act on the data if no current modification
45228 happened.
265bb1ce
UD
45229
45230See ChangeLog.17 for earlier changes.