]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Consolidate NPTL/non versions of vfork
[thirdparty/glibc.git] / ChangeLog
CommitLineData
111cc714
RH
12014-06-03 Richard Henderson <rth@redhat.com>
2
89b4bd6b
RH
3 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7 in the SAVE_PID block.
8 (__libc_vfork): New alias.
9
111cc714
RH
10 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11 child in registers, not on the stack. Remove RESET_PID conditionals.
12 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13
ccc39911
MS
142014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15
16 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17
693096cc
W
182014-06-03 Wilco <wdijkstr@arm.com>
19
20 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
22 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
24 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25 Likewise.
26
0b4366bc
W
272014-06-03 Wilco <wdijkstr@arm.com>
28
29 * sysdeps/aarch64/fpu/math_private.h
30 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34 Fix declarations.
35
8747cd03
KS
362014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
37
38 * crypt/crypt-private.h: Include ufc-crypt.h.
39 (__b64_from_24bit): Declare extern.
40 * crypt/crypt_util.c(__b64_from_24bit): New function.
41 (b64t): New static const variable.
42 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43 (b64t): Remove variable.
44 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45 * crypt/sha256-crypt.c: Include crypt-private.h.
46 (b64t): Remove variable.
47 (__sha256_crypt_r): Remove b64_from_24bit and replace
48 with __b64_from_24bit.
49 * crypt/sha512-crypt.c: Likewise.
50
d936d379
RM
512014-06-02 Roland McGrath <roland@hack.frob.com>
52
53 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
54 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
55 Label the code __libc_vfork rather than __vfork.
56 [!NOT_IN_libc] (vfork): Define as weak alias.
57 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
58 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
59 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
60
9fa76613
SP
612014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62
63 * malloc/malloc.c (malloc_info): Fix format specifier for
64 n_mmaps.
65
a88dadbe
W
662014-06-02 Wilco <wdijkstr@arm.com>
67
68 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
69 FPCR write.
70
c95b3011
W
712014-06-02 Wilco <wdijkstr@arm.com>
72
73 [BZ #17009]
74 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
75 Rewrite to reduce FPCR/FPSR accesses.
76
6b4d7a90
DM
772014-06-01 David S. Miller <davem@davemloft.net>
78
79 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80
30f3d07c
DM
812014-05-31 David S. Miller <davem@davemloft.net>
82
83 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
84 to occur in round to nearest mode when |x| >= 2.0
85
74f31c18
RH
862014-05-30 Richard Henderson <rth@twiddle.net>
87
f0712b54
RH
88 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
89 (PSEUDO_RET_NOERRNO): Remove.
90 (ret): Don't redefine.
91 (ret_NOERRNO): Define in terms of ret.
92 (ret_ERRVAL): Likewise.
93
74f31c18
RH
94 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
95 use of PSEUDO_RET; perform the error check directly.
96
30477995
MM
972014-05-30 Marko Myllynen <myllynen@redhat.com>
98
99 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
100 with __int128_t.
101
62a58816
SP
1022014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
103
104 * malloc/malloc (malloc_info): Fix formatting.
105
4d653a59
SP
1062014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
107 Roland McGrath <roland@hack.frob.com>
108
109 * malloc/malloc (malloc_info): Also print mmapped statistics.
110
5190c17f
RM
1112014-05-30 Roland McGrath <roland@hack.frob.com>
112
113 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
114 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
115
987c0269
OB
1162014-05-30 Ondřej Bílka <neleai@seznam.cz>
117
118 * malloc/malloc.c (malloc_info): Inline mi_arena.
119
af4e8ef9
RH
1202014-05-29 Richard Henderson <rth@twiddle.net>
121
1670e207
RH
122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
123 Remove comma before expanding ASM_ARGS_##nr.
124 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
125 Make _x0 a strict output; make _x8 a strict input; adjust expansion
126 of ASM_ARGS_##nr.
127 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
128 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
129 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
130 (ASM_ARGS_1): Add leading comma.
131
11a28aee
RH
132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
133 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
134 to __errno_location.
135 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
136 Remove the expected plt for __errno_location.
137
a17e5ffb 138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 139 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
140 call to __read_tp.
141
b5be4597
RH
142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
143 Always allocate 64 bytes of stack frame. Use ldp/stp to create
144 it and break it down.
145 (DOCARGS_0, DOCARGS_1): Do nothing.
146 (DOCARGS_2): Update to store into the new stack frame.
147 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
148 (UNDOCARGS_1): Update to restore from the new stack frame.
149 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
150 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
151
645d44ab
RH
152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
153 (SINGLE_THREAD_P): New parameter for result regno.
154 (PSEUDO): Update to match; use cbz instead of beq.
155
a8b4f04a
RH
156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
157 Use ENTRY to define the _nocancel entry point. Share the syscall
158 and syscall error check paths with the cancel path.
159 (PSEUDO_END): New.
160
af4e8ef9
RH
161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
162 whitespace; tabs before and after asm mnemonics.
163
26b0d2e1
EW
1642014-05-29 Eric Wong <normalperson@yhbt.net>
165
166 [BZ #15132]
167 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
168 Call fstat64 or stat64 internally, depending on arguments passed.
169 Replace stat buffer argument with file descriptor argument.
170 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
171 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
172 Pass fd to __internal_statvfs instead of calling fstat64.
173 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
174 Pass fd to __internal_statvfs64 instead of calling fstat64.
175 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
176 Pass -1 to __internal_statvfs instead of calling stat64.
177 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
178 Pass -1 to __internal_statvfs64 instead of calling stat64.
179
1efe2bd9
RM
1802014-05-28 Roland McGrath <roland@hack.frob.com>
181
0d3b7a19
RM
182 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
183 that was previously under [RESET_PID].
184 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
185
1efe2bd9
RM
186 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
187 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
188
a6bea3ca
RM
1892014-05-27 Roland McGrath <roland@hack.frob.com>
190
30b6629e
RM
191 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
192
a6bea3ca
RM
193 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
194 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
195
3dfb9a5c
OB
1962014-05-27 Ondřej Bílka <neleai@seznam.cz>
197
198 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
199
774f9285
AS
2002014-05-27 Andreas Schwab <schwab@suse.de>
201
202 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
203 TLS_INIT_TP macro.
204 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
205 * elf/rtld.c (init_tls, dl_main): Likewise.
206 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
207 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
208 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
209 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
210 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
211 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
212 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
213 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
214 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
215 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
216 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
217 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
218 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
219 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
220 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
221 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
222 * sysdeps/generic/tls.h: Update description.
223
36ffe739
WN
2242014-05-27 Will Newton <will.newton@linaro.org>
225
226 [BZ #16990]
227 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
228 and restore r2 rather than just restoring.
229
2482ae43
SP
2302014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
231
232 [BZ #16724]
233 * libio/tst-ftell-append.c: New test case.
234 * libio/Makefile (tests): Add test case.
235 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
236 append mode.
237 * libio/wfileops.c (do_ftell_wide): Likewise.
238
3d1024e8
AZ
2392014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240
bab90016
AZ
241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
242
c7a8d667
AZ
243 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
244 ...
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
247 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
248 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
249 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
250 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
251 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
252 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
254 Moved ...
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
257 Moved ...
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
259 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
260 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
261 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
262 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
263 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
264 ...
265 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
266 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
267 Moved ...
268 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
269 here.
270 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
271 ...
272 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
273 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
274 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
275
daee7851
AZ
276 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
277 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
278 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
279 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
280
50a40819
AZ
281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
282 merge into ...
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
285 ...
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
288 ...
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
291 Moved ...
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
293 here.
294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
295 Moved ...
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
298 Moved ...
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
300
8464c2a1
AZ
301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
302 conditional [RESET_PID].
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
305 removed.
306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
307 removed.
308
3d1024e8
AZ
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
310 <tcb-offsets.h>.
311 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
312 (__libc_vfork): New strong alias.
313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
314 removed.
315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
316 Removed.
317
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
319 <tcb-offsets.h>.
320 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
321 (__libc_vfork): New strong alias.
322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
323 removed.
324 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
325 removed.
326
fdfd175d
CD
3272014-05-26 Carlos O'Donell <carlos@redhat.com>
328
329 * malloc/malloc.c (mi_arena): New function.
330 (malloc_info): Remove nested function mi_arena. Call non-nosted
331 function mi_arena.
332
d298c416
AZ
3332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
334
335 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
336 by insrwi.
337 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
338 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
339 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
340 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
342 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
344
b60ea6ff
AS
3452014-05-26 Andreas Schwab <schwab@suse.de>
346
347 [BZ #16984]
348 * locale/programs/repertoire.c (repertoire_read): Add slash
349 between I18NPATH element and file name.
350 * locale/programs/locfile.c (locfile_read): Likewise.
351
67365926
SL
3522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
353
354 * nptl/pthread_mutexattr_settype.c
355 (__pthread_mutexattr_settype):
356 Disable lock elision for PTHREAD_MUTEX_NORMAL.
357
f8bdf1f0
SL
3582014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
359
360 * nptl/tst-mutex5 (do_test):
361 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
362
15eaf6ff
SP
3632014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
364
365 * benchtests/README: Document 'init' directive.
366 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
367 BENCH_INIT.
368 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
369 (parse_file): Recognize 'init' directive.
370
75f11331
KM
3712014-05-26 Kyle McMartin <kyle@redhat.com>
372
373 [BZ #16796]
374 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
375 alignment of struct pthread.
376
c3ec475c
SP
3772014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 [BZ #16878]
380 * nscd/netgroupcache.c (addgetnetgrentX): Look for
381 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
382 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
383 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
384
82aab97c
RH
3852014-05-25 Richard Henderson <rth@twiddle.net>
386
aa2f176d
RH
387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
388 (SINGLE_THREAD_P_PIC): Remove.
389 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
390 (SINGLE_THREAD_P_PIC): Remove.
391
ca3cfa40
RH
392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
393 branch to syscall error ...
394 (PSEUDO): ... here.
395 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
396 from __local_syscall_error to .Lsyscall_error.
397 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
398 (SYSCALL_ERROR): Update label name.
399
6e6c2d01
RH
400 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
401 Do not use DOARGS/UNDOARGS.
402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
403 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
404 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
405 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
406 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
407
c69abcee
RH
408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
409 block comment.
410
82aab97c
RH
411 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
412 define if !NOT_IN_libc.
413 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
414 define with non-default symbol versions.
415
8820e3ac
RH
4162014-05-23 Richard Henderson <rth@twiddle.net>
417
900e445f
RH
418 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
419 (vfork, __vfork): Define via compat_symbol.
420
8820e3ac
RH
421 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
422 [!HAVE_IFUNC] (vfork_compat): Remove.
423 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
424
e59252a5
JM
4252014-05-23 Joseph Myers <joseph@codesourcery.com>
426
427 [BZ #16978]
428 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
429 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
430 variable.
431
132c7f5f
RH
4322014-05-23 Richard Henderson <rth@twiddle.net>
433
bc89e962
RH
434 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
435 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
436 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
437 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
438
439 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
440 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
441 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
442 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
443 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
444 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
445 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
446 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
447 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
448 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
449 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
450 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
451 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
453 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
455 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
457 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
459 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
461 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
463 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
465 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
467 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
469 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
471 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
473 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
475 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
477 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
478 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
479 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
480 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
481 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
482 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
483 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
486 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
488 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
490 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
492 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
494 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
495
e2fa4bc2
RH
496 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
497 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
498 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
499 before exiting on error.
500 (__libc_vfork): New strong alias.
501 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
502 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
503
279b24e2
RH
504 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
505 that was previously under [RESET_PID].
506 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
507
132c7f5f
RH
508 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
509
b72592e7
JM
5102014-05-23 Joseph Myers <joseph@codesourcery.com>
511
512 [BZ #16977]
513 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
514 value when x - 1 is zero.
515 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
516 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
517 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
518 0.0L for an argument of 1.0L.
519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
520 Likewise.
521 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
522 value when x - 1 is zero.
523 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
524 * sysdeps/i386/fpu/libm-test-ulps: Update.
525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
526
2302d679
RV
5272014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
528
529 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
530 alphasort and versionsort.
531
32999d63
AZ
5322014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
534 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
535 macro.
536 [copysignf]: Likewise.
537
019324d0
SP
5382014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
539
540 * crypt/md5-crypt.c: Fix formatting.
541
34fff5c2
KS
5422014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
543
544 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
545 (b64_from_24bit): New function.
546
3d2badac
AZ
5472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548
549 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
550 libc_hidden_builtin_def to ifunc.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
552 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
553
f7bb179f 5542014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
555
556 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
557 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
558
4134b50d
JM
5592014-05-21 Joseph Myers <joseph@codesourcery.com>
560
bb7d0337
JM
561 * nscd/Depend (linuxthreads): Remove.
562 (nptl): Add.
563 * resolv/Depend (linuxthreads): Remove.
564 * rt/Depend (linuxthreads): Remove.
565
4134b50d
JM
566 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
567 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
568 $(common-objpfx)elf/.
569 (link-libc-before-gnulib): Likewise.
570 (elfobjdir): Remove variable.
571 * Makefile (install): Use $(elf-objpfx) instead of
572 $(common-objpfx)elf/.
573 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
574 $(elfobjdir)/.
575 (link-libc-deps): Likewise.
576 ($(common-objpfx)libc.so): Likewise.
577 ($(common-objpfx)linkobj/libc.so): Likewise.
578 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
579 instead of $(common-objpfx)elf/.
580 (symbolic-link-list): Likewise.
581 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
582 [$(cross-compiling) = no]: Likewise.
583 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
584 $(elfobjdir)/.
585 (static-gnulib-arch): Likewise.
586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
587 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
588 $(common-objpfx)elf/.
589
3612eb8f
RH
5902014-05-21 Richard Henderson <rth@redhat.com>
591
a6b3657b
RH
592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
593 (SINGLE_THREAD_P): Use the correct width load. Fold
594 into the ldr offset.
595
3612eb8f
RH
596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
597 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
598
175cef41
JM
5992014-05-20 Joseph Myers <joseph@codesourcery.com>
600
601 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
602 (libgcc_s_resume): Use __attribute_used__.
603 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
604 Likewise.
605
e13bccd3
AZ
6062014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607
608 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
609 optimization when used with float constants.
610
7c112a38
AZ
611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
612
ae75a883
AJ
6132014-05-20 Aurelien Jarno <aurelien@aurel32.net>
614
615 [BZ #16915]
616 * locale/nl_langinfo_l.c: Make direct reference to every
617 _nl_current_CATEGORY symbol.
618 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
619 (tests-static): Add tst-langinfo-static.
620 (tests-special): Add tst-langinfo-static.out.
621 ($(objpfx)tst-langinfo.out): Redirect output.
622 ($(objpfx)tst-langinfo-static.out): New.
623 * localedata/tst-langinfo.sh: Send output to stdout.
624 * localedata/tst-langinfo-static.c: New file.
625
4406c41c
AJ
626 [BZ #16965]
627 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
628 when the shift amount is modulo the limb size.
629
4c0a1e63
RH
6302014-05-20 Richard Henderson <rth@redhat.com>
631
de9d8f20
RH
632 [BZ #16967]
633 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
634 Change type of sa_flags from unsigned int to int.
635
4c0a1e63
RH
636 [BZ #16966]
637 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
638
639 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
640
a60339aa
WN
6412014-05-20 Will Newton <will.newton@linaro.org>
642
643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
644 Test the return value of the system call in the nocancel case.
645
7d05a816
YR
6462014-05-20 Will Newton <will.newton@linaro.org>
647 Yvan Roux <yvan.roux@linaro.org>
648
649 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
650 #include of asm/ptrace.h.
651 (PTRACE_GET_THREAD_AREA): Remove #undef.
652 (PTRACE_GETHBPREGS): Likewise.
653 (PTRACE_SETHBPREGS): Likewise.
654 (struct user_regs_struct): New structure.
655 (struct user_fpsimd_struct): New structure.
656 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
657 #include of asm/ptrace.h and second #include of sys/user.h.
658 (PTRACE_GET_THREAD_AREA): Remove #undef.
659 (PTRACE_GETHBPREGS): Likewise.
660 (PTRACE_SETHBPREGS): Likewise.
661 (ELF_NGREG): Use new struct user_regs_struct.
662 (elf_fpregset_t): Use new struct user_fpsimd_struct.
663
af121e37
AZ
6642014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
665
666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
668
834caf06
JM
6692014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
670
671 [BZ #16958]
672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
673 membar to avoid block loads/stores to overlap previous stores.
674
e184a918
RH
6752014-05-17 Richard Henderson <rth@redhat.com>
676
677 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
678 Create the __##syscall_name##_nocancel entry point.
679 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
680 Remove; let the sysdep-cancel.h code create it.
681
f56c7a6a
DM
6822014-05-17 David S. Miller <davem@davemloft.net>
683
684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
685 Protect with __USE_GNU.
686 (TIOCSET_TEMPT): Likewise.
687 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
688 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
689 these are already provided in bits/ioctl-types.h
690
f75616b2
RM
6912014-05-16 Roland McGrath <roland@hack.frob.com>
692
3edeca86
RM
693 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
694 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
695
f75616b2
RM
696 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
697 Use wait4 regardless of [__NR_waitpid].
698
deb0f7f6
MR
6992014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
700
701 PR libgcc/60166
702 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
703 (_FP_NANSIGN_Q): Set the quiet bit.
704
79520f4b
JM
7052014-05-16 Joseph Myers <joseph@codesourcery.com>
706
707 * benchtests/Makefile
708 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
709 not $(common-objpfx)math/libm.so.
710 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
711 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
712 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
713 $(common-objpfx)dlfcn/libdl.so.
714 ($(objpfx)tst-audit8): Depend on $(libm), not
715 $(common-objpfx)math/libm.so.
716 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
717 not $(common-objpfx)dlfcn/libdl.so.
718 * math/Makefile
719 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
720 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
721 [$(build-shared) = yes].
722 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
723 $(common-objpfx)nptl/libpthread.so.
724 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
725 $(common-objpfx)math/libm.so$(libm.so-version) or
726 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
727 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
728 $(common-objpfx)dlfcn/libdl.so.
729 * setjmp/Makefile (link-libm): Remove variable.
730 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
731 * stdio-common/Makefile (link-libm): Remove variable.
732 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
733 * stdlib/Makefile (link-libm): Remove variable.
734 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
735 ($(objpfx)tst-strtod-round): Likewise.
736 ($(objpfx)tst-tininess): Likewise.
737 ($(objpfx)tst-strtod-underflow): Likewise.
738 ($(objpfx)tst-strtod6): Likewise.
739 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
740 $(libdl), not $(common-objpfx)nptl/libpthread.so and
741 $(common-objpfx)dlfcn/libdl.so.
742
026b0fe4
AZ
7432014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
746 BSD terminal modes definitions.
747
def4bcb2
RM
7482014-05-16 Roland McGrath <roland@hack.frob.com>
749
fe39b021
RM
750 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
751 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
752
1d1fc46e 753 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
754 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
755 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
756 Don't do #include_next.
757 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
758 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
759 Don't do #include_next.
760 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
761 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
762 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
763 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
764
c72399fb
AM
7652014-05-16 Allan McRae <allan@archlinux.org>
766
d51d659d
AM
767 * po/sv.po: Update Swedish translation from translation project.
768
c72399fb
AM
769 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
770 in sed expression.
771
d0583c40
AJ
7722014-05-16 Aurelien Jarno <aurelien@aurel32.net>
773
774 [BZ #16917]
775 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
776 errno if the TIOCGPTN ioctl fails with an error different than
777 EINVAL.
778 * login/tst-ptsname.c: New file.
779 * login/Makefile (tests): Add tst-ptsname.
780
d16e6ec7
AJ
781 [BZ #16943]
782 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
783 and prlimit64.
784
cf26a0cb
SP
7852014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
786
787 [BZ #16849]
788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
789 herrno to return EAI_AGAIN.
790
5675da1e
RM
7912014-05-14 Roland McGrath <roland@hack.frob.com>
792
a5d87b3d
RM
793 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
794 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
795 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
797 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
799 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
803 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
805 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
807 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
809 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
811 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
813 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
815 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
816 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
817 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
818 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
819 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
821 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
822 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
824 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
826 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
828 Moved ...
829 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
843 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
851 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
853 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
855 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
857 Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
878 Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
882
039890a6
RM
883 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
884 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
885 (libpthread-sysdep_routines): Add elision-related stuff here instead.
886 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
887 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
888 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
889 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
890 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
891 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
893 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
894 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
895 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
896 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
897 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
898 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
899 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
900 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
901 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
902 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
903 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
904 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
905 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
906 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
907 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
908 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
909 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
910 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
911 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
912 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
913 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
914
65c89320
RM
915 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
916 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
917
348f8e8c
RM
918 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
919 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
920 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
921 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
922 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
924 Moved ...
925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
927 Moved ...
928 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
930 Moved ...
931 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
933 Moved ...
934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
936 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
938 Moved ...
939 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
940 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
941 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
943 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
945 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
946 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
947 Moved ...
948 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
949 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
950 Moved ...
951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
952 ... here.
953 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
954 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
956 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
958 Moved ...
959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
960 ... here.
961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
962 Moved ...
963 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
964 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
965 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
966 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
967 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
969 Moved ...
970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
972 Moved ...
973 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
975 Moved ...
976 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
978 Moved ...
979 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
980 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
981 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
983 Moved ...
984 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
986 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
988 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
989 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
990 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
991 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
992 Moved ...
993 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
994 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
995 Moved ...
996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
997 ... here.
998 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
999 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1001 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1003 Moved ...
1004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1005 ... here.
1006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1007 Moved ...
1008 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1010 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1011 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1012 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1013 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1014 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1016 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1018 Moved ...
1019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1021 Moved ...
1022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1024 Moved ...
1025 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1027 Moved ...
1028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1030 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1032 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1034 Moved ...
1035 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1037 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1039 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1041 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1043 Moved ...
1044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1046 Moved ...
1047 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1048 ... here.
1049 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1050 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1052 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1054 Moved ...
1055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1056 ... here.
1057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1058 Moved ...
1059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1061 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1062 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1063 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1064 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1065 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1067 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1069 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1070
5085af05
RM
1071 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1072 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1073
708f0813
RM
1074 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1075 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1076
c96067bc
RM
1077 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1078 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1079 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1081 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1083 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1085 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1089 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1090 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1091 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1093 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1095 Moved ...
1096 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1098 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1100 Moved ...
1101 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1105 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1106 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1109 Moved ...
1110 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1112 Moved ...
1113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1119 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1120 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1121 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1122 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1123 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1124 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1125 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1126 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1127 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1128 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1129 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1130
ec136444
RM
1131 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1132 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1133 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1134 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1135 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1136
2fbdf533
RM
1137 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1138 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1139 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1140 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1141 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1142 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1143 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1144 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1145 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1146 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1147
4c68138b
RM
1148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1150
4eaae765
RM
1151 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1152 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1153 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1154 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1155 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1156 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1157 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1158 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1159 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1160 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1161 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1162 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1163 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1164 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1166 Update #include.
1167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1168 Likewise.
1169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1170 Likewise.
1171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1172 Likewise.
1173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1174 Likewise.
1175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1176 Likewise.
1177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1178 Likewise.
1179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1180 Likewise.
1181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1182 Likewise.
1183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1184 Likewise.
4ef6befa
RM
1185 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1187 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1190 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1191 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1192 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1193 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1194 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1196 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1198 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1200
941d7dfd
RM
1201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1202 that was previously under [RESET_PID].
1203 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1204 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1205 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1206
1b731c35
RM
1207 * sysdeps/i386/nptl/Implies: New file.
1208 * sysdeps/x86_64/nptl/Implies: New file.
1209 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1210 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1212 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1213
e2787137
RM
1214 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1215 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1216 (__libc_vfork): New strong alias.
1217 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1218 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1219
1220 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1222 (__libc_vfork): New strong alias.
1223 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1224 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1225
5675da1e
RM
1226 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1227 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1228 (__libc_vfork): New strong alias.
1229 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1230 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1231 * nptl/pt-vfork.c: New file.
1232 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1233 (libpthread: GLIBC_2.20): New version set (empty).
1234
4f02e2b8
WN
12352014-05-14 Will Newton <will.newton@linaro.org>
1236
1237 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1238 rather than #if.
1239
0bf061d3
JM
12402014-05-14 Joseph Myers <joseph@codesourcery.com>
1241
1a84c3d6
JM
1242 [BZ #16564]
1243 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1244 arguments with exponent 65 or above.
1245 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1246 arguments 0x1p113L or above.
1247 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1248 to arguments 0x1p107L or above.
1249 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1250 positive arguments with exponent 65 or above.
1251 * math/auto-libm-test-in: Add more tests of log1p.
1252 * math/auto-libm-test-out: Regenerated.
1253
01dbacd2
JM
1254 [BZ #16928]
1255 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1256 non-finite arguments is +0.
1257 * math/s_cacosf.c (__cacosf): Likewise.
1258 * math/s_cacosl.c (__cacosl): Likewise.
1259 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1260 * sysdeps/i386/fpu/libm-test-ulps: Update.
1261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262
913d03c8
JM
1263 [BZ #16927]
1264 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1265 value.
1266 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1267 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1268 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1269 for explicit high bit of mantissa when testing for argument equal
1270 to 1.
1271 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1272 * sysdeps/i386/fpu/libm-test-ulps: Update.
1273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1274
0bf061d3
JM
1275 [BZ #16516]
1276 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1277 (__erf): Scale by 16 instead of 8 in potentially underflowing
1278 case. Ensure exception if result actually underflows.
1279 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1280 (__erff): Scale by 16 instead of 8 in potentially underflowing
1281 case. Ensure exception if result actually underflows.
1282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1283 (efx8): Remove variable.
1284 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1285 case. Ensure exception if result actually underflows.
1286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1287 (efx8): Remove variable.
1288 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1289 case. Ensure exception if result actually underflows.
1290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1291 (efx8): Remove variable.
1292 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1293 case. Ensure exception if result actually underflows.
1294 * math/auto-libm-test-in: Add more tests of erf.
1295 * math/auto-libm-test-out: Regenerated.
1296
73ba67cb
AS
12972014-05-14 Andreas Schwab <schwab@suse.de>
1298
3d8c8bff
AS
1299 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1300 Remove code conditionalized on USE___THREAD.
1301
73ba67cb
AS
1302 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1303 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1304 not definedness.
1305
5c521ecd
JM
13062014-05-14 Joseph Myers <joseph@codesourcery.com>
1307
5e7698c6
JM
1308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1309 Define unconditionally.
1310 (__ASSUME_O_CLOEXEC): Likewise.
1311 (__ASSUME_SOCK_CLOEXEC): Likewise.
1312 (__ASSUME_IN_NONBLOCK): Likewise.
1313 (__ASSUME_PIPE2): Likewise.
1314 (__ASSUME_EVENTFD2): Likewise.
1315 (__ASSUME_SIGNALFD4): Likewise.
1316 (__ASSUME_DUP3): Likewise.
1317 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1318 (__ASSUME_DUP3): Do not define.
1319 (__ASSUME_EVENTFD2): Likewise.
1320 (__ASSUME_IN_NONBLOCK): Likewise.
1321 (__ASSUME_O_CLOEXEC): Likewise.
1322 (__ASSUME_PIPE2): Likewise.
1323 (__ASSUME_SIGNALFD4): Likewise.
1324 (__ASSUME_SOCK_CLOEXEC): Likewise.
1325 (__ASSUME_UTIMES): Undefine.
1326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1327 (__ASSUME_UTIMES): Do not define.
1328 (__ASSUME_O_CLOEXEC): Likewise.
1329 (__ASSUME_SOCK_CLOEXEC): Likewise.
1330 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1331 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1332 0x020621].
1333 (__ASSUME_PIPE2): Likewise.
1334 (__ASSUME_EVENTFD2): Likewise.
1335 (__ASSUME_SIGNALFD4): Likewise.
1336 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1337 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1338 Do not define.
1339 (__ASSUME_EVENTFD2): Likewise.
1340 (__ASSUME_SIGNALFD4): Likewise.
1341 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1342 (__ASSUME_32BITUIDS): Likewise.
1343 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1344 (__ASSUME_IPC64): Likewise.
1345 (__ASSUME_ST_INO_64_BIT): Likewise.
1346 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1347 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1348 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1349 (__ASSUME_UTIMES): Do not define.
1350 (__ASSUME_PSELECT): Likewise.
1351 (__ASSUME_PPOLL): Likewise.
1352 (__ASSUME_O_CLOEXEC): Likewise.
1353 (__ASSUME_SOCK_CLOEXEC): Likewise.
1354 (__ASSUME_IN_NONBLOCK): Likewise.
1355 (__ASSUME_PIPE2): Likewise.
1356 (__ASSUME_EVENTFD2): Likewise.
1357 (__ASSUME_SIGNALFD4): Likewise.
1358 (__ASSUME_DUP3): Likewise.
1359 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1360 (__ASSUME_UTIMES): Likewise.
1361 (__ASSUME_O_CLOEXEC): Likewise.
1362 (__ASSUME_SOCK_CLOEXEC): Likewise.
1363 (__ASSUME_IN_NONBLOCK): Likewise.
1364 (__ASSUME_PIPE2): Likewise.
1365 (__ASSUME_EVENTFD2): Likewise.
1366 (__ASSUME_SIGNALFD4): Likewise.
1367 (__ASSUME_DUP3): Likewise.
1368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1369 (__ASSUME_UTIMES): Likewise.
1370 (__ASSUME_O_CLOEXEC): Likewise.
1371 (__ASSUME_SOCK_CLOEXEC): Likewise.
1372 (__ASSUME_IN_NONBLOCK): Likewise.
1373 (__ASSUME_PIPE2): Likewise.
1374 (__ASSUME_EVENTFD2): Likewise.
1375 (__ASSUME_SIGNALFD4): Likewise.
1376 (__ASSUME_DUP3): Likewise.
1377 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1378 Likewise.
1379 (__ASSUME_UTIMES): Likewise.
1380 (__ASSUME_EVENTFD2): Likewise.
1381 (__ASSUME_SIGNALFD4): Likewise.
1382 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1383 (__ASSUME_O_CLOEXEC): Likewise.
1384 (__ASSUME_SOCK_CLOEXEC): Likewise.
1385 (__ASSUME_IN_NONBLOCK): Likewise.
1386 (__ASSUME_PIPE2): Likewise.
1387 (__ASSUME_EVENTFD2): Likewise.
1388 (__ASSUME_SIGNALFD4): Likewise.
1389 (__ASSUME_DUP3): Likewise.
1390 (__ASSUME_UTIMES): Undefine.
1391
5c521ecd
JM
1392 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1393 feclearexcept. Remove symbol versioning code.
1394 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1395 symbol versioning code.
1396 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1397 symbol versioning code.
1398 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1399 feupdateenv. Remove symbol versioning code.
1400 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1401 fegetexceptflag. Remove symbol versioning code.
1402 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1403 fesetexceptflag. Remove symbol versioning code.
1404 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1405 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1406 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1407 (__posix_fadvise64_l32): Remove prototype.
1408 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1409 code.
1410
5da9dfad
RM
14112014-05-13 Roland McGrath <roland@hack.frob.com>
1412
1413 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1414 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1415 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1416 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1417
893b4f37
SK
14182014-05-13 Sami Kerola <kerolasa@iki.fi>
1419
1420 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1421 current working directory
1422
e0db6517
RM
14232014-05-13 Roland McGrath <roland@hack.frob.com>
1424
58aa195d
RM
1425 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1426 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1427 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1428 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1429 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1430 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1431 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1458 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1459 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1460 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1461 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1462 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1463 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1464 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1465 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1466 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1467
8c6d01f0
RM
1468 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1469 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1470
1471 * sysdeps/unix/sysv/linux/arm/Makefile
1472 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1473 Add rt-aeabi_unwind_cpp_pr1.
1474 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1475 Add nptl-aeabi_unwind_cpp_pr1.
1476 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1477 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1478 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1479 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1480 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1481 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1482
1483 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1484 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1485 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1486 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1487
bba6da4e
RM
1488 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1489 Deconditionalize the code that was previously under [RESET_PID].
1490 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1491
e0db6517
RM
1492 * sysdeps/generic/exit-thread.h: New file.
1493 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1494 * include/unistd.h (__exit_thread): Remove declaration.
1495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1496 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1497 * csu/libc-start.c: Include <exit-thread.h>.
1498 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1499 * nptl/pthread_create.c: Include <exit-thread.h>.
1500 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1501 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1502 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1503 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1504 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1505 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1506 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1507 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1508 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1509 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1510 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1511 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1512 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1513 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1514 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1515 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1516 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1517
01eb16fd
AS
15182014-05-13 Andreas Schwab <schwab@suse.de>
1519
1520 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1521
637461d9
JM
15222014-05-12 Joseph Myers <joseph@codesourcery.com>
1523
1524 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1525 (__ASSUME_UTIMES): Do not condition on kernel version.
1526 (__ASSUME_PSELECT): Define unconditionally.
1527 (__ASSUME_PPOLL): Likewise.
1528 (__ASSUME_ATFCTS): Likewise.
1529 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1530 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1531 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1532 (__ASSUME_UTIMENSAT): Define unconditionally.
1533 (__ASSUME_PRIVATE_FUTEX): Likewise.
1534 (__ASSUME_FALLOCATE): Likewise.
1535 (__ASSUME_O_CLOEXEC): Likewise.
1536 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1537 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1538 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1539 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1540 (__ASSUME_IN_NONBLOCK): Likewise.
1541 (__ASSUME_PIPE2): Likewise.
1542 (__ASSUME_EVENTFD2): Likewise.
1543 (__ASSUME_SIGNALFD4): Likewise.
1544 (__ASSUME_DUP3): Likewise.
1545 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1546 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1547 (__ASSUME_AT_RANDOM): Likewise.
1548 (__ASSUME_PREADV): Likewise.
1549 (__ASSUME_PWRITEV): Likewise.
1550 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1551 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1552 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1554 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1556 (__ASSUME_O_CLOEXEC): Define unconditionally.
1557 (__ASSUME_PSELECT): Do not undefine conditionally.
1558 (__ASSUME_PPOLL): Likewise.
1559 (__ASSUME_ATFCTS): Likewise.
1560 (__ASSUME_SET_ROBUST_LIST): Likewise.
1561 (__ASSUME_UTIMENSAT): Likewise.
1562 (__ASSUME_FDATASYNC): Define unconditionally.
1563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1564 (__ASSUME_SIGFRAME_V2): Likewise.
1565 )__ASSUME_EVENTFD2): Likewise.
1566 (__ASSUME_SIGNALFD4): Likewise.
1567 (__ASSUME_PSELECT): Do not undefine conditionally.
1568 (__ASSUME_PPOLL): Likewise.
1569 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1570 (__ASSUME_PSELECT): Define unconditionally.
1571 (__ASSUME_PPOLL): Likewise.
1572 (__ASSUME_O_CLOEXEC): Likewise.
1573 (__ASSUME_SOCK_CLOEXEC): Likewise.
1574 (__ASSUME_IN_NONBLOCK): Likewise.
1575 (__ASSUME_PIPE2): Likewise.
1576 (__ASSUME_EVENTFD2): Likewise.
1577 (__ASSUME_SIGNALFD4): Likewise.
1578 (__ASSUME_DUP3): Likewise.
1579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1580 (__ASSUME_O_CLOEXEC): Likewise.
1581 (__ASSUME_SOCK_CLOEXEC): Likewise.
1582 (__ASSUME_IN_NONBLOCK): Likewise.
1583 (__ASSUME_PIPE2): Likewise.
1584 (__ASSUME_EVENTFD2): Likewise.
1585 (__ASSUME_SIGNALFD4): Likewise.
1586 (__ASSUME_DUP3): Likewise.
1587 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1588 (__ASSUME_EVENTFD2): Likewise.
1589 (__ASSUME_SIGNALFD4): Likewise.
1590 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1591
315eb1d8
AS
15922014-05-12 Andreas Schwab <schwab@suse.de>
1593
1594 [BZ #16932]
1595 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1596 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1597 than maximum RPC packet size.
1598 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1599 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1600 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1601 (_nss_nis_getservbyport_r): Likewise.
1602
91df99f7
WN
16032014-05-12 Will Newton <will.newton@linaro.org>
1604
1605 * malloc/Makefile (tests): Add tst-mallopt.
1606 * malloc/tst-mallopt.c: New file.
1607
0a982a29
RM
16082014-05-09 Roland McGrath <roland@hack.frob.com>
1609
1610 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1611 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1612
0ded08a5
AZ
16132014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1616 (tst-tlsmod6.so): Likewise.
1617
55d4d550
RM
16182014-05-09 Roland McGrath <roland@hack.frob.com>
1619
1620 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1621
77d08aca
JM
16222014-05-09 Joseph Myers <joseph@codesourcery.com>
1623
1624 [BZ #16064]
1625 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1626 and <dl-procinfo.h>.
1627 (__fegetenv): Save SSE state in envp->__eip if supported.
1628 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1629 envp->__eip if supported.
1630 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1631 and <dl-procinfo.h>.
1632 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1633 __data_offset and __data_selector in environment to 0. Set SSE
1634 state if supported.
1635 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1636 test-fenv-sse.
1637 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1638 -mfpmath=sse.
1639 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1640
28162f4d
WN
16412014-05-09 Will Newton <will.newton@linaro.org>
1642
1643 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1644 and libc_relro_required for ARM.
1645 * sysdeps/arm/preconfigure: Regenerate.
1646
5a414ff7
DV
16472014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1648 Stefan Liebler <stli@linux.vnet.ibm.com>
1649
1650 * config.make.in (enable-lock-elision): New Makefile variable.
1651 * configure.ac: Likewise.
1652 * configure: Regenerate.
1653 * sysdeps/s390/configure.ac:
1654 Add check for gcc transactions support.
1655 * sysdeps/s390/configure: Regenerate.
1656 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1657 Build elision files if enabled.
1658 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1659 Add lock elision support for s390.
1660 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1661 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1662 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1663 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1664 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1665 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1667 Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1669 Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1671 Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1673 Likewise.
1674 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1675 (__lll_timedlock_elision, __lll_lock_elision)
1676 (__lll_unlock_elision, __lll_trylock_elision)
1677 (lll_timedlock_elision, lll_lock_elision)
1678 (lll_unlock_elision, lll_trylock_elision): Add.
1679 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1680 (pthread_mutex_t): Add lock elision support for s390.
1681
1a2f40e5
W
16822014-05-14 Wilco <wdijkstr@arm.com>
1683
1684 * sysdeps/arm/fclrexcpt.c: Cleanup.
1685 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1686 * sysdeps/arm/feenablxcpt.c: Cleanup.
1687 * sysdeps/arm/fegetenv.c: Cleanup.
1688 * sysdeps/arm/fegetexcept.c: Cleanup.
1689 * sysdeps/arm/fegetround.c: Cleanup.
1690 * sysdeps/arm/feholdexcpt.c: Cleanup.
1691 * sysdeps/arm/fesetenv.c: Cleanup.
1692 * sysdeps/arm/fesetround.c: Cleanup.
1693 * sysdeps/arm/feupdateenv.c: Cleanup.
1694 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1695 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1696 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1697 * sysdeps/arm/ftestexcept.c: Cleanup.
1698 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1699 * sysdeps/arm/setfpucw.c: Cleanup.
1700
f63c86fe
WN
17012014-05-09 Will Newton <will.newton@linaro.org>
1702
1703 * sysdeps/arm/armv7/strcmp.S: New file.
1704 * NEWS: Mention addition of ARMv7 optimized strcmp.
1705
7a1a51b5
RM
17062014-05-08 Roland McGrath <roland@hack.frob.com>
1707
95afbbe5
RM
1708 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1709 look for %.ac rather than %.in.
1710
1711 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1712 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1713 * sysdeps/mach/hurd/configure: Regenerated.
1714 * sysdeps/unix/sysv/linux/configure: Regenerated.
1715
7a1a51b5
RM
1716 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1717
5057ad3b
SE
17182014-05-07 Steve Ellcey <sellcey@mips.com>
1719
1720 [BZ# 16922]
1721 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1722 (LONG_SUB): Ditto.
1723 (PTR_SUB): Ditto.
1724
8dc97517
AS
17252014-05-07 Andreas Schwab <schwab@suse.de>
1726
1727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1728 when skipping over non-matching result from nscd.
1729
ce0c5b8f
OB
17302014-05-07 Ondřej Bílka <neleai@seznam.cz>
1731
1732 [BZ #16876]
1733 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1734
a1189263
OB
1735 [BZ #16877]
1736 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1737 nscd security class.
ce0c5b8f 1738
0f58d252
RM
17392014-05-06 Roland McGrath <roland@hack.frob.com>
1740
1741 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1742 * sysdeps/arm/unwind.h: ... here.
1743
83df9ad0
AJ
17442014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1745
ce0c5b8f
OB
1746 [BZ# 16916]
1747 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1748 Define.
83df9ad0 1749
f360f94a
VR
17502014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1751
1752 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1753 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1754 multiarch strncpy for PPC64.
1755 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1756 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1758 multiarch optimizations.
1759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1760 (__libc_ifunc_impl_list): Likewise.
1761 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1762 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1763 multiarch stpncpy for PPC64.
1764 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1765 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1766
978a41c3
AS
17672014-05-06 Andreas Schwab <schwab@suse.de>
1768
1769 [BZ #16912]
1770 * gmon/mcount.c (_MCOUNT_DECL): Use
1771 atomic_compare_and_exchange_bool_acq instead of
1772 catomic_compare_and_exchange_bool_acq.
1773
eb1ed03d
RM
17742014-05-05 Roland McGrath <roland@hack.frob.com>
1775
fe658845
RM
1776 * elf/Makefile (others, install-bin): Remove pldd.
1777 (pldd-modules): Variable removed.
1778 ($(objpfx)pldd): Target removed.
1779 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1780 (others, install-bin): Append pldd here.
1781 ($(objpfx)pldd): New target.
1782
eb1ed03d
RM
1783 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1784 to 0, so the first #if test emitted later doesn't see it undefined.
1785 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1786 * sysdeps/gnu/errlist.c: Regenerated.
1787
19c4bec0
AZ
17882014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1791 [libc_hidden_builtin_def]: Define to empty value.
1792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1793 [libc_hidden_builtin_def]: Likewise.
1794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1795 [libc_hidden_builtin_def]: Likewise.
1796 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1797 [libc_hidden_builtin_def]: Likewise.
1798 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1799 __redirect_memcpy and define ifunc as default hidden symbol.
1800 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1801 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1802
7776e669
AC
18032014-05-04 Adam Conrad <adconrad@0c3.net>
1804
1805 * locale/iso-4217.def: Reintroduce XDR currency.
1806
d69aeb12
AM
18072014-05-04 Allan McRae <allan@archlinux.org>
1808
1809 * po/eo.po: Update Esperanto translation from translation project.
1810
8f1df5cf
CD
18112014-05-02 Carlos O'Donell <carlos@redhat.com>
1812
1813 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1814 and FEATURE_INDEX_MAX to 1.
1815 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1816
13e402e7
SE
18172014-05-01 Steve Ellcey <sellcey@mips.com>
1818
1819 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1820 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1821 * iconvdata/big5.c (ONE_DIRECTION): Define.
1822 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1823 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1824 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1825 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1826 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1827 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1828 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1829 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1830 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1831 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1832 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1833 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1834 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1835 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1836 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1837 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1838 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1839 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1840 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1841 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1842 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1843 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1844 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1845 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1846 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1847 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1848 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1849 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1850 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1851 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1852 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1853 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1854 * iconvdata/johab.c (ONE_DIRECTION): Define.
1855 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1856 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1857 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1858 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1859 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1860 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1861 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1862 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1863 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1864 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1865
c727f032
RM
18662014-05-01 Roland McGrath <roland@hack.frob.com>
1867
8f2f08d0
RM
1868 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1869 (_IO_JUMPS_OFFSET): Define to 0.
1870
c727f032
RM
1871 * nptl/sysdeps/pthread/bits/libc-lock.h
1872 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1873 (__libc_lock_define_initialized_recursive): Always define using
1874 initializer. Modern compilers treat uninitialized (implicit zero) and
1875 explicit zero initializers the same (i.e. put the datum in bss).
1876
a849e800
AS
18772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1878
1879 * nscd/nscd-client.h: Include <string.h>.
1880
5331255b
DM
18812014-05-01 David S. Miller <davem@davemloft.net>
1882
1883 [BZ #16885]
1884 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1885 multiple zero bytes exist at the end of a string.
1886 Reported by Aurelien Jarno <aurelien@aurel32.net>
1887
1888 * string/test-strcmp.c (check): Add explicit test for situations where
1889 there are multiple zero bytes after the first.
1890
4fdfe821
AS
18912014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1892
1893 [BZ #16890]
1894 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1895 when compiling wprintf.
1896 * stdio-common/tstdiomisc.c (t3): New function.
1897 (main): Call it.
1898
0cdddc25
SE
18992014-05-01 Steve Ellcey <sellcey@mips.com>
1900
1901 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1902 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1903 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1904 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1905
6426d77e
SE
19062014-05-01 Steve Ellcey <sellcey@mips.com>
1907
1908 * stdlib/longlong.h: Updated from GCC.
1909
6d96f5e4
WN
19102014-05-01 Will Newton <will.newton@linaro.org>
1911 Bernard Ogden <bernie.ogden@linaro.org>
1912
7470db0c
WN
1913 * NEWS: Update fixed bug list.
1914
6d96f5e4
WN
1915 [BZ #15119]
1916 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1917
211d653c
DM
19182014-04-30 David S. Miller <davem@davemloft.net>
1919
4fa262fa
DM
1920 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1921 (libc_feholdexcept_setround_sparc_ctx): New function.
1922 (libc_fesetenv_sparc_ctx): Likewise.
1923 (libc_feupdateenv_sparc_ctx): Likewise.
1924 (libc_feholdsetround_sparc_ctx): Likewise.
1925 (libc_feholdexcept_setround_ctx): Define.
1926 (libc_feholdexcept_setroundf_ctx): Likewise.
1927 (libc_feholdexcept_setroundl_ctx): Likewise.
1928 (libc_fesetenv_ctx): Likewise.
1929 (libc_fesetenvf_ctx): Likewise.
1930 (libc_fesetenvl_ctx): Likewise.
1931 (libc_feupdateenv_ctx): Likewise.
1932 (libc_feupdateenvf_ctx): Likewise.
1933 (libc_feupdateenvl_ctx): Likewise.
1934 (libc_feresetround_ctx): Likewise.
1935 (libc_feresetroundf_ctx): Likewise.
1936 (libc_feresetroundl_ctx): Likewise.
1937 (libc_feholdsetround_ctx): Likewise.
1938 (libc_feholdsetroundf_ctx): Likewise.
1939 (libc_feholdsetroundl_ctx): Likewise.
1940
1d3d93ef
DM
1941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1942 with __USE_GNU instead of XOPEN cpp guards.
1943
8aa583c3
DM
1944 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1945 0.
1946
211d653c
DM
1947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1948 with XOPEN cpp guards.
1949
60c8f1f6
JB
19502014-04-30 Julian Brown <julian@codesourcery.com>
1951
1952 [BZ #16888]
1953 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1954 handling.
1955
9a461d46
JM
19562014-04-30 Joseph Myers <joseph@codesourcery.com>
1957
d0f5b3f8
JM
1958 [BZ #9894]
1959 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1960 Change to 2.6.32.
1961 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1962 * sysdeps/unix/sysv/linux/configure: Regenerated.
1963 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1964 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1965 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1966 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1967 * README: Update reference to required Linux kernel version.
1968 * manual/install.texi (Linux): Update reference to required Linux
1969 kernel headers version.
1970 * INSTALL: Regenerated.
1971
9a461d46
JM
1972 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1973 header inclusion.
1974 [POSIX] (limits.h): Likewise.
1975 [POSIX] (math.h): Likewise.
1976 [POSIX] (sys/wait.h): Likewise.
1977 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1978 function.
1979 [POSIX] (stddef.h): Do not allow header inclusion.
1980
1775babf
AZ
19812014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
57f41c40 1983 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1984
8f630cca
YY
19852014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1986
1987 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1988 Return immediately after lll_futex_wake.
1989
1cdeb237
SP
19902014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1991
bc8f194c
SP
1992 [BZ #16791]
1993 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1994 structure.
1995 (datahead_init_pos): Call datahead_init_common early.
1996 (datahead_init_neg): Likewise.
1997
1cdeb237
SP
1998 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1999 datahead_init_neg): New functions.
2000 * nscd/aicache.c (addhstaiX): Use them.
2001 * nscd/grpcache.c (cache_addgr): Likewise.
2002 * nscd/hstcache.c (cache_addhst): Likewise.
2003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2004 * nscd/netgroupcache.c (do_notfound): Likewise.
2005 (addgetnetgrentX): Likewise.
2006 (addinnetgrX): Likewise.
2007 * nscd/pwdcache.c (cache_addpw): Likewise.
2008 * nscd/servicescache.c (cache_addserv): Likewise.
2009
16b293a7
SP
20102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2011 Atsushi Onoe <atsushi@onoe.org>
2012
2013 [BZ #14308]
2014 [BZ #12994]
2015 [BZ #13651]
2016 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2017 one response is valid.
2018 * resolv/res_send.c (send_dg): Check for validity of other
2019 response if the current response is a referral.
2020
a28a9b94
SE
20212014-04-29 Steve Ellcey <sellcey@mips.com>
2022
2023 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2024
2ca180e9
SL
20252014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2026
2027 [BZ #16823]
2028 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2029 Always divide by positive zero when computing -Inf result.
2030 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2031 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2032
18f2945a
AZ
20332014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2034
2035 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2036 FPSCR if value do not change.
2037 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2039 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2041 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2042 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2043 function.
2044
5abebba4
CD
20452014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2046
2047 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2048 * sysdeps/unix/sysv/linux/hppa: Move directory from
2049 ports/systeps/unix/sysv/linux/hppa.
2050 * README: Update listing for hppa-*-linux-gnu.
2051
f7ed60c2
OB
20522014-04-28 Ondřej Bílka <neleai@seznam.cz>
2053
fff763a5
OB
2054 [BZ #16754]
2055 * manual/stdio.texi (Hook functions): Fix types of stream hook
2056 functions.
f7ed60c2
OB
2057 [BZ #16854]
2058 * socket/sys/socket.h: Fix typo in comment.
2059
df639d73
WD
20602014-04-28 Wilco <wdijkstr@arm.com>
2061
f7ed60c2 2062 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2063 * sysdeps/arm/math_private.h: New file.
2064 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2065
48332d82
L
20662014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2069 with __int128_t.
2070 (La_x86_64_retval): Likewise.
2071
e5e0d9a4
IB
20722014-04-24 Ian Bolton <ian.bolton@arm.com>
2073
2074 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2075 fpsr if value didn't change.
2076 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2077 to fpcr if value didn't change.
2078 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2079 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2080 fpsr or fpcr if value didn't change.
2081 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2082 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2083 fpcr if value didn't change.
2084 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2085 to fpsr if value didn't change.
2086
bacc75f7
SP
20872014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2088
2089 * nptl/tst-sem3.c: Use test-skeleton.c
2090 (main): Rename to do_test. Use return instead of
2091 exit.
2092 * nptl/tst-sem4.c: Use test-skeleton.c
2093 (main): Rename to do_test.
2094
a059d359
DM
20952014-04-22 David S. Miller <davem@davemloft.net>
2096
2097 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2098 (struct sigaction): New struct member __glibc_reserved0, change
2099 type of sa_flags to int.
2100
ea6c92f3
YZ
21012014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2102
2103 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2104 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2105
766c4a36
SP
21062014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2107
2108 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2109 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2110
140cc7ab
VK
21112014-04-22 Will Newton <will.newton@linaro.org>
2112 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2113
2114 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2115 (__longjmp): Add longjmp and longjmp_target SystemTap
2116 probes.
2117 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2118 (__sigsetjmp): Add setjmp SystemTap probe.
2119
c54e5cf7
CD
21202014-04-17 Carlos O'Donell <carlos@redhat.com>
2121
2122 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2123 match manual order.
2124
75ffb047
AZ
21252014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126
2127 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2128
2cd925f7
AZ
2129 * sysdeps/powerpc/fpu/fenv_private.h
2130 (libc_feholdexcept_setroundl_ctx): Define to
2131 libc_feholdexcept_setround_ppc_ctx.
2132 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2133 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2134 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2135 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2136
39e6cd8d
IB
21372014-04-17 Ian Bolton <ian.bolton@arm.com>
2138
2139 * sysdeps/aarch64/math-tests.h: New file.
2140
f9281df9
SY
21412014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2142
2143 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2144 New.
2145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2146 Check and set bit_AVX2_Usable.
2147 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2148 macro.
2149 (bit_AVX2): Likewise.
2150 (index_AVX2_Usable): Likewise.
2151 (CPUID_AVX2): Likewise.
2152 (HAS_AVX2): Likewise.
2153
37d35007
WN
21542014-04-17 Will Newton <will.newton@linaro.org>
2155
7c677662
WN
2156 * manual/setjmp.texi (System V contexts): Add note that
2157 calling setcontext on a context created by a call to a
2158 signal handler is undefined. Update text to note that
2159 setcontext from a signal handler is possible but not
2160 recommended.
2161
37d35007 2162 [BZ #16629]
e04a4e9d
WN
2163 * stdlib/tst-setcontext.c: Include signal.h.
2164 (main): Check that the signal stack before and
2165 after swapcontext is the same.
2166
37d35007
WN
2167 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2168 Re-implement to restore registers in user code and avoid
2169 rt_sigreturn system call.
2170
423a7160
W
21712014-04-17 Wilco <wdijkstr@arm.com>
2172
2173 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2174 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2175 * math/test-fenv.c: Skip exception trap tests on targets which only
2176 support non-stop mode.
2177
bc93ab29
IB
21782014-04-17 Ian Bolton <ian.bolton@arm.com>
2179 Wilco Dijkstra <wilco.dijkstra@arm.com>
2180
2181 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2182 (libc_feholdsetround_aarch64_ctx)
2183 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2184 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2185 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2186 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2187 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2188 (libc_feresetround_noexl_ctx): Define.
2189
95fc5fa3
RH
21902014-04-16 Richard Henderson <rth@redhat.com>
2191
ddb04724
RH
2192 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2193
d77c0899
RH
2194 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2195 unwind tables.
2196
a3df56fc
RH
2197 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2198 const from the non-libc, non-ldso copy.
2199
95fc5fa3
RH
2200 * sysdeps/alpha/libm-test-ulps: Regenerate.
2201
7e0b6763
IB
22022014-04-16 Ian Bolton <ian.bolton@arm.com>
2203 Wilco Dijkstra <wilco.dijkstra@arm.com>
2204
2205 * sysdeps/aarch64/fpu/math_private.h: New file.
2206
a9ea2e0c
MS
22072014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2208
2209 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2210
ea8ba7cd
IZ
22112014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2212
2213 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2214 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2216 Intel MPX bound registers before _dl_profile_fixup.
2217 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2218 registers after _dl_profile_fixup. Save and restore bound
2219 registers bnd0/bnd1 when calling _dl_call_pltexit.
2220 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2221 (LR_BND_OFFSET): Likewise.
2222 (LRV_BND0_OFFSET): Likewise.
2223 (LRV_BND1_OFFSET): Likewise.
2224
9f2a4fbc
ST
22252014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2226
2227 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2228 to...
2229 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2230 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2231 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2232 fields.
9f2a4fbc 2233
fd15a59b
ST
22342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2235
2236 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2237
f19dfa0a
SL
22382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2239
2240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2241
4fa8bc3b
SL
22422014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2243
2244 [BZ #14770]
2245 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2246 * sysdeps/s390/configure: Regenerate.
2247
8ea587db
SL
2248 [BZ #16824]
2249 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2250 Set round-to-nearest internally to reduce error accumulation.
2251
aa5f0ff1
AM
22522014-04-16 Alan Modra <amodra@gmail.com>
2253
2254 [BZ #16740]
2255 [BZ #16619]
2256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2257 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2258 * NEWS: Update fixed bug list.
aa5f0ff1 2259
bb9c256f
SP
22602014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2261
2262 * benchtests/Makefile: Depend on libraries in build directory.
2263 (bench-math): Separate out math tests.
2264 (bench-pthread): Separate out pthread tests.
2265 (bench): Include math and pthread tests.
2266
f737dfd0
CD
22672014-04-14 Carlos O'Donell <carlos@redhat.com>
2268
2269 [BZ #16831]
2270 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2271 _dl_debug_initialize.
2272
0699f766
CD
2273 * configure.ac: Remove SELinux header check.
2274 * configure: Regenerate.
2275 * nscd/selinux.c (perms): Array of const char* to permission names.
2276 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2277 default policy. Call string_to_security_class and string_to_av_perm to
2278 translate strings. Enforce default policy and call avs_has_perm with
2279 results of translated strings.
2280
809bd45f
DM
22812014-04-13 David S. Miller <davem@davemloft.net>
2282
2283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2284
89e691f2
AM
22852014-04-12 Allan McRae <allan@archlinux.org>
2286
2287 [BZ #16838]
2288 * manual/string.texi (Collation Functions): Fix qsort argument
2289 order in example.
2290 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2291
9c9daaeb
CM
22922014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2293
2294 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2295 Make the test a no-op if there are no exceptions defined.
2296
95561fb9
PP
22972014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2298
fe8d072c 2299 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2300 enable-hardcoded-path-in-tests
2301
970c602a
WN
23022014-04-11 Will Newton <will.newton@linaro.org>
2303
2304 * benchtests/Makefile (extra-objs): Add json-lib.o.
2305 (bench-func): Tidy up JSON output.
2306 * benchtests/bench-skeleton.c: Include json-lib.h.
2307 (main): Use JSON library functions to do output of
2308 benchmark results.
2309 * benchtests/bench-timing-type.c (main): Output the
2310 timing type simply, leaving formatting to the user.
2311 * benchtests/json-lib.c: New file.
2312 * benchtests/json-lib.h: Likewise.
2313
36875b06
TR
23142014-04-11 Torvald Riegel <triegel@redhat.com>
2315
2316 [BZ #15215]
2317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2318 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2319 memory barriers. Add comments.
2320 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2321 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2322 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2323 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2324 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2325 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2326
579db35a
SL
23272014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2328
2329 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2330 * sysdeps/s390/s390-64/configure.ac: ... this ...
2331 * sysdeps/s390/configure.ac: ... to here.
2332 * sysdeps/s390/s390-32/configure: Delete file.
2333 * sysdeps/s390/s390-64/configure: Delete file.
2334 * sysdeps/s390/configure: Regenerate.
2335
c12e9f37
JAPH
23362014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2337
2338 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2339
439bda32
WN
23402014-04-11 Will Newton <will.newton@linaro.org>
2341
2342 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2343 to zero if it is not defined elsewhere. (mtrim): Test
2344 the value of MALLOC_DEBUG with #if rather than #ifdef.
2345
6a5d6ea1
TR
23462014-04-10 Torvald Riegel <triegel@redhat.com>
2347
2348 * benchtests/pthread_once-inputs: New file.
2349 * benchtests/pthread_once-source.c: New file.
2350 * benchtests/README: Update documentation.
2351
a4c75cfd
IZ
23522014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2353 H.J. Lu <hongjiu.lu@intel.com>
2354
2355 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2356 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2357 * sysdeps/x86_64/configure: Regenerated.
2358 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2359 macro.
2360 (REGISTER_SAVE_RAX): Likewise.
2361 (REGISTER_SAVE_RCX): Likewise.
2362 (REGISTER_SAVE_RDX): Likewise.
2363 (REGISTER_SAVE_RSI): Likewise.
2364 (REGISTER_SAVE_RDI): Likewise.
2365 (REGISTER_SAVE_R8): Likewise.
2366 (REGISTER_SAVE_R9): Likewise.
2367 (REGISTER_SAVE_BND0): Likewise.
2368 (REGISTER_SAVE_BND1): Likewise.
2369 (REGISTER_SAVE_BND2): Likewise.
2370 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2371 bound registers when calling _dl_fixup.
2372
27822ce6
AZ
23732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2374
2375 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2376 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2377 of its definition.
27822ce6
AZ
2378 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2379 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2380 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2381 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2382 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2383 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2384 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2385
a88ddc90
PTB
23862014-04-09 Peter Brett <peter@peter-b.co.uk>
2387
2388 [BZ #15514]
2389 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2390 pathconf(_PC_NAME_MAX).
2391
01f8eac2
AZ
23922014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393
2394 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2395 Remove macro usage.
2396 (__PTHREAD_SPINS): Move definition to ...
2397 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2398 (__PTHREAD_SPINS): ... here.
2399 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2400 (__PTHREAD_SPIN): Likewise.
2401 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2402 (__PTHREAD_SPIN): Likewise.
2403 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2404 (__PTHREAD_SPIN): Likewise.
2405 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2406 (__PTHREAD_SPIN): Likewise.
2407 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2408 (__PTHREAD_SPIN): Likewise.
2409 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2410 (__PTHREAD_SPIN): Likewise.
2411 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2412 (__PTHREAD_SPIN): Likewise.
2413 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2414 (__PTHREAD_SPIN): Likewise.
2415 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2416 (__PTHREAD_SPIN): Likewise.
2417 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2418 (__PTHREAD_SPIN): Likewise.
2419 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2420 (__PTHREAD_SPIN): Likewise.
2421 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2422 (__PTHREAD_SPIN): Likewise.
2423
de21c33c
AZ
2424 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2425 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2426 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2427 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2428 imply folder.
2429 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2430 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2431 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2432 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2433 correct imply path.
2434 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2435 strlen symbol for non multi-arch builds.
2436 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2437 missing hidden_def and weak_alias.
2438
862c472e
CD
24392014-04-08 Carlos O'Donell <carlos@redhat.com>
2440
2441 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2442
8667f90e
WN
24432014-04-07 Will Newton <will.newton@linaro.org>
2444
2445 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2446 and contents. [!_LIBC] Remove #ifndef and contents.
2447 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2448 * string/memccpy.c (__memccpy): Use ANSI prototype.
2449 * string/memfrob.c (memfrob): Likewise.
2450 * string/strcoll.c (STRCOLL): Likewise.
2451 * string/strlen.c (strlen): Likewise.
2452 * string/strtok.c (STRTOK): Likewise.
2453 * string/strcat.c: Remove unused #include of memcopy.h.
2454 (strcat): Use ANSI prototype.
2455 * string/strchr.c: Remove unused #include of memcopy.h.
2456 (strchr): Use ANSI prototype.
2457 * string/strcmp.c: Remove unused #include of memcopy.h.
2458 (strcmp): Use ANSI prototype.
2459 * string/strcpy.c: Remove unused #include of memcopy.h.
2460 (strcpy): Use ANSI prototype.
2461
7ffa9423
AZ
24622014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2465 * config.make.in (config-extra-cppflags): Set it from
2466 libc_extra_cppflags.
2467 * configure.ac (libc_extra_cflags): Make it accumulate over
2468 configure fragments.
2469 (libc_extra_cppflags): New flag.
2470 * configure. Regenerate.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2472 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2473 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2475
8bd70862
AZ
2476 [BZ #16815]
2477 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2478 result for FE_DOWNWARD rounding mode.
2479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2480 Likewise.
2481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2482
d42f3448
CM
24832014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2484
2485 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2486 in function argument name.
2487
1c21d115
DS
24882014-04-03 David Svoboda <svoboda@cert.org>
2489
2490 [BZ #5666]
2491 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2492 explicitly.
2493
fcccd512
RM
24942014-04-03 Roland McGrath <roland@hack.frob.com>
2495
2496 * elf/dl-unmap-segments.h: New file.
2497 * sysdeps/generic/ldsodefs.h
2498 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2499 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2500 * elf/dl-fptr.c: Likewise.
2501 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2502 * sysdeps/aarch64/tlsdesc.c: Likewise.
2503 * sysdeps/arm/tlsdesc.c: Likewise.
2504 * sysdeps/i386/tlsdesc.c: Likewise.
2505 * sysdeps/tile/dl-runtime.c: Likewise.
2506 * sysdeps/x86_64/tlsdesc.c: Likewise.
2507 * elf/dl-load.h: New file.
2508 * elf/dl-load.c: Include it.
2509 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2510 Macros moved to dl-load.h.
2511 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2512 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2513 Use _dl_unmap_segments in place of __munmap.
2514 Break out segment-mapping loop into ...
2515 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2516
f6488e2b
WN
25172014-04-03 Will Newton <will.newton@linaro.org>
2518
2519 * elf/dl-lookup.c (do_lookup_x): Remove comment
2520 referring to nested function and move variable
2521 declarations down to before first use.
2522
6f05bafe
JM
25232014-04-02 Joseph Myers <joseph@codesourcery.com>
2524
a84e78c8
JM
2525 [BZ #16799]
2526 [BZ #16800]
2527 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2528 with 0 numerator.
2529 * math/s_catanf.c (__catanf): Likewise.
2530 * math/s_catanh.c (__catanh): Likewise.
2531 * math/s_catanhf.c (__catanhf): Likewise.
2532 * math/s_catanhl.c (__catanhl): Likewise.
2533 * math/s_catanl.c (__catanl): Likewise.
2534 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2535 by positive zero when computing -Inf result.
2536 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2537 (catanh_test): Likewise.
2538 * sysdeps/i386/fpu/libm-test-ulps: Update.
2539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540
6f05bafe
JM
2541 [BZ #16789]
2542 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2543 instead of using underflowing value in computing result.
2544 * math/s_clog10.c (__clog10): Likewise.
2545 * math/s_clog10f.c (__clog10f): Likewise.
2546 * math/s_clog10l.c (__clog10l): Likewise.
2547 * math/s_clogf.c (__clogf): Likewise.
2548 * math/s_clogl.c (__clogl): Likewise.
2549 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2550 (clog10_test): Likewise.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update.
2552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2553
b0abbc21
AM
25542014-04-02 Alan Modra <amodra@gmail.com>
2555
2556 [BZ #16739]
2557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2558 output when value is near a power of two. Use int64_t for lx and
2559 remove casts. Use decimal rather than hex exponent constants.
2560 Don't use long double multiplication when double will suffice.
2561 * math/libm-test.inc (nextafter_test_data): Add tests.
2562 * NEWS: Add 16739 and 16786 to bug list.
2563
af6b1797
AM
2564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2565
483818d7
AM
2566 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2567
f6c55796
WN
25682014-04-01 Will Newton <will.newton@linaro.org>
2569
2570 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2571 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2572
13f7fe35
FW
25732014-04-01 Florian Weimer <fweimer@redhat.com>
2574
2575 [BZ #13347]
2576 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2577 * nptl/tst-setuid2.c: New file.
2578 * nptl/Makefile (xtests): Add tst-setuid2.
2579
c859b32e
AM
25802014-04-01 Alan Modra <amodra@gmail.com>
2581
2582 [BZ #16786]
2583 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2584
54fa2475
JM
25852014-03-31 Joseph Myers <joseph@codesourcery.com>
2586
8795b4a4
JM
2587 [BZ #6803]
2588 [BZ #6804]
2589 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2590 set errno as appropriate.
2591 * math/w_scalbf.c (__scalbf): Likewise.
2592 * math/w_scalbl.c (__scalbl): Likewise.
2593 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2594 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2595 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2596 Add more NaN tests.
2597
54fa2475
JM
2598 [BZ #16349]
2599 * math/w_atan2.c: Include <errno.h>.
2600 (__atan2): Set errno for result underflowing to zero.
2601 * math/w_atan2f.c: Include <errno.h>.
2602 (__atan2f): Set errno for result underflowing to zero.
2603 * math/w_atan2l.c: Include <errno.h>.
2604 (__atan2l): Set errno for result underflowing to zero.
2605 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2606 tests.
2607 * math/auto-libm-test-out: Regenerated.
2608
757d9dd5
AZ
26092014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610
2611 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2612 Encode instruction correctly in little endian.
2613 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2614 Likewise.
2615 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2616 Likewise.
2617 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2618 Likewise.
2619 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2620 Likewise.
2621
d7a68734
JM
26222014-03-31 Joseph Myers <joseph@codesourcery.com>
2623
47c5adeb
JM
2624 [BZ #9894]
2625 * sysdeps/unix/sysv/linux/kernel-features.h
2626 [__sparc__ && !__arch64__ && !__sparc_v9__]
2627 (__ASSUME_SET_ROBUST_LIST): Do not define.
2628 [__sparc__ && !__arch64__ && !__sparc_v9__]
2629 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2630 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2631 Likewise.
2632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2633 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2634 (__ASSUME_REQUEUE_PI): Likewise.
2635 (__ASSUME_SET_ROBUST_LIST): Likewise.
2636 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2637 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2638 Undefine.
2639 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2641 Likewise.
2642 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2643 Likewise.
2644 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2647 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2648 Undefine.
2649 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2650 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2651 Likewise.
2652
d7a68734
JM
2653 [BZ #16648]
2654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2655 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2656 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2657
c760f5c2
WN
26582014-03-31 Will Newton <will.newton@linaro.org>
2659
2660 * benchtests/Makefile (bench): Add ffs and ffsll to list
2661 of tests.
2662 * benchtests/ffs-inputs: New file.
2663 * benchtests/ffsll-inputs: Likewise.
2664
ea6029b1
JM
26652014-03-29 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #16770]
2668 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2669 too large before casting to int.
2670 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2671 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2672 * math/libm-test.inc (scalb_test_data): Add more tests.
2673
cf806aff
SP
26742014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
56737508
SP
2676 * benchtests/Makefile (DETAILED_OPT): New make option.
2677 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2678 set.
2679 * benchtests/bench-skeleton.c: Include stdbool.h.
2680 (main): Store and print timings per input.
2681 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2682 member to each argument value.
2683 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2684 (_print_arg_data): Initialize per-input timing to 0.
2685
cb5e4aad
SP
2686 * benchtests/Makefile (timing-type): New binary.
2687 (bench-clean): Also remove bench-timing-type.
2688 (bench): New target for timing-type.
2689 (bench-func): Print output in JSON format.
2690 * benchtests/bench-skeleton.c (main): Print output in JSON
2691 format.
2692 * benchtests/bench-timing-type.c: New file.
2693 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2694 (TIMING_PRINT_STATS): Remove.
2695 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2696 name separately.
2697
cf806aff
SP
2698 * benchtests/bench-modf.c: Remove.
2699 * benchtests/modf-inputs: New inputs file.
2700
289e0779
JM
27012014-03-28 Joseph Myers <joseph@codesourcery.com>
2702
2703 [BZ #16362]
2704 * math/s_clog10.c (M_PI_LOG10E): New macro.
2705 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2706 imaginary parts are 0.
2707 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2708 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2709 imaginary parts are 0.
2710 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2711 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2712 imaginary parts are 0.
2713 * math/libm-test.inc (clog10_test_data): Update expected results
2714 for when real and imaginary parts are 0.
2715
277ae3f1
PP
27162014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2717
2718 * elf/dl-load.c: Finish conversion of __builtin_expect into
2719 __glibc_{un}likely.
2720
03a7091f
JM
27212014-03-27 Joseph Myers <joseph@codesourcery.com>
2722
2723 [BZ #16348]
2724 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2725 1+x for argument with exponent below -67.
2726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2727 Likewise.
2728 * math/auto-libm-test-in: Add more tests of exp.
2729 * math/auto-libm-test-out: Regenerated.
2730
ea7d8b95
SP
27312014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
dd3022d7
SP
2733 [BZ #16759]
2734 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2735 (nscd_getnetgrent): Use it.
2736
ea7d8b95
SP
2737 [BZ #16760]
2738 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2739 of stpcpy.
2740
df5b85da
AK
27412014-03-27 Andi Kleen <ak@linux.intel.com>
2742
57f41c40
AS
2743 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2744 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2745 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2746 (lll_robust_unlock): Remove out of line section. Use cfi
2747 intrinsics.
df5b85da 2748 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2749 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2750 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2751 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2752 (lll_robust_unlock): Remove out of line section. Use cfi
2753 intrinsics.
df5b85da
AK
2754 (LLL_STUB_UNWIND_INFO*): Remove.
2755
fbd6b5a4
SP
27562014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 [BZ #16758]
2759 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2760 blank values.
2761
1b26b855
PP
27622014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2763
2764 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2765
9be36fb8
JM
27662014-03-26 Joseph Myers <joseph@codesourcery.com>
2767
2768 [BZ #16198]
2769 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2770 fnstenv.
2771 * math/test-fenv-preserve.c: New file.
2772 * math/Makefile (tests): Add test-fenv-preserve.
2773
60a2f3c1
WN
27742014-03-26 Will Newton <will.newton@linaro.org>
2775
2776 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2777
a5e5f1e2
RM
27782014-03-25 Roland McGrath <roland@hack.frob.com>
2779
2780 * scripts/versionlist.awk: Partition the version sets and emit all
2781 GLIBC_* (sorted) before all others (sorted).
2782
00f4012a
JM
27832014-03-25 Joseph Myers <joseph@codesourcery.com>
2784
2785 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2786 GLIBC_2.2.5 version.
2787
7bc5a741
AZ
27882014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2789
2790 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2791 calls.
2792
7578473b
AZ
2793 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2794 previous change.
2795
f3f1dab3
AZ
2796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2797
6da36183
AS
27982014-03-25 Andreas Schwab <schwab@suse.de>
2799
2800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2801 label to be used after in6ailist is initialized.
2802
f3f1dab3 28032014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2804
7578473b 2805 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2806 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2807
046651c1
JM
28082014-03-25 Joseph Myers <joseph@codesourcery.com>
2809
2810 [BZ #16357]
2811 [BZ #16599]
2812 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2813 min_plus_half.
2814 (fp_formats): Update initializers.
2815 (init_fp_formats): Initialize new field.
2816 (output_for_one_input_case): Allow underflow for results up to
2817 min_plus_half.
2818 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2819 * math/auto-libm-test-in: Don't mark some underflows from asin and
2820 atanh as spurious.
2821 * math/auto-libm-test-out: Regenerated.
2822 * sysdeps/i386/fpu/libm-test-ulps: Update.
2823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2824
003e49ed
AS
28252014-03-25 Andreas Schwab <schwab@suse.de>
2826
2827 * libio/Makefile (tst-ftell-partial-wide-ENV)
2828 (tst-ftell-active-handler-ENV): Define.
2829
de031874
SL
28302014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2831
2832 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2833
55a81e3b
PP
28342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2835
2836 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2837
f3426898
JM
28382014-03-24 Joseph Myers <joseph@codesourcery.com>
2839
2840 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2841 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2842 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2843
a42faf59
PP
28442014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2845
2846 [BZ #16634]
a42faf59 2847 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2848 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2849 (open_path): Change from boolean 'secure' to complete flag 'mode'
2850 (_dl_map_object): Adjust.
a42faf59
PP
2851 * elf/Makefile (tests): Add tst-dlopen-aout.
2852 * elf/tst-dlopen-aout.c: New test.
2853
50936127
SL
28542014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2855
2856 [BZ #16714]
2857 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2858 (struct stat): Rename member pad0 to __glibc_reserved0.
2859
26011b5c
SL
2860 [BZ #16712]
2861 * sysdeps/s390/s390-32/bits/wordsize.h
2862 (__WORDSIZE32_SIZE_ULONG): New define.
2863 * sysdeps/s390/s390-64/bits/wordsize.h
2864 (__WORDSIZE32_SIZE_ULONG): Likewise.
2865 * sysdeps/generic/stdint.h (SIZE_MAX):
2866 Define as UL if __WORDSIZE32_SIZE_ULONG.
2867
a2d86bf1
SL
2868 [BZ #16713]
2869 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2870 (__glibc_reserved0): New variable.
2871 (sa_flags): Change type to int.
2872
78b6eebc
SL
2873 * posix/Makefile (before-compile): Use += before-compile instead
2874 of a :=.
2875
f1399b5a
SL
2876 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2877 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2878
a071766e
AS
28792014-03-20 Andreas Schwab <schwab@suse.de>
2880
2881 [BZ #16743]
2882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2883 non-matching result from nscd.
2884
27c673b8
SP
28852014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2886
2887 * scripts/bench.py: Moved to ...
2888 * benchtests/scripts/bench.py: ... here.
2889 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2890
44152e4b
AS
28912014-03-24 Andreas Schwab <schwab@suse.de>
2892
2893 [BZ #16002]
2894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2895 alloca_account and account alloca use for struct in6ailist.
2896
b376a11a
JM
28972014-03-24 Joseph Myers <joseph@codesourcery.com>
2898
2899 [BZ #16284]
2900 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2901 rounding mode to recompute results that overflow to infinity or
2902 underflow to zero.
2903 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2904 bug 16284.
2905 * math/auto-libm-test-out: Regenerated.
2906 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2907 (ccosh_test): Likewise.
2908 (csin_test_data): Use plus_oflow.
2909 (csin_test): Use ALL_RM_TEST.
2910 (csinh_test_data): Use plus_oflow.
2911 (csinh_test): Use ALL_RM_TEST.
2912 * sysdeps/i386/fpu/libm-test-ulps: Update.
2913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2914
f7be7376
JM
29152014-03-21 Joseph Myers <joseph@codesourcery.com>
2916
1ca2d03e
JM
2917 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2918 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2920
f7be7376
JM
2921 [BZ #16731]
2922 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2923 when x - 1 is zero.
2924 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2925 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2926 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2928 argument is 1.
2929 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2930 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2931 zero.
2932 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2933 * sysdeps/i386/fpu/libm-test-ulps: Update.
2934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2935
fdf4534d
SP
29362014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2937
df26ea53
SP
2938 * scripts/bench.pl: Remove file.
2939 * scripts/bench.py: New benchmark script.
2940 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2941 * benchtests/README: Mention python dependency.
2942 * scripts/pylintrc: New file.
2943 * scripts/pylint: New file.
2944
fdf4534d
SP
2945 * bits/mathdef.h: Use #ifdef instead of #if.
2946 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2947 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2948 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2949 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2950 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2951 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2952
6f23d093
AZ
29532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2954 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2955
2956 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2958 and strpbrk-ppc64 objects.
2959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2960 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2961 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2962 multiarch strpbrk for POWER7.
2963 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2964 multiarch strpbrk for PPC64.
2965 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2966 ifunc selector.
2967 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2968 strpbrk for POWER7.
2969
8c92dfff
JM
29702014-03-20 Joseph Myers <joseph@codesourcery.com>
2971
2972 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2973 (atan_test): Likewise.
2974 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2975 (atanh_test): Use ALL_RM_TEST.
2976 (atan2_test_data): Likewise.
2977 (cabs_test): Likewise.
2978 (cacosh_test): Likewise.
2979 (carg_test): Likewise.
2980 (casin_test): Likewise.
2981 (casinh_test): Likewise.
2982 (cbrt_test): Likewise.
2983 (csqrt_test): Likewise.
2984 (erf_test): Likewise.
2985 (erfc_test): Likewise.
2986 (pow10_test): Likewise.
2987 (exp2_test): Likewise.
2988 (hypot_test): Likewise.
2989 (j0_test): Likewise.
2990 (j1_test): Likewise.
2991 (lgamma_test): Likewise.
2992 (gamma_test): Likewise.
2993 (sincos_test): Likewise.
2994 (tanh_test): Likewise.
2995 (y0_test): Likewise.
2996 (y1_test): Likewise.
2997 * sysdeps/i386/fpu/libm-test-ulps: Update.
2998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999
6eaf95cb
AZ
30002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001
a387428c
SP
3002 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3004 and strcspn-ppc64 objects.
3005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3006 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3007 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3008 multiarch strcspn for POWER7.
3009 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3010 multiarch strcspn for PPC64.
3011 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3012 ifunc selector.
3013 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3014 strcspn for POWER7.
3015
ae3a5dff
JM
30162014-03-20 Joseph Myers <joseph@codesourcery.com>
3017
3018 * math/gen-libm-test.pl (generate_testfile): Expect only function
3019 name as argument to AUTO_TESTS_* and pass results for all rounding
3020 modes to parse_args.
3021 (parse_auto_input): Separate inputs of automatic tests from
3022 outputs before storing in %auto_tests.
3023 * math/libm-test.inc (acos_test_data): Update call to
3024 AUTO_TESTS_f_f.
3025 (acos_test): Use ALL_RM_TEST.
3026 (acos_tonearest_test_data): Remove.
3027 (acos_test_tonearest): Likewise.
3028 (acos_towardzero_test_data): Likewise.
3029 (acos_test_towardzero): Likewise.
3030 (acos_downward_test_data): Likewise.
3031 (acos_test_downward): Likewise.
3032 (acos_upward_test_data): Likewise.
3033 (acos_test_upward): Likewise.
3034 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3035 (asin_test_data): Likewise.
3036 (asin_test): Use ALL_RM_TEST.
3037 (asin_tonearest_test_data): Remove.
3038 (asin_test_tonearest): Likewise.
3039 (asin_towardzero_test_data): Likewise.
3040 (asin_test_towardzero): Likewise.
3041 (asin_downward_test_data): Likewise.
3042 (asin_test_downward): Likewise.
3043 (asin_upward_test_data): Likewise.
3044 (asin_test_upward): Likewise.
3045 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3046 (atan_test_data): Likewise.
3047 (atanh_test_data): Likewise.
3048 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3049 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3050 (carg_test_data): Likewise.
3051 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3052 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3053 (ccosh_test_data): Likewise.
3054 (cexp_test_data): Likewise.
3055 (clog_test_data): Likewise.
3056 (clog10_test_data): Likewise.
3057 (cos_test_data): Update call to AUTO_TESTS_f_f.
3058 (cos_test): Use ALL_RM_TEST.
3059 (cos_tonearest_test_data): Remove.
3060 (cos_test_tonearest): Likewise.
3061 (cos_towardzero_test_data): Likewise.
3062 (cos_test_towardzero): Likewise.
3063 (cos_downward_test_data): Likewise.
3064 (cos_test_downward): Likewise.
3065 (cos_upward_test_data): Likewise.
3066 (cos_test_upward): Likewise.
3067 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3068 (cosh_test): Use ALL_RM_TEST.
3069 (cosh_tonearest_test_data): Remove.
3070 (cosh_test_tonearest): Likewise.
3071 (cosh_towardzero_test_data): Likewise.
3072 (cosh_test_towardzero): Likewise.
3073 (cosh_downward_test_data): Likewise.
3074 (cosh_test_downward): Likewise.
3075 (cosh_upward_test_data): Likewise.
3076 (cosh_test_upward): Likewise.
3077 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3078 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3079 (ctan_test_data): Likewise.
3080 (ctan_test): Use ALL_RM_TEST.
3081 (ctan_tonearest_test_data): Remove.
3082 (ctan_test_tonearest): Likewise.
3083 (ctan_towardzero_test_data): Likewise.
3084 (ctan_test_towardzero): Likewise.
3085 (ctan_downward_test_data): Likewise.
3086 (ctan_test_downward): Likewise.
3087 (ctan_upward_test_data): Likewise.
3088 (ctan_test_upward): Likewise.
3089 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3090 (ctanh_test): Use ALL_RM_TEST.
3091 (ctanh_tonearest_test_data): Remove.
3092 (ctanh_test_tonearest): Likewise.
3093 (ctanh_towardzero_test_data): Likewise.
3094 (ctanh_test_towardzero): Likewise.
3095 (ctanh_downward_test_data): Likewise.
3096 (ctanh_test_downward): Likewise.
3097 (ctanh_upward_test_data): Likewise.
3098 (ctanh_test_upward): Likewise.
3099 (erf_test_data): Update call to AUTO_TESTS_f_f.
3100 (erfc_test_data): Likewise.
3101 (exp_test_data): Likewise.
3102 (exp_test): Use ALL_RM_TEST.
3103 (exp_tonearest_test_data): Remove.
3104 (exp_test_tonearest): Likewise.
3105 (exp_towardzero_test_data): Likewise.
3106 (exp_test_towardzero): Likewise.
3107 (exp_downward_test_data): Likewise.
3108 (exp_test_downward): Likewise.
3109 (exp_upward_test_data): Likewise.
3110 (exp_test_upward): Likewise.
3111 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3112 (exp10_test): Use ALL_RM_TEST.
3113 (exp10_tonearest_test_data): Remove.
3114 (exp10_test_tonearest): Likewise.
3115 (exp10_towardzero_test_data): Likewise.
3116 (exp10_test_towardzero): Likewise.
3117 (exp10_downward_test_data): Likewise.
3118 (exp10_test_downward): Likewise.
3119 (exp10_upward_test_data): Likewise.
3120 (exp10_test_upward): Likewise.
3121 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3122 (expm1_test_data): Likewise.
3123 (expm1_test): Use ALL_RM_TEST.
3124 (expm1_tonearest_test_data): Remove.
3125 (expm1_test_tonearest): Likewise.
3126 (expm1_towardzero_test_data): Likewise.
3127 (expm1_test_towardzero): Likewise.
3128 (expm1_downward_test_data): Likewise.
3129 (expm1_test_downward): Likewise.
3130 (expm1_upward_test_data): Likewise.
3131 (expm1_test_upward): Likewise.
3132 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3133 (fma_test): Use ALL_RM_TEST.
3134 (fma_towardzero_test_data): Remove.
3135 (fma_test_towardzero): Likewise.
3136 (fma_downward_test_data): Likewise.
3137 (fma_test_downward): Likewise.
3138 (fma_upward_test_data): Likewise.
3139 (fma_test_upward): Likewise.
3140 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3141 (j0_test_data): Update call to AUTO_TESTS_f_f.
3142 (j1_test_data): Likewise.
3143 (jn_test_data): Update call to AUTO_TESTS_if_f.
3144 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3145 (log_test_data): Update call to AUTO_TESTS_f_f.
3146 (log10_test_data): Likewise.
3147 (log1p_test_data): Likewise.
3148 (log2_test_data): Likewise.
3149 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3150 (pow_tonearest_test_data): Likewise.
3151 (sin_test_data): Update call to AUTO_TESTS_f_f.
3152 (sin_test): Use ALL_RM_TEST.
3153 (sin_tonearest_test_data): Remove.
3154 (sin_test_tonearest): Likewise.
3155 (sin_towardzero_test_data): Likewise.
3156 (sin_test_towardzero): Likewise.
3157 (sin_downward_test_data): Likewise.
3158 (sin_test_downward): Likewise.
3159 (sin_upward_test_data): Likewise.
3160 (sin_test_upward): Likewise.
3161 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3162 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3163 (sinh_test): Use ALL_RM_TEST.
3164 (sinh_tonearest_test_data): Remove.
3165 (sinh_test_tonearest): Likewise.
3166 (sinh_towardzero_test_data): Likewise.
3167 (sinh_test_towardzero): Likewise.
3168 (sinh_downward_test_data): Likewise.
3169 (sinh_test_downward): Likewise.
3170 (sinh_upward_test_data): Likewise.
3171 (sinh_test_upward): Likewise.
3172 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3173 (sqrt_test): Use ALL_RM_TEST.
3174 (sqrt_tonearest_test_data): Remove.
3175 (sqrt_test_tonearest): Likewise.
3176 (sqrt_towardzero_test_data): Likewise.
3177 (sqrt_test_towardzero): Likewise.
3178 (sqrt_downward_test_data): Likewise.
3179 (sqrt_test_downward): Likewise.
3180 (sqrt_upward_test_data): Likewise.
3181 (sqrt_test_upward): Likewise.
3182 (tan_test_data): Update call to AUTO_TESTS_f_f.
3183 (tan_test): Use ALL_RM_TEST.
3184 (tan_tonearest_test_data): Remove.
3185 (tan_test_tonearest): Likewise.
3186 (tan_towardzero_test_data): Likewise.
3187 (tan_test_towardzero): Likewise.
3188 (tan_downward_test_data): Likewise.
3189 (tan_test_downward): Likewise.
3190 (tan_upward_test_data): Likewise.
3191 (tan_test_upward): Likewise.
3192 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3193 (tgamma_test_data): Likewise.
3194 (y0_test_data): Likewise.
3195 (y1_test_data): Likewise.
3196 (yn_test_data): Update call to AUTO_TESTS_if_f.
3197 (main): Do not call removed functions.
3198
d71aeee8
JM
31992014-03-19 Joseph Myers <joseph@codesourcery.com>
3200
3201 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3202 (ldexp_test_data): Remove.
3203 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3204 scalbn_test_data.
3205 (scalb_test): Use ALL_RM_TEST.
3206
baaf1ded
AS
32072014-03-19 Andreas Schwab <schwab@suse.de>
3208
3209 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3210
b1115e91
JM
32112014-03-19 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #16649]
3214 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3216 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3218 (__ASSUME_PREADV): Undefine.
3219 (__ASSUME_PWRITEV): Likewise.
3220
0283ecca
RM
32212014-03-18 Roland McGrath <roland@hack.frob.com>
3222
7d375303
RM
3223 * bits/mman-linux.h: Add comment about non-Linux use.
3224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3225 bits/mman-linux.h resting place.
3226
0283ecca
RM
3227 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3228 * bits/mman-linux.h: ... here.
3229
aebe1003
AZ
32302014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231
3232 * conform/conformtest.pl: Add standard definition when calling C
3233 preprocessor on data files.
3234 (checknamespace): Remove unused variable.
3235
b29b6bb8
JM
32362014-03-18 Joseph Myers <joseph@codesourcery.com>
3237
3238 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3239 minus_oflow, plus_uflow and minus_uflow in expected results.
3240 * math/libm-test.inc (scalbn_test_data): Add more tests of
3241 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3242 minus_uflow.
3243 (scalbn_test): Use ALL_RM_TEST.
3244 (scalbln_test_data): Add more tests of negative arguments. Use
3245 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3246 (scalbln_test): Use ALL_RM_TEST.
3247
c8f8fa15
RM
32482014-03-18 Roland McGrath <roland@hack.frob.com>
3249
3250 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3251
fede7a5f
WN
32522014-03-18 Will Newton <will.newton@linaro.org>
3253
3254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3255 inaccurate comment.
3256
80cf0a58
JM
32572014-03-18 Joseph Myers <joseph@codesourcery.com>
3258
3259 * Makerules [!subdir] (check-abi): Exit with error status if a
3260 test failed.
3261
b3620862
JM
32622014-03-17 Joseph Myers <joseph@codesourcery.com>
3263
3264 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3265 for rint. Include results for all rounding modes.
3266 (nearbyint_test): Use ALL_RM_TEST.
3267 (rint_test_data): Include all tests used for nearbyint.
3268
788bba36
WN
32692014-03-17 Will Newton <will.newton@linaro.org>
3270
04ec140a
WN
3271 * nptl/sysdeps/pthread/pthread.h: Revert previous
3272 change.
3273
7579d8d5
WN
3274 * sysdeps/generic/ldsodefs.h: Revert previous
3275 change.
3276
c15cf13a
WN
3277 * libio/genops.c: Revert previous change.
3278 * libio/libioP.h: Likewise.
3279 * stdio-common/vfprintf.c: Likewise.
3280
d0ac1324
WN
3281 * sysdeps/generic/math_private.h: Revert previous
3282 change.
3283
9290130a
WN
3284 * sysdeps/generic/math_private.h: Check whether
3285 HAVE_RM_CTX is defined with #ifdef rather
3286 than #if.
3287
afb466fc
WN
3288 * argp/argp-fmtstream.h: Check whether
3289 __STRICT_ANSI__ is defined with #ifdef rather
3290 than #if.
3291 * argp/argp.h: Likewise.
3292
f7efd7c3
WN
3293 * libio/genops.c: Check whether
3294 _IO_JUMPS_OFFSET is defined with #ifdef rather
3295 than #if.
3296 * libio/libioP.h: Likewise.
3297 * stdio-common/vfprintf.c: Likewise.
3298
53f1bed3
WN
3299 * sysdeps/generic/ldsodefs.h: Check whether
3300 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3301 than #if.
3302
788bba36
WN
3303 * nptl/sysdeps/pthread/pthread.h: Check
3304 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3305 its value.
3306
fcd89ebe
SP
33072014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3308
ae42bbc5
SP
3309 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3310 setting O_APPEND.
3311 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3312 test case.
3313
ea33158c
SP
3314 [BZ #16680]
3315 * libio/fileops.c (_IO_file_open): Seek to end of file but
3316 don't cache the offset.
3317 (get_file_offset): Remove function.
3318 (do_ftell): Use cached offset when available.
3319 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3320 don't cache the offset.
3321 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3322 case.
3323 (do_one_test): Call it.
3324 (do_ftell_test): Fix up expected old offset for a+ mode.
3325 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3326 available.
3327
b1dbb426
SP
3328 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3329 up test status with function return status.
3330 (do_write_test): Likewise.
3331 (do_append_test): Likewise.
3332
fcd89ebe
SP
3333 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3334 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3335 Remove.
3336
9962a2d3
JM
33372014-03-17 Joseph Myers <joseph@codesourcery.com>
3338
3339 * math/gen-libm-test.pl (parse_args): Handle results specified for
3340 each rounding mode separately.
3341 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3342 tests and results from lrint_tonearest_test_data,
3343 lrint_towardzero_test_data, lrint_downward_test_data and
3344 lrint_upward_test_data.
3345 (lrint_test): Use ALL_RM_TEST.
3346 (lrint_tonearest_test_data): Remove.
3347 (lrint_test_tonearest): Likewise.
3348 (lrint_towardzero_test_data): Likewise.
3349 (lrint_test_towardzero): Likewise.
3350 (lrint_downward_test_data): Likewise.
3351 (lrint_test_downward): Likewise.
3352 (lrint_upward_test_data): Likewise.
3353 (lrint_test_upward): Likewise.
3354 (llrint_test_data): Merge in per-rounding-mode tests and results
3355 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3356 llrint_downward_test_data and llrint_upward_test_data.
3357 (llrint_test): Use ALL_RM_TEST.
3358 (llrint_tonearest_test_data): Remove.
3359 (llrint_test_tonearest): Likewise.
3360 (llrint_towardzero_test_data): Likewise.
3361 (llrint_test_towardzero): Likewise.
3362 (llrint_downward_test_data): Likewise.
3363 (llrint_test_downward): Likewise.
3364 (llrint_upward_test_data): Likewise.
3365 (llrint_test_upward): Likewise.
3366 (rint_test_data): Merge in per-rounding-mode tests and results
3367 from rint_tonearest_test_data, rint_towardzero_test_data,
3368 rint_downward_test_data and rint_upward_test_data. Add
3369 per-rounding-mode results for tests not in those arrays.
3370 (rint_test): Use ALL_RM_TEST.
3371 (rint_tonearest_test_data): Remove.
3372 (rint_test_tonearest): Likewise.
3373 (rint_towardzero_test_data): Likewise.
3374 (rint_test_towardzero): Likewise.
3375 (rint_downward_test_data): Likewise.
3376 (rint_test_downward): Likewise.
3377 (rint_upward_test_data): Likewise.
3378 (rint_test_upward): Likewise.
3379 (main): Don't call removed functions.
3380
5006148e
RM
33812014-03-14 Roland McGrath <roland@hack.frob.com>
3382
3383 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3384 "Compiled on ..." crapola. It is anti-useful.
3385
d6fe5e58
JM
33862014-03-14 Joseph Myers <joseph@codesourcery.com>
3387
3388 * scripts/evaluate-test.sh: Handle fourth argument to determine
3389 whether test run should stop on failure.
3390 * Makeconfig (stop-on-test-failure): New variable.
3391 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3392 $(stop-on-test-failure).
3393 * Makefile (tests): Give a summary of results from testing and
3394 exit with failure status if they include an ERROR or FAIL.
3395 (xtests): Likewise.
3396 * manual/install.texi (Configuring and compiling): Mention
3397 stop-on-test-failure=y.
3398 * INSTALL: Regenerated.
3399
498a2233
RM
34002014-03-14 Roland McGrath <roland@hack.frob.com>
3401
22dbc19d
RM
3402 * scripts/versionlist.awk: New file.
3403 * Makerules [$(build-shared) = yes]
3404 (postclean-generated): Add Versions.def, not Versions.def.v and
3405 Versions.def.v.i.
3406 ($(common-objpfx)Versions.def.v.i): Target removed.
3407 ($(common-objpfx)Versions.def): New target.
3408 ($(common-objpfx)Versions.all): Depend on that rather that
3409 $(common-objpfx)Versions.def.v.
3410 * Versions.def: File removed.
3411
498a2233
RM
3412 * Makeconfig (+gccwarn): Add -Wundef.
3413 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3414 a dl-sysdep.h breaking its contract.
3415 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3416 * include/stackinfo.h: New file.
3417 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3418 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3419 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3420 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3421 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3422 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3423 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3424 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3425 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3426 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3427 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3428 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3429 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3430 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3431 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3432
c7de5025
AZ
34332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 [BZ #16707]
3436 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3437 implementation.
3438 * math/libm-test.inc (round_test_data): Add more tests.
3439
98fb27a3
AZ
3440 [BZ #16706]
3441 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3442 implementation.
3443 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3444
374f7f61
AZ
3445 [BZ #16701]
3446 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3447 implementation.
3448 * math/libm-test.inc (ceil_test_data): Add more tests.
3449
4655c291
AZ
3450 * math/libm-test.inc (trunc_test_data): Add more tests related to
3451 BZ#16414.
3452
d7329d4b
RM
34532014-03-14 Roland McGrath <roland@hack.frob.com>
3454
3455 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3456 with #if rather than #ifdef.
3457 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3458
aa4de9ce
L
34592014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3462 first. Disable AVX-512 GCC support if assembler doesn't support
3463 it.
3464 * sysdeps/x86_64/configure: Regenerated.
3465
2e03fae7
CD
34662014-03-13 Carlos O'Donell <carlos@redhat.com>
3467
3468 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3469 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3470 (__old_pthread_attr_setstack): Likewise.
3471 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3472 [!_STACK_GROWS_DOWN]: Likewise.
3473
43ca83ec
MF
34742014-03-13 Mike Frysinger <vapier@gentoo.org>
3475
3476 * config.make.in (have-bash2): Delete.
3477 * configure.ac (libc_cv_have_bash2): Delete.
3478 * configure: Regenerate.
3479 * elf/Makefile (common-ldd-rewrite): Rename to ...
3480 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3481 (sh-ldd-rewrite): Delete.
3482 (bash-ldd-rewrite): Delete.
3483 (have-bash2): Delete checks.
57f41c40
AS
3484 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3485 ldd-rewrite.
c66e48b4
MF
3486
3487 * config.make.in (have-ksh): Delete.
3488 (KSH): Delete.
3489 * configure.ac (libc_cv_have_ksh): Delete.
3490 * configure: Regenerate.
3491
b93834ef
MF
3492 * elf/Makefile: Delete $(have-ksh) check.
3493 ($(objpfx)sotruss): Change KSH to BASH.
3494 * elf/sotruss.ksh: Rename to ...
3495 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3496 function style to match POSIX. Drop ksh vim mode setting.
3497
f3a4632a
MF
3498 * manual/time.texi (Specifying the Time Zone with TZ): Change
3499 Tuesday to Thursday.
3500
5896c8bd
MF
3501 * debug/tst-longjmp_chk2.c: Update header comment.
3502 (stackoverflow_handler): Add comment. Call assert on pass value.
3503
2d63a517
IZ
35042014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3505
3506 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3507 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3508 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3509 (La_x86_64_vector): Add zmm.
3510 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3511 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3512 ($(objpfx)tst-audit10): New target.
3513 ($(objpfx)tst-audit10.out): Likewise.
3514 (tst-audit10-ENV): New.
3515 (AVX512-CFLAGS): Likewise.
3516 (CFLAGS-tst-audit10.c): Likewise.
3517 (CFLAGS-tst-auditmod10a.c): Likewise.
3518 (CFLAGS-tst-auditmod10b.c): Likewise.
3519 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3520 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3521 * sysdeps/x86_64/configure: Regenerated.
3522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3523 AVX-512 zmm register support.
3524 (_dl_x86_64_save_sse): Likewise.
3525 (_dl_x86_64_restore_sse): Likewise.
3526 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3527 size vector registers.
3528 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3529 (ZMM_SIZE): Likewise.
3530 * sysdeps/x86_64/tst-audit10.c: New file.
3531 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3532 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3533
44c4e5d5
RM
35342014-03-13 Roland McGrath <roland@hack.frob.com>
3535
3536 * configure.ac (HAVE_EHDR_START): New check.
3537 * configure: Regenerated.
3538 * config.h.in (HAVE_EHDR_START): New #undef.
3539 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3540 assuming the lowest-addressed segment maps the start of the file.
3541
acd6e389
JM
35422014-03-13 Joseph Myers <joseph@codesourcery.com>
3543
3544 * INSTALL: Regenerated.
3545
6f918f36
WN
35462014-03-13 Will Newton <will.newton@linaro.org>
3547
3548 * manual/setjmp.texi (System V contexts): Improve
3549 clarity and grammar of documentation.
3550
798212a0
PP
35512014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3552
3553 [BZ #16381]
798212a0 3554 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3555 (tests-pie): Add tst-pie2.
798212a0
PP
3556 * elf/tst-pie2.c: New file.
3557 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3558 for ET_EXEC.
3559 * elf/rtld.c (map_doit): Load executable as lt_executable.
3560 (dl_main): Likewise.
3561
abe6d90c
JM
35622014-03-12 Joseph Myers <joseph@codesourcery.com>
3563
3564 [BZ #16642]
3565 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3566 (__ASSUME_PSELECT): Undefine.
3567
dd3946c6
AZ
35682014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3569
3570 [BZ #16689]
3571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3572 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3573 static build.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3575 selector for static builds.
3576
c44496df
SP
35772014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3578
3579 [BZ #16695]
3580 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3581 key in the buffer.
3582
27c7220a
AZ
35832014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584
57f41c40
AS
3585 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3586 IFUNC selector for static builds.
27c7220a 3587
600fa361
JM
35882014-03-11 Joseph Myers <joseph@codesourcery.com>
3589
76c96cf7
JM
3590 * sysdeps/mips/math_private.h [__mips_hard_float]
3591 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3592 libc_feresetround_mips_ctx.
3593 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3594 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3595 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3596
600fa361
JM
3597 [BZ #16677]
3598 * math/s_nextafter.c (__nextafter): Do not return value from
3599 overflowing computation.
3600 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3601 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3603 Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3605 Likewise.
3606 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3607 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3608
d7706c32
RM
36092014-03-11 Roland McGrath <roland@hack.frob.com>
3610
3611 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3612 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3613 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3614 the new mov targetting sp.
3615
4facea47
AZ
36162014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617
3618 [BZ #16683]
3619 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3620 Define it for static builds as well.
3621 (NO_BZERO_IMPL): Likewise.
3622
e65caf1f
VR
36232014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3624
3625 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3626 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3627 multiarch strspn for PPC64.
3628 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3629 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3631 (__libc_ifunc_impl_list): Likewise.
3632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3633 multiarch optimizations
3634 * string/strspn.c (strspn): Using macro to redefine symbol name.
3635
ba9cc071
AZ
36362014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3637 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
3639 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3640 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3641 multiarch strncat for PPC64.
3642 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3643 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3645 (__libc_ifunc_impl_list): Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3647 multiarch optimizations
3648
8b4ff974
SP
36492014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3650
3651 [BZ #16639]
3652 * nscd/nscd.service: Make service type forking.
3653
54b46a4b
AZ
36542014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3655
3656 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3657 sign in non default rounding modes.
3658 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3659
e9996ef7
JM
36602014-03-08 Joseph Myers <joseph@codesourcery.com>
3661
3662 * math/libm-test.inc (ALL_RM_TEST): New macro.
3663 (ceil_test): Use ALL_RM_TEST.
3664 (cimag_test): Likewise.
3665 (conj_test): Likewise.
3666 (copysign_test): Likewise.
3667 (cproj_test): Likewise.
3668 (creal_test): Likewise.
3669 (fabs_test): Likewise.
3670 (floor_test): Likewise.
3671 (fmax_test): Likewise.
3672 (fmin_test): Likewise.
3673 (fmod_test): Likewise.
3674 (fpclassify_test): Likewise.
3675 (frexp_test): Likewise.
3676 (ilogb_test): Likewise.
3677 (isfinite_test): Likewise.
3678 (finite_test): Likewise.
3679 (isgreater_test): Likewise.
3680 (isgreaterequal_test): Likewise.
3681 (isinf_test): Likewise.
3682 (isless_test): Likewise.
3683 (islessequal_test): Likewise.
3684 (islessgreater_test): Likewise.
3685 (isnan_test): Likewise.
3686 (isnormal_test): Likewise.
3687 (issignaling_test): Likewise.
3688 (isunordered_test): Likewise.
3689 (logb_test): Likewise.
3690 (logb_downward_test_data): Remove.
3691 (logb_test_downward): Likewise.
3692 (lround_test): Use ALL_RM_TEST.
3693 (llround_test): Likewise.
3694 (modf_test): Likewise.
3695 (nexttoward_test): Likewise.
3696 (remainder_test): Likewise.
3697 (drem_test): Likewise.
3698 (remainder_tonearest_test_data): Likewise.
3699 (remainder_test_tonearest): Likewise.
3700 (drem_test_tonearest): Likewise.
3701 (remainder_towardzero_test_data): Likewise.
3702 (remainder_test_towardzero): Likewise.
3703 (drem_test_towardzero): Likewise.
3704 (remainder_downward_test_data): Likewise.
3705 (remainder_test_downward): Likewise.
3706 (drem_test_downward): Likewise.
3707 (remainder_upward_test_data): Likewise.
3708 (remainder_test_upward): Likewise.
3709 (drem_test_upward): Likewise.
3710 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3711 (round_test): Use ALL_RM_TEST.
3712 (signbit_test): Likewise.
3713 (trunc_test): Likewise.
3714 (significand_test): Likewise.
3715 (main): Don't call removed functions.
3716
bc61d27c
JM
37172014-03-07 Joseph Myers <joseph@codesourcery.com>
3718
5c780849
JM
3719 [BZ #16674]
3720 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3721 || __USE_XOPEN2K8].
3722 (ILL_ILLOPN): Likewise.
3723 (ILL_ILLADR): Likewise.
3724 (ILL_ILLTRP): Likewise.
3725 (ILL_PRVOPC): Likewise.
3726 (ILL_PRVREG): Likewise.
3727 (ILL_COPROC): Likewise.
3728 (ILL_BADSTK): Likewise.
3729 (FPE_INTDIV): Likewise.
3730 (FPE_INTOVF): Likewise.
3731 (FPE_FLTDIV): Likewise.
3732 (FPE_FLTOVF): Likewise.
3733 (FPE_FLTUND): Likewise.
3734 (FPE_FLTRES): Likewise.
3735 (FPE_FLTINV): Likewise.
3736 (FPE_FLTSUB): Likewise.
3737 (SEGV_MAPERR): Likewise.
3738 (SEGV_ACCERR): Likewise.
3739 (BUS_ADRALN): Likewise.
3740 (BUS_ADRERR): Likewise.
3741 (BUS_OBJERR): Likewise.
3742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3743 (TRAP_TRACE): Likewise.
3744 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3745 __USE_XOPEN2K8].
3746 (CLD_KILLED): Likewise.
3747 (CLD_DUMPED): Likewise.
3748 (CLD_TRAPPED): Likewise.
3749 (CLD_STOPPED): Likewise.
3750 (CLD_CONTINUED): Likewise.
3751 (POLL_IN): Likewise.
3752 (POLL_OUT): Likewise.
3753 (POLL_MSG): Likewise.
3754 (POLL_ERR): Likewise.
3755 (POLL_PRI): Likewise.
3756 (POLL_HUP): Likewise.
3757 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3758 Likewise.
3759 (ILL_ILLOPN): Likewise.
3760 (ILL_ILLADR): Likewise.
3761 (ILL_ILLTRP): Likewise.
3762 (ILL_PRVOPC): Likewise.
3763 (ILL_PRVREG): Likewise.
3764 (ILL_COPROC): Likewise.
3765 (ILL_BADSTK): Likewise.
3766 (FPE_INTDIV): Likewise.
3767 (FPE_INTOVF): Likewise.
3768 (FPE_FLTDIV): Likewise.
3769 (FPE_FLTOVF): Likewise.
3770 (FPE_FLTUND): Likewise.
3771 (FPE_FLTRES): Likewise.
3772 (FPE_FLTINV): Likewise.
3773 (FPE_FLTSUB): Likewise.
3774 (SEGV_MAPERR): Likewise.
3775 (SEGV_ACCERR): Likewise.
3776 (BUS_ADRALN): Likewise.
3777 (BUS_ADRERR): Likewise.
3778 (BUS_OBJERR): Likewise.
3779 (BUS_MCEERR_AR): Likewise.
3780 (BUS_MCEERR_AO): Likewise.
3781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3782 (TRAP_TRACE): Likewise.
3783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3784 __USE_XOPEN2K8].
3785 (CLD_KILLED): Likewise.
3786 (CLD_DUMPED): Likewise.
3787 (CLD_TRAPPED): Likewise.
3788 (CLD_STOPPED): Likewise.
3789 (CLD_CONTINUED): Likewise.
3790 (POLL_IN): Likewise.
3791 (POLL_OUT): Likewise.
3792 (POLL_MSG): Likewise.
3793 (POLL_ERR): Likewise.
3794 (POLL_PRI): Likewise.
3795 (POLL_HUP): Likewise.
3796 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3797 (ILL_ILLOPN): Likewise.
3798 (ILL_ILLADR): Likewise.
3799 (ILL_ILLTRP): Likewise.
3800 (ILL_PRVOPC): Likewise.
3801 (ILL_PRVREG): Likewise.
3802 (ILL_COPROC): Likewise.
3803 (ILL_BADSTK): Likewise.
3804 (FPE_INTDIV): Likewise.
3805 (FPE_INTOVF): Likewise.
3806 (FPE_FLTDIV): Likewise.
3807 (FPE_FLTOVF): Likewise.
3808 (FPE_FLTUND): Likewise.
3809 (FPE_FLTRES): Likewise.
3810 (FPE_FLTINV): Likewise.
3811 (FPE_FLTSUB): Likewise.
3812 (SEGV_MAPERR): Likewise.
3813 (SEGV_ACCERR): Likewise.
3814 (BUS_ADRALN): Likewise.
3815 (BUS_ADRERR): Likewise.
3816 (BUS_OBJERR): Likewise.
3817 (BUS_MCEERR_AR): Likewise.
3818 (BUS_MCEERR_AO): Likewise.
3819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3820 (TRAP_TRACE): Likewise.
3821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3822 __USE_XOPEN2K8].
3823 (CLD_KILLED): Likewise.
3824 (CLD_DUMPED): Likewise.
3825 (CLD_TRAPPED): Likewise.
3826 (CLD_STOPPED): Likewise.
3827 (CLD_CONTINUED): Likewise.
3828 (POLL_IN): Likewise.
3829 (POLL_OUT): Likewise.
3830 (POLL_MSG): Likewise.
3831 (POLL_ERR): Likewise.
3832 (POLL_PRI): Likewise.
3833 (POLL_HUP): Likewise.
3834 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3835 Likewise.
3836 (ILL_ILLOPN): Likewise.
3837 (ILL_ILLADR): Likewise.
3838 (ILL_ILLTRP): Likewise.
3839 (ILL_PRVOPC): Likewise.
3840 (ILL_PRVREG): Likewise.
3841 (ILL_COPROC): Likewise.
3842 (ILL_BADSTK): Likewise.
3843 (ILL_BADIADDR): Likewise.
3844 (ILL_BREAK): Likewise.
3845 (FPE_INTDIV): Likewise.
3846 (FPE_INTOVF): Likewise.
3847 (FPE_FLTDIV): Likewise.
3848 (FPE_FLTOVF): Likewise.
3849 (FPE_FLTUND): Likewise.
3850 (FPE_FLTRES): Likewise.
3851 (FPE_FLTINV): Likewise.
3852 (FPE_FLTSUB): Likewise.
3853 (FPE_DECOVF): Likewise.
3854 (FPE_DECDIV): Likewise.
3855 (FPE_DECERR): Likewise.
3856 (FPE_INVASC): Likewise.
3857 (FPE_INVDEC): Likewise.
3858 (SEGV_MAPERR): Likewise.
3859 (SEGV_ACCERR): Likewise.
3860 (SEGV_PSTKOVF): Likewise.
3861 (BUS_ADRALN): Likewise.
3862 (BUS_ADRERR): Likewise.
3863 (BUS_OBJERR): Likewise.
3864 (BUS_MCEERR_AR): Likewise.
3865 (BUS_MCEERR_AO): Likewise.
3866 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3867 (TRAP_TRACE): Likewise.
3868 (TRAP_BRANCH): Likewise.
3869 (TRAP_HWBKPT): Likewise.
3870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3871 __USE_XOPEN2K8].
3872 (CLD_KILLED): Likewise.
3873 (CLD_DUMPED): Likewise.
3874 (CLD_TRAPPED): Likewise.
3875 (CLD_STOPPED): Likewise.
3876 (CLD_CONTINUED): Likewise.
3877 (POLL_IN): Likewise.
3878 (POLL_OUT): Likewise.
3879 (POLL_MSG): Likewise.
3880 (POLL_ERR): Likewise.
3881 (POLL_PRI): Likewise.
3882 (POLL_HUP): Likewise.
3883 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3884 (ILL_ILLOPN): Likewise.
3885 (ILL_ILLADR): Likewise.
3886 (ILL_ILLTRP): Likewise.
3887 (ILL_PRVOPC): Likewise.
3888 (ILL_PRVREG): Likewise.
3889 (ILL_COPROC): Likewise.
3890 (ILL_BADSTK): Likewise.
3891 (FPE_INTDIV): Likewise.
3892 (FPE_INTOVF): Likewise.
3893 (FPE_FLTDIV): Likewise.
3894 (FPE_FLTOVF): Likewise.
3895 (FPE_FLTUND): Likewise.
3896 (FPE_FLTRES): Likewise.
3897 (FPE_FLTINV): Likewise.
3898 (FPE_FLTSUB): Likewise.
3899 (SEGV_MAPERR): Likewise.
3900 (SEGV_ACCERR): Likewise.
3901 (BUS_ADRALN): Likewise.
3902 (BUS_ADRERR): Likewise.
3903 (BUS_OBJERR): Likewise.
3904 (BUS_MCEERR_AR): Likewise.
3905 (BUS_MCEERR_AO): Likewise.
3906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3907 (TRAP_TRACE): Likewise.
3908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3909 __USE_XOPEN2K8].
3910 (CLD_KILLED): Likewise.
3911 (CLD_DUMPED): Likewise.
3912 (CLD_TRAPPED): Likewise.
3913 (CLD_STOPPED): Likewise.
3914 (CLD_CONTINUED): Likewise.
3915 (POLL_IN): Likewise.
3916 (POLL_OUT): Likewise.
3917 (POLL_MSG): Likewise.
3918 (POLL_ERR): Likewise.
3919 (POLL_PRI): Likewise.
3920 (POLL_HUP): Likewise.
3921 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3922 (ILL_ILLOPN): Likewise.
3923 (ILL_ILLADR): Likewise.
3924 (ILL_ILLTRP): Likewise.
3925 (ILL_PRVOPC): Likewise.
3926 (ILL_PRVREG): Likewise.
3927 (ILL_COPROC): Likewise.
3928 (ILL_BADSTK): Likewise.
3929 (FPE_INTDIV): Likewise.
3930 (FPE_INTOVF): Likewise.
3931 (FPE_FLTDIV): Likewise.
3932 (FPE_FLTOVF): Likewise.
3933 (FPE_FLTUND): Likewise.
3934 (FPE_FLTRES): Likewise.
3935 (FPE_FLTINV): Likewise.
3936 (FPE_FLTSUB): Likewise.
3937 (SEGV_MAPERR): Likewise.
3938 (SEGV_ACCERR): Likewise.
3939 (BUS_ADRALN): Likewise.
3940 (BUS_ADRERR): Likewise.
3941 (BUS_OBJERR): Likewise.
3942 (BUS_MCEERR_AR): Likewise.
3943 (BUS_MCEERR_AO): Likewise.
3944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3945 (TRAP_TRACE): Likewise.
3946 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3947 __USE_XOPEN2K8].
3948 (CLD_KILLED): Likewise.
3949 (CLD_DUMPED): Likewise.
3950 (CLD_TRAPPED): Likewise.
3951 (CLD_STOPPED): Likewise.
3952 (CLD_CONTINUED): Likewise.
3953 (POLL_IN): Likewise.
3954 (POLL_OUT): Likewise.
3955 (POLL_MSG): Likewise.
3956 (POLL_ERR): Likewise.
3957 (POLL_PRI): Likewise.
3958 (POLL_HUP): Likewise.
3959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3960 (ILL_ILLOPN): Likewise.
3961 (ILL_ILLADR): Likewise.
3962 (ILL_ILLTRP): Likewise.
3963 (ILL_PRVOPC): Likewise.
3964 (ILL_PRVREG): Likewise.
3965 (ILL_COPROC): Likewise.
3966 (ILL_BADSTK): Likewise.
3967 (FPE_INTDIV): Likewise.
3968 (FPE_INTOVF): Likewise.
3969 (FPE_FLTDIV): Likewise.
3970 (FPE_FLTOVF): Likewise.
3971 (FPE_FLTUND): Likewise.
3972 (FPE_FLTRES): Likewise.
3973 (FPE_FLTINV): Likewise.
3974 (FPE_FLTSUB): Likewise.
3975 (SEGV_MAPERR): Likewise.
3976 (SEGV_ACCERR): Likewise.
3977 (BUS_ADRALN): Likewise.
3978 (BUS_ADRERR): Likewise.
3979 (BUS_OBJERR): Likewise.
3980 (BUS_MCEERR_AR): Likewise.
3981 (BUS_MCEERR_AO): Likewise.
3982 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3983 (TRAP_TRACE): Likewise.
3984 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3985 __USE_XOPEN2K8].
3986 (CLD_KILLED): Likewise.
3987 (CLD_DUMPED): Likewise.
3988 (CLD_TRAPPED): Likewise.
3989 (CLD_STOPPED): Likewise.
3990 (CLD_CONTINUED): Likewise.
3991 (POLL_IN): Likewise.
3992 (POLL_OUT): Likewise.
3993 (POLL_MSG): Likewise.
3994 (POLL_ERR): Likewise.
3995 (POLL_PRI): Likewise.
3996 (POLL_HUP): Likewise.
3997 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3998 (ILL_ILLOPN): Likewise.
3999 (ILL_ILLADR): Likewise.
4000 (ILL_ILLTRP): Likewise.
4001 (ILL_PRVOPC): Likewise.
4002 (ILL_PRVREG): Likewise.
4003 (ILL_COPROC): Likewise.
4004 (ILL_BADSTK): Likewise.
4005 (ILL_DBLFLT): Likewise.
4006 (ILL_HARDWALL): Likewise.
4007 (FPE_INTDIV): Likewise.
4008 (FPE_INTOVF): Likewise.
4009 (FPE_FLTDIV): Likewise.
4010 (FPE_FLTOVF): Likewise.
4011 (FPE_FLTUND): Likewise.
4012 (FPE_FLTRES): Likewise.
4013 (FPE_FLTINV): Likewise.
4014 (FPE_FLTSUB): Likewise.
4015 (SEGV_MAPERR): Likewise.
4016 (SEGV_ACCERR): Likewise.
4017 (BUS_ADRALN): Likewise.
4018 (BUS_ADRERR): Likewise.
4019 (BUS_OBJERR): Likewise.
4020 (BUS_MCEERR_AR): Likewise.
4021 (BUS_MCEERR_AO): Likewise.
4022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4023 (TRAP_TRACE): Likewise.
4024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4025 __USE_XOPEN2K8].
4026 (CLD_KILLED): Likewise.
4027 (CLD_DUMPED): Likewise.
4028 (CLD_TRAPPED): Likewise.
4029 (CLD_STOPPED): Likewise.
4030 (CLD_CONTINUED): Likewise.
4031 (POLL_IN): Likewise.
4032 (POLL_OUT): Likewise.
4033 (POLL_MSG): Likewise.
4034 (POLL_ERR): Likewise.
4035 (POLL_PRI): Likewise.
4036 (POLL_HUP): Likewise.
4037 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4038 (ILL_ILLOPN): Likewise.
4039 (ILL_ILLADR): Likewise.
4040 (ILL_ILLTRP): Likewise.
4041 (ILL_PRVOPC): Likewise.
4042 (ILL_PRVREG): Likewise.
4043 (ILL_COPROC): Likewise.
4044 (ILL_BADSTK): Likewise.
4045 (FPE_INTDIV): Likewise.
4046 (FPE_INTOVF): Likewise.
4047 (FPE_FLTDIV): Likewise.
4048 (FPE_FLTOVF): Likewise.
4049 (FPE_FLTUND): Likewise.
4050 (FPE_FLTRES): Likewise.
4051 (FPE_FLTINV): Likewise.
4052 (FPE_FLTSUB): Likewise.
4053 (SEGV_MAPERR): Likewise.
4054 (SEGV_ACCERR): Likewise.
4055 (BUS_ADRALN): Likewise.
4056 (BUS_ADRERR): Likewise.
4057 (BUS_OBJERR): Likewise.
4058 (BUS_MCEERR_AR): Likewise.
4059 (BUS_MCEERR_AO): Likewise.
4060 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4061 (TRAP_TRACE): Likewise.
4062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4063 __USE_XOPEN2K8].
4064 (CLD_KILLED): Likewise.
4065 (CLD_DUMPED): Likewise.
4066 (CLD_TRAPPED): Likewise.
4067 (CLD_STOPPED): Likewise.
4068 (CLD_CONTINUED): Likewise.
4069 (POLL_IN): Likewise.
4070 (POLL_OUT): Likewise.
4071 (POLL_MSG): Likewise.
4072 (POLL_ERR): Likewise.
4073 (POLL_PRI): Likewise.
4074 (POLL_HUP): Likewise.
4075 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4076 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4077
bc61d27c
JM
4078 [BZ #16670]
4079 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4080 before #include of <time.h>.
4081 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4082 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4083 (test-xfail-UNIX98/sched.h/conform): Likewise.
4084
302949e2
MS
40852014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4086
4087 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4088 error absence of trapping exception support.
4089 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4090
a00f522a
JM
40912014-03-07 Joseph Myers <joseph@codesourcery.com>
4092
6f99f280
JM
4093 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4094 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4095 * timezone/Makefile (testdata): Move definition above include of
4096 Rules.
4097 (test-zones): New variable.
4098 (tests-special): Add zone files.
4099 (build-testdata): Use $(evaluate-test).
4100
0b20a9e8
JM
4101 * elf/Makefile (tests-special): Rename tests to end with .out.
4102 ($(objpfx)noload-mem): Likewise.
4103 ($(objpfx)tst-leaks1-mem): Likewise.
4104 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4105 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4106 $(objpfx)test-iconvconfig.out.
4107 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4108 set -e inside subshell and redirect output to file.
4109 * iconvdata/Makefile (generated): Rename tests to end with .out.
4110 Correct type.
4111 (tests-special): Rename tests to end with .out.
4112 ($(objpfx)mtrace-tst-loading): Likewise.
4113 * intl/Makefile (generated): Likewise.
4114 (tests-special): Likewise.
4115 ($(objpfx)mtrace-tst-gettext): Likewise.
4116 * misc/Makefile (generated): Likewise.
4117 (tests-special): Likewise.
4118 ($(objpfx)tst-error1-mem): Likewise.
4119 * nptl/Makefile (tests-special): Likewise.
4120 ($(objpfx)tst-stack3-mem): Likewise.
4121 (generated): Likewise.
4122 * posix/Makefile (generated): Likewise.
4123 (tests-special): Likewise.
4124 (xtests-special): Likewise.
4125 ($(objpfx)tst-fnmatch-mem): Likewise.
4126 ($(objpfx)bug-regex2-mem): Likewise.
4127 ($(objpfx)bug-regex14-mem): Likewise.
4128 ($(objpfx)bug-regex21-mem): Likewise.
4129 ($(objpfx)bug-regex31-mem): Likewise.
4130 ($(objpfx)tst-vfork3-mem): Likewise.
4131 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4132 ($(objpfx)tst-pcre-mem): Likewise.
4133 ($(objpfx)tst-boost-mem): Likewise.
4134 ($(objpfx)bug-ga2-mem): Likewise.
4135 ($(objpfx)bug-glob2-mem): Likewise.
4136 * resolv/Makefile (generate): Likewise.
4137 (tests-special): Likewise.
4138 (xtests-special): Likewise.
4139 (generated): Likewise.
4140 ($(objpfx)mtrace-tst-leaks): Likewise.
4141 ($(objpfx)mtrace-tst-leaks2): Likewise.
4142
265d52ab
JM
4143 * scripts/merge-test-results.sh: New file.
4144 * Makefile (tests-special-notdir): New variable.
4145 (tests): Run merge-test-results.sh.
4146 (xtests): Likewise.
4147 * Rules (tests-special-notdir): New variable.
4148 (xtests-special-notdir): Likewise.
4149 (tests): Run merge-test-results.sh
4150 (xtests): Likewise.
4151
54ee292d
JM
4152 * Makeconfig (test-xfail-name): New variable.
4153 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4154 compute variable name for expected failures.
4155 * conform/Makefile (conformtest-headers-data): New variable.
4156 (conformtest-standards): Likewise.
4157 (conformtest-headers-ISO): Likewise.
4158 (conformtest-headers-ISO99): Likewise.
4159 (conformtest-headers-ISO11): Likewise.
4160 (conformtest-headers-POSIX): Likewise.
4161 (conformtest-headers-XPG3): Likewise.
4162 (conformtest-headers-XPG4): Likewise.
4163 (conformtest-headers-UNIX98): Likewise.
4164 (conformtest-headers-XOPEN2K): Likewise.
4165 (conformtest-headers-POSIX2008): Likewise.
4166 (conformtest-headers-XOPEN2K8): Likewise.
4167 (conformtest-header-list-base): Likewise.
4168 (conformtest-header-list-tests): Likewise.
4169 (conformtest-header-base): Likewise.
4170 (conformtest-header-tests): Likewise.
4171 (tests-special): Add $(conformtest-header-list-tests). If
4172 [$(fast-check) && !$(cross-compiling)], add
4173 $(conformtest-header-tests) instead of
4174 $(objpfx)run-conformtest.out.
4175 (generated): Add $(conformtest-header-list-base). If
4176 [$(fast-check) && !$(cross-compiling)], add
4177 $(conformtest-header-base). Remove previous setting.
4178 ($(conformtest-header-list-tests)): New target.
4179 (test-xfail-run-conformtest): Remove variable.
4180 ($(objpfx)run-conformtest.out): Remove target.
4181 (test-xfail-ISO11/complex.h/conform): New variable.
4182 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4183 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4184 (test-xfail-XPG3/varargs.h/conform): Likewise.
4185 (test-xfail-XPG4/varargs.h/conform): Likewise.
4186 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4187 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4188 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4189 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4190 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4191 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4192 (test-xfail-XPG3/ftw.h/conform): Likewise.
4193 (test-xfail-XPG3/grp.h/conform): Likewise.
4194 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4195 (test-xfail-XPG3/limits.h/conform): Likewise.
4196 (test-xfail-XPG3/pwd.h/conform): Likewise.
4197 (test-xfail-XPG3/search.h/conform): Likewise.
4198 (test-xfail-XPG3/signal.h/conform): Likewise.
4199 (test-xfail-XPG3/stdio.h/conform): Likewise.
4200 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4201 (test-xfail-XPG3/string.h/conform): Likewise.
4202 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4203 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4204 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4205 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4206 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4207 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4208 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4209 (test-xfail-XPG3/termios.h/conform): Likewise.
4210 (test-xfail-XPG3/time.h/conform): Likewise.
4211 (test-xfail-XPG3/unistd.h/conform): Likewise.
4212 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4213 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4214 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4215 (test-xfail-XPG4/netdb.h/conform): Likewise.
4216 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4217 (test-xfail-XPG4/signal.h/conform): Likewise.
4218 (test-xfail-XPG4/stdio.h/conform): Likewise.
4219 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4220 (test-xfail-XPG4/stropts.h/conform): Likewise.
4221 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4222 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4223 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4224 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4225 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4226 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4227 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4228 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4229 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4230 (test-xfail-XPG4/termios.h/conform): Likewise.
4231 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4232 (test-xfail-XPG4/unistd.h/conform): Likewise.
4233 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4234 (test-xfail-POSIX/sched.h/conform): Likewise.
4235 (test-xfail-POSIX/signal.h/conform): Likewise.
4236 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4237 (test-xfail-POSIX/tar.h/conform): Likewise.
4238 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4239 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4240 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4241 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4242 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4243 (test-xfail-UNIX98/sched.h/conform): Likewise.
4244 (test-xfail-UNIX98/signal.h/conform): Likewise.
4245 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4246 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4247 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4248 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4249 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4250 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4251 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4252 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4253 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4254 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4255 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4256 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4257 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4258 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4259 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4260 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4261 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4262 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4263 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4264 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4265 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4266 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4267 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4268 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4269 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4270 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4271 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4272 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4273 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4274 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4275 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4276 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4277 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4278 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4279 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4280 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4281 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4282 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4283 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4284 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4285 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4286 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4287 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4288 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4289 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4290 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4291 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4292 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4293 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4294 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4295 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4296 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4297 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4298 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4299 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4300 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4301 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4302 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4303 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4304 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4305 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4306 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4307 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4308 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4309 (conformtest-cc-flags): Likewise.
4310 ($(conformtest-header-tests): New target.
4311 * conform/check-header-lists.sh: New file.
4312 * conform/run-conformtest.sh: Remove.
4313
a00f522a
JM
4314 * conform/conformtest.pl: Allow ' and \ in values given for
4315 constants.
4316 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4317 inclusion.
4318 [POSIX] (sys/types.h): Likewise.
4319 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4320 inclusion.
4321 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4322 inclusion.
4323 * conform/data/signal.h-data (SIGIO): Remove expectation.
4324 [XPG3] (SIGBUS): Do not expect.
4325 [POSIX || XPG3] (SIGPOLL): Likewise.
4326 [POSIX || XPG3] (SIGPROF): Likewise.
4327 [POSIX || XPG3] (SIGSYS): Likewise.
4328 [XPG3] (SIGTRAP): Likewise.
4329 [POSIX || XPG3] (SIGURG): Likewise.
4330 [POSIX || XPG3] (SIGVTALRM): Likewise.
4331 [POSIX || XPG3] (SIGXCPU): Likewise.
4332 [POSIX || XPG3] (SIGXFSZ): Likewise.
4333 [POSIX] (SA_SIGINFO): Expect.
4334 [XPG3] (siginfo_t): Do not expect type or contents.
4335 [POSIX] (si_pid): Do not expect element.
4336 [POSIX] (si_uid): Likewise.
4337 [POSIX] (si_addr): Likewise.
4338 [POSIX] (si_status): Likewise.
4339 [POSIX] (si_band): Likewise.
4340 [XPG4] (si_value): Likewise.
4341 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4342 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4343 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4344 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4345 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4346 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4347 [POSIX || XPG3] (ILL_COPROC): Likewise.
4348 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4349 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4350 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4351 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4352 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4353 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4354 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4355 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4356 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4357 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4358 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4359 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4360 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4361 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4362 [POSIX || XPG3] (CLD_EXITED): Likewise.
4363 [POSIX || XPG3] (CLD_KILLED): Likewise.
4364 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4365 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4366 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4367 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4368 [POSIX || XPG3] (POLL_IN): Likewise.
4369 [POSIX || XPG3] (POLL_OUT): Likewise.
4370 [POSIX || XPG3] (POLL_MSG): Likewise.
4371 [POSIX || XPG3] (POLL_ERR): Likewise.
4372 [POSIX || XPG3] (POLL_PRI): Likewise.
4373 [POSIX || XPG3] (POLL_HUP): Likewise.
4374 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4375 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4376 (SIG*): Do not allow.
4377 [XPG3] (si_*): Likewise.
4378 [XPG3] (SI_*): Likewise.
4379 [XPG3 || XPG4] (sigev_*): Likewise.
4380 [XPG3 || XPG4] (SIGEV_*): Likewise.
4381 [XPG3 || XPG4] (sival_*): Likewise.
4382 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4383 [POSIX || XPG3] (BUS_*): Likewise.
4384 [POSIX || XPG3] (CLD_*): Likewise.
4385 [POSIX || XPG3] (FPE_*): Likewise.
4386 [POSIX || XPG3] (ILL_*): Likewise.
4387 [POSIX || XPG3] (POLL_*): Likewise.
4388 [POSIX || XPG3] (SEGV_*): Likewise.
4389 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4390 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4391 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4392 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4393 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4394 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4395 Specify type and value.
4396 (TVERSLEN): Likewise.
4397 (REGTYPE): Likewise.
4398 (AREGTYPE): Likewise.
4399 (LNKTYPE): Likewise.
4400 (SYMTYPE): Likewise.
4401 (CHRTYPE): Likewise.
4402 (BLKTYPE): Likewise.
4403 (DIRTYPE): Likewise.
4404 (FIFOTYPE): Likewise.
4405 (CONTTYPE): Likewise.
4406 (TSUID): Likewise.
4407 (TSGID): Likewise.
4408 (TSVTX): Likewise.
4409 (TUREAD): Likewise.
4410 (TUWRITE): Likewise.
4411 (TUEXEC): Likewise.
4412 (TGREAD): Likewise.
4413 (TGWRITE): Likewise.
4414 (TGEXEC): Likewise.
4415 (TOREAD): Likewise.
4416 (TOWRITE): Likewise.
4417 (TOEXEC): Likewise.
4418 [POSIX] (TSVTX): Expect constant.
4419
aa97dee1
JM
44202014-03-06 Joseph Myers <joseph@codesourcery.com>
4421
f214606a
JM
4422 * Makefile (tests): Change dependencies to ....
4423 (tests-special): ... additions to this variable.
4424 (tests): Depend on $(tests-special).
4425 * Makerules (check-abi-list): New variable.
4426 (check-abi): Depend on $(check-abi-list).
4427 [$(subdir) = elf] (tests-special): Add
4428 $(objpfx)check-abi-libc.out.
4429 [$(build-shared) = yes && subdir] (tests-special): Add
4430 $(check-abi-list).
4431 [$(build-shared) = yes && subdir] (tests): Do not depend on
4432 check-abi.
4433 * Rules (tests): Depend on $(tests-special).
4434 (xtests): Depend on $(xtests-special).
4435 * catgets/Makefile (tests): Change dependencies to ....
4436 (tests-special): ... additions to this variable.
4437 * conform/Makefile (tests): Change dependencies to ....
4438 (tests-special): ... additions to this variable.
4439 * elf/Makefile (tests): Change dependencies to ....
4440 (tests-special): ... additions to this variable.
4441 * grp/Makefile (tests): Change dependencies to ....
4442 (tests-special): ... additions to this variable.
4443 * iconv/Makefile (xtests): Change dependencies to ....
4444 (xtests-special): ... additions to this variable.
4445 * iconvdata/Makefile (tests): Change dependencies to ....
4446 (tests-special): ... additions to this variable.
4447 * intl/Makefile (tests): Change dependencies to ....
4448 (tests-special): ... additions to this variable. Also add
4449 $(objpfx)tst-gettext.out.
4450 * io/Makefile (tests): Change dependencies to ....
4451 (tests-special): ... additions to this variable.
4452 * libio/Makefile (tests): Change dependencies to ....
4453 (tests-special): ... additions to this variable.
4454 * malloc/Makefile (tests): Change dependencies to ....
4455 (tests-special): ... additions to this variable.
4456 * misc/Makefile (tests): Change dependencies to ....
4457 (tests-special): ... additions to this variable.
4458 * nptl/Makefile (tests): Change dependencies to ....
4459 (tests-special): ... additions to this variable.
4460 * nptl_db/Makefile (tests): Change dependencies to ....
4461 (tests-special): ... additions to this variable.
4462 * posix/Makefile (tests): Change dependencies to ....
4463 (tests-special): ... additions to this variable.
4464 (xtests): Change dependencies to ....
4465 (xtests-special): ... additions to this variable.
4466 * resolv/Makefile (tests): Change dependencies to ....
4467 (tests-special): ... additions to this variable.
4468 (xtests): Change dependencies to ....
4469 (xtests-special): ... additions to this variable.
4470 * stdio-common/Makefile (tests): Change dependencies to ....
4471 (tests-special): ... additions to this variable.
4472 (do-tst-unbputc): Remove target.
4473 (do-tst-printf): Likewise.
4474 * stdlib/Makefile (tests): Change dependencies to ....
4475 (tests-special): ... additions to this variable.
4476 * string/Makefile (tests): Change dependencies to ....
4477 (tests-special): ... additions to this variable.
4478 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4479 (tests-special): ... additions to this variable.
4480
81700b53
JM
4481 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4482 whole file.
4483 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4484 whole file.
4485 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4486 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4487
2ea18461
JM
4488 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4489 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4490 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4491 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4492 * conform/data/libgen.h-data [XPG3]: Likewise.
4493 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4494 * conform/data/ndbm.h-data [XPG3]: Likewise.
4495 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4496 * conform/data/netdb.h-data [XPG3]: Likewise.
4497 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4498 * conform/data/poll.h-data [XPG3]: Likewise.
4499 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4500 * conform/data/strings.h-data [XPG3]: Likewise.
4501 * conform/data/stropts.h-data [XPG3]: Likewise.
4502 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4503 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4504 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4505 Likewise.
4506 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4507 * conform/data/sys/time.h-data [XPG3]: Likewise.
4508 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4509 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4510 * conform/data/sys/un.h-data [XPG3]: Likewise.
4511 * conform/data/syslog.h-data [XPG3]: Likewise.
4512 * conform/data/ucontext.h-data [XPG3]: Likewise.
4513 * conform/data/utmpx.h-data [XPG3]: Likewise.
4514 * conform/data/varargs.h-data [UNIX98]: Enable file.
4515
355bc986
JM
4516 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4517
215db402
JM
4518 * math/libm-test.inc (struct test_f_f_data): Move expected results
4519 into structure for each rounding mode.
4520 (struct test_ff_f_data): Likewise.
4521 (struct test_ff_f_data_nexttoward): Likewise.
4522 (struct test_fi_f_data): Likewise.
4523 (struct test_fl_f_data): Likewise.
4524 (struct test_if_f_data): Likewise.
4525 (struct test_fff_f_data): Likewise.
4526 (struct test_c_f_data): Likewise.
4527 (struct test_f_f1_data): Likewise.
4528 (struct test_fF_f1_data): Likewise.
4529 (struct test_ffI_f1_data): Likewise.
4530 (struct test_c_c_data): Likewise.
4531 (struct test_cc_c_data): Likewise.
4532 (struct test_f_i_data): Likewise.
4533 (struct test_ff_i_data): Likewise.
4534 (struct test_f_l_data): Likewise.
4535 (struct test_f_L_data): Likewise.
4536 (struct test_fFF_11_data): Likewise.
4537 (RM_): New macro.
4538 (RM_FE_DOWNWARD): Likewise.
4539 (RM_FE_TONEAREST): Likewise.
4540 (RM_FE_TOWARDZERO): Likewise.
4541 (RM_FE_UPWARD): Likewise.
4542 (RUN_TEST_LOOP_f_f): Update references to expected results.
4543 (RUN_TEST_LOOP_2_f): Likewise.
4544 (RUN_TEST_LOOP_fff_f): Likewise.
4545 (RUN_TEST_LOOP_c_f): Likewise.
4546 (RUN_TEST_LOOP_f_f1): Likewise.
4547 (RUN_TEST_LOOP_fF_f1): Likewise.
4548 (RUN_TEST_LOOP_fI_f1): Likewise.
4549 (RUN_TEST_LOOP_ffI_f1): Likewise.
4550 (RUN_TEST_LOOP_c_c): Likewise.
4551 (RUN_TEST_LOOP_cc_c): Likewise.
4552 (RUN_TEST_LOOP_f_i): Likewise.
4553 (RUN_TEST_LOOP_f_i_tg): Likewise.
4554 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4555 (RUN_TEST_LOOP_f_b): Likewise.
4556 (RUN_TEST_LOOP_f_b_tg): Likewise.
4557 (RUN_TEST_LOOP_f_l): Likewise.
4558 (RUN_TEST_LOOP_f_L): Likewise.
4559 (RUN_TEST_LOOP_fFF_11): Likewise.
4560 * math/gen-libm-test.pl (parse_args): Output four copies of
4561 expected results for each test.
4562
67737b8f
JM
4563 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4564 (__ASSUME_UTIMES): Remove.
4565 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4566 (__ASSUME_UTIMES): Likewise.
4567
aa97dee1
JM
4568 * math/gen-auto-libm-tests.c: Update comment on output format.
4569 (output_for_one_input_case): Generate before-rounding and
4570 after-rounding information as conditions on output flags not
4571 floating-point format.
4572 * math/auto-libm-test-out: Regenerated.
4573 * math/gen-libm-test.pl (cond_value): New function.
4574 (or_cond_value): Use cond_value.
4575 (generate_testfile): Handle conditional exceptions.
4576
e6b6a857
JM
45772014-03-05 Joseph Myers <joseph@codesourcery.com>
4578
2f0a0f44
JM
4579 * math/libm-test.inc (max_valid_error): New variable.
4580 (init_max_error): Take new argument specifying whether function
4581 results are exactly determined. Set max_valid_error and bound
4582 other variables for errors based on this argument.
4583 (set_max_error): Do not record results above max_valid_error.
4584 (check_float_internal): Only accept errors of up to 0.5ulps if
4585 also at most max_valid_error.
4586 (START): Take new argument EXACT and pass it to init_max_error.
4587 (acos_test): Update call to START.
4588 (acos_test_tonearest): Likewise.
4589 (acos_test_towardzero): Likewise.
4590 (acos_test_downward): Likewise.
4591 (acos_test_upward): Likewise.
4592 (acosh_test): Likewise.
4593 (asin_test): Likewise.
4594 (asin_test_tonearest): Likewise.
4595 (asin_test_towardzero): Likewise.
4596 (asin_test_downward): Likewise.
4597 (asin_test_upward): Likewise.
4598 (asinh_test): Likewise.
4599 (atan_test): Likewise.
4600 (atanh_test): Likewise.
4601 (atan2_test): Likewise.
4602 (cabs_test): Likewise.
4603 (cacos_test): Likewise.
4604 (cacosh_test): Likewise.
4605 (carg_test): Likewise.
4606 (casin_test): Likewise.
4607 (casinh_test): Likewise.
4608 (catan_test): Likewise.
4609 (catanh_test): Likewise.
4610 (cbrt_test): Likewise.
4611 (ccos_test): Likewise.
4612 (ccosh_test): Likewise.
4613 (ceil_test): Likewise.
4614 (cexp_test): Likewise.
4615 (cimag_test): Likewise.
4616 (clog_test): Likewise.
4617 (clog10_test): Likewise.
4618 (conj_test): Likewise.
4619 (copysign_test): Likewise.
4620 (cos_test): Likewise.
4621 (cos_test_tonearest): Likewise.
4622 (cos_test_towardzero): Likewise.
4623 (cos_test_downward): Likewise.
4624 (cos_test_upward): Likewise.
4625 (cosh_test): Likewise.
4626 (cosh_test_tonearest): Likewise.
4627 (cosh_test_towardzero): Likewise.
4628 (cosh_test_downward): Likewise.
4629 (cosh_test_upward): Likewise.
4630 (cpow_test): Likewise.
4631 (cproj_test): Likewise.
4632 (creal_test): Likewise.
4633 (csin_test): Likewise.
4634 (csinh_test): Likewise.
4635 (csqrt_test): Likewise.
4636 (ctan_test): Likewise.
4637 (ctan_test_tonearest): Likewise.
4638 (ctan_test_towardzero): Likewise.
4639 (ctan_test_downward): Likewise.
4640 (ctan_test_upward): Likewise.
4641 (ctanh_test): Likewise.
4642 (ctanh_test_tonearest): Likewise.
4643 (ctanh_test_towardzero): Likewise.
4644 (ctanh_test_downward): Likewise.
4645 (ctanh_test_upward): Likewise.
4646 (erf_test): Likewise.
4647 (erfc_test): Likewise.
4648 (exp_test): Likewise.
4649 (exp_test_tonearest): Likewise.
4650 (exp_test_towardzero): Likewise.
4651 (exp_test_downward): Likewise.
4652 (exp_test_upward): Likewise.
4653 (exp10_test): Likewise.
4654 (exp10_test_tonearest): Likewise.
4655 (exp10_test_towardzero): Likewise.
4656 (exp10_test_downward): Likewise.
4657 (exp10_test_upward): Likewise.
4658 (pow10_test): Likewise.
4659 (exp2_test): Likewise.
4660 (expm1_test): Likewise.
4661 (expm1_test_tonearest): Likewise.
4662 (expm1_test_towardzero): Likewise.
4663 (expm1_test_downward): Likewise.
4664 (expm1_test_upward): Likewise.
4665 (fabs_test): Likewise.
4666 (fdim_test): Likewise.
4667 (floor_test): Likewise.
4668 (fma_test): Likewise.
4669 (fma_test_towardzero): Likewise.
4670 (fma_test_downward): Likewise.
4671 (fma_test_upward): Likewise.
4672 (fmax_test): Likewise.
4673 (fmin_test): Likewise.
4674 (fmod_test): Likewise.
4675 (fpclassify_test): Likewise.
4676 (frexp_test): Likewise.
4677 (hypot_test): Likewise.
4678 (ilogb_test): Likewise.
4679 (isfinite_test): Likewise.
4680 (finite_test): Likewise.
4681 (isgreater_test): Likewise.
4682 (isgreaterequal_test): Likewise.
4683 (isinf_test): Likewise.
4684 (isless_test): Likewise.
4685 (islessequal_test): Likewise.
4686 (islessgreater_test): Likewise.
4687 (isnan_test): Likewise.
4688 (isnormal_test): Likewise.
4689 (issignaling_test): Likewise.
4690 (isunordered_test): Likewise.
4691 (j0_test): Likewise.
4692 (j1_test): Likewise.
4693 (jn_test): Likewise.
4694 (ldexp_test): Likewise.
4695 (lgamma_test): Likewise.
4696 (gamma_test): Likewise.
4697 (lrint_test): Likewise.
4698 (lrint_test_tonearest): Likewise.
4699 (lrint_test_towardzero): Likewise.
4700 (lrint_test_downward): Likewise.
4701 (lrint_test_upward): Likewise.
4702 (llrint_test): Likewise.
4703 (llrint_test_tonearest): Likewise.
4704 (llrint_test_towardzero): Likewise.
4705 (llrint_test_downward): Likewise.
4706 (llrint_test_upward): Likewise.
4707 (log_test): Likewise.
4708 (log10_test): Likewise.
4709 (log1p_test): Likewise.
4710 (log2_test): Likewise.
4711 (logb_test): Likewise.
4712 (logb_test_downward): Likewise.
4713 (lround_test): Likewise.
4714 (llround_test): Likewise.
4715 (modf_test): Likewise.
4716 (nearbyint_test): Likewise.
4717 (nextafter_test): Likewise.
4718 (nexttoward_test): Likewise.
4719 (pow_test): Likewise.
4720 (pow_test_tonearest): Likewise.
4721 (pow_test_towardzero): Likewise.
4722 (pow_test_downward): Likewise.
4723 (pow_test_upward): Likewise.
4724 (remainder_test): Likewise.
4725 (drem_test): Likewise.
4726 (remainder_test_tonearest): Likewise.
4727 (drem_test_tonearest): Likewise.
4728 (remainder_test_towardzero): Likewise.
4729 (drem_test_towardzero): Likewise.
4730 (remainder_test_downward): Likewise.
4731 (drem_test_downward): Likewise.
4732 (remainder_test_upward): Likewise.
4733 (drem_test_upward): Likewise.
4734 (remquo_test): Likewise.
4735 (rint_test): Likewise.
4736 (rint_test_tonearest): Likewise.
4737 (rint_test_towardzero): Likewise.
4738 (rint_test_downward): Likewise.
4739 (rint_test_upward): Likewise.
4740 (round_test): Likewise.
4741 (scalb_test): Likewise.
4742 (scalbn_test): Likewise.
4743 (scalbln_test): Likewise.
4744 (signbit_test): Likewise.
4745 (sin_test): Likewise.
4746 (sin_test_tonearest): Likewise.
4747 (sin_test_towardzero): Likewise.
4748 (sin_test_downward): Likewise.
4749 (sin_test_upward): Likewise.
4750 (sincos_test): Likewise.
4751 (sinh_test): Likewise.
4752 (sinh_test_tonearest): Likewise.
4753 (sinh_test_towardzero): Likewise.
4754 (sinh_test_downward): Likewise.
4755 (sinh_test_upward): Likewise.
4756 (sqrt_test): Likewise.
4757 (sqrt_test_tonearest): Likewise.
4758 (sqrt_test_towardzero): Likewise.
4759 (sqrt_test_downward): Likewise.
4760 (sqrt_test_upward): Likewise.
4761 (tan_test): Likewise.
4762 (tan_test_tonearest): Likewise.
4763 (tan_test_towardzero): Likewise.
4764 (tan_test_downward): Likewise.
4765 (tan_test_upward): Likewise.
4766 (tanh_test): Likewise.
4767 (tgamma_test): Likewise.
4768 (trunc_test): Likewise.
4769 (y0_test): Likewise.
4770 (y1_test): Likewise.
4771 (yn_test): Likewise.
4772 (significand_test): Likewise.
4773
e6b6a857
JM
4774 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4775 individual tests in comment.
4776 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4777 (prev_max_error): New variable.
4778 (prev_real_max_error): Likewise.
4779 (prev_imag_max_error): Likewise.
4780 (compare_ulp_data): Don't refer to test names in comment.
4781 (find_test_ulps): Remove function.
4782 (find_function_ulps): Likewise.
4783 (find_complex_function_ulps): Likewise.
4784 (init_max_error): Take function name as argument. Look up ulps
4785 for that function.
4786 (print_ulps): Remove function.
4787 (print_max_error): Use prev_max_error instead of calling
4788 find_function_ulps.
4789 (print_complex_max_error): Use prev_real_max_error and
4790 prev_imag_max_error instead of calling find_complex_function_ulps.
4791 (check_float_internal): Take max_ulp parameter instead of calling
4792 find_test_ulps. Don't call print_ulps.
4793 (check_float): Update call to check_float_internal.
4794 (check_complex): Update calls to check_float_internal.
4795 (START): Pass argument to init_max_error.
4796 * math/gen-libm-test.pl (%results): Don't include "kind"
4797 information.
4798 (parse_ulps): Don't handle ulps of individual tests.
4799 (print_ulps_file): Likewise.
4800 (output_ulps): Likewise.
4801 * math/README.libm-test: Update.
4802 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4803 individual tests.
4804 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4805 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4806 * sysdeps/arm/libm-test-ulps: Likewise.
4807 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4808 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4809 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4810 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4811 * sysdeps/microblaze/libm-test-ulps: Likewise.
4812 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4813 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4814 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4815 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4816 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4817 * sysdeps/sh/libm-test-ulps: Likewise.
4818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4819 * sysdeps/tile/libm-test-ulps: Likewise.
4820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4821
45adef3c
JM
48222014-03-04 Joseph Myers <joseph@codesourcery.com>
4823
4824 * math/libm-test.inc (print_complex_max_error): Check separately
4825 whether real and imaginary errors are within allowed range and
4826 pass 0 to print_complex_function_ulps instead of value within
4827 allowed range.
4828
000232b9
SP
48292014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4830
d4b17258
SP
4831 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4832 formatting.
4833 (get_handles_fopen): Likewise.
4834 (do_write_test): Likewise.
4835
091eff71
SP
4836 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4837
fa3cd248
SP
4838 * libio/fileops.c (do_ftell): Use cached offset when
4839 available.
4840 * libio/iofwide.c (do_ftell_wide): Likewise.
4841 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4842 _IO_file_attach.
4843 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4844
000232b9
SP
4845 [BZ #16532]
4846 * libio/libioP.h (get_file_offset): New function.
4847 * libio/fileops.c (get_file_offset): Likewise.
4848 (do_ftell): Likewise.
4849 (_IO_new_file_seekoff): Split out ftell logic.
4850 * libio/wfileops.c (do_ftell_wide): Likewise.
4851 (_IO_wfile_seekoff): Split out ftell logic.
4852 * libio/tst-ftell-active-handler.c: New test case.
4853 * libio/Makefile (tests): Add it.
4854
116f4d1a
RM
48552014-03-03 Roland McGrath <roland@hack.frob.com>
4856
4857 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4858 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4859
532a6035
SP
48602014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4861
4862 [BZ #16639]
4863 * nscd/connections.c (nscd_init): Call do_exit.
4864 (start_threads): Call do_exit and notify_parent.
4865 (begin_drop_privileges): Call do_exit.
4866 (finish_drop_privileges): Likewise.
4867 * nscd/selinux.c (preserve_capabilities): Likewise.
4868 (install_real_capabilities): Likewise.
4869 (nscd_selinux_enabled): Likewise.
4870 (avc_create_thread): Likewise.
4871 (avc_alloc_lock): Likewise.
4872 (nscd_avc_init): Likewise.
4873 * nscd/nscd.c (parent_fd): New static variable.
4874 (main): Create a pipe between parent and child processes.
4875 Skip closing parent_fd.
4876 (monitor_child): New function.
4877 (do_exit): Likewise.
4878 (notify_parent): Likewise.
4879 * nscd/nscd.h (notify_parent): Likewise.
4880 (do_exit): Likewise.
4881
d6285c9f
CD
48822014-03-03 Carlos O'Donell <carlos@redhat.com>
4883
4884 * malloc/malloc.c (__libc_calloc): Revert last change.
4885
2b85d2a0
AZ
48862014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4887
4888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4889
c7debbdf
RS
48902014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4891
4892 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4894 implementation.
4895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4896 (__libc_ifunc_impl_list): Likewise.
4897 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4898 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4899 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4900 * string/strrchr.c: Define STRRCHR.
4901
235eed86
OB
49022014-02-28 Ondřej Bílka <neleai@seznam.cz>
4903
4904 * benchtest/bench-strtok.c (simple_strtok): Delete.
4905 (strtok_string): Use as benchmark.
4906 * string/strtok (STRTOK): New macro.
4907
8e25d1e7
CD
49082014-02-28 Carlos O'Donell <carlos@redhat.com>
4909
ef563f92
CD
4910 * manual/threads.texi: Add header and standard comments to all
4911 functions.
4912
8e25d1e7
CD
4913 * elf/dl-lookup.c (check_match): New function.
4914 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4915 (do_lookup_x): Remove nested function check_match. Use non-nested
4916 function check_match.
4917
ff71cc37
RM
49182014-02-28 Roland McGrath <roland@hack.frob.com>
4919
f08e9a26
RM
4920 * csu/Makefile (generated, before-compile): Use += rather than =.
4921 * catgets/Makefile (generated, generated-dirs): Likewise.
4922 * debug/Makefile (generated): Likewise.
4923 * dlfcn/Makefile (generated): Likewise.
4924 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4925 * iconvdata/Makefile (before-compile, generated): Likewise.
4926 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4927 * libio/Makefile (generated): Likewise.
4928 * malloc/Makefile (generated): Likewise.
4929 * manual/Makefile (generated, generated-dirs): Likewise.
4930 * misc/Makefile (generated): Likewise.
4931 * posix/Makefile (generated): Likewise.
4932 * resolv/Makefile (generated): Likewise.
4933 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4934 * timezone/Makefile (generated, generated-dirs): Likewise.
4935
ff71cc37
RM
4936 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4937
fe13a20c
AZ
49382014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4939
57f41c40
AS
4940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4941 power8 implementation.
4942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4943 file: POWER8 llround ifunc implementation.
4944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4945 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4946 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4947 POWER8 llround implementation.
4948
57f41c40
AS
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4950 power8 implementation.
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4952 file: POWER8 llrint ifunc implementation.
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4954 Add POWER8 implementation.
1ad8950a
AZ
4955 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4956 POWER8 llrint implementation.
4957
57f41c40
AS
4958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4959 power8 implementation.
4960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4961 file: POWER8 finite ifunc implementation.
4962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4963 Add POWER8 implementation.
cac626d6
AZ
4964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4965 Likewise.
4966 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4967 POWER8 finite implementation.
4968 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4969
57f41c40
AS
4970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4971 power8 implementation.
4972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4973 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4975 POWER8 implementation.
4976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4977 Likewise.
57f41c40
AS
4978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4979 isinf implementation.
4393fc11
AZ
4980 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4981
57f41c40
AS
4982 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4983 (INIT_ARCH): Add hwcap2 initialization.
4984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4985 power8 implementation.
4986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4987 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4989 POWER8 implementation.
4990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4991 Likewise.
57f41c40
AS
4992 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4993 isnan implementation.
487972ae
AZ
4994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4995
7d92b787
JY
49962014-02-27 Joey Ye <joey.ye@arm.com>
4997
4998 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4999 (_FP_NANFRAC_Q): Set to zero.
5000
1cadc858
SP
50012014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 [BZ #16623]
5004 * math/auto-libm-test-in: New test inputs.
5005 * math/auto-libm-test-out: Regenerate.
5006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5007 and DA.
5008 (__cos): Likewise.
5009 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5010
f8c17e79
JM
50112014-02-27 Joseph Myers <joseph@codesourcery.com>
5012
5013 * scripts/evaluate-test.sh: Take new argument indicating whether
5014 failure is expected.
5015 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5016 indicating whether failure is expected.
5017 * conform/Makefile (test-xfail-run-conformtest): New variable.
5018 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5019 level.
5020 * posix/Makefile (test-xfail-annexc): New variable.
5021 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5022
a5f891ac
JM
50232014-02-26 Joseph Myers <joseph@codesourcery.com>
5024
5025 * argp/Makefile: Include Makeconfig immediately after defining
5026 subdir.
5027 * assert/Makefile: Likewise.
5028 * benchtests/Makefile: Likewise.
5029 * catgets/Makefile: Likewise.
5030 * conform/Makefile: Likewise.
5031 * crypt/Makefile: Likewise.
5032 * csu/Makefile: Likewise.
5033 (all): Remove target.
5034 * ctype/Makefile: Include Makeconfig immediately after defining
5035 subdir.
5036 * debug/Makefile: Likewise.
5037 * dirent/Makefile: Likewise.
5038 * dlfcn/Makefile: Likewise.
5039 * gmon/Makefile: Likewise.
5040 * gnulib/Makefile: Likewise.
5041 * grp/Makefile: Likewise.
5042 * gshadow/Makefile: Likewise.
5043 * hesiod/Makefile: Likewise.
5044 * hurd/Makefile: Likewise.
5045 (all): Remove target.
5046 * iconvdata/Makefile: Include Makeconfig immediately after
5047 defining subdir.
5048 * inet/Makefile: Likewise.
5049 * intl/Makefile: Likewise.
5050 * io/Makefile: Likewise.
5051 * libio/Makefile: Likewise.
5052 (all): Remove target.
5053 * locale/Makefile: Include Makeconfig immediately after defining
5054 subdir.
5055 * login/Makefile: Likewise.
5056 * mach/Makefile: Likewise.
5057 (all): Remove target.
5058 * malloc/Makefile: Include Makeconfig immediately after defining
5059 subdir.
5060 (all): Remove target.
5061 * manual/Makefile: Include Makeconfig immediately after defining
5062 subdir.
5063 * math/Makefile: Likewise.
5064 * misc/Makefile: Likewise.
5065 * nis/Makefile: Likewise.
5066 * nss/Makefile: Likewise.
5067 * po/Makefile: Likewise.
5068 (all): Remove target.
5069 * posix/Makefile: Include Makeconfig immediately after defining
5070 subdir.
5071 * pwd/Makefile: Likewise.
5072 * resolv/Makefile: Likewise.
5073 * resource/Makefile: Likewise.
5074 * rt/Makefile: Likewise.
5075 * setjmp/Makefile: Likewise.
5076 * shadow/Makefile: Likewise.
5077 * signal/Makefile: Likewise.
5078 * socket/Makefile: Likewise.
5079 * soft-fp/Makefile: Likewise.
5080 * stdio-common/Makefile: Likewise.
5081 * stdlib/Makefile: Likewise.
5082 * streams/Makefile: Likewise.
5083 * string/Makefile: Likewise.
5084 * sunrpc/Makefile: Likewise.
5085 (all): Remove target.
5086 * sysvipc/Makefile: Include Makeconfig immediately after defining
5087 subdir.
5088 * termios/Makefile: Likewise.
5089 * time/Makefile: Likewise.
5090 * timezone/Makefile: Likewise.
5091 (all): Remove target.
5092 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5093 subdir.
5094 * wctype/Makefile: Likewise.
5095
5b456e9d
SE
50962014-02-26 Steve Ellcey <sellcey@mips.com>
5097
5098 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5099 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5100 (libc_feholdexcept_setround_mips): Ditto.
5101 (libc_feholdsetround): New.
5102 (libc_feholdsetroundf): New.
5103 (libc_feholdsetroundl): New.
5104 (libc_feupdateenv_test_mips): New.
5105 (libc_feupdateenv_test): New.
5106 (libc_feupdateenv_testf): New.
5107 (libc_feupdateenv_testl): New.
5108 (libc_feresetround): New.
5109 (libc_feresetroundf): New.
5110 (libc_feresetroundl): New.
5111 (libc_fetestexcept_mips): New.
5112 (libc_fetestexcept): New.
5113 (libc_fetestexceptf): New.
5114 (libc_fetestexceptl): New.
5115 (HAVE_RM_CTX): New.
5116 (libc_feholdexcept_setround_mips_ctx): New.
5117 (libc_feholdexcept_setround_ctx): New.
5118 (libc_feholdexcept_setroundf_ctx): New.
5119 (libc_feholdexcept_setroundl_ctx): New.
5120 (libc_fesetenv_mips_ctx): New.
5121 (libc_fesetenv_ctx): New.
5122 (libc_fesetenv_ctxf): New.
5123 (libc_fesetenv_ctxl): New.
5124 (libc_feupdateenv_mips_ctx): New.
5125 (libc_feupdateenv_ctx): New.
5126 (libc_feupdateenvf_ctx): New.
5127 (libc_feupdateenvl_ctx): New.
5128 (libc_feholdsetround_mips_ctx): New.
5129 (libc_feholdsetround_ctx): New.
5130 (libc_feholdsetroundf_ctx): New.
5131 (libc_feholdsetroundl_ctx): New.
5132 (libc_feresetround_mips_ctx): New.
5133 (libc_feresetround_ctx): New.
5134 (libc_feresetroundf_ctx): New.
5135 (libc_feresetroundl_ctx): New.
5136
085d0e35
CD
51372014-02-26 Carlos O'Donell <carlos@redhat.com>
5138
f067bf1f
CD
5139 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5140
085d0e35
CD
5141 * manual/ipc.texi: New file.
5142 * manual/Makefile (chapters): Add ipc.
5143 * manual/job.texi: Add "Inter-Process Communication" to next.
5144 * manual/process.texi: Add "Inter-Process Communication" to prev.
5145
86e58c08
AZ
51462014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5149
4248f0da
OB
51502014-02-26 Ondřej Bílka <neleai@seznam.cz>
5151
5152 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5153
cf822e3c
OB
5154 * manual/arith.texi: Fix spaces after sentences.
5155 * manual/charset.texi: Likewise.
5156 * manual/errno.texi: Likewise.
5157 * manual/install.texi: Likewise.
5158 * manual/llio.texi: Likewise.
5159 * manual/locale.texi: Likewise.
5160 * manual/maint.texi: Likewise.
5161 * manual/math.texi: Likewise.
5162 * manual/memory.texi: Likewise.
5163 * manual/message.texi: Likewise.
5164 * manual/probes.texi: Likewise.
5165 * manual/resource.texi: Likewise.
5166 * manual/signal.texi: Likewise.
5167 * manual/socket.texi: Likewise.
5168 * manual/stdio.texi: Likewise.
5169 * manual/string.texi: Likewise.
5170 * manual/time.texi: Likewise.
5171 * manual/users.texi: Likewise.
5172
ade40b10
CD
51732014-02-25 Carlos O'Donell <carlos@redhat.com>
5174
5175 [BZ #16632]
5176 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5177 _DEFAULT_SOURCE is defined.
5178
d0503676
CD
51792014-02-25 Ulrich Drepper <drepper@gmail.com>
5180 Carlos O'Donell <carlos@redhat.com>
5181
5182 [BZ #16613]
5183 * elf/dl-tls.c (_dl_count_modids): New function.
5184 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5185 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5186 audit library and increment generation counter.
5187 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5188 * elf/tst-audit9.c: New file.
5189 * elf/tst-auditmod9a.c: New file.
5190 * elf/tst-auditmod9b.c: New file.
5191 * elf/Makefile: Add rules to build and run tst-audit9.
5192
4cbf380c
FW
51932014-02-25 Florian Weimer <fweimer@redhat.com>
5194
5195 [BZ #15347]
5196 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5197
80a56cc3
WN
51982014-02-25 Will Newton <will.newton@linaro.org>
5199
5200 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5201 (__longjmp): Restore sp and lr before restoring callee
5202 saved registers. Add longjmp and longjmp_target
5203 SystemTap probe point.
5204 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5205 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5206 Define to zero to match jmpbuf layout.
5207 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5208 (__sigsetjmp): Save sp and lr before saving callee
5209 saved registers. Add setjmp SystemTap probe point.
5210
3ea0f74e
SL
52112014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5212
5213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5214
b04acb26
AS
52152014-02-24 Andreas Schwab <schwab@suse.de>
5216
5217 [BZ #15804]
5218 * elf/pldd.c (wait_for_ptrace_stop): New function.
5219 (main): Call it after attaching.
5220
098ad55c
RM
52212014-02-22 Roland McGrath <roland@hack.frob.com>
5222
d4ec6ae1
RM
5223 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5224 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5225 Versions files is now verboten.
5226 * hurd/Versions (libc: GLIBC_2.0):
5227 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5228 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5229 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5230 * mach/Versions: Likewise.
5231
098ad55c
RM
5232 * csu/Versions: Remove unused %include.
5233 * resolv/Versions: Likewise.
5234
acd7f096
JM
52352014-02-21 Joseph Myers <joseph@codesourcery.com>
5236
f0881698
JM
5237 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5238 ($(objpfx)check-local-headers.out): Likewise.
5239 ($(objpfx)begin-end-check.out): Likewise.
5240 * Makerules (check-abi-%.out): Likewise.
5241 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5242 ($(objpfx)test2.cat): Likewise.
5243 ($(objpfx)de/libc.cat): Likewise.
5244 ($(objpfx)test-gencat.out): Likewise.
5245 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5246 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5247 ($(objpfx)noload-mem): Likewise.
5248 ($(objpfx)tst-pathopt.out): Likewise.
5249 ($(objpfx)tst-rtld-load-self.out): Likewise.
5250 ($(objpfx)tst-array1-cmp.out): Likewise.
5251 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5252 ($(objpfx)tst-array2-cmp.out): Likewise.
5253 ($(objpfx)tst-array3-cmp.out): Likewise.
5254 ($(objpfx)tst-array4-cmp.out): Likewise.
5255 ($(objpfx)tst-array5-cmp.out): Likewise.
5256 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5257 ($(objpfx)check-textrel.out): Likewise.
5258 ($(objpfx)check-execstack.out): Likewise.
5259 ($(objpfx)check-localplt.out): Likewise.
5260 ($(objpfx)order2-cmp.out): Likewise.
5261 ($(objpfx)tst-leaks1-mem): Likewise.
5262 ($(objpfx)tst-leaks1-static-mem): Likewise.
5263 ($(objpfx)tst-initorder-cmp.out): Likewise.
5264 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5265 ($(objpfx)tst-unused-dep.out): Likewise.
5266 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5267 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5268 * iconv/Makefile (test-iconvconfig): Likewise.
5269 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5270 ($(objpfx)iconv-test.out): Likewise.
5271 ($(objpfx)tst-tables.out): Likewise.
5272 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5273 ($(objpfx)tst-gettext.out): Likewise.
5274 ($(objpfx)tst-translit.out): Likewise.
5275 ($(objpfx)tst-gettext2.out): Likewise.
5276 ($(objpfx)tst-gettext4.out): Likewise.
5277 ($(objpfx)tst-gettext6.out): Likewise.
5278 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5279 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5280 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5281 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5282 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5283 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5284 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5285 ($(objpfx)wordexp-tst.out): Likewise.
5286 ($(objpfx)annexc.out): Likewise.
5287 ($(objpfx)tst-fnmatch-mem): Likewise.
5288 ($(objpfx)bug-regex2-mem): Likewise.
5289 ($(objpfx)bug-regex14-mem): Likewise.
5290 ($(objpfx)bug-regex21-mem): Likewise.
5291 ($(objpfx)bug-regex31-mem): Likewise.
5292 ($(objpfx)tst-vfork3-mem): Likewise.
5293 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5294 ($(objpfx)tst-pcre-mem): Likewise.
5295 ($(objpfx)tst-boost-mem): Likewise.
5296 ($(objpfx)tst-getconf.out): Likewise.
5297 ($(objpfx)bug-ga2-mem): Likewise.
5298 ($(objpfx)bug-glob2-mem): Likewise.
5299 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5300 ($(objpfx)mtrace-tst-leaks2): Likewise.
5301 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5302 ($(objpfx)tst-printf.out): Likewise.
5303 ($(objpfx)tst-setvbuf1.out): Likewise.
5304 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5305 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5306 ($(objpfx)tst-fmtmsg.out): Likewise.
5307 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5308 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5309
acd7f096
JM
5310 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5311 * bits/sigaction.h [__USE_MISC]: Likewise.
5312 * bits/waitstatus.h: Update #endif comments.
5313 * ctype/ctype.h: Likewise.
5314 * dirent/dirent.h: Likewise.
5315 [__USE_MISC]: Remove redundant conditionals.
5316 * grp/grp.h: Update #endif comments.
5317 [__USE_GNU]: Remove redundant conditionals.
5318 [__USE_MISC]: Likewise.
5319 * inet/netinet/in.h [__USE_GNU]: Likewise.
5320 * io/sys/stat.h [__USE_MISC]: Likewise.
5321 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5322 * libio/bits/stdio.h: Update #endif comments.
5323 [__USE_MISC]: Remove redundant conditionals.
5324 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5325 * libio/stdio.h: Update #endif comments.
5326 [__USE_MISC]: Remove redundant conditionals.
5327 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5328 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5329 * math/math.h: Update #else and #endif comments.
5330 [__USE_MISC]: Remove redundant conditionals.
5331 * misc/sys/uio.h: Update #endif comments.
5332 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5333 * posix/glob.h [__USE_MISC]: Likewise.
5334 * posix/sys/types.h: Update #endif comments.
5335 [__USE_MISC]: Remove redundant conditionals.
5336 * posix/sys/wait.h: Update #endif comments.
5337 [__USE_MISC]: Remove redundant conditionals.
5338 * posix/unistd.h: Update #endif comments.
5339 [__USE_MISC]: Remove redundant conditionals.
5340 * pwd/pwd.h [__USE_GNU]: Likewise.
5341 [__USE_MISC]: Likewise.
5342 * resolv/netdb.h [__USE_GNU]: Likewise.
5343 * signal/signal.h: Update #endif comments.
5344 [__USE_MISC]: Remove redundant conditionals.
5345 * stdlib/stdlib.h: Update #else and #endif comments.
5346 [__USE_MISC]: Remove redundant conditionals.
5347 [__USE_GNU]: Likewise.
5348 * string/bits/string2.h [__USE_MISC]: Likewise.
5349 * string/string.h: Update #endif comments.
5350 [__USE_MISC]: Remove redundant conditionals.
5351 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5352 Likewise.
5353 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5354 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5355 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5356 Likewise.
5357 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5358 Likewise.
5359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5360 comments.
5361 [__USE_MISC]: Remove redundant conditionals.
5362 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5363 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5364 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5365 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5366 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5367 Likewise.
5368 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5369 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5370 Likewise.
5371 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5372 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5377 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5378 Likewise.
5379 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5380 Likewise.
5381 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5382 * sysdeps/x86/bits/string.h: Update #endif comments.
5383 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5384 conditionals.
5385 * time/sys/time.h: Update #endif comments.
5386 * time/time.h: Likewise.
5387 [__USE_MISC]: Remove redundant conditionals.
5388
a5d82e4e
YG
53892014-02-21 Yury Gribov <y.gribov@samsung.com>
5390
5391 [BZ #16600]
5392 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5393
9a80491d
AS
53942014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5395
5396 * Versions.def (librt): Add GLIBC_2.17.
5397
105fa381
AC
53982014-02-21 Adam Conrad <adconrad@0c3.net>
5399
5400 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5401 synonym for _SYS_AUXV_H to allow direct inclusion.
5402 * sysdeps/sparc/bits/hwcap.h: Likewise.
5403 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5404 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5405 * sysdeps/sparc/sysdep.h: Likewise.
5406
b8cd1c4e
SP
54072014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
5409 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5410
bd939d23
RS
54112014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5412
5413 * benchtests/bench-strrchr.c: Print length instead of position.
5414
5d7b57ca
JM
54152014-02-20 Joseph Myers <joseph@codesourcery.com>
5416
bc688c10
JM
5417 [BZ #16611]
5418 * sysdeps/unix/sysv/linux/kernel-features.h
5419 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5420 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5421 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5422 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5423 Likewise.
5424 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5425 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5426 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5427 (__ASSUME_SENDMMSG): Define instead of using previous
5428 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5429 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5430 (__ASSUME_SENDMMSG_SYSCALL): Define.
5431 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5432 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5433 Likewise.
5434 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5436 Likewise.
5437 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5438 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5439 Likewise.
5440 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5441 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5442 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5443 [__ASSUME_SENDMMSG]: Change conditionals to
5444 [__ASSUME_SENDMMSG_SOCKETCALL].
5445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5446 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5447 Define.
5448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5449 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5450 Likewise.
5451 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5452 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5453 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5454 [!__ASSUME_SENDMMSG]: Change conditional to
5455 [!__ASSUME_SENDMMSG_SOCKETCALL].
5456 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5457 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5458 Define.
5459
0e31b18c
JM
5460 [BZ #16610]
5461 * sysdeps/unix/sysv/linux/kernel-features.h
5462 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5463 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5464 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5465 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5466 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5467 [__i386__ || __sparc__]
5468 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5469 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5470 (__ASSUME_RECVMMSG): Define instead of using previous
5471 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5473 (__ASSUME_RECVMMSG_SYSCALL): Define.
5474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5476 Likewise.
5477 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5479 Likewise.
5480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5484 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5485 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5486 [__ASSUME_RECVMMSG]: Change condition to
5487 [__ASSUME_RECVMMSG_SOCKETCALL].
5488 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5490 Define.
5491 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5492 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5493 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5494 Likewise.
5495 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5496 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5497 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5498 [!__ASSUME_RECVMMSG]: Change condition to
5499 [!__ASSUME_RECVMMSG_SOCKETCALL].
5500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5501 (__ASSUME_RECVMMSG_SYSCALL): Define.
5502
dd481ccf
JM
5503 [BZ #16609]
5504 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5505 __powerpc__ || __s390__ || __sh__ || __sparc__]
5506 (__ASSUME_SOCKETCALL): Define.
5507 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5508 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5509 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5510 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5511 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5512 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5513 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5514 (__ASSUME_ACCEPT4): Define instead of using previous
5515 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5516 __powerpc__ || __sparc__ || __s390__)] condition.
5517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5518 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5519 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5520 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5521 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5522 [!__ASSUME_ACCEPT4]: Change condition to
5523 [!__ASSUME_ACCEPT4_SOCKETCALL].
5524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5525 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5526 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5528 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5529 __ASSUME_ACCEPT4_SYSCALL.
5530 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5531 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5533 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5534 __ASSUME_ACCEPT4_SYSCALL.
5535 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5536 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5537 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5538 [__ASSUME_ACCEPT4]: Change condition to
5539 [__ASSUME_ACCEPT4_SOCKETCALL].
5540 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5541 (__ASSUME_SOCKETCALL): Define.
5542 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5544 (__ASSUME_SOCKETCALL): Define.
5545 (__ASSUME_ACCEPT4): Remove.
5546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5547 Define.
5548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5549 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5550 Likewise.
5551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5552 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5553
5d7b57ca
JM
5554 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5555 macro.
5556 (HWCAP_ARM_LPAE): Likewise.
5557 (HWCAP_ARM_EVTSTRM): Likewise.
5558 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5559 Add vpfd32, lpae and evtstrm.
5560 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5561 Increase to 22.
5562
63689d61
JM
55632014-02-19 Joseph Myers <joseph@codesourcery.com>
5564
5565 * math/auto-libm-test-in: Add tests of clog10.
5566 * math/auto-libm-test-out: Regenerated.
5567 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5568 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570
ab09bf61
AS
55712014-02-18 Andreas Schwab <schwab@suse.de>
5572
5573 [BZ #16574]
5574 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5575 Store non-zero if the second buffer was newly allocated.
5576 (send_dg): Likewise.
5577 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5578 to send_vc and send_dg.
5579 (res_nsend): Pass NULL for ansp2_malloced.
5580 * resolv/res_query.c (__libc_res_nquery): Add parameter
5581 answerp2_malloced and pass it down to __libc_res_nsend.
5582 (res_nquery): Pass additional NULL to __libc_res_nquery.
5583 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5584 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5585 second answer buffer if answerp2_malloced was set.
5586 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5587 (__libc_res_nquerydomain): Add parameter
5588 answerp2_malloced and pass it down to __libc_res_nquery.
5589 (res_nquerydomain): Pass additional NULL to
5590 __libc_res_nquerydomain.
5591 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5592 additional NULL to __libc_res_nsend and __libc_res_nquery.
5593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5594 additional NULL to __libc_res_nsearch.
5595 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5596 parameter of __libc_res_nsearch to check for separately allocated
5597 second buffer.
5598 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5599 __libc_res_nquery.
5600 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5601 additional NULL to __libc_res_nquery.
5602 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5603 __libc_res_nsearch.
5604 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5605 * include/resolv.h: Update prototypes of __libc_res_nquery,
5606 __libc_res_nsearch, __libc_res_nsend.
5607
a4fb7861
JM
56082014-02-18 Joseph Myers <joseph@codesourcery.com>
5609
c6af2d89
JM
5610 * math/auto-libm-test-in: Add tests of fma.
5611 * math/auto-libm-test-out: Regenerated.
5612 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5613 (fma_towardzero_test_data): Likewise.
5614 (fma_downward_test_data): Likewise.
5615 (fma_upward_test_data): Likewise.
5616 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5617 mpc_mode.
5618 (rounding_modes): Add values for new field.
5619 (func_calc_method): Add value mpfr_fff_f.
5620 (func_calc_desc): Add mpfr_fff_f union field.
5621 (test_function): Add field exact_args.
5622 (FUNC): Add macro argument EXACT_ARGS.
5623 (FUNC_mpfr_f_f): Update call to FUNC.
5624 (FUNC_mpfr_f_f): Likewise.
5625 (FUNC_mpfr_ff_f): Likewise.
5626 (FUNC_mpfr_if_f): Likewise.
5627 (FUNC_mpc_c_f): Likewise.
5628 (FUNC_mpc_c_c): Likewise.
5629 (test_functions): Add fma. Update calls to FUNC.
5630 (handle_input_arg): Add argument exact_args.
5631 (add_test): Update call to handle_input_arg.
5632 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5633 (output_for_one_input_case): Update call to calc_generic_results.
5634 Recalculate exact zero results in each rounding mode.
5635
a4fb7861
JM
5636 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5637 non-negative before setting low bit.
5638 * math/auto-libm-test-in: Mark one asin test possibly having
5639 spurious underflow.
5640 * math/auto-libm-test-out: Regenerated.
5641 * sysdeps/i386/fpu/libm-test-ulps: Update.
5642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5643
ef114eaf
DH
56442014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5645
2b7f4f2c
SP
5646 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5647 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5648 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5649 * README: Add missing listing for microblaze*-*-linux-gnu.
5650
c70a4b1d
MF
56512014-02-16 Mike Frysinger <vapier@gentoo.org>
5652
5653 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5654 * sysdeps/unix/sysv/linux/ia64: Move directory from
5655 ports/sysdeps/unix/sysv/linux/ia64.
5656 * README: Update listing for ia64-*-linux-gnu.
5657
591aeaf7
TD
56582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5659 Joseph Myers <joseph@codesourcery.com>
5660
5661 * Makeconfig (test-name): New variable.
5662 (evaluate-test): Likewise.
5663 * Makerules (do-test-clean): Remove .test-result files.
5664 (common-mostlyclean): Likewise.
5665 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5666 * scripts/evaluate-test.sh: New file.
5667
6e89caf1
JM
56682014-02-14 Joseph Myers <joseph@codesourcery.com>
5669
7f98f180
JM
5670 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5671 separate $(objpfx)tst-fopenloc-cmp.out and
5672 $(objpfx)tst-fopenloc-mem.out targets.
5673 (tests): Update dependencies.
5674 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5675 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5676 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5677 (tst-rxspencer-no-utf8-ARGS): New variable.
5678 (tst-rxspencer-no-utf8-ENV): Likewise.
5679 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5680 instead of $(objpfx)tst-rxspencer-mem.
5681 ($(objpfx)tst-rxspencer-mem): Change target to
5682 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5683 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5684 * posix/tst-rxspencer-no-utf8.c: New file.
5685
6e89caf1
JM
5686 * elf/Makefile ($(objpfx)order.out): Remove rule.
5687 [$(run-built-tests) = yes] (tests): Depend on
5688 $(objpfx)order-cmp.out.
5689 ($(objpfx)order-cmp.out): New rule.
5690 [$(run-built-tests) = yes] (tests): Depend on
5691 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5692 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5693 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5694 $(objpfx)tst-array5-static-cmp.out.
5695 ($(objpfx)tst-array1.out): Remove rule.
5696 ($(objpfx)tst-array1-cmp.out): New rule.
5697 ($(objpfx)tst-array1-static.out): Remove rule.
5698 ($(objpfx)tst-array1-static-cmp.out): New rule.
5699 ($(objpfx)tst-array2.out): Remove rule.
5700 ($(objpfx)tst-array2-cmp.out): New rule.
5701 ($(objpfx)tst-array3.out): Remove rule.
5702 ($(objpfx)tst-array3-cmp.out): New rule.
5703 ($(objpfx)tst-array4.out): Remove rule.
5704 ($(objpfx)tst-array4-cmp.out): New rule.
5705 ($(objpfx)tst-array5.out): Remove rule.
5706 ($(objpfx)tst-array5-cmp.out): New rule.
5707 ($(objpfx)tst-array5-static.out): Remove rule.
5708 ($(objpfx)tst-array5-static-cmp.out): New rule.
5709 [$(run-built-tests) = yes] (tests): Depend on
5710 $(objpfx)order2-cmp.out.
5711 ($(objpfx)order2.out): Remove rule.
5712 ($(objpfx)order2-cmp.out): New rule.
5713 ($(objpfx)tst-initorder.out): Remove rule.
5714 [$(run-built-tests) = yes] (tests): Depend on
5715 $(objpfx)tst-initorder-cmp.out.
5716 ($(objpfx)tst-initorder-cmp.out): New rule.
5717 ($(objpfx)tst-initorder2.out): Remove rule.
5718 [$(run-built-tests) = yes] (tests): Depend on
5719 $(objpfx)tst-initorder2-cmp.out.
5720 ($(objpfx)tst-initorder2-cmp.out): New rule.
5721 [$(run-built-tests) = yes] (tests): Depend on
5722 $(objpfx)tst-unused-dep-cmp.out.
5723 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5724 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5725 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5726 on $(objpfx)tst-setvbuf1-cmp.out.
5727 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5728 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5729 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5730 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5731 ($(objpfx)tst-svc.out): Remove rule.
5732 ($(objpfx)tst-svc-cmp.out): New rule.
5733
ed9a38e2
JM
57342014-02-13 Joseph Myers <joseph@codesourcery.com>
5735
5736 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5737 * ctype/ctype.h [__USE_MISC]: Likewise.
5738 * dirent/dirent.h [__USE_MISC]: Likewise.
5739 * grp/grp.h [__USE_MISC]: Likewise.
5740 * io/fcntl.h [__USE_MISC]: Likewise.
5741 * io/sys/stat.h [__USE_MISC]: Likewise.
5742 * libio/stdio.h [__USE_MISC]: Likewise.
5743 * posix/unistd.h [__USE_MISC]: Likewise.
5744 * pwd/pwd.h [__USE_MISC]: Likewise.
5745 * stdlib.h [__USE_MISC]: Likewise.
5746 * string/bits/string2.h [__USE_MISC]: Likewise.
5747 * string/string.h [__USE_MISC]: Likewise.
5748 * time/time.h [__USE_MISC]: Likewise.
5749
d6680619
AS
57502014-02-13 Andreas Schwab <schwab@suse.de>
5751
5752 [BZ #16574]
5753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5754 second answer buffer if it was separately allocated.
5755
ace614b8
JM
57562014-02-12 Joseph Myers <joseph@codesourcery.com>
5757
743151ae
JM
5758 * sysdeps/mips/math-tests.h: Include <features.h>.
5759 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5760 (ROUNDING_TESTS_long_double): Do not define.
5761 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5762 (EXCEPTION_TESTS_long_double): Likewise.
5763 * sysdeps/mips/mips64/libm-test-ulps: Update.
5764
498afc54
JM
5765 * include/features.h (__USE_BSD): Remove macro definitions.
5766 (__USE_SVID): Likewise.
5767 (_BSD_SOURCE): Likewise.
5768 (_SVID_SOURCE): Likewise.
5769 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5770 from definition of _DEFAULT_SOURCE.
5771 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5772 [_DEFAULT_SOURCE].
5773 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5774 * bits/mman.h [__USE_BSD]: Likewise.
5775 * bits/termios.h [__USE_BSD]: Likewise.
5776 * bits/waitstatus.h [__USE_BSD]: Likewise.
5777 * ctype/ctype.h [__USE_SVID]: Likewise.
5778 * dirent/dirent.h [__USE_BSD]: Likewise.
5779 * grp/grp.h [__USE_SVID]: Likewise.
5780 [__USE_BSD]: Likewise.
5781 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5782 * io/fcntl.h [__USE_BSD]: Likewise.
5783 * io/ftw.h [__USE_BSD]: Likewise.
5784 * io/sys/stat.h [__USE_BSD]: Likewise.
5785 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5786 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5787 * libio/stdio.h [__USE_SVID]: Likewise.
5788 [__USE_BSD]: Likewise.
5789 * math/math.h [__USE_SVID]: Likewise.
5790 [__USE_BSD]: Likewise.
5791 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5792 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5793 * misc/search.h [__USE_SVID]: Likewise.
5794 * misc/sys/mman.h [__USE_BSD]: Likewise.
5795 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5796 * misc/sys/uio.h [__USE_BSD]: Likewise.
5797 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5798 * posix/glob.h [__USE_BSD]: Likewise.
5799 * posix/regex.h [__USE_BSD]: Likewise.
5800 * posix/sys/types.h [__USE_BSD]: Likewise.
5801 [__USE_SVID]: Likewise.
5802 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5803 * posix/sys/wait.h [__USE_BSD]: Likewise.
5804 [__USE_SVID]: Likewise.
5805 * posix/unistd.h [__USE_BSD]: Likewise.
5806 [__USE_SVID]: Likewise.
5807 * pwd/pwd.h [__USE_SVID]: Likewise.
5808 * resolv/netdb.h [__USE_BSD]: Likewise.
5809 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5810 * signal/signal.h [__USE_BSD]: Likewise.
5811 [__USE_SVID]: Likewise.
5812 * socket/sys/socket.h [__USE_BSD]: Likewise.
5813 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5814 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5815 [__USE_SVID]: Likewise.
5816 * string/bits/string2.h [__USE_BSD]: Likewise.
5817 [__USE_SVID]: Likewise.
5818 * string/bits/string3.h [__USE_BSD]: Likewise.
5819 * string/endian.h [__USE_BSD]: Likewise.
5820 * string/string.h [__USE_SVID]: Likewise.
5821 [__USE_BSD]: Likewise.
5822 * string/strings.h [__USE_BSD]: Likewise.
5823 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5824 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5825 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5826 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5827 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5828 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5829 Likewise.
5830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5831 Likewise.
5832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5833 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5834 Likewise.
5835 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5836 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5837 Likewise.
5838 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5839 Likewise.
5840 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5841 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5843 Likewise.
5844 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5845 Likewise.
5846 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5847 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5848 * termios/termios.h [__USE_BSD]: Likewise.
5849 * time/sys/time.h [__USE_BSD]: Likewise.
5850 * time/time.h [__USE_BSD]: Likewise.
5851 [__USE_SVID]: Likewise.
5852
dd7b064c
JM
5853 * Makefile (subdir_targets): Remove subdir_lint.out.
5854
a2c4c199
JM
5855 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5856 (do-tst-printf): Likewise.
5857 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5858 $(objpfx)tst-printf.out.
5859
8756f740
JM
5860 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5861
1b6dd3f1
JM
5862 * Makerules (check-abi-%): Change target to
5863 $(objpfx)check-abi-%.out.
5864 (check-abi target): Update dependencies.
5865 (check-abi-pattern variable): Redirect output of diff to $@.
5866 (check-abi variable): Likewise.
5867 * elf/Makefile (check-abi): Update dependencies.
5868
ace614b8
JM
5869 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5870 unused.
5871 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5872 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5873 subnormal range.
5874 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5875 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5876 value has largest subnormal exponent.
5877 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5878 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5879 * sysdeps/aarch64/soft-fp/sfp-machine.h
5880 (_FP_TININESS_AFTER_ROUNDING): New macro.
5881 * sysdeps/alpha/soft-fp/sfp-machine.h
5882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5883 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5884 Likewise.
5885 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5886 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5887 * sysdeps/mips/soft-fp/sfp-machine.h
5888 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5889 * sysdeps/powerpc/soft-fp/sfp-machine.h
5890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5891 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5892 Likewise.
5893 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5894 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5897 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5898 Likewise.
5899
fbfdf9cb
DAS
59002014-02-12 Dylan Alex Simon <dylan@dylex.net>
5901
5902 [BZ #16545]
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5904 model 1.
5905
68b7efaa
RH
59062014-02-12 Richard Henderson <rth@redhat.com>
5907
c70a4b1d 5908 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5909 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5910 * sysdeps/unix/sysv/linux/alpha: Move directory from
5911 ports/sysdeps/unix/sysv/linux/alpha.
5912 * README: Update listing for alpha-*-linux-gnu.
5913
cb4a2928
JM
59142014-02-11 Joseph Myers <joseph@codesourcery.com>
5915
c941736c
JM
5916 * include/features.h: Update comment documenting feature test
5917 macros.
5918 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5919 _DEFAULT_SOURCE.
5920 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5921 (_SVID_SOURCE): Likewise.
5922 (_DEFAULT_SOURCE): Update description of default features.
5923 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5924 with _GNU_SOURCE.
5925 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5926 (S_ISVTX): Likewise.
5927 * manual/math.texi (Mathematical Constants): Likewise.
5928 * manual/signal.texi (Interrupted Primitives): Likewise.
5929 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5930 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5931 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5932 Don't refer to _SVID_SOURCE in warning text.
5933
e8d8d7ec
JM
5934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5935
cb4a2928
JM
5936 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5937 already defined.
5938 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5939 * sysdeps/mips/dl-lookup.c: Remove.
5940 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5941
7e6424e3
AK
59422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5943
5944 [BZ #16447]
5945 * math/auto-libm-test-in: Add testcase for expl.
5946 * math/auto-libm-test-out: Regenerate.
5947 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5948 calculation of unsafe.
5949 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5950
75eff3fe
MS
59512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5952
5953 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5954 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5955 ports/sysdeps/unix/sysv/linux/aarch64.
5956 * README: Update listing for aarch64*-*-linux-gnu.
5957
d35f1e80
WN
59582014-02-11 Will Newton <will.newton@linaro.org>
5959
5960 * manual/probes.texi (Mathematical Function Probes): Use
5961 "triggered" instead of "hit".
5962
7b3436d4
WN
5963 * manual/probes.texi (Internal Probes): Add documentation
5964 of setjmp, longjmp and longjmp_target probes.
5965
b4f12ca3
WN
5966 * include/stap-probe.h: Add comment about probe argument
5967 format.
5968
c13a72b7
WN
5969 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5970 definition. (tr_where, tr_freehook, tr_mallochook,
5971 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5972
195b8165
DM
59732014-02-11 David S. Miller <davem@davemloft.net>
5974
5975 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5976 processing int_tests.
5977
2ad7600b
JM
59782014-02-10 Joseph Myers <joseph@codesourcery.com>
5979
5980 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5981 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5982 * sysdeps/unix/sysv/linux/mips: Move directory from
5983 ports/sysdeps/unix/sysv/linux/mips.
5984 * README: Update listing for mips-*-linux-gnu and
5985 mips64-*-linux-gnu.
5986
73588a72
AS
59872014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5988
5989 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5990 * sysdeps/unix/sysv/linux/m68k: Move directory from
5991 ports/sysdeps/unix/sysv/linux/m68k.
5992 * README: Update listing for m68k-*-linux-gnu.
5993
4372980f
CM
59942014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5995
5996 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5997 * sysdeps/unix/sysv/linux/generic: Move directory from
5998 ports/sysdeps/unix/sysv/linux/generic.
5999 * sysdeps/unix/sysv/linux/tile: Move directory from
6000 ports/sysdeps/unix/sysv/linux/tile.
6001 * README: Update listing for tile*-*-linux-gnu.
6002
a1ffb40e
OB
60032014-02-10 Ondřej Bílka <neleai@seznam.cz>
6004
57f41c40
AS
6005 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6006 __builtin_expect.
a1ffb40e
OB
6007 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6008 * catgets/open_catalog.c (__open_catalog): Likewise.
6009 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6010 * debug/confstr_chk.c: Likewise.
6011 * debug/fread_chk.c (__fread_chk): Likewise.
6012 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6013 * debug/getgroups_chk.c: Likewise.
6014 * debug/mbsnrtowcs_chk.c: Likewise.
6015 * debug/mbsrtowcs_chk.c: Likewise.
6016 * debug/mbstowcs_chk.c: Likewise.
6017 * debug/memcpy_chk.c: Likewise.
6018 * debug/memmove_chk.c: Likewise.
6019 * debug/mempcpy_chk.c: Likewise.
6020 * debug/memset_chk.c: Likewise.
6021 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6022 * debug/strcat_chk.c (__strcat_chk): Likewise.
6023 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6024 * debug/strncat_chk.c (__strncat_chk): Likewise.
6025 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6026 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6027 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6028 * debug/wcpncpy_chk.c: Likewise.
6029 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6030 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6031 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6032 * debug/wcsncpy_chk.c: Likewise.
6033 * debug/wcsnrtombs_chk.c: Likewise.
6034 * debug/wcsrtombs_chk.c: Likewise.
6035 * debug/wcstombs_chk.c: Likewise.
6036 * debug/wmemcpy_chk.c: Likewise.
6037 * debug/wmemmove_chk.c: Likewise.
6038 * debug/wmempcpy_chk.c: Likewise.
6039 * debug/wmemset_chk.c: Likewise.
6040 * dirent/scandirat.c (SCANDIRAT): Likewise.
6041 * dlfcn/dladdr1.c (dladdr1): Likewise.
6042 * dlfcn/dladdr.c (dladdr): Likewise.
6043 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6044 * dlfcn/dlerror.c (__dlerror): Likewise.
6045 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6046 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6047 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6048 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6049 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6050 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6051 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6052 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6053 Likewise.
6054 * elf/dl-conflict.c: Likewise.
6055 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6056 * elf/dl-dst.h: Likewise.
6057 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6058 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6060 * elf/dl-init.c (call_init, _dl_init): Likewise.
6061 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6062 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6063 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6064 Likewise.
a1ffb40e
OB
6065 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6066 Likewise.
6067 * elf/dl-minimal.c (__libc_memalign): Likewise.
6068 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6069 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6070 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6071 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6072 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6073 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6074 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6075 * elf/dl-writev.h (_dl_writev): Likewise.
6076 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6077 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6078 (dl_main): Likewise.
a1ffb40e
OB
6079 * elf/setup-vdso.h (setup_vdso): Likewise.
6080 * grp/compat-initgroups.c (compat_call): Likewise.
6081 * grp/fgetgrent.c (fgetgrent): Likewise.
6082 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6083 * grp/putgrent.c (putgrent): Likewise.
6084 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6085 Likewise.
6086 * hurd/hurdinit.c: Likewise.
6087 * iconvdata/8bit-gap.c (struct): Likewise.
6088 * iconvdata/ansi_x3.110.c : Likewise.
6089 * iconvdata/big5.c : Likewise.
6090 * iconvdata/big5hkscs.c : Likewise.
6091 * iconvdata/cp1255.c: Likewise.
6092 * iconvdata/cp1258.c : Likewise.
6093 * iconvdata/cp932.c : Likewise.
6094 * iconvdata/euc-cn.c: Likewise.
6095 * iconvdata/euc-jisx0213.c : Likewise.
6096 * iconvdata/euc-jp.c: Likewise.
6097 * iconvdata/euc-jp-ms.c : Likewise.
6098 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6099 * iconvdata/gb18030.c : Likewise.
6100 * iconvdata/gbbig5.c (const): Likewise.
6101 * iconvdata/gbgbk.c: Likewise.
6102 * iconvdata/gbk.c : Likewise.
6103 * iconvdata/ibm1364.c : Likewise.
6104 * iconvdata/ibm930.c : Likewise.
6105 * iconvdata/ibm932.c: Likewise.
6106 * iconvdata/ibm933.c : Likewise.
6107 * iconvdata/ibm935.c : Likewise.
6108 * iconvdata/ibm937.c : Likewise.
6109 * iconvdata/ibm939.c : Likewise.
6110 * iconvdata/ibm943.c: Likewise.
6111 * iconvdata/iso_11548-1.c: Likewise.
6112 * iconvdata/iso-2022-cn.c : Likewise.
6113 * iconvdata/iso-2022-cn-ext.c : Likewise.
6114 * iconvdata/iso-2022-jp-3.c: Likewise.
6115 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6116 * iconvdata/iso-2022-kr.c : Likewise.
6117 * iconvdata/iso646.c (gconv_end): Likewise.
6118 * iconvdata/iso_6937-2.c : Likewise.
6119 * iconvdata/iso_6937.c : Likewise.
6120 * iconvdata/iso8859-1.c: Likewise.
6121 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6122 * iconvdata/shift_jisx0213.c : Likewise.
6123 * iconvdata/sjis.c : Likewise.
6124 * iconvdata/t.61.c : Likewise.
6125 * iconvdata/tcvn5712-1.c : Likewise.
6126 * iconvdata/tscii.c: Likewise.
6127 * iconvdata/uhc.c : Likewise.
6128 * iconvdata/unicode.c (gconv_end): Likewise.
6129 * iconvdata/utf-16.c (gconv_end): Likewise.
6130 * iconvdata/utf-32.c (gconv_end): Likewise.
6131 * iconvdata/utf-7.c (base64): Likewise.
6132 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6133 * iconv/gconv_close.c (__gconv_close): Likewise.
6134 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6135 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6136 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6137 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6138 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6139 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6140 * iconv/iconv.c (iconv): Likewise.
6141 * iconv/iconv_close.c: Likewise.
6142 * iconv/loop.c (SINGLE): Likewise.
6143 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6144 * include/atomic.h: Likewise.
6145 * inet/inet6_option.c (option_alloc): Likewise.
6146 * intl/bindtextdom.c (set_binding_values): Likewise.
6147 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6148 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6149 * intl/localealias.c (read_alias_file): Likewise.
6150 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6151 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6152 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6153 * libio/fmemopen.c (fmemopen): Likewise.
6154 * libio/iofgets.c (_IO_fgets): Likewise.
6155 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6156 * libio/iofgetws.c (fgetws): Likewise.
6157 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6158 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6159 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6160 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6161 * locale/findlocale.c (_nl_find_locale): Likewise.
6162 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6163 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6164 Likewise.
6165 * locale/setlocale.c (setlocale): Likewise.
6166 * login/programs/pt_chown.c (main): Likewise.
6167 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6168 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6169 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6170 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6171 * math/e_exp2l.c: Likewise.
6172 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6173 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6174 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6175 * math/s_catan.c (__catan): Likewise.
6176 * math/s_catanf.c (__catanf): Likewise.
6177 * math/s_catanh.c (__catanh): Likewise.
6178 * math/s_catanhf.c (__catanhf): Likewise.
6179 * math/s_catanhl.c (__catanhl): Likewise.
6180 * math/s_catanl.c (__catanl): Likewise.
6181 * math/s_ccosh.c (__ccosh): Likewise.
6182 * math/s_ccoshf.c (__ccoshf): Likewise.
6183 * math/s_ccoshl.c (__ccoshl): Likewise.
6184 * math/s_cexp.c (__cexp): Likewise.
6185 * math/s_cexpf.c (__cexpf): Likewise.
6186 * math/s_cexpl.c (__cexpl): Likewise.
6187 * math/s_clog10.c (__clog10): Likewise.
6188 * math/s_clog10f.c (__clog10f): Likewise.
6189 * math/s_clog10l.c (__clog10l): Likewise.
6190 * math/s_clog.c (__clog): Likewise.
6191 * math/s_clogf.c (__clogf): Likewise.
6192 * math/s_clogl.c (__clogl): Likewise.
6193 * math/s_csin.c (__csin): Likewise.
6194 * math/s_csinf.c (__csinf): Likewise.
6195 * math/s_csinh.c (__csinh): Likewise.
6196 * math/s_csinhf.c (__csinhf): Likewise.
6197 * math/s_csinhl.c (__csinhl): Likewise.
6198 * math/s_csinl.c (__csinl): Likewise.
6199 * math/s_csqrt.c (__csqrt): Likewise.
6200 * math/s_csqrtf.c (__csqrtf): Likewise.
6201 * math/s_csqrtl.c (__csqrtl): Likewise.
6202 * math/s_ctan.c (__ctan): Likewise.
6203 * math/s_ctanf.c (__ctanf): Likewise.
6204 * math/s_ctanh.c (__ctanh): Likewise.
6205 * math/s_ctanhf.c (__ctanhf): Likewise.
6206 * math/s_ctanhl.c (__ctanhl): Likewise.
6207 * math/s_ctanl.c (__ctanl): Likewise.
6208 * math/w_pow.c: Likewise.
6209 * math/w_powf.c: Likewise.
6210 * math/w_powl.c: Likewise.
6211 * math/w_scalb.c (sysv_scalb): Likewise.
6212 * math/w_scalbf.c (sysv_scalbf): Likewise.
6213 * math/w_scalbl.c (sysv_scalbl): Likewise.
6214 * misc/error.c (error_tail): Likewise.
6215 * misc/pselect.c (__pselect): Likewise.
6216 * nis/nis_callback.c (__nis_create_callback): Likewise.
6217 * nis/nis_call.c (__nisfind_server): Likewise.
6218 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6219 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6221 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6222 * nis/nis_lookup.c (nis_lookup): Likewise.
6223 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6224 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6225 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6226 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6227 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6228 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6229 * nis/nss_compat/compat-initgroups.c (add_group)
6230 (internal_getgrent_r): Likewise.
6231 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6232 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6233 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6234 (internal_getspnam_r): Likewise.
6235 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6236 (_nss_nis_getaliasbyname_r): Likewise.
6237 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6238 (_nss_nis_getntohost_r): Likewise.
6239 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6240 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6241 (_nss_nis_getgrgid_r): Likewise.
6242 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6243 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6244 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6245 (_nss_nis_gethostbyname4_r): Likewise.
6246 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6247 (initgroups_netid): Likewise.
a1ffb40e 6248 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6249 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6250 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6251 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6252 (_nss_nis_getprotobynumber_r): Likewise.
6253 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6254 (_nss_nis_getsecretkey): Likewise.
6255 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6256 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6257 (_nss_nis_getpwuid_r): Likewise.
6258 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6259 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6260 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6261 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6262 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6263 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6264 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6265 Likewise.
57f41c40
AS
6266 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6267 (_nss_nisplus_getntohost_r): Likewise.
6268 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6269 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6270 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6271 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6272 Likewise.
57f41c40
AS
6273 * nis/nss_nisplus/nisplus-initgroups.c
6274 (_nss_nisplus_initgroups_dyn): Likewise.
6275 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6276 (_nss_nisplus_getnetbyaddr_r): Likewise.
6277 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6278 (_nss_nisplus_getprotobynumber_r): Likewise.
6279 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6280 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6281 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6282 Likewise.
57f41c40
AS
6283 * nis/nss_nisplus/nisplus-service.c
6284 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6285 (_nss_nisplus_getservbyport_r): Likewise.
6286 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6287 (_nss_nisplus_getspnam_r): Likewise.
6288 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6289 Likewise.
a1ffb40e
OB
6290 * nscd/aicache.c (addhstaiX): Likewise.
6291 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6292 * nscd/connections.c (register_traced_file, send_ro_fd)
6293 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6294 (main_loop_epoll): Likewise.
a1ffb40e
OB
6295 * nscd/grpcache.c (addgrbyX): Likewise.
6296 * nscd/hstcache.c (addhstbyX): Likewise.
6297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6298 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6299 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6300 (addinnetgrX): Likewise.
6301 * nscd/nscd-client.h (__nscd_acquire_maplock)
6302 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6303 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6304 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6305 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6306 Likewise.
6307 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6309 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6310 (__nscd_get_map_ref): Likewise.
a1ffb40e 6311 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6312 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6313 Likewise.
a1ffb40e
OB
6314 * nscd/pwdcache.c (addpwbyX): Likewise.
6315 * nscd/selinux.c (preserve_capabilities): Likewise.
6316 * nscd/servicescache.c (addservbyX): Likewise.
6317 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6318 * posix/fnmatch.c (fnmatch): Likewise.
6319 * posix/getopt.c (_getopt_internal_r): Likewise.
6320 * posix/glob.c (glob, glob_in_dir): Likewise.
6321 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6323 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6324 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6325 * resolv/res_init.c: Likewise.
6326 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6327 * resolv/res_query.c (__libc_res_nquery): Likewise.
6328 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6329 Likewise.
6330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6331 * stdio-common/perror.c (perror): Likewise.
6332 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6333 * stdio-common/tmpnam.c (tmpnam): Likewise.
6334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6335 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6336 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6337 Likewise.
a1ffb40e
OB
6338 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6339 * stdlib/putenv.c (putenv): Likewise.
6340 * stdlib/setenv.c (__add_to_environ): Likewise.
6341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6342 * stdlib/strtol_l.c (INTERNAL): Likewise.
6343 * string/memmem.c (memmem): Likewise.
6344 * string/strerror.c (strerror): Likewise.
6345 * string/strnlen.c (__strnlen): Likewise.
6346 * string/test-memmem.c (simple_memmem): Likewise.
6347 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6348 * sunrpc/pm_getport.c (__get_socket): Likewise.
6349 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6350 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6351 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6352 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6353 Likewise.
6354 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6356 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6357 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6358 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6359 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6360 Likewise.
6361 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6362 Likewise.
a1ffb40e
OB
6363 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6364 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6366 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6367 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6369 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6370 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6371 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6372 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6373 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6374 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6375 Likewise.
6376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6377 Likewise.
6378 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6379 Likewise.
6380 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6383 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6384 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6385 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6386 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6395 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6396 Likewise.
a1ffb40e
OB
6397 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6398 Likewise.
6399 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6400 Likewise.
6401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6402 Likewise.
6403 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6405 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6406 Likewise.
6407 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6408 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6409 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6410 * sysdeps/posix/sleep.c: Likewise.
6411 * sysdeps/posix/tempname.c: Likewise.
6412 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6413 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6414 Likewise.
57f41c40
AS
6415 * sysdeps/powerpc/powerpc32/dl-machine.h
6416 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6417 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6419 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6420 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6421 Likewise.
6422 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6424 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6425 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6426 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6427 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6428 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6429 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6430 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6431 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6433 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6434 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6436 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6437 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6438 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6439 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6440 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6441 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6442 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6443 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6444 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6445 Likewise.
6446 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6447 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6448 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6449 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6450 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6452 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6453 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6456 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6457 Likewise.
6458 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6459 (__posix_fallocate64_l64): Likewise.
6460 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6461 (posix_fallocate): Likewise.
57f41c40
AS
6462 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6463 Likewise.
a1ffb40e 6464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6465 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6466 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6467 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6468 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6469 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6470 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6471 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6472 (__posix_fallocate64_l64): Likewise.
6473 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6476 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6477 (__get_clockfreq): Likewise.
a1ffb40e
OB
6478 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6479 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6480 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6483 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6484 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6485 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6486 Likewise.
6487 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6488 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6489 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6490 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6492 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6493 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6494 Likewise.
6495 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6496 (posix_fallocate): Likewise.
6497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6498 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6499 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6500 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6501 (elf_machine_rela, elf_machine_rela_relative)
6502 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6503 * time/asctime.c (asctime_internal): Likewise.
6504 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6505 * time/tzset.c (__tzset_parse_tz): Likewise.
6506 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6507 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6508 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6509 * wcsmbs/wcsmbsload.h: Likewise.
6510
f3d338c9
OB
6511 [BZ #15894]
6512 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6513
57f41c40
AS
6514 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6515 (arena_get2): Remove THREAD_STATS conditionals.
6516 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6517 (__malloc_stats, int): Likewise.
bdfe308a 6518
d674667c
MF
65192014-02-08 Mike Frysinger <vapier@gentoo.org>
6520
6521 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6522 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6523
6349768c
MF
6524 * manual/setjmp.texi: Fix typos/grammar errors.
6525
0b7c7473
MF
6526 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6527 Only return early when n is <= 0. Delete unused return statement.
6528
ac8cc9e3
MF
6529 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6530 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6531 * debug/tst-longjmp_chk3.c: New file.
6532
c5bb8e23
MF
6533 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6534 (test_main): Replace code with set_fortify_handler call.
6535 * debug/test-strcpy_chk.c: Likewise.
6536 * debug/tst-chk1.c: Likewise.
6537 * debug/tst-longjmp_chk.c: Likewise.
6538 * test-skeleton.c: Include fcntl.h & paths.h
6539 (set_fortify_handler): Define.
6540
10444e42
MF
6541 * debug/tst-longjmp_chk.c: Add header comment and include
6542 ../test-skeleton.c.
6543 (do_test): Mark static.
6544 (TEST_FUNCTION): Define.
6545
1e805e8d
MF
6546 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6547 (IP_PMTUDISC_INTERFACE): Likewise.
6548 (IP_MULTICAST_IF): Likewise.
6549 (IP_MULTICAST_TTL): Likewise.
6550 (IP_MULTICAST_LOOP): Likewise.
6551 (IP_ADD_MEMBERSHIP): Likewise.
6552 (IP_DROP_MEMBERSHIP): Likewise.
6553 (IP_UNBLOCK_SOURCE): Likewise.
6554 (IP_BLOCK_SOURCE): Likewise.
6555 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6556 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6557 (IP_MSFILTER): Likewise.
6558 (MCAST_JOIN_GROUP): Likewise.
6559 (MCAST_BLOCK_SOURCE): Likewise.
6560 (MCAST_UNBLOCK_SOURCE): Likewise.
6561 (MCAST_LEAVE_GROUP): Likewise.
6562 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6563 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6564 (MCAST_MSFILTER): Likewise.
6565 (IP_MULTICAST_ALL): Likewise.
6566 (IP_UNICAST_IF): Likewise.
6567
73f79bb7
MF
6568 * timezone/Makefile: Delete $(have-ksh) check.
6569 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6570 * timezone/tzselect.ksh: Add +x mode bits.
6571
8da79b60
MF
6572 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6573 (ANON_INODE_FS_MAGIC): Likewise.
6574 (BDEVFS_MAGIC): Likewise.
6575 (BINFMTFS_MAGIC): Likewise.
6576 (BTRFS_TEST_MAGIC): Likewise.
6577 (CRAMFS_MAGIC_WEND): Likewise.
6578 (DEBUGFS_MAGIC): Likewise.
6579 (ECRYPTFS_SUPER_MAGIC): Likewise.
6580 (EXT3_SUPER_MAGIC): Likewise.
6581 (EXT4_SUPER_MAGIC): Likewise.
6582 (FUTEXFS_SUPER_MAGIC): Likewise.
6583 (HOSTFS_SUPER_MAGIC): Likewise.
6584 (HUGETLBFS_MAGIC): Likewise.
6585 (MINIX3_SUPER_MAGIC): Likewise.
6586 (MTD_INODE_FS_MAGIC): Likewise.
6587 (NILFS_SUPER_MAGIC): Likewise.
6588 (OPENPROM_SUPER_MAGIC): Likewise.
6589 (PIPEFS_MAGIC): Likewise.
6590 (PSTOREFS_MAGIC): Likewise.
6591 (QNX6_SUPER_MAGIC): Likewise.
6592 (RAMFS_MAGIC): Likewise.
6593 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6594 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6595 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6596 (SECURITYFS_MAGIC): Likewise.
6597 (SELINUX_MAGIC): Likewise.
6598 (SMACK_MAGIC): Likewise.
6599 (SOCKFS_MAGIC): Likewise.
6600 (SQUASHFS_MAGIC): Likewise.
6601 (STACK_END_MAGIC): Likewise.
6602 (TMPFS_MAGIC): Likewise.
6603 (USBDEVICE_SUPER_MAGIC): Likewise.
6604 (V9FS_MAGIC): Likewise.
6605 (XENFS_SUPER_MAGIC): Likewise.
6606 (CRAMFS_MAGIC): Fix typo in comment.
6607 (EXT2_SUPER_MAGIC): Update comment.
6608 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6609
464263cc
JM
66102014-02-08 Joseph Myers <joseph@codesourcery.com>
6611
c6bfe5c4
JM
6612 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6613 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6614 * sysdeps/unix/sysv/linux/arm: Move directory from
6615 ports/sysdeps/unix/sysv/linux/arm.
6616 * README: Update listing for arm-*-linux-gnueabi.
6617
464263cc
JM
6618 * README: Remove mention of am33.
6619
32749f6c
RM
66202014-02-07 Roland McGrath <roland@hack.frob.com>
6621
6622 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6623 than the comma operator, to avoid "rhs of comma has no effect"
6624 compiler warnings.
6625 (__sigfillset, __sigandset, __sigorset): Likewise.
6626 * include/signal.h (__sigemptyset): Likewise.
6627 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6628
d5b396c1
AM
66292014-02-07 Allan McRae <allan@archlinux.org>
6630
6631 * version.h (RELEASE): Set to "development".
6632 (VERSION): Set to "2.19.90"
6633 * NEWS: Add 2.20 section.
6634
3bfff2ed
CD
66352014-02-06 Carlos O'Donell <carlos@redhat.com>
6636
6637 [BZ #16529]
6638 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6639
ee7cc385
SP
66402014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6641
6642 * manual/contrib.texi: Update entry for Carlos O'Donell,
6643 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6644
f877c4f2
CD
66452014-02-05 Carlos O'Donell <carlos@rehdat.com>
6646
27e839f6
CD
6647 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6648
f877c4f2
CD
6649 * sysdeps/unix/sysv/linux/kernel-features.h
6650 [__LINUX_KERNEL_VERSION >= 0x020621]
6651 (__ASSUME_PROC_PID_TASK_COMM): Define.
6652
68159946
SP
66532014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6654
ba17cdbd
SP
6655 [BZ #16398]
6656 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6657 conversion when destination buffer does not have enough space.
6658 * libio/tst-ftell-partial-wide.c: New test case.
6659 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6660
68159946
SP
6661 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6662 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6663 Leonard and Allan McRae.
6664
2b528732
DM
66652014-02-04 David S. Miller <davem@davemloft.net>
6666
6667 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6668 32-bit.
6669
0ff82463
AZ
66702014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6671
57f41c40
AS
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6673 New file
c01603f7
AZ
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6675 New file
57f41c40
AS
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6677 New file.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6679 New file.
c01603f7
AZ
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6681 New file.
57f41c40
AS
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6683 New file.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6685 New file.
c01603f7
AZ
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6687 New file.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6689 New file.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6691 New file.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6693 New file.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6695 New file.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6697 New file.
6698
66992014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6700
0ff82463
AZ
6701 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6702 * shlib-versions: Likewise.
6703
1695c773
AZ
67042014-02-04 Roland McGrath <roland@hack.frob.com>
6705 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6706
6707 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6708 (abilist-pattern): New variable, set to %-le.abilist.
6709
6710 * Makerules (abilist-pattern): New variable.
6711 (vpath): Use $(abilist-pattern) in place of %.abilist.
6712 (check-abi-% pattern rule): Likewise.
6713 (check-abi, update-abi): Likewise.
6714
6c0ce4b4
EW
67152014-02-04 Eric Wong <normalperson@yhbt.net>
6716
6717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6718
481e3524
CD
67192014-02-03 Carlos O'Donell <carlos@redhat.com>
6720
6721 * manual/startup.texi: Add next, previous, and top entries for
6722 the `Program Arguments' and `Environment Variables' nodes.
6723
375592d3
AO
67242014-02-03 Alexandre Oliva <aoliva@redhat.com>
6725
6726 * manual/macros.texi: Add comments before MTASC-safety macros.
6727
f54838ba
AO
6728 * manual/users.texi: Document MTASC-safety properties.
6729
57f41c40
AS
6730 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6731 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6732 @deftypefun, and add @safety note.
6733 * manual/signal.texi: Move comments that analyze the above
6734 functions to their home place.
6735
fd3daba4
AM
67362014-02-03 Allan McRae <allan@archlinux.org>
6737
6738 * po/sl.po: Update Slovenian translation from translation project.
6739
597636d7
AO
67402014-02-02 Alexandre Oliva <aoliva@redhat.com>
6741
6742 * manual/time.texi (timegm): Add missing blank after @c.
6743 Reported by Joseph Myers <joseph@codesourcery.com>.
6744
ee196e3c
AO
67452014-02-01 Alexandre Oliva <aoliva@redhat.com>
6746
6747 * manual/check-safety.sh: New.
6748 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6749
f8d529d5
AO
6750 * manual/terminal.texi: Document MTASC-safety properties.
6751
de55fdf4
AO
6752 * manual/filesys.texi: Document MTASC-safety properties.
6753
c3299c08
AO
6754 * manual/errno.texi: Document MTASC-safety properties.
6755
06e90b14
AO
6756 * manual/intro.texi: Document safety identifiers and
6757 conditionals.
6758
1acd4371
AO
6759 * manual/string.texi (wcstok): Fix prototype.
6760 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6761
23e5b8cb
AO
6762 * manual/time.texi: Document MTASC-safety properties.
6763
11087373
AO
6764 * manual/string.texi: Document MTASC-safety properties.
6765
5da2c93d
AO
6766 * manual/threads.texi: Document MTASC-safety properties.
6767
171e9210
AO
6768 * manual/stdio.texi: Document MTASC-safety properties.
6769
d9e02532
AO
6770 * manual/syslog.texi: Document MTASC-safety properties.
6771
6af8bab7
AO
6772 * manual/sysinfo.texi: Document MTASC-safety properties.
6773
663b02d7
AO
6774 * manual/startup.texi: Document MTASC-safety properties.
6775
973f180b
AO
6776 * manual/socket.texi: Document MTASC-safety properties.
6777
8f3c25c8
AO
6778 * manual/signal.texi: Document MTASC-safety properties.
6779
542210fb
AO
67802014-01-31 Alexandre Oliva <aoliva@redhat.com>
6781
6782 * manual/setjmp.texi: Document MTASC-safety properties.
6783
433c45a2
AO
6784 * manual/search.texi: Document MTASC-safety properties.
6785
c8ce789c
AO
6786 * manual/resource.texi: Document MTASC-safety properties.
6787
19f5d29c
AO
6788 * manual/process.texi: Document MTASC-safety properties.
6789
e2dfb7f4
AO
6790 * manual/platform.texi: Document MTASC-safety properties.
6791
8c1413f5
AO
6792 * manual/pipe.texi: Document MTASC-safety properties.
6793
03483ada
AO
6794 * manual/pattern.texi: Document MTASC-safety properties.
6795
29e7e2df
AO
6796 * manual/message.texi: Document MTASC-safety properties.
6797
9f529d7c
AO
6798 [BZ #12751]
6799 * manual/memory.texi: Document MTASC-safety properties.
6800
27aaa791
AO
6801 * manual/math.texi: Document MTASC-safety properties.
6802
f2d58726
AO
6803 * manual/locale.texi: Document MTASC-safety properties.
6804
2cc3615c
AO
6805 * manual/llio.texi: Document MTASC-safety properties.
6806
d9f0ec97
AO
6807 * manual/libdl.texi: New.
6808
e7c4409a
AO
6809 * manual/lang.texi: Document MTASC-safety properties.
6810
27bdc63c
AO
6811 * manual/job.texi: Document MTASC-safety properties.
6812
a7b90ea9
AO
6813 * manual/getopt.texi: Document MTASC-safety properties.
6814
c49130e3
AO
6815 * manual/ctype.texi: Document MTASC-safety properties.
6816
0d23a5c1
MR
68172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6818
6819 [BZ #16046]
6820 * csu/libc-tls.c (static_map): Remove variable.
6821 (__libc_setup_tls): Use main executable's link map for TLS data.
6822 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6823 casing for LM_ID_BASE and GL(dl_nns).
6824 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6825 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6826 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6827 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6828 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6829 member.
6830 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6831 l_phnum members.
6832
0037bb60
AO
68332014-01-30 Alexandre Oliva <aoliva@redhat.com>
6834
6835 * manual/debug.texi: Document MTASC-safety properties.
6836
409e00bd
L
68372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 [BZ #16510]
6840 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6841 of __x86_64__ when disabling x87 inline functions.
6842
86e60666
AO
68432014-01-29 Alexandre Oliva <aoliva@redhat.com>
6844
6845 * manual/charset.texi: Document MTASC-safety properties.
6846
76167637
AO
6847 * manual/crypt.texi: Document MTASC-safety properties.
6848
e567f2a0
AO
6849 * manual/conf.texi: Document MTASC-safety properties.
6850
b719dafd
AO
6851 * manual/arith.texi: Document MTASC-safety properties.
6852
4a16c662
AO
6853 * manual/argp.texi: Document MTASC-safety properties.
6854
0a57b83e
AO
6855 * manual/macros.texi: Introduce macros to document multi
6856 thread, asynchronous signal and asynchronous cancellation
6857 safety properties.
6858 * manual/intro.texi: Introduce the properties themselves.
6859
feab2397
KK
68602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6861
6862 * sysdeps/sh/sh4/Makefile: New file.
6863
1c0d11bc
AS
68642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6865
6866 * math/gen-libm-test.pl ($srcdir): New variable.
6867 ($auto_input): Use it.
6868
af37a8a3
SP
68692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6870
d7b00f98
SP
6871 [BZ #16506]
6872 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6873 access beyond array bounds when parsing netgroups file.
6874
af37a8a3
SP
6875 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6876 the old buffer before realloc.
6877
0c00f062
AM
68782014-01-27 Allan McRae <allan@archlinux.org>
6879
6880 * po/fr.po: Update French translation from translation project.
6881
7d69a1b0
KK
68822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6883
6884 * sysdeps/sh/libm-test-ulps: Regenerate.
6885
6e697ff7
DM
68862014-01-24 David S. Miller <davem@davemloft.net>
6887
6888 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6889
9cadb35c
KK
68902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6891
6892 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6893 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6894
5d41dadf
SP
68952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6896
6897 [BZ #16474]
6898 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6899 string pointers after reallocation.
6900
0bad441c
KK
69012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6902
6903 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6904 __SH4A__ instead of __SH_FPU_ANY__.
6905
7007c661
KK
69062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6907
6908 * sysdeps/sh/fpu_control.h: New file.
6909 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6910 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6911 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6912 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6913 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6914 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6915 * sysdeps/sh/sys/ucontext.h: Remove.
6916 * sysdeps/sh/sys: Remove directory.
6917
0f0c35e4
AK
69182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6919
6920 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6921 s390/sys/ucontext.h.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6924
4959e284
L
69252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6926
6927 [BZ #15605]
6928 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6929
d98720e0
AZ
69302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 [BZ#16431]
6933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6934 Adjust the vDSO correctly for internal calls.
6935 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6936
91cbd0bc
AM
69372014-01-20 Allan McRae <allan@archlinux.org>
6938
6939 * po/ca.po: Update Catalan translation from translation project.
6940
7a02cfad
MF
69412014-01-16 Mike Frysinger <vapier@gentoo.org>
6942
6943 * sysdeps/s390/sotruss-lib.c: New file.
6944
736c304a
AZ
69452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6946
6947 [BZ#16430]
6e077ee5 6948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6949 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6950 local calls issues by not having a PLT stub required for IFUNC calls.
6951 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6952
94d0cea0
JM
69532014-01-16 Joseph Myers <joseph@codesourcery.com>
6954
6955 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6956 * math/test-fpucw-static.c: Likewise.
6957
980cb518
SP
69582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6959
6960 [BZ #16453]
6961 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6962
2393fc01
AZ
69632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964
6965 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6966 implementation for powerpc.
6967
d359bcc2
OB
69682014-01-15 Ondřej Bílka <neleai@seznam.cz>
6969
6970 [BZ #14782]
6971 * sysdeps/posix/system.c (__libc_system): Do not enable
6972 asynchronous cancellation.
6973
7beb48cb
AK
69742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6975
6976 [BZ #16427]
6977 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6978 handling only for numbers special also in the IEEE case.
6979
c20d5bf5
AK
69802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6981
6982 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6983
e83bd4ee
AM
69842014-01-11 Allan McRae <allan@archlinux.org>
6985
76d0ea69
AM
6986 * po/bg.po: Update Bulgarian translation from translation project.
6987
e83bd4ee
AM
6988 * po/de.po: Update German translation from translation project.
6989
bc2ba20a
RM
69902014-01-10 Roland McGrath <roland@hack.frob.com>
6991
6992 * sysdeps/generic/gcc-compat.h: New file.
6993
649ecea2
SP
69942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6995
6996 * benchtests/asin-inputs: Correct slow inputs.
6997 * benchtests/acos-inputs: Likewise.
6998
1b19c006
AM
69992014-01-10 Allan McRae <allan@archlinux.org>
7000
a46dab08
AM
7001 * po:sv.po: Update Swedish translation from translation project.
7002
421df74a
AM
7003 * po/vi.po: Update Vietnamese translation from translation project.
7004
d61c51a7
AM
7005 * po/eo.po: Update Esperanto translation from translation project.
7006
0339a319
AM
7007 * po/cs.po: Update Czech translation from translation project.
7008
94ad3e99
AM
7009 * po/nl.po: Update Dutch translation from translation project.
7010
e349ca71
AM
7011 * po/pl.po: Update Polish translation from translation project.
7012
ddf930c1
AM
7013 * po/ru.po: Update Russian translation from translation project.
7014
1b19c006
AM
7015 * po/uk.po: Update Ukrainian translation from translation project.
7016
9f236c49
BM
70172014-01-08 Brooks Moses <bmoses@google.com>
7018
7019 * elf/dl-load.c: Fix comment typo.
7020
cd6701cf
CD
70212014-01-08 Carlos O'Donell <carlos@redhat.com>
7022
7023 * po/header.pot: Rename to...
7024 * po/pot.header: ... this.
7025 * po/Makefile: Use pot.header.
7026
66671c84
YK
70272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7028 Maxim Kuvyrkov <maxim@kugelworks.com>
7029
7030 [BZ #16394]
cd6701cf
CD
7031 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7032 SRC and DEST against LEN.
66671c84 7033
38f34581
AZ
70342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035
7036 [BZ #16414]
7037 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7038 implementation.
7039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7040
70412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7042
7043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044
4c327f2a
JM
70452014-01-08 Joseph Myers <joseph@codesourcery.com>
7046
7047 [BZ #16408]
7048 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7049 for large positive arguments.
7050
b821f414
JM
70512014-01-07 Joseph Myers <joseph@codesourcery.com>
7052
1f0f2067
JM
7053 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7054
a5a326f6
JM
7055 * math/auto-libm-test-in: Mark various tests with
7056 xfail-rounding:ldbl-128ibm.
7057 * math/auto-libm-test-out: Regenerated.
7058
b821f414
JM
7059 [BZ #16407]
7060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7061 Increase overflow threshold.
7062
94c8a4bc
OB
70632014-01-07 Ondřej Bílka <neleai@seznam.cz>
7064
7065 [BZ #14286]
7066 * stdio-common/vfprintf.c: Check for integer overflow.
7067
87ded0c3
AK
70682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7069
7070 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7071 the first argument and return value of __tls_get_addr_internal.
7072
c5eebdd0
AK
70732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7074
7075 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7076 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7077
05d138ef
AK
70782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7079
7080 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7081 * sysdeps/s390/rtld-global-offsets.sym: New file.
7082 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7083 GLIBC_2.19 symbol.
7084 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7085 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7086 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7087 ... this.
7088 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7089 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7090 ... this.
7091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7092 Regenerate.
7093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7094 Regenerate.
7095 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7096 halfs of GPRs for high_gprs contexts.
7097 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7098 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7099 field.
7100 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7101 uc_flags field.
7102 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7103 64 bit versions:
7104 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7105 for high GPRs (uc_high_gprs) and for future extensions
7106 (__reserved).
7107 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7108 for future extensions (__reserved).
7109 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7110 64 bit versions:
7111 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7112 SC_HIGHGPRS offset definition.
7113 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7114 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7115
93a45ff1
AK
7116 * Versions.def: Add GLIBC_2.19 for libpthread.
7117 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7118 siglongjmp for libpthread with GLIBC_2.19 symver.
7119 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7120 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7121 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7122 * sysdeps/s390/__longjmp.c: New file.
7123 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7124 * sysdeps/s390/longjmp.c: New file.
7125 * sysdeps/s390/setjmp.S: New file.
7126 * sysdeps/s390/sigjmp.S: New file.
7127 * sysdeps/s390/v1-longjmp.c: New file.
7128 * sysdeps/s390/v1-setjmp.h: New file.
7129 * sysdeps/s390/v1-sigjmp.c: New file.
7130 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7131 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7132 GLIBC_2.19 version.
7133 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7134 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7135 versioned symbols for ____longjmp_chk.
7136 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7137 Likewise.
7138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7139 Regenerate.
7140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7141 Regenerate.
7142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7143 Regenerate.
7144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7145 Regenerate.
7146 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7147 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7148 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7149 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7150 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7151 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7152 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7153 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7154 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7155 * sysdeps/s390/rtld-__longjmp.c: New file.
7156 * sysdeps/s390/rtld-setjmp.S: New file.
7157
eb3fc44b
JM
71582014-01-06 Joseph Myers <joseph@codesourcery.com>
7159
7160 [BZ #16400]
7161 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7162 Return -__logl (x) for small positive arguments without evaluating
7163 a polynomial.
7164
9341dde4
MF
71652014-01-06 Mike Frysinger <vapier@gentoo.org>
7166
7167 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7168 Rename to ...
7169 (__ptrace_peeksiginfo_args): ... this.
7170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7173
4cff0293
AM
71742014-01-06 Allan McRae <allan@archlinux.org>
7175
7176 * inet/netinet/in.h: Fix typo in comment.
7177
75595dcf
AJ
71782014-01-05 Andreas Jaeger <aj@suse.de>
7179
7180 * sysdeps/i386/fpu/libm-test-ulps: Update.
7181
79c1e109
AM
71822014-01-05 Allan McRae <allan@archlinux.org>
7183
dd804818
AM
7184 * po/libc.pot: Regenerated.
7185
79c1e109
AM
7186 * malloc/memusagestat.c: Fix gettext call formatting.
7187
0c813d1f
SK
71882014-01-04 Sami Kerola <kerolasa@iki.fi>
7189
7190 * nscd/nscd.c: Improve usage() output.
7191
20f4a8d9
MF
71922014-01-04 Mike Frysinger <vapier@gentoo.org>
7193
7194 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7195 * sysdeps/unix/sysv/linux/configure: Regenerated.
7196 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7197 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7198
22562bb2
JM
71992014-01-03 Joseph Myers <joseph@codesourcery.com>
7200
7201 [BZ #16390]
7202 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7203 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7204
d7ad2d9b
AZ
72052014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206
7207 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7208 extra tokens at end of #undef directive.
7209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7210 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7211 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7212
7dd009d8
JM
72132014-01-03 Joseph Myers <joseph@codesourcery.com>
7214
24db925a
JM
7215 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7216
7dd009d8
JM
7217 * math/auto-libm-test-in: Mark various tests with
7218 xfail-rounding:ldbl-128ibm.
7219 * math/auto-libm-test-out: Regenerated.
7220
396e3ecf
JM
72212014-01-02 Joseph Myers <joseph@codesourcery.com>
7222
819e5d50
JM
7223 [BZ #16386]
7224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7225 numbers with subnormal high part when calculating exponent.
7226
90b6a1e5
JM
7227 [BZ #16385]
7228 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7229 fabs.
7230
396e3ecf
JM
7231 [BZ #16384]
7232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7233 M_LN2l.
7234 (__ieee754_acoshl): Use __log1pl not __log1p.
7235
6c8dbf00
OB
72362013-01-02 Ondřej Bílka <neleai@seznam.cz>
7237
57f41c40
AS
7238 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7239 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7240 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7241 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7242 (reused_arena, arena_get2): Convert to GNU style.
7243 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7244 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7245 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7246 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7247 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7248 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7249 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7250 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7251 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7252 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7253 * malloc/malloc.h: Likewise.
57f41c40
AS
7254 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7255 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7256 * malloc/mcheck.h: Likewise.
57f41c40
AS
7257 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7258 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7259 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7260 * malloc/morecore.c (__default_morecore): Likewise.
7261 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7262 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7263 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7264 (print_and_abort): Likewise.
6c8dbf00
OB
7265 * malloc/obstack.h: Likewise.
7266 * malloc/set-freeres.c (__libc_freeres): Likewise.
7267 * malloc/tst-mallocstate.c (main): Likewise.
7268 * malloc/tst-mtrace.c (main): Likewise.
7269 * malloc/tst-realloc.c (do_test): Likewise.
7270
d4124212
SP
72712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7272
9a3c6a6f
SP
7273 [BZ #16366]
7274 * nscd/netgroupcache.c (do_notfound): New function.
7275 (addgetnetgrentX): Use it.
7276
d4124212
SP
7277 [BZ # 16365]
7278 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7279 NSS_STATUS_NOTFOUND.
7280
97b9a009
JM
72812014-01-01 Joseph Myers <joseph@codesourcery.com>
7282
7283 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7285
d4697bc9
AM
72862014-01-01 Allan McRae <allan@archlinux.org>
7287
ddb3687f
AM
7288 * scripts/update-copyrights: Update configure input file suffix.
7289
88726d48
AM
7290 * NEWS: Update copyright year.
7291 * catgets/gencat.c: Likewise.
7292 * csu/version.c: Likewise.
7293 * debug/catchsegv.sh: Likewise.
7294 * debug/pcprofiledump.c: Likewise.
7295 * debug/xtrace.sh: Likewise.
7296 * elf/ldconfig.c: Likewise.
7297 * elf/ldd.bash.in: Likewise.
7298 * elf/pldd.c: Likewise.
7299 * elf/sotruss.ksh: Likewise.
7300 * elf/sprof.c: Likewise.
7301 * iconv/iconv_prog.c: Likewise.
7302 * iconv/iconvconfig.c: Likewise.
7303 * locale/programs/locale.c: Likewise.
7304 * locale/programs/localedef.c: Likewise.
7305 * login/programs/pt_chown.c: Likewise.
7306 * malloc/memusage.sh: Likewise.
7307 * malloc/memusagestat.c: Likewise.
7308 * malloc/mtrace.pl: Likewise.
7309 * manual/libc.texinfo: Likewise.
7310 * nscd/nscd.c: Likewise.
7311 * nss/getent.c: Likewise.
7312 * nss/makedb.c: Likewise.
7313 * posix/getconf.c: Likewise.
7314 * scripts/test-installation.pl: Likewise.
7315
d4697bc9
AM
7316 * All files with FSF copyright notices: Update copyright dates
7317 using scripts/update-copyrights.
7318 * intl/plural.c: Regenerated.
7319 * locale/programs/charmap-kw.h: Likewise.
7320 * locale/programs/locfile-kw.h: Likewise.
7321
c8590f9d
MF
73222013-12-31 Mike Frysinger <vapier@gentoo.org>
7323
7324 * sysdeps/unix/sysv/linux/configure: Regenerated.
7325 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7326 the linux/fanotify.h header.
7327 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7328 HAVE_LINUX_FANOTIFY_H is defined.
7329
b19221b9
SP
73302013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7331
dd1d85e5
SP
7332 * benchtests/cos-inputs: New inputs.
7333 * benchtests/sin-inputs: Likewise.
7334
1acbb90f
SP
7335 * benchtests/atan-inputs: New inputs. Fix name of multiple
7336 precision fallback inputs.
7337
4c012ed3
SP
7338 * benchtests/atanh-inputs: New inputs.
7339 * benchtests/tanh-inputs: Likewise.
7340
eff98324
SP
7341 * benchtests/acosh-inputs: New inputs.
7342 * benchtests/asinh-inputs: Likewise.
7343
ce641152
SP
7344 * benchtests/cosh-inputs: New inputs.
7345 * benchtests/sinh-inputs: Likewise.
7346
b19221b9
SP
7347 * benchtests/acos-inputs: Add more inputs.
7348 * benchtests/asin-inputs: Likewise.
7349
030a4976 73502013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7351
030a4976 7352 [BZ #16375]
9dcc8f11
VS
7353 * manual/arith.texi: Fix spelling.
7354 * manual/charset.texi: Likewise.
7355 * manual/errno.texi: Likewise.
7356 * manual/filesys.texi: Likewise.
7357 * manual/lang.texi: Likewise.
7358 * manual/llio.texi: Likewise.
7359 * manual/locale.texi: Likewise.
7360 * manual/message.texi: Likewise.
7361 * manual/resource.texi: Likewise.
7362 * manual/search.texi: Likewise.
7363 * manual/setjmp.texi: Likewise.
7364 * manual/stdio.texi: Likewise.
7365 * manual/string.texi: Likewise.
7366 * manual/sysinfo.texi: Likewise.
7367 * manual/time.texi: Likewise.
7368
11520a57
CD
73692013-12-27 Carlos O'Donell <carlos@redhat.com>
7370
7371 * po/sl.po: New file.
7372
471103ae
MF
73732013-12-27 Mike Frysinger <vapier@gentoo.org>
7374
7375 * .gitignore: Add core/.gdbinit/.gdb_history.
7376
6c9642ed
AM
73772013-12-27 Allan McRae <allan@archlinux.org>
7378
7379 [BZ #16369]
7380 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7381 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7382
3f637079
BM
73832013-12-24 Brooks Moses <bmoses@google.com>
7384
7385 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7386 all compilers that claim C++98 compliance, not just GCC.
7387 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7388 Likewise.
7389
abc26e99
MK
73902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7391
7392 * NEWS: Restore accidentally deleted bug-fix entries.
7393
362b47fe
MK
73942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7395 Ondřej Bílka <neleai@seznam.cz>
7396
7397 [BZ #15073]
7398 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7399 have_lock.
362b47fe 7400
b9bcbbcb
OB
74012013-12-23 Ondřej Bílka <neleai@seznam.cz>
7402
7403 [BZ #12986]
7404 * manual/stdio.texi (String Input Conversions): Clarify that character
7405 classes are not supported.
7406
fb55fcd2
AZ
74072013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7410
ef7344f0
JM
74112013-12-22 Joseph Myers <joseph@codesourcery.com>
7412
4f40e4b3
JM
7413 [BZ #16337]
7414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7415 Calculate results for small negative arguments directly rather
7416 than using reflection formula with special underflow handling.
7417
ef7344f0
JM
7418 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7419 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7420 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7421 (fchflags): Likewise.
7422 (revoke): Likewise.
7423 (setlogin): Likewise.
7424 (sigaltstack): Likewise.
7425 (wait4): Likewise.
7426 (sigblock): Remove.
7427 (sigsetmask): Likewise.
7428 (wait3): Likewise.
7429 (waitpid): Likewise.
7430 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7431 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7432 file.
7433 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7434 * sysdeps/unix/bsd/Makefile: ... here.
7435 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7436 * sysdeps/unix/bsd/Versions: ... here.
7437 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7438 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7439 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7440 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7441 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7442 * sysdeps/unix/bsd/sigblock.c: ... here.
7443 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7444 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7445 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7446 * sysdeps/unix/bsd/sigvec.c: ... here.
7447 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7448 * sysdeps/unix/bsd/tcdrain.c: ... here.
7449 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7450 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7451 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7452 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7453 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7454 * sysdeps/unix/bsd/wait.c: ... here.
7455 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7456 * sysdeps/unix/bsd/wait3.c: ... here.
7457 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7458 * sysdeps/unix/bsd/waitpid.c: ... here.
7459
5b0626b9
JM
74602013-12-21 Joseph Myers <joseph@codesourcery.com>
7461
7462 [BZ #16356]
7463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7464 round-to-nearest for [!USE_AS_EXPM1L].
7465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7466 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7467 more tests of exp and exp10. Expect some exp10 tests to miss
7468 exceptions or fail in directed rounding modes.
7469 * math/auto-libm-test-out: Regenerated.
7470 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7471 (exp10_test_tonearest): New function.
7472 (exp10_towardzero_test_data): New array.
7473 (exp10_test_towardzero): New function.
7474 (exp10_downward_test_data): New array.
7475 (exp10_test_downward): New function.
7476 (exp10_upward_test_data): New array.
7477 (exp10_test_upward): New function.
7478 (main): Call the new functions.
7479 * sysdeps/i386/fpu/libm-test-ulps: Update.
7480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7481
7fda5682
JM
74822013-12-20 Joseph Myers <joseph@codesourcery.com>
7483
31e3a405
JM
7484 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7485 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7486 * math/auto-libm-test-out: Regenerated.
7487 * math/libm-test.inc (acosh_test_data): Add more tests.
7488 (atanh_test_data): Likewise.
7489 (ceil_test_data): Likewise.
7490 (copysign_test_data): Likewise.
7491 * sysdeps/i386/fpu/libm-test-ulps: Update.
7492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493
85bff96a
JM
7494 * timezone/checktab.awk: Update from tzcode 2013i.
7495 * timezone/private.h: Likewise.
7496 * timezone/scheck.c: Likewise.
7497 * timezone/tzfile.h: Likewise.
7498 * timezone/tzselect.ksh: Likewise.
7499 * timezone/zdump.c: Likewise.
7500 * timezone/zic.c: Likewise.
7501
b7867a3b
JM
7502 * math/auto-libm-test-in: Add tests of cpow.
7503 * math/auto-libm-test-out: Regenerated.
7504 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7506 mpc_cc_c.
7507 (func_calc_desc): Add mpc_cc_c union field.
7508 (test_functions): Add cpow.
7509 (special_fill_2pi): New function.
7510 (special_real_inputs): Add 2pi.
7511 (calc_generic_results): Handle mpc_cc_c.
7512 * sysdeps/i386/fpu/libm-test-ulps: Update.
7513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514
7fda5682
JM
7515 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7516 csqrt, ctan and ctanh.
7517 * math/auto-libm-test-out: Regenerated.
7518 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7519 (TEST_COND_x86): Likewise.
7520 (ccos_test_data): Use AUTO_TESTS_c_c.
7521 (ccosh_test_data): Likewise.
7522 (cexp_test_data): Likewise.
7523 (clog_test_data): Likewise.
7524 (csqrt_test_data): Likewise.
7525 (ctan_test_data): Likewise.
7526 (ctan_tonearest_test_data): Likewise.
7527 (ctan_towardzero_test_data): Likewise.
7528 (ctan_downward_test_data): Likewise.
7529 (ctan_upward_test_data): Likewise.
7530 (ctanh_test_data): Likewise.
7531 (ctanh_tonearest_test_data): Likewise.
7532 (ctanh_towardzero_test_data): Likewise.
7533 (ctanh_downward_test_data): Likewise.
7534 (ctanh_upward_test_data): Likewise.
7535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7536 mpc_c_c.
7537 (func_calc_desc): Add mpc_c_c union field.
7538 (FUNC_mpc_c_c): New macro.
7539 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7540 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7541 ctanh.
7542 (special_fill_min_subnorm_p120): New function.
7543 (special_real_inputs): Add min_subnorm_p120.
7544 (calc_generic_results): Handle mpc_c_c.
7545 * sysdeps/i386/fpu/libm-test-ulps: Update.
7546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547
5ff8d60e
SP
75482013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7549
57f41c40
AS
7550 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7551 (do_sin_slow): New functions.
7552 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7553 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7554
84ba214c
SP
7555 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7556 Use M to change sign of result instead of X. Assume X is
7557 positive.
7558 (csloww1): Likewise.
7559 (__sin): Adjust.
7560 (__cos): Adjust.
7561
975195e4
SP
7562 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7563 arguments A and DA.
7564 (__sin): Adjust.
7565 (__cos): Likewise.
7566
5ff8d60e
SP
7567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7568 (__cos): Likewise.
7569 (sloww1): Don't adjust sign of DX.
7570 (csloww1): Likewise.
7571 (sloww2): Use X directly and don't adjust sign of DX.
7572 (csloww2): Likewise.
7573
eb983568
JM
75742013-12-19 Joseph Myers <joseph@codesourcery.com>
7575
64a17f1a
JM
7576 * math/auto-libm-test-in: Add tests of cabs and carg.
7577 * math/auto-libm-test-out: Regenerated.
7578 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7579 (carg_test_data): Likewise.
7580 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7581 mpc_c_f.
7582 (func_calc_desc): Add mpc_c_f union field.
7583 (test_functions): Add cabs and carg.
7584 (calc_generic_results): Handle mpc_c_f.
7585
eb983568
JM
7586 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7587 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7588 as a macro and a compat symbol.
7589 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7590 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7591 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7592 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7593 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7594 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7595 not use .hidden.
7596 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7597 Likewise.
7598 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7599 Likewise.
7600 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7601 Likewise.
7602 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7603 Likewise.
7604 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7605 Likewise.
7606 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7607 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7608 from GLIBC_2.3.2.
7609
6eeb678a
AZ
76102013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611
7612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7613
6f6fc482
JM
76142013-12-19 Joseph Myers <joseph@codesourcery.com>
7615
21fea2e2
JM
7616 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7617 trailing whitespace removed.
7618 * scripts/config.guess: Update to version 2013-11-29.
7619 * scripts/config.sub: Update to version 2013-10-01.
7620
6f6fc482
JM
7621 * math/auto-libm-test-in: Add tests of sincos.
7622 * math/auto-libm-test-out: Regenerated.
7623 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7624 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7625 mpfr_f_11.
7626 (func_calc_desc): Add mpfr_f_11 union field.
7627 (test_functions): Add sincos.
7628 (calc_generic_results): Handle mpfr_f_11.
7629 * sysdeps/i386/fpu/libm-test-ulps: Update.
7630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7631
83f5c32d
AS
76322013-12-19 Andreas Schwab <schwab@suse.de>
7633
7634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7635 CALL_MCOUNT.
7636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7638 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7639
c688b419
JM
76402013-12-19 Joseph Myers <joseph@codesourcery.com>
7641
335ee092
JM
7642 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
f88acd39
JM
7646 [BZ #16293]
7647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7648 round-to-nearest mode when using frndint.
7649 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7650 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7652 Likewise.
7653 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7654 sinh test to fail.
7655 * math/auto-libm-test-out: Regenerated.
7656 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7657 (TEST_COND_x86): Likewise.
7658 (expm1_tonearest_test_data): New array.
7659 (expm1_test_tonearest): New function.
7660 (expm1_towardzero_test_data): New array.
7661 (expm1_test_towardzero): New function.
7662 (expm1_downward_test_data): New array.
7663 (expm1_test_downward): New function.
7664 (expm1_upward_test_data): New array.
7665 (expm1_test_upward): New function.
7666 (main): Run the new test functions.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
c688b419
JM
7670 * include/features.h: Update comment documenting feature test
7671 macros. Mention _DEFAULT_SOURCE in comment.
7672 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7673 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7674 _BSD_SOURCE and _SVID_SOURCE.
7675 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7676 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7677 !_SVID_SOURCE]: Likewise.
7678 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7679 (__USE_POSIX_IMPLICITLY): Define.
7680 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7681 (_POSIX_SOURCE): Undefine and redefine.
7682 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7683 (_POSIX_C_SOURCE): Likewise.
7684 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7685 (Feature Test Macros): Update documentation of default features.
7686
9f6e964c
RS
76872013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7688
7689 * benchtests/Makefile: Add bench-strtok.
7690 * benchtests/bench-strtok.c: New file: strtok benchtest.
7691
ee0a148a
AM
76922013-12-19 Allan McRae <allan@archlinux.org>
7693
7694 * manual/install.texi: Suppress menu for plain text output.
7695 * INSTALL: Regenerated.
7696
b9ab448f
BM
76972013-12-18 Brooks Moses <bmoses@google.com>
7698
7699 [BZ #15846]
7700 * misc/getauxval.c: Include errno.h.
7701 (__getauxval): Set errno to ENOENT if the requested type is not
7702 found.
7703 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7704 don't declare with __attribute_const__.
7705 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7706 * manual/startup.texi: Document that getauxval sets errno.
7707
23776487
JM
77082013-12-18 Joseph Myers <joseph@codesourcery.com>
7709
f889953b
JM
7710 * math/auto-libm-test-in: Add tests of jn and yn.
7711 * math/auto-libm-test-out: Regenerated.
7712 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7713 (yn_test_data): Likewise.
7714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7715 mpfr_if_f.
7716 (func_calc_desc): Add mpfr_if_f union field.
7717 (FUNC_mpfr_if_f): New macro.
7718 (test_functions): Add jn and yn.
7719 (calc_generic_results): Assert type of second input for
7720 mpfr_ff_f. Handle mpfr_if_f.
7721 (output_for_one_input_case): Disable all checking for arguments
7722 fitting floating-point types in case of an integer argument.
7723 * sysdeps/i386/fpu/libm-test-ulps: Update.
7724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7725
23776487
JM
7726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7727 Don't expect fegetround reference in libm.so.
7728
cb756c6d
MS
77292013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7730
7731 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7732 $(config-cflags-nofma).
7733
2dec468f
JM
77342013-12-18 Joseph Myers <joseph@codesourcery.com>
7735
5953eb3a
JM
7736 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7737 * math/auto-libm-test-out: Regenerated.
7738
2dec468f
JM
7739 [BZ #16338]
7740 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7741 to determine exponent and adjust argument to have exponent of -1.
7742 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7743 log2.
7744 * math/auto-libm-test-out: Regenerated.
7745 * sysdeps/i386/fpu/libm-test-ulps: Update.
7746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747
4d84e6ad
OB
77482013-12-18 Ondřej Bílka <neleai@seznam.cz>
7749
7750 * manual/probes.texi: Remove cases when per-thread arenas are
7751 disabled.
7752
1818483b
AS
77532013-12-18 Andreas Schwab <schwab@suse.de>
7754
7755 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7756 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7757 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7758 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7759 * sysdeps/i386/i686/multiarch/Makefile: Update.
7760 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7761
25de95bf
JM
77622013-12-17 Joseph Myers <joseph@codesourcery.com>
7763
7764 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7765 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7766
674762d9
PE
77672013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7768
ed27ed83 7769 [BZ #15968]
0748546f
PE
7770 Support TZ transition times < 00:00:00.
7771 This is needed for version-3 tz-format files; it supports time
7772 stamps past 2037 for America/Godthab (the only entry in the tz
7773 database for which this change is relevant).
7774 * manual/time.texi (TZ Variable): Document transition times
7775 from -167:59:59 through -00:00:01.
7776 * time/tzset.c (tz_rule): Time of day is now signed.
7777 (__tzset_parse_tz): Parse negative time of day.
7778
4480e934
PE
7779 Document TZ transition times >= 25:00:00.
7780 * manual/time.texi (TZ Variable): Document transition times from
7781 25:00:00 through 167:59:59. These are already supported, and this
7782 support will help with version-3 tz-format files.
7783
69947401
PE
7784 * manual/time.texi (TZ Variable): Modernize North America example
7785 to reflect current (i.e., 2007-and-later) daylight saving rules.
7786
674762d9
PE
7787 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7788
7011c262
JM
77892013-12-17 Joseph Myers <joseph@codesourcery.com>
7790
2fc6557e
JM
7791 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7792 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7795 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7796 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7797 * sysdeps/unix/bsd/clock.c: Likewise.
7798 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7799 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7800 * sysdeps/unix/bsd/init-posix.c: Likewise.
7801 * sysdeps/unix/bsd/poll.c: Likewise.
7802 * sysdeps/unix/bsd/ptsname.c: Likewise.
7803 * sysdeps/unix/bsd/seekdir.c: Likewise.
7804 * sysdeps/unix/bsd/setegid.c: Likewise.
7805 * sysdeps/unix/bsd/seteuid.c: Likewise.
7806 * sysdeps/unix/bsd/setgid.c: Likewise.
7807 * sysdeps/unix/bsd/setrgid.c: Likewise.
7808 * sysdeps/unix/bsd/setruid.c: Likewise.
7809 * sysdeps/unix/bsd/setsid.c: Likewise.
7810 * sysdeps/unix/bsd/setuid.c: Likewise.
7811 * sysdeps/unix/bsd/sigaction.c: Likewise.
7812 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7813 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7814 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7815 * sysdeps/unix/bsd/telldir.c: Likewise.
7816 * sysdeps/unix/bsd/times.c: Likewise.
7817 * sysdeps/unix/bsd/usleep.c: Likewise.
7818
029c7b25
JM
7819 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7820 ($(objpfx)libbsd-compat.a): Remove rule.
7821
7011c262
JM
7822 * include/features.h (__FAVOR_BSD): Do not define.
7823 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7824 features conflicting with POSIX.
7825 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7826 (_BSD_SOURCE): Remove description of not being a subset of other
7827 feature test macros.
7828 * manual/job.texi (getpgrp): Do not document BSD version.
7829 (getpgid): Do not document by reference to BSD getpgrp.
7830 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7831 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7832 * signal/signal.h [__FAVOR_BSD]: Likewise.
7833 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7834 instead of making contents conditional on [__FAVOR_BSD].
7835 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7836
affb6f78
AZ
78372013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838
7839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7840
c88769dd
JM
78412013-12-17 Joseph Myers <joseph@codesourcery.com>
7842
6432a540
JM
7843 [BZ #16314]
7844 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7845 values below 2**-450, not 2**-500.
7846 * math/auto-libm-test-in: Don't allow spurious underflow from
7847 hypot.
7848 * math/auto-libm-test-out: Regenerated.
7849
c88769dd
JM
7850 [BZ #16316]
7851 [BZ #16330]
7852 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7853 values of ha and hb and sort them after adjusting subnormal
7854 arguments.
7855 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7856 Likewise.
7857 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7858 values of ea and eb and sort them after adjusting subnormal
7859 arguments.
7860 * math/auto-libm-test-in: Do not expect some hypot tests of
7861 subnormals to fail. Add more hypot tests.
7862 * math/auto-libm-test-out: Regenerated.
7863
29618f6b
KK
78642013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7865
7866 [BZ #13304]
7867 * sysdeps/sh/s_fma.c: New file.
7868 * sysdeps/sh/s_fmaf.c: New file.
7869 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7870 version.
7871 * sysdeps/sh/Implies: Add sh/soft-fp.
7872
eacfdfbf
RM
78732013-12-16 Roland McGrath <roland@hack.frob.com>
7874
7875 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7876 level of indirection to members `objname', `errstring', `malloced'.
7877 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7878 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7879 it as the __longjmp argument (just pass 1 instead).
7880 (_dl_catch_error): Initialize C with argument pointers and address of
7881 volatile local ERRCODE rather than copying values out of C at return.
7882
ff362e5b
JM
78832013-12-16 Joseph Myers <joseph@codesourcery.com>
7884
7885 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7886 * math/auto-libm-test-out: Regenerated.
7887 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7888 (hypot_test_data): Likewise.
7889 (pow_test_data): Likewise.
7890 (pow_tonearest_test_data): Likewise.
7891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7892 mpfr_ff_f.
7893 (func_calc_desc): Add mpfr_ff_f union field.
7894 (FUNC_mpfr_ff_f): New macro.
7895 (test_functions): Add atan2, hypot and pow.
7896 (special_fill_min): New function.
7897 (special_fill_minus_min): Likewise.
7898 (special_fill_min_subnorm): Likewise.
7899 (special_fill_minus_min_subnorm): Likewise.
7900 (special_real_inputs): Add min, -min, min_subnorm and
7901 -min_subnorm.
7902 (calc_generic_results): Handle mpfr_ff_f.
7903 * sysdeps/i386/fpu/libm-test-ulps: Update.
7904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7905
5764c27f
WN
79062013-12-16 Will Newton <will.newton@linaro.org>
7907
7908 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7909 (Aligned Memory Blocks): Add documentation for aligned_alloc
7910 and suggest it as an alternative to posix_memalign.
7911 (Hooks for Malloc): Document __memalign_hook is also called
7912 for aligned_alloc. (Summary of Malloc): Add summary for
7913 aligned alloc. Document __memalign_hook is also called
7914 for aligned_alloc.
7915
0a096e44
WN
79162013-12-16 Will Newton <will.newton@linaro.org>
7917
7918 * manual/memory.texi (Malloc Examples): Clarify default
7919 alignment documentation. Suggest posix_memalign rather
7920 than memalign or valloc.
7921 (Aligned Memory Blocks): Remove suggestion to use memalign
7922 or valloc. Remove obsolete comment about BSD.
7923 Document memalign errno values and mark the function obsolete.
7924 Document posix_memalign returned error codes. Mark valloc
7925 as obsolete. (Hooks for Malloc): __memalign_hook is also
7926 called for posix_memalign and valloc.
7927 (Summary of Malloc): Add posix_memalign to function summary.
7928 __memalign_hook is also called for posix_memalign and valloc.
7929
8d561986
SP
79302013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7931
7932 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7933 TAYLOR_SIN.
7934 (__sin): Adjust.
7935 (__cos): Likewise.
7936 (sloww): Use mynumber union. Expand ternary operator into
7937 if-else statements.
7938 (cslow): use mynumber union.
7939
73616a74
AM
79402013-12-16 Allan McRae <allan@archlinux.org>
7941
9e8ac24b
AM
7942 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7943 * configure: Regenerated.
7944
6f8e37eb
AM
7945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7946
8894bad3
AM
7947 [BZ #14120]
7948 * configure.ac: Added --enable-maintainer-mode. Check for
7949 autoconf when enabled.
7950 * configure: Regenerated.
7951
73616a74
AM
7952 * nscd/nscd.service: New file.
7953 * nscd/nscd.tmpfiles: New file.
7954
584b18eb
OB
79552013-12-14 Ondřej Bílka <neleai@seznam.cz>
7956
7957 [BZ #12100]
7958 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7959 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7960 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7961 (strstr): Add __strstr_sse2_unaligned ifunc.
7962 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7963 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7964 (strcasestr): Remove __strcasestr_sse42 ifunc.
7965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7968
8a5c7897
KK
79692013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7970
7971 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7972 * sysdeps/sh/bits/fenv.h: ... here.
7973 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7974
fd712ef3
AZ
79752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976
7977 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7978
42fcb46c
AZ
7979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7980 hypotf multiarch implementations.
7981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7984 multiarch hypot for PPC64.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7988 multiarch hypotf for PPC64.
7989
83efded4
AZ
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7991 modff multiarch implementations.
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7995 multiarch modf for PPC64.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7999 multiarch modff for PPC64.
8000
43e246d2
AZ
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8002 and logl multiarch implementations.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8006 multiarch logb for PPC64.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8010 multiarch logb for PPC64.
8011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8014 multiarch logb for PPC64.
8015
8fdad123
AZ
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8017 isinff multiarch implementation.
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8019 file.
8020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8022 multiarch isinf for PPC64.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8024 file.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8026 multiarch isinff for PPC64.
8027
1481d706
AZ
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8029 finitef multiarch implementation.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8031 file.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8034 multiarch finite for PPC64.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8036 file.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8038 multiarch finitef for PPC64.
8039
5ccd5fc8
AZ
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8041 lrint multiarch implementation.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8043 file.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8046 multiarch llrint for PPC64.
8047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8048 multiarch lrint for PPC64.
8049
2568f3fa
AZ
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8051 copysignf multiarch implementation.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8053 file.
8054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8055 file.
8056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8057 multiarch copysign for PPC64.
8058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8059 multiarch copysignf for PPC64.
8060
1cb341fd
AZ
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8062 multiarch implementation.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8064 file.
8065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8066 file.
8067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8068 file.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8070 file.
8071 multiarch llround for PPC64.
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8073 multiarch trunc for PPC64.
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8075 multiarch truncf for PPC64.
8076
59a3e194
AZ
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8078 multiarch implementation.
8079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8080 file.
8081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8082 file.
8083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8084 file.
8085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8086 file.
8087 multiarch llround for PPC64.
8088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8089 multiarch round for PPC64.
8090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8091 multiarch roundf for PPC64.
8092
357fd3b4
AZ
8093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8094 multiarch implementation.
8095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8096 file.
8097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8098 file.
8099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8100 file.
8101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8102 file.
8103 multiarch llround for PPC64.
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8105 multiarch floor for PPC64.
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8107 multiarch floorf for PPC64.
8108
96770f12
AZ
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8110 multiarch implementation.
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8112 file.
8113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8114 file.
8115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8116 file.
8117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8118 file.
8119 multiarch llround for PPC64.
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8121 multiarch ceil for PPC64.
8122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8123 multiarch ceilf for PPC64.
8124
c3627f6e
AZ
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8126 multiarch implementation.
8127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8128 file.
8129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8130 file.
8131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8132 file.
8133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8134 multiarch llround for PPC64.
8135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8136 multiarch lround for PPC64.
8137
b2284ad7
AZ
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8139 multiarch implementation.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8143 file.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8147 multiarch isnan for PPC64.
8148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8149 multiarch isnanf for PPC64.
8150
69bbc63d
AZ
8151 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8152 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8153 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8154 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8155 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8157
c24517c9
AZ
8158 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8159 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8162
a52374e8
AZ
8163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8164 multiarch implementations.
8165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8166 (__libc_ifunc_impl_list): Likewise.
8167 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8168 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8170 multiarch stpcpy for PPC64.
8171
7f5ec113
AZ
8172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8173 multiarch implementations.
8174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8175 (__libc_ifunc_impl_list): Likewise.
8176 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8177 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8178 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8179 multiarch strcpy for PPC64.
8180
e28bcd42
AZ
8181 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8182 redefine function name.
8183 (_wordcopy_fwd_dest_aligned): Likewise.
8184 (_wordcopy_bwd_aligned): Likewise.
8185 (_wordcopy_bwd_dest_aligned): Likewise.
8186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8187 multiarch implementations.
8188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8189 (__libc_ifunc_impl_list): Likewise.
8190 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8191 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8192 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8194 multiarch wcscpy for PPC64.
8195
92cacfce
AZ
8196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8197 multiarch implementations.
8198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8199 (__libc_ifunc_impl_list): Likewise.
8200 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8201 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8202 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8204 multiarch wcscpy for PPC64.
8205
7b714620
AZ
8206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8207 multiarch implementations.
8208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8209 (__libc_ifunc_impl_list): Likewise.
8210 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8211 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8212 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8213 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8214 multiarch wcsrchr for PPC64.
8215
16fd2ae3
AZ
8216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8217 multiarch implementations.
8218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8219 (__libc_ifunc_impl_list): Likewise.
8220 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8221 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8222 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8223 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8224 multiarch wcschr for PPC64.
8225
9ee2969b
AZ
8226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8227 multiarch implementations.
8228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8229 (__libc_ifunc_impl_list): Likewise.
8230 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8231 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8232 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8233 multiarch strchrnul for PPC64.
8234
372dc060
AZ
8235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8236 implementations.
8237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8238 (__libc_ifunc_impl_list): Likewise.
8239 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8240 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8241 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8242 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8243 strchr for PPC64.
8244
24c2c3b9
AZ
8245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8246 implementations.
8247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8248 (__libc_ifunc_impl_list): Likewise.
8249 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8250 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8252 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8253 strncmp for PPC64.
8254
1c92d9a0
AZ
8255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8256 multiarch implementations.
8257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8258 (__libc_ifunc_impl_list): Likewise.
8259 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8260 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8261 strncasecmp for PPC64.
8262 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8263 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8264 multiarch strncasecmp_l for PPC64.
8265
17de3ee3
AZ
8266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8267 multiarch implementations.
8268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8269 (__libc_ifunc_impl_list): Likewise.
8270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8272 multiarch strcasecmp for PPC64.
8273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8274 file.
8275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8276 multiarch strcasecmp_l for PPC64.
8277
62982bf9
AZ
8278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8279 implementations.
8280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8281 (__libc_ifunc_impl_list): Likewise.
8282 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8283 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8284 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8285 strnlen for PPC64.
8286
a65f4904
AZ
8287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8288 implementations.
8289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8290 (__libc_ifunc_impl_list): Likewise.
8291 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8292 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8293 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8294 strlen for PPC64.
8295
1fd005ad
AZ
8296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8297 implementations.
8298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8299 (__libc_ifunc_impl_list): Likewise.
8300 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8301 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8302 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8303 rawmemrchr for PPC64.
8304
cd05ba91
AZ
8305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8306 implementation.
8307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8308 (__libc_ifunc_impl_list): Likewise.
8309 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8310 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8311 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8312 memrchr for PPC64.
8313
870f8676
AZ
8314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8315 implementation.
8316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8317 (__libc_ifunc_impl_list): Likewise.
8318 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8319 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8320 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8321 memchr for PPC64.
8322
f00be62b
AZ
8323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8324 implementation.
8325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8326 (__libc_ifunc_impl_list): Likewise.
8327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8328 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8329 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8330 mempcpy for PPC64.
8331
8a29a3d0
AZ
8332 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8333 avoid cretion of __bzero symbol.
8334 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8335 Likewise.
8336 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8337 Likewise.
8338 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8339 Likewise.
8340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8341 multiarch implementations.
8342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8343 (__libc_ifunc_impl_list): Likewise.
8344 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8345 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8346 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8347 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8348 bzero for PPC32.
8349 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8350 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8351 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8352 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8353 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8354 memset for PPC64.
8355 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8356
07253fcf
AZ
8357 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8359 implementations.
8360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8361 (__libc_ifunc_impl_list): Likewise.
8362 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8363 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8364 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8365 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8366 memcmp for PPC64.
8367
b5beafbc
AZ
8368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8369 multiarch for POWER/PPC64.
8370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8371 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8373 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8375 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8376 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8378 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8379 memcpy for PPC64.
8380
5e6a4d4b
AZ
8381 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8382 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8383 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8384 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8385 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8386 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8387 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8388 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8389 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8390 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8391 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8392 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8393 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8394 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8395 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8403
ddfab6dc
KK
84042013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8405
8406 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8407
19b5525e
SP
84082013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 * benchtests/Makefile (bench): Add exp2 and log2.
8411 (LDLIBS-bench-exp2): Add -lm.
8412 (LDLIBS-bench-log2): Likewise.
8413 * benchtests/exp2-inputs: New inputs file.
8414 * benchtests/log2-inputs: New inputs file.
8415 * benchtests/log-inputs: Add new inputs.
8416 * benchtests/tan-inputs: Likewise.
8417
196f7f5d
SP
84182013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8419
7a74607f
SP
8420 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8421 definition...
57f41c40
AS
8422 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8423 (csloww2): ... from here.
7a74607f 8424
196f7f5d
SP
8425 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8426 instead of structures.
8427 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8428 (POLYNOMIAL): Likewise.
8429 (TAYLOR_SLOW): Likewise.
8430 (__sin): Likewise.
8431 (__cos): Likewise.
8432 (slow1): Likewise.
8433 (slow2): Likewise.
8434 (sloww): Likewise.
8435 (sloww1); Likewise.
8436 (sloww2): Likewise.
8437 (bsloww1): Likewise.
8438 (bsloww2): Likewise.
8439 (cslow2): Likewise.
8440 (csloww): Likewise.
8441 (csloww1): Likewise.
8442 (csloww2): Likewise.
8443
0dfa665c
OB
84442013-12-10 Ondřej Bílka <neleai@seznam.cz>
8445
8446 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8447 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8448 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8449 * malloc/hooks.c (realloc_check): Likewise.
8450
5782a80f
OB
8451 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8452 * malloc/arena.c: Remove PER_THREAD conditional.
8453 [!PER_THREAD]: Remove code.
8454 (ptmalloc_unlock_all2): Likewise.
8455 (ptmalloc_init): Likewise.
8456 (_int_new_arena): Likewise.
8457 (arena_get2): Likewise.
8458 * malloc/hooks.c (__malloc_get_state): Likewise.
8459 (__malloc_set_state): Likewise.
8460 * malloc/malloc.c: Likewise.
8461 (struct malloc_state): Likewise.
8462 (struct malloc_par): Likewise.
8463 (__libc_realloc): Likewise.
8464 (__libc_mallopt): Likewise.
8465
aeb95445
AZ
84662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467
8468 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8469
e8349efd
OB
84702013-12-09 Ondřej Bílka <neleai@seznam.cz>
8471
8472 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8473 macro to a function. Check for zero perturb_byte.
8474 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8475
f3eeb3fc 8476 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8477 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8478 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8479 force_reg by atomic_forced_read.
8480 * malloc/arena.c (ptmalloc_init): Likewise.
8481 * malloc/hooks.c (top_check): Likewise.
8482
be2f9009
AZ
84832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8484
8485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8486
e7b914bd
MT
84872013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8488
8489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8490
9f0be4f8
JM
84912013-12-08 Joseph Myers <joseph@codesourcery.com>
8492
8493 * math/auto-libm-test-in: Add tests of lgamma.
8494 * math/auto-libm-test-out: Regenerated.
8495 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8496 (M_LOG_2_SQRT_PIl): Likewise.
8497 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8499 mpfr_f_f1.
8500 (func_calc_desc): Add mpfr_f_f1 union field.
8501 (ARGS1): New macro.
8502 (ARGS2): Likewise.
8503 (ARGS3): Likewise.
8504 (ARGS4): Likewise.
8505 (RET1): Likewise.
8506 (RET2): Likewise.
8507 (CALC): Likewise.
8508 (FUNC): Likewise.
8509 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8510 (test_functions): Add lgamma.
8511 (calc_generic_results): Handle mpfr_f_f1.
8512 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514
24eeafdb
AZ
85152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8516
8517 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8518 __mpn_add_n for PowerPC64/POWER7.
8519 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8520 __mpn_sub_n for PowerPC64/POWER7.
8521
4a2c0fd4
AZ
8522 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8523 __mpn_addmul_1 for PowerPC64.
8524 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8525 __mpn_submul_1 for PowerPC64.
8526 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8527 for PowerPC64.
8528 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8529 for PowerPC64.
8530
4b5b548c
FS
85312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8532
8533 [BZ #15089]
8534 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8535
0a3ac0aa
AZ
85362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8537
8538 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8539
ccdc8438
AZ
8540 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8541 add multiarch folders.
8542 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8543 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8544 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8545 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8546 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8547 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8548 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8549 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8550 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8551 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8552 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8559
2e973d99
AZ
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8561 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8563 New file.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8565 New file.
8566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8567 multiarch __ieee754_hypot for PowerPC32.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8569 New file.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8571 New file.
8572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8573 multiarch __ieee754_hypotf for PowerPC32.
8574
2d9470b2
AZ
8575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8576 long_double_symbol only if __logbl is defined.
8577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8578 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8580 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8582 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8584 path for implementation.
8585 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8588 logb, and logbl multiarch implementations for PowerPC32.
8589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8590 file.
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8592 file.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8594 multiarch logb for PowerPC32.
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8596 file.
8597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8598 file.
8599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8600 multiarch logbf for PowerPC32.
8601 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8603 file.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8605 multiarch logbl implementation for PowerPC32.
8606
5212ffce
AZ
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8608 and modff multiarch implementations.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8610 New file.
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8612 New file.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8614 multiarch modf for PowerPC32.
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8616 New file.
8617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8618 New file.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8620 multiarch modff for PowerPC32.
8621
79dccf31
AZ
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8623 and lrintf multiarch implementations.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8625 New file.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8627 New file.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8629 multiarch lrint for PowerPC32.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8631 file: multiarch lrintf for PowerPC32.
8632
deb66480
AZ
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8634 and lroundf multiarch implementations.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8636 New file.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8638 New file.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8640 New file.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8642 multiarch lround for PowerPC32.
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8644 file: multiarch lroundf for PowerPC32.
8645
264b036b
AZ
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8647 copysign and copysignf multiarch implementations.
8648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8649 New file.
8650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8651 New file.
8652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8653 file: multiarch copysign for PowerPC32.
8654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8655 file: multiarch copysignf for PowerPC32.
8656
d47db6c9
AZ
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8658 and truncf multiarch implementations.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8660 New file.
8661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8662 file.
8663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8664 multiarch trunc for PowerPC32.
8665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8666 New file.
8667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8668 New file.
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8670 multiarch truncf for PowerPC32.
8671
ddb60b5a
AZ
8672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8673 and roundf multiarch implementations.
8674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8675 New file.
8676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8677 file.
8678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8679 multiarch round for PowerPC32.
8680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8681 New file.
8682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8683 New file.
8684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8685 multiarch roundf for PowerPC32.
8686
bedcf49b
AZ
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8688 and floorf multiarch implementations.
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8690 New file.
8691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8692 file.
8693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8694 multiarch floor for PowerPC32.
8695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8696 New file.
8697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8698 New file.
8699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8700 multiarch floorf for PowerPC32.
8701
35ae5b40
AZ
8702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8703 and ceilf multiarch implementations.
8704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8705 New file.
8706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8707 file.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8709 multiarch ceil for PowerPC32.
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8711 New file.
8712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8713 file.
8714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8715 multiarch ceilf for PowerPC32.
8716
ae1a4cd9
AZ
8717 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8718 is defined.
8719 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8720 FINITEF is defined.
8721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8722 and finitef multiarch implementations.
8723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8724 New file.
8725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8726 file.
8727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8728 multiarch finite for PowerPC32.
8729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8730 New file.
8731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8732 file: multiarch finitef for PowerPC32.
8733
64fffd65
AZ
8734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8735 and isinff multiarch implementations.
8736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8737 file.
8738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8739 file.
8740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8741 multiarch isinf for PowerPC32.
8742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8743 New file.
8744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8745 multiarch isinff for PowerPC32.
8746
8e4e7ba2
AZ
8747 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8748 alias when __isnan is defined.
8749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8750 and isnanf multiarch implementations.
8751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8752 file.
8753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8754 file.
8755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8756 file.
8757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8758 file.
8759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8760 multiarch isnan for PowerPC32.
8761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8762 New file.
8763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8764 New file.
8765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8766 multiarch isnanf for PowerPC32.
8767
ddba588e
AZ
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8769 and sqrtf multiarch implementations.
8770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8771 file.
8772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8773 file.
8774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8775 multiarch sqrt for PowerPC32.
8776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8777 file.
8778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8779 file.
8780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8781 multiarch sqrtf for PowerPC32.
8782
0f96a2f0
AZ
8783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8784 and llroundf multiarch implementations.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8786 New file.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8788 New file.
8789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8790 New file.
8791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8792 file: multiarch llround for PowerPC32.
8793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8794 file: multiarch llroundf for PowerPC32.
8795
c9b5d79e
AZ
8796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8797 multiarch PowerPC32 fpu implementations.
8798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8799 New file.
8800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8801 New file.
8802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8803 multiarch llrint for PowerPC32.
8804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8805 New file.
8806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8807 New file.
8808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8809 file.
8810
9cbb3aab
AZ
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8812
ea5a72f8
AZ
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8814 file.
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8816 file.
8817 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8818 file.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8820 multiarch wordcopy for PPC32.
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8822 wordcopy objects.
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8824 (__libc_ifunc_impl_list): Likewise.
8825 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8826 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8828 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8829 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8830 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8831
93be09e7
AZ
8832 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8834 file.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8836 file.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8838 file.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8840 multiarch wcscpy for PPC32.
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8842 multiarch objects.
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8844 (__libc_ifunc_impl_list): Likewise.
8845 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8846 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8847 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8848 sysdeps/powerpc/power6/wcscpy.c.
8849
bb04e529
AZ
8850 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8852 file.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8854 file.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8856 file.
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8858 multiarch wcsrchr for PPC32.
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8860 multiarch objects.
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8862 (__libc_ifunc_impl_list): Likewise.
8863 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8864 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8865 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8866 sysdeps/powerpc/power6/wcsrchr.c.
8867
05b5cd1c
AZ
8868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8869 file.
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8871 file.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8874 multiarch wcschr for PPc32.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8876 multiarch objects.
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8878 (__libc_ifunc_impl_list): Likewise.
8879 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8880 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8881 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8882 sysdeps/powerpc/power6/wcschr.c.
8883
ba964147
AZ
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8885 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8886 file.
8887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8888 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8889 file: multiarch strchr for PPC32.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8891 multiarch objects.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8893 (__libc_ifunc_impl_list): Likewise.
8894
31c81aaa
AZ
8895 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8896 name.
8897 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8898 file.
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8900 file.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8902 multiarch strchrnul for PPC32.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8904 multiarch objects.
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8906 (__libc_ifunc_impl_list): Likewise.
8907
0d0607d9
AZ
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8909 file.
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8911 multiarch strncasecmp for PPC32.
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8913 file.
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8915 multiarch strncasecmp_l for PPC32.
8916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8917 strncasecmp multiarch objects.
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8919 (__libc_ifunc_impl_list): Likewise.
8920
4dfd5c86
AZ
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8922 file.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8924 multiarch strncasecmp for PPC32.
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8926 New file.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8928 multiarch strcasecmp_l for PPC32.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8930 multiarch objects.
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8932 (__libc_ifunc_impl_list): Likewise.
8933
a19e01a3
AZ
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8935 file.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8937 file.
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8939 multiarch strncmp for PPC32.
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8941 multiarch objects.
8942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8943 (__libc_ifunc_impl_list): Likewise.
8944
ae9cf7a2
AZ
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8946 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8947 file.
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8949 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8951 multiarch objects.
8952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8953 (__libc_ifunc_impl_list): Likewise.
8954
3148bb7d
AZ
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8956 file.
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8958 file.
8959 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8961 multiarch objects.
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8963 (__libc_ifunc_impl_list): Likewise.
8964
7af8b946
AZ
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8966 file.
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8968 file.
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8970 multiarch rawmemchr for PPC32.
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8972 multiarch objects.
8973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8974 (__libc_ifunc_impl_list): Likewise.
8975
03a6aa6a
AZ
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8977 file.
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8979 file.
8980 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8981 file: memrchr multiarch for PPC32.
8982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8983 multiarch objects.
8984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8985 (__libc_ifunc_impl_list): Likewise.
8986
1c62e6d9
AZ
8987 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8988 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8989 file.
8990 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8991 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8992 multiarch memchr for PPC32.
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8994 multiarch objects.
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8996 (__libc_ifunc_impl_list): Likewise.
8997
87da8bdb
AZ
8998 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8999 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9000 file.
9001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9002 file.
9003 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9004 file: multiarch mempcpy for PPC32.
9005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9006 multiarch objects.
9007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9008 (__libc_ifunc_impl_list): Likewise.
9009
20ed4714
AZ
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9014 multiarch bzero for PPC32.
9015 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9016 file.
9017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9018 file.
9019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9020 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9021 file: multiarch memset for PPC32.
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9024 memset multiarch objects.
9025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9026 (__libc_ifunc_impl_list): Likewise.
9027
ab3e3a46
AZ
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9029 file.
9030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9032 memcmp for PPC32.
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9035 multiarch objects.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9037 (__libc_ifunc_impl_list): Likewise.
9038
930de6f0
AZ
9039 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9042 file.
9043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9044 file.
9045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9046 file.
9047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9048 multiarch memcpy for PPC32.
9049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9050 multiarch objects.
9051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9052 (__libc_ifunc_impl_list): Likewise.
9053
4c628e00
AZ
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9055 support multiarch for POWER/PPC32.
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9057 Likewise.
9058 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9060 Implies file to make multiarch folder appers before the fpu and
9061 default folder for power4 configuration.
9062
f4479220
SP
90632013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9064
9065 * scripts/bench.pl: Append volatile keyword to type.
9066
8517800f
KK
90672013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9068
9069 * sysdeps/sh/sotruss-lib.c: New file.
9070 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9071
180138f1
AZ
90722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073
9074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9075
bbf37bdc
JM
90762013-12-05 Joseph Myers <joseph@codesourcery.com>
9077
e47cc4e0
JM
9078 [BZ #6810]
9079 * math/w_tgamma.c: Include <errno.h>.
9080 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9081 * math/w_tgammaf.c: Include <errno.h>.
9082 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9083 * math/w_tgammal.c: Include <errno.h>.
9084 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9085 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9086 underflow. Add more tgamma tests.
9087 * math/auto-libm-test-out: Regenerated.
9088 * sysdeps/i386/fpu/libm-test-ulps: Update.
9089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9090
bbf37bdc
JM
9091 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9092 sin, sinh, tan, tanh, tgamma, y0 and y1.
9093 * math/auto-libm-test-out: Regenerated.
9094 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9095 (TEST_COND_x86): Likewise.
9096 (M_E2l): Remove macro.
9097 (M_E3l): Likewise.
9098 (M_2_SQRT_PIl): Likewise.
9099 (M_SQRT_PIl): Likewise.
9100 (M_1_DIV_El): Likewise.
9101 (log_test_data): Use AUTO_TESTS_f_f.
9102 (log10_test_data): Likewise.
9103 (log1p_test_data): Likewise.
9104 (log2_test_data): Likewise.
9105 (sin_test_data): Likewise.
9106 (sin_tonearest_test_data): Likewise.
9107 (sin_towardzero_test_data): Likewise.
9108 (sin_downward_test_data): Likewise.
9109 (sin_upward_test_data): Likewise.
9110 (sinh_test_data): Likewise.
9111 (sinh_tonearest_test_data): Likewise.
9112 (sinh_towardzero_test_data): Likewise.
9113 (sinh_downward_test_data): Likewise.
9114 (sinh_upward_test_data): Likewise.
9115 (tan_test_data): Likewise.
9116 (tan_tonearest_test_data): Likewise.
9117 (tan_towardzero_test_data): Likewise.
9118 (tan_downward_test_data): Likewise.
9119 (tan_upward_test_data): Likewise.
9120 (tanh_test_data): Likewise.
9121 (tgamma_test_data): Likewise.
9122 (y0_test_data): Likewise.
9123 (y1_test_data): Likewise.
9124 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9125 (special_real_inputs): Add pi/4.
9126 * sysdeps/i386/fpu/libm-test-ulps: Update.
9127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9128
eb5ad6b9
AZ
91292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9132 "longjmp_target" static probes.
9133 (__longjmp): Rename to __longjmp_symbol.
9134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9135 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9136 on which longjmp to generate.
9137 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9139 probe.
9140 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9141 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9142 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9144 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9145 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9147 __longjmp_symbol based on which __longjmp to generate.
9148 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9149 probe.
9150 (setjmp): Rename to setjmp_symbol.
9151 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9152 (_setjmp): Rename to _setjmp_symbol.
9153 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9154 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9155 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9156 which setjmp to generate.
9157 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9158 "longjmp_target" static probes.
9159
d136c6dc
SP
91602013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9161
9298ecba
SP
9162 * benchtests/README: Add note about output arguments.
9163 * benchtests/bench-sincos.c: Remove file.
9164 * benchtests/sincos-inputs: New file.
9165 * scripts/bench.pl: Identify output arguments and define
9166 static variables for them.
9167
232983e9
SP
9168 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9169
d136c6dc
SP
9170 [BZ #15941]
9171 * Makefile (INSTALL): Add install-plain.texi as the primary
9172 dependency.
9173 * manual/install-plain.texi: New file.
9174 * manual/install.texi: Include node directive only for
9175 non-plaintext output.
9176
699ff837
JM
91772013-12-04 Joseph Myers <joseph@codesourcery.com>
9178
ab07cea8
JM
9179 * stdlib/longlong.h: Update from GCC.
9180
699ff837
JM
9181 [BZ #6807]
9182 [BZ #15901]
9183 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9184 * math/w_j0f.c (y0f): Likewise.
9185 * math/w_j0l.c (__y0l): Likewise.
9186 * math/w_j1.c (y1): Likewise.
9187 * math/w_j1f.c (y1f): Likewise.
9188 * math/w_j1l.c (__y1l): Likewise
9189 * math/w_jn.c (yn): Likewise.
9190 * math/w_jnf.c (ynf): Likewise.
9191 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9192 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9193 value for Bessel function domain errors outside _SVID_ mode.
9194 Adjust sign of return value for yn (negative integer, 0).
9195 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9196 by zero in return for negative x and set sign appropriately for
9197 negative n.
9198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9199 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9200 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9201 expectations in error cases.
9202 (y1_test_data): Likewise.
9203 (yn_test_data): Likewise.
9204 * sysdeps/i386/fpu/libm-test-ulps: Update.
9205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9206
5b118558
UW
92072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9208
9209 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9210 "64" to "64-v1". Add "64-v2".
9211 (abi-64-options): Rename to ...
9212 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9213 (abi-64-condition): Rename to ...
9214 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9215 (abi-64-ld-soname): Rename to ...
9216 (abi-64-v1-ld-soname): ... this.
9217 (abi-64-v2-options): Define.
9218 (abi-64-v2-condition): Likewise.
9219 (abi-64-v2-ld-soname): Likewise.
9220 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9221 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9225
61cd8fe4
UW
92262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9227 Alan Modra <amodra@gmail.com>
9228
9229 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9230 New versions for use with the ELFv2 ABI.
9231 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9232 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9233 declaration.
9234 (struct La_ppc64v2_retval): Likewise.
9235 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9236 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9237 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9238 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9239 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9240 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9241 Do not save or restore CR.
9242 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9243 (_dl_profile_resolve): Do no save or restore CR. Support extended
9244 return values for ELFv2 ABI. Fix location of FPR return registers.
9245 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9246 updated values for _CALL_ELF == 2.
9247 (La_regs, La_retval, int_retval): Likewise.
9248
8b8a692c
UW
92492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9250
9251 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9252 (FRAME_MIN_SIZE_PARM): Likewise.
9253 (FRAME_BACKCHAIN): Likewise.
9254 (FRAME_CR_SAVE): Likewise.
9255 (FRAME_LR_SAVE): Likewise.
9256 (FRAME_TOC_SAVE): Likewise.
9257 (FRAME_PARM_SAVE): Likewise.
9258 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9259 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9260 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9261 (call_mcount_parm_offset): New macro.
9262 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9263 (PROF): Use symbolic stack frame offsets.
9264 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9265 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9266 Redefine in terms of FRAME_MIN_SIZE.
9267 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9268 (_dl_profile_resolve): Likewise. Update comment.
9269 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9270 symbols stack frame offsets.
9271 (__sigsetjmp): Likewise.
9272 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9273 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9274 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9275 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9276
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9278 (FRAME_BACKCHAIN): Remove.
9279 (FRAME_CR_SAVE): Likewise.
9280 (FRAME_LR_SAVE): Likewise.
9281 (FRAME_COMPILER_DW): Likewise.
9282 (FRAME_LINKER_DW): Likewise.
9283 (FRAME_TOC_SAVE): Likewise.
9284 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9285 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9286 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9287 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9289 (CHECK_SP): Use symbolic stack frame offsets.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9291 zone" instead of caller's parameter save area for temp storage.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9293 Likewise. Also, use symbolic stack frame offsets.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9295 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9296 our own stack frame instead of the caller's.
9297 (__socket): Use symbolic stack frame offsets.
9298
122b66de
UW
92992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9300 Alan Modra <amodra@gmail.com>
9301
9302 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9303 Define.
57f41c40
AS
9304 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9305 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9306 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9307 New function.
9308 (elf_machine_fixup_plt): Call it.
9309 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9310 reloc arguments.
9311 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9312 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9313 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9314 r2 before calling target.
9315
696caf1d
UW
93162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9317 Alan Modra <amodra@gmail.com>
9318
9319 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9320 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9321 versions of macros to support ELFv2 ABI.
9322 (LOCALENTRY): New macro.
9323 (ENTRY, EALIGN): Use it.
9324 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9325 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9326 fall through into ENTRY entry point.
9327 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9328 Only define if _CALL_ELF != 2.
9329
9330 (elf_machine_matches_host): Verify ABI version matches.
9331 (RTLD_START): Use LOCALENTRY.
9332 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9333 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9334 (PLT_ENTRY_WORDS): New macro.
9335 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9336 (elf_machine_runtime_setup): Support ELFv2 ABI.
9337 (elf_machine_fixup_plt): Likewise.
9338 (elf_machine_plt_conflict): Likewise.
9339 (resolve_ifunc): Likewise.
9340 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9342 Likewise.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9344 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9346 (makecontext): Support ELFv2 ABI.
9347 * elf/elf.h (EF_PPC64_ABI): Define.
9348
d31beafa
UW
93492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9350
57f41c40
AS
9351 * sysdeps/powerpc/powerpc64/sysdep.h
9352 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9353 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9354 (ENTRY) [ASSEMBLER]: ... but instead here ...
9355 (EALIGN) [ASSEMBLER]: ... and here.
9356 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9357 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9358 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9359 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9360 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9361 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9362 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9363 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9365 Use PPC64_LOAD_FUNCPTR.
9366
b525166b
UW
9367 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9368
7ec07d9a
AM
93692013-12-04 Alan Modra <amodra@gmail.com>
9370
9371 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9372 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9373 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9374 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9375
9376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9377 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9378 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9379 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9380 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9381 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9382
5162e7dd
UW
93832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9384
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9386 (__makecontext): Fix incorrect CFI when backtracing out of
9387 context created via makecontext.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9389 (__setcontext): Fix incorrect CFI during switch to new context.
9390 (__novec_setcontext): Likewise.
9391
19e3372b
OB
93922013-12-04 Ondřej Bílka <neleai@seznam.cz>
9393
9394 [BZ #4772]
9395 * time/strptime_l.c (__strptime_internal): Allow modifiers
9396 in strptime.
9397 * time/tst-strptime.c (day_tests): Add testcase.
9398
ecaf142d
SP
93992013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9400
9401 * scripts/bench.pl: Skip over blank lines.
9402
fbf964ae
PE
94032013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9404
9405 [BZ #926]
9406 * manual/time.texi (Calendar Time): Clarify what timezone functions
9407 use.
9408
fa60a674
AZ
94092013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9410
9411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9412
d674f0ef
OB
94132013-12-04 Ondřej Bílka <neleai@seznam.cz>
9414
9415 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9416 implementation.
9417 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9418 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9419 * debug/memset_chk.c (__memset_chk): Likewise.
9420 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9421 * debug/strncpy_chk.c: Likewise.
9422
17dea188
JM
94232013-12-03 Joseph Myers <joseph@codesourcery.com>
9424
749008ff
JM
9425 [BZ #15268]
9426 [BZ #15425]
9427 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9428 (__ieee754_exp): For possibly underflowing results, check size of
9429 result and force underflow exception if required.
9430 * math/auto-libm-test-in: Add more tests of exp.
9431 * math/auto-libm-test-out: Regenerated.
9432 * sysdeps/i386/fpu/libm-test-ulps: Update.
9433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9434
17dea188
JM
9435 [BZ #16283]
9436 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9437 * math/w_exp2f.c (__exp2f): Likewise.
9438 * math/w_exp2l.c (__exp2l): Likewise.
9439 * math/auto-libm-test-in: Do not allow missing errno on exp2
9440 underflow.
9441 * math/auto-libm-test-out: Regenerated.
9442
b20de2c3
OB
94432013-12-03 Ondřej Bílka <neleai@seznam.cz>
9444
9445 [BZ #16274]
9446 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9447 handle filename validation.
9448 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9449 (do_open): Delete.
9450
d8e2dbe3
JM
94512013-12-03 Joseph Myers <joseph@codesourcery.com>
9452
34e16df5
JM
9453 [BZ #6786]
9454 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9455 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9456 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9457 <float.h>.
9458 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9459 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9460 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9462 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9464 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9465 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9466 Add more erfc tests.
9467 * math/auto-libm-test-out: Regenerated.
9468 * sysdeps/i386/fpu/libm-test-ulps: Update.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9470
d8e2dbe3
JM
9471 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9472 exp2, expm1, j0 and j1.
9473 * math/auto-libm-test-out: Regenerated.
9474 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9475 (erfc_test_data): Likewise.
9476 (exp_test_data): Likewise.
9477 (exp_tonearest_test_data): Likewise.
9478 (exp_towardzero_test_data): Likewise.
9479 (exp_downward_test_data): Likewise.
9480 (exp_upward_test_data): Likewise.
9481 (exp10_test_data): Likewise.
9482 (exp2_test_data): Likewise.
9483 (expm1_test_data): Likewise.
9484 (j0_test_data): Likewise.
9485 (j1_test_data): Likewise.
9486 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9487 (input_flag_type): Add flag_xfail_rounding.
9488 (input_flags): Add xfail-rounding.
9489 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9490 (output_for_one_input_case): Handle flag_xfail_rounding.
9491 * sysdeps/i386/fpu/libm-test-ulps: Update.
9492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9493
18d14251
AJ
94942013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9495
3d2e6075 9496 [BZ #16289]
18d14251
AJ
9497 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9498 division by 0.
9499
520d437b
SP
95002013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9501
9502 [BZ #16195]
9503 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9504 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9505 (STAP_PROBE0): New macro.
9506 (STAP_PROBE1): Likewise.
9507 (STAP_PROBE2): Likewise.
9508 (STAP_PROBE3): Likewise.
9509 (STAP_PROBE4): Likewise.
9510
416e0145
OB
95112013-12-02 Ondřej Bílka <neleai@seznam.cz>
9512
9513 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9514
9d17796a
SE
95152013-12-02 Steve Ellcey <sellcey@mips.com>
9516
9517 * benchtests/Makefile (bench): Add sqrt.
9518 (LDLIBS-bench-sqrt): New.
9519 * benchtests/sqrt-input: New.
9520
f524d6a8
PS
95212013-12-02 Pavel Simerda <psimerda@redhat.com>
9522
639a0ef8
PS
9523 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9524 (GAIH_EAI): Likewise.
9525 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9526 (gaih_inet): Likewise.
9527 (getaddrinfo): Don't use GAIH_EAI.
9528
f524d6a8
PS
9529 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9530 (struct gaih): Remove definition.
9531
df3aedaf
SP
95322013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9533
9534 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9535 Use HERRNOP directly.
9536
1ab19dec
AZ
95372013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9538
b42ad38d 9539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9540
176b0c79
JM
95412013-11-30 Joseph Myers <joseph@codesourcery.com>
9542
9543 * math/gen-auto-libm-tests.c (test_functions): Add more
9544 single-argument functions.
9545 (special_fill_pi_2): New function.
9546 (special_fill_minus_pi_2): Likewise.
9547 (special_fill_pi_6): Likewise.
9548 (special_fill_minus_pi_6): Likewise.
9549 (special_fill_pi_3): Likewise.
9550 (special_fill_2pi_3): Likewise.
9551 (special_fill_e): Likewise.
9552 (special_fill_1_e): Likewise.
9553 (special_fill_e_minus_1): Likewise.
9554 (special_real_inputs): Add more special inputs.
9555 (output_for_one_input_case): Do not require ERANGE on underflow to
9556 zero if round-to-nearest result does not underflow to zero, unless
9557 exact results required.
9558 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9559 atan, atanh, cbrt, cos and cosh.
9560 * math/auto-libm-test-out: Regenerated.
9561 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9562 (acos_tonearest_test_data): Likewise.
9563 (acos_towardzero_test_data): Likewise.
9564 (acos_downward_test_data): Likewise.
9565 (acos_upward_test_data): Likewise.
9566 (acosh_test_data): Likewise.
9567 (asin_test_data): Likewise.
9568 (asin_tonearest_test_data): Likewise.
9569 (asin_towardzero_test_data): Likewise.
9570 (asin_upward_test_data): Likewise.
9571 (asinh_test_data): Likewise.
9572 (atan_test_data): Likewise.
9573 (atanh_test_data): Likewise.
9574 (cbrt_test_data): Likewise.
9575 (cos_test_data): Likewise.
9576 (cos_tonearest_test_data): Likewise.
9577 (cos_towardzero_test_data): Likewise.
9578 (cos_downward_test_data): Likewise.
9579 (cos_upward_test_data): Likewise.
9580 (cosh_test_data): Likewise.
9581 (cosh_tonearest_test_data): Likewise.
9582 (cosh_towardzero_test_data): Likewise.
9583 (cosh_downward_test_data): Likewise.
9584 (cosh_upward_test_data): Likewise.
9585 * sysdeps/i386/fpu/libm-test-ulps: Update.
9586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587
ffb536d0
JM
95882013-11-29 Joseph Myers <joseph@codesourcery.com>
9589
2a77a467
JM
9590 [BZ #6787]
9591 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9592 * math/w_exp10f.c (__exp10f): Likewise.
9593 * math/w_exp10l.c (__exp10l): Likewise.
9594 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9595 errno settings in existing tests.
9596
ea3bc4e8
JM
9597 [BZ #14032]
9598 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9599 precision control set to double precision.
9600 * sysdeps/i386/fpu/w_sqrt.c: New file.
9601 * math/auto-libm-test-in: Add more tests.
9602 * math/auto-libm-test-out: Update.
9603
0712c9d8
JM
9604 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9605 (sqrt_test_tonearest): New function.
9606 (sqrt_towardzero_test_data): New variable.
9607 (sqrt_test_towardzero): New function.
9608 (sqrt_downward_test_data): New variable.
9609 (sqrt_test_downward): New function.
9610 (sqrt_upward_test_data): New variable.
9611 (sqrt_test_upward): New function.
9612 (main): Call the new functions.
9613
ffb536d0
JM
9614 * math/gen-auto-libm-tests.c: New file.
9615 * math/auto-libm-test-in: Likewise.
9616 * math/auto-libm-test-out: New generated file.
9617 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9618 variables.
9619 (%beautify): Add generated representations of zero.
9620 (top level): Set $auto_input and call parse_auto_input.
9621 (beautify): Remove trailing "f" from hex float constants.
9622 (parse_args): Handle XFAIL_TEST.
9623 (convert_condition): New function.
9624 (or_value): Likewise.
9625 (or_cond_value): Likewise.
9626 (generate_testfile): Handle AUTO_TESTS_* lines.
9627 (parse_auto_input): New function.
9628 * math/libm-test.inc (XFAIL_TEST): New macro.
9629 (ERRNO_UNCHANGED): Update value.
9630 (ERRNO_EDOM): Likewise.
9631 (ERRNO_ERANGE): Likewise.
9632 (IGNORE_RESULT): Likewise.
9633 (TEST_COND_flt_32): New macro.
9634 (TEST_COND_dbl_64): Likewise.
9635 (TEST_COND_ldbl_96_intel): Likewise.
9636 (TEST_COND_ldbl_96_m68k): Likewise.
9637 (TEST_COND_ldbl_128): Likewise.
9638 (TEST_COND_ldbl_128ibm): Likewise.
9639 (TEST_COND_long32): Likewise.
9640 (TEST_COND_long64): Likewise.
9641 (TEST_COND_before_rounding): Likewise.
9642 (TEST_COND_after_rounding): Likewise.
9643 (enable_test): Handle XFAIL_TEST flag.
9644 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9645 with finite results.
9646 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9647 auto-libm-test-out.
9648
acd98a8e
AK
96492013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9650 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9651
9652 [BZ #16214]
9653 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9654 __tls_get_addr_internal instead of __tls_get_offset in order to
9655 avoid GOT pointer dependency. Make rtld export
9656 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9657 __tls_get_addr since we are a __tls_get_offset platform.
9658 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9659 GOT pointer being set up before.
9660 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9661
3c1c46a6
JM
96622013-11-28 Joseph Myers <joseph@codesourcery.com>
9663
7475aef5
JM
9664 * manual/math.texi (Errors in Math Functions): Document accuracy
9665 goals.
9666
8bca7cd8
JM
9667 [BZ #15004]
9668 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9669 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9674 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9684
91a1f3fe
JM
9685 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9686 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9687 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9688 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9689 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9690 Likewise.
9691 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9692 Likewise.
9693 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9694 Likewise.
9695 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9696 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9697 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9698 atomic-feupdateenv and flt-rounds.
9699 * sysdeps/powerpc/nofpu/Versions (libc): Add
9700 __atomic_feholdexcept, __atomic_feclearexcept,
9701 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9702 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9703 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9704 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9705 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9706 here.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9708 Update.
9709
c5df7609
JM
9710 * manual/arith.texi (FP Exceptions): Document that exceptions may
9711 not be raised when matherr is used.
9712 (Math Error Reporting): Document overflow in directed rounding
9713 modes. Document that errno may not be set when finite values are
9714 returned on overflow. Document intent to set errno on underflow
9715 only for underflow to zero.
9716
3c1c46a6
JM
9717 [BZ #16271]
9718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9719 round-to-nearest then adjust result for other rounding modes.
9720 * include/fenv.h (fegetround): Use libm_hidden_proto.
9721 * math/fegetround.c (fegetround): Use libm_hidden_def.
9722 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9723 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9724 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9725 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9726 Likewise.
9727 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9729 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9730 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9731
5a4c6d53
SP
97322013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
9734 [BZ #16077]
9735 * nss/Versions (libnss_files): Add
9736 _nss_files_gethostbyname3_r.
9737 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9738 New function.
9739 (HOST_DB_LOOKUP): Remove macro.
9740 (_nss_files_gethostbyname_r): Implement function without the
9741 HOST_DB_LOOKUP macro.
9742 (_nss_files_gethostbyname2_r): Likewise.
9743
897b98ba
OB
97442013-11-28 Ondřej Bílka <neleai@seznam.cz>
9745
9746 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9747
6f476861
UB
97482013-11-26 Uros Bizjak <ubizjak@gmail.com>
9749
9750 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9751 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9752 warning.
9753
bd12ab55
AZ
97542013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9755
9756 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9757 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9758 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9759 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9761 __fe_nomask_env_priv and attribute_hidden.
9762 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9763 (libc_feupdateenv_test_ppc): Likewise.
9764 (libc_feresetround_ppc): Likewise.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9766 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9767 compat_symbol macro.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9769 (__fe_nomask_env): Likewise.
9770 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9771
52bb6543
OB
97722013-11-26 Ondřej Bílka <neleai@seznam.cz>
9773
9774 * string/Makefile: Remove ifunc tests.
9775 * string/test-string.h: Define TEST_IFUNC.
9776 * string/test-bcopy-ifunc.c: Remove.
9777 * string/test-bzero-ifunc.c: Likewise.
9778 * string/test-memccpy-ifunc.c: Likewise.
9779 * string/test-memchr-ifunc.c: Likewise.
9780 * string/test-memcmp-ifunc.c: Likewise.
9781 * string/test-memcpy-ifunc.c: Likewise.
9782 * string/test-memmem-ifunc.c: Likewise.
9783 * string/test-memmove-ifunc.c: Likewise.
9784 * string/test-mempcpy-ifunc.c: Likewise.
9785 * string/test-memrchr-ifunc.c: Likewise.
9786 * string/test-memset-ifunc.c: Likewise.
9787 * string/test-rawmemchr-ifunc.c: Likewise.
9788 * string/test-stpcpy-ifunc.c: Likewise.
9789 * string/test-stpncpy-ifunc.c: Likewise.
9790 * string/test-strcasecmp-ifunc.c: Likewise.
9791 * string/test-strcasestr-ifunc.c: Likewise.
9792 * string/test-strcat-ifunc.c: Likewise.
9793 * string/test-strchr-ifunc.c: Likewise.
9794 * string/test-strchrnul-ifunc.c: Likewise.
9795 * string/test-strcmp-ifunc.c: Likewise.
9796 * string/test-strcpy-ifunc.c: Likewise.
9797 * string/test-strcspn-ifunc.c: Likewise.
9798 * string/test-strlen-ifunc.c: Likewise.
9799 * string/test-strncasecmp-ifunc.c: Likewise.
9800 * string/test-strncat-ifunc.c: Likewise.
9801 * string/test-strncmp-ifunc.c: Likewise.
9802 * string/test-strncpy-ifunc.c: Likewise.
9803 * string/test-strnlen-ifunc.c: Likewise.
9804 * string/test-strpbrk-ifunc.c: Likewise.
9805 * string/test-strrchr-ifunc.c: Likewise.
9806 * string/test-strspn-ifunc.c: Likewise.
9807 * string/test-strstr-ifunc.c: Likewise.
9808
ab260039 98092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9810
9811 * benchtests/Makefile: Remove ifunc tests.
9812 * benchtests/bench-string.h: Define TEST_IFUNC.
9813 * benchtests/bench-bcopy-ifunc.c: Remove.
9814 * benchtests/bench-bzero-ifunc.c: Likewise.
9815 * benchtests/bench-memccpy-ifunc.c: Likewise.
9816 * benchtests/bench-memchr-ifunc.c: Likewise.
9817 * benchtests/bench-memcmp-ifunc.c: Likewise.
9818 * benchtests/bench-memcpy-ifunc.c: Likewise.
9819 * benchtests/bench-memmem-ifunc.c: Likewise.
9820 * benchtests/bench-memmove-ifunc.c: Likewise.
9821 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9822 * benchtests/bench-memrchr-ifunc.c: Likewise.
9823 * benchtests/bench-memset-ifunc.c: Likewise.
9824 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9825 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9826 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9827 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9828 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9829 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9830 * benchtests/bench-strcat-ifunc.c: Likewise.
9831 * benchtests/bench-strchr-ifunc.c: Likewise.
9832 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9833 * benchtests/bench-strcmp-ifunc.c: Likewise.
9834 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9835 * benchtests/bench-strcpy-ifunc.c: Likewise.
9836 * benchtests/bench-strcspn-ifunc.c: Likewise.
9837 * benchtests/bench-strlen-ifunc.c: Likewise.
9838 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9839 * benchtests/bench-strncat-ifunc.c: Likewise.
9840 * benchtests/bench-strncmp-ifunc.c: Likewise.
9841 * benchtests/bench-strncpy-ifunc.c: Likewise.
9842 * benchtests/bench-strnlen-ifunc.c: Likewise.
9843 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9844 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9845 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9846 * benchtests/bench-strspn-ifunc.c: Likewise.
9847 * benchtests/bench-strstr-ifunc.c: Likewise.
9848
98492013-11-26 Ondřej Bílka <neleai@seznam.cz>
9850
ab260039
OB
9851 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9852
d1d9eaf4 98532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9854
d1d9eaf4
OB
9855 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9856 * rt/aio.h: Likewise.
9857 * sysdeps/gnu/bits/utmp.h: Likewise.
9858 * sysdeps/gnu/bits/utmpx.h: Likewise.
9859 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9860 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9861 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9862 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9863 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9864 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9865 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9866 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9867 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9868 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9869 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9870 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9871 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9874 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9875 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9876 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9877 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9878 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9880 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9881 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9882 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9885 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9886 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9887 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9894 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9895 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9896 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9897 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9898 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9899 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9900 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9901
a7624ed9
CD
99022013-11-25 Carlos O'Donell <carlos@redhat.com>
9903
9904 [BZ #16245]
9905 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9906 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9907
63cfe52b
JM
99082013-11-25 Joseph Myers <joseph@codesourcery.com>
9909
9910 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9911 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9912 Likewise.
9913
41e8926a
AZ
99142013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915
9916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9917 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9918 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9919 (__fesetround): Remove define.
9920 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9921 rounding and exceptions handling.
9922 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9923 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9924 (__fe_nomask_env): Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9926 __fegetround instead of fegetround.
9927 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9929
6851bd4d
RM
99302013-11-21 Roland McGrath <roland@hack.frob.com>
9931
070906ff
RM
9932 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9933 it's there.
9934
6851bd4d
RM
9935 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9936
84ae135d
MI
99372013-11-21 Meador Inge <meadori@codesourcery.com>
9938
9939 [BZ #11157]
9940 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9941 (encrypt_r): Likewise.
9942 * malloc/obstack.h (obstack_free): Likewise.
9943 * posix/unistd.h (encrypt): Likewise.
9944
daf75146
GM
99452013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9946
9947 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9948 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9949 DL_CALL_DT_FINI() that call the functions directly.
9950 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9951 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9952 * elf/dl-fini.c: Likewise.
9953
10ad46bc
OB
99542013-11-20 Ondřej Bílka <neleai@seznam.cz>
9955
9956 * malloc/hooks.c (memalign_check): Add alignment rounding.
9957 * malloc/malloc.c (_mid_memalign): New function.
9958 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9959 Implement by calling _mid_memalign.
9960 * manual/probes.texi (Memory Allocation Probes): Remove
9961 memory_valloc_retry and memory_pvalloc_retry.
9962
f3fd2628
SP
99632013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9964
4712799f
SP
9965 * locale/programs/locarchive.c (open_archive): Add const
9966 qualifier to ARCHIVEFNAME and copy default fname to
9967 DEFAULT_FNAME.
9968
0417b20f
SP
9969 [BZ #15601]
9970 * libio/tst-widetext.input: Rename Oriya to Odia.
9971 * locale/iso-639.def: Likewise.
9972
f3fd2628
SP
9973 * manual/probes.texi (Mathematical Function Probes): Add
9974 documentation for sin, cos, asin and acos probes.
9975 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9976 (__sin32): Add slowasin probe.
9977 (__cos32): Add slowacos probe.
9978 (__mpsin): Add slowsin probe.
9979 (__mpcos): Add slowcos probe.
9980
73c1ce4f
JM
99812013-11-19 Joseph Myers <joseph@codesourcery.com>
9982
9983 [BZ #15483]
9984 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9985 thread-local __sim_exceptions_thread and global
9986 __sim_exceptions_global.
9987 (__sim_disabled_exceptions): Change to thread-local
9988 __sim_disabled_exceptions_thread and global
9989 __sim_disabled_exceptions_global.
9990 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9991 and global __sim_round_mode_global.
9992 (__simulate_exceptions): Use thread-local floating-point state and
9993 set global state from it as needed.
9994 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9995 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9996 __sim_round_mode_thread.
9997 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9998 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9999 and global __sim_exceptions_global.
10000 (__sim_disabled_exceptions): Change to thread-local
10001 __sim_disabled_exceptions_thread and global
10002 __sim_disabled_exceptions_global.
10003 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10004 and global __sim_round_mode_global.
10005 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10006 (SIM_SET_GLOBAL): Likewise.
10007 * sysdeps/powerpc/soft-fp/sfp-machine.h
10008 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10009 __sim_round_mode_thread.
10010 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10011 __sim_disabled_exceptions_thread.
10012 (__sim_exceptions): Change to __sim_exceptions_thread.
10013 (__sim_disabled_exceptions): Change to
10014 __sim_disabled_exceptions_thread.
10015 (__sim_round_mode): Change to __sim_round_mode_thread.
10016 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10017 thread-local floating-point state and set global state from it as
10018 needed.
10019 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10020 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10021 (__sim_disabled_exceptions): Remove extern declaration.
10022 (feenableexcept): Use thread-local floating-point state and set
10023 global state from it as needed.
10024 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10025 extern declaration.
10026 (__sim_disabled_exceptions): Likewise.
10027 (__sim_round_mode): Likewise.
10028 (__fegetenv): Use thread-local floating-point state.
10029 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10030 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10031 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10032 floating-point state and set global state from it as needed.
10033 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10034 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10035 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10036 Likewise.
10037 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10038 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10039 Likewise.
10040 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10041 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10042 Use __sim_round_mode_thread.
10043 * math/test-fenv-tls.c: New file.
10044 * math/Makefile (tests): Add test-fenv-tls.
10045 ($(objpfx)test-fenv-tls): Depend on
10046 $(common-objpfx)nptl/libpthread.so.
10047
b5449b12
AS
100482013-11-19 Andreas Schwab <schwab@suse.de>
10049
10050 * locale/programs/locale.c (show_info): Decode wordarray elements.
10051 * locale/categories.def (LC_MONETARY): Add element for
10052 _NL_MONETARY_CRNCYSTR.
10053 * locale/C-monetary.c (conversion_rate): New variable.
10054 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10055 element.
10056
e186536b
CM
100572013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10058
10059 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10060 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10061
5c349950
PP
100622013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10063
10064 * elf/Makefile (tst-auxv): New test.
10065 * elf/tst-auxv.c: New
10066 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10067
699df45b
JM
100682013-11-18 Joseph Myers <joseph@codesourcery.com>
10069
10070 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10071 (hidden_proto): Caller changed.
10072 (hidden_tls_proto): New macro.
10073 (libc_hidden_tls_proto): Likewise.
10074 (rtld_hidden_tls_proto): Likewise.
10075 (libm_hidden_tls_proto): Likewise.
10076 (libresolv_hidden_tls_proto): Likewise.
10077 (librt_hidden_tls_proto): Likewise.
10078 (libdl_hidden_tls_proto): Likewise.
10079 (libnss_files_hidden_tls_proto): Likewise.
10080 (libnsl_hidden_tls_proto): Likewise.
10081 (libnss_nisplus_hidden_tls_proto): Likewise.
10082 (libutil_hidden_tls_proto): Likewise.
10083
b7589107
OB
100842013-11-18 Ondřej Bílka <neleai@seznam.cz>
10085
10086 [BZ #10253]
10087 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10088 (decompose_rpath): Defer expansion to fillin_rpath.
10089 (_dl_init_paths): Pass linkmap to fillin_rpath.
10090
250c23bd
RS
100912013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10092
10093 * benchtests/Makefile: Add strsep.
10094 * benchtests/bench-strsep.c: New file: strsep benchtest.
10095 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10096
a7931fcf
AS
100972013-11-18 Andreas Schwab <schwab@suse.de>
10098
10099 * locale/programs/locale.c (show_info) [case byte]: Check for
10100 '\377' instead of '\177'.
10101 * locale/C-monetary.c (not_available): Always use "\377".
10102 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10103 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10104 detect unavailable sign_posn locale elements.
10105 * locale/localeconv.c (__localeconv): For grouping and
10106 mon_grouping handle "\177" and "\377" like no grouping.
10107 (INT_ELEM): New macro. Use it to set all numeric members.
10108 * locale/programs/ld-monetary.c (monetary_read)
10109 <tok_mon_grouping>: Normalize single -1 to the empty string.
10110 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10111 Likewise.
10112
728dab0e
OB
101132013-11-07 Ondřej Bílka <neleai@seznam.cz>
10114
10115 [BZ #16055]
10116 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10117 when we match (nil).
10118 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10119
66294491
JM
101202013-11-16 Joseph Myers <joseph@codesourcery.com>
10121
ce665817
JM
10122 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10123 (NO_TEST_INLINE): Update value.
10124 (ERRNO_UNCHANGED): Likewise.
10125 (ERRNO_EDOM): Likewise.
10126 (ERRNO_ERANGE): Likewise.
10127 (IGNORE_RESULT): Likewise.
10128 (check_float_internal): Check signs of NaN results if
10129 TEST_NAN_SIGN used.
10130 (check_complex): Pass TEST_NAN_SIGN flag through to second
10131 check_float_internal call.
10132 (copysign_test_data): Add tests with quiet NaNs as second
10133 argument. Use TEST_NAN_SIGN.
10134 (fabs_test_data): Add test of negative quiet NaN argument. Use
10135 TEST_NAN_SIGN.
10136 (signbit_test_data): Add tests of quiet NaN argument.
10137 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10138
ee1466a9
JM
10139 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10140 $ignore_result.
10141 (parse_args): Handle function results specified as IGNORE.
10142 * math/libm-test.inc (IGNORE_RESULT): New macro.
10143 (check_float_internal): Do not check numerical result if flag
10144 IGNORE_RESULT set.
10145 (check_complex): Pass through IGNORE_RESULT to second
10146 check_float_internal call.
10147 (check_int): Do not check numerical result if flag IGNORE_RESULT
10148 set.
10149 (check_long): Likewise.
10150 (check_bool): Likewise.
10151 (check_longlong): Likewise.
10152 (lrint_test_data): Add tests of infinite and NaN arguments.
10153 (lrint_tonearest_test_data): Likewise.
10154 (lrint_towardzero_test_data): Likewise.
10155 (lrint_downward_test_data): Likewise.
10156 (lrint_upward_test_data): Likewise.
10157 (llrint_test_data): Likewise.
10158 (llrint_tonearest_test_data): Likewise.
10159 (llrint_towardzero_test_data): Likewise.
10160 (llrint_downward_test_data): Likewise.
10161 (llrint_upward_test_data): Likewise.
10162 (lround_test_data): Likewise.
10163 (llround_test_data): Likewise.
10164
14407b7e
JM
10165 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10166 (ERRNO_UNCHANGED): Update value.
10167 (ERRNO_EDOM): Likewise.
10168 (ERRNO_ERANGE): Likewise.
10169 (NO_TEST_INLINE_FLOAT): New macro.
10170 (NO_TEST_INLINE_DOUBLE): Likewise.
10171 (enable_test): New function.
10172 (RUN_TEST_f_f): Check enable_test before running test.
10173 (RUN_TEST_2_f): Likewise.
10174 (RUN_TEST_fff_f): Likewise.
10175 (RUN_TEST_c_f): Likewise.
10176 (RUN_TEST_f_f1): Likewise.
10177 (RUN_TEST_fF_f1): Likewise.
10178 (RUN_TEST_fI_f1): Likewise.
10179 (RUN_TEST_ffI_f1): Likewise.
10180 (RUN_TEST_c_c): Likewise.
10181 (RUN_TEST_cc_c): Likewise.
10182 (RUN_TEST_f_i): Likewise.
10183 (RUN_TEST_f_i_tg): Likewise.
10184 (RUN_TEST_ff_i_tg): Likewise.
10185 (RUN_TEST_f_b): Likewise.
10186 (RUN_TEST_f_b_tg): Likewise.
10187 (RUN_TEST_f_l): Likewise.
10188 (RUN_TEST_f_L): Likewise.
10189 (RUN_TEST_fFF_11): Likewise.
10190 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10191 conditionals.
10192 (cosh_test_data): Likewise.
10193 (exp_test_data): Likewise.
10194 (expm1_test_data): Likewise.
10195 (hypot_test_data): Likewise.
10196 (pow_test_data): Likewise.
10197 (sinh_test_data): Likewise.
10198 (tanh_test_data): Likewise.
10199 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10200 flags argument.
10201
ca07f197
JM
10202 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10203 tests with quiet NaN input and output.
10204 (acosh_test_data): Likewise.
10205 (asin_test_data): Likewise.
10206 (asinh_test_data): Likewise.
10207 (atan_test_data): Likewise.
10208 (atanh_test_data): Likewise.
10209 (atan2_test_data): Likewise.
10210 (cbrt_test_data): Likewise.
10211 (cos_test_data): Likewise.
10212 (cosh_test_data): Likewise.
10213 (erf_test_data): Likewise.
10214 (erfc_test_data): Likewise.
10215 (exp_test_data): Likewise.
10216 (exp10_test_data): Likewise.
10217 (exp2_test_data): Likewise.
10218 (expm1_test_data): Likewise.
10219 (hypot_test_data): Likewise.
10220 (j0_test_data): Likewise.
10221 (j1_test_data): Likewise.
10222 (jn_test_data): Likewise.
10223 (lgamma_test_data): Likewise.
10224 (log_test_data): Likewise.
10225 (log10_test_data): Likewise.
10226 (log1p_test_data): Likewise.
10227 (log2_test_data): Likewise.
10228 (pow_test_data): Likewise.
10229 (scalb_test_data): Likewise.
10230 (sin_test_data): Likewise.
10231 (sincos_test_data): Likewise.
10232 (sinh_test_data): Likewise.
10233 (tan_test_data): Likewise.
10234 (tanh_test_data): Likewise.
10235 (tgamma_test_data): Likewise.
10236 (y0_test_data): Likewise.
10237 (y1_test_data): Likewise.
10238 (yn_test_data): Likewise.
10239
66294491
JM
10240 [BZ #16167]
10241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10242 argument being NaN and avoid computations with second argument in
10243 that case.
10244 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10245 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10246 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10247
1820b143
CL
102482013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10249
10250 * locale/iso-639.def: Add Chitwani Tharu (the).
10251
714bd261
AS
102522013-11-14 Andreas Schwab <schwab@suse.de>
10253
10254 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10255 word instead of empty string.
10256
7ab44563
AZ
102572013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10258
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10260 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10262 (__fe_nomask_env): Likewise.
10263
e8470ea2
SE
102642013-11-13 Steve Ellcey <sellcey@mips.com>
10265
10266 * benchtests/bench-timing.h: Include time.h.
10267
17c1d9f0
L
102682013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 [BZ #15997]
10271 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10272 to 3.4.0 for x32.
10273 * sysdeps/unix/sysv/linux/configure: Regenerated.
10274
9310c284
JM
102752013-11-13 Joseph Myers <joseph@codesourcery.com>
10276
10277 [BZ #16151]
10278 * stdlib/strtod_l.c (round_and_return): Do not consider
10279 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10280 exponent one less than half the least subnormal exponent.
10281 * stdlib/test-strtod-round-data: Add more tests.
10282 * stdlib/tst-strtod-round.c (tests): Regenerated.
10283
7a2ad8cf
AZ
102842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10285
10286 [BZ #14143]
10287 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10288 (__fe_mask_env): Likewise.
10289 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10290 libm_hidden_proto and add function prototype.
10291 (__fe_mask_env): Add function prototype.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10293 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10295 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10297 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10298
50727aa7
MS
102992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10300
b2f386c1 10301 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10302 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10303
a615be46
MS
103042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10305
10306 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10307 of htab_find_slot().
10308
7ddace62
DM
103092013-11-11 David S. Miller <davem@davemloft.net>
10310
10311 [BZ #16150]
10312 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10313 symbol in the non-vis3 case in static builds.
10314 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10316 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10317 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10318
9182aa67
JK
103192013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10320
10321 [BZ #387]
10322 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10323 it is empty.
10324
450a2e2d
AZ
103252013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326
b2f386c1
SP
10327 * benchtests/Makefile: Add bench-strtod.
10328 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10329
8ec3f656
AS
103302013-11-11 Andreas Schwab <schwab@suse.de>
10331
10332 [BZ #16153]
10333 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10334 terminating NUL in key length.
10335
76a9b998
AZ
103362013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337
10338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10339 Add artificial ODP entry for vDSO symbol for PPC64.
10340 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10341 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10342
e4368156
OB
103432013-11-07 Ondřej Bílka <neleai@seznam.cz>
10344
10345 [BZ #15374]
10346 * nss/getent.c (services_keys): Recognize services starting with digit.
10347
8d6bb57c
DM
103482013-11-06 David S. Miller <davem@davemloft.net>
10349
10350 [BZ #15985]
10351 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10352 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10353
e256c421
WN
103542013-11-06 Will Newton <will.newton@linaro.org>
10355
10356 * manual/memory.texi (Malloc Examples): Remove register
10357 keyword from examples.
10358
f6e12daa 103592013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10360
f6e12daa 10361 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10362
9d880655
AS
103632013-11-04 Joseph Myers <joseph@codesourcery.com>
10364
fd2f9486 10365 [BZ #6981]
9d880655
AS
10366 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10367 depending on [__GCC_IEC_559 > 0].
10368 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10369 depending on [__GCC_IEC_559_COMPLEX > 0].
10370
ae129d3c
CL
103712013-11-03 Chris Leonard <cjl@sugarlabs.org>
10372
10373 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10374 to iso-639.def.
10375
4a15c2a4 103762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10377
10378 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10379
8b35e35d
OB
103802013-11-01 Ondřej Bílka <neleai@seznam.cz>
10381
10382 [BZ #16112]
10383 * malloc/malloc (malloc_info): Do not handle first bin as
10384 special case.
10385
1d70fd6c
CL
103862013-11-01 Chris Leonard <cjl@sugarlabs.org>
10387
10388 * locale/iso-639.def: Add Central Nahuatl (nhn).
10389
8c5c2600
BH
103902013-11-01 Bruno Haible <bruno@clisp.org>
10391
10392 [BZ #7003]
10393 * manual/math.texi (BSD Random): Specify range upper bound as
10394 in POSIX.
10395
da5579c2
CL
103962013-10-31 Chris Leonard <cjl@sugarlabs.org>
10397
10398 * locale/iso-639.def: Add Meadow Mari (mhr).
10399
5d30d853
OB
104002013-10-31 Ondřej Bílka <neleai@seznam.cz>
10401
10402 [BZ #14752], [BZ #15763]
10403 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10404 Validate name.
10405 * rt/tst_shm.c: Add test for escaping directory.
10406
a4966c61
AS
104072013-10-31 Andreas Schwab <schwab@suse.de>
10408
8a43e768 10409 [BZ #15917]
a4966c61
AS
10410 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10411 followed by 'x' as part of digit sequence.
10412 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10413
28d708c4
MAP
104142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10415
10416 [BZ #16037]
10417 * configure.ac: allow GNU Make 4.0 and greater.
10418 * configure: Regenerated.
10419
a56ee40b
WN
104202013-10-30 Will Newton <will.newton@linaro.org>
10421
10422 [BZ #16038]
10423 * malloc/hooks.c (memalign_check): Limit alignment to the
10424 maximum representable power of two.
10425 * malloc/malloc.c (__libc_memalign): Likewise.
10426 * malloc/tst-memalign.c (do_test): Add test for very
10427 large alignment values.
10428 * malloc/tst-posix_memalign.c (do_test): Likewise.
10429
c6e4925d
OB
104302013-10-30 Ondřej Bílka <neleai@seznam.cz>
10431
10432 [BZ #11087]
10433 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10434 (munmap_chunk): Likewise.
10435 (mremap_chunk): Likewise.
10436
104372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10438
8a43e768 10439 [BZ #15799]
bbea82f7
OB
10440 * stdlib/div.c (div): Remove obsolete code.
10441 * stdlib/ldiv.c (ldiv): Likewise.
10442 * stdlib/lldiv.c (lldiv): Likewise.
10443
977f4b31
SP
104442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10445
10446 [BZ #16071]
10447 * nss/nss_files/files-XXX.c (get_contents_ret): New
10448 enumerator.
10449 (get_contents): New function.
10450 (internal_getent): Use it. Expand size of LINEBUFLEN.
10451
cb8a6dbd
MF
104522013-10-30 Mike Frysinger <vapier@gentoo.org>
10453
10454 * configure.in: Moved to ...
10455 * configure.ac: ... here. Change reference to configure.in
10456 to configure.ac.
10457 * sysdeps/arm/preconfigure.ac: ... here.
10458 configure.in to configure.ac.
10459 * sysdeps/gnu/configure.in: Moved to ...
10460 * sysdeps/gnu/configure.ac: ... here.
10461 * sysdeps/i386/configure.in: Moved to ...
10462 * sysdeps/i386/configure.ac: ... here.
10463 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10464 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10465 * sysdeps/mach/configure.in: Moved to ...
10466 * sysdeps/mach/configure.ac: ... here.
10467 * sysdeps/mach/hurd/configure.in: Moved to ...
10468 * sysdeps/mach/hurd/configure.ac: ... here.
10469 * sysdeps/powerpc/configure.in: Moved to ...
10470 * sysdeps/powerpc/configure.ac: ... here.
10471 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10472 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10473 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10474 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10475 * sysdeps/s390/s390-32/configure.in: Moved to ...
10476 * sysdeps/s390/s390-32/configure.ac: ... here.
10477 * sysdeps/s390/s390-64/configure.in: Moved to ...
10478 * sysdeps/s390/s390-64/configure.ac: ... here.
10479 * sysdeps/sh/configure.in: Moved to ...
10480 * sysdeps/sh/configure.ac: ... here.
10481 * sysdeps/sparc/configure.in: Moved to ...
10482 * sysdeps/sparc/configure.ac: ... here.
10483 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10484 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10485 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10486 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10487 * sysdeps/x86_64/configure.in: Moved to ...
10488 * sysdeps/x86_64/configure.ac: ... here.
10489 * sysdeps/x86_64/preconfigure.in: Moved to ...
10490 * sysdeps/x86_64/preconfigure.ac: ... here.
10491 * aclocal.m4: Change reference to configure.in to configure.ac.
10492 * config.h.in: Likewise.
10493 * manual/install.texi: Likewise.
10494 * manual/maint.texi: Likewise.
10495 * Makefile: Likewise.
10496 * malloc/Makefile: Likewise.
10497 * nscd/Makefile: Likewise.
10498 * Makeconfig: Change reference to configure.in and
10499 preconfigure.in to configure.ac and preconfigure.ac
10500 respectively.
10501 * INSTALL: Regenerated.
10502 * configure: Likewise.
10503 * sysdeps/gnu/configure: Likewise.
10504 * sysdeps/i386/configure: Likewise.
10505 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10506 * sysdeps/mach/configure: Likewise.
10507 * sysdeps/mach/hurd/configure: Likewise.
10508 * sysdeps/powerpc/configure: Likewise.
10509 * sysdeps/powerpc/powerpc32/configure: Likewise.
10510 * sysdeps/powerpc/powerpc64/configure: Likewise.
10511 * sysdeps/s390/s390-32/configure: Likewise.
10512 * sysdeps/s390/s390-64/configure: Likewise.
10513 * sysdeps/sh/configure: Likewise.
10514 * sysdeps/sparc/configure: Likewise.
10515 * sysdeps/unix/sysv/linux/configure: Likewise.
10516 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10517 * sysdeps/x86_64/configure: Likewise.
10518 * sysdeps/x86_64/preconfigure: Likewise.
10519
36a4953a
AS
105202013-10-29 Andreas Schwab <schwab@suse.de>
10521
10522 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10523
c79a1204
SP
105242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10525
dfa1b402
SP
10526 * benchtests/pow-inputs: Add new inputs.
10527
54f73d9c
SP
10528 * benchtests/exp-inputs: Add new inputs.
10529
c79a1204
SP
10530 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10531 conditional check for return value.
10532 (__cos32): Likewise.
10533
67beb545 105342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10535
10536 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10537 to provide a boost for large inputs with word alignment.
10538 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10539 implementation based on optimized PPC64 strcpy.
10540 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10541 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10542 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10543 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10544
151659f6
OB
105452013-10-25 Ondřej Bílka <neleai@seznam.cz>
10546
482a077e 10547 [BZ #2801]
151659f6
OB
10548 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10549
10b0f26b
OB
105502013-10-25 Ondřej Bílka <neleai@seznam.cz>
10551
10552 [BZ #14876]
10553 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10554 * time/tst-strptime.c (day_tests): Add testcase.
10555
ca42d35e
OB
105562013-10-25 Ondřej Bílka <neleai@seznam.cz>
10557
482a077e 10558 [BZ #14029]
ca42d35e
OB
10559 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10560
52e6d801
FB
105612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10562
10563 [BZ #16074]
10564 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10565 MAP_FAILED on error.
10566
7cbcdb36
SP
105672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10568
10569 [BZ #16072]
10570 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10571 heap for large requests.
10572
894f3f10
AM
105732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10574
10575 [BZ #9954]
10576 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10577 result if the result has no associated interface.
10578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10579 interface for all 127.X.Y.Z addresses.
10580
b85545a6
CL
105812013-10-24 Chris Leonard <cjl@sugarlabs.org>
10582
10583 * locale/iso-639.def: Add Ligurian (lij)
10584
d1f23d46
OB
105852013-10-21 Ondřej Bílka <neleai@seznam.cz>
10586
10587 [BZ #15825]
10588 * sunrpc/rpc_main.c: Document rpcgen -5.
10589
4db5b08f
MS
105902013-10-19 Michael Stahl <mstahl@redhat.com>
10591
10592 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10593
a471e96a
OB
105942013-10-19 Ondřej Bílka <neleai@seznam.cz>
10595
d1f23d46 10596 [BZ #10278]
a471e96a
OB
10597 * posix/glob.c: Match only directories when trailing slash is present.
10598 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10599 (main): Add testcase.
10600
45c30c61
OB
106012013-10-19 Ondřej Bílka <neleai@seznam.cz>
10602
10603 [BZ #15670]
10604 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10605
484c12fb
CD
106062013-10-18 Carlos O'Donell <carlos@redhat.com>
10607
3d7dc513
CD
10608 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10609 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10610 AUTH_DES and cindex for FIPS 140-2.
10611 (DES Encryption): Add cindex FIPS 46-3.
10612
484c12fb
CD
10613 * locale/locarchive.h (struct locarhandle): Add fname.
10614 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10615 if an optional argument was specified to --list-archive,
10616 otherwise NULL.
10617 * locale/programs/locarchive.c (show_archive_content): Take new
10618 argument fname and pass it via ah.fname to open_archive.
10619 * locale/programs/localedef.h: Update decl.
10620 (open_archive): If AH->fname is non-null, open that file
10621 rather than the default file name, and don't ignore ENOENT.
10622 (create_archive): Set AH.fname to NULL.
10623 (delete_locales_from_archive): Likewise.
10624 (add_locales_to_archive): Likewise.
10625 * locale/programs/locfile.c (write_all_categories): Likewise.
10626
3c8325fb
JM
106272013-10-18 Joseph Myers <joseph@codesourcery.com>
10628 Aldy Hernandez <aldyh@redhat.com>
10629
10630 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10631 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10632 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10633 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10634 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10635 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10636 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10638 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10639 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10640 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10641 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10642 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10643 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10644 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10645 Likewise.
10646 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10647 Likewise.
10648 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10649 Likewise.
10650 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10651 Likewise.
10652 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10653 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10654 Likewise.
10655 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10656 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10657 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10659 Likewise.
10660 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10661 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10662 * sysdeps/powerpc/preconfigure: Likewise.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10664 Likewise.
10665 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10666 Replace contents of file by #include of <fenv_libc.h>.
10667 * sysdeps/powerpc/soft-fp/sfp-machine.h
10668 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10669 and <sys/prctl.h>.
10670 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10683 Allow copysignl PLT reference to be missing.
10684
5abe0682
RS
106852013-10-18 Richard Sandiford <richard@codesourcery.com>
10686 Joseph Myers <joseph@codesourcery.com
10687
10688 [BZ #15948]
10689 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10690 single character.
10691 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10692
c7738d08
SP
106932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10694
10695 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10696 * elf/tst-tls1.c: Likewise.
10697 * elf/tst-tls10.h: Likewise.
10698 * elf/tst-tls14.c: Likewise.
10699 * elf/tst-tls2.c: Likewise.
10700 * elf/tst-tls3.c: Likewise.
10701 * elf/tst-tls4.c: Likewise.
10702 * elf/tst-tls5.c: Likewise.
10703 * elf/tst-tls6.c: Likewise.
10704 * elf/tst-tls7.c: Likewise.
10705 * elf/tst-tls8.c: Likewise.
10706 * elf/tst-tls9.c: Likewise.
10707 * elf/tst-tlsmod1.c: Likewise.
10708 * elf/tst-tlsmod13.c: Likewise.
10709 * elf/tst-tlsmod13a.c: Likewise.
10710 * elf/tst-tlsmod14a.c: Likewise.
10711 * elf/tst-tlsmod16a.c: Likewise.
10712 * elf/tst-tlsmod16b.c: Likewise.
10713 * elf/tst-tlsmod2.c: Likewise.
10714 * elf/tst-tlsmod3.c: Likewise.
10715 * elf/tst-tlsmod4.c: Likewise.
10716 * elf/tst-tlsmod5.c: Likewise.
10717 * elf/tst-tlsmod6.c: Likewise.
10718
0bfcf2c7
OB
107192013-10-18 Ondřej Bílka <neleai@seznam.cz>
10720
10721 [BZ #12486]
10722 * malloc/malloc.c: remove checks for statistics.
10723
264aad1e
OB
107242013-10-17 Ondřej Bílka <neleai@seznam.cz>
10725
10726 [BZ #15277]
10727 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10728 * inet/tst-network.c: Add testcase.
10729
b957ced8
AS
107302013-10-17 Andreas Schwab <schwab@suse.de>
10731
10732 [BZ #15218]
10733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10734 to determine canonical name.
10735
c5d5d574
OB
107362013-10-17 Ondřej Bílka <neleai@seznam.cz>
10737
10738 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10739 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10762 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10763 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10796
e5c2c2d0
JM
107972013-10-17 Joseph Myers <joseph@codesourcery.com>
10798
10799 [BZ #16041]
10800 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10801 make result into a quiet NaN.
10802
51ca9e29
JM
108032013-10-16 Joseph Myers <joseph@codesourcery.com>
10804
10805 * soft-fp/adddf3.c: Fix horizontal whitespace.
10806 * soft-fp/addsf3.c: Likewise.
10807 * soft-fp/addtf3.c: Likewise.
10808 * soft-fp/divdf3.c: Likewise.
10809 * soft-fp/divsf3.c: Likewise.
10810 * soft-fp/divtf3.c: Likewise.
10811 * soft-fp/double.h: Likewise.
10812 * soft-fp/eqdf2.c: Likewise.
10813 * soft-fp/eqsf2.c: Likewise.
10814 * soft-fp/eqtf2.c: Likewise.
10815 * soft-fp/extenddftf2.c: Likewise.
10816 * soft-fp/extended.h: Likewise.
10817 * soft-fp/extendsfdf2.c: Likewise.
10818 * soft-fp/extendsftf2.c: Likewise.
10819 * soft-fp/extendxftf2.c: Likewise.
10820 * soft-fp/fixdfdi.c: Likewise.
10821 * soft-fp/fixdfsi.c: Likewise.
10822 * soft-fp/fixdfti.c: Likewise.
10823 * soft-fp/fixsfdi.c: Likewise.
10824 * soft-fp/fixsfsi.c: Likewise.
10825 * soft-fp/fixsfti.c: Likewise.
10826 * soft-fp/fixtfdi.c: Likewise.
10827 * soft-fp/fixtfsi.c: Likewise.
10828 * soft-fp/fixtfti.c: Likewise.
10829 * soft-fp/fixunsdfdi.c: Likewise.
10830 * soft-fp/fixunsdfsi.c: Likewise.
10831 * soft-fp/fixunsdfti.c: Likewise.
10832 * soft-fp/fixunssfdi.c: Likewise.
10833 * soft-fp/fixunssfsi.c: Likewise.
10834 * soft-fp/fixunssfti.c: Likewise.
10835 * soft-fp/fixunstfdi.c: Likewise.
10836 * soft-fp/fixunstfsi.c: Likewise.
10837 * soft-fp/fixunstfti.c: Likewise.
10838 * soft-fp/floatdidf.c: Likewise.
10839 * soft-fp/floatdisf.c: Likewise.
10840 * soft-fp/floatditf.c: Likewise.
10841 * soft-fp/floatsidf.c: Likewise.
10842 * soft-fp/floatsisf.c: Likewise.
10843 * soft-fp/floatsitf.c: Likewise.
10844 * soft-fp/floattidf.c: Likewise.
10845 * soft-fp/floattisf.c: Likewise.
10846 * soft-fp/floattitf.c: Likewise.
10847 * soft-fp/floatundidf.c: Likewise.
10848 * soft-fp/floatundisf.c: Likewise.
10849 * soft-fp/floatunditf.c: Likewise.
10850 * soft-fp/floatunsidf.c: Likewise.
10851 * soft-fp/floatunsisf.c: Likewise.
10852 * soft-fp/floatunsitf.c: Likewise.
10853 * soft-fp/floatuntidf.c: Likewise.
10854 * soft-fp/floatuntisf.c: Likewise.
10855 * soft-fp/floatuntitf.c: Likewise.
10856 * soft-fp/fmadf4.c: Likewise.
10857 * soft-fp/fmasf4.c: Likewise.
10858 * soft-fp/fmatf4.c: Likewise.
10859 * soft-fp/gedf2.c: Likewise.
10860 * soft-fp/gesf2.c: Likewise.
10861 * soft-fp/getf2.c: Likewise.
10862 * soft-fp/ledf2.c: Likewise.
10863 * soft-fp/lesf2.c: Likewise.
10864 * soft-fp/letf2.c: Likewise.
10865 * soft-fp/muldf3.c: Likewise.
10866 * soft-fp/mulsf3.c: Likewise.
10867 * soft-fp/multf3.c: Likewise.
10868 * soft-fp/negdf2.c: Likewise.
10869 * soft-fp/negsf2.c: Likewise.
10870 * soft-fp/negtf2.c: Likewise.
10871 * soft-fp/op-1.h: Likewise.
10872 * soft-fp/op-2.h: Likewise.
10873 * soft-fp/op-4.h: Likewise.
10874 * soft-fp/op-8.h: Likewise.
10875 * soft-fp/op-common.h: Likewise.
10876 * soft-fp/quad.h: Likewise.
10877 * soft-fp/single.h: Likewise.
10878 * soft-fp/soft-fp.h: Likewise.
10879 * soft-fp/sqrtdf2.c: Likewise.
10880 * soft-fp/sqrtsf2.c: Likewise.
10881 * soft-fp/sqrttf2.c: Likewise.
10882 * soft-fp/subdf3.c: Likewise.
10883 * soft-fp/subsf3.c: Likewise.
10884 * soft-fp/subtf3.c: Likewise.
10885 * soft-fp/truncdfsf2.c: Likewise.
10886 * soft-fp/trunctfdf2.c: Likewise.
10887 * soft-fp/trunctfsf2.c: Likewise.
10888 * soft-fp/trunctfxf2.c: Likewise.
10889 * soft-fp/unorddf2.c: Likewise.
10890 * soft-fp/unordsf2.c: Likewise.
10891 * soft-fp/unordtf2.c: Likewise.
10892
9ebb0332
JM
108932013-10-15 Joseph Myers <joseph@codesourcery.com>
10894
10895 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10896 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10897
4b1a6d8b
OB
108982013-10-15 Ondřej Bílka <neleai@seznam.cz>
10899
10900 * elf/dl-libc.c: Clear initfini list after freeing.
10901
1e145589
JM
109022013-10-14 Joseph Myers <joseph@codesourcery.com>
10903
10904 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10905 * soft-fp/addsf3.c: Likewise.
10906 * soft-fp/addtf3.c: Likewise.
10907 * soft-fp/divdf3.c: Likewise.
10908 * soft-fp/divsf3.c: Likewise.
10909 * soft-fp/divtf3.c: Likewise.
10910 * soft-fp/double.h: Likewise.
10911 * soft-fp/eqdf2.c: Likewise.
10912 * soft-fp/eqsf2.c: Likewise.
10913 * soft-fp/eqtf2.c: Likewise.
10914 * soft-fp/extenddftf2.c: Likewise.
10915 * soft-fp/extended.h: Likewise.
10916 * soft-fp/extendsfdf2.c: Likewise.
10917 * soft-fp/extendsftf2.c: Likewise.
10918 * soft-fp/extendxftf2.c: Likewise.
10919 * soft-fp/fixdfdi.c: Likewise.
10920 * soft-fp/fixdfsi.c: Likewise.
10921 * soft-fp/fixdfti.c: Likewise.
10922 * soft-fp/fixsfdi.c: Likewise.
10923 * soft-fp/fixsfsi.c: Likewise.
10924 * soft-fp/fixsfti.c: Likewise.
10925 * soft-fp/fixtfdi.c: Likewise.
10926 * soft-fp/fixtfsi.c: Likewise.
10927 * soft-fp/fixtfti.c: Likewise.
10928 * soft-fp/fixunsdfdi.c: Likewise.
10929 * soft-fp/fixunsdfsi.c: Likewise.
10930 * soft-fp/fixunsdfti.c: Likewise.
10931 * soft-fp/fixunssfdi.c: Likewise.
10932 * soft-fp/fixunssfsi.c: Likewise.
10933 * soft-fp/fixunssfti.c: Likewise.
10934 * soft-fp/fixunstfdi.c: Likewise.
10935 * soft-fp/fixunstfsi.c: Likewise.
10936 * soft-fp/fixunstfti.c: Likewise.
10937 * soft-fp/floatdidf.c: Likewise.
10938 * soft-fp/floatdisf.c: Likewise.
10939 * soft-fp/floatditf.c: Likewise.
10940 * soft-fp/floatsidf.c: Likewise.
10941 * soft-fp/floatsisf.c: Likewise.
10942 * soft-fp/floatsitf.c: Likewise.
10943 * soft-fp/floattidf.c: Likewise.
10944 * soft-fp/floattisf.c: Likewise.
10945 * soft-fp/floattitf.c: Likewise.
10946 * soft-fp/floatundidf.c: Likewise.
10947 * soft-fp/floatundisf.c: Likewise.
10948 * soft-fp/floatunsidf.c: Likewise.
10949 * soft-fp/floatunsisf.c: Likewise.
10950 * soft-fp/floatuntidf.c: Likewise.
10951 * soft-fp/floatuntisf.c: Likewise.
10952 * soft-fp/floatuntitf.c: Likewise.
10953 * soft-fp/fmadf4.c: Likewise.
10954 * soft-fp/fmasf4.c: Likewise.
10955 * soft-fp/fmatf4.c: Likewise.
10956 * soft-fp/gedf2.c: Likewise.
10957 * soft-fp/gesf2.c: Likewise.
10958 * soft-fp/getf2.c: Likewise.
10959 * soft-fp/ledf2.c: Likewise.
10960 * soft-fp/lesf2.c: Likewise.
10961 * soft-fp/letf2.c: Likewise.
10962 * soft-fp/muldf3.c: Likewise.
10963 * soft-fp/mulsf3.c: Likewise.
10964 * soft-fp/multf3.c: Likewise.
10965 * soft-fp/negdf2.c: Likewise.
10966 * soft-fp/negsf2.c: Likewise.
10967 * soft-fp/negtf2.c: Likewise.
10968 * soft-fp/op-1.h: Likewise.
10969 * soft-fp/op-2.h: Likewise.
10970 * soft-fp/op-4.h: Likewise.
10971 * soft-fp/op-8.h: Likewise.
10972 * soft-fp/op-common.h: Likewise.
10973 * soft-fp/quad.h: Likewise.
10974 * soft-fp/single.h: Likewise.
10975 * soft-fp/soft-fp.h: Likewise.
10976 * soft-fp/sqrtdf2.c: Likewise.
10977 * soft-fp/sqrtsf2.c: Likewise.
10978 * soft-fp/sqrttf2.c: Likewise.
10979 * soft-fp/subdf3.c: Likewise.
10980 * soft-fp/subsf3.c: Likewise.
10981 * soft-fp/subtf3.c: Likewise.
10982 * soft-fp/truncdfsf2.c: Likewise.
10983 * soft-fp/trunctfdf2.c: Likewise.
10984 * soft-fp/trunctfsf2.c: Likewise.
10985 * soft-fp/trunctfxf2.c: Likewise.
10986 * soft-fp/unorddf2.c: Likewise.
10987 * soft-fp/unordsf2.c: Likewise.
10988 * soft-fp/unordtf2.c: Likewise.
10989
17c48a60
OB
109902013-10-14 Ondřej Bílka <neleai@seznam.cz>
10991
10992 [BZ #15672]
10993 * misc/error.c (error_tail): Fix possible buffer overflow.
10994
cabba934
OB
109952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10996
10997 [BZ #13028]
10998 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10999 address.
11000
94bf958a
PM
110012013-10-14 P. J. McDermott <pj@pehjota.net>
11002
11003 [BZ #832]
11004 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11005 testing pipefail option.
11006
71b4dea7
JM
110072013-10-12 Joseph Myers <joseph@codesourcery.com>
11008
11009 * soft-fp/double.h: Indent preprocessor directives inside #if.
11010 * soft-fp/extended.h: Likewise.
11011 * soft-fp/op-2.h: Likewise.
11012 * soft-fp/op-4.h: Likewise.
11013 * soft-fp/op-common.h: Likewise.
11014 * soft-fp/quad.h: Likewise.
11015 * soft-fp/single.h: Likewise.
11016 * soft-fp/soft-fp.h: Likewise.
11017
55602758
YC
110182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11019
11020 * iconv/iconv_prog.c: Fix typos.
11021 * stdio-common/psiginfo-data.h: Likewise.
11022
9cd83302
RT
110232013-10-12 Reuben Thomas <rrt@sc3d.org>
11024
11025 [BZ #15764]
11026 * locale/setlocale.c: Fix typo.
11027
99fd9f47
JM
110282013-10-12 Joseph Myers <joseph@codesourcery.com>
11029
b7ea74f0
JM
11030 [BZ #16036]
11031 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11032 signaling NaN arguments.
11033 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11034 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11035
8a509447
JM
11036 [BZ #14910]
11037 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11038 unordered operands.
11039 * soft-fp/gesf2.c (__gesf2): Likewise.
11040 * soft-fp/getf2.c (__getf2): Likewise.
11041 * soft-fp/ledf2.c (__ledf2): Likewise.
11042 * soft-fp/lesf2.c (__lesf2): Likewise.
11043 * soft-fp/letf2.c (__letf2): Likewise.
11044
98998e9f
JM
11045 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11046 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11047 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11048 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11049 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11050 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11051 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11052 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11053 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11054 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11055 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11056 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11057 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11058 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11059 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11060 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11061 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11062 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11063 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11064 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11065 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11066 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11067 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11068 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11069 * soft-fp/floattidf.c (__floattidf): Likewise.
11070 * soft-fp/floattisf.c (__floattisf): Likewise.
11071 * soft-fp/floattitf.c (__floattitf): Likewise.
11072 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11073 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11074 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11075 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11076 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11077 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11078 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11079 * soft-fp/gesf2.c (__gesf2): Likewise.
11080 * soft-fp/getf2.c (__getf2): Likewise.
11081 * soft-fp/ledf2.c (__ledf2): Likewise.
11082 * soft-fp/lesf2.c (__lesf2): Likewise.
11083 * soft-fp/letf2.c (__letf2): Likewise.
11084
8edc4a11
JM
11085 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11086 Undefine and redefine.
11087 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11088 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11089 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11090 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11091 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11092 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11093 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11094 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11095 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11096 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11097 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11098 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11099 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11100 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11101 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11102
8399acaf
JM
11103 [BZ #16032]
11104 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11105 without decrementing exponent if mantissa >= that for the
11106 denominator, not >.
11107 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11108 denominator, not >. Decrement exponent in < case instead of
11109 incrementing in >= case.
11110 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11111 without decrementing exponent if mantissa >= that for the
11112 denominator, not >.
11113
99fd9f47
JM
11114 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11115 computing saturated result for unsigned overflow.
11116
10e1cf6b
SP
111172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11118 Jeff Law <law@redhat.com>
11119
11120 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11121 (atan2Mp): Add systemtap probe marker.
11122 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11123 (__ieee754_log): Add systemtap probe marker.
11124 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11125 (atanMp): Add systemtap probe marker.
11126 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11127 (tanMp): Add systemtap probe marker.
11128 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11129 (__slowexp): Add systemtap probe marker.
11130 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11131 (__slowpow): Add systemtap probe marker.
11132 * manual/probes.texi: Document probes.
11133
3d110c7c
EB
111342013-10-11 Eric Biggers <ebiggers3@gmail.com>
11135
11136 [BZ #15362]
11137 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11138 written.
11139 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11140 written.
11141 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11142 written to buffer but not flushed.
11143 * libio/iofwrite_u.c: Likewise.
11144 * libio/iopadn.c: Return bytes returned even if EOF was
11145 encountered.
11146 * libio/iowpadn.c: Likewise.
11147 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11148 if _IO_padn does not write the whole buffer.
11149 [!COMPILE_WPRINTF] (PAD): Likewise.
11150
75b4202a
DM
111512013-10-10 David S. Miller <davem@davemloft.net>
11152
11153 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11154 directory block.
11155
6c6352e6
JM
111562013-10-10 Joseph Myers <joseph@codesourcery.com>
11157
33b853c3
JM
11158 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11159 instead of FSF address.
11160 * soft-fp/fixdfti.c: Likewise.
11161 * soft-fp/fixsfti.c: Likewise.
11162 * soft-fp/fixtfti.c: Likewise.
11163 * soft-fp/fixunsdfti.c: Likewise.
11164 * soft-fp/fixunssfti.c: Likewise.
11165 * soft-fp/fixunstfti.c: Likewise.
11166 * soft-fp/floattidf.c: Likewise.
11167 * soft-fp/floattisf.c: Likewise.
11168 * soft-fp/floattitf.c: Likewise.
11169 * soft-fp/floatuntidf.c: Likewise.
11170 * soft-fp/floatuntisf.c: Likewise.
11171 * soft-fp/floatuntitf.c: Likewise.
11172 * soft-fp/trunctfxf2.c: Likewise.
11173
6c6352e6
JM
11174 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11175 * soft-fp/fixdfti.c: Likewise.
11176 * soft-fp/fixsfti.c: Likewise.
11177 * soft-fp/fixtfti.c: Likewise.
11178 * soft-fp/fixunsdfti.c: Likewise.
11179 * soft-fp/fixunssfti.c: Likewise.
11180 * soft-fp/fixunstfti.c: Likewise.
11181 * soft-fp/floattidf.c: Likewise.
11182 * soft-fp/floattisf.c: Likewise.
11183 * soft-fp/floattitf.c: Likewise.
11184 * soft-fp/floatuntidf.c: Likewise.
11185 * soft-fp/floatuntisf.c: Likewise.
11186 * soft-fp/floatuntitf.c: Likewise.
11187 * soft-fp/trunctfxf2.c: Likewise.
11188
3bf78b71
DM
111892013-10-10 David S. Miller <davem@davemloft.net>
11190
11191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11192
6f10289e
JM
111932013-10-10 Joseph Myers <joseph@codsourcery.com>
11194
bd878fc0
JM
11195 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11196 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11197 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11198 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11199 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11200 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11201 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11202
6f10289e
JM
11203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11204 for NaNs before doing comparisons on argument.
11205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11206 Likewise.
11207
321e2684
WN
112082013-10-10 Will Newton <will.newton@linaro.org>
11209
11210 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11211 passed to _int_memalign does not overflow.
11212
40fefba1
TR
112132013-10-10 Torvald Riegel <triegel@redhat.com>
11214
11215 * scripts/bench.pl: Add include-sources directive.
11216 * benchtests/README: Update documentation.
11217
2ae21ed2
JM
112182013-10-10 Joseph Myers <joseph@codesourcery.com>
11219
dcc2dd3f
JM
11220 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11221 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11222 instead of FP_INIT_ROUNDMODE.
11223 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11224 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11225
2ae21ed2
JM
11226 [BZ #16034]
11227 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11228 copy class of input value.
11229 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11230 not handle exceptions.
11231 * soft-fp/negsf2.c (__negsf2): Likewise.
11232 * soft-fp/negtf2.c (__negtf2): Likewise.
11233 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11234
cb8f9562
JM
112352013-10-09 Joseph Myers <joseph@codesourcery.com>
11236
11237 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11238 semicolon. From Linux kernel.
11239
5b60c59d
AB
112402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11241
11242 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11243
b86835ca
YC
112442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11245
11246 [BZ #156]
11247 * manual/socket.texi: Added statement about buffer
11248 for gethostbyname2_r.
11249
e7044ea7
OB
112502013-10-08 Ondřej Bílka <neleai@seznam.cz>
11251
11252 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11253 Use .p2align directive instead, throughout.
11254 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11255 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11256 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11258 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11259 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11260 * sysdeps/x86_64/strchr.S: Likewise.
11261 * sysdeps/x86_64/strrchr.S: Likewise.
11262
09544cbc
SP
112632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11264
88576635
SP
11265 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11266
e7b2d1dd
SP
11267 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11268
09544cbc
SP
11269 * sysdeps/generic/math_private.h (__mpsin1): Remove
11270 declaration.
11271 (__mpcos1): Likewise.
11272 (__mpsin): New argument __range_reduce.
11273 (__mpcos): Likewise.
11274 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11275 (slow): Use __mpsin and __mpcos.
11276 (slow1): Likewise.
11277 (slow2): Likewise.
11278 (sloww): Likewise.
11279 (sloww1): Likewise.
11280 (sloww2): Likewise.
11281 (bsloww): Likewise.
11282 (bsloww1): Likewise.
11283 (bsloww2): Likewise.
11284 (cslow2): Likewise.
11285 (csloww): Likewise.
11286 (csloww1): Likewise.
11287 (csloww2): Likewise.
11288 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11289 range_reduce. Merge in __mpsin1.
11290 (__mpcos): Likewise.
11291 (__mpsin1): Remove.
11292 (__mpcos1): Likewise.
11293
7602d070
JM
112942013-10-07 Joseph Myers <joseph@codesourcery.com>
11295
11296 * locale/loadlocale.c (_nl_intern_locale_data): Use
11297 LOCFILE_ALIGNED_P.
11298 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11299 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11300 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11301 obstack data is appropriately aligned.
11302 (obstack_int32_grow_fast): Likewise.
11303 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11304 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11305 (add_locale_uint32_array): Likewise.
11306
a357259b
SP
113072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11308
11309 * benchtests/Makefile: Remove ARGLIST and RET variables.
11310 ($(objpfx)bench-%.c): Pass only function name to the script.
11311 * benchtests/README: Update documentation.
11312 * benchtests/acos-inputs: Add new directives.
11313 * benchtests/acosh-inputs: Likewise.
11314 * benchtests/asin-inputs: Likewise.
11315 * benchtests/asinh-inputs: Likewise.
11316 * benchtests/atan-inputs: Likewise.
11317 * benchtests/atanh-inputs: Likewise.
11318 * benchtests/cos-inputs: Likewise.
11319 * benchtests/cosh-inputs: Likewise.
11320 * benchtests/exp-inputs: Likewise.
11321 * benchtests/log-inputs: Likewise.
11322 * benchtests/pow-inputs: Likewise.
11323 * benchtests/rint-inputs: Likewise.
11324 * benchtests/sin-inputs: Likewise.
11325 * benchtests/sinh-inputs: Likewise.
11326 * benchtests/tan-inputs: Likewise.
11327 * benchtests/tanh-inputs: Likewise.
11328 * scripts/bench.pl: Add support for new directives.
11329
9ec1b13d
AM
113302013-10-07 Alan Modra <amodra@gmail.com>
11331
11332 * README: Fix careless merge.
11333
8b7d57cd
AM
113342013-10-05 Alan Modra <amodra@gmail.com>
11335
11336 * NEWS: Mention powerpc64le support and bugs fixed.
11337 * README: Both big-endian and little-endian powerpc64 supported.
11338
7b7bab13
ST
113392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11340
57f41c40
AS
11341 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11342 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11343 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11344 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11345
d39baad1
RA
113462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11347
11348 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11349 match prototype.
11350
cd78f7e7
JM
113512013-10-04 Joseph Myers <joseph@codesourcery.com>
11352
29d73d86
JM
11353 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11354 Move -mhard-float appending from
11355 ports/sysdeps/powerpc/powerpc32/Makefile.
11356 [$(with-fp) = yes] (ASFLAGS): Likewise.
11357 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11358 * sysdeps/powerpc/nofpu: Move directory from
11359 ports/sysdeps/powerpc/nofpu.
11360 * sysdeps/powerpc/soft-fp: Move directory from
11361 ports/sysdeps/powerpc/soft-fp.
11362 * sysdeps/powerpc/powerpc32/405: Move directory from
11363 ports/sysdeps/powerpc/powerpc32/405.
11364 * sysdeps/powerpc/powerpc32/440: Move directory from
11365 ports/sysdeps/powerpc/powerpc32/440.
11366 * sysdeps/powerpc/powerpc32/464: Move directory from
11367 ports/sysdeps/powerpc/powerpc32/464.
11368 * sysdeps/powerpc/powerpc32/476: Move directory from
11369 ports/sysdeps/powerpc/powerpc32/476.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11371 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11375 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11377 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11380 * README: Update for powerpc-*-linux-gnu software floating point
11381 support in libc.
11382
e246b347
JM
11383 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11384 case to powerpc/powerpc32*.
11385 * sysdeps/unix/sysv/linux/configure: Regenerated.
11386
89c2003e
JM
11387 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11388 (_FPU_MASK_OM): Define as 0x04.
11389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11391 0x00c10080.
11392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11393 0x0000003c.
11394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11395
cd78f7e7
JM
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11397 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11398 getcontext_e500.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11400 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11401 setcontext_e500.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11403 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11404 and setcontext_e500.
11405
c755294d
CL
114062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11407
11408 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11409
e16d221c
SP
114102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11411
11412 * manual/threads.texi (Default Thread Attributes): Fix typo.
11413
215c7d43
WN
114142013-10-04 Will Newton <will.newton@linaro.org>
11415
11416 * malloc/Makefile: Add tst-memalign.
11417 * malloc/tst-memalign.c: New file.
11418
27d0461b
WN
11419 * malloc/tst-posix_memalign.c: Add comments.
11420 (do_test): Add comments and call free on all potentially
11421 allocated pointers. Add space after cast.
11422
1bc92709
WN
11423 * malloc/tst-pvalloc.c: Add comments.
11424 (do_test): Add comments and call free on all potentially
11425 allocated pointers. Remove duplicate check for NULL pointer.
11426 Add space after cast.
11427
66a9be9d
WN
11428 * malloc/tst-valloc.c: Add comments.
11429 (do_test): Add comments and call free on all potentially
11430 allocated pointers. Remove duplicate check for NULL pointer.
11431 Add space after cast.
11432
4cb81307
AM
114332013-10-04 Alan Modra <amodra@gmail.com>
11434
11435 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11436 Use stdint types in rather than __attribute__((mode())).
11437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11438
f8e3e9f3
AM
114392013-10-04 Alan Modra <amodra@gmail.com>
11440
11441 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11442 Correct handling of unaligned relocs for little-endian.
11443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11444
8f9ebb08
AM
114452013-10-04 Alan Modra <amodra@gmail.com>
11446
11447 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11448 * configure: Regenerate.
11449 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11450 * shlib-versions: Likewise.
11451
0edf96c2
AM
114522013-10-04 Alan Modra <amodra@gmail.com>
11453
11454 * string/tester.c (test_memrchr): Increment reported test cycle.
11455
e0f7a380
AM
114562013-10-04 Alan Modra <amodra@gmail.com>
11457
11458 * string/test-memcpy.c (do_one_test): When reporting errors, print
11459 string address and don't overrun end of string.
11460
466b0393
AM
114612013-10-04 Alan Modra <amodra@gmail.com>
11462
11463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11464 insrdi. Make better use of reg selection to speed exit slightly.
11465 Schedule entry path a little better. Remove useless "are we done"
11466 checks on entry to main loop. Handle wrapping around zero address.
11467 Correct main loop count. Handle single left-over word from main
11468 loop inline rather than by using loop_small. Remove extra word
11469 case in loop_small caused by wrong loop count. Add little-endian
11470 support.
11471 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11473 cache hint.
11474 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11475 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11476 support. Avoid rlwimi.
11477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11478
3be87c77
AM
114792013-10-04 Alan Modra <amodra@gmail.com>
11480
11481 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11482 insrdi. Formatting.
3be87c77
AM
11483 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11485 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11486 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11488 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11489
759cfef3
AM
114902013-10-04 Alan Modra <amodra@gmail.com>
11491
11492 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11493 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11495 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11497 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11498 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11499 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11500 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11501 use of regs. Use power7 mtocrf. Tidy function tails.
11502
fe6e95d7
AM
115032013-10-04 Alan Modra <amodra@gmail.com>
11504
11505 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11506 Formatting. Consistently use rXXX register defines or rN defines.
11507 Use early exit labels that avoid restoring unused non-volatile regs.
11508 Make cr field use more consistent with rWORDn compares. Rename
11509 regs used as shift registers for unaligned loop, using rN defines
11510 for short lifetime/multiple use regs.
11511 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11512 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11513 addi 1,1,64 to pop stack frame. Simplify return value code.
11514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11515
664318c3
AM
115162013-10-04 Alan Modra <amodra@gmail.com>
11517
11518 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11519 support. Correct typos, formatting. Optimize tail. Use insrdi
11520 rather than rlwimi.
11521 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11522 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11523 little-endian support. Correct typos.
11524 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11525 rather than rlwimi.
11526 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11527 in loop and entry code to keep "and." results.
11528 (strchr): Add little-endian support. Comment. Move cntlzd
11529 earlier in tail.
11530 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11531
43b84013
AM
115322013-10-04 Alan Modra <amodra@gmail.com>
11533
11534 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11535 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11536 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11537 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11538
8a7413f9
AM
115392013-10-04 Alan Modra <amodra@gmail.com>
11540
11541 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11542 (rTMP): Define as r11.
11543 (strcmp): Add little-endian support. Optimise tail.
11544 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11545 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11546 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11547 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11548 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11550 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11551
33ee81de
AM
115522013-10-04 Alan Modra <amodra@gmail.com>
11553
11554 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11555 little-endian support. Remove unnecessary "are we done" tests.
11556 Handle "s" wrapping around zero and extremely large "size".
11557 Correct main loop count. Handle single left-over word from main
11558 loop inline rather than by using small_loop. Correct comments.
11559 Delete "zero" tail, use "end_max" instead.
11560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11561
db9b4570
AM
115622013-10-04 Alan Modra <amodra@gmail.com>
11563
11564 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11565 support. Don't branch over align.
11566 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11567 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11568 support. Rearrange tmp reg use to suit. Comment.
11569 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11570
f7c399cf
AM
115712013-10-04 Alan Modra <amodra@gmail.com>
11572
11573 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11574
0b2c2ace
AM
115752013-10-04 Alan Modra <amodra@gmail.com>
11576
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11578 conditional form of branch and link when obtaining pc.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11580
02f04a6c
AM
115812013-10-04 Alan Modra <amodra@gmail.com>
11582
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11584 HIWORD/LOWORD.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11587
9b874b2f
AM
115882013-10-04 Alan Modra <amodra@gmail.com>
11589
11590 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11591 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11592 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11593 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11594 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11595 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11596 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11597 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11598 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11599 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11600
be1e5d31
AB
116012013-10-04 Anton Blanchard <anton@au1.ibm.com>
11602 Alistair Popple <alistair@ozlabs.au.ibm.com>
11603 Alan Modra <amodra@gmail.com>
11604
11605 [BZ #15723]
11606 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11607 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11608 _dl_hwcap access for little-endian.
11609 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11610 destroy vmx regs when saving unaligned.
11611 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11612 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11613 destroy vmx regs when saving unaligned.
11614
fef13a78
AM
116152013-10-04 Alan Modra <amodra@gmail.com>
11616
11617 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11618 Don't use a union to pack hi/low value.
11619
76a66d51
AB
116202013-10-04 Anton Blanchard <anton@au1.ibm.com>
11621
11622 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11623 for little-endian.
11624 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11626 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11627 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11628 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11629
6a31fe7f
AM
116302013-10-04 Alan Modra <amodra@gmail.com>
11631
11632 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11633 constants to usual value for .cst8 section, and remove redundant
11634 high address load.
11635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11636 constant for 0x1p52. Load little-endian words of double from
11637 correct stack offsets.
11638
7b88401f
AM
116392013-10-04 Alan Modra <amodra@gmail.com>
11640
11641 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11642 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11643 words of double from correct stack offsets.
11644 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11645 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11646 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11647 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11651 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11652 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11653 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11656 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11657 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11658 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11660 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11661
9c008155
AM
116622013-10-04 Alan Modra <amodra@gmail.com>
11663
11664 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11665 64-bit int/double union.
11666 (_FPU_SETCW): Likewise.
11667 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11668 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11669
da13146d
AM
116702013-10-04 Alan Modra <amodra@gmail.com>
11671
11672 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11673 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11674
603e8410
AM
116752013-10-04 Alan Modra <amodra@gmail.com>
11676
11677 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11678 use vector int constants.
11679 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11680
4a28b3ca
AB
116812013-10-04 Anton Blanchard <anton@au1.ibm.com>
11682
11683 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11684 array with long long.
11685 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11686 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11687 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11688 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11689 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11690 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11691 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11692 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11693 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11694 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11695 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11696 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11697 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11698
2ca85d2b
AB
116992013-10-04 Anton Blanchard <anton@au1.ibm.com>
11700
11701 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11702 (__signbit): Likewise. Correct for little-endian.
11703 (__signbitl): Call __signbit.
11704 (lrint): Correct for little-endian.
11705 (lrintf): Call lrint.
11706
62a728ae
AM
117072013-10-04 Alan Modra <amodra@gmail.com>
11708
11709 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11710 union 32-bit int array member with 64-bit int array.
11711 (t515, tm256): Double rather than long double.
11712 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11713
32c301df
AM
117142013-10-04 Alan Modra <amodra@gmail.com>
11715
11716 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11717 Delete.
11718 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11720 version of math_ldbl.h.
11721
650ef4bd
AM
117222013-10-04 Alan Modra <amodra@gmail.com>
11723
11724 [BZ #15734], [BZ #15735]
11725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11726 all uses of ieee875 long double macros and unions. Simplify test
11727 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11728 ldbl_extract_mantissa value for ix,iy exponents. Properly
11729 normalize after ldbl_extract_mantissa, and don't add hidden bit
11730 already handled. Don't treat low word of ieee854 mantissa like
11731 low word of IBM long double and mask off bit when testing for
11732 zero.
11733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11734 all uses of ieee875 long double macros and unions. Simplify tests
11735 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11736 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11737 two1022, instead use their values. Recognise that tests for large
11738 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11740 Rewrite all uses of ieee875 long double macros and unions. Simplify
11741 test for 0.0L and nan. Correct negation.
11742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11743 ieee875 long double macros and unions. Correct output for large
11744 magnitude x. Correct absolute value calculation.
11745 (__erfcl): Likewise.
11746 * math/libm-test.inc: Add tests for errors discovered in IBM long
11747 double versions of fmodl, remainderl, erfl and erfcl.
11748
765714ca
AM
117492013-10-04 Alan Modra <amodra@gmail.com>
11750
11751 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11752 all uses of ieee854 long double macros and unions. Simplify tests
11753 for long doubles that are fully specified by the high double.
11754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11755 Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11757 Remove dead code too.
11758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11759 (__ieee754_ynl): Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11763 Remove dead code too.
11764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11768 Simplify.
11769 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11770 Simplify.
11771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11774 Comment on variable precision.
11775 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11777 Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11782 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11783
4ebd120c
AM
117842013-10-04 Alan Modra <amodra@gmail.com>
11785
11786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11788 all uses of ieee854 long double macros and unions.
11789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11795 Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11802 Simplify sign and nan test too.
11803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11807 Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11810 Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11817
1b6adf88
AM
118182013-10-04 Alan Modra <amodra@gmail.com>
11819
11820 * stdio-common/printf_size.c (__printf_size): Don't use
11821 union ieee854_long_double in fpnum union.
11822 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11823 signbit macro to retrieve sign from long double.
11824 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11825 retrieve sign from long double.
11826 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11827 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11828 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11829 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11830 * math/test-misc.c (main): Don't use union ieee854_long_double.
11831
4cf69995
AM
118322013-10-04 Alan Modra <amodra@gmail.com>
11833
11834 [BZ #15680]
11835 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11836 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11837 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11838 calculation. Remove unnecessary test for denormal exponent.
11839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11840 Correct handling of denormals. Avoid undefined shift behaviour.
11841 Correct normalisation of low mantissa when low double is denormal.
11842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11843 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11844 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11845 Correct normalisation of low mantissa. Test for overflow of high
11846 mantissa and normalise.
11847 (ldbl_nearbyint): Use more readable constant for two52.
11848 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11849 (__mpn_construct_long_double): Fix test for overflow of high
11850 mantissa and correct normalisation. Avoid undefined shift.
11851
9605ca6c
AM
118522013-10-04 Alan Modra <amodra@gmail.com>
11853
11854 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11855 (union ibm_extended_long_double): Define as an array of ieee754_double.
11856 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11857 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11858 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11859 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11867
975569d0
JM
118682013-10-03 Joseph Myers <joseph@codesourcery.com>
11869
d3d23756
JM
11870 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11871 page size instead of calling getpagesize.
11872
975569d0
JM
11873 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11874 (LOCFILE_ALIGN_MASK): Likewise.
11875 (LOCFILE_ALIGN_UP): Likewise.
11876 (LOCFILE_ALIGNED_P): Likewise.
11877 * locale/programs/ld-collate.c (collate_output): Use the new
11878 macros instead of __alignof__ (int32_t).
11879 * locale/weight.h (findidx): Likewise.
11880
b1fe1f2b
OB
118812013-10-03 Ondřej Bílka <neleai@seznam.cz>
11882
11883 [BZ #431]
11884 * manual/string.texi: Fix strncat and wcsncat.
11885
5f855e35
BM
118862013-10-03 Brooks Moses <bmoses@google.com>
11887
11888 [BZ #15915]
11889 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11890 * Makerules: ...here, and adjust associated comments.
11891
3cef6009
WN
118922013-10-02 Will Newton <will.newton@linaro.org>
11893
11894 * malloc/Makefile: Add tst-pvalloc.
11895 * malloc/tst-pvalloc.c: New file.
11896
7815420b
WN
118972013-10-02 Will Newton <will.newton@linaro.org>
11898
11899 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11900 improve test coverage.
11901
4868b204
WN
119022013-10-02 Will Newton <will.newton@linaro.org>
11903
11904 * malloc/Makefile: Add tst-posix_memalign.
11905 * malloc/tst-posix_memalign.c: New file.
11906
29c793b3
EB
119072013-10-01 Eric Blake <eblake@redhat.com>
11908
11909 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11910 Use __THROWNL rather than __THROW on static functions.
11911
fd967522
PM
119122013-09-30 Petr Machata <pmachata@redhat.com>
11913
11914 * elf/elf.h (R_AARCH64_ABS16): New macro.
11915 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11916 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11917 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11918 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11919 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11920 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11921 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11922 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11923 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11924 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11925 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11926 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11927 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11928 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11929 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11930 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11931 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11932 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11933 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11934 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11935 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11936 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11937 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11938 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11939 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11940 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11941 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11942 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11943 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11944 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11945 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11946 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11947 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11948 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11949 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11950 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11951 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11952 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11953 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11954 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11955 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11956 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11957 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11958 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11959 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11960 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11961 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11962 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11963 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11964 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11965 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11966 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11967 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11968 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11969 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11970 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11971 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11972 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11973 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11974 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11975 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11976 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11977 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11978 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11979 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11980 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11981 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11982 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11983 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11984 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11985 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11986 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11987 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11988 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11989 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11990 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11991 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11992 (R_AARCH64_TLSDESC_LDR): Likewise.
11993 (R_AARCH64_TLSDESC_ADD): Likewise.
11994 (R_AARCH64_TLSDESC_CALL): Likewise.
11995
b2179107
AS
119962013-09-30 Andreas Schwab <schwab@suse.de>
11997
11998 [BZ #15048]
11999 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12000 the nss database lookup.
12001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12003
47f28d0a
MF
120042013-09-28 Mike Frysinger <vapier@gentoo.org>
12005
12006 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12007
120082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12009
12010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12011 ${Bash-specific parameter/pattern/string} parameter expansion.
12012 * sysdeps/unix/make-syscalls.sh: Likewise.
12013
f4518a17
KK
120142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12015
12016 * sysdeps/sh/stackguard-macros.h: New file.
12017
dc1a95c7
OB
120182013-09-26 Ondřej Bílka <neleai@seznam.cz>
12019
12020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12022 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12023 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12024 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12025 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12026
5ebbff8f
AZ
120272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12028
12029 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12030 Fix thread ID register.
12031
4fd2cf9f
JM
120322013-09-25 Joseph Myers <joseph@codesourcery.com>
12033
12034 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12035 [POSIX || UNIX98]: Require rather than permitting all symbols from
12036 <time.h>.
12037 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12038 element of struct sched_param.
12039 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12040 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12041 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12042 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12043 constant.
12044
12c22bc4
OL
120452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12046
12047 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12048 argument calculation.
12049
a03d8ea7
JM
120502013-09-24 Joseph Myers <joseph@codesourcery.com>
12051
12052 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12053 Expect macro.
12054 [POSIX] (pthread_attr_t): Do not require type.
12055 [POSIX] (pthread_cond_t): Likewise.
12056 [POSIX] (pthread_condattr_t): Likewise.
12057 [POSIX] (pthread_key_t): Likewise.
12058 [POSIX] (pthread_mutex_t): Likewise.
12059 [POSIX] (pthread_mutexattr_t): Likewise.
12060 [POSIX] (pthread_once_t): Likewise.
12061 [POSIX] (pthread_t): Likewise.
12062 [POSIX-based standards] (pthread_atfork): Expect function.
12063
6055173a
JM
120642013-09-24 Joseph Myers <joseph@codesourcery.com>
12065 Richard Sandiford <richard@codesourcery.com>
12066
12067 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12068 (swap_endianness_p): New extern variable.
12069 (set_big_endian): New inline function.
12070 (maybe_swap_uint32): Likewise.
12071 (maybe_swap_uint32_array): Likewise.
12072 (maybe_swap_uint32_obstack): Likewise.
12073 * locale/programs/locfile.c: Include <stdbool.h>.
12074 (swap_endianness_p): New variable.
12075 (add_locale_uint32): Call maybe_swap_uint32.
12076 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12077 (write_locale_data): Call maybe_swap_uint32_array.
12078 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12079 maybe_swap_uint32.
12080 (obstack_int32_grow_fast): Likewise.
12081 (output_weightwc): Call maybe_swap_uint32_obstack.
12082 (collate_output): Likewise.
12083 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12084 (OPT_LITTLE_ENDIAN): Likewise.
12085 (options): Add --little-endian and --big-endian options.
12086 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12087 * locale/programs/locarchive.c: Include "locfile.h".
12088 (GET): New macro.
12089 (SET): Likewise.
12090 (INC): Likewise.
12091 (create_archive): Use the new macros to access fields of
12092 structures directly mapped from or written to locale archives.
12093 (oldlocrecentcmp): Likewise.
12094 (enlarge_archive): Likewise.
12095 (insert_name): Likewise.
12096 (add_alias): Likewise.
12097 (add_locale): Likewise.
12098 (delete_locales_from_archive): Likewise.
12099 (show_archive_content): Likewise.
12100 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12101 locale data.
12102
39bf0bb4
RM
121032013-09-24 Roland McGrath <roland@hack.frob.com>
12104
12105 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12106 http://www.gnu.org/doc/freemanuals.texi.
12107 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12108
f02eed10
WN
121092013-09-24 Will Newton <will.newton@linaro.org>
12110
12111 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12112 macro.
12113
a3a6c312
JM
121142013-09-23 Joseph Myers <joseph@codesourcery.com>
12115
12116 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12117 unsigned char.
12118
107375ac
MR
121192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12120
12121 * manual/threads.texi (POSIX Threads): Fix a typo.
12122
141f3a77
SP
121232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
303e567a
SP
12125 [BZ #14547]
12126 * string/tst-strcoll-overflow.c: New test case.
12127 * string/Makefile (xtests): Add tst-strcoll-overflow.
12128 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12129 cache if string sizes may cause integer overflow.
12130
141f3a77
SP
12131 [BZ #14547]
12132 * string/strcoll_l.c (coll_seq): New members rule, idx,
12133 save_idx and back_us.
12134 (get_next_seq_nocache): New function.
12135 (do_compare_nocache): New function.
12136 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12137 when malloc fails.
12138
c61b4d41
CD
121392013-09-23 Carlos O'Donell <carlos@redhat.com>
12140
0b1f8e35
CD
12141 [BZ #15754]
12142 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12143 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12144 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12145
c61b4d41
CD
12146 [BZ #15754]
12147 * elf/Makefile (tests): Add tst-ptrguard1.
12148 (tests-static): Add tst-ptrguard1-static.
12149 (tst-ptrguard1-ARGS): Define.
12150 (tst-ptrguard1-static-ARGS): Define.
12151 * elf/tst-ptrguard1.c: New file.
12152 * elf/tst-ptrguard1-static.c: New file.
12153 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12154 * sysdeps/i386/stackguard-macros.h: Likewise.
12155 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12156 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12157 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12158 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12159 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12160 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12161
121622013-09-23 Hector Marco <hecmargi@upv.es>
12163 Ismael Ripoll <iripoll@disca.upv.es>
12164 Carlos O'Donell <carlos@redhat.com>
12165
12166 [BZ #15754]
12167 * sysdeps/generic/stackguard-macros.h: Define
12168 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12169 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12170 Define __pointer_chk_guard_local.
12171 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12172 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12173
f5f4e7b4
VV
121742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12175
12176 [BZ #15859]
12177 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12178
5bb43a43
AS
121792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12180
12181 * include/string.h (__ffs): Declare as hidden.
12182 * string/ffs.c (__ffs): Define as hidden.
12183 * sysdeps/i386/ffs.c (__ffs): Likewise.
12184 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12185 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12186 * sysdeps/s390/ffs.c (__ffs): Likewise.
12187 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12188
3ea5be54
AO
121892013-09-20 Alexandre Oliva <aoliva@redhat.com>
12190
ffb89e53
AO
12191 * NEWS: Mention malloc probes.
12192
322dea08
AO
12193 * malloc/arena.c (new_heap): New memory_heap_new probe.
12194 (grow_heap): New memory_heap_more probe.
12195 (shrink_heap): New memory_heap_less probe.
12196 (heap_trim): New memory_heap_free probe.
12197 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12198 (systrim): New memory_sbrk_less probe.
12199 * manual/probes.texi: Document them.
12200
655673f3
AO
12201 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12202 * manual/probes.texi: Document it.
12203
35fed6f1
AO
12204 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12205 (__libc_realloc): Add memory_realloc_retry probe.
12206 (__libc_memalign): Add memory_memalign_retry probe.
12207 (__libc_valloc): Add memory_valloc_retry probe.
12208 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12209 (__libc_calloc): Add memory_calloc_retry probe.
12210 * manual/probes.texi: Document them.
12211
6999d38c
AO
12212 * malloc/arena.c (get_free_list): Add probe
12213 memory_arena_reuse_free_list.
12214 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12215 and memory_arena_reuse.
12216 (arena_get2) [!PER_THREAD]: Likewise.
12217 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12218 memory_arena_reuse_realloc.
12219 * manual/probes.texi: Document them.
12220
0653427f
AO
12221 * malloc/malloc.c (__libc_free): Add
12222 memory_mallopt_free_dyn_thresholds probe.
12223 (__libc_mallopt): Add multiple memory_mallopt probes.
12224 * manual/probes.texi: Document them.
12225
3ea5be54
AO
12226 * malloc/malloc.c: Include stap-probe.h.
12227 (__libc_mallopt): Add memory_mallopt probe.
12228 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12229 * manual/probes.texi: New.
12230 * manual/Makefile (chapters): Add probes.
12231 * manual/threads.texi: Set next node.
12232
e35696c3 122332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12234
e35696c3
CL
12235 [BZ #15963, #13985]
12236 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12237 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12238 Add `Chinese' to `nan' entry name.
12239
4aafb73c
SP
122402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12241
12242 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12243 (POLYNOMIAL): Likewise.
12244 (TAYLOR_SINCOS): Likewise.
12245 (TAYLOR_SLOW): Likewise.
12246 (__sin): Use TAYLOR_SINCOS.
12247 (__cos): Likewise.
12248 (slow): Use TAYLOR_SLOW.
12249 (sloww): Likewise.
12250 (bsloww): Likewise.
12251 (csloww): Likewise.
12252
d84f25c7
LD
122532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12254
12255 * stdlib/strtod_l.c: Fix buffer overrun.
12256
5eea0404
SP
122572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12258
7849ff93
SP
12259 * benchtests/Makefile (bench): Add sincos.
12260 * benchtests/bench-sincos.c: New file.
12261
cfa3c886
SP
12262 * math/libm-test.inc (cos_test_data): New test inputs.
12263 (sin_test_data): Likewise.
12264
b348e1e3
SP
12265 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12266 macro.
12267 (__sin): Use it.
12268 (__cos): Likewise.
12269 (slow1): Likewise.
12270 (slow2): Likewise.
12271 (sloww1): Likewise.
12272 (sloww2): Likewise.
12273 (bsloww1): Likewise.
12274 (bsloww2): Likewise.
12275 (cslow2): Likewise.
12276 (csloww1): Likewise.
12277 (csloww2): Likewise.
12278
6cce25f8
SP
12279 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12280 function.
12281 (__sin): Use it.
12282 (__cos): Likewise.
12283
5eea0404
SP
12284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12285 gotos.
12286 (__cos): Likewise.
12287
9c21573c
MR
122882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12289
12290 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12291 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12292 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12293 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12294 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12295 * elf/cache.c (print_entry): Handle the new cache flags.
12296
24d22e65
JM
122972013-09-18 Joseph Myers <joseph@codesourcery.com>
12298 Aldy Hernandez <aldyh@redhat.com>
12299
12300 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12301 Change condition to [_SOFT_FLOAT].
12302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12314 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12317 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12318 declaration.
12319
d13ef066
JM
123202013-09-18 Joseph Myers <joseph@codesourcery.com>
12321
2e071de0
JM
12322 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12323 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12324 (__longjmp): Use LOAD_GP to load saved GPRs.
12325 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12326 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12327 (__sigsetjmp): Use SAVE_GP to save GPRs.
12328
d13ef066
JM
12329 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12330 Do not append -msoft-float.
12331 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12332
97a0650b
SP
123332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12334
12335 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12336
11ca09e9
JM
123372013-09-17 Joseph Myers <joseph@codesourcery.com>
12338
12339 [BZ #15966]
12340 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12341 (_FPU_GETCW): Use initial "__" on variable and field names but not
12342 on macro parameter name.
12343 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12344 parentheses around reference to macro parameter.
12345
08ffcf34
RS
123462013-09-13 Richard Sandiford <richard@codesourcery.com>
12347
12348 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12349 prototype.
12350 (ctype_startup): Use uint32_t in cast and sizeof for
12351 ctype->charnames.
12352
ae7080d3
JL
123532013-09-11 Jia Liu <proljc@gmail.com>
12354
12355 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12356 __daddr_t_defined.
12357 [__FreeBSD__]: Likewise.
12358
5905e7b3
OB
123592013-09-11 Ondřej Bílka <neleai@seznam.cz>
12360
12361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12362 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12363 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12364 (strchr): Remove __strchr_sse42 ifunc selection.
12365 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12366 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12367
b987c776
WN
123682013-09-11 Will Newton <will.newton@linaro.org>
12369
12370 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12371 parameter to RES. Remove hardcoded 1000 value.
12372 * benchtests/bench-skeleton.c (main): Pass RES parameter
12373 to TIMING_INIT and multiply result by 1000.
12374
ddf985af
AZ
123752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12376
12377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12378
ffdd3181
AS
123792013-09-11 Andreas Schwab <schwab@suse.de>
12380
12381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12382 if not defined.
12383 (O_TMPFILE) [__USE_GNU]: Define.
12384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12385 Define.
12386
b73ed247
WN
123872013-09-11 Will Newton <will.newton@linaro.org>
12388
12389 [BZ #15857]
12390 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12391 does not overflow.
12392
55e17aad
WN
123932013-09-11 Will Newton <will.newton@linaro.org>
12394
12395 [BZ #15856]
12396 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12397 does not overflow.
12398
1159a193
WN
123992013-09-11 Will Newton <will.newton@linaro.org>
12400
12401 [BZ #15855]
12402 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12403 does not overflow.
12404
5905e7b3 124052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12406
12407 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12408 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12412
cdfc721b
AM
124132013-09-10 Allan McRae <allan@archlinux.org>
12414
aa04af00
AM
12415 [BZ #15748]
12416 * manual/arith.texi (Parsing of Floats): Clarify
12417 cross-reference.
12418
cdfc721b
AM
12419 [BZ #15849]
12420 * manual/install.texi (Running make install): Mention
12421 --enable-pt-chown.
12422 * INSTALL: Regenerated.
12423
95e7cf29
MR
124242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12425
12426 * csu/init-first.c (_init): Remove the !SHARED condition around
12427 FPU control word initialization.
12428 * elf/dl-support.c (_dl_fpu_control): New variable.
12429 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12430 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12431 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12432 * math/test-fpucw-static.c: New file.
12433 * math/test-fpucw-ieee.c: New file.
12434 * math/test-fpucw-ieee-static.c: New file.
12435 * math/Makefile (tests): Add `test-fpucw-ieee' and
12436 `$(tests-static)'.
12437 (tests-static): New variable.
12438 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12439 dependency to...
12440 [($(build-shared),yes)]
12441 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12442 ... this.
12443 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12444 New dependency.
12445
83e43bf0
AM
124462013-09-09 Allan McRae <allan@archlinux.org>
12447
a9f5ce09
AM
12448 [BZ #15939]
12449 * manual/string.texi (Collation Functions): Fix typo in
12450 strcoll example.
12451 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12452
34829bc2
AM
12453 [BZ #15893]
12454 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12455
3932737d
AM
12456 [BZ #15892]
12457 * libio/memstream.c (open_memstream): Fix memory leak.
12458 * libio/wmemstream.c (open_wmemstream): Likewise.
12459
83e43bf0
AM
12460 [BZ #15895]
12461 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12462
0c66b8e9
WN
124632013-09-09 Will Newton <will.newton@linaro.org>
12464
12465 * malloc/Makefile: Add tst-realloc to tests.
12466 * malloc/tst-realloc.c: New file.
12467
f6b00fd1
AM
124682013-09-09 Allan McRae <allan@archlinux.org>
12469
12470 [BZ #15844]
12471 * COPYING: Update from GNU website to fix FSF address.
12472 * COPYING.LIB: Likewise.
12473
eec55e16
DM
124742013-09-06 David S. Miller <davem@davemloft.net>
12475
12476 * po/zh_TW.po: Update Chinese (traditional) translation from
12477 translation project.
12478
1ecbb381
RS
124792013-09-06 Richard Sandiford <richard@codesourcery.com>
12480 Joseph Myers <joseph@codesourcery.com>
12481
12482 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12483 "localeinfo.h".
12484 (obstack_chunk_alloc): New macro.
12485 (obstack_chunk_free): Likewise.
12486 (record_offset): New function.
12487 (init_locale_data): Likewise.
12488 (align_locale_data): Likewise.
12489 (add_locale_empty): Likewise.
12490 (add_locale_raw_data): Likewise.
12491 (add_locale_raw_obstack): Likewise.
12492 (add_locale_string): Likewise.
12493 (add_locale_wstring): Likewise.
12494 (add_locale_uint32): Likewise.
12495 (add_locale_uint32_array): Likewise.
12496 (add_locale_char): Likewise.
12497 (start_locale_structure): Likewise.
12498 (end_locale_structure): Likewise.
12499 (start_locale_prelude): Likewise.
12500 (end_locale_prelude): Likewise.
12501 (write_locale_data): Take locale_file structure rather than an
12502 iovec.
12503 * locale/programs/locfile.h: Include "obstack.h".
12504 (struct locale_file): Change to store locale file contents instead
12505 of header.
12506 (init_locale_data): New prototype.
12507 (align_locale_data): Likewise.
12508 (add_locale_empty): Likewise.
12509 (add_locale_raw_data): Likewise.
12510 (add_locale_raw_obstack): Likewise.
12511 (add_locale_string): Likewise.
12512 (add_locale_wstring): Likewise.
12513 (add_locale_uint32): Likewise.
12514 (add_locale_uint32_array): Likewise.
12515 (add_locale_char): Likewise.
12516 (start_locale_structure): Likewise.
12517 (end_locale_structure): Likewise.
12518 (start_locale_prelude): Likewise.
12519 (end_locale_prelude): Likewise.
12520 (write_locale_data): Update prototype.
12521 * locale/programs/3level.h (struct TABLE): Remove result field.
12522 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12523 Use new locale_file interface.
12524 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12525 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12526 * locale/programs/ld-address.c (address_output): Use new
12527 locale_file interface.
12528 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12529 NO_ADD_LOCALE.
12530 (collate_finish): Don't call collseq_table_finalize.
12531 (collate_output): Use new locale_file interface.
12532 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12533 in file.
12534 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12535 (TABLE): Move defines earlier in file.
12536 (ELEMENT): Likewise.
12537 (DEFAULT): Likewise.
12538 (wctrans_table_add): Move macro and inline function earlier in
12539 file.
12540 (struct wctype_table): Move type earlier in file.
12541 (add_locale_wctype_table): New static prototype.
12542 (struct locale_ctype_t): Use logical types instead of struct iovec
12543 pointers for members.
12544 (ctype_output): Use new locale_file interface.
12545 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12546 new locale_file interface.
12547 (allocate_arrays): Update for use of new locale_file interface.
12548 * locale/programs/ld-identification.c (identification_output): Use
12549 new locale_file interface.
12550 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12551 * locale/programs/ld-messages.c (messages_output): Likewise.
12552 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12553 * locale/programs/ld-name.c (name_output): Likewise.
12554 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12555 * locale/programs/ld-paper.c (paper_output): Likewise.
12556 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12557 * locale/programs/ld-time.c (time_output): Likewise.
12558
e029e2e5
AZ
125592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12560
12561 * benchtests/Makefile: Add memrchr benchmark.
12562 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12563 benchmark as memrchr.
12564 * benchtests/bench-memrchr-ifunc.c: New file.
12565 * benchtests/bench-memrchr.c: New file.
12566
bbf6e8e4
WN
125672013-09-06 Will Newton <will.newton@linaro.org>
12568
12569 * benchtests/Makefile (string-bench): Add memcpy.
12570
6c82a2f8
CD
125712013-09-05 Carlos O'Donell <carlos@redhat.com>
12572 Cong Wang <amwang@redhat.com>
12573
e732c5f0 12574 [BZ #15850]
6c82a2f8
CD
12575 * sysdeps/unix/sysv/linux/bits/in.h
12576 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12577 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12578 before __USE_KERNEL_IPV6_DEFS uses.
12579 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12580 IPPROTO_BEETPH.
12581 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12582 sockaddr_in6, or ipv6_mreq.
12583
5430fc65
AZ
125842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585
12586 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12587 memory access for final bytes in some large inputs.
12588 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12589
4660856c
AZ
125902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12591
12592 * string/test-memrchr.c: New file.
12593 * string/test-memrchr-ifunc.c: New file.
12594 * string/Makefile: Add new memrchr testcase.
12595
bb8ea713
MF
125962013-09-05 Mike Frysinger <vapier@gentoo.org>
12597
12598 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12599 fanotify_init returns EPERM.
12600
b92a20b5
JM
126012013-09-04 Joseph Myers <joseph@codesourcery.com>
12602
12603 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12604 errors.
12605 (top level): Treat second token from macro or constant entries for
12606 allowed headers as allowed.
12607 * include/complex.h: Condition internal declarations on
12608 [!_ISOMAC].
12609 * include/fenv.h: Condition include of <stdbool.h> and internal
12610 declarations on [!_ISOMAC].
7447ccd9
CL
12611
126122013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12613
3e181dda 12614 [BZ #15923]
7447ccd9
CL
12615 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12616
3f2e46a4
JM
126172013-09-04 Joseph Myers <joseph@codesourcery.com>
12618
12619 * configure.in (--enable-versioning): Remove configure option.
12620 (libc_cv_asm_symver_directive): Remove configure test.
12621 (libc_cv_ld_version_script_option): Likewise.
12622 (VERSIONING): Remove variable and AC_SUBST.
12623 (DO_VERSIONING): Remove AC_DEFINE.
12624 * configure: Regenerated.
12625 * config.h.in (DO_VERSIONING): Remove macro.
12626 * Makerules [$(versioning) = yes]: Change conditionals to
12627 [$(build-shared) = yes].
12628 * config.make.in (versioning): Remove variable.
12629 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12630 [$(build-shared) = yes].
12631 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12632 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12633 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12634 [$(build-shared) = yes].
12635 * extra-lib.mk [$(versioning) = yes]: Likewise.
12636 * hurd/Makefile [$(versioning) = yes]: Likewise.
12637 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12638 [SHARED].
12639 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12640 [SHARED].
12641 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12642 [SHARED && !NO_HIDDEN].
12643 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12644 [SHARED].
12645 [SHARED && DO_VERSIONING]: Likewise..
12646 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12647 [$(build-shared) = yes].
12648 * manual/install.texi (--disable-versioning): Remove
12649 documentation.
12650 * INSTALL: Regenerated.
12651 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12652 to [SHARED].
12653 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12654 [$(build-shared) = yes].
12655 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12656 * sysdeps/i386/i686/multiarch/strstr-c.c
12657 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12658 [SHARED && !NO_HIDDEN].
12659 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12660 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12661 * sysdeps/powerpc/powerpc32/dl-machine.c
12662 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12663 * sysdeps/powerpc/powerpc32/sysdep.h
12664 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12665 to [SHARED && PIC && !NO_HIDDEN].
12666 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12667 conditional to [SHARED].
12668
44558701
WN
126692013-09-04 Will Newton <will.newton@linaro.org>
12670
12671 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12672 * benchtests/bench-string.h: Include bench-timing.h instead
12673 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12674 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12675 call to HP_TIMING_DIFF_INIT.
12676 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12677 instead of hp-timing.h macros.
12678 * benchtests/bench-memchr.c: Likewise.
12679 * benchtests/bench-memcmp.c: Likewise.
12680 * benchtests/bench-memcpy.c: Likewise.
12681 * benchtests/bench-memmem.c: Likewise.
12682 * benchtests/bench-memmove.c: Likewise.
12683 * benchtests/bench-memset.c: Likewise.
12684 * benchtests/bench-rawmemchr.c: Likewise.
12685 * benchtests/bench-strcasecmp.c: Likewise.
12686 * benchtests/bench-strcasestr.c: Likewise.
12687 * benchtests/bench-strcat.c: Likewise.
12688 * benchtests/bench-strchr.c: Likewise.
12689 * benchtests/bench-strcmp.c: Likewise.
12690 * benchtests/bench-strcpy.c: Likewise.
12691 * benchtests/bench-strcpy_chk.c: Likewise.
12692 * benchtests/bench-strlen.c: Likewise.
12693 * benchtests/bench-strncasecmp.c: Likewise.
12694 * benchtests/bench-strncat.c: Likewise.
12695 * benchtests/bench-strncmp.c: Likewise.
12696 * benchtests/bench-strncpy.c: Likewise.
12697 * benchtests/bench-strnlen.c: Likewise.
12698 * benchtests/bench-strpbrk.c: Likewise.
12699 * benchtests/bench-strrchr.c: Likewise.
12700 * benchtests/bench-strspn.c: Likewise.
12701 * benchtests/bench-strstr.c: Likewise.
12702
cae16d66
WN
127032013-09-04 Will Newton <will.newton@linaro.org>
12704
12705 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12706
ffa3cd7f
JM
127072013-09-03 Joseph Myers <joseph@codesourcery.com>
12708
12709 [BZ #15427]
12710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12711 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12712 * math/libm-test.inc (lgamma_test_data): Add more tests.
12713 * sysdeps/i386/fpu/libm-test-ulps: Update.
12714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12715
8f02859f
OB
127162013-09-03 Ondřej Bílka <neleai@seznam.cz>
12717
12718 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12720 Add ifunc.
12721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12722 Add strcmp-sse2-unaligned
12723 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12724
18d43716
MF
127252013-09-02 Mike Frysinger <vapier@gentoo.org>
12726
12727 * Versions.def (libc): Add GLIBC_2.19.
12728
ac444012
MF
127292013-09-02 Mike Frysinger <vapier@gentoo.org>
12730
12731 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12732 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12733
b7835e32
JM
127342013-09-02 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #14155]
12737 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12738 intermediate calculations in recurrence.
12739 (__ieee754_ynf): Likewise.
12740 * math/libm-test.inc (jn_test_data): Do not allow spurious
12741 underflow exception. Add more tests.
12742 (yn_test_data): Add more tests.
12743 * sysdeps/i386/fpu/libm-test-ulps: Update.
12744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12745
8220f4f0
OB
127462013-09-02 Ondřej Bílka <neleai@seznam.cz>
12747
12748 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12749
f24a6d08
OB
127502013-08-30 Ondřej Bílka <neleai@seznam.cz>
12751
12752 * csu/init-first.c: Fix then/than typos.
12753 * locale/programs/ld-collate.c: Likewise.
12754 * locale/programs/linereader.h: Likewise.
12755 * manual/charset.texi: Likewise.
12756 * manual/filesys.texi: Likewise.
12757 * manual/stdio.texi: Likewise.
12758 * manual/string.texi: Likewise.
12759 * stdlib/fmtmsg.c: Likewise.
12760 * sysdeps/i386/stpncpy.S: Likewise.
12761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12762 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12763 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12764 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12765
382466e0
OB
127662013-08-30 Ondřej Bílka <neleai@seznam.cz>
12767
12768 * elf/dl-open.c: Fix typos.
12769 * iconvdata/gbbig5.c: Likewise.
12770 * iconvdata/iso-2022-jp.c: Likewise.
12771 * iconv/gconv_int.h: Likewise.
12772 * iconv/loop.c: Likewise.
12773 * nis/rpcsvc/nis.h: Likewise.
12774 * resolv/ns_name.c: Likewise.
12775 * stdio-common/vfscanf.c: Likewise.
12776 * streams/stropts.h: Likewise.
12777 * sunrpc/rpc_thread.c: Likewise.
12778 * sysdeps/i386/strpbrk.S: Likewise.
12779 * sysdeps/ieee754/k_standard.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12782 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12783 * sysdeps/mach/hurd/profil.c: Likewise.
12784 * sysdeps/s390/dl-procinfo.h: Likewise.
12785 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12787 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12788 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12790
0186c6e9
OB
127912013-08-30 Ondřej Bílka <neleai@seznam.cz>
12792
12793 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12795
d4e16af1
OB
127962013-08-29 Ondřej Bílka <neleai@seznam.cz>
12797
12798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12799 aix specific files.
12800 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12801 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12802 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12808
88335980
TS
128092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12810 Roland McGrath <roland@hack.frob.com>
12811
12812 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12813 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12814
ed479b02
ST
128152013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12816
12817 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12818 __executable_start symbol instead of _start.
12819
f1cc4c86
TS
128202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12821
d821f07c
TS
12822 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12823 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12824 Move macros to...
12825 * sysdeps/gnu/ldsodefs.h: ... this new file.
12826
c54290cf
TS
12827 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12828 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12829 instead of ELFOSABI_LINUX.
12830
0007fc9b 12831 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12832 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12833 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12834 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12835 Likewise.
12836 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12837 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12839 Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12841 (ibm_extended_long_double): Add ieee_nan member.
12842 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12843 (do_test): New function.
12844
f1cc4c86
TS
12845 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12846 TEST_TRUNC.
12847 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12848 functions, renamed from truncdfsf_test, trunctfsf_test,
12849 trunctfdf_test.
12850 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12851 functions.
12852 (do_test): Run all these.
12853
6f65e668
OB
128542013-08-29 Ondřej Bílka <neleai@seznam.cz>
12855
12856 * argp/argp-help.c: Fix typos.
12857 * argp/argp-parse.c: Likewise.
12858 * debug/backtracesyms.c: Likewise.
12859 * elf/elf.h: Likewise.
12860 * malloc/malloc.c: Likewise.
12861 * nis/nis_print.c: Likewise.
12862 * resolv/res_comp.c: Likewise.
12863 * stdlib/stdlib.h: Likewise.
12864 * sunrpc/clnt_tcp.c: Likewise.
12865 * sunrpc/clnt_udp.c: Likewise.
12866 * sunrpc/clnt_unix.c: Likewise.
12867 * sysdeps/unix/bsd/ptsname.c: Likewise.
12868 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12871 Likewise.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12873 Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12875 Likewise.
6f65e668
OB
12876 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12877
3a309239
SP
128782013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12879
12880 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12882
3b813b29
MF
128832013-08-27 Mike Frysinger <vapier@gentoo.org>
12884
12885 [BZ #15897]
12886 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12887 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12888 ($(objpfx)bug-dl-leaf): New rule.
12889 ($(objpfx)bug-dl-leaf.so): Likewise.
12890 ($(objpfx)bug-dl-leaf.out): Likewise.
12891 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12892 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12893 * dlfcn/bug-dl-leaf.c: New test.
12894 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12895 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12896 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12897 (dlclose): Likewise.
12898 (dlmopen): Likewise.
12899
8cc3269f
RM
129002013-08-27 Roland McGrath <roland@hack.frob.com>
12901
7f9d0034
RM
12902 * include/netdb.h [!_ISOMAC]:
12903 Don't include <tls.h>.
12904 (h_errno, __libc_h_errno): Move declaration and macros out of
12905 [_LIBC_REENTRANT].
12906
fb431262
RM
12907 * include/resolv.h [_RESOLV_H_]:
12908 Don't include <tls.h>.
12909 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12910 * resolv/res_libc.c: Don't include <tls.h>.
12911 (_res): Use __attribute__ ((nocommon)) in place of
12912 __attribute__ ((section (".bss"))).
12913
bd81123a
RM
12914 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12915 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12916
c4e42566
RM
12917 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12918
f890a59b
RM
12919 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12920 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12921
12922 * resolv/res_mkquery.c: Include <sys/time.h>.
12923
5d1f0a09
RM
12924 * inet/ifreq.c: Moved to ...
12925 * sysdeps/unix/ifreq.c: ... here.
12926 * inet/ifreq.c: New file, true stub version.
12927
6fcf28b3
RM
12928 * socket/sa_len.c: New file.
12929 * socket/Makefile (aux): Add it.
12930 * sysdeps/unix/sysv/linux/Makefile
12931 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12932 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12933 and #include <socket/sa_len.c>.
12934 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12935 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12936
e041fb8b
RM
12937 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12938 * bits/socket.h: ... here.
12939
8cc3269f
RM
12940 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12941 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12942 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12943
5d228a43
AS
129442013-08-27 Andreas Schwab <schwab@suse.de>
12945
45b8accc
AS
12946 [BZ #15736]
12947 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12948 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12949 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12950 * string/test-strcasecmp.c (test_main): Run tests in several
12951 locales.
12952 * string/test-strncasecmp.c (test_main): Likewise.
12953
5d228a43
AS
12954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12955 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12956 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12958 (__strncasecmp_ssse3) [PIC]: Likewise.
12959
59d112a4
RM
129602013-08-26 Roland McGrath <roland@hack.frob.com>
12961
53234cc3
RM
12962 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12963
59d112a4
RM
12964 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12965 instead of explicitly declaring xdecrypt.
12966 * nis/nss_nis/nis-publickey.c: Likewise.
12967
595aba70
SP
129682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12969
12970 [BZ #15890]
12971 * nscd/aicache.c: Include res_hconf.h.
12972 (addhstaiX): Initialize res_hconf.
12973
ffabd393
AS
129742013-08-26 Andreas Schwab <schwab@suse.de>
12975
12976 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12977 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12978
e0a69f5c
SP
129792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12980
12981 * nscd/aicache.c (addhstaiX): Fix indentation.
12982
8c12f01d
MF
129832013-08-25 Mike Frysinger <vapier@gentoo.org>
12984
12985 * configure.ac: Quote $build_pt_chown test.
12986 * configure: Regenerated.
12987
8fe89494
JM
129882013-08-23 Joseph Myers <joseph@codesourcery.com>
12989
12990 [BZ #15532]
12991 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12992 * math/s_cexpf.c (__cexpf): Likewise.
12993 * math/s_cexpl.c (__cexpl): Likewise.
12994 * math/libm-test.inc (cexp_test_data): Correct expected return
12995 value for NaN + i0. Add another test.
12996
75b181d6
DM
129972013-08-22 David S. Miller <davem@davemloft.net>
12998
12999 * po/ca.po: Update Catalan translation from translation project.
936241e4 13000 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13001
acd06bb1
JM
130022013-08-21 Joseph Myers <joseph@codesourcery.com>
13003
13004 [BZ #15797]
13005 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13006 is infinite, not alongside NaN test.
13007 * math/s_fdimf.c (__fdimf): Likewise.
13008 * math/s_fdiml.c (__fdiml): Likewise.
13009 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13010 errno is unchanged.
13011
c0c3f78a
OB
130122013-08-21 Ondřej Bílka <neleai@seznam.cz>
13013
13014 * argp/argp-help.c: Fix typos.
13015 * crypt/speeds.c: Likewise.
13016 * csu/check_fds.c: Likewise.
13017 * elf/dl-load.c: Likewise.
13018 * elf/dl-open.c: Likewise.
13019 * elf/reldep3.c: Likewise.
13020 * elf/reldep.c: Likewise.
13021 * elf/sprof.c: Likewise.
13022 * iconv/iconv_charmap.c: Likewise.
13023 * iconv/skeleton.c: Likewise.
13024 * iconv/strtab.c: Likewise.
13025 * io/lockf64.c: Likewise.
13026 * libio/libioP.h: Likewise.
13027 * resolv/gai_notify.c: Likewise.
13028 * resolv/ns_name.c: Likewise.
13029 * resolv/ns_samedomain.c: Likewise.
13030 * resolv/res_send.c: Likewise.
13031 * stdlib/random.c: Likewise.
13032 * sunrpc/rpc/xdr.h: Likewise.
13033 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13034 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13035 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13036 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13041 * sysdeps/mach/hurd/check_fds.c: Likewise.
13042 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13043 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13045 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13046 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13047 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13048 * sysdeps/pthread/aio_notify.c: Likewise.
13049 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13050 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13051 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13053 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13054
46ed1038
LD
130552013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13056
13057 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13058 version if bit_Slow_SSE4_2 is set.
13059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13061
d400dcac
AZ
130622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13063
13064 [BZ #15867]
13065 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13066 trampoline stack frame information.
13067 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13069 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13070 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13071 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13072 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13073 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13074 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13075 sa_flags value.
13076 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13077 interrupting a syscall and set with option SA_SIGINFO.
13078
42c8fdd8
JM
130792013-08-20 Joseph Myers <joseph@codesourcery.com>
13080
c980f2f4
JM
13081 [BZ #15531]
13082 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13083 argument is infinite.
13084 * math/s_cprojf.c (__cprojf): Likewise.
13085 * math/s_cprojl.c (__cprojl): Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13087 * math/libm-test.inc (cproj_test_data): Add more tests.
13088
0716c4fc
JM
13089 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13090
42c8fdd8
JM
13091 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13092 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13093 size. Use __ffs to determine corresponding shift.
13094
b31469d0
JM
130952013-08-20 Joseph Myers <joseph@codesourcery.com>
13096 Roland McGrath <roland@hack.frob.com>
13097
13098 * Makefile (INSTALL): Remove trailing blank lines from output of
13099 makeinfo.
13100
4e39af6e
AK
131012013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13102
13103 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13104 Align 32 bit compat elf_greg to 8 bytes.
13105
f315524e
AA
131062013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13107
13108 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13109
1326ba1a
SP
131102013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13111
13112 * string/strcoll_l.c (coll_seq): New structure.
13113 (get_next_seq_cached): New function.
13114 (get_next_seq): New function.
13115 (do_compare): New function.
13116 (STRCOLL): Use GNU style definition. Simplify implementation
13117 by using get_next_seq, get_next_seq_cached and do_compare.
13118
91ce4085
FW
131192013-08-16 Florian Weimer <fweimer@redhat.com>
13120
13121 [BZ #14699]
13122 CVE-2013-4237
13123 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13124 member.
13125 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13126 member.
13127 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13128 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13129 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13130 conditional.
13131 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13132 GETDENTS_64BIT_ALIGNED.
13133 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13134 * manual/filesys.texi (Reading/Closing Directory): Document
13135 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13136 strongly.
13137 * manual/conf.texi (Limits for Files): Add portability note to
13138 NAME_MAX, PATH_MAX.
13139 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13140
ca0a6bc4
AS
131412013-08-13 Andreas Schwab <schwab@suse.de>
13142
13143 [BZ #15749]
13144 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13145 of fabs.
13146 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13147 LDBL_MAX_EXP >= 16384]: Add tests for it.
13148
6c1fd795
DM
131492013-08-12 David S. Miller <davem@davemloft.net>
13150
13151 * version.h (RELEASE): Set to "development".
13152 (VERSION): Set to "2.18.90".
13153 * NEWS: Add 2.19 section.
13154
31ad488d
DM
131552013-08-03 David S. Miller <davem@davemloft.net>
13156
13157 * po/ko.po: Update Korean translation from translation project.
13158
db24e684
DM
131592013-08-01 David S. Miller <davem@davemloft.net>
13160
13161 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13162 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13163 Bilka.
13164
f723285b
DM
131652013-07-30 David S. Miller <davem@davemloft.net>
13166
13167 * po/fr.po: Update French translation from translation project.
13168
3cbc52db
DM
131692013-07-28 David S. Miller <davem@davemloft.net>
13170
30bbc0cc
DM
13171 * po/cs.po: Update Czech translation from translation project.
13172
3cbc52db
DM
13173 * po/sv.po: Update Swedish translation from translation project.
13174
d492e6d0
DM
131752013-07-27 David S. Miller <davem@davemloft.net>
13176
f1a7f492
DM
13177 * po/eo.po: Update Esperanto translation from translation project.
13178
90e62a4a
DM
13179 * po/vi.po: Update Vietnamese translation from translation project.
13180
d492e6d0
DM
13181 * po/de.po: Update German translation from translation project.
13182
d4baa62d
DM
131832013-07-26 David S. Miller <davem@davemloft.net>
13184
641aa7b4
DM
13185 * po/bg.po: Update Bulgarian translation from translation project.
13186
d4baa62d
DM
13187 * po/nl.po: Update Dutch translation from translation project.
13188 * po/pl.po: Update Polish translation from translation project.
13189 * po/ru.po: Update Russian translation from translation project.
13190
61a9dcb9
DM
131912013-07-24 David S. Miller <davem@davemloft.net>
13192
13193 * po/libc.pot: Update.
13194
7b1f8b58
AZ
131952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13196
13197 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13198 variable page size.
13199 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13201 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13202
a8fc7a03
AK
132032013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13204
13205 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13206
e4608715
CD
132072013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13208 Andreas Schwab <schwab@suse.de>
13209 Roland McGrath <roland@hack.frob.com>
13210 Joseph Myers <joseph@codesourcery.com>
13211 Carlos O'Donell <carlos@redhat.com>
13212
13213 [BZ #15755]
13214 * config.h.in: Define HAVE_PT_CHOWN.
13215 * config.make.in (build-pt-chown): New variable.
13216 * configure.in (--enable-pt_chown): New configure option.
13217 * configure: Regenerate.
13218 * login/Makefile: Include Makeconfig. Build pt_chown only if
13219 build-pt-chown is enabled.
13220 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13221 pt_chown to fix pty ownership.
13222 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13223 CLOSE_ALL_FDS.
13224 * manual/install.texi (Configuring and compiling): Mention
13225 --enable-pt_chown. Add @findex for grantpt.
13226 * INSTALL: Regenerate.
13227
da2d62df
DM
132282013-07-20 David S. Miller <davem@davemloft.net>
13229
13230 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13231 difference between 32-bit and 64-bit.
13232
d7e06450
CD
132332013-07-15 Carlos O'Donell <carlos@redhat.com>
13234
13235 [BZ #15711]
13236 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13237 Avoid system header dependency with -ffreestanding.
13238 ($(objpfx)bits/syscall%d): Likewise.
13239
f959cfd7
DM
132402013-07-13 David S. Miller <davem@davemloft.net>
13241
13242 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13243 underflows from atanl/atan2l due to bug 15319.
13244 (casinh_test_data): Likewise.
13245
c61f8513
DM
132462013-07-07 David S. Miller <davem@davemloft.net>
13247
13248 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13249
72c90ed0
JA
132502013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13251
13252 * sysdeps/i386/fpu/libm-test-ulps: Update.
13253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13254
52dfbe13
SP
132552013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13256
13257 * configure.in (--enable-lock-elision): Fix message text.
13258 * INSTALL: Regenerate.
13259 * configure: Regenerate.
13260
3f169543
AZ
132612013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13262
13263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13264
521c6785
AJ
132652013-07-03 Andreas Jaeger <aj@suse.de>
13266
13267 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13268 define.
13269 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13270 (ptrace_peeksiginfo_args): Add.
13271 (__ptrace_peeksiginfo_flags): Add.
13272 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13275
d2cc15cb
AM
132762013-07-03 Allan McRae <allan@archlinux.org>
13277
13278 * sysdeps/i386/fpu/libm-test-ulps: Update.
13279
3aaeeca7
DM
132802013-07-02 David S. Miller <davem@davemloft.net>
13281
13282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13283
5314ed1a
MT
132842013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13285
13286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13287
67338156
JM
132882013-07-02 Joseph Myers <joseph@codesourcery.com>
13289
13290 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13292
1717da59
AK
132932013-07-02 Andi Kleen <ak@linux.intel.com>
13294
13295 * config.h.in (ENABLE_LOCK_ELISION): Add.
13296 * configure.in (--enable-lock-elision): Add option.
13297 * manual/install.texi: Document --enable lock elision.
13298 * configure: Regenerate
13299 * INSTALL: Regenerate.
13300
1c81621c
L
133012013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13304 SSE4.2 strcasecmp for libc.a.
13305 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13306
77f01ab5
JM
133072013-07-02 Joseph Myers <joseph@codesourcery.com>
13308
13309 [BZ #13304]
13310 * soft-fp/op-common.h (_FP_FMA): New macro.
13311 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13312 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13313 (_FP_MUL_MEAT_1_imm): ... here.
13314 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13315 (_FP_MUL_MEAT_1_wide): ... here.
13316 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13317 (_FP_MUL_MEAT_1_hard): ... here.
13318 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13319 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13320 (_FP_MUL_MEAT_2_wide): ... here.
13321 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13322 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13323 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13324 (_FP_MUL_MEAT_2_gmp): ... here.
13325 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13326 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13327 (_FP_MUL_MEAT_4_wide): ... here.
13328 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13329 (_FP_MUL_MEAT_4_gmp): ... here.
13330 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13331 (_FP_WFRACBITS_DW_S): Likewise.
13332 (_FP_WFRACXBITS_DW_S): Likewise.
13333 (_FP_HIGHBIT_DW_S): Likewise.
13334 (FP_FMA_S): Likewise.
13335 (_FP_FRAC_HIGH_DW_S): Likewise.
13336 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13337 (_FP_WFRACBITS_DW_D): Likewise.
13338 (_FP_WFRACXBITS_DW_D): Likewise.
13339 (_FP_HIGHBIT_DW_D): Likewise.
13340 (FP_FMA_D): Likewise.
13341 (_FP_FRAC_HIGH_DW_D): Likewise.
13342 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13343 (_FP_WFRACBITS_DW_E): Likewise.
13344 (_FP_WFRACXBITS_DW_E): Likewise.
13345 (_FP_HIGHBIT_DW_E): Likewise.
13346 (FP_FMA_E): Likewise.
13347 (_FP_FRAC_HIGH_DW_E): Likewise.
13348 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13349 (_FP_WFRACBITS_DW_Q): Likewise.
13350 (_FP_WFRACXBITS_DW_Q): Likewise.
13351 (_FP_HIGHBIT_DW_Q): Likewise.
13352 (FP_FMA_Q): Likewise.
13353 (_FP_FRAC_HIGH_DW_Q): Likewise.
13354 * soft-fp/fmasf4.c: New file.
13355 * soft-fp/fmadf4.c: Likewise.
13356 * soft-fp/fmatf4.c: Likewise.
13357
6308fd9a
LD
133582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13359
13360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13361 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13362 Silvermont.
13363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13364 macro.
13365 (index_Slow_SSE4_2): Likewise.
13366 (index_Prefer_PMINUB_for_stringop): Likewise.
13367 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13368 bit_Slow_SSE4_2 is set.
13369 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13370 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13371
89cd9569
RA
133722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13373
13374 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13375 rtld_global._dl_hwcap2.
13376 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13377 POWER8.
13378 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13379 POWER8 feature descriptions defined in _dl_hwcap2.
13380 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13381 string handling for POWER8 feature bits.
13382 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13383 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13384 _dl_powerpc_cap_flags.
13385 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13386 * sysdeps/powerpc/rtld-global-offsets.sym
13387 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13388 _dl_hwcap2 in the rtld_global_ro structure.
13389
1ae8bfe0
RA
133902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13391
13392 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13393 hardware capabilities in support of AT_HWCAP2.
13394 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13395 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13396 GLRO(dl_hwcap2).
13397 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13398 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13399 explicitly the unknown a_type display mechanism is used.
13400 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13401 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13402 struct member.
13403 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13404 to macro prototype for AT_HWCAP2 support.
13405 * sysdeps/i386/dl-procinfo.h: Likewise.
13406 * sysdeps/s390/dl-procinfo.h: Likewise.
13407 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13408 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13409 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13410 return -1 for unknown a_type display fallback.
13411 * sysdeps/sparc/dl-procinfo.h: Likewise.
13412 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13413 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13414
8fbec010
JM
134152013-06-28 Joseph Myers <joseph@codesourcery.com>
13416
13417 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13418 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13419
0432680e
PY
134202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13421
13422 [BZ #12492]
13423 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13424 mprotect making __stack_prot writable.
13425
ce61a2ad
NF
134262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13427 Joseph Myers <joseph@codesourcery.com>
13428
13429 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13430 as being properly aligned.
13431
f91f1c0f
MR
134322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13433
3d0f5d0c
MR
13434 * dlfcn/modstatic5.c: New file.
13435 * dlfcn/tststatic5.c: New file.
13436 * dlfcn/Makefile (tests): Add tststatic5.
13437 (tests-static): Likewise.
13438 (modules-names): Add modstatic5.
13439 (tststatic5-ENV): New variable.
13440 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13441
f91f1c0f
MR
13442 [BZ #15022]
13443 * elf/dl-support.c (_dl_main_map): New variable.
13444 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13445 (_dl_nns, _dl_load_adds): Set to 1.
13446 (_dl_initial_searchlist): Refer to _dl_main_map.
13447 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13448 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13449 call to _dl_get_origin.
13450 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13451 around call_map.
13452 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13453 * dlfcn/modstatic3.c: New file.
13454 * dlfcn/tststatic3.c: New file.
13455 * dlfcn/tststatic4.c: New file.
13456 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13457 (tests-static): Likewise.
13458 (modules-names): Add modstatic3.
13459 (tststatic3-ENV, tststatic4-ENV): New variables.
13460 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13461 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13462
cbe7d24b
JM
134632013-06-26 Joseph Myers <joseph@codesourcery.com>
13464
13465 * configure.in (CC): Require GCC version 4.4 or later.
13466 * configure: Regenerated.
13467 * manual/install.texi (Tools for Compilation): Update GCC version
13468 requirement.
13469 * INSTALL: Regenerated.
13470
11b8a0e1
LD
134712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13472
13473 [BZ #15674]
bb5bb87c
L
13474 * string/test-memcmp.c (check2): New.
13475 (main): Call check2.
13476
11b8a0e1
LD
13477 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13478
b0037103
MR
134792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13480
13481 [BZ #15022]
13482 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13483 over to...
13484 (dl_open_worker) [!SHARED]: ... here.
13485
c18c701d
RA
134862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13487
13488 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13489
1d17fa5f
RH
134902013-06-25 Richard Henderson <rth@redhat.com>
13491
13492 * locale/programs/locarchive.c: Include <libc-internal.h>
13493
8fcb833a
JM
134942013-06-25 Joseph Myers <joseph@codesourcery.com>
13495
13496 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13497 trailing whitespace removed.
13498
17db6e8d
MF
134992013-06-24 Mike Frysinger <vapier@gentoo.org>
13500
13501 [BZ #10283]
17db6e8d
MF
13502 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13503 * locale/programs/locarchive.c: Include libc-mmap.h.
13504 (prepare_address_space): Take two new outputs (the mmap base and len).
13505 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13506 values.
13507 (create_archive): Declare new mmap base and len values for
13508 prepare_address_space, and store the result in ah.
13509 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13510 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13511 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13512 Declare new mmap base and len values for
13513 prepare_address_space, and store the result in new_ah.
13514 (open_archive): Declare new mmap base and len values for
13515 prepare_address_space, and store the result in ah.
13516 (close_archive): If ah->mmap_base is not NULL, use that and
13517 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13518 * sysdeps/generic/libc-mmap.h: New file.
13519
d605071e
MF
135202013-06-24 Mike Frysinger <vapier@gentoo.org>
13521
13522 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13523 (ALIGN_UP): Likewise.
13524 (PTR_ALIGN_DOWN): Likewise.
13525 (PTR_ALIGN_UP): Likewise.
13526
2f063a6e
RA
135272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13528
13529 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13530 entry mapped to PPC_PLATFORM_POWER8.
13531 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13532 POWER8.
13533 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13534 (_dl_string_platform): Add case for exporting platform position for
13535 POWER8.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13537 search path to sysdeps/powerpc/powerpc32/power8 directory.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13539 search path to sysdeps/powerpc/powerpc64/power8 directory.
13540 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13541 power7 directories.
13542 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13543 power7 directories.
13544
a31ee4b3
SP
135452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13546
a74ca98f
SP
13547 * INSTALL: Regenerate.
13548
a31ee4b3
SP
13549 * nscd/connections.c (nscd_init): Fix comment.
13550
695c378f
JM
135512013-06-22 Joseph Myers <joseph@codesourcery.com>
13552
d8412221
JM
13553 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13554
695c378f
JM
13555 [BZ #15667]
13556 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13557 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13558
d1d54715
MR
135592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13560
13561 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13562 DL_DST_REQ_STATIC.
13563 (DL_DST_REQ_STATIC): Remove macro.
13564
8fdda7af
JM
135652013-06-21 Joseph Myers <joseph@codesourcery.com>
13566
13567 [BZ #7006]
13568 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13569 with a shift of 0 bits.
13570
f3bc5e5a
MR
135712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13572
13573 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13574 $(tststatic-ENV).
13575
be09e8c9
KK
135762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13577
13578 [BZ #15655]
13579 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13580
85c2e611
AZ
135812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13582
13583 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13584 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13585 accepts -fno-tree-loop-distribute-patterns.
13586 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13587 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13588 recursive call.
13589 * string/memset.c (memset): Likewise.
13590 * string/test-memmove.c (simple_memmove): Disable loop transformation
13591 to library calls.
13592 * string/test-memset.c (simple_memset): Likewise.
13593 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13594 * benchtests/bench-memset.c (simple_memset): Likewise.
13595 * configure: Regenerated.
13596
c91e0825
JM
135972013-06-20 Joseph Myers <joseph@codesourcery.com>
13598
b8c792af
JM
13599 * math/test-misc.c (main): Ignore fesetround failure when failures
13600 of subsequent rounding tests would be ignored.
13601
c91e0825
JM
13602 [BZ #15654]
13603 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13604 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13605 * math/fegetenv.c (__fegetenv): Return 0.
13606 * math/fegetexcept.c (fegetexcept): Return 0.
13607 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13608 FE_TONEAREST.
13609 * math/feholdexcpt.c (feholdexcept): Return 0.
13610 * math/fesetenv.c (__fesetenv): Return 0.
13611 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13612 argument FE_TONEAREST.
13613 * math/feupdateenv.c (__feupdateenv): Return 0.
13614 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13615
bfcacbde
RM
136162013-06-18 Roland McGrath <roland@hack.frob.com>
13617
13618 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13619 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13620 ($(objpfx)rtld-%.os rules): Use them.
13621
e55a9b25
AZ
136222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13623
13624 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13625 fields.
13626
346d65b3
RM
136272013-06-17 Roland McGrath <roland@hack.frob.com>
13628
12086fb4
RM
13629 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13630 length of target pattern, then descending length of dependency pattern.
13631 * configure.in (AWK): Require gawk 3.1.2 or newer.
13632 * manual/install.texi (Tools for Compilation): Say that we do.
13633 * configure: Regenerated.
13634
346d65b3
RM
13635 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13636 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13637 * scripts/sysd-rules.awk: ... this new script.
13638 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13639 than a glob-style pattern.
13640
1a846317
JM
136412013-06-17 Joseph Myers <joseph@codesourcery.com>
13642
13643 * math/test-misc.c (main): Do not treat incorrectly rounded
13644 conversions as failure unless ROUNDING_TESTS passes.
13645
8fc75e6f
JM
136462013-06-15 Joseph Myers <joseph@codesourcery.com>
13647
3711a167
JM
13648 [BZ #15631]
13649 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13650 restore exception state around main square root computation, then
13651 check for inexactness explicitly.
13652
8fc75e6f
JM
13653 * math/libm-test.inc (fma_test_data): Add another test.
13654
61dd6208
SP
136552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13656
adf23d2c
SP
13657 * manual/threads.texi (Non-POSIX Extensions): New document
13658 node. Document pthread_getattr_default_np and
13659 pthread_setattr_default_np.
13660
61dd6208
SP
13661 * Versions.def (libpthread): Add GLIBC_2.18.
13662 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13664 Likewise.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13666 Likewise.
13667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13668 Likewise.
13669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13670 Likewise.
13671 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13672 Likewise.
13673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13674 Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13676 Likewise.
13677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13678 Likewise.
13679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13680 Likewise.
13681
d086fc7b
LD
136822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13683
13684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13685 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13686
747ef469
SP
136872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13688 H.J. Lu <hjl.tools@gmail.com>
13689
13690 [BZ #15627]
13691 * sysdeps/x86_64/rtld-memset.c: Remove file.
13692 * sysdeps/x86_64/rtld-memset.S: New file.
13693
1b2feed2
JM
136942013-06-14 Joseph Myers <joseph@codesourcery.com>
13695
13696 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13697 (test_in_one_mode): Take arguments for whether the rounding mode
13698 is supported for each floating-point type.
13699 (do_test): Pass new arguments to test_in_one_mode using
13700 ROUNDING_TESTS.
13701
a58ad3f8
RM
137022013-06-13 Roland McGrath <roland@hack.frob.com>
13703
13704 * posix/tst-waitid.c (do_test): Distinguish different instances of
13705 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13706 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13707 before entering the kernel for waitpid.
13708
c204ab28
SP
137092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13710
13711 * NEWS: Fix note on clock function precision. Text by Roland
13712 McGrath.
13713
f4a29fba
RM
137142013-06-13 Roland McGrath <roland@hack.frob.com>
13715
13716 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13717 it into place only when and if the sanity check passes.
13718
1f24b9ad
JM
137192013-06-13 Joseph Myers <joseph@codesourcery.com>
13720
13721 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13722 output for whether conversion result is exact. Take argument
13723 indicating whether type is IBM long double.
13724 (round_for_all): Change need_exact field to ibm_ld.
13725 * stdlib/tst-strtod-round.c (struct exactness): New type.
13726 (struct test): Change bool ld_ok field to struct exactness exact.
13727 (TEST): Update all definitions for change to field.
13728 (tests): Regenerate array contents.
13729 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13730 field value. Check for IBM long double here.
13731 (do_test): Update calls to test_in_one_mode.
13732
58206c68
SP
137332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13734
13735 [BZ #12515]
13736 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13737 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13738
2d6f4c5b 137392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13740
13741 [BZ #15605]
13742 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13743 generated by the compiler on loop optimizations.
13744 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13745 general definitions.
13746
94f2c076
JM
137472013-06-12 Joseph Myers <joseph@codesourcery.com>
13748
13749 * math/bug-nextafter.c: Include <math-tests.h>.
13750 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13751 the relevant type.
13752 * math/bug-nexttoward.c: Include <math-tests.h>.
13753 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13754 the relevant type.
13755 * math/test-misc.c: Include <math-tests.h>.
13756 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13757 the relevant type.
13758
e0e50a0a
AJ
137592013-06-12 Andreas Jaeger <aj@suse.de>
13760
13761 * po/ia.po: Update Interlingua translation from translation
13762 project.
13763
25061094
SP
137642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13765
13766 * include/fenv.h: Include stdbool.h.
13767 (struct rm_ctx): New structure.
13768 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13769 Define macro.
13770 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13771 (SET_RESTORE_ROUNDF): Likewise.
13772 (SET_RESTORE_ROUNDL): Likewise.
13773 (SET_RESTORE_ROUND_NOEX): Likewise.
13774 (SET_RESTORE_ROUND_NOEXF): Likewise.
13775 (SET_RESTORE_ROUND_NOEXL): Likewise.
13776 (SET_RESTORE_ROUND_53BIT): Likewise.
13777 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13778 (libc_feresetround_noexf_ctx): Likewise.
13779 (libc_feresetround_noexl_ctx): Likewise.
13780 (libc_feholdsetround_53bit_ctx): Likewise.
13781 (libc_feresetround_53bit_ctx): Likewise.
13782 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13783 (libc_feholdexcept_setround_sse_ctx): New function.
13784 (libc_fesetenv_sse_ctx): Likewise.
13785 (libc_feupdateenv_sse_ctx): Likewise.
13786 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13787 (libc_feholdexcept_setround_387_ctx): Likewise.
13788 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13789 (libc_feholdsetround_387_prec_ctx): Likewise.
13790 (libc_feholdsetround_387_ctx): Likewise.
13791 (libc_feholdsetround_387_53bit_ctx): Likewise.
13792 (libc_feholdsetround_sse_ctx): Likewise.
13793 (libc_feresetround_sse_ctx): Likewise.
13794 (libc_feresetround_387_ctx): Likewise.
13795 (libc_feupdateenv_387_ctx): Likewise.
13796 (libc_feholdexcept_setroundf_ctx): Define macro.
13797 (libc_fesetenvf_ctx): Likewise.
13798 (libc_feupdateenvf_ctx): Likewise.
13799 (libc_feholdsetroundf_ctx): Likewise.
13800 (libc_feresetroundf_ctx): Likewise.
13801 (libc_feholdexcept_setround_ctx): Likewise.
13802 (libc_fesetenv_ctx): Likewise.
13803 (libc_feupdateenv_ctx): Likewise.
13804 (libc_feholdsetround_ctx): Likewise.
13805 (libc_feresetround_ctx): Likewise.
13806 (libc_feholdexcept_setroundl_ctx): Likewise.
13807 (libc_feupdateenvl_ctx): Likewise.
13808 (libc_feholdsetroundl_ctx): Likewise.
13809 (libc_feresetroundl_ctx): Likewise.
13810 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13811 (libc_feresetround_53bit_ctx): Likewise.
13812
59b30555
SP
138132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13814
13815 * locale/iso-639.def: Convert to UTF-8.
13816
f1d73d30
JM
138172013-06-11 Joseph Myers <joseph@codesourcery.com>
13818
13819 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13820 (EXCEPTION_TESTS_double): Likewise.
13821 (EXCEPTION_TESTS_long_double): Likewise.
13822 (EXCEPTION_TESTS): Likewise.
13823 * math/libm-test.inc (test_exceptions): Only test exceptions if
13824 EXCEPTION_TESTS (FLOAT).
13825
94aca5e7
SP
138262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13827
13828 * benchtests/Makefile (string-bench): Add strcpy_chk and
13829 stpcpy_chk.
13830 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13831 * benchtests/bench-stpcpy_chk.c: New file.
13832 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13833 * benchtests/bench-strcpy_chk.c: New file.
13834 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13835 code.
13836 (do_test): Likewise.
13837
fac0c5f2
RA
138382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13839
13840 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13841 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13842 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13843 with tabs where appropriate.
13844 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13845 dl-procinfo.h.
13846 [PPC_PLATFORM_PPC440]: Likewise.
13847 [PPC_PLATFORM_PPC464]: Likewise.
13848 [PPC_PLATFORM_PPC476]: Likewise.
13849 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13850 ppc464, and ppc476 platform strings merging from ports/
13851 dl-procinfo.h.
13852
f22bc486
AS
138532013-06-11 Andreas Schwab <schwab@suse.de>
13854
13855 [BZ #14991]
13856 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13857 (from_ucs4_idx): Regenerate.
13858 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13859 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13860 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13861 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13862 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13863 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13864 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13865 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13866 from FROM_LOOP and TO_LOOP specific macros.
13867 (BODY): Handle combining characters.
13868 * iconvdata/BIG5HKSCS.irreversible: Update.
13869 * iconvdata/BIG5HKSCS.precomposed: New file.
13870 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13871 characters.
13872 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13873
c1f75dc3
SP
138742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13875
4eacded2
SP
13876 * include/sys/time.h: Fix indentation and add copyright header.
13877
fec799f8
SP
13878 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13879 (do_test): Likewise.
13880 * string/test-memchr.c (do_one_test): Likewise.
13881 (do_test): Likewise.
13882 * string/test-memcmp.c (do_one_test): Likewise.
13883 (do_test): Likewise.
13884 * string/test-memcpy.c (do_one_test): Likewise.
13885 (do_test): Likewise.
13886 * string/test-memmem.c (do_one_test): Likewise.
13887 (do_test): Likewise.
13888 (do_random_tests): Likewise.
13889 * string/test-memmove.c (do_one_test): Likewise.
13890 (do_test): Likewise.
13891 * string/test-memset.c (do_one_test): Likewise.
13892 (do_test): Likewise.
13893 * string/test-rawmemchr.c (do_one_test): Likewise.
13894 (do_test): Likewise.
13895 * string/test-strcasecmp.c (do_one_test): Likewise.
13896 (do_test): Likewise.
13897 * string/test-strcasestr.c (do_one_test): Likewise.
13898 (do_test): Likewise.
13899 * string/test-strcat.c (do_one_test): Likewise.
13900 (do_test): Likewise.
13901 * string/test-strchr.c (do_one_test): Likewise.
13902 (do_test): Likewise.
13903 * string/test-strcmp.c (do_one_test): Likewise.
13904 (do_test): Likewise.
13905 * string/test-strcpy.c (do_one_test): Likewise.
13906 (do_test): Likewise.
13907 * string/test-string.h: Likewise.
13908 (test_init): Likewise.
13909 * string/test-strlen.c (do_one_test): Likewise.
13910 (do_test): Likewise.
13911 * string/test-strncasecmp.c (do_one_test): Likewise.
13912 (do_test): Likewise.
13913 * string/test-strncat.c (do_one_test): Likewise.
13914 (do_test): Likewise.
13915 * string/test-strncmp.c (do_one_test): Likewise.
13916 (do_test_limit): Likewise.
13917 (do_test): Likewise.
13918 * string/test-strncpy.c (do_one_test): Likewise.
13919 (do_test): Likewise.
13920 * string/test-strnlen.c (do_one_test): Likewise.
13921 (do_test): Likewise.
13922 * string/test-strpbrk.c (do_one_test): Likewise.
13923 (do_test): Likewise.
13924 * string/test-strrchr.c (do_one_test): Likewise.
13925 (do_test): Likewise.
13926 * string/test-strspn.c (do_one_test): Likewise.
13927 (do_test): Likewise.
13928 * string/test-strstr.c (do_one_test): Likewise.
13929 (do_test): Likewise.
13930
97020474
SP
13931 * benchtests/Makefile (string-bench): Add string benchmarks.
13932 * benchtests/bench-bcopy-ifunc.c: New file.
13933 * benchtests/bench-bcopy.c: New file.
13934 * benchtests/bench-bzero-ifunc.c: New file.
13935 * benchtests/bench-bzero.c: New file.
13936 * benchtests/bench-memccpy-ifunc.c: New file.
13937 * benchtests/bench-memccpy.c: New file.
13938 * benchtests/bench-memchr-ifunc.c: New file.
13939 * benchtests/bench-memchr.c: New file.
13940 * benchtests/bench-memcmp-ifunc.c: New file.
13941 * benchtests/bench-memcmp.c: New file.
13942 * benchtests/bench-memmem-ifunc.c: New file.
13943 * benchtests/bench-memmem.c: New file.
13944 * benchtests/bench-memmove-ifunc.c: New file.
13945 * benchtests/bench-memmove.c: New file.
13946 * benchtests/bench-mempcpy-ifunc.c: New file.
13947 * benchtests/bench-mempcpy.c: New file.
13948 * benchtests/bench-memset-ifunc.c: New file.
13949 * benchtests/bench-memset.c: New file.
13950 * benchtests/bench-rawmemchr-ifunc.c: New file.
13951 * benchtests/bench-rawmemchr.c: New file.
13952 * benchtests/bench-stpcpy-ifunc.c: New file.
13953 * benchtests/bench-stpcpy.c: New file.
13954 * benchtests/bench-stpncpy-ifunc.c: New file.
13955 * benchtests/bench-stpncpy.c: New file.
13956 * benchtests/bench-strcasecmp-ifunc.c: New file.
13957 * benchtests/bench-strcasecmp.c: New file.
13958 * benchtests/bench-strcasestr-ifunc.c: New file.
13959 * benchtests/bench-strcasestr.c: New file.
13960 * benchtests/bench-strcat-ifunc.c: New file.
13961 * benchtests/bench-strcat.c: New file.
13962 * benchtests/bench-strchr-ifunc.c: New file.
13963 * benchtests/bench-strchr.c: New file.
13964 * benchtests/bench-strchrnul-ifunc.c: New file.
13965 * benchtests/bench-strchrnul.c: New file.
13966 * benchtests/bench-strcmp-ifunc.c: New file.
13967 * benchtests/bench-strcmp.c: New file.
13968 * benchtests/bench-strcpy-ifunc.c: New file.
13969 * benchtests/bench-strcpy.c: New file.
13970 * benchtests/bench-strcspn-ifunc.c: New file.
13971 * benchtests/bench-strcspn.c: New file.
13972 * benchtests/bench-strlen-ifunc.c: New file.
13973 * benchtests/bench-strlen.c: New file.
13974 * benchtests/bench-strncasecmp-ifunc.c: New file.
13975 * benchtests/bench-strncasecmp.c: New file.
13976 * benchtests/bench-strncat-ifunc.c: New file.
13977 * benchtests/bench-strncat.c: New file.
13978 * benchtests/bench-strncmp-ifunc.c: New file.
13979 * benchtests/bench-strncmp.c: New file.
13980 * benchtests/bench-strncpy-ifunc.c: New file.
13981 * benchtests/bench-strncpy.c: New file.
13982 * benchtests/bench-strnlen-ifunc.c: New file.
13983 * benchtests/bench-strnlen.c: New file.
13984 * benchtests/bench-strpbrk-ifunc.c: New file.
13985 * benchtests/bench-strpbrk.c: New file.
13986 * benchtests/bench-strrchr-ifunc.c: New file.
13987 * benchtests/bench-strrchr.c: New file.
13988 * benchtests/bench-strspn-ifunc.c: New file.
13989 * benchtests/bench-strspn.c: New file.
13990 * benchtests/bench-strstr-ifunc.c: New file.
13991 * benchtests/bench-strstr.c: New file.
13992
c1f75dc3
SP
13993 * benchtests/Makefile: Disable parallel execution of targets.
13994 (string-bench): Add memcpy.
13995 (benchset): New variable to store a list of benchmark sets.
13996 (bench-func): Renamed from bench.
13997 (bench-set): New target.
13998 (bench): Depend on bench-func and bench-set.
13999 * benchtests/README: Add section on benchmark sets.
14000 * benchtests/bench-memcpy-ifunc.c: New file.
14001 * benchtests/bench-memcpy.c: New file.
14002 * benchtests/bench-string.h: New file.
14003
50fd745b
AS
140042013-06-11 Andreas Schwab <schwab@suse.de>
14005
14006 [BZ #15577]
14007 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14008 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14009 values in the triple.
14010 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14011 terminator in the group key.
14012
3ee7e9fe
AJ
140132013-06-11 Andreas Jaeger <aj@suse.de>
14014
14015 * po/zh_TW.po: Update Chinese (traditional) translation from
14016 translation project.
14017
89fb6835
SP
140182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14019
14020 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14021 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14022 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14024 (clock_getcpuclockid): Likewise.
14025 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14026 Add weak_alias and libc_hidden_def.
14027 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14028 * rt/clock_gettime.c (clock_gettime): Rename to
14029 __clock_gettime. Add weak_alias and libc_hidden_def.
14030 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14031 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14032 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14033 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14034 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14035 Likewise.
14036 * rt/clock_settime.c (clock_settime): Rename to
14037 __clock_settime. Add weak_alias and libc_hidden_def.
14038 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14039
0efa6f8b
JM
140402013-06-10 Joseph Myers <joseph@codesourcery.com>
14041
b8c61b4b
JM
14042 * mach/err_boot.sub: Remove trailing whitespace.
14043 * mach/err_ipc.sub: Likewise.
14044 * mach/err_mach.sub: Likewise.
14045
0efa6f8b
JM
14046 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14047 (ROUNDING_TESTS_double): Likewise.
14048 (ROUNDING_TESTS_long_double): Likewise.
14049 (ROUNDING_TESTS): Likewise.
14050 * math/libm-test.inc: Include <math-tests.h>.
14051 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14052 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14053 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14054 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14055
50b818bf
SP
140562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14057
14058 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14059 of assigning.
14060
60d2f8f3
JM
140612013-06-08 Joseph Myers <joseph@codesourcery.com>
14062
4902d2c3
JM
14063 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14064 otherwise empty TRANS lines.
14065 * sysdeps/gnu/errlist.c: Regenerated.
14066
60d2f8f3
JM
14067 * catgets/gencat.c (error_print): Use (void) in function
14068 definition.
14069 * crypt/crypt_util.c (__init_des): Likewise.
14070 * crypt/speeds.c (Stop): Likewise.
14071 (main): Likewise.
14072 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14073 * inet/ruserpass.c (token): Likewise.
14074 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14075 * intl/localealias.c (extend_alias_table): Likewise.
14076 * intl/plural-exp.c (init_germanic_plural): Likewise.
14077 * libio/fcloseall.c (__fcloseall): Likewise.
14078 * libio/genops.c (_IO_flush_all): Likewise.
14079 (_IO_flush_all_linebuffered): Likewise.
14080 (_IO_cleanup): Likewise.
14081 (_IO_iter_begin): Likewise.
14082 (_IO_iter_end): Likewise.
14083 (_IO_list_lock): Likewise.
14084 (_IO_list_unlock): Likewise.
14085 (_IO_list_resetlock): Likewise.
14086 * libio/getchar.c (getchar): Likewise.
14087 * libio/getchar_u.c (getchar_unlocked): Likewise.
14088 * libio/getwchar.c (getwchar): Likewise.
14089 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14090 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14091 * login/getpt.c (__getpt): Likewise.
14092 * login/tst-utmp.c (main): Likewise.
14093 * malloc/hooks.c (__malloc_check_init): Likewise.
14094 * malloc/malloc.c (__malloc_stats): Likewise.
14095 * malloc/mtrace.c (tr_break): Likewise.
14096 (mtrace): Likewise.
14097 (muntrace): Likewise.
14098 * misc/fstab.c (endfsent): Likewise.
14099 * misc/getclktck.c (__getclktck): Likewise.
14100 * misc/getdtsz.c (__getdtablesize): Likewise.
14101 * misc/gethostid.c (gethostid): Likewise.
14102 * misc/getpagesize.c (__getpagesize): Likewise.
14103 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14104 (__get_nprocs): Likewise.
14105 (__get_phys_pages): Likewise.
14106 (__get_avphys_pages): Likewise.
14107 * misc/getttyent.c (getttyent): Likewise.
14108 (setttyent): Likewise.
14109 (endttyent): Likewise.
14110 * misc/getusershell.c (getusershell): Likewise.
14111 (endusershell): Likewise.
14112 (setusershell): Likewise.
14113 (initshells): Likewise.
14114 * misc/hsearch.c (__hdestroy): Likewise.
14115 * misc/sync.c (sync): Likewise.
14116 * misc/syslog.c (closelog_internal): Likewise.
14117 (closelog): Likewise.
14118 * misc/ttyslot.c (ttyslot): Likewise.
14119 * misc/vhangup.c (vhangup): Likewise.
14120 * posix/fork.c (__fork): Likewise.
14121 * posix/getegid.c (__getegid): Likewise.
14122 * posix/geteuid.c (__geteuid): Likewise.
14123 * posix/getgid.c (__getgid): Likewise.
14124 * posix/getpid.c (__getpid): Likewise.
14125 * posix/getppid.c (__getppid): Likewise.
14126 * posix/getuid.c (__getuid): Likewise.
14127 * posix/pause.c (pause): Likewise.
14128 * posix/setpgrp.c (setpgrp): Likewise.
14129 * posix/setsid.c (__setsid): Likewise.
14130 * posix/test-vfork.c (noop): Likewise.
14131 * resolv/gethnamaddr.c (_endhtent): Likewise.
14132 (_gethtent): Likewise.
14133 (ht_endhostent): Likewise.
14134 (gethostent): Likewise.
14135 (dns_service): Likewise.
14136 * stdlib/drand48.c (drand48): Likewise.
14137 * stdlib/lrand48.c (lrand48): Likewise.
14138 * stdlib/mrand48.c (mrand48): Likewise.
14139 * stdlib/rand.c (rand): Likewise.
14140 * stdlib/random.c (__random): Likewise.
14141 * stdlib/setenv.c (clearenv): Likewise.
14142 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14143 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14144 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14145 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14146 (__get_nprocs): Likewise.
14147 (__get_phys_pages): Likewise.
14148 (__get_avphys_pages): Likewise.
14149 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14150 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14151 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14152 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14153 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14154 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14155 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14156 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14157 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14158 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14159 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14160 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14161 * sysdeps/posix/clock.c (clock): Likewise.
14162 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14163 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14164 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14165 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14166 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14168 (__get_nprocs_conf): Likewise.
14169 (__get_phys_pages): Likewise.
14170 (__get_avphys_pages): Likewise.
14171 * time/clock.c (clock): Likewise.
14172 * time/tzset.c (__tzname_max): Likewise.
14173
2e09a79a
JM
141742013-06-07 Joseph Myers <joseph@codesourcery.com>
14175
14176 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14177 (__bswap_32): Do not use "register".
14178 * crypt/crypt.c (_ufc_doit_r): Likewise.
14179 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14180 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14181 * gmon/gmon.c (__monstartup): Likewise.
14182 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14183 * hurd/hurdmalloc.c (more_memory): Likewise.
14184 (malloc): Likewise.
14185 (free): Likewise.
14186 (realloc): Likewise.
14187 (malloc_fork_prepare): Likewise.
14188 (malloc_fork_parent): Likewise.
14189 (malloc_fork_child): Likewise.
14190 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14191 (_svcauth_des): Likewise.
14192 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14193 * inet/inet_net.c (inet_network): Likewise.
14194 * inet/inet_netof.c (inet_netof): Likewise.
14195 * inet/rcmd.c (__validuser2_sa): Likewise.
14196 * io/fts.c (fts_open): Likewise.
14197 (fts_load): Likewise.
14198 (fts_close): Likewise.
14199 (fts_read): Likewise.
14200 (fts_children): Likewise.
14201 (fts_build): Likewise.
14202 (fts_stat): Likewise.
14203 (fts_sort): Likewise.
14204 (fts_alloc): Likewise.
14205 (fts_lfree): Likewise.
14206 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14207 (_IO_file_xsgetn): Likewise.
14208 (_IO_file_xsgetn_mmap): Likewise.
14209 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14210 (_IO_cookie_write): Likewise.
14211 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14212 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14213 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14214 * malloc/obstack.c (_obstack_begin): Likewise.
14215 (_obstack_begin_1): Likewise.
14216 (_obstack_newchunk): Likewise.
14217 (_obstack_allocated_p): Likewise.
14218 (obstack_free): Likewise.
14219 (_obstack_memory_used): Likewise.
14220 * misc/getttyent.c (getttynam): Likewise.
14221 (getttyent): Likewise.
14222 (skip): Likewise.
14223 (value): Likewise.
14224 * misc/getusershell.c (initshells): Likewise.
14225 * misc/syslog.c (__vsyslog_chk): Likewise.
14226 * misc/ttyslot.c (ttyslot): Likewise.
14227 * nis/nis_hash.c (__nis_hash): Likewise.
14228 * posix/fnmatch_loop.c (FCT): Likewise.
14229 * posix/getconf.c (print_all): Likewise.
14230 (main): Likewise.
14231 * posix/getopt.c (exchange): Likewise.
14232 * posix/glob.c (globfree): Likewise.
14233 (prefix_array): Likewise.
14234 (__glob_pattern_type): Likewise.
14235 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14236 (NS_GET32): Likewise.
14237 (NS_PUT16): Likewise.
14238 (NS_PUT32): Likewise.
14239 * resolv/gethnamaddr.c (getanswer): Likewise.
14240 (gethostbyname2): Likewise.
14241 (gethostbyaddr): Likewise.
14242 (_gethtent): Likewise.
14243 (_gethtbyname2): Likewise.
14244 (_gethtbyaddr): Likewise.
14245 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14246 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14247 * resolv/res_init.c (__res_vinit): Likewise.
14248 (net_mask): Likewise.
14249 * resolv/res_mkquery.c (outchar): Likewise.
14250 (PRINT): Likewise.
14251 * stdio-common/printf_fp.c (outchar): Likewise.
14252 (PRINT): Likewise.
14253 * stdio-common/printf_fphex.c (outchar): Likewise.
14254 (PRINT): Likewise.
14255 * stdio-common/printf_size.c (outchar): Likewise.
14256 (PRINT): Likewise.
14257 * stdio-common/test_rdwr.c (main): Likewise.
14258 * stdio-common/tfformat.c (matches): Likewise.
14259 * stdio-common/vfprintf.c (outchar): Likewise.
14260 (printf_unknown): Likewise.
14261 (buffered_vfprintf): Likewise.
14262 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14263 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14264 (ReadFile): Likewise.
14265 * stdlib/qsort.c (SWAP): Likewise.
14266 (_quicksort): Likewise.
14267 * stdlib/setenv.c (__add_to_environ): Likewise.
14268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14269 * stdlib/strtol_l.c (__strtol_l): Likewise.
14270 * stdlib/tst-strtod.c (main): Likewise.
14271 * stdlib/tst-strtol.c (main): Likewise.
14272 * stdlib/tst-strtoll.c (main): Likewise.
14273 * string/bits/string2.h (__strcmp_cc): Likewise.
14274 (__strcmp_cg): Likewise.
14275 (__strcspn_c1): Likewise.
14276 (__strcspn_c2): Likewise.
14277 (__strcspn_c3): Likewise.
14278 (__strspn_c1): Likewise.
14279 (__strspn_c2): Likewise.
14280 (__strspn_c3): Likewise.
14281 (__strsep_1c): Likewise.
14282 (__strsep_2c): Likewise.
14283 (__strsep_3c): Likewise.
14284 * string/memccpy.c (__memccpy): Likewise.
14285 * string/stpcpy.c (__stpcpy): Likewise.
14286 * string/strcmp.c (strcmp): Likewise.
14287 * string/strrchr.c (strrchr): Likewise.
14288 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14289 Likewise.
14290 * sysdeps/mach/hurd/getcwd.c
14291 (_hurd_canonicalize_directory_name_internal): Likewise.
14292 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14293 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14294 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14295 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14296 Likewise, in both definitions.
14297 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14298 definitions.
14299 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14300 64] (__bswap_64): Likewise.
14301 * time/test_time.c (main): Likewise.
14302 * time/tzfile.c (__tzfile_read): Likewise.
14303 (__tzfile_compute): Likewise.
14304 * time/tzset.c (__tzset_parse_tz): Likewise.
14305 (tzset_internal): Likewise.
14306 (compute_change): Likewise.
14307 * wcsmbs/wcscat.c (__wcscat): Likewise.
14308 * wcsmbs/wcschr.c (wcschr): Likewise.
14309 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14310 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14311 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14312 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14313 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14314 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14315 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14317 * wcsmbs/wmemset.c (wmemset): Likewise.
14318
9e54314b
JM
143192013-06-06 Joseph Myers <joseph@codesourcery.com>
14320
14321 * scripts/config.guess: Update to version 2013-05-16.
14322 * scripts/config.sub: Update to version 2013-04-24.
14323 * scripts/install-sh: Update to version 2011-11-20.07.
14324 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14325 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14326
350635a5
OB
143272013-06-06 Ondřej Bílka <neleai@seznam.cz>
14328
14329 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14330 * elf/sln.c: Likewise.
14331 * hurd/hurd/ioctl.h: Likewise.
14332 * hurd/hurdmalloc.c: Likewise.
14333 * hurd/xattr.c: Likewise.
14334 * include/shlib-compat.h: Likewise.
14335 * inet/ruserpass.c: Likewise.
14336 * libio/iofgets_u.c: Likewise.
14337 * libio/iofgetws_u.c: Likewise.
14338 * locale/programs/ld-identification.c: Likewise.
14339 * locale/programs/ld-time.c: Likewise.
14340 * mach/msg-destroy.c: Likewise.
14341 * nss/nss_files/files-netgrp.c: Likewise.
14342 * resolv/res_data.c: Likewise.
14343 * soft-fp/op-1.h: Likewise.
14344 * soft-fp/op-2.h: Likewise.
14345 * soft-fp/op-4.h: Likewise.
14346 * soft-fp/op-common.h: Likewise.
14347 * stdio-common/printf_fphex.c: Likewise.
14348 * stdlib/strtod_l.c: Likewise.
14349 * sunrpc/rpc/clnt.h: Likewise.
14350 * sysdeps/generic/framestate.c: Likewise.
14351 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14352 * sysdeps/i386/bsd-setjmp.S: Likewise.
14353 * sysdeps/i386/__longjmp.S: Likewise.
14354 * sysdeps/i386/setjmp.S: Likewise.
14355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14356 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14373 * sysdeps/ieee754/support.c: Likewise.
14374 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14375 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14376 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14377 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14378 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14379 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14380 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14381 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14382 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14383 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14384 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14385 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14386 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14387 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14389 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14390 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14392
44a988af
OB
143932013-06-05 Ondřej Bílka <neleai@seznam.cz>
14394
25506f09 14395 * posix/transbug.c: Remove executable mode.
44a988af 14396
9c84384c
JM
143972013-06-05 Joseph Myers <joseph@codesourcery.com>
14398
14399 * crypt/speeds.c: Remove trailing whitespace.
14400 * dlfcn/default.c: Likewise.
14401 * elf/ifuncdep2.c: Likewise.
14402 * elf/ifuncmain1.c: Likewise.
14403 * elf/ifuncmain1vis.c: Likewise.
14404 * elf/testobj.h: Likewise.
14405 * elf/tst-stackguard1.c: Likewise.
14406 * gmon/sys/gmon.h: Likewise.
14407 * hurd/hurdmsg.c: Likewise.
14408 * hurd/new-fd.c: Likewise.
14409 * hurd/ports-get.c: Likewise.
14410 * iconvdata/ibm1008_420.c: Likewise.
14411 * inet/tst-getni1.c: Likewise.
14412 * inet/tst-getni2.c: Likewise.
14413 * libio/ioungetc.c: Likewise.
14414 * libio/wfiledoalloc.c: Likewise.
14415 * manual/libm-err-tab.pl: Likewise.
14416 * math/w_dremf.c: Likewise.
14417 * misc/ftruncate.c: Likewise.
14418 * posix/bug-glob2.c: Likewise.
14419 * posix/tst-pcre.c: Likewise.
14420 * posix/wait4.c: Likewise.
14421 * resolv/README: Likewise.
14422 * resolv/res_debug.h: Likewise.
14423 * resolv/tst-inet_ntop.c: Likewise.
14424 * setjmp/bug269-setjmp.c: Likewise.
14425 * soft-fp/extended.h: Likewise.
14426 * soft-fp/op-1.h: Likewise.
14427 * soft-fp/op-2.h: Likewise.
14428 * soft-fp/op-4.h: Likewise.
14429 * soft-fp/op-8.h: Likewise.
14430 * soft-fp/testit.c: Likewise.
14431 * stdio-common/bug16.c: Likewise.
14432 * stdlib/random.c: Likewise.
14433 * sunrpc/rpcsvc/rquota.x: Likewise.
14434 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14439 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14440 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14442 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14463 * sysdeps/ieee754/s_lib_version.c: Likewise.
14464 * sysdeps/mach/hurd/check_fds.c: Likewise.
14465 * sysdeps/mach/hurd/getsockname.c: Likewise.
14466 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14467 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14468 * sysdeps/powerpc/bits/link.h: Likewise.
14469 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14470 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14471 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14472 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14473 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14474 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14475 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14476 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14477 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14478 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14479 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14481 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14482 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14494 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14499 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14504 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14505 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14506 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14507 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14508 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14509 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14514 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14515 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14521 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14522 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14524 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14525 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14528 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14529 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14531 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14533 * sysdeps/powerpc/sysdep.h: Likewise.
14534 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14535 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14536 * sysdeps/sh/dl-trampoline.S: Likewise.
14537 * sysdeps/sh/memset.S: Likewise.
14538 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14539 * sysdeps/sh/strlen.S: Likewise.
14540 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14541 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14542 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14543 * sysdeps/sparc/sparc32/rem.S: Likewise.
14544 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14545 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14546 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14547 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14548 * sysdeps/sparc/sparc32/urem.S: Likewise.
14549 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14551 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14552 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14553 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14554 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14555 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14556 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14557 * sysdeps/unix/bsd/times.c: Likewise.
14558 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14559 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14572 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14576 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14577 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14578 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14579 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14580 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14581 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14584 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14585 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14586 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14587 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14588 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14589 * sysdeps/x86_64/strcspn.S: Likewise.
14590
869378a5
RA
145912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14592
14593 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14594 generated file. Regenerate properly from gen-translit.pl.
14595 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14596 locale/C-translit.h.
14597
840e2943
AS
145982013-06-05 Andreas Schwab <schwab@suse.de>
14599
14600 [BZ #15100]
14601 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14602 week as 6 instead of -1.
14603 * time/tst-strptime.c (day_tests): Add test case.
14604
4c60cb0c
SP
146052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14606
14607 * sysdeps/generic/math_private.h
14608 (libc_feholdexcept_setround_53bit): Replace with
14609 libc_feholdsetround_53bit.
14610 (libc_feupdateenv_53bit): Replace with
14611 libc_feresetround_53bit.
14612 (SET_RESTORE_ROUND_53BIT): Adjust.
14613
d180203e
SP
146142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14615
96df079a
SP
14616 * string/test-strchrnul.c: Add copyright header.
14617
d180203e
SP
14618 * posix/tst-getaddrinfo4.c: Increase test timeout.
14619
8b0ccb2d
CD
146202013-06-03 Carlos O'Donell <carlos@redhat.com>
14621
14622 [BZ #15536]
14623 * math/libm-test.inc (MAX_EXP): Remove
14624 (MIN_EXP): Define.
14625 (ulp): Use MIN_EXP - MANT_DIG.
14626 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14627
3b3c4d40
CD
146282013-05-31 Carlos O'Donell <carlos@redhat.com>
14629
14630 * po/be.po: Revert last change.
14631 * po/zh_CN.po: Likewise.
14632 * po/header.pot: Likewise.
14633
fab7ce3f
JM
146342013-05-31 Joseph Myers <joseph@codesourcery.com>
14635
14636 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14637 link-libc-deps to empty as target-specific variable.
14638 * Makerules (link-libc-args): New variable.
14639 (libc-for-link): Likewise.
14640 (link-libc-deps): Likewise.
14641 (lib%.so): Depend on $(link-libc-deps). Link with
14642 $(link-libc-args).
14643 (build-module): Link with $(link-libc-args).
14644 (build-module-asneeded): Likewise.
14645 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14646 list of objects.
14647 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14648 target-specific variable.
14649 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14650 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14651 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14652 libc.
14653 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14654 libc and ld.so.
14655 ($(objpfx)libpcprofile.so): Likewise.
14656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14657 libc_nonshared.a.
14658 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14659 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14660 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14661 $(link-libc-deps).
14662 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14663 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14664 * login/Makefile ($(objpfx)libutil.so): Likewise.
14665 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14666 * math/Makefile ($(objpfx)libm.so): Likewise.
14667 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14668 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14669 variable instead of depending directly on libc.
14670 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14671 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14672 $(link-libc-deps).
14673 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14674 libc.
14675 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14676 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14677 ($(objpfx)libanl.so): Likewise.
14678 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14679 ld.so.
14680 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14681 $(link-libc-deps).
14682 * sysdeps/i386/fpu/Makefile: Remove file.
14683 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14684 ($(objpfx)libm.so): Remove dependency on ld.so.
14685
eca5920c
PF
146862013-05-30 Patsy Franklin <pfrankli@redhat.com>
14687
14688 [BZ # 15553]
14689 * nis/yp_xdr.c (XDRMAXNAME): Define.
14690 (XDRMAXRECORD): Define.
14691 (xdr_domainname): Use XDRMAXNAME.
14692 (xdr_mapname): Likewise.
14693 (xdr_peername): Likewise.
14694 (xdr_keydat): Use XDRMAXRECORD.
14695 (xdr_valdat): Likewise.
14696
146972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14698
14699 [BZ #14256]
14700 * manual/errno.texi (ESTALE): Update to account for more than
14701 just NFS file systems.
14702 * sysdeps/gnu/errlist.c: Regenerated.
14703
b9375348
SP
147042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14705
14706 [BZ #15465]
14707 * elf/Makefile (tests): Add tst-null-argv.
14708 (modules-names): Add tst-null-argv-lib.
14709 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14710 (tst-null-argv-ENV): Set environment for tst-null-argv.
14711 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14712 (RTLD_PROGNAME): New macro.
14713 * elf/tst-null-argv.c: New test case.
14714 * elf/tst-null-argv-lib.c: Library for test case.
14715 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14716 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14717 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14718 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14719 * elf/dl-init.c (call_init): Likewise.
14720 (_dl_init): Likewise.
14721 * elf/dl-load.c (print_search_path): Likewise.
14722 (_dl_map_object): Likewise.
14723 * elf/dl-lookup.c (do_lookup_x): Likewise.
14724 (add_dependency): Likewise.
14725 (_dl_lookup_symbol_x): Likewise.
14726 (_dl_debug_bindings): Likewise.
14727 * elf/dl-open.c (_dl_show_scope): Likewise.
14728 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14729 * elf/dl-version.c (match_symbol): Likewise.
14730 (_dl_check_map_versions): Likewise.
14731 * elf/rtld.c (dl_main): Likewise.
14732 (print_unresolved): Use RTLD_PROGNAME.
14733 (print_missing_version): Likewise.
14734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14735 (elf_machine_rela): Likewise.
14736 * sysdeps/powerpc/powerpc32/dl-machine.c
14737 (__process_machine_rela): Likewise.
14738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14739 Likewise.
14740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14741 Likewise.
14742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14743 Likewise.
14744 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14746 Likewise.
14747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14748 Likewise.
14749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14750
8a9f20c8
CD
147512013-05-28 Carlos O'Donell <carlos@redhat.com>
14752
14753 * po/be.po: Add descriptive title.
14754 * po/zh_CN.po: Likewise.
14755 * po/header.pot: Likewise.
14756
0e60d68e
MF
147572013-05-28 Mike Frysinger <vapier@gentoo.org>
14758
14759 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14760 error message.
14761 (enlarge_archive): Likewise.
14762
56b672e9
BN
147632013-05-28 Ben North <ben@redfrontdoor.org>
14764
14765 * manual/arith.texi (frexp): It is the magnitude of the return
14766 value which lies in [0.5, 1), not the return value itself.
14767
5e056687
AZ
147682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14769
14770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14771
2b66ef5d
TS
147722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14773
528c2405
TS
14774 * stdio-common/bug26.c (main): Correct fscanf template.
14775
07b4c13d
TS
14776 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14777 declare _dl_skip_args.
14778
ec9dd97c
TS
14779 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14780 Don't declare.
14781
2b66ef5d
TS
14782 * manual/platform.texi: Add missing @end deftypefun.
14783
4f8dfe27
JM
147842013-05-24 Joseph Myers <joseph@codesourcery.com>
14785
0323d086
JM
14786 [BZ #15529]
14787 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14788 bit of mantissa of 2^16382.
14789 * math/libm-test.inc (hypot_test_data): Add more tests.
14790
dd4259b9
JM
14791 * math/libm-test.inc: Add drem and pow10 to list of tested
14792 functions.
14793 (pow10_test): New function.
14794 (drem_test): Likewise.
14795 (drem_test_tonearest): Likewise.
14796 (drem_test_towardzero): Likewise.
14797 (drem_test_downward): Likewise.
14798 (drem_test_upward): Likewise.
14799 (main): Call the new functions.
14800
4f8dfe27
JM
14801 * math/libm-test.inc (finite_test_data): Remove.
14802 (finite_test): Run tests from isfinite_test_data.
14803 (gamma_test_data): Remove.
14804 (gamma_test): Run tests from lgamma_test_data.
14805 * sysdeps/i386/fpu/libm-test-ulps: Update.
14806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14807
d116b7c4
AZ
148082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809
14810 * manual/platform.texi: Add PowerPC PPR function set documentation.
14811 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14812 implementation.
14813
e96e3767
CD
148142013-05-24 Carlos O'Donell <carlos@redhat.com>
14815
14816 * math/libm-test.inc (MAX_EXP): Define.
14817 (ULPDIFF): Define.
14818 (ulp): New function.
14819 (check_float_internal): Use ULPDIFF.
14820 (cpow_test): Disable failing test.
14821 (check_ulp): Test ulp() implemetnation.
14822 (main): Call check_ulp before starting tests.
14823
b679a606
JM
148242013-05-24 Joseph Myers <joseph@codesourcery.com>
14825
e8bdba36
JM
14826 * math/gen-libm-test.pl (generate_testfile): Do not handle
14827 START_DATA and END_DATA.
14828 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14829 END_DATA.
14830 (acos_tonearest_test_data): Likewise.
14831 (acos_towardzero_test_data): Likewise.
14832 (acos_downward_test_data): Likewise.
14833 (acos_upward_test_data): Likewise.
14834 (acosh_test_data): Likewise.
14835 (asin_test_data): Likewise.
14836 (asin_tonearest_test_data): Likewise.
14837 (asin_towardzero_test_data): Likewise.
14838 (asin_downward_test_data): Likewise.
14839 (asin_upward_test_data): Likewise.
14840 (asinh_test_data): Likewise.
14841 (atan_test_data): Likewise.
14842 (atanh_test_data): Likewise.
14843 (atan2_test_data): Likewise.
14844 (cabs_test_data): Likewise.
14845 (cacos_test_data): Likewise.
14846 (cacosh_test_data): Likewise.
14847 (carg_test_data): Likewise.
14848 (casin_test_data): Likewise.
14849 (casinh_test_data): Likewise.
14850 (catan_test_data): Likewise.
14851 (catanh_test_data): Likewise.
14852 (cbrt_test_data): Likewise.
14853 (ccos_test_data): Likewise.
14854 (ccosh_test_data): Likewise.
14855 (ceil_test_data): Likewise.
14856 (cexp_test_data): Likewise.
14857 (cimag_test_data): Likewise.
14858 (clog_test_data): Likewise.
14859 (clog10_test_data): Likewise.
14860 (conj_test_data): Likewise.
14861 (copysign_test_data): Likewise.
14862 (cos_test_data): Likewise.
14863 (cos_tonearest_test_data): Likewise.
14864 (cos_towardzero_test_data): Likewise.
14865 (cos_downward_test_data): Likewise.
14866 (cos_upward_test_data): Likewise.
14867 (cosh_test_data): Likewise.
14868 (cosh_tonearest_test_data): Likewise.
14869 (cosh_towardzero_test_data): Likewise.
14870 (cosh_downward_test_data): Likewise.
14871 (cosh_upward_test_data): Likewise.
14872 (cpow_test_data): Likewise.
14873 (cproj_test_data): Likewise.
14874 (creal_test_data): Likewise.
14875 (csin_test_data): Likewise.
14876 (csinh_test_data): Likewise.
14877 (csqrt_test_data): Likewise.
14878 (ctan_test_data): Likewise.
14879 (ctan_tonearest_test_data): Likewise.
14880 (ctan_towardzero_test_data): Likewise.
14881 (ctan_downward_test_data): Likewise.
14882 (ctan_upward_test_data): Likewise.
14883 (ctanh_test_data): Likewise.
14884 (ctanh_tonearest_test_data): Likewise.
14885 (ctanh_towardzero_test_data): Likewise.
14886 (ctanh_downward_test_data): Likewise.
14887 (ctanh_upward_test_data): Likewise.
14888 (erf_test_data): Likewise.
14889 (erfc_test_data): Likewise.
14890 (exp_test_data): Likewise.
14891 (exp_tonearest_test_data): Likewise.
14892 (exp_towardzero_test_data): Likewise.
14893 (exp_downward_test_data): Likewise.
14894 (exp_upward_test_data): Likewise.
14895 (exp10_test_data): Likewise.
14896 (exp2_test_data): Likewise.
14897 (expm1_test_data): Likewise.
14898 (fabs_test_data): Likewise.
14899 (fdim_test_data): Likewise.
14900 (finite_test_data): Likewise.
14901 (floor_test_data): Likewise.
14902 (fma_test_data): Likewise.
14903 (fma_towardzero_test_data): Likewise.
14904 (fma_downward_test_data): Likewise.
14905 (fma_upward_test_data): Likewise.
14906 (fmax_test_data): Likewise.
14907 (fmin_test_data): Likewise.
14908 (fmod_test_data): Likewise.
14909 (fpclassify_test_data): Likewise.
14910 (frexp_test_data): Likewise.
14911 (gamma_test_data): Likewise.
14912 (hypot_test_data): Likewise.
14913 (ilogb_test_data): Likewise.
14914 (isfinite_test_data): Likewise.
14915 (isgreater_test_data): Likewise.
14916 (isgreaterequal_test_data): Likewise.
14917 (isinf_test_data): Likewise.
14918 (isless_test_data): Likewise.
14919 (islessequal_test_data): Likewise.
14920 (islessgreater_test_data): Likewise.
14921 (isnan_test_data): Likewise.
14922 (isnormal_test_data): Likewise.
14923 (issignaling_test_data): Likewise.
14924 (isunordered_test_data): Likewise.
14925 (j0_test_data): Likewise.
14926 (j1_test_data): Likewise.
14927 (jn_test_data): Likewise.
14928 (ldexp_test_data): Likewise.
14929 (lgamma_test_data): Likewise.
14930 (lrint_test_data): Likewise.
14931 (lrint_tonearest_test_data): Likewise.
14932 (lrint_towardzero_test_data): Likewise.
14933 (lrint_downward_test_data): Likewise.
14934 (lrint_upward_test_data): Likewise.
14935 (llrint_test_data): Likewise.
14936 (llrint_tonearest_test_data): Likewise.
14937 (llrint_towardzero_test_data): Likewise.
14938 (llrint_downward_test_data): Likewise.
14939 (llrint_upward_test_data): Likewise.
14940 (log_test_data): Likewise.
14941 (log10_test_data): Likewise.
14942 (log1p_test_data): Likewise.
14943 (log2_test_data): Likewise.
14944 (logb_test_data): Likewise.
14945 (logb_downward_test_data): Likewise.
14946 (lround_test_data): Likewise.
14947 (llround_test_data): Likewise.
14948 (modf_test_data): Likewise.
14949 (nearbyint_test_data): Likewise.
14950 (nextafter_test_data): Likewise.
14951 (nexttoward_test_data): Likewise.
14952 (pow_test_data): Likewise.
14953 (pow_tonearest_test_data): Likewise.
14954 (pow_towardzero_test_data): Likewise.
14955 (pow_downward_test_data): Likewise.
14956 (pow_upward_test_data): Likewise.
14957 (remainder_test_data): Likewise.
14958 (remainder_tonearest_test_data): Likewise.
14959 (remainder_towardzero_test_data): Likewise.
14960 (remainder_downward_test_data): Likewise.
14961 (remainder_upward_test_data): Likewise.
14962 (remquo_test_data): Likewise.
14963 (rint_test_data): Likewise.
14964 (rint_tonearest_test_data): Likewise.
14965 (rint_towardzero_test_data): Likewise.
14966 (rint_downward_test_data): Likewise.
14967 (rint_upward_test_data): Likewise.
14968 (round_test_data): Likewise.
14969 (scalb_test_data): Likewise.
14970 (scalbn_test_data): Likewise.
14971 (scalbln_test_data): Likewise.
14972 (signbit_test_data): Likewise.
14973 (sin_test_data): Likewise.
14974 (sin_tonearest_test_data): Likewise.
14975 (sin_towardzero_test_data): Likewise.
14976 (sin_downward_test_data): Likewise.
14977 (sin_upward_test_data): Likewise.
14978 (sincos_test_data): Likewise.
14979 (sinh_test_data): Likewise.
14980 (sinh_tonearest_test_data): Likewise.
14981 (sinh_towardzero_test_data): Likewise.
14982 (sinh_downward_test_data): Likewise.
14983 (sinh_upward_test_data): Likewise.
14984 (sqrt_test_data): Likewise.
14985 (tan_test_data): Likewise.
14986 (tan_tonearest_test_data): Likewise.
14987 (tan_towardzero_test_data): Likewise.
14988 (tan_downward_test_data): Likewise.
14989 (tan_upward_test_data): Likewise.
14990 (tanh_test_data): Likewise.
14991 (tgamma_test_data): Likewise.
14992 (trunc_test_data): Likewise.
14993 (y0_test_data): Likewise.
14994 (y1_test_data): Likewise.
14995 (yn_test_data): Likewise.
14996 (significand_test_data): Likewise.
14997
b679a606
JM
14998 * math/gen-libm-test.pl (@functions): Remove variable.
14999 (generate_testfile): Don't handle START and END lines.
15000 * math/libm-test.inc (START): New macro.
15001 (END): Likewise.
15002 (END_COMPLEX): Likewise.
15003 (acos_test): Use END macro without arguments.
15004 (acos_test_tonearest): Likewise.
15005 (acos_test_towardzero): Likewise.
15006 (acos_test_downward): Likewise.
15007 (acos_test_upward): Likewise.
15008 (acosh_test): Likewise.
15009 (asin_test): Likewise.
15010 (asin_test_tonearest): Likewise.
15011 (asin_test_towardzero): Likewise.
15012 (asin_test_downward): Likewise.
15013 (asin_test_upward): Likewise.
15014 (asinh_test): Likewise.
15015 (atan_test): Likewise.
15016 (atanh_test): Likewise.
15017 (atan2_test): Likewise.
15018 (cabs_test): Likewise.
15019 (cacos_test): Use END_COMPLEX macro without arguments.
15020 (cacosh_test): Likewise.
15021 (carg_test): Use END macro without arguments.
15022 (casin_test): Use END_COMPLEX macro without arguments.
15023 (casinh_test): Likewise.
15024 (catan_test): Likewise.
15025 (catanh_test): Likewise.
15026 (cbrt_test): Use END macro without arguments.
15027 (ccos_test): Use END_COMPLEX macro without arguments.
15028 (ccosh_test): Likewise.
15029 (ceil_test): Use END macro without arguments.
15030 (cexp_test): Use END_COMPLEX macro without arguments.
15031 (cimag_test): Use END macro without arguments.
15032 (clog_test): Use END_COMPLEX macro without arguments.
15033 (clog10_test): Likewise.
15034 (conj_test): Likewise.
15035 (copysign_test): Use END macro without arguments.
15036 (cos_test): Likewise.
15037 (cos_test_tonearest): Likewise.
15038 (cos_test_towardzero): Likewise.
15039 (cos_test_downward): Likewise.
15040 (cos_test_upward): Likewise.
15041 (cosh_test): Likewise.
15042 (cosh_test_tonearest): Likewise.
15043 (cosh_test_towardzero): Likewise.
15044 (cosh_test_downward): Likewise.
15045 (cosh_test_upward): Likewise.
15046 (cpow_test): Use END_COMPLEX macro without arguments.
15047 (cproj_test): Likewise.
15048 (creal_test): Use END macro without arguments.
15049 (csin_test): Use END_COMPLEX macro without arguments.
15050 (csinh_test): Likewise.
15051 (csqrt_test): Likewise.
15052 (ctan_test): Likewise.
15053 (ctan_test_tonearest): Likewise.
15054 (ctan_test_towardzero): Likewise.
15055 (ctan_test_downward): Likewise.
15056 (ctan_test_upward): Likewise.
15057 (ctanh_test): Likewise.
15058 (ctanh_test_tonearest): Likewise.
15059 (ctanh_test_towardzero): Likewise.
15060 (ctanh_test_downward): Likewise.
15061 (ctanh_test_upward): Likewise.
15062 (erf_test): Use END macro without arguments.
15063 (erfc_test): Likewise.
15064 (exp_test): Likewise.
15065 (exp_test_tonearest): Likewise.
15066 (exp_test_towardzero): Likewise.
15067 (exp_test_downward): Likewise.
15068 (exp_test_upward): Likewise.
15069 (exp10_test): Likewise.
15070 (exp2_test): Likewise.
15071 (expm1_test): Likewise.
15072 (fabs_test): Likewise.
15073 (fdim_test): Likewise.
15074 (finite_test): Likewise.
15075 (floor_test): Likewise.
15076 (fma_test): Likewise.
15077 (fma_test_towardzero): Likewise.
15078 (fma_test_downward): Likewise.
15079 (fma_test_upward): Likewise.
15080 (fmax_test): Likewise.
15081 (fmin_test): Likewise.
15082 (fmod_test): Likewise.
15083 (fpclassify_test): Likewise.
15084 (frexp_test): Likewise.
15085 (gamma_test): Likewise.
15086 (hypot_test): Likewise.
15087 (ilogb_test): Likewise.
15088 (isfinite_test): Likewise.
15089 (isgreater_test): Likewise.
15090 (isgreaterequal_test): Likewise.
15091 (isinf_test): Likewise.
15092 (isless_test): Likewise.
15093 (islessequal_test): Likewise.
15094 (islessgreater_test): Likewise.
15095 (isnan_test): Likewise.
15096 (isnormal_test): Likewise.
15097 (issignaling_test): Likewise.
15098 (isunordered_test): Likewise.
15099 (j0_test): Likewise.
15100 (j1_test): Likewise.
15101 (jn_test): Likewise.
15102 (ldexp_test): Likewise.
15103 (lgamma_test): Likewise.
15104 (lrint_test): Likewise.
15105 (lrint_test_tonearest): Likewise.
15106 (lrint_test_towardzero): Likewise.
15107 (lrint_test_downward): Likewise.
15108 (lrint_test_upward): Likewise.
15109 (llrint_test): Likewise.
15110 (llrint_test_tonearest): Likewise.
15111 (llrint_test_towardzero): Likewise.
15112 (llrint_test_downward): Likewise.
15113 (llrint_test_upward): Likewise.
15114 (log_test): Likewise.
15115 (log10_test): Likewise.
15116 (log1p_test): Likewise.
15117 (log2_test): Likewise.
15118 (logb_test): Likewise.
15119 (logb_test_downward): Likewise.
15120 (lround_test): Likewise.
15121 (llround_test): Likewise.
15122 (modf_test): Likewise.
15123 (nearbyint_test): Likewise.
15124 (nextafter_test): Likewise.
15125 (nexttoward_test): Likewise.
15126 (pow_test): Likewise.
15127 (pow_test_tonearest): Likewise.
15128 (pow_test_towardzero): Likewise.
15129 (pow_test_downward): Likewise.
15130 (pow_test_upward): Likewise.
15131 (remainder_test): Likewise.
15132 (remainder_test_tonearest): Likewise.
15133 (remainder_test_towardzero): Likewise.
15134 (remainder_test_downward): Likewise.
15135 (remainder_test_upward): Likewise.
15136 (remquo_test): Likewise.
15137 (rint_test): Likewise.
15138 (rint_test_tonearest): Likewise.
15139 (rint_test_towardzero): Likewise.
15140 (rint_test_downward): Likewise.
15141 (rint_test_upward): Likewise.
15142 (round_test): Likewise.
15143 (scalb_test): Likewise.
15144 (scalbn_test): Likewise.
15145 (scalbln_test): Likewise.
15146 (signbit_test): Likewise.
15147 (sin_test): Likewise.
15148 (sin_test_tonearest): Likewise.
15149 (sin_test_towardzero): Likewise.
15150 (sin_test_downward): Likewise.
15151 (sin_test_upward): Likewise.
15152 (sincos_test): Likewise.
15153 (sinh_test): Likewise.
15154 (sinh_test_tonearest): Likewise.
15155 (sinh_test_towardzero): Likewise.
15156 (sinh_test_downward): Likewise.
15157 (sinh_test_upward): Likewise.
15158 (sqrt_test): Likewise.
15159 (tan_test): Likewise.
15160 (tan_test_tonearest): Likewise.
15161 (tan_test_towardzero): Likewise.
15162 (tan_test_downward): Likewise.
15163 (tan_test_upward): Likewise.
15164 (tanh_test): Likewise.
15165 (tgamma_test): Likewise.
15166 (trunc_test): Likewise.
15167 (y0_test): Likewise.
15168 (y1_test): Likewise.
15169 (yn_test): Likewise.
15170 (significand_test): Likewise.
15171
bae143d2
OB
151722013-05-24 Ondřej Bílka <neleai@seznam.cz>
15173
15174 [BZ #15381]
15175 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15176
9323d39b
EM
151772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15178
d4ea44a0 15179 [BZ #14894]
9323d39b
EM
15180 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15181 __ppc_mdoio and __ppc_mdoom.
15182 * manual/platform.texi: Document new functions __ppc_yield,
15183 __ppc_mdoio and __ppc_mdoom.
15184
13e23af7
CD
151852013-05-22 Carlos O'Donell <carlos@redhat.com>
15186
15187 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15188 (main): Mention "tls" pseudo-hwcap is legacy.
15189 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15190
351fe550
JM
151912013-05-22 Joseph Myers <joseph@codesourcery.com>
15192
15193 * math/gen-libm-test.pl (parse_args): Output only string of
15194 arguments as text for test name, not full call or descriptions of
15195 tests for extra outputs.
15196 (generate_testfile): Do not pass function name to parse_args.
15197 Generate this_func variable from START.
15198 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15199 field to arg_str.
15200 (struct test_ff_f_data): Likewise.
15201 (test_ff_f_data_nexttoward): Likewise.
15202 (struct test_fi_f_data): Likewise.
15203 (struct test_fl_f_data): Likewise.
15204 (struct test_if_f_data): Likewise.
15205 (struct test_fff_f_data): Likewise.
15206 (struct test_c_f_data): Likewise.
15207 (struct test_f_f1_data): Likewise. Remove field extra_name.
15208 (struct test_fF_f1_data): Likewise.
15209 (struct test_ffI_f1_data): Likewise.
15210 (struct test_c_c_data): Rename test_name field to arg_str.
15211 (struct test_cc_c_data): Likewise.
15212 (struct test_f_i_data): Likewise.
15213 (struct test_ff_i_data): Likewise.
15214 (struct test_f_l_data): Likewise.
15215 (struct test_f_L_data): Likewise.
15216 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15217 and extra2_name.
15218 (COMMON_TEST_SETUP): New macro.
15219 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15220 (COMMON_TEST_CLEANUP): Likewise.
15221 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15222 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15223 macros.
15224 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15225 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15226 macros.
15227 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15228 (RUN_TEST_fff_f): Take argument string. Call new setup and
15229 cleanup macros.
15230 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15231 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15232 macros.
15233 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15234 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15235 macros.
15236 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15237 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15238 cleanup macros.
15239 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15240 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15241 cleanup macros.
15242 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15243 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15244 cleanup macros.
15245 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15246 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15247 macros.
15248 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15249 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15250 macros.
15251 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15252 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15253 macros.
15254 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15255 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15256 cleanup macros.
15257 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15258 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15259 cleanup macros.
15260 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15261 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15262 macros.
15263 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15264 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15265 cleanup macros.
15266 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15267 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15268 macros.
15269 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15270 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15271 macros.
15272 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15273 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15274 cleanup macros.
15275 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15276
85118d4d
EBM
152772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15278
15279 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15280 to _sifields.sigfault.
15281 (si_addr_lsb): Define new macro.
15282 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15285
7a44c18f
CD
152862013-05-03 Carlos O'Donell <carlos at redhat.com>
15287
15288 [BZ #15441]
15289 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15290 returns -1.
15291 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15292 null return -1.
15293 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15294 loading the domain.
15295
b50a7181
JM
152962013-05-22 Joseph Myers <joseph@codesourcery.com>
15297
15298 * math/gen-libm-test.pl (parse_args): Do not include expected
15299 result in test name.
15300 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15301 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15302 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15303 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15304 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306
051063c8
SP
153072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
3ce9e010
SP
15309 * benchtests/Makefile: Sort function entries.
15310
051063c8
SP
15311 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15312 tanh, asinh, acosh, atanh.
15313 * benchtests/acos-inputs: New file.
15314 * benchtests/acosh-inputs: New file.
15315 * benchtests/asin-inputs: New file.
15316 * benchtests/asinh-inputs: New file.
15317 * benchtests/atanh-inputs: New file.
15318 * benchtests/cosh-inputs: New file.
15319 * benchtests/log-inputs: New file.
15320 * benchtests/sinh-inputs: New file.
15321 * benchtests/tanh-inputs: New file.
15322
47c22455
DL
153232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15324
15325 [BZ #15339]
15326 * posix/tst-getaddrinfo4.c: New test.
15327 * posix/Makefile (tests): Add it.
15328
3d04f5db
SP
153292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15330
15331 [BZ #15339]
15332 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15333 when no services were used.
15334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15335 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15336
d5dd6189
AS
153372013-05-21 Andreas Schwab <schwab@suse.de>
15338
15339 [BZ #15014]
15340 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15341 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15342 successful.
15343 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15344 redundant variable declarations and reallocation of buffer when
15345 parsing as IPv6 address. Always set NSS status when called from
15346 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15347 buffer too small. Correct computation of needed size.
15348 * nss/Makefile (tests): Add test-digits-dots.
15349 * nss/test-digits-dots.c: New test.
15350
fef94eab
SP
153512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 * benchtests/Makefile: Remove instructions for adding
15354 benchmark tests.
15355 * benchtests/README: New file to explain how to execute and
15356 enhance the benchmark tests.
15357
e39adf43
AS
153582013-05-21 Andreas Schwab <schwab@suse.de>
15359
15360 [BZ #15493]
15361 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15362 * setjmp/tst-sigsetjmp.c: New test.
15363
b2b671b6
OB
153642013-05-20 Ondřej Bílka <neleai@seznam.cz>
15365
15366 * sysdeps/x86_64/memset.S (memset): New implementation.
15367 (__bzero): Likewise.
15368 (__memset_tail): New function.
15369
2d48b41c
OB
153702013-05-20 Ondřej Bílka <neleai@seznam.cz>
15371
15372 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15373 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15374 __memcpy_sse2_unaligned ifunc selection.
15375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15376 Add memcpy-sse2-unaligned.S.
15377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15378 Add: __memcpy_sse2_unaligned.
15379
f16cc3eb
JM
153802013-05-19 Joseph Myers <joseph@codesourcery.com>
15381
3e694268
JM
15382 [BZ #15490]
15383 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15384 math_force_eval before restoring floating-point envrionment.
15385 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15387 Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15389 <math_private.h>.
15390 (__nearbyintl): Use math_force_eval before restoring
15391 floating-point environment.
15392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15393
db62a907
JM
15394 * math/gen-libm-test.pl (special_functions): Remove.
15395 (parse_args): Don't handle TEST_extra. Handle functions with no
15396 return value.
15397 * math/libm-test.inc (struct test_sincos_data): Replace with
15398 struct test_fFF_11_data.
15399 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15400 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15401 (sincos_test_data): Change element type to struct
15402 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15403 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15404 RUN_TEST_LOOP_sincos.
15405 * math/README.libm-test: Don't mention special handling of
15406 individual functions.
15407 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15411 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15413
f16cc3eb
JM
15414 * math/gen-libm-test.pl (get_variable): Remove function.
15415 (parse_args): Don't show pointer parameters to call in test
15416 names. Use "extra output N" in test names for extra outputs
15417 rather than naming variables.
15418
3779b5b6
JM
154192013-05-18 Joseph Myers <joseph@codesourcery.com>
15420
2ee094ff
JM
15421 [BZ #15488]
15422 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15423 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15424 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15425 double tests.
15426 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15427 disable.
15428 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15429 check_long_double.
15430
3779b5b6
JM
15431 * math/gen-libm-test.pl (@tests): Remove variable.
15432 ($count): Likewise.
15433 (new_test): Remove function.
15434 (show_exceptions): New function.
15435 (special_functions): Use show_exceptions instead of new_test.
15436 (parse_args): Likewise.
15437 (generate_testfile): Pass only function name in generated call to
15438 print_max_error or print_complex_max_error.
15439 (get_ulps): Do not handle complex tests specially.
15440 (output_test): Rename to ...
15441 (get_all_ulps_for_test): ... this. Return a string rather than
15442 printing to a file. Require ulps to be present.
15443 (output_ulps): Generate arrays rather than #defines.
15444 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15445 (struct ulp_data): New type.
15446 (BUILD_COMPLEX_ULP): Remove macro.
15447 (compare_ulp_data): New function.
15448 (find_ulps): Likewise.
15449 (find_test_ulps): Likewise.
15450 (find_function_ulps): Likewise.
15451 (find_complex_function_ulps): Likewise.
15452 (print_max_error): Determine allowed ulps using
15453 find_function_ulps.
15454 (print_complex_max_error): Determine allowed ulps using
15455 find_complex_function_ulps.
15456 (check_float_internal): Determine max ulps using find_test_ulps.
15457 (check_float): Do not take max_ulp parameter. Update call to
15458 check_float_internal.
15459 (check_complex): Likewise.
15460 (check_int): Do not take max_ulp parameter.
15461 (check_long): Likewise.
15462 (check_bool): Likewise.
15463 (check_longlong): Likewise.
15464 (struct test_f_f_data): Remove max_ulp field.
15465 (struct test_ff_f_data): Likewise.
15466 (struct test_ff_f_data_nexttoward): Likewise.
15467 (struct test_fi_f_data): Likewise.
15468 (struct test_fl_f_data): Likewise.
15469 (struct test_if_f_data): Likewise.
15470 (struct test_fff_f_data): Likewise.
15471 (struct test_c_f_data): Likewise.
15472 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15473 (struct test_fF_f1_data): Likewise.
15474 (struct test_ffI_f1_data): Likewise.
15475 (struct test_c_c_data): Remove max_ulp field.
15476 (struct test_cc_c_data): Likewise.
15477 (struct test_f_i_data): Likewise.
15478 (struct test_ff_i_data): Likewise.
15479 (struct test_f_l_data): Likewise.
15480 (struct test_f_L_data): Likewise.
15481 (struct test_sincos_data): Likewise.
15482 (RUN_TEST_f_f): Do not handle ulps.
15483 (RUN_TEST_LOOP_f_f): Likewise.
15484 (RUN_TEST_2_f): Likewise.
15485 (RUN_TEST_LOOP_2_f): Likewise.
15486 (RUN_TEST_fff_f): Likewise.
15487 (RUN_TEST_LOOP_fff_f): Likewise.
15488 (RUN_TEST_c_f): Likewise.
15489 (RUN_TEST_LOOP_c_f): Likewise.
15490 (RUN_TEST_f_f1): Likewise.
15491 (RUN_TEST_LOOP_f_f1): Likewise.
15492 (RUN_TEST_fF_f1): Likewise.
15493 (RUN_TEST_LOOP_fF_f1): Likewise.
15494 (RUN_TEST_fI_f1): Likewise.
15495 (RUN_TEST_LOOP_fI_f1): Likewise.
15496 (RUN_TEST_ffI_f1): Likewise.
15497 (RUN_TEST_LOOP_ffI_f1): Likewise.
15498 (RUN_TEST_c_c): Likewise.
15499 (RUN_TEST_LOOP_c_c): Likewise.
15500 (RUN_TEST_cc_c): Likewise.
15501 (RUN_TEST_LOOP_cc_c): Likewise.
15502 (RUN_TEST_f_i): Likewise.
15503 (RUN_TEST_LOOP_f_i): Likewise.
15504 (RUN_TEST_f_i_tg): Likewise.
15505 (RUN_TEST_LOOP_f_i_tg): Likewise.
15506 (RUN_TEST_ff_i_tg): Likewise.
15507 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15508 (RUN_TEST_f_b): Likewise.
15509 (RUN_TEST_LOOP_f_b): Likewise.
15510 (RUN_TEST_f_b_tg): Likewise.
15511 (RUN_TEST_LOOP_f_b_tg): Likewise.
15512 (RUN_TEST_f_l): Likewise.
15513 (RUN_TEST_LOOP_f_l): Likewise.
15514 (RUN_TEST_f_L): Likewise.
15515 (RUN_TEST_LOOP_f_L): Likewise.
15516 (RUN_TEST_sincos): Likewise.
15517 (RUN_TEST_LOOP_sincos): Likewise.
15518
8269107f
JM
155192013-05-17 Joseph Myers <joseph@codesourcery.com>
15520
bb38759d
JM
15521 [BZ #15480]
15522 [BZ #15485]
15523 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15524 main case of finite arguments, set rounding mode to FE_TONEAREST
15525 and discard exceptions.
15526 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15527 exceptions.
15528 (remainder_tonearest_test_data): New variable.
15529 (remainder_test_tonearest): New function.
15530 (remainder_towardzero_test_data): New variable.
15531 (remainder_test_towardzero): New function.
15532 (remainder_downward_test_data): New variable.
15533 (remainder_test_downward): New function.
15534 (remainder_upward_test_data): New variable.
15535 (remainder_test_upward): New function.
15536 (main): Call the new test functions.
15537
a00bdcf0
JM
15538 * math/libm-test.inc (struct test_f_f1_data): Remove field
15539 extra_init.
15540 (struct test_fF_f1_data): Likewise.
15541 (struct test_ffI_f1_data): Likewise.
15542 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15543 based on value of EXTRA_EXPECTED.
15544 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15545 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15546 EXTRA_VAR based on value of EXTRA_EXPECTED.
15547 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15548 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15549 EXTRA_VAR based on value of EXTRA_EXPECTED.
15550 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15551 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15552 EXTRA_VAR based on value of EXTRA_EXPECTED.
15553 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15554 * math/gen-libm-test.pl (parse_args): Don't output initializers
15555 for extra output values.
15556
de407f79
JM
15557 * math/libm-test.inc (check_int): Expect result to be exactly
15558 equal to expected value and do not handle ulps.
15559 (check_long): Likewise.
15560 (check_longlong): Likewise.
15561
8269107f
JM
15562 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15563 exceptions.
15564 (cimag_test_data): Likewise.
15565 (conj_test_data): Likewise.
15566 (copysign_test_data): Likewise.
15567 (cproj_test_data): Likewise.
15568 (creal_test_data): Likewise.
15569 (fabs_test_data): Likewise.
15570 (fdim_test_data): Likewise.
15571 (finite_test_data): Likewise.
15572 (floor_test_data): Likewise.
15573 (fmax_test_data): Likewise.
15574 (fmin_test_data): Likewise.
15575 (fmod_test_data): Likewise.
15576 (fpclassify_test_data): Likewise.
15577 (frexp_test_data): Likewise.
15578 (ilogb_test_data): Likewise.
15579 (isfinite_test_data): Likewise.
15580 (isgreater_test_data): Likewise.
15581 (isgreaterequal_test_data): Likewise.
15582 (isinf_test_data): Likewise.
15583 (isless_test_data): Likewise.
15584 (islessequal_test_data): Likewise.
15585 (islessgreater_test_data): Likewise.
15586 (isnan_test_data): Likewise.
15587 (isnormal_test_data): Likewise.
15588 (issignaling_test_data): Likewise.
15589 (isunordered_test_data): Likewise.
15590 (ldexp_test_data): Likewise.
15591 (lrint_test_data): Likewise.
15592 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15593 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15594 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15595 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15596 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15597 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15598 test input.
15599 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15600 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15601 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15602 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15603 that test input.
15604 (lrint_downward_test_data): Test for "inexact" exceptions.
15605 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15606 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15607 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15608 test input.
15609 (lrint_upward_test_data): Test for "inexact" exceptions.
15610 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15611 test input.
15612 (llrint_test_data): Test for "inexact" exceptions.
15613 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15614 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15615 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15616 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15617 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15618 (llrint_downward_test_data): Test for "inexact" exceptions.
15619 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15620 (llrint_upward_test_data): Test for "inexact" exceptions.
15621 (logb_test_data): Likewise.
15622 (logb_downward_test_data): Likewise.
15623 (nextafter_test_data): Likewise.
15624 (nexttoward_test_data): Likewise.
15625 (remainder_test_data): Likewise.
15626 (remquo_test_data): Likewise.
15627 (scalbn_test_data): Likewise.
15628 (scalbln_test_data): Likewise.
15629 (signbit_test_data): Likewise.
15630 (sqrt_test_data): Likewise.
15631 (significand_test_data): Likewise.
15632
48a18de1
SP
156332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15634
15635 [BZ #15424]
15636 * benchtests/bench-modf.c (struct args): Mark arg0 as
15637 volatile.
15638 * scripts/bench.pl: Mark members of struct args as volatile.
15639
13d3b41a
AZ
156402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15641
68191c1d 15642 [BZ # 15497]
13d3b41a
AZ
15643 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15644 negative infinity on POWER6 or lower.
15645 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15646
2848b105
MR
156472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15648
15649 [BZ #15442]
15650 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15651 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15652 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15653 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15654 (_FP_SETQNAN): New macro.
15655 (_FP_SETQNAN_SEMIRAW): Likewise.
15656 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15657 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15658 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15659 (FP_EXTEND): Use _FP_FRAC_SNANP.
15660 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15661 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15662 into account.
15663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15664 New macro.
15665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15666 Likewise.
15667
323e5cb7
JM
156682013-05-16 Joseph Myers <joseph@codesourcery.com>
15669
c58b274f
JM
15670 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15671 with DIVIDE_BY_ZERO_EXCEPTION.
15672 (gamma_test_data): Likewise.
15673 (lgamma_test_data): Likewise.
15674 (log_test_data): Likewise.
15675 (log10_test_data): Likewise.
15676 (log2_test_data): Likewise.
15677 (tgamma_test_data): Likewise.
15678
0ab34904
JM
15679 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15680 (acos_test_tonearest): Likewise.
15681 (acos_test_towardzero): Likewise.
15682 (acos_test_downward): Likewise.
15683 (acos_test_upward): Likewise.
15684 (acosh_test): Likewise.
15685 (asin_test): Likewise.
15686 (asin_test_tonearest): Likewise.
15687 (asin_test_towardzero): Likewise.
15688 (asin_test_downward): Likewise.
15689 (asin_test_upward): Likewise.
15690 (asinh_test): Likewise.
15691 (atan_test): Likewise.
15692 (atanh_test): Likewise.
15693 (atan2_test): Likewise.
15694 (cabs_test): Likewise.
15695 (cacos_test): Likewise.
15696 (cacosh_test): Likewise.
15697 (casin_test): Likewise.
15698 (casinh_test): Likewise.
15699 (catan_test): Likewise.
15700 (catanh_test): Likewise.
15701 (cbrt_test): Likewise.
15702 (ccos_test): Likewise.
15703 (ccosh_test): Likewise.
15704 (cexp_test): Likewise.
15705 (clog_test): Likewise.
15706 (clog10_test): Likewise.
15707 (cos_test): Likewise.
15708 (cos_test_tonearest): Likewise.
15709 (cos_test_towardzero): Likewise.
15710 (cos_test_downward): Likewise.
15711 (cos_test_upward): Likewise.
15712 (cosh_test): Likewise.
15713 (cosh_test_tonearest): Likewise.
15714 (cosh_test_towardzero): Likewise.
15715 (cosh_test_downward): Likewise.
15716 (cosh_test_upward): Likewise.
15717 (cpow_test): Likewise.
15718 (csin_test): Likewise.
15719 (csinh_test): Likewise.
15720 (csqrt_test): Likewise.
15721 (ctan_test): Likewise.
15722 (ctan_test_tonearest): Likewise.
15723 (ctan_test_towardzero): Likewise.
15724 (ctan_test_downward): Likewise.
15725 (ctan_test_upward): Likewise.
15726 (ctanh_test): Likewise.
15727 (ctanh_test_tonearest): Likewise.
15728 (ctanh_test_towardzero): Likewise.
15729 (ctanh_test_downward): Likewise.
15730 (ctanh_test_upward): Likewise.
15731 (erf_test): Likewise.
15732 (erfc_test): Likewise.
15733 (exp_test): Likewise.
15734 (exp_test_tonearest): Likewise.
15735 (exp_test_towardzero): Likewise.
15736 (exp_test_downward): Likewise.
15737 (exp_test_upward): Likewise.
15738 (exp10_test): Likewise.
15739 (exp2_test): Likewise.
15740 (expm1_test): Likewise.
15741 (fmod_test): Likewise.
15742 (gamma_test): Likewise.
15743 (hypot_test): Likewise.
15744 (j0_test): Likewise.
15745 (j1_test): Likewise.
15746 (jn_test): Likewise.
15747 (lgamma_test): Likewise.
15748 (log_test): Likewise.
15749 (log10_test): Likewise.
15750 (log1p_test): Likewise.
15751 (log2_test): Likewise.
15752 (logb_test_downward): Likewise.
15753 (pow_test): Likewise.
15754 (pow_test_tonearest): Likewise.
15755 (pow_test_towardzero): Likewise.
15756 (pow_test_downward): Likewise.
15757 (pow_test_upward): Likewise.
15758 (remainder_test): Likewise.
15759 (remquo_test): Likewise.
15760 (sin_test): Likewise.
15761 (sin_test_tonearest): Likewise.
15762 (sin_test_towardzero): Likewise.
15763 (sin_test_downward): Likewise.
15764 (sin_test_upward): Likewise.
15765 (sincos_test): Likewise.
15766 (sinh_test): Likewise.
15767 (sinh_test_tonearest): Likewise.
15768 (sinh_test_towardzero): Likewise.
15769 (sinh_test_downward): Likewise.
15770 (sinh_test_upward): Likewise.
15771 (sqrt_test): Likewise.
15772 (tan_test): Likewise.
15773 (tan_test_tonearest): Likewise.
15774 (tan_test_towardzero): Likewise.
15775 (tan_test_downward): Likewise.
15776 (tan_test_upward): Likewise.
15777 (tanh_test): Likewise.
15778 (tgamma_test): Likewise.
15779 (y0_test): Likewise.
15780 (y1_test): Likewise.
15781 (yn_test): Likewise.
15782
323e5cb7
JM
15783 * math/gen-libm-test.pl (adjust_arg): Remove function.
15784 (special_function): Remove argument $in_func. Only handle
15785 generating output for tables of tests, not inside functions.
15786 (parse_args): Likewise.
15787 (generate_testfile): Remove variable $in_func. Update call to
15788 parse_args.
15789 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15790 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15791 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15792 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15793 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15794 (MAX_VALUE_INIT): Rename macro to max_value.
15795 (MIN_VALUE_INIT): Rename macro to min_value.
15796 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15797 (plus_zero): Remove variable.
15798 (minus_zero): Likewise.
15799 (plus_infty): Likewise.
15800 (minus_infty): Likewise.
15801 (qnan_value): Likewise.
15802 (max_value): Likewise.
15803 (min_value): Likewise.
15804 (min_subnorm_value): Likewise.
15805
e054f494
RA
158062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15807
15808 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15809 uint64_t or uint32_t usage.
15810 * crypt/sha256-block.c: Likewise.
15811 * crypt/sha256-crypt.c: Likewise.
15812 * crypt/sha256.c: Likewise.
15813 * crypt/sha512-block.c: Likewise.
15814 * crypt/sha512-crypt.c: Likewise.
15815 * crypt/sha512.c: Likewise.
15816 * debug/backtrace-tst.c: Likewise.
15817 * debug/pcprofiledump.c: Likewise.
15818 * elf/cache.c: Likewise.
15819 * elf/dl-cache.c: Likewise.
15820 * elf/dl-misc.c: Likewise.
15821 * elf/dl-profile.c: Likewise.
15822 * elf/dl-support.c: Likewise.
15823 * elf/ldconfig.c: Likewise.
15824 * elf/sprof.c: Likewise.
15825 * iconv/dummy-repertoire.c: Likewise.
15826 * iconv/iconv_charmap.c: Likewise.
15827 * iconv/skeleton.c: Likewise.
15828 * iconvdata/8bit-generic.c: Likewise.
15829 * iconvdata/cp737.h: Likewise.
15830 * iconvdata/cp775.h: Likewise.
15831 * iconvdata/ibm1008.h: Likewise.
15832 * iconvdata/ibm1025.h: Likewise.
15833 * iconvdata/ibm1046.h: Likewise.
15834 * iconvdata/ibm1097.h: Likewise.
15835 * iconvdata/ibm1112.h: Likewise.
15836 * iconvdata/ibm1122.h: Likewise.
15837 * iconvdata/ibm1123.h: Likewise.
15838 * iconvdata/ibm1124.h: Likewise.
15839 * iconvdata/ibm1129.h: Likewise.
15840 * iconvdata/ibm1130.h: Likewise.
15841 * iconvdata/ibm1132.h: Likewise.
15842 * iconvdata/ibm1133.h: Likewise.
15843 * iconvdata/ibm1137.h: Likewise.
15844 * iconvdata/ibm1140.h: Likewise.
15845 * iconvdata/ibm1141.h: Likewise.
15846 * iconvdata/ibm1142.h: Likewise.
15847 * iconvdata/ibm1143.h: Likewise.
15848 * iconvdata/ibm1144.h: Likewise.
15849 * iconvdata/ibm1145.h: Likewise.
15850 * iconvdata/ibm1146.h: Likewise.
15851 * iconvdata/ibm1147.h: Likewise.
15852 * iconvdata/ibm1148.h: Likewise.
15853 * iconvdata/ibm1149.h: Likewise.
15854 * iconvdata/ibm1153.h: Likewise.
15855 * iconvdata/ibm1154.h: Likewise.
15856 * iconvdata/ibm1155.h: Likewise.
15857 * iconvdata/ibm1156.h: Likewise.
15858 * iconvdata/ibm1157.h: Likewise.
15859 * iconvdata/ibm1158.h: Likewise.
15860 * iconvdata/ibm1160.h: Likewise.
15861 * iconvdata/ibm1161.h: Likewise.
15862 * iconvdata/ibm1162.h: Likewise.
15863 * iconvdata/ibm1163.h: Likewise.
15864 * iconvdata/ibm1164.h: Likewise.
15865 * iconvdata/ibm1166.h: Likewise.
15866 * iconvdata/ibm1167.h: Likewise.
15867 * iconvdata/ibm12712.h: Likewise.
15868 * iconvdata/ibm1390.h: Likewise.
15869 * iconvdata/ibm1399.h: Likewise.
15870 * iconvdata/ibm16804.h: Likewise.
15871 * iconvdata/ibm4517.h: Likewise.
15872 * iconvdata/ibm4899.h: Likewise.
15873 * iconvdata/ibm4909.h: Likewise.
15874 * iconvdata/ibm4971.h: Likewise.
15875 * iconvdata/ibm5347.h: Likewise.
15876 * iconvdata/ibm803.h: Likewise.
15877 * iconvdata/ibm856.h: Likewise.
15878 * iconvdata/ibm901.h: Likewise.
15879 * iconvdata/ibm902.h: Likewise.
15880 * iconvdata/ibm9030.h: Likewise.
15881 * iconvdata/ibm9066.h: Likewise.
15882 * iconvdata/ibm921.h: Likewise.
15883 * iconvdata/ibm922.h: Likewise.
15884 * iconvdata/ibm9448.h: Likewise.
15885 * iconvdata/isiri-3342.h: Likewise.
15886 * iconvdata/jis0201.h: Likewise.
15887 * include/link.h: Likewise.
15888 * include/netdb.h: Likewise.
15889 * inet/check_native.c: Likewise.
15890 * inet/check_pf.c: Likewise.
15891 * inet/getipv4sourcefilter.c: Likewise.
15892 * inet/getnameinfo.c: Likewise.
15893 * inet/getsourcefilter.c: Likewise.
15894 * inet/htonl.c: Likewise.
15895 * inet/setipv4sourcefilter.c: Likewise.
15896 * inet/setsourcefilter.c: Likewise.
15897 * inet/test-inet6_opt.c: Likewise.
15898 * inet/tst-network.c: Likewise.
15899 * locale/C-collate.c: Likewise.
15900 * locale/C-ctype.c: Likewise.
15901 * locale/C-time.c: Likewise.
15902 * locale/C-translit.h: Likewise.
15903 * locale/loadarchive.c: Likewise.
15904 * locale/programs/3level.h: Likewise.
15905 * locale/programs/charmap.c: Likewise.
15906 * locale/programs/charmap.h: Likewise.
15907 * locale/programs/ld-address.c: Likewise.
15908 * locale/programs/ld-collate.c: Likewise.
15909 * locale/programs/ld-ctype.c: Likewise.
15910 * locale/programs/ld-identification.c: Likewise.
15911 * locale/programs/ld-measurement.c: Likewise.
15912 * locale/programs/ld-messages.c: Likewise.
15913 * locale/programs/ld-monetary.c: Likewise.
15914 * locale/programs/ld-name.c: Likewise.
15915 * locale/programs/ld-numeric.c: Likewise.
15916 * locale/programs/ld-paper.c: Likewise.
15917 * locale/programs/ld-telephone.c: Likewise.
15918 * locale/programs/ld-time.c: Likewise.
15919 * locale/programs/linereader.c: Likewise.
15920 * locale/programs/locale.c: Likewise.
15921 * locale/programs/locarchive.c: Likewise.
15922 * locale/programs/locfile.h: Likewise.
15923 * locale/programs/repertoire.c: Likewise.
15924 * locale/programs/simple-hash.c: Likewise.
15925 * locale/programs/simple-hash.h: Likewise.
15926 * malloc/memusage.c: Likewise.
15927 * malloc/memusagestat.c: Likewise.
15928 * nis/nis_defaults.c: Likewise.
15929 * nis/nis_hash.c: Likewise.
15930 * nis/nis_print.c: Likewise.
15931 * nis/nis_xdr.c: Likewise.
15932 * nscd/connections.c: Likewise.
15933 * nscd/hstcache.c: Likewise.
15934 * nscd/nscd_gethst_r.c: Likewise.
15935 * nscd/nscd_getserv_r.c: Likewise.
15936 * nscd/nscd_helper.c: Likewise.
15937 * nscd/servicescache.c: Likewise.
15938 * nss/makedb.c: Likewise.
15939 * nss/nss_db/db-XXX.c: Likewise.
15940 * nss/nss_db/db-initgroups.c: Likewise.
15941 * nss/nss_db/db-netgrp.c: Likewise.
15942 * nss/nss_files/files-network.c: Likewise.
15943 * nss/nss_files/files-parse.c: Likewise.
15944 * posix/bug-regex5.c: Likewise.
15945 * posix/fnmatch_loop.c: Likewise.
15946 * posix/regcomp.c: Likewise.
15947 * posix/regexec.c: Likewise.
15948 * posix/tst-rfc3484-2.c: Likewise.
15949 * posix/tst-rfc3484-3.c: Likewise.
15950 * posix/tst-rfc3484.c: Likewise.
15951 * resolv/nss_dns/dns-canon.c: Likewise.
15952 * resolv/nss_dns/dns-network.c: Likewise.
15953 * resolv/res_init.c: Likewise.
15954 * resolv/res_mkquery.c: Likewise.
15955 * resolv/tst-aton.c: Likewise.
15956 * stdlib/cxa_atexit.c: Likewise.
15957 * stdlib/cxa_finalize.c: Likewise.
15958 * stdlib/gen-fpioconst.c: Likewise.
15959 * stdlib/strtol_l.c: Likewise.
15960 * string/tst-endian.c: Likewise.
15961 * sunrpc/auth_des.c: Likewise.
15962 * sunrpc/clnt_udp.c: Likewise.
15963 * sunrpc/rtime.c: Likewise.
15964 * sunrpc/svcauth_des.c: Likewise.
15965 * sunrpc/xdr.c: Likewise.
15966 * sunrpc/xdr_intXX_t.c: Likewise.
15967 * sunrpc/xdr_rec.c: Likewise.
15968 * sysdeps/generic/ldconfig.h: Likewise.
15969 * sysdeps/generic/ldsodefs.h: Likewise.
15970 * sysdeps/generic/memusage.h: Likewise.
15971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15974 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15981 * sysdeps/posix/getaddrinfo.c: Likewise.
15982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15984 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15985 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15986 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15987 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15988 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15989 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15990 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15991 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15992 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15993 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15994 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15995 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15997 * sysdeps/x86_64/dl-tls.h: Likewise.
15998 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15999 * time/alt_digit.c: Likewise.
16000 * time/era.c: Likewise.
16001 * wcsmbs/tst-c16c32-1.c: Likewise.
16002
8c75f674
JM
160032013-05-16 Joseph Myers <joseph@codesourcery.com>
16004
16005 * math/libm-test.inc (struct test_sincos_data): New type.
16006 (RUN_TEST_LOOP_sincos): New macro.
16007 (sincos_test_data): New variable.
16008 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16009
e6e49e59
RH
160102013-05-16 Richard Henderson <rth@redhat.com>
16011
16012 * math/atest-exp2.c (LIMB64): New macro.
16013 (CONSTSZ): New macro.
16014 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16015 (hexdig): Move ...
16016 (print_mpn_fp): ... to function scope.
16017 (read_mpn_hex): Remove.
16018 (get_log2): Remove.
16019 (exp2_mpn): Use mp_log2.
16020 (main): Use mp_exp1.
16021
15c7c18d
JM
160222013-05-16 Joseph Myers <joseph@codesourcery.com>
16023
105a07df
JM
16024 * math/libm-test.inc: Remove comment about not testing "inexact"
16025 exceptions.
16026 (INEXACT_EXCEPTION): New macro.
16027 (NO_INEXACT_EXCEPTION): Likewise.
16028 (INVALID_EXCEPTION_OK): Update value.
16029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16030 (OVERFLOW_EXCEPTION_OK): Likewise.
16031 (UNDERFLOW_EXCEPTION_OK): Likewise.
16032 (IGNORE_ZERO_INF_SIGN): Likewise.
16033 (ERRNO_UNCHANGED): Likewise.
16034 (ERRNO_EDOM): Likewise.
16035 (ERRNO_ERANGE): Likewise.
16036 (test_exceptions): Handle testing "inexact" exceptions.
16037 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16038 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16039 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16040 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16041 INEXACT_EXCEPTION.
16042 (rint_towardzero_test_data): Likewise.
16043 (rint_downward_test_data): Likewise.
16044 (rint_upward_test_data): Likewise.
16045
e9eee333
JM
16046 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16047 with OVERFLOW_EXCEPTION.
16048 (exp10_test_data): Likewise.
16049 (exp2_test_data): Likewise.
16050 (expm1_test_data): Likewise.
16051 (lgamma_test_data): Likewise.
16052 (pow_test_data): Likewise.
16053 (tgamma_test_data): Likewise.
16054 (yn_test_data): Remove duplicate test of overflow.
16055
1c38ff73
JM
16056 * math/libm-test.inc (struct test_cc_c_data): New type.
16057 (RUN_TEST_LOOP_cc_c): New macro.
16058 (cpow_test_data): New variable.
16059 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16060
15c7c18d
JM
16061 * math/libm-test.inc (struct test_f_L_data): New type.
16062 (RUN_TEST_LOOP_f_L): New macro.
16063 (llrint_test_data): New variable.
16064 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16065 (llrint_tonearest_test_data): New variable.
16066 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16067 (llrint_towardzero_test_data): New variable.
16068 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16069 (llrint_downward_test_data): New variable.
16070 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16071 (llrint_upward_test_data): New variable.
16072 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16073 (llround_test_data): New variable.
16074 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16075
f137ff13
PC
160762013-05-13 Peter Collingbourne <pcc@google.com>
16077
16078 * math/atest-exp2.c (get_log2): Remove const attribute.
16079
3608cb24
JM
160802013-05-15 Joseph Myers <joseph@codesourcery.com>
16081
16082 * math/libm-test.inc (struct test_f_l_data): New type.
16083 (RUN_TEST_LOOP_f_l): New macro.
16084 (lrint_test_data): New variable.
16085 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16086 (lrint_tonearest_test_data): New variable.
16087 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16088 (lrint_towardzero_test_data): New variable.
16089 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16090 (lrint_downward_test_data): New variable.
16091 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16092 (lrint_upward_test_data): New variable.
16093 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16094 (lround_test_data): New variable.
16095 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16096
39b1f617
PC
160972013-05-15 Peter Collingbourne <pcc@google.com>
16098
1deff3dc
PC
16099 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16100 (EXTRACT_WORDS64) Use where appropriate.
16101 (INSERT_WORDS64) Likewise.
16102
791f3ba0
PC
16103 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16104 constraints with x constraints.
16105 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16106
39b1f617
PC
16107 * malloc/obstack.c (_obstack_compat): Add initializer.
16108
12fba011
EM
161092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16110
16111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16112 si_trapno and add si_addr_lsb to _sifields.sigfault.
16113 (si_trapno): Remove macro.
16114 (si_addr_lsb): Define new macro.
16115 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16116
d369f531
JM
161172013-05-15 Joseph Myers <joseph@codesourcery.com>
16118
b861c6c4
JM
16119 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16120 instead of TEST_f_l.
16121 (llrint_test_tonearest): Likewise.
16122 (llrint_test_towardzero): Likewise.
16123 (llrint_test_downward): Likewise.
16124 (llrint_test_upward): Likewise.
16125 (llround_test): Likewise.
16126
7abeee12
JM
16127 * math/libm-test.inc (struct test_f_i_data): Add comment.
16128 (RUN_TEST_LOOP_f_b): New macro.
16129 (RUN_TEST_LOOP_f_b_tg): Likewise.
16130 (finite_test_data): New variable.
16131 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16132 (isfinite_test_data): New variable.
16133 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16134 (isinf_test_data): New variable.
16135 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16136 (isnan_test_data): New variable.
16137 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16138 (isnormal_test_data): New variable.
16139 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16140 (issignaling_test_data): New variable.
16141 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16142 (signbit_test_data): New variable.
16143 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16144
cbe8c4d3
JM
16145 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16146 with INVALID_EXCEPTION.
16147 (acosh_test_data): Likewise.
16148 (asin_test_data): Likewise.
16149 (atanh_test_data): Likewise.
16150 (fmod_test_data): Likewise.
16151 (log_test_data): Likewise.
16152 (log10_test_data): Likewise.
16153 (log2_test_data): Likewise.
16154 (pow_test_data): Likewise.
16155 (sqrt_test_data): Likewise.
16156 (y0_test_data): Likewise.
16157 (y1_test_data): Likewise.
16158 (yn_test_data): Likewise.
16159
5575c0e5
JM
16160 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16161 function contents.
16162
d369f531
JM
16163 * math/libm-test.inc (struct test_ff_i_data): New type.
16164 (RUN_TEST_LOOP_ff_i_tg): New macro.
16165 (isgreater_test_data): New variable.
16166 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16167 (isgreaterequal_test_data): New variable.
16168 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16169 (isless_test_data): New variable.
16170 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16171 (islessequal_test_data): New variable.
16172 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16173 (islessgreater_test_data): New variable.
16174 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16175 (isunordered_test_data): New variable.
16176 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16177
781fd748
DM
161782013-05-14 David S. Miller <davem@davemloft.net>
16179
16180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16181
87aa21df
JM
161822013-05-14 Joseph Myers <joseph@codesourcery.com>
16183
5e908270
JM
16184 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16185
f71172e5
JM
16186 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16187 extra_test to int.
16188 (struct test_f_i_data): Change type of max_ulp to int.
16189
8cfa635a
JM
16190 * math/libm-test.inc (test_ffI_f1_data): New type.
16191 (RUN_TEST_LOOP_ffI_f1): New macro.
16192 (remquo_test_data): New variable.
16193 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16194
2bcb36b2
JM
16195 * setjmp/tst-setjmp-fp.c: New file.
16196 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16197 (link-libm): New variable.
16198 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16199
acbd839a
JM
16200 * math/libm-test.inc (struct test_f_i_data): New type.
16201 (RUN_TEST_LOOP_f_i): New macro.
16202 (RUN_TEST_LOOP_f_i_tg): Likewise.
16203 (fpclassify_test_data): New variable.
16204 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16205 (ilogb_test_data): New variable.
16206 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16207
e414d745
JM
16208 * math/libm-test.inc (scalbln_test): Correct function name in END
16209 call.
16210
d9c2a0fd
JM
16211 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16212 (RUN_TEST_LOOP_fI_f1): New macro.
16213 (frexp_test_data): New variable.
16214 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16215
9dc9095d
JM
16216 * math/libm-test.inc (struct test_fF_f1_data): New type.
16217 (RUN_TEST_LOOP_fF_f1): New macro.
16218 (modf_test_data): New variable.
16219 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16220
87aa21df
JM
16221 * math/libm-test.inc (struct test_f_f1_data): New type.
16222 (RUN_TEST_LOOP_f_f1): New macro.
16223 (gamma_test_data): New variable.
16224 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16225 (lgamma_test_data): New variable.
16226 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16227
141af660
CD
162282013-05-13 Carlos O'Donell <carlos@redhat.com>
16229
16230 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16231 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16232 (main): Comment "tls" pseudo-hwcap.
16233
6d33265c
JM
162342013-05-13 Joseph Myers <joseph@codesourcery.com>
16235
68fc074c
JM
16236 * math/libm-test.inc (struct test_fl_f_data): New type.
16237 (RUN_TEST_LOOP_fl_f): New variable.
16238 (scalbln_test_data): New variable.
16239 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16240
243216e1
JM
16241 * math/libm-test.inc (struct test_fi_f_data): New type.
16242 (RUN_TEST_LOOP_fi_f): New macro.
16243 (ldexp_test_data): New variable.
16244 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16245 (scalbn_test_data): New variable.
16246 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16247
6a1992e2
JM
16248 * math/libm-test.inc (struct test_c_f_data): New type.
16249 (RUN_TEST_LOOP_c_f): New macro.
16250 (cabs_test_data): New variable.
16251 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16252 (carg_test_data): New variable.
16253 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16254 (cimag_test_data): New variable.
16255 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16256 (creal_test_data): New variable.
16257 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16258
0e400df5
JM
16259 * math/libm-test.inc (struct test_if_f_data): New type.
16260 (RUN_TEST_LOOP_if_f): New macro.
16261 (jn_test_data): New variable.
16262 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16263 (yn_test_data): New variable.
16264 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16265
6d33265c
JM
16266 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16267
f98ece5f
AZ
162682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269
16270 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16271 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16272
0f7d347b
SP
162732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16274
43fe811b
SP
16275 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16276 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16277 (bench-deps): Add bench-timing.h.
16278 * benchtests-bench-skeleton.c: Include bench-timing.h.
16279 (main): Use TIMING_* macros instead of clock_gettime.
16280 * benchtests/bench-timing.h: New file.
16281
0f7d347b
SP
16282 [BZ #14582]
16283 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16284 Renamed from _LIB_VERSION.
16285 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16286
601a3a5f
JM
162872013-05-12 Joseph Myers <joseph@codesourcery.com>
16288
4f184d30
JM
16289 * math/libm-test.inc (struct test_fff_f_data): New type.
16290 (RUN_TEST_LOOP_fff_f): New macro.
16291 (fma_test_data): New variable.
16292 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16293 (fma_towardzero_test_data): New variable.
16294 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16295 (fma_downward_test_data): New variable.
16296 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16297 (fma_upward_test_data): New variable.
16298 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16299
08198877
JM
16300 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16301 (struct test_c_c_data): New type.
16302 (RUN_TEST_LOOP_c_c): New macro.
16303 (cacos_test_data): New variable.
16304 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16305 (cacosh_test_data): New variable.
16306 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16307 (casin_test_data): New variable.
16308 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16309 (casinh_test_data): New variable.
16310 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16311 (catan_test_data): New variable.
16312 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16313 (catanh_test_data): New variable.
16314 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16315 (ccos_test_data): New variable.
16316 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16317 (ccosh_test_data): New variable.
16318 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16319 (cexp_test_data): New variable.
16320 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16321 (clog_test_data): New variable.
16322 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16323 (clog10_test_data): New variable.
16324 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16325 (conj_test_data): New variable.
16326 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16327 (cproj_test_data): New variable.
16328 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16329 (csin_test_data): New variable.
16330 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16331 (csinh_test_data): New variable.
16332 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16333 (csqrt_test_data): New variable.
16334 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16335 (ctan_test_data): New variable.
16336 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16337 (ctan_tonearest_test_data): New variable.
16338 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16339 (ctan_towardzero_test_data): New variable.
16340 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16341 (ctan_downward_test_data): New variable.
16342 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16343 (ctan_upward_test_data): New variable.
16344 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16345 (ctanh_test_data): New variable.
16346 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16347 (ctanh_tonearest_test_data): New variable.
16348 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16349 (ctanh_towardzero_test_data): New variable.
16350 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16351 (ctanh_downward_test_data): New variable.
16352 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16353 (ctanh_upward_test_data): New variable.
16354 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16355 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16356 of BUILD_COMPLEX.
16357
601a3a5f
JM
16358 * math/libm-test.inc (struct test_ff_f_data): New type.
16359 (struct test_ff_f_data_nexttoward): Likewise.
16360 (RUN_TEST_LOOP_2_f): New macro.
16361 (RUN_TEST_LOOP_ff_f): Likewise.
16362 (atan2_test_data): New variable.
16363 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16364 (copysign_test_data): New variable.
16365 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16366 (fdim_test_data): New variable.
16367 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16368 (fmax_test_data): New variable.
16369 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16370 (fmin_test_data): New variable.
16371 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16372 (fmod_test_data): New variable.
16373 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16374 (hypot_test_data): New variable.
16375 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16376 (nextafter_test_data): New variable.
16377 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16378 (nexttoward_test_data): New variable.
16379 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16380 (pow_test_data): New variable.
16381 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16382 (pow_tonearest_test_data): New variable.
16383 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16384 (pow_towardzero_test_data): New variable.
16385 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16386 (pow_downward_test_data): New variable.
16387 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16388 (pow_upward_test_data): New variable.
16389 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16390 (remainder_test_data): New variable.
16391 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16392 (scalb_test_data): New variable.
16393 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395
74c57478
JM
163962013-05-11 Joseph Myers <joseph@codesourcery.com>
16397
8329e4da
JM
16398 * math/libm-test.inc (fma_test): Use max_value instead of local
16399 variable fltmax.
16400 (nextafter_test): Likewise.
16401
74c57478
JM
16402 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16403 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16404 (acos_downward_test_data): New variable.
16405 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16406 (acos_upward_test_data): New variable.
16407 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16408 (acosh_test_data): New variable.
16409 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16410 (asin_test_data): New variable.
16411 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16412 (asin_tonearest_test_data): New variable.
16413 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16414 (asin_towardzero_test_data): New variable.
16415 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16416 (asin_downward_test_data): New variable.
16417 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16418 (asin_upward_test_data): New variable.
16419 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16420 (asinh_test_data): New variable.
16421 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16422 (atan_test_data): New variable.
16423 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16424 (atanh_test_data): New variable.
16425 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16426 (cbrt_test_data): New variable.
16427 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16428 (ceil_test_data): New variable.
16429 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16430 (cos_test_data): New variable.
16431 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16432 (cos_tonearest_test_data): New variable.
16433 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16434 (cos_towardzero_test_data): New variable.
16435 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16436 (cos_downward_test_data): New variable.
16437 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16438 (cos_upward_test_data): New variable.
16439 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16440 (cosh_test_data): New variable.
16441 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16442 (cosh_tonearest_test_data): New variable.
16443 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16444 (cosh_towardzero_test_data): New variable.
16445 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16446 (cosh_downward_test_data): New variable.
16447 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16448 (cosh_upward_test_data): New variable.
16449 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16450 (erf_test_data): New variable.
16451 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16452 (erfc_test_data): New variable.
16453 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16454 (exp_test_data): New variable.
16455 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16456 (exp_tonearest_test_data): New variable.
16457 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16458 (exp_towardzero_test_data): New variable.
16459 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16460 (exp_downward_test_data): New variable.
16461 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16462 (exp_upward_test_data): New variable.
16463 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16464 (exp10_test_data): New variable.
16465 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16466 (exp2_test_data): New variable.
16467 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16468 (expm1_test_data): New variable.
16469 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16470 (fabs_test_data): New variable.
16471 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16472 (floor_test_data): New variable.
16473 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16474 (j0_test_data): New variable.
16475 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16476 (j1_test_data): New variable.
16477 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16478 (log_test_data): New variable.
16479 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16480 (log10_test_data): New variable.
16481 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16482 (log1p_test_data): New variable.
16483 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16484 (log2_test_data): New variable.
16485 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16486 (logb_test_data): New variable.
16487 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16488 (logb_downward_test_data): New variable.
16489 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16490 (nearbyint_test_data): New variable.
16491 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16492 (rint_test_data): New variable.
16493 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16494 (rint_tonearest_test_data): New variable.
16495 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16496 (rint_towardzero_test_data): New variable.
16497 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16498 (rint_downward_test_data): New variable.
16499 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16500 (rint_upward_test_data): New variable.
16501 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16502 (round_test_data): New variable.
16503 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16504 (sin_test_data): New variable.
16505 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16506 (sin_tonearest_test_data): New variable.
16507 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16508 (sin_towardzero_test_data): New variable.
16509 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16510 (sin_downward_test_data): New variable.
16511 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16512 (sin_upward_test_data): New variable.
16513 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16514 (sinh_test_data): New variable.
16515 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16516 (sinh_tonearest_test_data): New variable.
16517 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16518 (sinh_towardzero_test_data): New variable.
16519 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16520 (sinh_downward_test_data): New variable.
16521 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16522 (sinh_upward_test_data): New variable.
16523 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16524 (sqrt_test_data): New variable.
16525 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16526 (tan_test_data): New variable.
16527 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16528 (tan_tonearest_test_data): New variable.
16529 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16530 (tan_towardzero_test_data): New variable.
16531 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16532 (tan_downward_test_data): New variable.
16533 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16534 (tan_upward_test_data): New variable.
16535 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16536 (tanh_test_data): New variable.
16537 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16538 (tgamma_test_data): New variable.
16539 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16540 (trunc_test_data): New variable.
16541 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16542 (y0_test_data): New variable.
16543 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16544 (y1_test_data): New variable.
16545 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16546 (significand_test_data): New variable.
16547 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16548
7187d844
CG
165492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16550
16551 [BZ #12387]
16552 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16553
f63fae73
PT
165542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16555
16556 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16557
8a67a4b3
AJ
165582013-05-10 Andreas Jaeger <aj@suse.de>
16559
16560 [BZ #15448]
16561 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16562 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16563
51df539d
JM
165642013-05-10 Joseph Myers <joseph@codesourcery.com>
16565
16566 * math/gen-libm-test.pl (adjust_arg): New function.
16567 (special_functions): Handle generating output in both functions
16568 and arrays.
16569 (parse_args): Likewise.
16570 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16571 $in_func argument to parse_args.
16572 * math/libm-test.inc (struct test_f_f_data): New type.
16573 (IF_ROUND_INIT_): New macro.
16574 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16575 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16576 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16577 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16578 (ROUND_RESTORE_): Likewise.
16579 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16580 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16581 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16582 (ROUND_RESTORE_FE_UPWARD): Likewise.
16583 (RUN_TEST_LOOP_f_f): New macro.
16584 (acos_test_data): New variable.
16585 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16586 (acos_tonearest_test_data): New variable.
16587 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16588
5c637fe5
SP
165892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16590
16591 * benchtests/bench-skeleton.c (startup): Fix coding style.
16592
ab2b9461
JM
165932013-05-10 Joseph Myers <joseph@codesourcery.com>
16594
16595 [BZ #6809]
16596 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16597 negative infinity argument.
16598 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16599 negative infinity argument.
16600 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16601 negative infinity argument.
16602 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16603 domain errors.
16604
4c0fe6fe
FW
166052013-05-10 Florian Weimer <fweimer@redhat.com>
16606
16607 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16608 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16609 * iconv/iconv_prog.c (main): Likewise.
16610 * locale/programs/charmap-dir.c (charmap_readdir)
16611 (fopen_uncompressed): Likewise.
16612 * locale/programs/locfile.c (siblings_uncached)
16613 (write_locale_data): Use lstat64 instead of lstat.
16614 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16615 stat.
16616
a3375d29
AJ
166172013-05-10 Andreas Jaeger <aj@suse.de>
16618
16619 [BZ #15395]
16620 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16621 localization.
16622 Include <locale.h>.
16623
36129722
CD
166242013-05-09 Carlos O'Donell <carlos@redhat.com>
16625
16626 * elf/dl-close.c (_dl_close_worker): Add comments.
16627
faa7f811
JM
166282013-05-09 Joseph Myers <joseph@codesourcery.com>
16629
ed41ffef
JM
16630 [BZ #15359]
16631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16632 high part of pi/2.
16633 (__ieee754_rem_pio2l): Update comments.
16634
d0213cd0
JM
16635 [BZ #15429]
16636 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16637 high part of pi/2.
16638 (__ieee754_rem_pio2l): Update comments.
16639
0d3e777a
JM
16640 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16641 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16642
24f56066
JM
16643 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16644 M_PI_4l.
16645
faa7f811
JM
16646 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16647 (M_PI_34_LOG10El): Likewise.
16648 (M_PI2_LOG10El): Likewise.
16649 (M_PI4_LOG10El): Likewise.
16650 (M_PI_LOG10El): Likewise.
16651
e9a5e0fd
AZ
166522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16653
16654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16655
d8cd06db
JM
166562013-05-08 Joseph Myers <joseph@codesourcery.com>
16657
a0d9f9d7
JM
16658 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16659 (MINUS_ZERO_INIT): Likewise.
16660 (PLUS_INFTY_INIT): Likewise.
16661 (MINUS_INFTY_INIT): Likewise.
16662 (QNAN_VALUE_INIT): Likewise.
16663 (MAX_VALUE_INIT): Likewise.
16664 (MIN_VALUE_INIT): Likewise.
16665 (MIN_SUBNORM_VALUE_INIT): Likewise.
16666 (plus_zero): Initialize with PLUS_ZERO_INIT.
16667 (minus_zero): Initialize with MINUS_ZERO_INIT.
16668 (plus_infty): Initialize with PLUS_INFTY_INIT.
16669 (minus_infty): Initialize with MINUS_INFTY_INIT.
16670 (qnan_value): Initialize with QNAN_VALUE_INIT.
16671 (max_value): Initialize with MAX_VALUE_INIT.
16672 (min_value): Initialize with MIN_VALUE_INIT.
16673 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16674
ae08db3b
JM
16675 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16676 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16677 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16678 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16679
f44bf14a
JM
16680 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16681 (RUN_TEST_2_f): Likewise.
16682 (RUN_TEST_ff_f): Likewise.
16683 (RUN_TEST_fi_f): Likewise.
16684 (RUN_TEST_fl_f): Likewise.
16685 (RUN_TEST_fff_f): Likewise.
16686 (RUN_TEST_c_f): Likewise.
16687 (RUN_TEST_f_f1): Likewise.
16688 (RUN_TEST_fF_f1): Likewise.
16689 (RUN_TEST_fI_f1): Likewise.
16690 (RUN_TEST_ffI_f1): Likewise.
16691 (RUN_TEST_c_c): Likewise.
16692 (RUN_TEST_cc_c): Likewise.
16693 (RUN_TEST_f_i): Likewise.
16694 (RUN_TEST_f_i_tg): Likewise.
16695 (RUN_TEST_ff_i_tg): Likewise.
16696 (RUN_TEST_f_b): Likewise.
16697 (RUN_TEST_f_b_tg): Likewise.
16698 (RUN_TEST_f_l): Likewise.
16699 (RUN_TEST_f_L): Likewise.
16700 (RUN_TEST_sincos): Likewise.
16701 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16702 whether to show exceptions. Do not include ");\n" in return
16703 value.
16704 (special_functions): Output call to RUN_TEST_sincos instead of
16705 check_float calls. Update calls to new_test.
16706 (parse_args): Output call to single RUN_TEST_* macro instead of
16707 check_* calls and other assignments. Update calls to new_test.
16708
d8cd06db
JM
16709 [BZ #2546]
16710 [BZ #2560]
16711 [BZ #5159]
16712 [BZ #15426]
16713 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16714 input to result for tgamma overflow.
16715 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16716 (gamma_coeff): New variable.
16717 (NCOEFF): New macro.
16718 (gamma_positive): New function.
16719 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16720 underflow here. Use gamma_positive instead of exp (lgamma) for
16721 other arguments.
16722 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16723 (gamma_coeff): New variable.
16724 (NCOEFF): New macro.
16725 (gammaf_positive): New function.
16726 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16727 underflow here. Use gamma_positive instead of exp (lgamma) for
16728 other arguments.
16729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16730 (gamma_coeff): New variable.
16731 (NCOEFF): New macro.
16732 (gammal_positive): New function.
16733 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16734 underflow here. Use gamma_positive instead of exp (lgamma) for
16735 other arguments.
16736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16737 (gamma_coeff): New variable.
16738 (NCOEFF): New macro.
16739 (gammal_positive): New function.
16740 (__ieee754_gammal_r): Handle positive infinity, overflow and
16741 underflow here. Handle NaN the same as positive infinity. Remove
16742 check x < 0xffffffff for negative integers. Use gamma_positive
16743 instead of exp (lgamma) for other arguments.
16744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16745 (gamma_coeff): New variable.
16746 (NCOEFF): New macro.
16747 (gammal_positive): New function.
16748 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16749 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16754 * sysdeps/generic/math_private.h (__gamma_productf): New
16755 prototype.
16756 (__gamma_product): Likewise.
16757 (__gamma_productl): Likewise.
16758 * math/Makefile (libm-calls): Add gamma_product.
16759 * math/libm-test.inc (tgamma_test): Add more tests.
16760 * sysdeps/i386/fpu/libm-test-ulps: Update.
16761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16762
bb7cf681
OB
167632013-05-08 Ondřej Bílka <neleai@seznam.cz>
16764
16765 * benchtests/bench-skeleton.c (main): Preheat CPU.
16766
ba853947
AJ
167672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16768
16769 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16770
8347c74c
RM
167712013-05-07 Roland McGrath <roland@hack.frob.com>
16772
16773 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16774 and _dl_skip_args_internal.
16775
e8dd4791
CD
167762013-05-07 Carlos O'Donell <carlos@redhat.com>
16777
16778 * manual/message.texi (Message Translation): Talk about users.
16779 Message to key mapping impacts design.
16780
c7405830
RM
167812013-05-06 Roland McGrath <roland@hack.frob.com>
16782
a9173057
RM
16783 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16784
976e2f03
RM
16785 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16786
9723ffc5
RM
16787 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16788 * sysdeps/wordsize-64/glob64.c: ... here.
16789
962e6658
RM
16790 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16791 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16792 New macros.
16793
ee586a6d
RM
16794 * debug/getlogin_r_chk.c: Moved to ...
16795 * login/getlogin_r_chk.c: ... here.
16796 * debug/Makefile (routines): Move getlogin_r_chk to ...
16797 * login/Makefile (routines): ... here.
16798 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16799 * login/Versions (libc: GLIBC_2.4): ... here.
16800
355f9165
RM
16801 * io/poll.c (__poll): Renamed from poll.
16802 Add libc_hidden_def.
16803 (poll): Define as weak alias.
16804
bd9ffde6
RM
16805 * debug/ptsname_r_chk.c: Moved to ...
16806 * login/ptsname_r_chk.c: ... here.
16807 * debug/Makefile (routines): Move ptsname_r_chk to ...
16808 * login/Makefile (routines): ... here.
16809 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16810 * login/Versions (libc: GLIBC_2.4): ... here.
16811
8fb16a04
RM
16812 * posix/getlogin.c: Moved to ...
16813 * login/getlogin.c: ... here.
16814 * posix/getlogin_r.c: Moved to ...
16815 * login/getlogin_r.c: ... here.
16816 * posix/getlogin_r.c: Moved to ...
16817 * login/getlogin_r.c: ... here.
16818 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16819 * login/Makefile (routines): ... here.
16820 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16821 * login/Versions (libc: GLIBC_2.0): ... here.
16822
b99b892f
RM
16823 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16824 (setrlimit): Define as weak alias.
16825
c7405830
RM
16826 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16827 Call __ names for open, ftruncate, and close.
16828 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16829 (truncate): Define as weak alias.
16830
5bf96de5
JM
168312013-05-06 Joseph Myers <joseph@codesourcery.com>
16832
9ea3513c
JM
16833 * math/gen-libm-test.pl (parse_args): Initialize x before each
16834 test of frexp, modf and remquo.
16835
5bf96de5
JM
16836 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16837 test signgam value.
16838
16e616a7
AZ
168392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
16841 [BZ #15418]
16842 [BZ #15419]
16843 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16844 internal tests.
16845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16846
d5e82754
RM
168472013-05-06 Roland McGrath <roland@hack.frob.com>
16848
16849 * elf/dl-writev.h: New file.
16850 * elf/dl-misc.c: Include it.
16851 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16852 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16853
a7548d41
JM
168542013-05-04 Joseph Myers <joseph@codesourcery.com>
16855
b7dab1e4
JM
16856 * math/libm-test.inc (noXFails): Remove variable.
16857 (noXPasses): Likewise.
16858 (BUILD_COMPLEX_INT): Remove macro.
16859 (print_screen): Remove xfail argument.
16860 (print_screen_max_error): Likewise.
16861 (update_stats): Likewise.
16862 (print_max_error): Likewise. Update calls to other affected
16863 functions.
16864 (print_complex_max_error): Likewise.
16865 (test_single_exception): Update calls to print_screen.
16866 (test_single_errno): Likewise.
16867 (check_float_internal): Remove xfail argument. Update calls to
16868 other affected functions.
16869 (check_float): Likewise.
16870 (check_complex): Likewise.
16871 (check_int): Likewise.
16872 (check_long): Likewise.
16873 (check_bool): Likewise.
16874 (check_longlong): Likewise.
16875 (main): Don't print noXFails and noXPasses.
16876 * math/gen-libm-test.pl (top level): Don't mention expected
16877 failure handling in comment.
16878 (new_test): Don't handle expected failures.
16879 (parse_args): Don't mention expected failure handling in comment.
16880 (generate_testfile): Don't handle expected failures.
16881 (parse_ulps): Likewise.
16882 (print_ulps_file): Likewise.
16883 (get_failure): Remove function.
16884 (output_test): Don't handle expected failures.
16885 * make/README.libm-test: Don't mention expected failure handling.
16886
a7548d41
JM
16887 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16888 (minus_zero): Likewise.
16889 (plus_infty): Likewise.
16890 (minus_infty): Likewise.
16891 (qnan_value): Likewise.
16892 (max_value): Likewise.
16893 (min_value): Likewise.
16894 (min_subnorm_value): Likewise.
16895 (initialize): Do not initialize those variables dynamically.
16896
60bfd54c
RM
168972013-05-03 Roland McGrath <roland@hack.frob.com>
16898
cc0e6ed8
RM
16899 * io/open.c (__open_2): Moved to ...
16900 * io/open_2.c: ... this new file.
16901 * io/open64.c (__open64_2): Moved to ...
16902 * io/open64_2.c: ... this new file.
16903 * io/openat.c (__openat_2): Moved to ...
16904 * io/openat_2.c: ... this new file.
16905 * io/openat64.c (__openat64_2): Moved to ...
16906 * io/openat64_2.c: ... this new file.
16907 * io/Makefile (routines): Add them.
16908 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16909 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16910 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16911 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16912 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16913 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16914 (__openat64): Add hidden_ver.
16915 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16916 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16917
60bfd54c
RM
16918 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16919 Separately conditionalize setting of GLRO(dl_sysinfo) so
16920 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16921 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16922
83e7640f
AZ
169232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16924
16925 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16926 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16927 definition.
16928 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16929 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16930 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16931 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16932 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16933
d5dc2af3
JM
169342013-05-03 Joseph Myers <joseph@codesourcery.com>
16935
c31a5b1e
JM
16936 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16937 test signgam value.
16938
d5dc2af3
JM
16939 * math/libm-test.inc (hypot_test): Do not use
16940 IGNORE_ZERO_INF_SIGN.
16941
164fd39d
AJ
169422013-05-03 Andreas Jaeger <aj@suse.de>
16943
16944 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16945 Linux 3.9.
16946 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16947 (PF_MAX): Adjust for VSOCK change.
16948
8237f48c
AZ
169492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16952
9df02941
CD
169532013-05-02 Carlos O'Donell <carlos@redhat.com>
16954
16955 [BZ #15264]
16956 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16957 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16958 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16959
d422395e
DM
169602013-05-02 David S. Miller <davem@davemloft.net>
16961
16962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16963
a07c5731
OB
169642013-05-01 Ondřej Bílka <neleai@seznam.cz>
16965
16966 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16967
1324e37f
RM
169682013-05-01 Roland McGrath <roland@hack.frob.com>
16969
16970 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16971
0695940b
RS
169722013-05-01 Richard Smith <richard@metafoo.co.uk>
16973
bb5f27ad 16974 [BZ #14952]
0695940b
RS
16975 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16976 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16977 Use __attribute__ ((__gnu_inline__)).
16978 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16979 Don't use __attribute__ ((__gnu_inline__)).
16980
10de07f5
JM
169812013-05-01 Joseph Myers <joseph@codesourcery.com>
16982
16983 [BZ #15423]
16984 * math/s_catan.c (__catan): Handle small real or imaginary part of
16985 input specially to avoid spurious underflow.
16986 * math/s_catanf.c (__catanf): Likewise.
16987 * math/s_catanh.c (__catanh): Likewise.
16988 * math/s_catanhf.c (__catanhf): Likewise.
16989 * math/s_catanhl.c (__catanhl): Likewise.
16990 * math/s_catanl.c (__catanl): Likewise.
16991 * math/libm-test.inc (catan_test): Add more tests.
16992 (catanh_test): Likewise.
16993 * sysdeps/i386/fpu/libm-test-ulps: Update.
16994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995
cb4d5414
AZ
169962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16997
16998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16999
caf84319
JM
170002013-04-30 Joseph Myers <joseph@codesourcery.com>
17001
17002 [BZ #15416]
17003 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17004 accurately for denominator in atan2.
17005 * math/s_catanf.c (__catanf): Likewise.
17006 * math/s_catanh.c (__catanh): Likewise.
17007 * math/s_catanhf.c (__catanhf): Likewise.
17008 * math/s_catanhl.c (__catanhl): Likewise.
17009 * math/s_catanl.c (__catanl): Likewise.
17010 * math/libm-test.inc (catan_test): Add more tests.
17011 (catanh_test): Likewise.
17012 * sysdeps/i386/fpu/libm-test-ulps: Update.
17013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17014
d569c6ee
SP
170152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17016
6dbe713d
SP
17017 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17018
f0ee064b
SP
17019 * benchtests/Makefile (bench): Remove slow benchmarks.
17020 * benchtests/atan-inputs: Add slow benchmark inputs.
17021 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17022 (BENCH_FUNC): Accept variant offset.
17023 (VARIANT): Define.
17024 * benchtests/bench-skeleton.c (main): Run benchmark for each
17025 variant.
17026 * benchtests/cos-inputs: Add slow benchmark inputs.
17027 * benchtests/exp-inputs: Likewise.
17028 * benchtests/pow-inputs: Likewise.
17029 * benchtests/sin-inputs: Likewise.
17030 * benchtests/slowatan-inputs: Remove.
17031 * benchtests/slowatan.c: Remove.
17032 * benchtests/slowcos-inputs: Remove.
17033 * benchtests/slowcos.c: Remove.
17034 * benchtests/slowexp-inputs: Remove.
17035 * benchtests/slowexp.c: Remove.
17036 * benchtests/slowpow-inputs: Remove.
17037 * benchtests/slowpow.c: Remove.
17038 * benchtests/slowsin-inputs: Remove.
17039 * benchtests/slowsin.c: Remove.
17040 * benchtests/slowtan-inputs: Remove.
17041 * benchtests/slowtan.c: Remove.
17042 * benchtests/tan-inputs: Add slow benchmark inputs.
17043 * scripts/bench.pl: Parse comments and directives.
17044
d569c6ee
SP
17045 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17046 in CPPFLAGS.
17047 ($(objpfx)bench-%.c): Remove *-ITER.
17048 * benchtests/bench-modf.c: Remove definition of ITER.
17049 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17050 (main): Loop for DURATION seconds instead of fixed number of
17051 iterations.
17052 * scripts/bench.pl: Don't expect iterations in parameters.
17053
a6a242fe
RM
170542013-04-29 Roland McGrath <roland@hack.frob.com>
17055
17056 * io/fchdir.c (__fchdir): Renamed from fchdir.
17057 (fchdir): Define as weak alias.
17058
f2da7793
JM
170592013-04-29 Joseph Myers <joseph@codesourcery.com>
17060
17061 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17062 (ERRNO_EDOM): Likewise.
17063 (ERRNO_ERANGE): Likewise.
17064 (noErrnoTests): New variable.
17065 (init_max_error): Set errno to 0.
17066 (test_single_errno): New function.
17067 (test_errno): Likewise.
17068 (check_float_internal): Call test_errno. Set errno to 0.
17069 (check_complex): Refer to errno tests in comment.
17070 (check_int): Call test_errno. Set errno to 0.
17071 (check_long): Likewise.
17072 (check_bool): Likewise.
17073 (check_longlong): Likewise.
17074 (cos_test): Use ERRNO_* flags for errno tests instead of
17075 check_int.
17076 (expm1_test): Likewise.
17077 (fmod_test): Likewise.
17078 (ilogb_test): Likewise.
17079 (lgamma_test): Likewise.
17080 (pow_test): Likewise.
17081 (remainder_test): Likewise.
17082 (sin_test): Likewise.
17083 (tan_test): Likewise.
17084 (yn_test): Likewise.
17085 (initialize): Set errno to 0.
17086 (main): Print number of errno tests.
17087 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17088
b1a36ceb
AJ
170892013-04-29 Andreas Jaeger <aj@suse.de>
17090
c3ed8088
AJ
17091 [BZ #15084]
17092 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17093 and RES_USEVC.
17094
f1a24198
AJ
17095 [BZ #15085]
17096 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17097 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17098 unimplemented.
17099
9ce3b2cb
AJ
17100 [BZ #15380]
17101 * stdlib/random.c (__initstate): Return NULL if
17102 __initstate fails.
17103
f1a24198 17104 [BZ #15086]
b1a36ceb
AJ
17105 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17106 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17107 RES_SNGLKUPREOP.
17108
7e7b6f36
AZ
171092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17110
17111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17112
4d14f449
JM
171132013-04-29 Joseph Myers <joseph@codesourcery.com>
17114
17115 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17116 of individual tests.
17117 (casin_test): Likewise.
17118 (casinh_test): Likewise.
17119
5b4217d7
JM
171202013-04-27 Joseph Myers <joseph@codesourcery.com>
17121
17122 [BZ #15409]
17123 * math/s_catan.c (__catan): Handle arguments with large real or
17124 imaginary part separately without squaring.
17125 * math/s_catanf.c (__catanf): Likewise.
17126 * math/s_catanh.c (__catanh): Likewise.
17127 * math/s_catanhf.c (__catanhf): Likewise.
17128 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17129 and redefine.
17130 (__catanhl): Handle arguments with large real or imaginary part
17131 separately without squaring.
17132 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17133 and redefine.
17134 (__catanl): Handle arguments with large real or imaginary part
17135 separately without squaring.
17136 * math/libm-test.inc (catan_test): Add more tests.
17137 (catanh_test): Likewise.
17138 * sysdeps/i386/fpu/libm-test-ulps: Update.
17139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17140
4220c3ef
AJ
171412013-04-27 Andreas Jaeger <aj@suse.de>
17142
17143 [BZ #15007]
17144 * stdlib/stdlib.h: Update guards for qecvt.
17145 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17146 <stdlib.h>.
17147
4721b2d1
AM
171482013-04-27 Allan McRae <allan@archlinux.org>
17149
17150 * sysdeps/i386/fpu/libm-test-ulps: Update.
17151
f0302940
JM
171522013-04-26 Joseph Myers <joseph@codesourcery.com>
17153
9457fd95
JM
17154 [BZ #15406]
17155 * math/s_catan.c: Include <float.h>.
17156 (__catan): Ensure underflow exception occurs for underflowed
17157 result.
17158 * math/s_catanf.c: Include <float.h>.
17159 (__catanf): Ensure underflow exception occurs for underflowed
17160 result.
17161 * math/s_catanh.c: Include <float.h>.
17162 (__catanh): Ensure underflow exception occurs for underflowed
17163 result.
17164 * math/s_catanhf.c: Include <float.h>.
17165 (__catanhf): Ensure underflow exception occurs for underflowed
17166 result.
17167 * math/s_catanhl.c: Include <float.h>.
17168 (__catanhl): Ensure underflow exception occurs for underflowed
17169 result.
17170 * math/s_catanl.c: Include <float.h>.
17171 (__catanl): Ensure underflow exception occurs for underflowed
17172 result.
17173 * math/libm-test.inc (catan_test): Add more tests.
17174 (catanh_test): Likewise.
17175
f0302940
JM
17176 [BZ #15405]
17177 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17178 underflowed result.
17179 * math/s_ccoshf.c (__ccoshf): Likewise.
17180 * math/s_ccoshl.c (__ccoshl): Likewise.
17181 * math/s_csin.c (__csin): Likewise.
17182 * math/s_csinf.c (__csinf): Likewise.
17183 * math/s_csinh.c (__csinh): Likewise.
17184 * math/s_csinhf.c (__csinhf): Likewise.
17185 * math/s_csinhl.c (__csinhl): Likewise.
17186 * math/s_csinl.c (__csinl): Likewise.
17187 * math/libm-test.inc (ccos_test): Add more tests.
17188 (ccosh_test): Likewise.
17189 (csin_test): Likewise.
17190 (csinh_test): Likewise.
17191
aa630f59
AZ
171922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17193
17194 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17195 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17196 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17197 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17198 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17199 powerpc/power5+/fpu folders.
17200 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17201
17202
1b835983
MT
172032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17204
17205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17206
73709b26
JM
172072013-04-25 Joseph Myers <joseph@codesourcery.com>
17208
17209 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17210 additions to variable.
17211 [$(config-machine) = x86_64] (modules-names): Likewise.
17212 ($(objpfx)tst-audit3): Remove dependency.
17213 ($(objpfx)tst-audit3.out): Likewise.
17214 ($(objpfx)tst-audit4): Likewise.
17215 ($(objpfx)tst-audit4.out): Likewise.
17216 ($(objpfx)tst-audit5): Likewise.
17217 ($(objpfx)tst-audit5.out): Likewise.
17218 ($(objpfx)tst-audit6): Likewise.
17219 ($(objpfx)tst-audit6.out): Likewise.
17220 ($(objpfx)tst-audit7): Likewise.
17221 ($(objpfx)tst-audit7.out): Likewise.
17222 (tst-audit3-ENV): Remove variable.
17223 (tst-audit4-ENV): Likewise.
17224 (tst-audit5-ENV): Likewise.
17225 (tst-audit6-ENV): Likewise.
17226 (tst-audit7-ENV): Likewise.
17227 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17228 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17229 addition to variable.
17230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17233 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17235 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17236 tst-audit3, tst-audit4 and tst-audit5.
17237 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17238 tst-audit6 and tst-audit7.
17239 [$(subdir) = elf] (modules-names): Add audit modules for those
17240 tests.
17241 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17242 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17243 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17244 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17245 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17246 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17247 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17248 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17249 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17250 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17251 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17252 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17253 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17254 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17255 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17256 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17257 Likewise.
17258 [$(subdir) = elf && $(config-cflags-avx) = yes]
17259 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17260 [$(subdir) = elf && $(config-cflags-avx) = yes]
17261 (CFLAGS-tst-auditmod4a.c): Likewise.
17262 [$(subdir) = elf && $(config-cflags-avx) = yes]
17263 (CFLAGS-tst-auditmod4b.c): Likewise.
17264 [$(subdir) = elf && $(config-cflags-avx) = yes]
17265 (CFLAGS-tst-auditmod6b.c): Likewise.
17266 [$(subdir) = elf && $(config-cflags-avx) = yes]
17267 (CFLAGS-tst-auditmod6c.c): Likewise.
17268 [$(subdir) = elf && $(config-cflags-avx) = yes]
17269 (CFLAGS-tst-auditmod7b.c): Likewise.
17270 * elf/tst-audit3.c: Move to ...
17271 * sysdeps/x86_64/tst-audit3.c: ... here.
17272 * elf/tst-audit4.c: Move to ...
17273 * sysdeps/x86_64/tst-audit4.c: ... here.
17274 * elf/tst-audit5.c: Move to ...
17275 * sysdeps/x86_64/tst-audit5.c: ... here.
17276 * elf/tst-audit6.c: Move to ...
17277 * sysdeps/x86_64/tst-audit6.c: ... here.
17278 * elf/tst-audit7.c: Move to ...
17279 * sysdeps/x86_64/tst-audit7.c: ... here.
17280 * elf/tst-auditmod3a.c: Move to ...
17281 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17282 * elf/tst-auditmod3b.c: Move to ...
17283 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17284 * elf/tst-auditmod4a.c: Move to ...
17285 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17286 * elf/tst-auditmod4b.c: Move to ...
17287 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17288 * elf/tst-auditmod5a.c: Move to ...
17289 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17290 * elf/tst-auditmod5b.c: Move to ...
17291 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17292 * elf/tst-auditmod6a.c: Move to ...
17293 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17294 * elf/tst-auditmod6b.c: Move to ...
17295 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17296 * elf/tst-auditmod6c.c: Move to ...
17297 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17298 * elf/tst-auditmod7a.c: Move to ...
17299 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17300 * elf/tst-auditmod7b.c: Move to ...
17301 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17302
1ef74943
PP
173032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17304
17305 [BZ #15366]
17306 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17307 define unconditionally.
17308 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17309 define unconditionally.
17310 (INT8_C, INT16_C, etc.): Likewise.
17311
93fd48c5
MR
173122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17313
ae9552cf
MR
17314 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17315 __ehdr_start with hidden visibility.
17316
93fd48c5
MR
17317 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17318
418601aa
CD
173192013-04-24 Carlos O'Donell <carlos@redhat.com>
17320
17321 * math/libm-test.inc (cos_test): Use accurate hex constants.
17322 (sincost_test): Likewise.
17323
2f38fbfe
JM
173242013-04-24 Joseph Myers <joseph@codesourcery.com>
17325
5e221800
JM
17326 * math/libm-test.inc (catan_test): Add more tests.
17327 (catanh_test): Likewise.
17328
77f143fd
JM
17329 * math/s_catanf.c (__catanf): Use suffixed floating-point
17330 constants.
17331 * math/s_catanhf.c (__catanhf): Likewise.
17332 * math/s_catanhl.c (__catanhl): Likewise.
17333 * math/s_catanl.c (__catanl): Likewise.
17334
2f38fbfe
JM
17335 [BZ #15394]
17336 * math/s_catan.c (__catan): Calculate imaginary part of result
17337 with log1p not log unless computing log of number close to 0.
17338 * math/s_catanf.c (__catanf): Likewise.
17339 * math/s_catanl.c (__catanl): Likewise.
17340 * math/s_catanh.c (__catanh): Calculate real part of result with
17341 log1p not log unless computing log of number close to 0.
17342 * math/s_catanhf.c (__catanhf): Likewise.
17343 * math/s_catanhl.c (__catanhl): Likewise.
17344 * math/libm-test.inc (catan_test): Add more tests.
17345 (catanh_test): Likewise.
17346 * sysdeps/i386/fpu/libm-test-ulps: Update.
17347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17348
45d69176
SP
173492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17350
17351 * benchtests/Makefile: Mention files in which fast and slow
17352 paths of math functions are implemented.
17353
87f51853
RM
173542013-04-23 Roland McGrath <roland@hack.frob.com>
17355
17356 * sysdeps/posix/timespec_get.c: New file.
17357
3c026539
AZ
173582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17359
17360 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17361 POWER.
17362 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17363 for POWER.
17364 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17365 powerpc/power5/fpu folders.
17366 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17367 * benchtests/Makefile: Add modf testcase.
17368 * benchtests/bench-modf.c: New file: Benchmark test for mo
17369
ff491d14
SP
173702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17371
17372 [BZ #14888]
17373 * time/Makefile (tests): Add tst-strptime-whitespace.
17374 * time/strptime_l.c (get_number): Use ISSPACE.
17375 (__strptime_internal): Likewise.
17376 * time/tst-strptime-whitespace.c: New test case.
17377
7ed3f4e8
AS
173782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17379
17380 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17381 member.
17382 (_nss_files_init): Set it here.
17383
5c95f7b6
HC
173842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17385
17386 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17387 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17388 unsigned.
17389
d34c9158
JBG
173902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17391
17392 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17393
2169712d
SP
173942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17395
17396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17397 size just once.
17398
29c5de99
DM
173992013-04-21 David S. Miller <davem@davemloft.net>
17400
17401 * po/ru.po: Update Russion translation from translation project.
17402
ccdad15d
AC
174032013-04-17 Adam Conrad <adconrad@0c3.net>
17404
17405 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17406 and setfsgid.
17407
0f122b8d
CD
174082013-04-17 Carlos O'Donell <carlos@redhat.com>
17409
5c5b07da 17410 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17411 * configure: Regenerate.
5c5b07da 17412 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17413 Add example to error message.
17414 * sysdeps/i386/configure: Regenerate.
17415
037714dd
SP
174162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17417
17418 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17419 slowtan.
17420 * benchtests/cos-inputs: New file.
17421 * benchtests/slowcos-inputs: New file.
17422 * benchtests/slowcos.c: New file.
17423 * benchtests/slowtan-inputs: New file.
17424 * benchtests/slowtan.c: New file.
17425 * benchtests/tan-inputs: New file.
17426
e913141d
RM
174272013-04-16 Roland McGrath <roland@hack.frob.com>
17428
17429 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17430 considered kosher.
17431
a2964074
SP
174322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17433
4856bcd2
SP
17434 * benchtests/Makefile: Include cppflags-iterator.mk to add
17435 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17436
a2964074
SP
17437 * Makefile.in (bench-clean): New target.
17438 * benchtests/Makefile (bench-clean): Likewise.
17439
9fbf9aca
DH
174402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17441
17442 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17443
207d1e2a
TS
174442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17445
17446 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17447
306dfba9
AS
174482013-04-15 Andreas Schwab <schwab@suse.de>
17449
17450 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17451 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17452 * nscd/pwdcache.c (cache_addpw): Likewise.
17453 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17454 more than recsize.
17455
206a6699
SP
174562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17457
17458 * benchtests/Makefile (bench): Write all output to
17459 bench-out.tmp together.
17460
0582f6b3
AS
174612013-04-15 Andreas Schwab <schwab@suse.de>
17462
17463 * nscd/nscd.c (main): Don't fork again after closing files.
17464
acb4325f
SP
174652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17466
5cb26d0a
SP
17467 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17468
acb4325f
SP
17469 * benchtests/Rules (bench-deps): Collect dependencies into a
17470 single variable. Add Makefile to dependencies.
17471 ($(objpfx)bench-%.c): Depend on bench-deps.
17472
47792506
RM
174732013-04-12 Roland McGrath <roland@hack.frob.com>
17474 Xavier Roche <roche+kml2@exalead.com>
17475
17476 [BZ #15361]
17477 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17478 just that it's a file descriptor.
17479 * manual/llio.texi (Synchronizing AIO Operations): Update description
17480 for EBADF error from aio_fsync.
17481
8fc1bee5
SP
174822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17483
17484 * Rules (bench): Move target definition...
17485 * benchtests/Makefile: ... here.
17486
aba5e333
CD
174872013-04-11 Carlos O'Donell <carlos@redhat.com>
17488
17489 * math/libm-test.inc (cos_test): Fix PI/2 test.
17490 (sincos_test): Likewise.
17491 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17492 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17493
273cdee8
AS
174942013-04-11 Andreas Schwab <schwab@suse.de>
17495
6ecec3b6
AS
17496 [BZ #13988]
17497 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17498 accept exponent character only when digits were seen.
17499 * stdio-common/Makefile (tests): Add bug26.
17500 * stdio-common/bug26.c: New file.
17501
273cdee8
AS
17502 [BZ #14293]
17503 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17504 non-freeable.
17505
8da491f5
SP
175062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17507
01dc6df9
SP
17508 * Makeconfig (rtld-prefix): Define built linker prefix.
17509 * Rules (run-bench): Use it.
17510 * math/Makefile (run-regen-ulps): Likewise.
17511
8da491f5
SP
17512 * Rules (bench): Remove eval.
17513
abe7f530
SP
175142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17515 Roland McGrath <roland@hack.frob.com>
17516 Ondrej Bilka <neleai@seznam.cz>
17517
17518 [BZ #15346]
17519 * time/getdate.c: Include ctype.h and alloca.h.
17520 (__getdate_r): Trim leading and trailing spaces of input.
17521 * time/tst-getdate.c (tests): Add tests with leading and
17522 trailing spaces.
17523
61c23e62
RM
175242013-04-08 Roland McGrath <roland@hack.frob.com>
17525
17526 [BZ #14280]
17527 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17528 when computing value.
17529
7208a313
CD
175302013-04-06 Carlos O'Donell <carlos@redhat.com>
17531
085b2d41
CD
17532 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17533 Use testrun.sh to run libm tests.
17534
7208a313
CD
17535 [BZ #15309]
17536 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17537
872c0acd
MM
175382013-04-06 Marko Myllynen <myllynen@redhat.com>
17539
17540 [BZ #15264]
17541 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17542
26510bdd
CD
175432013-04-06 Carlos O'Donell <carlos@redhat.com>
17544
17545 * Makefile.in (regen-ulps): New target.
17546 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17547 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17548 [ifneq (no,$(PERL)] (regen-ulps): New target.
17549 [ifeq (no,$(PERL)] (regen-ulps): New target.
17550 * math/libm-test.inc (ulps_file_name): Define.
17551 (output_dir): New variable.
17552 (options): Add "output-dir" option.
17553 (parse_opt): Handle 'o' case.
17554 (main): If output_dir is non-NULL use it as a prefix
17555 otherwise use "".
17556 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17557
a01f19c8
CD
175582013-04-06 Carlos O'Donell <carlos@redhat.com>
17559
17560 [BZ #10060, #10062]
17561 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17562 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17563 fail configure if __sync_val_compare_and_swap is not inlined.
17564 * sysdeps/i386/configure: Regenerate.
17565 * configure.in: Build for i686 when configured for i386.
17566 * configure: Regenerate.
17567 * README: Remove i386 reference.
17568
b7a329a5
CD
175692013-04-06 Carlos O'Donell <carlos@redhat.com>
17570
17571 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17573
bf0f50df
TS
175742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17575
ee091edf
TS
17576 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17577 (lmsnanval): New variables.
17578 (F): Add conversion tests.
17579 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17580 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17581
a8b792d6
TS
17582 * stdio-common/tstdiomisc.c (F): Properly collect individual
17583 tests' results.
17584
a1cbf437
TS
17585 [BZ #14686, #15336]
17586 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17587 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17588 Instead, use input NaN values or generate a qNaN by arithmetic
17589 operation. Also fix bugs to comply with the standard.
17590 * math/libm-test.inc (remainder_test): Add more tests.
17591
8b43a0c9
TS
17592 [BZ #15335, #15342]
17593 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17595 input NaN values or generate a qNaN by arithmetic operation.
17596
d91da4ce
TS
17597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17598 unreachable code.
17599
bf0f50df
TS
17600 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17601 definitions.
17602
05e166c8
JM
176032013-04-03 Joseph Myers <joseph@codesourcery.com>
17604
17605 [BZ #14478]
17606 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17607 underflowed result.
17608 * math/s_cexpf.c (__cexpf): Likewise.
17609 * math/s_cexpl.c (__cexpl): Likewise.
17610 * math/libm-test.inc (cexp_test): Add more tests.
17611
1cef1b19
AS
176122013-04-03 Andreas Schwab <schwab@suse.de>
17613
17614 [BZ #15330]
17615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17616 order arrays from heap if bigger than alloca cutoff.
17617
74d87055
TS
176182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17619
17620 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17621 (SNAN_TESTS_double): Refer to GCC PR56831.
17622 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17623 GCC PR56828.
17624
d755bba4
SP
176252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17626
90d5d5bb
SP
17627 * Rules (bench): Move bench.out after the run is complete.
17628
73e0cd5d
SP
17629 * Rules (bench): Echo currently running benchmark.
17630
64aabd4b
SP
17631 * benchtests/Makefile (bench): Add atan and slowatan.
17632 * benchtests/atan-inputs: New file.
17633 * benchtests/slowatan-inputs: New file.
17634 * benchtests/slowatan.c: New file.
17635
c871eccd
SP
17636 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17637 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17638 its value.
17639
d755bba4
SP
17640 [BZ #15305]
17641 * sysdeps/unix/sysv/linux/kernel-features.h
17642 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17643 __ASSUME_XFS_RESTRICTED_CHOWN.
17644 * sysdeps/unix/sysv/linux/pathconf.c
17645 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17646 Save and restore errno.
17647
52ce4860
JM
176482013-04-02 Joseph Myers <joseph@codesourcery.com>
17649
17650 [BZ #15327]
17651 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17652 arguments using __kernel_casinh.
17653 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17654 arguments using __kernel_casinhf.
17655 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17656 arguments using __kernel_casinhl.
17657 * math/libm-test.inc (cacosh_test): Add more tests.
17658 * sysdeps/i386/fpu/libm-test-ulps: Update.
17659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17660
81f311c2
SP
176612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17662
e7906a47
SP
17663 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17665
92e3664b
SP
17666 * bench/Makefile (bench): Add sin and slowsin.
17667 * benchtests/sin-inputs: New file.
17668 * benchtests/slowsin-inputs: New file.
17669 * benchtests/slowsin.c: New file.
17670
81f311c2
SP
17671 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17672 (bench): Add slowexp and slowpow.
17673 (exp-ITER): Increase iterations.
17674 (pow-ITER): Likewise.
17675 * benchtests/exp-inputs: Change input.
17676 * benchtests/pow-inputs: Likewise.
17677 * benchtests/slowexp-inputs: New file.
17678 * benchtests/slowexp.c: New file.
17679 * benchtests/slowpow-inputs: New file.
17680 * benchtests/slowpow.c: New file.
17681
ab0f1aa9
AZ
176822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17683
17684 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17685 instructions.
17686 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17687 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17688 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17689 * benchtests/Makefile: Add rint benchtest.
17690 * benchtests/rint-inputs: Input for rint benchtest.
17691
57267616
TS
176922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17693
17694 * Versions.def (libm): Add GLIBC_2.18.
17695 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17696 hidden libm prototypes.
17697 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17698 * math/Makefile (libm-calls): Add s_issignaling.
17699 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17700 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17701 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17702 declaration.
17703 * math/math.h [__USE_GNU] (issignaling): New macro.
17704 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17705 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17707 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17710 * manual/arith.texi (issignaling): New section.
17711 * manual/libm-err-tab.pl (@all_functions): Update comment.
17712 * math/gen-libm-test.pl (parse_args): Apply special handling for
17713 issignaling.
17714 * math/libm-test.inc (print_float, issignaling_test): New
17715 functions.
17716 (check_float_internal): Add issignaling checks.
17717 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17718 default definition.
17719 * sysdeps/powerpc/math-tests.h: New file.
17720 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17721 tests.
17722 * math/test-snan.c (TEST_FUNC): Likewise.
17723
6142896d
DM
177242013-03-30 David S. Miller <davem@davemloft.net>
17725
17726 * po/de.po: Update from translation team.
17727
ccc8cadf
JM
177282013-03-30 Joseph Myers <joseph@codesourcery.com>
17729
17730 [BZ #10357]
17731 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17732 imaginary part less than 1.0 and real part less than 0.5
17733 specially.
17734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17736 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17737 (cacos_test): Add more tests.
17738 (casin_test): Likewise.
17739 (casinh_test): Likewise.
17740 * sysdeps/i386/fpu/libm-test-ulps: Update.
17741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17742
0f6a8d4b
SP
177432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17744
0d1029de
SP
17745 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17746 ONE with its value.
17747
c2d94018
SP
17748 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17749 (__pow_mp): Replace ONE and MONE with their values.
17750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17753 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17756
27ec37f1
SP
17757 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17758
a64d7e0e
SP
17759 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17760 (__pow_mp): Replace ZERO and MZERO with their values.
17761 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17762 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17763 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17765 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17766 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17767 (__sqr): Likewise.
17768
d26dd3eb
SP
17769 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17770
0f6a8d4b
SP
17771 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17772
e57b0c61
RM
177732013-03-28 Roland McGrath <roland@hack.frob.com>
17774
17775 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17776 Declare with __attribute__ ((weak)).
17777 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17778 Call __call_tls_dtors only if it's not NULL.
17779
356b3480
RM
177802013-03-28 Roland McGrath <roland@hack.frob.com>
17781
288f7d79
RM
17782 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17783 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17784 magic __ehdr_start linker symbol if it's defined.
17785 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17786 them up here if it was already done.
17787
dc0a0263
RM
17788 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17789 (_dl_aux_init): Use const in cast when setting it.
17790 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17791 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17792 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17793
3d3436ae
RM
17794 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17795 Declare them here.
17796 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17797 * csu/libc-tls.c: Nor here.
17798 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17799
356b3480
RM
17800 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17801 (__libc_message): Never call vsyslog.
17802
b0f1246a
AM
178032013-03-28 Alan Modra <amodra@gmail.com>
17804
17805 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17806 Define as empty.
17807 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17808 Likewise.
17809
fbbe2b9a
AZ
178102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811
17812 [BZ #15214]
17813 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17814 underflow.
17815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17816
1728ab37
SP
178172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
7a86be6e
SP
17819 [BZ #15304]
17820 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17821 Don't add gid passed as argument.
17822
1728ab37
SP
17823 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17824
3a7182a1
JM
178252013-03-27 Joseph Myers <joseph@codesourcery.com>
17826
17827 [BZ #15307]
17828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17829 imaginary part between 1.0 and 1.5 and real part less than 0.5
17830 specially.
17831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17833 * math/libm-test.inc (cacos_test): Add more tests.
17834 (casin_test): Likewise.
17835 (casinh_test): Likewise.
17836 * sysdeps/i386/fpu/libm-test-ulps: Update.
17837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838
6f2e90e7
SP
178392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17840
5739f705
SP
17841 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17842 constants.
17843 (norm): Likewise.
17844 (denorm): Likewise.
17845 (__dbl_mp): Likewise.
17846 (add_magnitudes): Likewise.
17847 (sub_magnitudes): Likewise.
17848 (__add): Likewise.
17849 (__sub): Likewise.
17850 (__mul): Likewise.
17851 (__sqr): Likewise.
17852 (__inv): Likewise.
17853 (__dvd): Likewise.
17854
e375e83d
SP
17855 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17856 commented code.
17857 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17858 (__dubcos): Likewise.
17859 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17860 (__ieee754_acos): Likewise.
17861 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17862 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17863 (__exp1): Likewise.
17864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17866 (log1): Likewise.
17867 (my_log2): Likewise.
17868 (checkint): Likewise.
17869 * sysdeps/ieee754/dbl-64/e_remainder.c
17870 (__ieee754_remainder): Likewise.
17871 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17873 (bsloww): Likewise.
17874 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17875
6f2e90e7
SP
17876 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17878 MANTISSA_STORE_T to store computations on mantissa. Use
17879 macros for rounding and division.
17880 (denorm): Likewise.
17881 (__dbl_mp): Likewise.
17882 (add_magnitudes): Likewise.
17883 (sub_magnitudes): Likewise.
17884 (__mul): Likewise.
17885 (__sqr): Likewise.
17886 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17887 powers of two in terms of TWOPOW macro.
17888 (mp_no): Make type of mantissa as MANTISSA_T.
17889 [!RADIXI]: Define RADIXI.
17890 [!TWO52]: Define TWO52.
17891 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17892
fce14d4e
AZ
178932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17894
17895 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17896 llroundl symbol when building for PPC32.
17897
9ad027fb
MW
178982013-03-24 Mark H Weaver <mhw@netris.org>
17899
17900 * manual/arith.texi (Normalization Functions): Fix prototypes for
17901 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17902
e42a38dd
AZ
179032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17904
17905 [BZ #13889]
17906 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17907 high value to check if expl overflow.
17908 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17909 to check for underflow and overflow.
17910 * math/libm-test.inc: Add exp test.
17911
2e0fb521
DL
179122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17913
17914 [BZ #11120]
17915 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17916 with NOT_IN_libc.
17917
b5784d95
AZ
179182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17919
17920 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17921 symbol.
17922
5aa4a1a1
TS
179232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17924
bdef0be7
TS
17925 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17926 wrap blocks consisting of several statements.
17927
5aa4a1a1
TS
17928 * sysdeps/generic/math-tests.h: New file.
17929 * sysdeps/i386/fpu/math-tests.h: Likewise.
17930 * math/test-snan.c: Include it.
17931 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17932
98c48fe5
JM
179332013-03-21 Joseph Myers <joseph@codesourcery.com>
17934
17935 [BZ #15285]
17936 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17937 (__ieee754_j0l): Do not improve calculations using cos of twice
17938 input for inputs above LDBL_MAX / 2.0L.
17939 (__ieee754_y0l): Likewise.
17940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17941 (__ieee754_j1l): Do not improve calculations using cos of twice
17942 input for inputs above LDBL_MAX / 2.0L.
17943 (__ieee754_y1l): Likewise.
17944 * math/libm-test.inc (j0_test): Add another test.
17945 (j1_test): Likewise.
17946 (y0_test): Likewise.
17947 (y1_test): Likewise.
17948 * sysdeps/i386/fpu/libm-test-ulps: Update.
17949
3775a8bc
SP
179502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17951
17952 * Rules ($(objpfx)bench-%.c): Include code from a C source
17953 file.
17954
0a1b2ae6
JM
179552013-03-21 Joseph Myers <joseph@codesourcery.com>
17956
17957 [BZ #15287]
17958 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17959 imaginary part 1.0 and real part less than 0.5 specially.
17960 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17961 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17962 * math/libm-test.inc (cacos_test): Add more tests.
17963 (casin_test): Likewise.
17964 (casinh_test): Likewise.
17965 * sysdeps/i386/fpu/libm-test-ulps: Update.
17966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17967
b33d4ce4
SP
179682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17969
17970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17971 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17972
bef0b507
JM
179732013-03-20 Joseph Myers <joseph@codesourcery.com>
17974
17975 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17976 * config.make.in (config-cflags-sse4): Remove variable.
17977 (config-cflags-avx): Likewise.
17978 (config-cflags-sse2avx): Likewise.
17979 (config-cflags-novzeroupper): Likewise.
17980 (config-asflags-i686): Likewise.
17981 (have-mfma4): Likewise.
17982 (have-as-vis3): Likewise.
17983 (MIG): Likewise.
17984 * configure.in (MIG): Do not AC_SUBST.
17985 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17986 (libc_cv_cc_sse4): Do not AC_SUBST.
17987 (libc_cv_cc_avx): Likewise.
17988 (libc_cv_cc_sse2avx): Likewise.
17989 (libc_cv_cc_novzeroupper): Likewise.
17990 (libc_cv_cc_fma4): Likewise.
17991 (libc_cv_as_i686): Likewise.
17992 (libc_cv_sparc_as_vis3): Likewise.
17993 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17994 LIBC_CONFIG_VAR.
17995 (config-asflags-i686): Likewise.
17996 (config-cflags-avx): Likewise.
17997 (config-cflags-sse2avx): Likewise.
17998 (have-mfma4): Likewise.
17999 (config-cflags-novzeroupper): Likewise.
18000 * sysdeps/mach/configure.in (MIG): Likewise.
18001 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18002 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18003 LIBC_CONFIG_VAR.
18004 (config-cflags-avx): Likewise.
18005 (config-cflags-sse2avx): Likewise.
18006 (have-mfma4): Likewise.
18007 (config-cflags-novzeroupper): Likewise.
18008 * configure: Regenerated.
18009 * sysdeps/i386/configure: Likewise.
18010 * sysdeps/mach/configure: Likewise.
18011 * sysdeps/sparc/configure: Likewise.
18012 * sysdeps/x86_64/configure: Likewise.
18013
912cc4b3
RM
180142013-03-20 Roland McGrath <roland@hack.frob.com>
18015
18016 [BZ #14812]
18017 * locale/programs/localedef.c (options): Put N_ translation marker
18018 on argument names, not just descriptions.
18019
04eed2b0
MS
180202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18021
18022 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18023
a065ceff
OB
180242013-03-20 Ondřej Bílka <neleai@seznam.cz>
18025
9bb2a810 18026 [BZ #14176]
a065ceff
OB
18027 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18028
a600e5ce
RM
180292013-03-19 Roland McGrath <roland@hack.frob.com>
18030
18031 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18032 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18033 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18034 [!BEFORE_ABORT] (before_abort): New function.
18035 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18036 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18037 (writev_for_fatal): New function.
18038 (WRITEV_FOR_FATAL): New macro; call that.
18039 (backtrace_and_maps): New function.
18040 (BEFORE_ABORT): New macro; call that.
18041 (struct str_list): Type removed.
18042 (__libc_message, __libc_fatal): Functions removed.
18043 Include <sysdeps/posix/libc_fatal.c> instead.
18044
6b18bea6
JM
180452013-03-19 Joseph Myers <joseph@codesourcery.com>
18046
18047 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18048 constants.
18049 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18050 double constants.
18051
aaa8cb4b
AS
180522013-03-19 Andreas Schwab <schwab@suse.de>
18053
44673770
AS
18054 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18055 * sysdeps/gnu/configure: Regenerate.
18056
aaa8cb4b
AS
18057 * configure.in: Substitute libc_cv_rtlddir.
18058 * configure: Regenerate.
18059 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18060 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18061 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18062 * elf/Makefile (install-others, CFLAGS-interp.c)
18063 (ldso_install, common-ldd-rewrite): Likewise.
18064 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18065 $(inst_slibdir)/$(rtld-installed-name).
18066 * scripts/rellns-sh: Add -p option.
18067 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18068 for source.
18069
d3cfc668
SP
180702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18071
18072 * manual/nptl.texi: Renamed to ...
18073 * manual/threads.texi: ... this.
18074 * manual/Makefile (chapters): Update.
18075
0e2b9cdd
RM
180762013-03-18 Roland McGrath <roland@hack.frob.com>
18077
18078 [BZ #14812]
18079 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18080 on argument names, not just descriptions.
0e2b9cdd
RM
18081 * malloc/memusagestat.c (options): Likewise.
18082 * nss/getent.c (options): Likewise.
63270c24
RM
18083
180842013-03-18 Benno Schulenberg <bensberg@justemail.net>
18085
18086 [BZ #14812]
18087 * iconv/iconv_prog.c (options): Put N_ translation marker
18088 on argument names, not just descriptions.
18089 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18090
b2e1393c
OB
180912013-03-18 Ondrej Bilka <neleai@seznam.cz>
18092
18093 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18094 implementation which is faster on all x86_64 architectures.
18095 Tested on AMD, Intel Nehalem, SNB, IVB.
18096 * sysdeps/x86_64/strnlen.S: Likewise.
18097
18098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18099 Remove all multiarch strlen and strnlen versions.
18100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18101 Remove strlen and strnlen related parts.
18102
18103 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18104 Inline strlen part.
18105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18106
18107 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18108 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18109 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18110 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18111 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18112 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18113
ec4ff04d
CD
181142013-03-17 Carlos O'Donell <carlos@redhat.com>
18115
18116 * manual/memory.texi (Malloc Tunable Parameters):
18117 Sort parameters alphabetically. Add comments for missing entries.
18118
cd18e90a
DM
181192013-03-17 David S. Miller <davem@davemloft.net>
18120
18121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18122
2a185d32
JM
181232013-03-16 Joseph Myers <joseph@codesourcery.com>
18124
d2f9799e
JM
18125 [BZ #15283]
18126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18127 for arguments at most half maximum finite value.
18128 * math/libm-test.inc (j0_test): Add more tests.
18129 (j1_test): Likewise.
18130 (y0_test): Likewise.
18131 (y1_test): Likewise.
18132 * sysdeps/i386/fpu/libm-test-ulps: Update.
18133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18134
2a185d32
JM
18135 [BZ #14155]
18136 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18137 1 / x and functions P and Q for arguments above 0x1p256L.
18138 (__ieee754_y0l): Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18140 (__ieee754_y1l): Likewise.
18141 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18142 (j1_test): Likewise.
18143 (y0_test): Likewise.
18144 (y1_test): Likewise.
18145
6cbec759
TS
181462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18147
18148 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18149 variable.
18150
bc16e260
RM
181512013-03-15 Roland McGrath <roland@hack.frob.com>
18152
aefc9b8c
RM
18153 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18154 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18155 zero since it's initialized to EXEC_PAGESIZE.
18156
bc16e260
RM
18157 * sysdeps/unix/sysv/linux/ldsodefs.h
18158 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18159 * sysdeps/generic/ldsodefs.h: ... here.
18160
a57da955
TS
181612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18162
af00a34d
TS
18163 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18164
495ded2c
TS
18165 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18166 math/test-snan.c.
18167 * math/test-snan.c: Renamed from
18168 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18169 * math/Makefile (tests): Add test-snan.
18170 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18171 test-powerpc-snan.
18172
777b0332
TS
18173 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18174 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18175 functions.
18176 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18177 __builtin_nan family of functions.
18178 * math/libm-test.inc (initialize): Initialize qnan_value with
18179 __builtin_nan family of functions.
18180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18181 Remove variables.
18182 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18183 Remove functions.
18184 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18185 storage class. Initialize qNaN_var and sNaN_var with
18186 __builtin_nan and __builtin_nans families of functions,
18187 respectively.
18188
64d063b8
TS
18189 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18190 (sqrt_test): Remove duplicate test with qNaN input.
18191 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18192 (round_test, signbit_test, significand_test): Note missing +/-Inf
18193 as well as qNaN tests.
18194
67e971f1
TS
18195 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18196 qNaN_var. Fix a few strings, too.
18197 * math/libm-test.inc (nan_value): Rename to qnan_value.
18198 * math/gen-libm-test.pl (%beautify): Adjust to that.
18199 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18200 * math/test-misc.c (main): Likewise.
18201 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18202 to __qnan_bytes, and __qnan_union, respectively.
18203 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18204 Likewise.
18205 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18206 and lqnanval, respectively.
18207 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18208 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18209 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18210 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18211
64487e12
TS
18212 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18213 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18214 doubles.
18215
e015e27b
TS
18216 * math/test-misc.c (main): Fix copy'n'pastos.
18217 * misc/tst-efgcvt.c (special): Likewise.
18218
a57da955
TS
18219 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18220 Remove declarations.
18221
1e380345
SP
182222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18223
18224 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18225 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18226 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18227 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18228
ef26eece
AZ
182292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18230
18231 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18232 macro to return vdso values correctly in IFUNC implementations.
18233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18234 Optimization by using IFUNC.
18235
8cfdb7e0
SP
182362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18237 Richard Henderson <rth@redhat.com>
18238 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18239
18240 * Makefile.in (bench): New target.
18241 * NEWS: Mention the benchmark framework.
18242 * Rules (bench): Likewise.
18243 (binaries-bench): Generate binaries for functions to
18244 benchmark.
18245 * benchtests/Makefile: New makefile for benchmark tests.
18246 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18247 programs.
18248 * benchtests/exp-inputs: New input file for EXP function.
18249 * benchtests/pow-inputs: New input file for POW function.
18250 * scripts/bench.pl: New script to generate source files for
18251 benchmark programs.
18252
bcda9880
SP
182532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18254
d22ca8cd
SP
18255 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18256 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18257 computations on mantissa. Use macros for rounding and
18258 division.
18259 (denorm): Likewise.
18260 (__dbl_mp): Likewise.
18261 (add_magnitudes): Likewise.
18262 (sub_magnitudes): Likewise.
18263 (__mul): Likewise.
18264 (__sqr): Likewise.
18265 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18266 powers of two in terms of TWOPOW macro.
18267 (mp_no): Make type of mantissa as MANTISSA_T.
18268 [!RADIXI]: Define RADIXI.
18269 [!TWO52]: Define TWO52.
18270 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18271
bcda9880
SP
18272 * manual/nptl.texi (cindex): Modify threads to pthreads.
18273
06d5adfb
JM
182742013-03-15 Joseph Myers <joseph@codesourcery.com>
18275
18276 * sysdeps/x86_64/preconfigure: Regenerated.
18277
41c7328e
JM
182782013-03-14 Joseph Myers <joseph@codesourcery.com>
18279
18280 [BZ #14155]
18281 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18282 0x1p28 and above.
18283 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18284 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18285 0x1p28 and above.
18286 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18287 * math/libm-test.inc (j0_test): Do not allow one spurious
18288 underflow exception.
18289 (y1_test): Likewise.
18290
e25cfa60
SP
182912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18292
0409959c
SP
18293 * manual/Makefile (chapters): Add nptl.
18294 * manual/debug.texi (Debugging Support): Add link to Threads
18295 chapter.
18296 * manual/nptl.texi: New file.
18297
e25cfa60
SP
18298 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18299
58a1335e
PB
183002013-03-14 Petr Baudis <pasky@ucw.cz>
18301
18302 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18303 for non-NULL pointer before the memory validity test. Pointed
18304 out by Holger Brunck <holger.brunck@keymile.com>.
18305
9dc7c64f
AS
183062013-03-13 Andreas Schwab <schwab@suse.de>
18307
18308 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18309 instead of .os.
18310
54206aa6
JM
183112013-03-13 Joseph Myers <joseph@codesourcery.com>
18312
18313 * timezone/zic.c: Update from tzcode 2013b.
18314
e98cdb38
CD
183152013-03-12 Carlos O'Donell <carlos@redhat.com>
18316
18317 * manual/install.texi (Configuring and compiling):
18318 Mention i686 and i586.
18319 * INSTALL: Regenerate.
18320
9967e003
RM
183212013-03-12 Roland McGrath <roland@hack.frob.com>
18322
18323 * sysdeps/init_array/elf-init.c: New file.
18324 * csu/elf-init.c
18325 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18326 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18327
18328 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18329 __gmon_start__ as global, but as static with a .preinit_array pointer.
18330 * sysdeps/init_array/gmon-start.c: New file. Use that.
18331 * sysdeps/init_array/crti.S: New file, empty except for comments.
18332 * sysdeps/init_array/crtn.S: Likewise.
18333
e6b5a293 183342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18335
18336 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18337 definining bcopy.
80f844c9
OB
18338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18339 Remove Prefer_SSE_for_memop.
18340 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18341 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18342 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18344 memset-x86-64.
80f844c9 18345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18346 Remove bzero, memset ifunc support.
80f844c9
OB
18347 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18348 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18349 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18350 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18351
fb6b0fcb
AS
183522013-03-11 Andreas Schwab <schwab@suse.de>
18353
18354 [BZ #15234]
18355 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18356 by SHLIB_COMPAT.
18357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18358 (GLIBC_2.16): Remove pthread_atfork.
18359
3e6bd4b1
PP
183602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18361
18362 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18363 (ptestcases.h): Likewise.
18364
222d7f00
RM
183652013-03-08 Roland McGrath <roland@hack.frob.com>
18366
18367 * Makeconfig ($(common-objpfx)config.status): Depend on
18368 sysdeps/*/preconfigure{,.in} too.
18369
1ba4f030
JM
183702013-03-08 Joseph Myers <joseph@codesourcery.com>
18371
a222d91a
JM
18372 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18373 (__free_hook): Use void * instead of __malloc_ptr_t.
18374 (__malloc_hook): Likewise.
18375 (__realloc_hook): Likewise.
18376 (__memalign_hook): Likewise.
18377 (__after_morecore_hook): Likewise.
18378 * malloc/arena.c (save_malloc_hook): Likewise.
18379 (save_free_hook): Likewise.
18380 * malloc/hooks.c (malloc_hook_ini): Likewise.
18381 (realloc_hook_ini): Likewise.
18382 (memalign_hook_ini): Likewise.
18383 * malloc/malloc.c (malloc_hook_ini): Likewise.
18384 (realloc_hook_ini): Likewise.
18385 (memalign_hook_ini): Likewise.
18386 (__free_hook): Likewise.
18387 (__malloc_hook): Likewise.
18388 (__realloc_hook): Likewise.
18389 (__memalign_hook): Likewise.
18390 (__libc_malloc): Likewise.
18391 (__libc_free): Likewise.
18392 (__libc_realloc): Likewise.
18393 (__libc_memalign): Likewise.
18394 (__libc_valloc): Likewise.
18395 (__libc_pvalloc): Likewise.
18396 (__libc_calloc): Likewise.
18397 (__posix_memalign): Likewise.
18398 * malloc/morecore.c (__sbrk): Likewise.
18399 (__default_morecore): Likewise.
18400
5cc45e10
JM
18401 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18402
dd54b864
JM
18403 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18404 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18405 __malloc_ptrdiff_t.
18406
1ba4f030
JM
18407 * malloc/malloc.h (__malloc_size_t): Remove macro.
18408 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18409 __malloc_size_t.
18410 (old_memalign_hook): Likewise.
18411 (old_realloc_hook): Likewise.
18412 (struct hdr): Likewise.
18413 (flood): Likewise.
18414 (mallochook): Likewise.
18415 (memalignhook): Likewise.
18416 (reallochook): Likewise.
18417 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18418 (tr_old_realloc_hook): Likewise.
18419 (tr_old_memalign_hook): Likewise.
18420 (tr_mallochook): Likewise.
18421 (tr_reallochook): Likewise.
18422 (tr_memalignhook): Likewise.
18423
edf66e57
AZ
184242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18425
18426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18427 default_ldbl_pack and using as default implementation.
18428 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18429 implementation.
18430 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18431 redundant definition.
18432 (ldbl_insert_mantissa): Likewise.
18433 (ldbl_canonicalize): Likewise.
18434 (ldbl_nearbyint): Likewise.
18435 (ldbl_pack): Rename to ldbl_pack_ppc.
18436 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18437 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18438 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18439
6d9145d8
SP
184402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
18442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18443 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18445 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18447 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18448 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18449 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18450
4dd4e157
AJ
184512013-03-07 Andreas Jaeger <aj@suse.de>
18452
18453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18454 bits/mman-linux.h.
18455
adbb8027
SP
184562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18457
ce544b5b
SP
18458 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18459 Include mpa.h and declare __MPEXP.
18460 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18461 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18462 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18463 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18464 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18465 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18466 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18467
4cc149fd
SP
18468 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18469 (__slowpow): Use long double EXPL and LOGL functions to
18470 compute POW.
18471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18472 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18475 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18476 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18477
e6ebd4a7
SP
18478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18479 intermediate variable to calculate exponent.
18480 (__sqr): Likewise.
18481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18482 Likewise.
18483 (__sqr): Likewise.
18484
82a9811d
SP
18485 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18486 [!NO__SQR]: Define __sqr.
18487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18488 and NO__SQR. Remove all code except __mul and __sqr. Include
18489 sysdeps/ieee754/dbl-64/mpa.c.
18490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18491
adbb8027
SP
18492 [BZ #12723]
18493 * posix/Makefile (tests): Add tst-pathconf.
18494 * posix/tst-pathconf.c: New test case.
18495 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18496 _PC_PIPE_BUF.
18497 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18498
39120df9
PF
184992013-03-06 Patsy Franklin <pfrankli@redhat.com>
18500
18501 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18502
67525cb8
AJ
185032013-03-06 Andreas Jaeger <aj@suse.de>
18504
664a9ce4
AJ
18505 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18506 definition via __MAP_ANONYMOUS.
18507
8e39047d
AJ
18508 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18509 it's not part of Linux headers.
18510
67525cb8
AJ
18511 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18512 (MAP_HUGE_MASK): Define.
18513
18514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18515 Define.
18516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18517 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18518 Define.
18519 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18520 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18521 Define.
18522 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18524 Define.
18525 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18526
18527 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18528 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18529 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18530 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18531 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18532 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18533
18534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18535 Handle f2fs.
18536
18537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18538 Handle f2fs and efivarfs.
18539
18540 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18541 f2fs.
18542
18543 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18544 (EFIVARFS_MAGIC): Add.
18545 (F2FS_LINK_MAX): Add.
18546
e1b42695
PP
185472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18548
18549 * stdio-common/vfprintf.c: Replace __builtin_expect with
18550 __glibc_unlikely.
18551
2d67d91a
JM
185522013-03-06 Joseph Myers <joseph@codesourcery.com>
18553
18554 [BZ #13550]
18555 * sysdeps/generic/bp-sym.h: Remove file.
18556 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18557 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18558 <bp-sym.h> and <bp-asm.h>.
18559 (__longjmp): Don't use BP_SYM.
18560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18561 and <bp-asm.h>.
18562 (memcpy): Don't use BP_SYM.
18563 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18564 <bp-sym.h> and <bp-asm.h>.
18565 (memcpy): Don't use BP_SYM.
18566 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18567 <bp-asm.h>.
18568 (memcpy): Don't use BP_SYM.
18569 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18570 <bp-asm.h>.
18571 (memset): Don't use BP_SYM.
18572 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18573 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18574 (__bzero): Don't use BP_SYM.
18575 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18576 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18578 <bp-sym.h> and <bp-asm.h>.
18579 (memcmp): Don't use BP_SYM. Remove comment about bounded
18580 pointers.
18581 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18582 <bp-sym.h> and <bp-asm.h>.
18583 (memcpy): Don't use BP_SYM.
18584 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18585 <bp-sym.h> and <bp-asm.h>.
18586 (memset): Don't use BP_SYM.
18587 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18588 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18589 (__bzero): Don't use BP_SYM.
18590 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18591 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18592 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18593 <bp-sym.h> and <bp-asm.h>.
18594 (strncmp): Don't use BP_SYM. Remove comment about bounded
18595 pointers.
18596 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18597 <bp-sym.h> and <bp-asm.h>.
18598 (memcpy): Don't use BP_SYM.
18599 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18600 <bp-sym.h> and <bp-asm.h>.
18601 (memset): Don't use BP_SYM.
18602 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18603 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18604 (__bzero): Don't use BP_SYM.
18605 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18606 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18608 <bp-sym.h> and <bp-asm.h>.
18609 (__memchr): Don't use BP_SYM.
18610 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18611 <bp-sym.h> and <bp-asm.h>.
18612 (memcmp): Don't use BP_SYM. Remove comment about bounded
18613 pointers.
18614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18615 <bp-sym.h> and <bp-asm.h>.
18616 (memcpy): Don't use BP_SYM.
18617 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18618 <bp-sym.h> and <bp-asm.h>.
18619 (__mempcpy): Don't use BP_SYM.
18620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18621 <bp-sym.h> and <bp-asm.h>.
18622 (__memrchr): Don't use BP_SYM.
18623 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18624 <bp-sym.h> and <bp-asm.h>.
18625 (memset): Don't use BP_SYM.
18626 (__bzero): Likewise.
18627 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18628 <bp-sym.h> and <bp-asm.h>.
18629 (__rawmemchr): Don't use BP_SYM.
18630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18631 <bp-sym.h> and <bp-asm.h>.
18632 (__STRCMP): Don't use BP_SYM.
18633 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18634 <bp-sym.h> and <bp-asm.h>.
18635 (strchr): Don't use BP_SYM.
18636 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18637 <bp-sym.h> and <bp-asm.h>.
18638 (__strchrnul): Don't use BP_SYM.
18639 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18640 <bp-sym.h> and <bp-asm.h>.
18641 (strlen): Don't use BP_SYM.
18642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18643 <bp-sym.h> and <bp-asm.h>.
18644 (strncmp): Don't use BP_SYM. Remove comment about bounded
18645 pointers.
18646 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18647 <bp-sym.h> and <bp-asm.h>.
18648 (__strnlen): Don't use BP_SYM.
18649 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18650 <bp-sym.h> and <bp-asm.h>.
18651 (__GI__setjmp): Don't use BP_SYM.
18652 (_setjmp): Likewise.
18653 (__sigsetjmp): Likewise.
18654 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18655 (L(start_addresses)): Don't use BP_SYM.
18656 (_start): Likewise.
18657 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18658 <bp-asm.h>.
18659 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18660 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18661 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18662 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18663 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18664 <bp-asm.h>.
18665 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18666 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18667 about bounded pointers.
18668 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18669 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18670 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18671 <bp-asm.h>.
18672 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18673 about bounded pointers. Remove GKM FIXME comments.
18674 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18675 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18676 <bp-asm.h>.
18677 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18678 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18679 Remove GKM FIXME comments.
18680 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18681 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18682 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18683 <bp-asm.h>.
18684 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18685 about bounded pointers. Remove GKM FIXME comment.
18686 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18687 and <bp-asm.h>.
18688 (strncmp): Don't use BP_SYM. Remove comment about bounded
18689 pointers.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18691 <bp-sym.h> and <bp-asm.h>.
18692 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18694 <bp-sym.h> and <bp-asm.h>.
18695 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18696 comment.
18697
cdcf361f
PP
186982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18699
18700 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18701 call free(NULL).
18702
3c4a2b15
DM
187032013-03-05 David S. Miller <davem@davemloft.net>
18704
18705 * po/es.po: Update from translation team.
18706
cdcf361f 187072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18708
18709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18710 <bits/mman-linux.h>.
18711 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18712 is fine.
18713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18714 <bits/mman-linux.h> to end of file.
18715 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18716 is fine.
18717 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18718 <bits/mman-linux.h> to end of file.
18719 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18720 is fine.
18721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18722 <bits/mman-linux.h> to end of file.
18723
18724 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18725 (MCL_CURRENT, MCL_FUTURE): Define here.
18726
5f67c04f
AK
187272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18728
8a4473cc 18729 [BZ #15232]
5f67c04f
AK
18730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18731 attribute_hidden.
18732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18733
c3e94a95
AK
187342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18735
18736 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18737 fourth parameter needed for rt_sigprocmask syscall.
18738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18739 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18740 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18741 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18742 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18743 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18744
cfb6382a
JM
187452013-03-04 Joseph Myers <joseph@codesourcery.com>
18746
18747 [BZ #13550]
18748 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18749 comment about bounded pointers.
18750 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18751 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18752
539d8e01
AJ
187532013-03-04 Andreas Jaeger <aj@suse.de>
18754
18755 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18756 common definitions.
18757
18758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18759 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18760 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18761 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18764
2e167a70 187652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18766
18767 [BZ #15055]
18768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18769 __ieee754_sqrl instead of __sqrl.
18770
68508633
JM
187712013-03-01 Joseph Myers <joseph@codesourcery.com>
18772
18773 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18774 * sysdeps/powerpc/fpu_control.h: ... here.
18775 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18776 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18777 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18778 * sysdeps/powerpc/bits/mathinline.h: ... here.
18779
7775448e
RM
187802013-03-01 Roland McGrath <roland@hack.frob.com>
18781
18782 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18783 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18784 to just [NEED_DL_SYSINFO_DSO].
18785 * elf/dl-support.c: Likewise.
18786 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18787 * elf/rtld.c (dl_main): Likewise.
18788 * elf/setup-vdso.h (setup_vdso): Likewise.
18789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18790 * sysdeps/unix/sysv/linux/dl-sysdep.c
18791 (_dl_discover_osversion): Likewise.
18792
4e9b5995
CD
187932013-03-01 Carlos O'Donell <carlos@redhat.com>
18794
18795 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18796 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18797
e23872c8
SP
187982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18799
e5c74c63
SP
18800 * NEWS: Mention libm performance improvements and non-x86 PI
18801 futex support.
18802
e23872c8
SP
18803 * csu/libc-start.c (__pthread_initialize_minimal): Change
18804 function arguments.
18805 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18806
b5510883
JM
188072013-02-28 Joseph Myers <joseph@codesourcery.com>
18808
18809 [BZ #13550]
18810 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18811 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18812 <bp-sym.h> and <bp-asm.h>.
18813 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18814 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18815 and <bp-asm.h>.
18816 (memcpy): Don't use BP_SYM.
18817 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18818 <bp-asm.h>.
18819 (__mpn_add_n): Don't use BP_SYM.
18820 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18821 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18822 and <bp-asm.h>.
18823 (__mpn_addmul_1): Don't use BP_SYM.
18824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18825 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18826 <bp-sym.h>.
18827 (_setjmp): Don't use BP_SYM.
18828 (__novmx_setjmp): Likewise.
18829 (__GI__setjmp): Likewise.
18830 (__vmx_setjmp): Likewise.
18831 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18832 <bp-sym.h>.
18833 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18834 (__bzero): Don't use BP_SYM.
18835 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18836 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18837 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18838 <bp-sym.h> and <bp-asm.h>.
18839 (memcpy): Don't use BP_SYM.
18840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18841 <bp-sym.h> and <bp-asm.h>.
18842 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18843 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18844 <bp-sym.h> and <bp-asm.h>.
18845 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18846 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18847 <bp-asm.h>.
18848 (__mpn_lshift): Don't use BP_SYM.
18849 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18850 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18851 <bp-asm.h>.
18852 (memset): Don't use BP_SYM.
18853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18855 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18856 <bp-asm.h>.
18857 (__mpn_mul_1): Don't use BP_SYM.
18858 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18860 <bp-sym.h> and <bp-asm.h>.
18861 (memcmp): Don't use BP_SYM.
18862 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18863 <bp-sym.h> and <bp-asm.h>.
18864 (memcpy): Don't use BP_SYM.
18865 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18866 <bp-sym.h> and <bp-asm.h>.
18867 (memset): Don't use BP_SYM.
18868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18869 <bp-sym.h> and <bp-asm.h>.
18870 (strncmp): Don't use BP_SYM.
18871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18872 <bp-sym.h> and <bp-asm.h>.
18873 (memcpy): Don't use BP_SYM.
18874 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18875 <bp-sym.h> and <bp-asm.h>.
18876 (memset): Don't use BP_SYM.
18877 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18878 <bp-sym.h> and <bp-asm.h>.
18879 (__memchr): Don't use BP_SYM.
18880 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18881 <bp-sym.h> and <bp-asm.h>.
18882 (memcmp): Don't use BP_SYM.
18883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18884 <bp-sym.h> and <bp-asm.h>.
18885 (memcpy): Don't use BP_SYM.
18886 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18887 <bp-sym.h> and <bp-asm.h>.
18888 (__mempcpy): Don't use BP_SYM.
18889 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18890 <bp-sym.h> and <bp-asm.h>.
18891 (__memrchr): Don't use BP_SYM.
18892 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18893 <bp-sym.h> and <bp-asm.h>.
18894 (memset): Don't use BP_SYM.
18895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18896 <bp-sym.h> and <bp-asm.h>.
18897 (__rawmemchr): Don't use BP_SYM.
18898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18899 <bp-sym.h> and <bp-asm.h>.
18900 (__STRCMP): Don't use BP_SYM.
18901 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18902 <bp-sym.h> and <bp-asm.h>.
18903 (strchr): Don't use BP_SYM.
18904 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18905 <bp-sym.h> and <bp-asm.h>.
18906 (__strchrnul): Don't use BP_SYM.
18907 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18908 <bp-sym.h> and <bp-asm.h>.
18909 (strlen): Don't use BP_SYM.
18910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18911 <bp-sym.h> and <bp-asm.h>.
18912 (strncmp): Don't use BP_SYM.
18913 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18914 <bp-sym.h> and <bp-asm.h>.
18915 (__strnlen): Don't use BP_SYM.
18916 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18917 <bp-asm.h>.
18918 (__mpn_rshift): Don't use BP_SYM.
18919 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18920 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18921 <bp-sym.h> and <bp-asm.h>.
18922 (__sigsetjmp): Don't use BP_SYM.
18923 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18924 (L(start_addresses)): Don't use BP_SYM.
18925 (_start): Likewise.
18926 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18927 <bp-asm.h>.
18928 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18931 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18932 <bp-asm.h>.
18933 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18934 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18935 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18936 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18937 <bp-asm.h>.
18938 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18939 comments.
18940 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18941 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18942 <bp-asm.h>.
18943 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18944 FIXME comments.
18945 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18946 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18947 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18948 <bp-asm.h>.
18949 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18950 comment.
18951 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18952 and <bp-asm.h>.
18953 (strncmp): Don't use BP_SYM,
18954 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18955 <bp-asm.h>.
18956 (__mpn_sub_n): Don't use BP_SYM.
18957 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18958 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18959 and <bp-asm.h>.
18960 (__mpn_submul_1): Don't use BP_SYM.
18961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18963 <bp-sym.h> and <bp-asm.h>.
18964 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18966 <bp-sym.h> and <bp-asm.h>.
18967 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18968 comment.
18969
8d19fe64
SP
189702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18971
18972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18973 Use ZK to minimize writes to Z.
18974 (sub_magnitudes): Simplify code a bit.
18975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18976 Use ZK to minimize writes to Z.
18977 (sub_magnitudes): Simplify code a bit.
18978
85bd816a
RM
189792013-02-27 Roland McGrath <roland@hack.frob.com>
18980
18981 * csu/gmon-start.c: Add special exception to license text.
18982
b5977bf2
RH
189832013-02-27 Richard Henderson <rth@redhat.com>
18984
18985 * scripts/config.guess: Update from config.git.
18986 * scripts/config.sub: Likewise.
18987
11d6e2f2
SP
189882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18989
09c14ed2
SP
18990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18991
a688864e
SP
18992 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18993
6295157a
SP
18994 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18995
b8de2202
SP
18996 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18997
11d6e2f2
SP
18998 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18999
7e80ddb8
RM
190002013-02-26 Roland McGrath <roland@hack.frob.com>
19001
19002 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19003 [$(build-shared = yes].
7e80ddb8 19004
7da6d9ed
SP
190052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19006
45f05884
SP
19007 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19008 (__mul): Reduce iterations for calculating mantissa.
19009
2236d359
SP
19010 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19011 MPTWO.
19012 (__mpranred): Likewise.
19013
7da6d9ed
SP
19014 [BZ #15160]
19015 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19016 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19017
b7688c42
PE
190182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19019
19020 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19021 Define __attribute__.
19022
53a5c423
SP
190232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19024
19025 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19026 unused.
19027 * posix/regex_internal.h (__attribute): Remove.
19028 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19029 (re_string_context_at): Likewise.
19030 (bitset_not): Use __attribute__ and mark function as possibly
19031 unused.
19032 (bitset_merge): Likewise.
19033 (bitset_mask): Likewise.
19034 (re_string_char_size_at): Likewise.
19035 (re_string_wchar_at): Likewise.
19036 (re_string_elem_size_at): Likewise.
19037
60f5a8b5
SP
190382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19039
2a983a2e
SP
19040 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19041 code.
19042 (cc32): Likewise.
19043
e69804d1
SP
19044 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19045 (__acr): Likewise.
19046 (__cpy): Likewise.
19047 (norm): Likewise.
19048 (denorm): Likewise.
19049 (__dbl_mp): Likewise.
19050 (add_magnitudes): Likewise.
19051 (sub_magnitudes): Likewise.
19052 (__mul): Likewise.
19053 (__inv): Likewise.
19054
2f22a1e8
SP
19055 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19056 style.
19057
8930ddc7
SP
19058 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19059 style.
19060
dc60cb11
SP
19061 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19062 code.
19063
60f5a8b5
SP
19064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19065 up changes with default code.
19066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19067 Likewise.
19068
b4d1fd33
AM
190692013-02-24 Allan McRae <allan@archlinux.org>
19070
faf6f8bc
AM
19071 * manual/socket.texi (The Internet Namespace): Order menu items
19072 to match that in the file.
19073
b4d1fd33
AM
19074 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19075 node listing of the info page menu.
19076
2366713d
JM
190772013-02-21 Joseph Myers <joseph@codesourcery.com>
19078
19079 [BZ #13550]
19080 * sysdeps/i386/bp-asm.h: Remove file.
19081 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19082 (PARMS): Do not use macros from bp-asm.h.
19083 (S1): Likewise.
19084 (S2): Likewise.
19085 (SIZE): Likewise.
19086 (__mpn_add_n): Do not use BP_SYM
19087 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19088 "bp-asm.h".
19089 (PARMS): Do not use macros from bp-asm.h.
19090 (S1): Likewise.
19091 (SIZE): Likewise.
19092 (__mpn_addmul_1): Do not use BP_SYM
19093 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19094 "bp-asm.h".
19095 (PARMS): Do not use macros from bp-asm.h.
19096 (SIGMSK): Likewise.
19097 (_setjmp): Likewise. Do not use BP_SYM.
19098 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19099 "bp-asm.h".
19100 (PARMS): Do not use macros from bp-asm.h.
19101 (SIGMSK): Likewise.
19102 (setjmp): Likewise. Do not use BP_SYM.
19103 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19104 "bp-asm.h".
19105 (PARMS): Do not use macros from bp-asm.h.
19106 (__frexp): Do not use BP_SYM.
19107 (frexp): Likewise.
19108 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19109 "bp-asm.h".
19110 (PARMS): Do not use macros from bp-asm.h.
19111 (__frexpf): Do not use BP_SYM.
19112 (frexpf): Likewise.
19113 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19114 "bp-asm.h".
19115 (PARMS): Do not use macros from bp-asm.h.
19116 (__frexpl): Do not use BP_SYM.
19117 (frexpl): Likewise.
19118 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19119 "bp-asm.h".
19120 (PARMS): Do not use macros from bp-asm.h.
19121 (__remquo): Do not use BP_SYM.
19122 (remquo): Likewise.
19123 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19124 "bp-asm.h".
19125 (PARMS): Do not use macros from bp-asm.h.
19126 (__remquof): Do not use BP_SYM.
19127 (remquof): Likewise.
19128 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19129 "bp-asm.h".
19130 (PARMS): Do not use macros from bp-asm.h.
19131 (__remquol): Do not use BP_SYM.
19132 (remquol): Likewise.
19133 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19134 "bp-asm.h".
19135 (PARMS): Do not use macros from bp-asm.h.
19136 (DEST): Likewise.
19137 (SRC): Likewise.
19138 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19139 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19140 "bp-asm.h".
19141 (PARMS): Do not use macros from bp-asm.h.
19142 (strlen): Do not use BP_SYM.
19143 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19144 "bp-asm.h".
19145 (PARMS): Do not use macros from bp-asm.h.
19146 (S1): Likewise.
19147 (S2): Likewise.
19148 (SIZE): Likewise.
19149 (__mpn_add_n): Do not use BP_SYM.
19150 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19151 "bp-asm.h".
19152 (PARMS): Do not use macros from bp-asm.h.
19153 (S1): Likewise.
19154 (SIZE): Likewise.
19155 (__mpn_addmul_1): Do not use BP_SYM.
19156 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19157 weak_alias.
19158 (bzero): Likewise.
19159 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19160 "bp-asm.h".
19161 (PARMS): Do not use macros from bp-asm.h.
19162 (S): Likewise.
19163 (SIZE): Likewise.
19164 (__mpn_lshift): Do not use BP_SYM.
19165 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19166 "bp-asm.h".
19167 (PARMS): Do not use macros from bp-asm.h.
19168 (DEST): Likewise.
19169 (SRC): Likewise.
19170 (LEN): Likewise.
19171 (memcpy): Likewise. Do not use BP_SYM.
19172 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19173 libc_hidden_def and weak_alias.
19174 (mempcpy): Do not use BP_SYM in weak_alias.
19175 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19176 "bp-asm.h".
19177 (PARMS): Do not use macros from bp-asm.h.
19178 (DEST): Likewise.
19179 (LEN): Likewise.
19180 [!BZERO_P] (CHR): Likewise.
19181 (memset): Likewise. Do not use BP_SYM.
19182 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19183 "bp-asm.h".
19184 (PARMS): Do not use macros from bp-asm.h.
19185 (S1): Likewise.
19186 (SIZE): Likewise.
19187 (__mpn_mul_1): Do not use BP_SYM.
19188 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19189 "bp-asm.h".
19190 (PARMS): Do not use macros from bp-asm.h.
19191 (S): Likewise.
19192 (SIZE): Likewise.
19193 (__mpn_rshift): Do not use BP_SYM.
19194 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19195 "bp-asm.h".
19196 (PARMS): Do not use macros from bp-asm.h.
19197 (STR): Likewise.
19198 (CHR): Likewise.
19199 (strchr): Likewise. Do not use BP_SYM.
19200 (index): Do not use BP_SYM in weak_alias.
19201 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19202 "bp-asm.h".
19203 (PARMS): Do not use macros from bp-asm.h.
19204 (DEST): Likewise.
19205 (SRC): Likewise.
19206 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19207 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19208 "bp-asm.h".
19209 (PARMS): Do not use macros from bp-asm.h.
19210 (strlen): Do not use BP_SYM.
19211 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19212 "bp-asm.h".
19213 (PARMS): Do not use macros from bp-asm.h.
19214 (S1): Likewise.
19215 (S2): Likewise.
19216 (SIZE): Likewise.
19217 (__mpn_sub_n): Do not use BP_SYM.
19218 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19219 "bp-asm.h".
19220 (PARMS): Do not use macros from bp-asm.h.
19221 (S1): Likewise.
19222 (SIZE): Likewise.
19223 (__mpn_submul_1): Do not use BP_SYM.
19224 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19225 "bp-asm.h".
19226 (PARMS): Do not use macros from bp-asm.h.
19227 (S1): Likewise.
19228 (S2): Likewise.
19229 (SIZE): Likewise.
19230 (__mpn_add_n): Do not use BP_SYM.
19231 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19232 weak_alias.
19233 (bzero): Likewise.
19234 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19235 "bp-asm.h".
19236 (PARMS): Do not use macros from bp-asm.h.
19237 (BLK2): Likewise.
19238 (LEN): Likewise.
19239 (memcmp): Do not use BP_SYM.
19240 (bcmp): Do not use BP_SYM in weak_alias.
19241 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19242 "bp-asm.h".
19243 (PARMS): Do not use macros from bp-asm.h.
19244 (DEST): Likewise.
19245 (SRC): Likewise.
19246 (LEN): Likewise.
19247 (memcpy): Likewise. Do not use BP_SYM.
19248 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19249 "bp-asm.h".
19250 (PARMS): Do not use macros from bp-asm.h.
19251 (DEST): Likewise.
19252 (SRC): Likewise.
19253 (LEN): Likewise.
19254 (memmove): Likewise. Do not use BP_SYM.
19255 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19256 "bp-asm.h".
19257 (PARMS): Do not use macros from bp-asm.h.
19258 (DEST): Likewise.
19259 (SRC): Likewise.
19260 (LEN): Likewise.
19261 (__mempcpy): Likewise. Do not use BP_SYM.
19262 (mempcpy): Do not use BP_SYM in weak_alias.
19263 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19264 "bp-asm.h".
19265 (PARMS): Do not use macros from bp-asm.h.
19266 (DEST): Likewise.
19267 (LEN): Likewise.
19268 [!BZERO_P] (CHR): Likewise.
19269 (memset): Likewise. Do not use BP_SYM.
19270 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19271 "bp-asm.h".
19272 (PARMS): Do not use macros from bp-asm.h.
19273 (STR2): Likewise.
19274 (strcmp): Do not use BP_SYM.
19275 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19276 "bp-asm.h".
19277 (PARMS): Do not use macros from bp-asm.h.
19278 (STR): Likewise.
19279 (DELIM): Likewise.
19280 [USE_AS_STRTOK_R] (SAVE): Likewise.
19281 (FUNCTION): Likewise. Do not use BP_SYM.
19282 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19283 aliases.
19284 (strtok_r): Likewise.
19285 (__GI___strtok_r): Likewise.
19286 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19287 (PARMS): Do not use macros from bp-asm.h.
19288 (S): Likewise.
19289 (SIZE): Likewise.
19290 (__mpn_lshift): Do not use BP_SYM.
19291 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19292 (PARMS): Do not use macros from bp-asm.h.
19293 (STR): Likewise.
19294 (CHR): Likewise.
19295 (__memchr): Do not use BP_SYM.
19296 (memchr): Do not use BP_SYM in weak_alias.
19297 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19298 (PARMS): Do not use macros from bp-asm.h.
19299 (BLK2): Likewise.
19300 (LEN): Likewise.
19301 (memcmp): Do not use BP_SYM.
19302 (bcmp): Do not use BP_SYM in weak_alias.
19303 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19304 (PARMS): Do not use macros from bp-asm.h.
19305 (S1): Likewise.
19306 (SIZE): Likewise.
19307 (__mpn_mul_1): Do not use BP_SYM.
19308 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19309 "bp-asm.h".
19310 (PARMS): Do not use macros from bp-asm.h.
19311 (STR): Likewise.
19312 (CHR): Likewise.
19313 (__rawmemchr): Do not use BP_SYM.
19314 (rawmemchr): Do not use BP_SYM in weak_alias.
19315 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19316 (PARMS): Do not use macros from bp-asm.h.
19317 (S): Likewise.
19318 (SIZE): Likewise.
19319 (__mpn_rshift): Do not use BP_SYM.
19320 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19321 (PARMS): Do not use macros from bp-asm.h.
19322 (SIGMSK): Likewise.
19323 (__sigsetjmp): Likewise. Do not use BP_SYM.
19324 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19325 (_start): Do not use BP_SYM.
19326 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19327 (PARMS): Do not use macros from bp-asm.h.
19328 (DEST): Likewise.
19329 (SRC): Likewise.
19330 (__stpcpy): Likewise. Do not use BP_SYM.
19331 (stpcpy): Do not use BP_SYM in weak_alias.
19332 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19333 "bp-asm.h".
19334 (PARMS): Do not use macros from bp-asm.h.
19335 (DEST): Likewise.
19336 (SRC): Likewise.
19337 (LEN): Likewise.
19338 (__stpncpy): Likewise. Do not use BP_SYM.
19339 (stpncpy): Do not use BP_SYM in weak_alias.
19340 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19341 (PARMS): Do not use macros from bp-asm.h.
19342 (STR): Likewise.
19343 (CHR): Likewise.
19344 (strchr): Likewise. Do not use BP_SYM.
19345 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19346 "bp-asm.h".
19347 (PARMS): Do not use macros from bp-asm.h.
19348 (STR): Likewise.
19349 (CHR): Likewise.
19350 (__strchrnul): Likewise. Do not use BP_SYM.
19351 (strchrnul): Do not use BP_SYM in weak_alias.
19352 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19353 "bp-asm.h".
19354 (PARMS): Do not use macros from bp-asm.h.
19355 (STOP): Likewise.
19356 (strcspn): Do not use BP_SYM.
19357 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19358 "bp-asm.h".
19359 (PARMS): Do not use macros from bp-asm.h.
19360 (STR): Likewise.
19361 (STOP): Likewise.
19362 (strpbrk): Likewise. Do not use BP_SYM.
19363 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19364 "bp-asm.h".
19365 (PARMS): Do not use macros from bp-asm.h.
19366 (STR): Likewise.
19367 (CHR): Likewise.
19368 (strrchr): Likewise. Do not use BP_SYM.
19369 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19370 (PARMS): Do not use macros from bp-asm.h.
19371 (SKIP): Likewise.
19372 (strspn): Do not use BP_SYM.
19373 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19374 (PARMS): Do not use macros from bp-asm.h.
19375 (STR): Likewise.
19376 (DELIM): Likewise.
19377 (SAVE): Likewise.
19378 (FUNCTION): Likewise. Do not use BP_SYM.
19379 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19380 aliases.
19381 (strtok_r): Likewise.
19382 (__GI___strtok_r): Likewise.
19383 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19384 (PARMS): Do not use macros from bp-asm.h.
19385 (S1): Likewise.
19386 (S2): Likewise.
19387 (SIZE): Likewise.
19388 (__mpn_sub_n): Do not use BP_SYM.
19389 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19390 "bp-asm.h".
19391 (PARMS): Do not use macros from bp-asm.h.
19392 (S1): Likewise.
19393 (SIZE): Likewise.
19394 (__mpn_submul_1): Do not use BP_SYM.
19395 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19396 <bp-sym.h>.
19397 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19398 and <bp-asm.h>.
19399 (PARMS): Do not use macros from bp-asm.h.
19400 (FLAGS): Likewise.
19401 (PTID): Likewise.
19402 (TLS): Likewise.
19403 (CTID): Likewise.
19404 (__clone): Do not use BP_SYM.
19405 (clone): Do not use BP_SYM in weak_alias.
19406 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19407 and <bp-asm.h>.
19408 (PARMS): Do not use macros from bp-asm.h.
19409 (LEN): Likewise.
19410 (__mmap64): Do not use BP_SYM.
19411 (mmap64): Do not use BP_SYM in weak_alias.
19412 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19413 <bp-sym.h> and <bp-asm.h>.
19414 (PARMS): Do not use macros from bp-asm.h.
19415 (__posix_fadvise64_l64): Do not use BP_SYM.
19416 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19417 (PARMS): Do not use macros from bp-asm.h.
19418 (NSOPS): Likewise.
19419 (semtimedop): Do not use BP_SYM.
19420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19421 and <bp-asm.h>.
19422
582a3cff
AM
194232013-02-21 Allan McRae <allan@archlinux.org>
19424
19425 * manual/message.texi (Charset conversion in gettext):
19426 Move @end statement to beginning of line.
19427
bab8a695
SP
194282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19429
80945231
SP
19430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19431 static.
19432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19433 Likewise.
19434
bab8a695
SP
19435 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19436 (denorm): Likewise.
19437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19439
e21d7aa7
AK
194402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19441
19442 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19443 tail-call to the resolved function if pltexit isn't needed.
19444
4c7a4263
SP
194452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19446
19447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19448 or Y being zero as being unlikely.
19449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19450 Likewise.
19451
41f49342
CD
194522013-02-20 Carlos O'Donell <carlos@redhat.com>
19453
19454 * manual/nss.texi (System Databases and Name Service Switch):
19455 Remove frobnicate @pxref.
19456
50022a93
TS
194572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19458
19459 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19460 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19461
08cbd996
PM
194622013-02-20 Petr Machata <pmachata@redhat.com>
19463
19464 * elf/elf.h (R_ARM_TARGET1): New macro.
19465 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19466 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19467 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19468 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19469 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19470 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19471 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19472 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19473 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19474 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19475 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19476 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19477 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19478 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19479 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19480 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19481 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19482 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19483 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19484 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19485 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19486 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19487 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19488 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19489 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19490 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19491 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19492 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19493 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19494 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19495 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19496 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19497 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19498 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19499 (R_ARM_THM_GOT_BREL12): Likewise.
19500 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19501 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19502 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19503 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19504 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19505 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19506 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19507 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19508 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19509
c7b275d6
TS
195102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19511
19512 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19513 __attribute_used__ to __attribute__ ((unused)).
19514
20cd7fb3
SP
195152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19516
19517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19518 powerpc mpa.c.
19519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19520 comment formatting.
19521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19522
92945b52
JM
195232013-02-19 Joseph Myers <joseph@codesourcery.com>
19524
19525 [BZ #13550]
19526 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19527 Remove macro.
19528 (ENTER): Remove both macro definitions.
19529 (LEAVE): Likewise.
19530 (CHECK_BOUNDS_LOW): Likewise.
19531 (CHECK_BOUNDS_HIGH): Likewise.
19532 (CHECK_BOUNDS_BOTH): Likewise.
19533 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19534 (RETURN_BOUNDED_POINTER): Likewise.
19535 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19536 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19537 (POP_ERRNO_LOCATION_RETURN): Likewise.
19538 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19539 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19540 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19541 macros.
19542 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19543 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19544 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19545 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19546 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19547 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19548 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19549 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19550 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19551 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19552 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19553 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19554 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19555 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19556 removed macros.
19557 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19558 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19559 macros.
19560 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19561 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19562 * sysdeps/i386/i586/memset.S (memset): Likewise.
19563 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19564 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19565 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19566 macros.
19567 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19568 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19569 Change uses of L(2) to L(out).
19570 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19571 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19572 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19573 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19574 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19575 removed macros.
19576 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19577 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19578 macros.
19579 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19580 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19581 (RETURN): Do not use macro LEAVE.
19582 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19583 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19584 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19585 * sysdeps/i386/i686/memset.S (memset): Likewise.
19586 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19587 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19588 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19589 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19590 Likewise.
19591 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19592 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19593 L(1_2) and L(1_3) into L(1).
19594 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19595 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19597 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19598 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19599 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19600 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19601 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19602 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19603 macros.
19604 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19605 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19606 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19607 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19608 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19609 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19610 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19611 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19612 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19613 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19614 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19615 * sysdeps/i386/strspn.S (strspn): Likewise.
19616 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19617 conditional code.
19618 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19619 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19620 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19621 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19622 L(1_3) into L(1_1).
19623 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19624 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19625 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19626 macros.
19627 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19628
2389741a
JJ
196292013-02-19 Jakub Jelinek <jakub@redhat.com>
19630
19631 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19632 macro.
19633
2016b3cd
SP
196342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19635
e4f22324
SP
19636 * math/atest-exp.c (exp_mpn): Remove ROUND.
19637 * math/atest-exp2.c (exp_mpn): Likewise.
19638 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19639
2016b3cd
SP
19640 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19641 * stdlib/tst-tls-atexit-lib.c: Likewise.
19642 * stdlib/tst-tls-atexit.c: Likewise.
19643
4be9b544
MF
196442013-02-18 Mike Frysinger <vapier@gentoo.org>
19645
19646 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19647 and __attribute_alloc_size__.
19648
2f62b9ee
MF
196492013-02-18 Mike Frysinger <vapier@gentoo.org>
19650
19651 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19652 __attribute_alloc_size__.
19653 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19654 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19655
6ff444c4
MF
196562013-02-18 Mike Frysinger <vapier@gentoo.org>
19657
19658 * include/programs/xmalloc.h: New file.
19659 * catgets/gencat.c: Include it.
19660 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19661 * elf/pldd.c: Likewise.
19662 * iconv/iconv_charmap.c: Likewise.
19663 * iconv/iconvconfig.c: Likewise.
19664 * iconv/strtab.c: Likewise.
19665 * locale/programs/locale.c: Likewise.
19666 * locale/programs/localedef.h: Likewise.
19667 * locale/programs/simple-hash.c: Likewise.
19668 * nscd/nscd.h: Likewise.
19669 * nss/makedb.c: Likewise.
19670 * sysdeps/generic/ldconfig.h: Likewise.
19671
be179c8a
SP
196722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19673
ba384f6e
SP
19674 * Versions.def: Add GLIBC_2.18.
19675 * include/link.h (struct link_map): New member l_tls_dtor_count.
19676 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19677 (__call_tls_dtors): Likewise.
19678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19679 __cxa_thread_atexit_impl.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19681 Likewise.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19683 Likewise.
19684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19685 Likewise.
19686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19687 Likewise.
19688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19690 Likewise.
19691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19692 Likewise.
19693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19695 Likewise.
19696 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19697 (tests): Add test case tst-tls-atexit.
19698 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19699 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19700 (GLIBC_PRIVATE): Add __call_tls_dtors.
19701 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19702 for libstdc++.
19703 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19704 * stdlib/tst-tls-atexit.c: New test case.
19705 * stdlib/tst-tls-atexit-lib.c: New test case.
19706
ffaa74cf 19707 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19708
be179c8a
SP
19709 * elf/Versions (ld): Add _dl_find_dso_for_object.
19710 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19711 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19712 (dl_open_worker): Use _dl_find_dso_for_object.
19713 * elf/dl-sym.c (do_sym): Likewise.
19714 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19715
f78b5caa
AK
197162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19717
19718 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19719 Syntactic changes only.
19720 (_dl_runtime_profile): Do a tail-call to the resolved function.
19721
29691210
JM
197222013-02-17 Joseph Myers <joseph@codesourcery.com>
19723
19724 [BZ #13550]
19725 * sysdeps/x86_64/bp-asm.h: Remove file.
19726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19727 <bp-sym.h> and <bp-asm.h>.
19728 (__clone): Do not use BP_SYM.
19729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19730 <bp-sym.h> and <bp-asm.h>.
19731 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19732 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19733 "bp-asm.h".
19734 (_setjmp): Do not use BP_SYM.
19735 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19736 "bp-asm.h".
19737 (setjmp): Do not use BP_SYM.
19738 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19739 libc_hidden_def.
19740 (mempcpy): Do not use BP_SYM in weak_alias.
19741 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19742 "bp-asm.h".
19743 (strchr): Do not use BP_SYM.
19744 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19745 "bp-asm.h".
19746 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19747 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19748 (_start): Do not use BP_SYM.
19749 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19750 "bp-asm.h".
19751 (strcat): Do not use BP_SYM.
19752 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19753 "bp-asm.h".
19754 (STRCMP): Do not use BP_SYM.
19755 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19756 "bp-asm.h".
19757 (STRCPY): Do not use BP_SYM.
19758 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19759 "bp-asm.h".
19760 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19761 "bp-asm.h".
19762 (FUNCTION): Do not use BP_SYM.
19763 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19764 weak_alias.
19765 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19766
f238fd19
AJ
197672013-02-17 Andreas Jaeger <aj@suse.de>
19768
19769 * time/Versions: Sort entries.
19770 * string/Versions: Likewise.
19771 * resolv/Versions: Likewise.
19772 * posix/Versions: Likewise.
19773 * iconv/Versions: Likewise.
19774 * elf/Versions: Likewise.
19775 * wcsmbs/Versions: Likewise.
19776
bd07f23c 197772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19778
22af19f9
SP
19779 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19780 loop termination condition.
19781
4709fe76
SP
19782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19783 variable to calculate EZ.
19784 (__sqr): Likewise.
2d0e0f29
SP
19785
19786 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19787 the lower precision input.
19788
daaa7713
JM
197892013-02-15 Joseph Myers <joseph@codesourcery.com>
19790
19791 [BZ #13550]
19792 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19793 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19794 (run-via-rtld-prefix): Do not handle %-bp tests.
19795 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19796 (all-object-suffixes): Remove .ob.
19797 (bppfx): Remove variable.
19798 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19799 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19800 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19801 [$(build-bounded) = yes] (libtype.ob): Likewise.
19802 * Makerules (elide-routines.ob): Remove variable.
19803 (do-tests-clean): Do not handle *-bp.out.
19804 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19805 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19806 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19807 (tests): Do not include $(tests-bp.out).
19808 (xtests): Do not include $(xtests-bp.out).
19809 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19810 [$(build-bounded) = yes] ($(addprefix
19811 $(objpfx),$(binaries-bounded))): Remove rule.
19812 ($(objpfx)%-bp.out): Remove rule.
19813 * config.make.in (build-bounded): Remove variable.
19814 * crypt/Makefile [$(build-bounded) = yes]
19815 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19816 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19817 append to variable.
19818 [$(build-bounded) = yes] (install-lib): Likewise.
19819 [$(build-bounded) = yes] (generated): Likewise.
19820 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19821 Remove rule.
19822 * intl/Makefile [$(build-bounded) = yes]
19823 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19824 * math/Makefile [$(build-bounded) = yes]
19825 ($(tests:%=$(objpfx)%-bp): Likewise.
19826 * misc/Makefile [$(build-bounded) = yes]
19827 ($(objpfx)tst-tsearch-bp): Likewise.
19828 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19829 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19830 Remove dependency.
19831 * string/Makefile (o-objects.ob): Remove variable.
19832 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19833 (CFLAGS-.ob): Remove variable.
19834 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19835 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19836 both definitions of variable.
19837 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19838 (ASFLAGS-.ob): Remove variable.
19839
e97ed6dd
JM
198402013-02-14 Joseph Myers <joseph@codesourcery.com>
19841
2bdd4ca6
JM
19842 [BZ #13550]
19843 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19844 Remove __BOUNDED_POINTERS__ from condition.
19845 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19846 * string/bits/string2.h [!__NO_STRING_INLINES &&
19847 !__BOUNDED_POINTERS__]: Likewise.
19848 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19849 Likewise.
19850 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19851 Remove conditional code.
19852 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19853 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19854 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19855 condition.
19856
e97ed6dd
JM
19857 [BZ #13550]
19858 * csu/libc-start.c: Do not include <bp-sym.h>.
19859 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19860 * elf/dl-open.c: Do not include <bp-sym.h>.
19861 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19862 * math/fegetenv.c: Do not include <bp-sym.h>.
19863 (fegetenv): Do not use BP_SYM in versioned symbols.
19864 * nptl/sysdeps/pthread/bits/libc-lockP.h
19865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19866 <bp-sym.h>.
19867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19868 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19870 (__pthread_mutex_destroy): Likewise.
19871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19872 (__pthread_mutex_lock): Likewise.
19873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19874 (__pthread_mutex_trylock): Likewise.
19875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19876 (__pthread_mutex_unlock): Likewise.
19877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19878 (__pthread_mutexattr_init): Likewise.
19879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19880 (__pthread_mutexattr_destroy): Likewise.
19881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19882 (__pthread_mutexattr_settype): Likewise.
19883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19884 (__pthread_rwlock_init): Likewise.
19885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19886 (__pthread_rwlock_destroy): Likewise.
19887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19888 (__pthread_rwlock_rdlock): Likewise.
19889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19890 (__pthread_rwlock_tryrdlock): Likewise.
19891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19892 (__pthread_rwlock_wrlock): Likewise.
19893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19894 (__pthread_rwlock_trywrlock): Likewise.
19895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19896 (__pthread_rwlock_unlock): Likewise.
19897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19898 (__pthread_key_create): Likewise.
19899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19900 (__pthread_setspecific): Likewise.
19901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19902 (__pthread_getspecific): Likewise.
19903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19904 Likewise.
19905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19906 (_pthread_cleanup_push_defer): Likewise.
19907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19908 (_pthread_cleanup_pop_restore): Likewise.
19909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19910 (pthread_setcancelstate): Likewise.
19911 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19912 <bp-sym.h>.
19913 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19914 (memchr): Do not use BP_SYM in weak_alias.
19915 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19916 (fegetenv): Do not use BP_SYM in versioned symbols.
19917 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19918 (fesetenv): Do not use BP_SYM in versioned symbols.
19919 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19920 (feupdateenv): Do not use BP_SYM in versioned symbols.
19921 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19922 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19923 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19924 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19925 (open64): Do not use BP_SYM in weak_alias.
19926 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19927 (fegetenv): Do not use BP_SYM in versioned symbols.
19928 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19929 (fesetenv): Do not use BP_SYM in versioned symbols.
19930 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19931 (feupdateenv): Do not use BP_SYM in versioned symbols.
19932 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19933 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19934 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19935 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19936 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19937 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19938 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19939 <bp-sym.h>.
19940 (__libc_start_main): Do not use BP_SYM.
19941
d6752ccd
SP
199422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19943
cb57ce60
SP
19944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19945 redundant return line.
19946 (norm): Likewise.
19947 (denorm): Likewise.
19948 (dbl_mp): Likewise.
19949 (sub_magnitudes): Likewise.
19950 (__add): Likewise.
19951 (__sub): Likewise.
19952 (__mul): Likewise.
19953 (__inv): Likewise.
19954 (__dvd): Likewise.
19955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19956 (norm): Likewise.
19957 (denorm): Likewise.
19958 (dbl_mp): Likewise.
19959 (sub_magnitudes): Likewise.
19960 (__add): Likewise.
19961 (__sub): Likewise.
19962 (__mul): Likewise.
19963 (__inv): Likewise.
19964 (__dvd): Likewise.
19965
f414520d
SP
19966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19967 instead of __mul.
19968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19969 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19970 (cc32): Likewise.
19971
d6752ccd
SP
19972 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19973 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19975 of __mul for squares.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19977 function
19978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19979 Likewise.
19980 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19982
70d9946a
JM
199832013-02-13 Joseph Myers <joseph@codesourcery.com>
19984
19985 [BZ #13550]
19986 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19987 code.
19988 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19989 prototype or function definition. Rename ubp_* variables and
19990 parameters. Remove argv definitions conditional on
19991 [__BOUNDED_POINTERS__].
19992 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19993 * elf/dl-runtime.c (_dl_fixup): Likewise.
19994 * include/set-hooks.h (RUN_HOOK): Likewise.
19995 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19996 definition.
19997 * string/strcpy.c (strcpy): Do not use __unbounded.
19998 * sysdeps/generic/frame.h (struct layout): Likewise.
19999 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20000 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20001 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20002 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20003 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20004 (__backtrace): Likewise.
20005 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20006 use __ptrvalue.
20007 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20008 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20009 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20010 Likewise.
20011 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20012 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20013 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20014 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20015 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20016 Do not use __unbounded.
20017 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20018 Rename __unboundedrlimits parameter to rlimits in prototype.
20019 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20020 Do not use __unbounded.
20021 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20022 not use __ptrvalue.
20023 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20024 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20025 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20026 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20027 __ptrvalue or __unbounded.
20028 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20029 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20030 use __unbounded.
20031 (__new_msgctl): Do not use __ptrvalue.
20032 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20033 __unbounded.
20034 (__libc_msgrcv): Do not use __ptrvalue.
20035 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20036 startup_info): Do not use __unbounded.
20037 (__libc_start_main): Likewise. Rename ubp_* variables and
20038 parameters. Remove argv definitions conditional on
20039 [__BOUNDED_POINTERS__].
20040 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20041 __ptrvalue.
20042 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20043 use __unbounded.
20044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20045 or __ptrvalue.
20046 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20047 use __unbounded.
20048 (__new_shmctl): Do not use __ptrvalue.
20049 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20050 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20051 Likewise.
20052 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20054 (__libc_sigaction): Likewise.
20055 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20056 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20057 Likewise.
20058 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20059
cc7834d6
OB
200602013-02-13 Ondřej Bílka <neleai@seznam.cz>
20061
ffb1ec7b 20062 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20063
20064 * string/mempcpy.c: Implement by calling memcpy.
20065
bdf02814
SP
200662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20067
c2af38aa
SP
20068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20069
4e92d59e
SP
20070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20071 evaluation.
20072
909279a5
SP
20073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20074 values in the mantissa.
20075
bdf02814
SP
20076 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20077 minimize writes to Z.
20078 (sub_magnitudes): Simplify code a bit.
20079
cd525923
RM
200802013-02-12 Roland McGrath <roland@hack.frob.com>
20081
20082 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20083 from the message. The linker prefixes all warnings with that already.
20084
7e2f0d2d
AS
200852013-02-12 Andreas Schwab <schwab@suse.de>
20086
a445af0b
AS
20087 [BZ #15078]
20088 * posix/regexec.c (extend_buffers): Add parameter min_len.
20089 (check_matching): Pass minimum needed length.
20090 (clean_state_log_if_needed): Likewise.
20091 (get_subexp): Likewise.
20092 * posix/Makefile (tests): Add bug-regex34.
20093 (bug-regex34-ENV): Define.
20094 * posix/bug-regex34.c: New file.
20095
7e2f0d2d
AS
20096 [BZ #11561]
20097 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20098 elements compare against the byte sequence of it, not its name.
20099 * posix/Makefile (tests): Add bug-regex35.
20100 (bug-regex35-ENV): Define.
20101 * posix/bug-regex35.c: New file.
20102
a175b684
TV
201032013-02-11 Tom de Vries <tom@codesourcery.com>
20104
20105 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20106 comment.
20107 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20108 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20109 (CHECK_EOL): Add undef.
20110
310998fe 201112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20112
20113 * bits/stdlib-bsearch.h: New file.
20114 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20115 * stdlib/stdlib.h: Likewise.
41eda41d 20116
8ded91fb
RM
201172013-02-11 Roland McGrath <roland@hack.frob.com>
20118
20119 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20120 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20121 declaration.
20122 * manual/search.texi (Array Search Function): Add missing const in
20123 lfind prototype.
20124 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20125 declaration to use rlim_t.
20126 (Basic Scheduling Functions): Remove erroneous const from
20127 sched_getparam prototype. Remove erroneous * from
20128 sched_get_priority_max and sched_get_priority_min prototypes.
20129 (Resource Usage): Fix summary @comment on vtimes to refer to
20130 sys/vtimes.h rather than vtimes.h.
20131 Add missing *s in vtimes prototype.
20132 (Limits on Resources): Fix ulimit prototype to return long int.
20133 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20134 prototypes to use long int rather than double.
20135 (BSD Random): Fix initstate and setstate to use char *, not void *.
20136 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20137 prototype to make second argument 'struct aiocb64 *const[]'.
20138 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20139 (Status of AIO Operations): Remove erroneous const in aio_return and
20140 aio_return64 prototypes.
20141 (Synchronizing I/O): Fix sync prototype to return void.
20142 * manual/startup.texi (Suboptions): Remove an erroneous const in
20143 getsubopt prototype.
20144 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20145 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20146 use size_t rather than int.
20147 (Scanning All Users): Likewise for getpwent_r.
20148 (Setting Groups): Add missing const to setgroups prototype.
20149 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20150 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20151 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20152 'const void *' rather than 'const char *'.
20153 (Host Address Functions): Likewise for inet_ntop.
20154 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20155 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20156 ssize_t for return value.
20157 (Sending Data): Likewise for send, sendto, sendmsg.
20158 (Socket Option Functions): Add a missing const in setsockopt prototype.
20159 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20160 use wchar_t for the argument.
20161 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20162 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20163 take no arguments.
20164 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20165 double/float/long double for second argument.
20166 Fix return types of significand, significandf, significandl.
20167 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20168 argument in fchmod prototype.
20169 (File Owner): Use uid_t and gid_t in fchown prototype.
20170 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20171 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20172 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20173 use 'const struct dirent **' as argument types to CMP function pointer
20174 argument.
20175 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20176 (File Times): Fix summary magic @comment for struct utimbuf and utime
20177 to refer to utime.h, not time.h.
20178 * manual/string.texi (Argz Functions): Add missing const in
20179 argz_extract and argz_next prototypes.
20180 (Finding Tokens in a String): Likewise for basename.
20181 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20182 (Copying and Concatenation): Fix typo in wmemmove prototype.
20183 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20184 (Signal Stack): Remove erroneous const in sigstack prototype.
20185 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20186 prototype.
20187 (Simple Calendar Time): Likewise for stime.
20188 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20189 prototype.
20190 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20191 say sys/sysctl.h instead.
20192 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20193 and vsyslog prototypes.
20194
fe77fe6d
TV
201952013-02-11 Tom de Vries <tom@codesourcery.com>
20196
20197 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20198 Remove.
20199
3a09b620
RM
202002013-02-11 Roland McGrath <roland@hack.frob.com>
20201
20202 * misc/sys/mman.h: Fix typo in mremap comment.
20203
550a0b89
RM
202042013-02-08 Roland McGrath <roland@hack.frob.com>
20205
20206 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20207 the '\0' terminator.
20208
a2da1673
JM
202092013-02-08 Joseph Myers <joseph@codesourcery.com>
20210
20211 [BZ #13550]
20212 * debug/segfault.c: Don't include <bp-checks.h>.
20213 * sysdeps/generic/bp-checks.h: Remove file.
20214 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20215 (__GETDENTS): Don't use CHECK_N.
20216 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20217 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20218 (__getgroups): Don't use CHECK_N.
20219 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20220 (setgroups): Don't use CHECK_N.
20221 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20222 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20223 (__libc_msgrcv): Don't use CHECK_N.
20224 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20225 (__libc_msgsnd): Don't use CHECK_N.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20227 <bp-checks.h>.
20228 (__libc_pread): Don't use CHECK_N.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20230 include <bp-checks.h>.
20231 (__libc_pread64): Don't use CHECK_N.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20233 include <bp-checks.h>.
20234 (__libc_pwrite): Don't use CHECK_N.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20236 include <bp-checks.h>.
20237 (__libc_pwrite64): Don't use CHECK_N.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20239 <bp-checks.h>.
20240 (__libc_pread): Don't use CHECK_N.
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20242 include <bp-checks.h>.
20243 (__libc_pread64): Don't use CHECK_N.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20245 include <bp-checks.h>.
20246 (__libc_pwrite): Don't use CHECK_N.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20248 include <bp-checks.h>.
20249 (__libc_pwrite64): Don't use CHECK_N.
20250 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20251 (do_pread): Don't use CHECK_N.
20252 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20253 (do_pread64): Don't use CHECK_N.
20254 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20255 (do_pwrite): Don't use CHECK_N.
20256 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20257 (do_pwrite64): Don't use CHECK_N.
20258 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20259 (__libc_readv): Don't use CHECK_N.
20260 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20261 (semop): Don't use CHECK_N.
20262 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20263 <bp-checks.h>.
20264 (semtimedop): Don't use CHECK_N.
20265 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20266 (__libc_pread): Don't use CHECK_N.
20267 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20268 <bp-checks.h>.
20269 (__libc_pread64): Don't use CHECK_N.
20270 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20271 <bp-checks.h>.
20272 (__libc_pwrite): Don't use CHECK_N.
20273 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20274 <bp-checks.h>.
20275 (__libc_pwrite64): Don't use CHECK_N.
20276 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20277 <bp-checks.h>.
20278 (__libc_msgrcv): Don't use CHECK_N.
20279 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20280 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20281 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20282 (__libc_writev): Don't use CHECK_N.
20283
b84660a8
RM
202842013-02-08 Roland McGrath <roland@hack.frob.com>
20285
7f3e75f8
RM
20286 * string/strcpy.c: Removed unused variable.
20287
b84660a8
RM
20288 * Makeconfig (+sysdep-includes): Define with := rather than =.
20289 Use an existing include/ subdir of each sysdeps dir before it.
20290
471514d3
CD
202912013-02-08 Carlos O'Donell <carlos@redhat.com>
20292
20293 * nscd/connection.c (register_traced_file): Comment function.
20294 [HAVE_INOTIFY] (union __inev): Define.
20295 [HAVE_INOTIFY] (inotify_check_files): New function.
20296 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20297 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20298 clear_db_cache.
20299 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20300
b2d3c3be
CD
203012013-02-08 Carlos O'Donell <carlos@redhat.com>
20302
20303 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20304 loaded if not already and that a failure is permanent.
20305
b39949d2
CD
203062013-02-08 Carlos O'Donell <carlos@redhat.com>
20307
ddacd1db 20308 [BZ #15006]
b39949d2
CD
20309 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20310 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20311
b2c9eff4
JM
203122013-02-08 Joseph Myers <joseph@codesourcery.com>
20313
f3aae3f3
JM
20314 [BZ #13550]
20315 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20316 (CHECK_1_NULL_OK): Likewise.
20317 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20318 (__fxstat): Do not use CHECK_1.
20319 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20320 <bp-checks.h>.
20321 (___fxstat64): Do not use CHECK_1.
20322 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20323 <bp-checks.h>.
20324 (__fxstatat): Do not use CHECK_1.
20325 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20326 <bp-checks.h>.
20327 (__fxstatat64): Do not use CHECK_1.
20328 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20329 <bp-checks.h>.
20330 (__fxstat): Do not use CHECK_1.
20331 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20332 <bp-checks.h>.
20333 (__fxstatat): Do not use CHECK_1.
20334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20335 <bp-checks.h>.
20336 (__getresgid): Do not use CHECK_1.
20337 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20338 <bp-checks.h>.
20339 (__getresuid): Do not use CHECK_1.
20340 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20341 <bp-checks.h>.
20342 (__lxstat): Do not use CHECK_1.
20343 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20344 <bp-checks.h>.
20345 (__old_msgctl): Do not use CHECK_1.
20346 (__new_msgctl): Likewise.
20347 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20348 <bp-checks.h>.
20349 (__new_setrlimit): Do not use CHECK_1.
20350 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20351 <bp-checks.h>.
20352 (__old_shmctl): Do not use CHECK_1.
20353 (__new_shmctl): Likewise.
20354 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20355 <bp-checks.h>.
20356 (__xstat): Do not use CHECK_1.
20357 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20358 (__lxstat): Do not use CHECK_1.
20359 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20360 <bp-checks.h>.
20361 (___lxstat64): Do not use CHECK_1.
20362 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20363 (__old_msgctl): Do not use CHECK_1.
20364 (__new_msgctl): Likewise.
20365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20366 <bp-checks.h>.
20367 (__gettimeofday): Do not use CHECK_1.
20368 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20369 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20370 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20371 <bp-checks.h>.
20372 (__gettimeofday): Do not use CHECK_1.
20373 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20374 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20375 (__new_shmctl): Do not use CHECK_1.
20376 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20377 <bp-checks.h>.
20378 (do_sigtimedwait): Do not use CHECK_1.
20379 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20380 <bp-checks.h>.
20381 (do_sigwaitinfo): Do not use CHECK_1.
20382 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20383 <bp-checks.h>.
20384 (msgctl): Do not use CHECK_1.
20385 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20386 <bp-checks.h>.
20387 (shmctl): Do not use CHECK_1.
20388 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20389 (ustat): Do not use CHECK_1.
20390 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20391 <bp-checks.h>.
20392 (__fxstat): Do not use CHECK_1.
20393 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20394 <bp-checks.h>.
20395 (__fxstatat): Do not use CHECK_1.
20396 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20397 <bp-checks.h>.
20398 (__lxstat): Do not use CHECK_1.
20399 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20400 <bp-checks.h>.
20401 (__xstat): Do not use CHECK_1.
20402 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20403 (__xstat): Do not use CHECK_1.
20404 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20405 (___xstat64): Do not use CHECK_1.
20406
b2c9eff4
JM
20407 [BZ #13550]
20408 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20409 definitions.
20410 (CHECK_BOUNDS_HIGH): Likewise.
20411 * string/strcpy.c: Do not include <bp-checks.h>.
20412 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20413
f1d70dad
RM
204142013-02-07 Roland McGrath <roland@hack.frob.com>
20415
20416 * nscd/nscd-client.h (__nscd_drop_map_ref):
20417 Add __attribute__ ((unused)).
20418 * nis/nss-nisplus.h (niserr2nss): Likewise.
20419
20420 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20421 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20422
20423 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20424 Remove inline keyword.
20425 * include/rounding-mode.h (round_away): Likewise.
20426 * libio/wfileops.c (adjust_wide_data): Likewise.
20427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20428 (__m128i_strloadu_tolower): Likewise.
20429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20430 (__m128i_strloadu_tolower): Likewise.
20431 * time/mktime.c (ydhms_diff): Likewise.
20432 * locale/elem-hash.h (elem_hash): Likewise.
20433 * locale/setlocale.c (setdata): Likewise.
20434 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20435 (re_string_wchar_at): Likewise.
20436 (bitset_not, bitset_merge, bitset_mask): Likewise.
20437 [!(__GNUC__ > 3)] (inline): Remove macro.
20438 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20439 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20440 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20441 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20442 * string/memcmp.c (memcmp_bytes): Likewise.
20443 * locale/programs/locarchive.c (compute_hashval): Likewise.
20444 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20445 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20446 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20447 * nss/getent.c (print_rpc, print_protocols): Likewise.
20448 (print_passwd, print_group, print_aliases): Likewise.
20449 * nis/nss-nisplus.h (niserr2nss): Likewise.
20450 * nscd/connections.c (restart_p): Likewise.
20451 Change return type to bool.
20452
eab55bfb
RM
204532013-02-05 Roland McGrath <roland@hack.frob.com>
20454
7bd642f5
RM
20455 * Makeconfig (all-Depend-files): Add existing
20456 $(sorted-subdirs:=/Depend) files.
20457 (all-subdirs): Remove nss.
20458 * sysdeps/unix/inet/Subdirs: Add it here instead.
20459 * hesiod/Depend: New file.
20460
573c29b2
RM
20461 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20462 instead of calling alloca.
20463
b2e25af0
RM
20464 * io/lseek.c (__lseek): Rename to __libc_lseek.
20465 Define __lseek as an alias.
20466
eab55bfb
RM
20467 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20468
9a0d1941
CD
204692013-02-04 Carlos O'Donell <carlos@redhat.com>
20470
20471 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20472 else clause and remove check for non-standard endianness.
20473
b83bbec4
DM
204742013-02-04 David S. Miller <davem@davemloft.net>
20475
20476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20477
6277fdab
JM
204782013-02-04 Joseph Myers <joseph@codesourcery.com>
20479
20480 [BZ #13550]
20481 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20482 (__ubp_memchr): Remove prototype.
20483 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20484 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20485 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20486 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20487 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20488 Remove alias.
20489 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20490 (__ubp_memchr): Likewise.
20491 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20492 (__ubp_memchr): Likewise.
20493 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20494 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20495 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20496 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20497 CHECK_STRING.
20498 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20499 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20500 (__getcwd): Do not use CHECK_STRING.
20501 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20502 <bp-checks.h>.
20503 (__real_chown): Do not use CHECK_STRING.
20504 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20505 <bp-checks.h>.
20506 (fchownat): Do not use CHECK_STRING.
20507 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20508 CHECK_STRING.
20509 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20510 <bp-checks.h>.
20511 (__lchown): Do not use CHECK_STRING.
20512 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20513 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20514 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20515 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20517 include <bp-checks.h>.
20518 (truncate64): Do not use CHECK_STRING.
20519 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20520 <bp-checks.h>.
20521 (__real_chown): Do not use CHECK_STRING.
20522 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20523 <bp-checks.h>.
20524 (__lchown): Do not use CHECK_STRING.
20525 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20526 <bp-checks.h>.
20527 (__chown): Do not use CHECK_STRING.
20528 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20529 <bp-checks.h>.
20530 (truncate64): Do not use CHECK_STRING.
20531 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20532 Likewise.
20533 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20534 (__xmknod): Do not use CHECK_STRING.
20535 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20536 <bp-checks.h>.
20537 (__xmknodat): Do not use CHECK_STRING.
20538 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20539 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20540
903ae060
AS
205412013-02-04 Andreas Schwab <schwab@suse.de>
20542
20543 [BZ #14142]
20544 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20545 * include/netdb.h: Likewise for h_errno.
20546 * elf/tst-stackguard1.c: Include <tls.h>.
20547
542f9466
JK
205482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20549
20550 * elf/link.h (struct link_map): Extend the l_addr comment.
20551 * include/link.h (struct link_map): Likewise.
20552
e782a927
JM
205532013-02-01 Joseph Myers <joseph@codesourcery.com>
20554
20555 [BZ #13550]
20556 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20557 (BOUNDED_1): Remove macro.
20558 * debug/backtrace.c: Don't include <bp-checks.h>.
20559 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20560 (__backtrace): Likewise.
20561 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20562 <bp-checks.h>.
20563 (__backtrace): Don't use BOUNDED_1.
20564 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20565 <bp-checks.h>.
20566 (__backtrace): Don't use BOUNDED_1.
20567 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20568 (__backtrace): Don't use BOUNDED_1.
20569 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20570 (shmat): Don't use BOUNDED_N.
20571
8cf28c5e
JM
205722013-01-31 Joseph Myers <joseph@codesourcery.com>
20573
3a7ac8a0
JM
20574 [BZ #13550]
20575 * sysdeps/generic/bp-start.h: Remove file.
20576 * csu/libc-start.c: Don't include <bp-start.h>.
20577 (LIBC_START_MAIN): Set up __environ directly instead of using
20578 INIT_ARGV_and_ENVIRON.
20579 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20580 <bp-start.h>.
20581
f3499f95
JM
20582 [BZ #13550]
20583 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20584 definitions.
20585 (CHECK_FCNTL): Likewise.
20586 (CHECK_N_PAGES): Likewise.
20587
32a45bea
JM
20588 [BZ #13550]
20589 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20590 definitions.
20591 (CHECK_SIGSET_NULL_OK): Likewise.
20592 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20593 <bp-checks.h>.
20594 (sigpending): Don't use CHECK_SIGSET.
20595 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20596 <bp-checks.h>.
20597 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20598 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20599 <bp-checks.h>.
20600 (do_sigsuspend): Don't use CHECK_SIGSET.
20601 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20602 use CHECK_SIGSET.
20603 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20604 (do_sigwait): Don't use CHECK_SIGSET.
20605 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20606 use CHECK_SIGSET.
20607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20608 include <bp-checks.h>.
20609 (sigpending): Don't use CHECK_SIGSET.
20610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20611 include <bp-checks.h>.
20612 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20613 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20614 <bp-checks.h>.
20615 (sigpending): Don't use CHECK_SIGSET.
20616 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20617 <bp-checks.h>.
20618 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20619
2e8a5c8c
JM
20620 [BZ #13550]
20621 * sysdeps/generic/bp-semctl.h: Remove file.
20622 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20623 <bp-checks.h> and <bp-semctl.h>.
20624 (__old_semctl): Don't use CHECK_SEMCTL.
20625 (__new_semctl): Likewise.
20626 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20627 and <bp-semctl.h>.
20628 (__old_semctl): Don't use CHECK_SEMCTL.
20629 (__new_semctl): Likewise.
20630 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20631 <bp-checks.h> and <bp-semctl.h>.
20632 (__old_semctl): Don't use CHECK_SEMCTL.
20633 (__new_semctl): Likewise.
20634 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20635 <bp-checks.h> and <bp-semctl.h>.
20636 (semctl): Don't use CHECK_SEMCTL.
20637
c2d54929
JM
20638 [BZ #13550]
20639 * Makerules (elide-bp-thunks): Remove variable.
20640 (elide-routines.oS): Don't use $(elide-bp-thunks).
20641 (elide-routines.os): Likewise.
20642 (elide-routines.o): Likewise.
20643 (elide-routines.op): Likewise.
20644 (elide-routines.og): Likewise.
20645 (objects): Don't use $(bp-thunks).
20646 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20647 include.
20648 (common-generated): Do not add s-proto-bp.d.
20649 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20650 (int): Likewise.
20651 (typ): Likewise.
20652 Do not generate makefile rules for bounded-pointer thunks.
20653 * sysdeps/generic/bp-thunks.h: Remove file.
20654 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20655 * sysdeps/unix/s-proto-bp.S: Likewise.
20656
8cf28c5e
JM
20657 [BZ #15062]
20658 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20659 parts of result separately when argument is not close to line from
20660 -i to i and one part of argument is small.
20661 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20662 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20663 * math/libm-test.inc (cacos_test): Add more tests.
20664 (casin_test): Likewise.
20665 (casinh_test): Likewise.
20666 * sysdeps/i386/fpu/libm-test-ulps: Update.
20667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20668
c4e33b8d
DM
206692013-01-31 David S. Miller <davem@davemloft.net>
20670
20671 * po/de.po: Update from translation team.
20672
3b60b421
MK
206732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20674
20675 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20676
bb931195
TS
206772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20678
b5a5da23
TS
20679 * configure.in (_AC_PROG_CC_C89): New definition.
20680 * configure: Regenerate.
20681
bb931195
TS
20682 * configure.in (AC_PROG_CPP): New definition.
20683 * configure: Regenerate.
20684
8c53a12c
JM
206852013-01-23 Joseph Myers <joseph@codesourcery.com>
20686
20687 * debug/tst-backtrace.h: New file.
20688 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20689 (ret): Remove variable.
20690 (x): Likewise.
20691 (FAIL): Remove macro.
20692 (NO_INLINE): Likewise.
20693 (fn1): Use match function instead of strstr.
20694 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20695 (ret): Remove variable.
20696 (x): Likewise.
20697 (FAIL): Remove macro.
20698 (NO_INLINE): Likewise.
20699 (fn): Use match function instead of strstr.
20700 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20701 (ret): Remove variable.
20702 (x): Likewise.
20703 (FAIL): Remove macro.
20704 (NO_INLINE): Likewise.
20705 (handle_signal): Use match function instead of strstr.
20706 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20707 (ret): Remove variable.
20708 (x): Likewise.
20709 (FAIL): Remove macro.
20710 (NO_INLINE): Likewise.
20711 (handle_signal): Use match function instead of strstr.
20712
4858fa2a
RM
207132013-01-23 Roland McGrath <roland@hack.frob.com>
20714
20715 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20716
bae8e7f5
DM
207172013-01-23 David S. Miller <davem@davemloft.net>
20718
20719 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20720 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20721 argument of CAS if possible.
20722 * sysdeps/sparc/sparc64/bits/atomic.h
20723 (__arch_compare_and_exchange_val_32_acq): Likewise.
20724 (__arch_compare_and_exchange_val_64_acq): Likewise.
20725
9cbbc4ae
PT
207262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20727
20728 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20729 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20730 Include <limits.h>.
67b3f58c 20731 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20732
5655a0b5
AC
207332013-01-23 Adam Conrad <adconrad@0c3.net>
20734
20735 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20736 (LDFLAGS-tst-array5): Likewise.
20737
052aff95
JM
207382013-01-23 Joseph Myers <joseph@codesourcery.com>
20739
20740 [BZ #15036]
20741 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20742 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20743 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20744 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20745
7c1e01aa
DM
207462013-01-21 David S. Miller <davem@davemloft.net>
20747
20748 * sysdeps/sparc/backtrace.c: New file.
20749 * sysdeps/sparc/sparc32/backtrace.h: New file.
20750 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20751 * sysdeps/sparc/sparc64/backtrace.h: New file.
20752 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20753 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20754 -funwind-tables.
20755
ab087e0a
AS
207562013-01-21 Andreas Schwab <schwab@suse.de>
20757
20758 [BZ #15020]
20759 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20760 closed its stdout.
20761
ed689c2f
AS
207622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20763
20764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20765 "mpa2.h".
20766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20767
31d470ac
JM
207682013-01-18 Joseph Myers <joseph@codesourcery.com>
20769 Mark Mitchell <mark@codesourcery.com>
20770 Tom de Vries <tom@codesourcery.com>
20771 Paul Pluzhnikov <ppluzhnikov@google.com>
20772
20773 * debug/tst-backtrace2.c: New file.
20774 * debug/tst-backtrace3.c: Likewise.
20775 * debug/tst-backtrace4.c: Likewise.
20776 * debug/tst-backtrace5.c: Likewise.
20777 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20778 (CFLAGS-tst-backtrace3.c): Likewise.
20779 (CFLAGS-tst-backtrace4.c): Likewise.
20780 (CFLAGS-tst-backtrace5.c): Likewise.
20781 (LDFLAGS-tst-backtrace2): Likewise.
20782 (LDFLAGS-tst-backtrace3): Likewise.
20783 (LDFLAGS-tst-backtrace4): Likewise.
20784 (LDFLAGS-tst-backtrace5): Likewise.
20785 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20786 tst-backtrace4 and tst-backtrace5.
20787
90567f30 207882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20789 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20790
20791 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20792 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20793 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20794 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20796 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20797 "+r" and remove output regs list as redundant. Add explicit inline
20798 asm to specify register of return val to work around compiler codegen
20799 bug. Remove (int) cast on return value. Add return type parameter to
20800 use in macro so that this macro does not truncate return value for
20801 64-bit values.
20802 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20803 pass to INTERNAL_VSYSCALL_NCS.
20804 (INLINE_VSYSCALL): Add 'long int' as return type to
20805 INTERNAL_VSYSCALL_NCS macro invocation.
20806 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20807 INTERNAL_VSYSCALL_NCS macro invocation.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20809
d3b9ea61
SP
208102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20811
0b57daeb
SP
20812 [BZ #14496]
20813 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20814 Fix application of SIMD FP exception mask.
20815
caa99d06
SP
20816 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20817 mp_no from a power of two.
20818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20819 __mpexp_twomm1. Use __pow_mp.
20820
d3b9ea61
SP
20821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20822 multiplication.
20823
1dbaee3c
DM
208242013-01-17 David S. Miller <davem@davemloft.net>
20825
20826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20827
728d7b43
JM
208282013-01-17 Joseph Myers <joseph@codesourcery.com>
20829
20830 [BZ #15023]
20831 * include/complex.h: Condition contents on [!_COMPLEX_H].
20832 (__kernel_casinhf): New prototype.
20833 (__kernel_casinh): Likewise.
20834 (__kernel_casinhl): Likewise.
20835 * math/Makefile (libm_calls): Add k_casinh.
20836 * math/k_casinh.c: New file.
20837 * math/k_casinhf.c: Likewise.
20838 * math/k_casinhl.c: Likewise.
20839 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20840 finite nonzero arguments.
20841 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20842 finite nonzero arguments.
20843 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20844 finite nonzero arguments.
20845 * math/s_casinh.c: Do not include <float.h>.
20846 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20847 * math/s_casinhf.c: Do not include <float.h>.
20848 (__casinhf): Move code for finite nonzero arguments to
20849 k_casinhf.c.
20850 * math/s_casinhl.c: Do not include <float.h>.
20851 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20852 redefine.
20853 (__casinhl): Move code for finite nonzero arguments to
20854 k_casinhl.c.
20855 * math/libm-test.inc (cacos_test): Add more tests.
20856 * sysdeps/i386/fpu/libm-test-ulps: Update.
20857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20858
2a26ef3a
PT
208592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20860
20861 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20862 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20863 [!HAVE_MREMAP]: Remove [defined linux] case.
20864 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20865
a897655d
SP
208662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20867
20868 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20869
881ebe89 208702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20871
20872 * elf/elf.h (R_386_SIZE32): New relocation.
20873 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20874 R_386_SIZE32.
20875 (elf_machine_rela): Likewise.
20876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20877 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20878
59981e9b
JM
208792013-01-17 Joseph Myers <joseph@codesourcery.com>
20880
20881 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20882 (FP_FAST_FMA): Do not define.
20883 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20884 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20885 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20886 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20887 !_SOFT_FLOAT]: Likewise.
20888 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20890 value.
20891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20892 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20895 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20896 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20897 file.
20898
cfa8054f
AS
208992013-01-16 Andreas Schwab <schwab@suse.de>
20900
20901 [BZ #14327]
20902 * include/stdlib.h (__mktemp): Add declaration.
20903 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20904 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20905
dd930cc5
SP
209062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20907
881ebe89
SP
20908 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20909 definitions.
20910 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20911 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20912 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20913 definitions here.
20914 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20915 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20916 definitions.
20917 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20918 and ONE.
20919 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20920 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20922 definitions.
20923 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20924 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20925 definitions.
20926 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20927
dd930cc5
SP
20928 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20929
c19a9f89
DM
209302013-01-15 David S. Miller <davem@davemloft.net>
20931
1aa61767
DM
20932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20933 trunc{,f} to libm-sysdep_routes.
20934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20936 file.
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20939 file.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20941 file.
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20944 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20946 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20947 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20948 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20949 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20950
c42d5e98
DM
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20952 nearbyint{,f} to libm-sysdep_routes.
20953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20955 New file.
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20957 file.
20958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20959 New file.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20961 file.
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20965 file.
20966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20968 file.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20970 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20971 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20972
c19a9f89
DM
20973 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20974 libc_feholdexcept and libc_fesetenv.
20975
357679d2
MF
209762013-01-15 Mike Frysinger <vapier@gentoo.org>
20977
20978 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20979
65a82e3d
DM
209802013-01-14 David S. Miller <davem@davemloft.net>
20981
8b954ab9
DM
20982 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20983 (SPARC_ASM_VIS2_IFUNC): Likewise.
20984 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20986 use of 'siam' instruction.
20987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20988 Likewise.
20989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20990 Likewise.
20991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20992 Likewise.
20993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20998 file.
20999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21000 file.
21001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21002 file.
21003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21004 file.
21005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21010 new VIS2 routines.
21011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21014 Likewise.
21015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21020 routines to libm-sysdep_routines.
21021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21022
65a82e3d
DM
21023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21024 fdim/fdimf to libm-sysdep_routines.
21025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21026 file.
21027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21029 file.
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21033 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21034 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21035 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21036 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21037
e34ab705
SP
210382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21039
2a91b573
SP
21040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21041 to optimize copies.
21042
1066a534
SP
21043 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21046
e34ab705
SP
21047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21048 local variable MPTWO.
21049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21050 Likewise.
21051
aba5e596
MF
210522013-01-13 Mike Frysinger <vapier@gentoo.org>
21053
21054 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21055 GLOB_NOESCAPE.
21056
e557e9e5
MF
210572013-01-13 Mike Frysinger <vapier@gentoo.org>
21058
21059 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21060
0428cec9
MF
210612013-01-13 Mike Frysinger <vapier@gentoo.org>
21062
21063 * manual/pattern.texi (glob_t): Document gl_flags.
21064 (glob64_t): Likewise.
21065
8794a964
DM
210662013-01-11 David S. Miller <davem@davemloft.net>
21067
66438c3f
RM
21068 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21069 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21070 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21071 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21072 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21073 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21074 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21075 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21076 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21077 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21078 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21079 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21080 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21081
4ae4244d
DM
21082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21083 sparc V9 rather than using V8 code.
21084 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21085 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21086
8794a964
DM
21087 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21088 Move to...
21089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21090 Here.
21091
6270516e
RM
210922013-01-11 Roland McGrath <roland@hack.frob.com>
21093
21094 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21095 not in the main loop.
21096 * configure: Regenerated.
21097
6a57d931
JM
210982013-01-11 Joseph Myers <joseph@codesourcery.com>
21099
21100 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21101 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21102 to just #else.
21103 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21104 [!__GLIBC_HAVE_LONG_LONG] case.
21105 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21106 condition to just #else.
21107 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21108 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21109 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21110 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21111 unconditional.
21112 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21113 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21114 #elif condition to just #else.
21115 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21116 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21117 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21118 #elif condition to just #else.
21119
0e8529e9
SE
211202013-01-11 Steve Ellcey <sellcey@mips.com>
21121
21122 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21123 (EF_MIPS_ARCH_64): Fix value.
21124 (EF_MIPS_ARCH_32R2): New.
21125 (EF_MIPS_ARCH_64R2): New.
21126
740b3dbe
L
211272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21128
21129 * Makeconfig (+link-pie-before-libc): New.
21130 (+link-pie-after-libc): Likewise.
21131 (+link-pie-tests): Likewise.
21132 (+link-pie): Rewritten.
21133 (link-before-libc): Remove $(config-LDFLAGS).
21134 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21135 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21136 (config-LDFLAGS): Renamed to ...
21137 (rtld-LDFLAGS): This.
21138 (rtld-tests-LDFLAGS): New macro.
21139 (link-libc-rpath-link): Likewise.
21140 (link-libc-tests-rpath-link): Likewise.
21141 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21142 (link-libc): Prepand $(link-libc-rpath-link).
21143 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21144 (test-program-prefix): New macro.
21145 (test-via-rtld-prefix): Likewise.
21146 (test-program-cmd): Likewise.
21147 (host-test-program-cmd): Likewise.
21148 * Makefile ($(common-objpfx)testrun.sh): Replace
21149 $(run-program-prefix) with $(test-program-prefix).
21150 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21151 $(rtld-LDFLAGS).
21152 ($(common-objpfx)shlib.lds): Likewise.
21153 (build-module-helper): Likewise.
21154 ($(common-objpfx)format.lds): Likewise.
21155 * Rules (binaries-pie-tests): New.
21156 (binaries-pie-notests): Likewise.
21157 (binaries-pie): Rewritten.
21158 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21159 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21160 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21161 (make-test-out): Replace $(host-built-program-cmd) with
21162 $(host-test-program-cmd).
21163 * config.make.in (build-hardcoded-path-in-tests): New variable.
21164 * configure.in (--enable-hardcoded-path-in-tests): New configure
21165 option.
21166 (hardcoded_path_in_tests): New AC_SUBST.
21167 * configure: Regenerated.
21168 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21169 $(built-program-cmd) with $(test-program-cmd).
21170 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21171 (test_program_cmd): This.
21172 * elf/Makefile ($(objpfx)order.out): Run test with
21173 $(test-program-prefix).
21174 ($(objpfx)order2.out): Likewise.
21175 ($(objpfx)tst-initorder.out): Likewise.
21176 ($(objpfx)tst-initorder2.out): Likewise.
21177 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21178 $(test-program-cmd).
21179 ($(objpfx)tst-array1-static.out): Likewise.
21180 ($(objpfx)tst-array2.out): Likewise.
21181 ($(objpfx)tst-array3.out): Likewise.
21182 ($(objpfx)tst-array4.out): Likewise.
21183 ($(objpfx)tst-array5.out): Likewise.
21184 ($(objpfx)tst-array5-static.out): Likewise.
21185 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21186 $(test-program-cmd).
21187 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21188 $(run-program-prefix) with $(test-program-prefix).
21189 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21190 (test_program_prefix): This.
21191 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21192 $(run-program-prefix) with $(test-program-prefix).
21193 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21194 (test_program_prefix): This.
21195 * iconvdata/tst-tables.sh: Likewise.
21196 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21197 $(run-program-prefix) with $(test-program-prefix).
21198 ($(objpfx)tst-translit.out): Likewise.
21199 ($(objpfx)tst-gettext2.out): Likewise.
21200 ($(objpfx)tst-gettext4.out): Likewise.
21201 ($(objpfx)tst-gettext6.out): Likewise.
21202 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21203 (test_program_prefix): This.
21204 * intl/tst-gettext2.sh: Likewise.
21205 * intl/tst-gettext4.sh Likewise.
21206 * intl/tst-gettext6.sh: Likewise.
21207 * intl/tst-translit.sh: Likewise.
21208 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21209 with $(test-program-cmd).
21210 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21211 $(run-program-prefix) with $(test-program-prefix).
21212 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21213 (test_program_prefix): This.
21214 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21215 $(run-program-prefix) with $(test-program-prefix).
21216 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21217 (test_program_prefix): This.
21218 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21219 * posix/Makefile ($(objpfx)globtest.out): Replace
21220 $(run-via-rtld-prefix) and $(test-wrapper) with
21221 $(test-program-prefix) and $(test-via-rtld-prefix).
21222 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21223 $(test-program-prefix).
21224 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21225 $(host-test-program-cmd).
21226 (tst-spawn-ARGS): Likewise.
21227 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21228 $(test-program-prefix).
21229 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21230 (test_via_rtld_prefix): This.
21231 (test_wrapper): Renamed to ...
21232 (test_program_prefix): This.
21233 (run_program_prefix): Replaced by test_program_prefix.
21234 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21235 (test_program_prefix): This.
21236 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21237 with $(host-test-program-cmd).
21238 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21239 $(run-program-prefix) with $(test-program-prefix).
21240 ($(objpfx)tst-printf.out): Likewise.
21241 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21242 $(test-program-cmd).
21243 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21244 (test_program_prefix): This.
21245 * stdio-common/tst-unbputc.sh: Likewise.
21246 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21247 $(run-program-prefix) with $(test-program-prefix).
21248 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21249 (test_program_prefix): This.
21250 * string/Makefile ($(objpfx)tst-svc.out): Replace
21251 $(built-program-cmd) with $(test-program-cmd).
21252
c6fe55cf
AJ
212532013-01-11 Andreas Jaeger <aj@suse.de>
21254
21255 [BZ #15003]
21256 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21257 value. Sync with Linux 3.7.
21258
9e6919c8
DM
212592013-01-10 David S. Miller <davem@davemloft.net>
21260
21261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21264
1c9f1a02
RM
212652013-01-10 Roland McGrath <roland@hack.frob.com>
21266
21267 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21268 never set.
21269 * configure: Regenerated.
21270
b9de2dde
DM
212712013-01-10 David S. Miller <davem@davemloft.net>
21272
21273 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21274 sparc V9 rather than using V8 code.
21275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21277
e7f68ef4
RM
212782013-01-10 Roland McGrath <roland@hack.frob.com>
21279
21280 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21281 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21282 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21283 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21284 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21285 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21286 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21287 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21288 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21289 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21290 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21291 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21292 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21293 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21294 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21295 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21296 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21297 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21298 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21299 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21300 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21301 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21302 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21303 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21304 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21305 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21306 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21307
5a47cc9c
DM
213082013-01-10 David S. Miller <davem@davemloft.net>
21309
21310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21311
4cf8f209
L
213122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 * posix/Makefile (tests-static): New variable.
21315 (tests): Add $(tests-static).
21316 (tst-exec-static-ARGS): New variable.
21317 (tst-spawn-static-ARGS): Likewise.
21318 * posix/tst-exec-static.c: New file.
21319 * posix/tst-spawn-static.c: Likewise.
21320 * posix/tst-exec.c: Support run directly.
21321 * posix/tst-spawn.c: Likewise.
21322
fed0faa1
JM
213232013-01-10 Joseph Myers <joseph@codesourcery.com>
21324
828beb13
JM
21325 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21326 long.
21327 * math/bits/mathcalls.h (llrint): Likewise.
21328 (llround): Likewise.
21329 * stdlib/stdlib.h (struct drand48_data): Likewise.
21330 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21331 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21332 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21333 Likewise.
21334 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21335 Likewise.
21336 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21337 (elf_greg_t): Likewise.
21338 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21339 (__jmp_buf): Likewise.
21340 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21341 definitions.
21342 (llrint): Likewise, for all definitions.
21343 (llrintl): Likewise.
21344
fed0faa1
JM
21345 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21346 Remove [__GNUC__] condition.
21347 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21348 condition to just [__USE_ISOC99].
21349 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21350
1a20cb20
L
213512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21352
21353 [BZ #14200]
21354 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21355 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21356 defined.
21357 (_POSIX_V6_ILP32_OFF32): Likewise.
21358 (_XBS5_ILP32_OFF32): Likewise.
21359 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21360 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21361
751b85f7
SP
213622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21363
7490eb81
SP
21364 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21365
751b85f7
SP
21366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21367 doubles __mpexp_twomm1. Adjust usage.
21368 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21369 Remove.
21370
988197f0
AS
213712013-01-10 Andreas Schwab <schwab@suse.de>
21372
21373 [BZ #14964]
21374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21375 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21376
e83d7298
DM
213772013-01-09 David S. Miller <davem@davemloft.net>
21378
034ed64b 21379 [BZ #15003]
57f41c40
AS
21380 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21381 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21382 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21383 (TCP_FASTOPEN): Define.
e83d7298
DM
21384 (tcp_repair_opt): New structure.
21385 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21386 enum values.
57f41c40
AS
21387 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21388 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21389 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21390 (tcp_cookie_transactions): New structure.
21391
d5e0b9bd
AB
213922013-01-09 Anton Blanchard <anton@samba.org>
21393
21394 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21395 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21396 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21397 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21398
0c07e3ea
JM
213992013-01-09 Joseph Myers <joseph@codesourcery.com>
21400
21401 * include/features.h (__USE_ANSI): Remove.
21402
232f7002
RM
214032013-01-09 Roland McGrath <roland@hack.frob.com>
21404
ad98e30c
RM
21405 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21406
232f7002
RM
21407 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21408
950c99ca
SP
214092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
b5792741
SP
21411 * sysdeps/s390/fpu/libm-test-ulps: Update.
21412
47cf2278
SP
21413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21414
950c99ca
SP
21415 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21416 (__acr): Likewise.
21417 (__cpy): Likewise.
21418 (norm): Likewise.
21419 (denorm): Likewise.
21420 (__mp_dbl): Likewise.
21421 (__dbl_mp): Likewise.
21422 (add_magnitudes): Likewise.
21423 (sub_magnitudes): Likewise.
21424 (__add): Likewise.
21425 (__sub): Likewise.
21426 (__mul): Likewise.
21427 (__inv): Likewise.
21428 (__dvd): Likewise.
21429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21430 (__acr): Likewise.
21431 (__cpy): Likewise.
21432 (norm): Likewise.
21433 (denorm): Likewise.
21434 (__mp_dbl): Likewise.
21435 (__dbl_mp): Likewise.
21436 (add_magnitudes): Likewise.
21437 (sub_magnitudes): Likewise.
21438 (__add): Likewise.
21439 (__sub): Likewise.
21440 (__mul): Likewise.
21441 (__inv): Likewise.
21442 (__dvd): Likewise.
21443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21444 (__acr): Likewise.
21445 (__cpy): Likewise.
21446 (norm): Likewise.
21447 (denorm): Likewise.
21448 (__mp_dbl): Likewise.
21449 (__dbl_mp): Likewise.
21450 (add_magnitudes): Likewise.
21451 (sub_magnitudes): Likewise.
21452 (__add): Likewise.
21453 (__sub): Likewise.
21454 (__mul): Likewise.
21455 (__inv): Likewise.
21456 (__dvd): Likewise.
21457
eede9df9
JM
214582013-01-08 Joseph Myers <joseph@codesourcery.com>
21459
21460 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21461 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21462 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21463 2 && __USE_EXTERN_INLINES]: Likewise.
21464
c40ea3d9
AJ
214652013-01-08 Andreas Jaeger <aj@suse.de>
21466
21467 [BZ# 14985]
21468 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21469 Remove.
21470 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21471 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21472
2ccdea26
AB
214732013-01-07 Anton Blanchard <anton@samba.org>
21474
21475 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21476 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21477 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21478 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21479 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21480 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21481 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21482 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21484 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21486 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21488 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21492 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21493 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21498 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21499 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21501 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21502 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21505 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21507 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21509 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21512 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21517 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21518
a9708fed
JM
215192013-01-07 Joseph Myers <joseph@codesourcery.com>
21520
375607b9
JM
21521 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21522 (__MALLOC_PMT): Likewise.
21523 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21524 [__GNUC__], only on [_LIBC].
21525 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21526 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21527 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21528 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21529 forward declaration.
21530 (realloc_hook_ini): Likewise.
21531 (memalign_hook_ini): Likewise.
21532 (__libc_memalign): Do not use __MALLOC_PMT in variable
21533 declaration.
21534 (__libc_valloc): Likewise.
21535 (__libc_pvalloc): Likewise.
21536 (__libc_calloc): Likewise.
21537 (__posix_memalign): Likewise.
21538
a9708fed
JM
21539 [BZ #14996]
21540 * math/s_casinh.c: Include <float.h>.
21541 (__casinh): Do not do computation with squaring and square root
21542 for large arguments.
21543 * math/s_casinhf.c: Include <float.h>.
21544 (__casinhf): Do not do computation with squaring and square root
21545 for large arguments.
21546 * math/s_casinhl.c: Include <float.h>.
21547 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21548 (__casinhl): Do not do computation with squaring and square root
21549 for large arguments.
21550 * math/libm-test.inc (casin_test): Add more tests.
21551 (casinh_test): Likewise.
21552 * sysdeps/i386/fpu/libm-test-ulps: Update.
21553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21554
afec409a
L
215552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21558 (__x86_64_raw_data_cache_size): Likewise.
21559 (__x86_64_data_cache_size_half): Likewise.
21560 (__x86_64_raw_data_cache_size_half): Likewise.
21561 (__x86_64_shared_cache_size): Likewise.
21562 (__x86_64_raw_shared_cache_size): Likewise.
21563 (__x86_64_shared_cache_size_half): Likewise.
21564 (__x86_64_raw_shared_cache_size_half): Likewise.
21565 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21566 to ...
21567 (__x86_data_cache_size): This.
21568 (__x86_64_raw_data_cache_size): Renamed to ...
21569 (__x86_raw_data_cache_size): This.
21570 (__x86_64_data_cache_size_half): Renamed to ...
21571 (__x86_data_cache_size_half): This.
21572 (__x86_64_raw_data_cache_size_half): Renamed to ...
21573 (__x86_raw_data_cache_size_half): This.
21574 (__x86_64_shared_cache_size): Renamed to ...
21575 (__x86_shared_cache_size): This.
21576 (__x86_64_raw_shared_cache_size): Renamed to ...
21577 (__x86_raw_shared_cache_size): This.
21578 (__x86_64_shared_cache_size_half): Renamed to ...
21579 (__x86_shared_cache_size_half): This.
21580 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21581 (__x86_raw_shared_cache_size_half): This.
21582 * sysdeps/x86_64/memcpy.S: Updated.
21583 * sysdeps/x86_64/memset.S: Likewise.
21584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21587
0b3986d0
DM
215882013-01-04 David S. Miller <davem@davemloft.net>
21589
21590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21591
e47686e9
AS
215922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21593
d643bac1
AS
21594 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21595 1 to avoid redefinition warning.
21596 (__USE_GNU): Don't define.
21597 (init_signaling_nan): Protoize.
21598
e47686e9
AS
21599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21600
b18decba
SP
216012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21602
fffb407f
SP
21603 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21605 (__cpymn): Likewise.
21606 (norm): Remove commented code.
21607 (denorm): Likewise.
21608 (__mp_dbl): Likewise.
21609 (__inv): Likewise.
21610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21611 (__cpymn): Likewise.
21612 (norm): Remove commented code.
21613 (denorm): Likewise.
21614 (__mp_dbl): Likewise.
21615 (__inv): Likewise.
21616
b18decba
SP
21617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21618 mp_no value for 1.0 and 2.0.
21619 (norm): Use RADIXI instead of radixi.d.
21620 (denorm): Likewise.
21621 (__mul): Use 0.0 instead of zero.d.
21622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21623 mp_no value for 1.0 and 2.0.
21624 (norm): Use RADIXI instead of radixi.d.
21625 (denorm): Likewise.
21626 (__mul): Use 0.0 instead of zero.d.
21627
cdc1c96f
JM
216282013-01-04 Joseph Myers <joseph@codesourcery.com>
21629
21630 [BZ #14994]
21631 * math/s_casinh.c (__casinh): Reduce finite argument to first
21632 quadrant then set signs of results at the end.
21633 * math/s_casinhf.c (__casinhf): Likewise.
21634 * math/s_casinhl.c (__casinhl): Likewise.
21635 * math/libm-test.inc (casin_test): Add more tests.
21636 (casinh_test): Likewise.
21637 * sysdeps/i386/fpu/libm-test-ulps: Update.
21638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21639
302913e1
SP
216402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21641
6420d207
SP
21642 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21643
a9e48ab4
SP
21644 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21645
b7837264
SP
21646 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21647 declarations.
21648 (denorm): Likewise.
21649 (__mp_dbl): Likewise.
21650 (__inv): Likewise.
21651
f8af25d2
SP
21652 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21653 and adjust the header comment.
21654
302913e1
SP
21655 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21656 variable name from declaration.
21657
5d7dd1ca
L
216582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21661 Initialize COMMON_CPUID_INDEX_7 element.
21662 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21663 (CPUID_RTM): Likewise.
21664 (HAS_RTM): Likewise.
21665 (COMMON_CPUID_INDEX_7): New enum.
21666
2f5f40f4
AS
216672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21668
21669 [BZ #14981]
21670 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21671 size is zero, record memory as freed.
21672
4056f4a0
AJ
216732013-01-03 Andreas Jaeger <aj@suse.de>
21674
21675 * po/ia.po: Add new Interlingua translation.
21676
ab15736f 216772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21678
21679 * locale/programs/localedef.c: Fix description of '--posix' flag.
21680
568035b7
JM
216812013-01-02 Joseph Myers <joseph@codesourcery.com>
21682
e6898b8d
JM
21683 * NEWS: Update dates in second copyright notice.
21684 * README: Update copyright dates in example.
21685 * manual/libc.texinfo: Update copyright dates.
21686 * scripts/test-installation.pl: Update copyright date in --version
21687 output.
21688
0e2f9562
JM
21689 * hurd/ctty-input.c: Fix copyright notice formatting.
21690 * hurd/ctty-output.c: Likewise.
21691 * hurd/dtable.c: Likewise.
21692 * hurd/hurd-raise.c: Likewise.
21693 * hurd/hurdprio.c: Likewise.
21694 * hurd/msgportdemux.c: Likewise.
21695 * misc/sys/file.h: Likewise.
21696 * misc/sys/ioctl.h: Likewise.
21697 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21698 * sysdeps/mach/hurd/chdir.c: Likewise.
21699 * sysdeps/mach/hurd/fchdir.c: Likewise.
21700 * sysdeps/mach/hurd/rename.c: Likewise.
21701 * sysdeps/mach/hurd/rmdir.c: Likewise.
21702 * sysdeps/mach/hurd/seekdir.c: Likewise.
21703 * sysdeps/mach/hurd/setsid.c: Likewise.
21704 * sysdeps/posix/wait3.c: Likewise.
21705
568035b7
JM
21706 * All files with FSF copyright notices: Update copyright dates
21707 using scripts/update-copyrights.
21708 * intl/plural.c: Regenerated.
21709 * locale/programs/charmap-kw.h: Likewise.
21710 * locale/programs/locfile-kw.h: Likewise.
21711
da08f647
SP
217122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21713
0f5477af
SP
21714 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21715 four values.
21716
44e0d4c2
SP
21717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21718 calculation loop and add branch prediction.
21719
4d55b4e5
SP
21720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21721 check access beyond bounds of m1np.
21722
da08f647
SP
21723 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21724 MPTWO.
21725 (__inv): Remove local variable MPTWO to use the global
21726 constant.
21727 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21729 variable MPTWO.
21730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21731 MP3HALFS static const.
21732
8e051029
DM
217332013-01-01 David S. Miller <davem@davemloft.net>
21734
21735 * po/ca.po: Update from translation team.
21736
f4cf5f2d
JM
217372013-01-01 Joseph Myers <joseph@codesourcery.com>
21738
21739 * scripts/update-copyrights: New file.
21740 * Makeconfig: Reformat copyright notice.
21741 * ctype/ctype.h: Likewise.
21742 * debug/swprintf_chk.c: Likewise.
21743 * elf/dl-cache.c: Likewise.
21744 * elf/dl-debug.c: Likewise.
21745 * elf/dl-object.c: Likewise.
21746 * grp/initgroups.c: Likewise.
21747 * hurd/Makefile: Likewise.
21748 * hurd/hurd/signal.h: Likewise.
21749 * hurd/hurdfault.c: Likewise.
21750 * hurd/hurdioctl.c: Likewise.
21751 * hurd/hurdlookup.c: Likewise.
21752 * hurd/intr-msg.c: Likewise.
21753 * iconv/gconv_open.c: Likewise.
21754 * libio/swprintf.c: Likewise.
21755 * locale/lc-ctype.c: Likewise.
21756 * locale/nl_langinfo.c: Likewise.
21757 * mach/Machrules: Likewise.
21758 * mach/Makefile: Likewise.
21759 * malloc/obstack.h: Likewise.
21760 * manual/Makefile: Likewise.
21761 * manual/tsort.awk: Likewise.
21762 * misc/bits/stab.def: Likewise.
21763 * nis/nis_print_group_entry.c: Likewise.
21764 * nis/nis_table.c: Likewise.
21765 * nis/nss_compat/compat-pwd.c: Likewise.
21766 * nis/nss_compat/compat-spwd.c: Likewise.
21767 * po/Makefile: Likewise.
21768 * posix/fnmatch.c: Likewise.
21769 * posix/regex.h: Likewise.
21770 * resolv/Makefile: Likewise.
21771 * resolv/nss_dns/dns-network.c: Likewise.
21772 * resolv/res_hconf.c: Likewise.
21773 * scripts/gen-sorted.awk: Likewise.
21774 * soft-fp/soft-fp.h: Likewise.
21775 * stdio-common/printf.h: Likewise.
21776 * stdlib/monetary.h: Likewise.
21777 * stdlib/random.c: Likewise.
21778 * stdlib/random_r.c: Likewise.
21779 * sysdeps/generic/Makefile: Likewise.
21780 * sysdeps/gnu/Makefile: Likewise.
21781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21809 * sysdeps/mach/hurd/errnos.awk: Likewise.
21810 * sysdeps/mach/hurd/fork.c: Likewise.
21811 * sysdeps/mach/hurd/getcwd.c: Likewise.
21812 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21813 * sysdeps/mach/hurd/mmap.c: Likewise.
21814 * sysdeps/mach/hurd/utimes.c: Likewise.
21815 * sysdeps/mach/hurd/xmknod.c: Likewise.
21816 * sysdeps/posix/profil.c: Likewise.
21817 * sysdeps/posix/readdir_r.c: Likewise.
21818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21819 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21820 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21821 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21823 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21824 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21825 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21829 * sysdeps/pthread/lio_listio.c: Likewise.
21830 * sysdeps/sparc/dl-procinfo.h: Likewise.
21831 * sysdeps/unix/i386/sysdep.S: Likewise.
21832 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21833 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21834 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21835 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21837 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21838 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21839 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21840 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21841 * sysdeps/wordsize-32/divdi3.c: Likewise.
21842 * time/sys/time.h: Likewise.
21843 * wcsmbs/Makefile: Likewise.
21844
0549fbba
DM
218452013-01-01 David S. Miller <davem@davemloft.net>
21846
a141f1a7
DM
21847 * po/fr.po: Update from translation team.
21848
0549fbba
DM
21849 * catgets/gencat.c: Update copyright year.
21850 * csu/version.c: Likewise.
21851 * debug/catchsegv.sh: Likewise.
21852 * debug/pcprofiledump.c: Likewise.
21853 * debug/xtrace.sh: Likewise.
21854 * elf/ldconfig.c: Likewise.
21855 * elf/ldd.bash.in: Likewise.
21856 * elf/pldd.c: Likewise.
21857 * elf/sotruss.ksh: Likewise.
21858 * elf/sprof.c: Likewise.
21859 * iconv/iconv_prog.c: Likewise.
21860 * iconv/iconvconfig.c: Likewise.
21861 * locale/programs/locale.c: Likewise.
21862 * locale/programs/localedef.c: Likewise.
21863 * login/programs/pt_chown.c: Likewise.
21864 * malloc/memusage.sh: Likewise.
21865 * malloc/memusagestat.c: Likewise.
21866 * malloc/mtrace.pl: Likewise.
21867 * nscd/nscd.c: Likewise.
21868 * nss/getent.c: Likewise.
21869 * nss/makedb.c: Likewise.
21870 * posix/getconf.c: Likewise.
21871
18ea052c
SP
218722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21873
21874 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21875 numbers.
21876
9c89fca6
MF
218772012-12-30 Mike Frysinger <vapier@gentoo.org>
21878
21879 * math/bits/mathcalls.h (modf): Use __nonnull.
21880
085ec079
SP
218812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21882
21883 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21884 (split): Use macro CN instead of the bare value.
21885 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21886 could be used.
21887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21888 instead of the bare value.
21889 (power1): Likewise.
21890
6d9f97e1
SP
218912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21892
d63f73be
SP
21893 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21894 __ATAN_TWOM.
21895 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21896
6d9f97e1
SP
21897 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21898 their values.
21899 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21900 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21901 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21902 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21903
4c4febf5
AJ
219042012-12-28 Andreas Jaeger <aj@suse.de>
21905
af5843ef
AJ
21906 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21907 values are from Linux 3.7.
21908
4c4febf5
AJ
21909 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21910 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21911
99136f82
SP
219122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21913
2f216c3c 21914 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21915 TRUE case.
21916
99136f82
SP
21917 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21918 (norm): Likewise.
21919 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21920 variables with preprocessor constants.
21921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21922 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21924
7fffbdff
BH
219252012-12-27 Bruno Haible <bruno@clisp.org>
21926
21927 [BZ #14317]
21928 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21929 only if needed.
21930
b76eb5f0
SP
219312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21932
31a7fe5c
SP
21933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21934 and use variable directly.
21935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21936
b76eb5f0
SP
21937 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21938 MPONE.
21939 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21941 variable MPONE.
21942 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21944 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21945 include directive. Remove local variable MPONE.
21946 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21949
2c8bfe7d
DM
219502012-12-25 David S. Miller <davem@davemloft.net>
21951
21952 * version.h (RELEASE): Set to "development".
21953 (VERSION): Set to "2.17.90".
21954 * NEWS: Add 2.18 section.
21955
147d03b0
DM
219562012-12-21 David S. Miller <davem@davemloft.net>
21957
21958 * po/hr.po: Update from translation team.
21959
a8ebb2b9
AK
219602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21961
21962 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21963
95b4f1b6
SE
219642012-12-19 Steve Ellcey <sellcey@mips.com>
21965
b2d94007 21966 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21967
cedb2a90
MS
219682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21969
21970 * manual/contrib.texi (Contributors): Spelling correction.
21971
bbf527d6
DM
219722012-12-15 David S. Miller <davem@davemloft.net>
21973
21974 * po/ru.po: Update from translation team.
21975
bc38c906
DM
219762012-12-13 David S. Miller <davem@davemloft.net>
21977
85429b1a
DM
21978 * NEWS: Mention IFUNC testsuite enhancements.
21979
d283e353
DM
21980 * po/pl.po: Update from translation team.
21981 * po/bg.po: Likewise.
21982
bc38c906
DM
21983 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21984 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21985
a181b0d7
DM
219862012-12-11 David S. Miller <davem@davemloft.net>
21987
4641d57e
DM
21988 * po/sv.po: Update from translation team.
21989
f7bc6495
DM
21990 * po/vi.po: Update from translation team.
21991
6fc9048f
DM
21992 * po/cs.po: Update from translation team.
21993
a181b0d7
DM
21994 * po/de.po: Update from translation team.
21995 * po/eo.po: Likewise.
21996 * po/nl.po: Likewise.
21997
f70bfe80
SP
219982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21999
3c8b4190
SP
22000 [BZ #14246]
22001 * manual/argp.texi (Argp Helper Functions): Move node to follow
22002 Argp Parsing State.
22003
f70bfe80
SP
22004 [BZ #14872]
22005 * manual/conf.texi (Limits on File System Capacity): Mention if
22006 terminating null is included in the max size.
22007
188f0adf
AJ
220082012-12-10 Andreas Jaeger <aj@suse.de>
22009
22010 * po/cs.po: Update from translation team.
22011
56e7d3ad
SP
220122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22013
22014 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22015 void pointer and cast to uintptr_t.
22016 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22017 path.
22018 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22019 * sysdeps/s390/s390-64/memset.S: Likewise.
22020
76f2d2ea 220212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22022
22023 [BZ #14833]
22024 * menual/message.texi (Message Translation): Fix typos.
22025 (Helper programs for gettext): Likewise.
22026
67cbf9a2
AS
220272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22028
22029 [BZ #14898]
22030 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22031 Change to -1.
22032
682d0e9a
DM
220332012-12-07 David S. Miller <davem@davemloft.net>
22034
22035 * po/libc.pot: Update.
22036
573cd484
RH
220372012-12-07 Richard Henderson <rth@redhat.com>
22038
7e9da188 22039 [BZ #10114]
573cd484
RH
22040 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22041 normal/normal case to before the switch.
22042 (_FP_DIV): Likewise.
22043
e933a943
MF
220442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22045 Mike Frysinger <vapier@gentoo.org>
22046
22047 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22048 check for __NR_fadvise64_64.
22049
82123268
CM
220502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22051
22052 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22053 0, not just to plain "0" as a statement.
22054 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22055 with cw.
22056
d9814526
JM
220572012-12-06 Joseph Myers <joseph@codesourcery.com>
22058
22059 * NEWS: Use sourceware.org in Bugzilla URL.
22060
7728c574
SP
220612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22062
f16946dd
SP
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22064 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22065
5704bbcb
SP
22066 * stdio-common/tst-put-error.c (do_test): Add newline to the
22067 padded test to ensure flush.
22068
17aa0516
JL
220692012-12-05 Jeff Law <law@redhat.com>
22070
22071 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22072
363313b5
JM
220732012-12-05 Joseph Myers <joseph@codesourcery.com>
22074
effbd42a
JM
22075 * README: Don't refer to ports add-on as distributed separately.
22076 Mention AArch64 in list of systems supported in the ports add-on.
22077
87600365
JM
22078 * LICENSES: Add more non-FSF copyright and license notices.
22079
a0d7066a
JM
22080 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22081 ((unused)).
22082
66ca5a5b
JM
22083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22084
363313b5
JM
22085 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22086 10000 as width of padded output.
22087
b37984ad
JM
220882012-12-04 Joseph Myers <joseph@codesourcery.com>
22089
9003570a
JM
22090 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22091
b37984ad
JM
22092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22093 variable LX with __attribute__ ((unused)).
22094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22095 Likewise.
22096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22098 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22099 with __attribute__ ((unused)).
22100
c8df52ec
DM
221012012-12-04 David S. Miller <davem@abraco.davemloft.net>
22102
22103 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22104
b3b099af
JM
221052012-12-04 Joseph Myers <joseph@codesourcery.com>
22106
c33aa6e3
JM
22107 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22108 (CFLAGS-nldbl-acos.c): New variable.
22109 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22110 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22111 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22112 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22113 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22114 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22141 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22142 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22143 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22144 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22145 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22146 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22147 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22148 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22149 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22150 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22151 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22152 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22153 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22154 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22155 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22156 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22161 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22162 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22163 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22164 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22165 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22166 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22167 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22168 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22169 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22170 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22171 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22172 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22173 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22174 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22175 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22176 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22177 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22178 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22179 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22180 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22181 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22182 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22183 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22184 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22185 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22186 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22187 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22188 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22189 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22190 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22191 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22192 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22193 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22194 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22195 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22196 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22197 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22198 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22199 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22200 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22201 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22202 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22203 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22204 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22205 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22206
20f0018d
JM
22207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22208 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22209
b3b099af
JM
22210 [BZ #14914]
22211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22212 whole low double instead of just low 47 bits when splitting values
22213 into two parts.
22214
029264d1
AM
222152012-12-03 Allan McRae <allan@archlinux.org>
22216
22217 * manual/stdio.texi (Predefined Printf Handlers): Remove
22218 @hsep and @vsep usage.
22219
c9d6789e
MF
222202012-12-03 Mike Frysinger <vapier@gentoo.org>
22221
22222 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22223 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22224
4b7634a5
JL
222252012-12-03 Jeff Law <law@redhat.com>
22226
22227 * time/sys/time.h (settimeofday): Do not mark TV argument
22228 as __nonnull.
22229
eb6cbd24
MF
222302012-12-01 Mike Frysinger <vapier@gentoo.org>
22231
22232 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22233 when currently writing and seek to current position when not.
22234 * libio/Makefile (tests): Remove bug-fclose1.
22235 * libio/bug-fclose1.c: Delete.
22236
f638872a
JM
222372012-12-01 Joseph Myers <joseph@codesourcery.com>
22238
22239 * manual/arith.texi (feenableexcept): Fix typo.
22240 (fedisableexcept): Likewise.
22241
48085d14
RM
222422012-11-30 Roland McGrath <roland@hack.frob.com>
22243
22244 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22245 second, differently-typed declaration, rather than a cast.
22246
1a538b9f
SP
222472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22248
22249 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22250 * include/rpc/svc.h: ... here.
22251
d07f2ff1 222522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22253
22254 [BZ #13013]
22255 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22256 depending n and resplen2 to catch cases where answer
22257 equals answerp2.
22258
c93ec1f0
CD
222592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22260
22261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22262 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22263
37db69de
MF
222642012-11-29 Mike Frysinger <vapier@gentoo.org>
22265
22266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22267
e10c4e4f
RM
222682012-11-29 Roland McGrath <roland@hack.frob.com>
22269
22270 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22271
2af1b328
JL
222722012-11-28 Jeff Law <law@redhat.com>
22273
22274 [BZ #13761]
22275 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22276 dataset_temporary. Track alloca usage into alloca_used.
22277 If dataset is large allocate and release it via malloc/free.
22278
111db5b1
FW
222792012-06-04 Florian Weimer <fweimer@redhat.com>
22280
f06cc227 22281 [BZ #14197]
111db5b1
FW
22282 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22283
dd694abd
DM
222842012-11-28 David S. Miller <davem@davemloft.net>
22285
22286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22287
9984dd01
JM
222882012-11-28 Joseph Myers <joseph@codesourcery.com>
22289
22290 [BZ #14803]
22291 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22292 of pi/2 rounded to nearest to 64 bits.
22293 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22294 nearest to 64 bits.
22295 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22296 bits.
22297
14bc93a9
JL
222982012-11-28 Jeff Law <law@redhat.com>
22299 Martin Osvald <mosvald@redhat.com>
22300
22301 [BZ #14889]
22302 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22303 * sunrpc/svc.c: Include time.h.
22304 (__svc_accept_failed): New function.
22305 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22306 any reason other than EINTR, call __svc_accept_failed.
22307 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22308 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22309
e3c6aa3a
AS
223102012-11-28 Andreas Schwab <schwab@suse.de>
22311
22312 * scripts/abilist.awk: Also handle indirect functions in .opd
22313 section.
22314
1bead169
JM
223152012-11-28 Joseph Myers <joseph@codesourcery.com>
22316
22317 [BZ #13881]
22318 * sysdeps/x86/fpu/powl_helper.c: New file.
22319 * sysdeps/x86/fpu/Makefile: Likewise.
22320 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22321 (p3): New object.
22322 (__ieee754_powl): Use __powl_helper for finite arguments except
22323 integer exponents below 8.
22324 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22325 (p3): New object.
22326 (__ieee754_powl): Use __powl_helper for finite arguments except
22327 integer exponents below 8.
22328 * math/libm-test.inc (pow_test): Add more tests and enable some
22329 previously disabled tests.
22330 * sysdeps/i386/fpu/libm-test-ulps: Update.
22331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22332
0817d63d
SP
223332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22334 Carlos O'Donell <carlos_odonell@mentor.com>
22335
22336 * nss/makedb.c (is_prime): Assert that input is odd and greater
22337 than 4. Note that fact in a comment too.
22338 (next_prime): Add 4 to input.
22339
de2fd463
SP
223402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22341
22342 [BZ #11741]
22343 * libio/Makefile (tests): Add test case tst-fwrite-error.
22344 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22345 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22346 * libio/tst-fwrite-error.c: New test case.
22347
c515fb51
L
223482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22351 before casting to void *.
22352 * include/libc-internal.h (__pointer_type): New macro.
22353 (__integer_if_pointer_type_sub): Likewise.
22354 (__integer_if_pointer_type): Likewise.
22355 (cast_to_integer): Likewise.
22356 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22357 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22358 before casting to atomic64_t.
22359 (atomic_exchange_acq): Likewise.
22360 (__arch_exchange_and_add_body): Likewise.
22361 (__arch_add_body): Likewise.
22362 (atomic_add_negative): Likewise.
22363 (atomic_add_zero): Likewise.
22364
4cf77aa9
JM
223652012-11-26 Joseph Myers <joseph@codesourcery.com>
22366
22367 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22368 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22369 (add_fdes): Likewise.
22370 (linear_search_fdes): Likewise.
22371 (binary_search_unencoded_fdes): Likewise.
22372
d260b3b4
AS
223732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22374
22375 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22376
67060746
AC
223772012-11-24 Adam Conrad <adconrad@0c3.net>
22378
22379 * configure.in: Autodetect C++ header directories.
22380 * configure: Regenerated.
22381
800938a1
MF
223822012-11-23 Mike Frysinger <vapier@gentoo.org>
22383
22384 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22385
4e6e34e6
AS
223862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22387
22388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22389
7c7feb47
JM
223902012-11-22 Joseph Myers <joseph@codesourcery.com>
22391
7184dcdf
JM
22392 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22393 LDBL_MANT_DIG == 106]: Disable some tests.
22394 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22395 Likewise.
22396 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22397 Likewise.
22398
0a42601f
JM
22399 [BZ #14871]
22400 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22401 input for small inputs. Return +/- pi/2 for large inputs.
22402 * math/libm-test.inc (atan_test): Add more tests.
22403
79c9b9fe
JM
22404 * sysdeps/generic/unwind-dw2-fde-glibc.c
22405 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22406 __attribute__ ((unused)).
22407
c60d3bf2
JM
22408 [BZ #14645]
22409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22410 x * y if x and y are nonzero and z is zero.
22411
ef1e0867
JM
22412 [BZ #14811]
22413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22414 nonzero exponents with absolute value below 0x1p-117 to +/-
22415 0x1p-117.
22416
1468ded3
JM
22417 [BZ #14869]
22418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22419 up arguments below 2**-450, not just those below 2**-500.
22420 * math/libm-test.inc (hypot_test): Add another test.
22421
8e27e3cc
JM
22422 [BZ #14868]
22423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22424 Return a+b for ratio over 2**120, not 2**60.
22425 * math/libm-test.inc (hypot_test): Add another test.
22426
c9c0279b
JM
22427 * math/libm-test.inc (clog_test): Use
22428 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22429 (clog10_test): Likewise.
22430
7c7feb47
JM
22431 [BZ #6778]
22432 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22433
fff1530e
AS
224342012-11-22 Andreas Schwab <schwab@suse.de>
22435
22436 * sysdeps/i386/fpu/libm-test-ulps: Update.
22437
94558d30
PT
224382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22439
22440 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22441 printf output with newline.
22442
7e1be741
L
224432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22444
6bfea974
L
22445 [BZ #14865]
22446 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22447 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22448 -z nodlopen, -z initfirst and -z execstack support.
22449 * configure: Regenerated.
22450
7e1be741
L
22451 * elf/elf.h (DF_1_NODIRECT): New macro.
22452 (DF_1_IGNMULDEF): Likewise.
22453 (DF_1_NOKSYMS): Likewise.
22454 (DF_1_NOHDR): Likewise.
22455 (DF_1_EDITED): Likewise.
22456 (DF_1_NORELOC): Likewise.
22457 (DF_1_SYMINTPOSE): Likewise.
22458 (DF_1_GLOBAUDIT): Likewise.
22459 (DF_1_SINGLETON): Likewise.
22460 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22461 DT_1_SUPPORTED_MASK bits.
22462 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22463
105ce2ce
CD
224642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22465
22466 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22467
123be9de
TS
224682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22469
d072f3f7
TS
22470 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22471 macro.
22472
123be9de
TS
22473 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22474 (sendmmsg): Move declarations...
22475 * socket/sys/socket.h: ... here.
22476 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22477 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22478 include it from...
22479 * socket/recvmmsg.c: ... this new file.
22480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22481 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22482 definition of __sendmmsg hidden.
22483 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22484 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22485 Move ENOSYS stub into and include it from...
22486 * socket/sendmmsg.c: ... this new file.
22487 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22488 (sysdep_routines): Move recvmmsg and sendmmsg...
22489 * socket/Makefile (routines): ... here.
22490 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22491 (GLIBC_PRIVATE): Add __sendmmsg.
22492 * include/sys/socket.h (__sendmmsg): Add declarations.
22493 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22494 sendmmsg.
22495
cf9a5d18
JM
224962012-11-20 Joseph Myers <joseph@codesourcery.com>
22497
22498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22499 variable I1 with __attribute__ ((unused)).
22500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22501
ecd4caf9
JM
225022012-11-19 Joseph Myers <joseph@codesourcery.com>
22503
be14d48f
JM
22504 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22505 DUMMY variables with __attribute__ ((unused)).
22506
ecd4caf9
JM
22507 * bits/byteswap.h: Include <bits/types.h>.
22508 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22509
986cab95
PT
225102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22511
22512 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22513 string_t. Do not manually set errno.
22514 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22515 length with __strnlen. Make sure to both set errno and return it on
22516 failure.
22517
6d33cc9d
DM
225182012-11-19 David S. Miller <davem@davemloft.net>
22519
22520 With help from Joseph Myers.
22521 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22522 very large arguments properly.
22523 * math/libm-test.inc (atan_test): New tests.
22524 (atan2_test): New tests.
22525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22527
ee663277
JM
225282012-11-19 Joseph Myers <joseph@codesourcery.com>
22529
877f2d8e
JM
22530 [BZ #14856]
22531 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22532 Define to 3.
22533
116fc08a
JM
22534 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22535 [POSIX] (EADDRNOTAVAIL): Likewise.
22536 [POSIX] (EAFNOSUPPORT): Likewise.
22537 [POSIX] (EALREADY): Likewise.
22538 [POSIX] (ECONNABORTED): Likewise.
22539 [POSIX] (ECONNREFUSED): Likewise.
22540 [POSIX] (ECONNRESET): Likewise.
22541 [POSIX] (EDESTADDRREQ): Likewise.
22542 [POSIX] (EDQUOT): Likewise.
22543 [POSIX] (EHOSTUNREACH): Likewise.
22544 [POSIX] (EIDRM): Likewise.
22545 [POSIX] (EISCONN): Likewise.
22546 [POSIX] (ELOOP): Likewise.
22547 [POSIX] (EMULTIHOP): Likewise.
22548 [POSIX] (ENETDOWN): Likewise.
22549 [POSIX] (ENETUNREACH): Likewise.
22550 [POSIX] (ENOBUFS): Likewise.
22551 [POSIX] (ENODATA): Likewise.
22552 [POSIX] (ENOLINK): Likewise.
22553 [POSIX] (ENOMSG): Likewise.
22554 [POSIX] (ENOPROTOOPT): Likewise.
22555 [POSIX] (ENOSR): Likewise.
22556 [POSIX] (ENOSTR): Likewise.
22557 [POSIX] (ENOTCONN): Likewise.
22558 [POSIX] (ENOTSOCK): Likewise.
22559 [POSIX] (EOPNOTSUPP): Likewise.
22560 [POSIX] (EOVERFLOW): Likewise.
22561 [POSIX] (EPROTO): Likewise.
22562 [POSIX] (EPROTONOSUPPORT): Likewise.
22563 [POSIX] (EPROTOTYPE): Likewise.
22564 [POSIX] (ESTALE): Likewise.
22565 [POSIX] (ETIME): Likewise.
22566 [POSIX] (ETXTBSY): Likewise.
22567 [POSIX] (EWOULDBLOCK): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22569 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22570 [POSIX] (SEEK_CUR): Likewise.
22571 [POSIX] (SEEK_END): Likewise.
22572 [POSIX || UNIX98] (mode_t): Do not require.
22573 [POSIX] (off_t): Likewise.
22574 [POSIX] (pid_t): Likewise.
22575 [POSIX] (sys/stat.h): Do not allow header.
22576 [POSIX] (unistd.h): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22578 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22580 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22581 require.
22582 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22583 sigevent): Specify elements.
22584 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22585 entry.
22586 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22587 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22588
a483863f
JM
22589 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22590 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22591 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22592 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22593 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22594 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22595 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22596 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22598 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22599 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22600 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22601 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22603 Likewise.
22604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22605 Likewise.
22606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22607 Likewise.
22608 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22609 Likewise.
22610 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22611 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22612 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22613 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22614 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22615 Specify lower bound on value.
22616 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22617 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22618 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22620 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22621 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22622 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22623 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22624 value.
22625 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22626 as optional.
22627 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22628 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22629 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22630 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22631 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22632 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22637 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22638 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22639 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22640 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22641 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22642 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22643 entry.
22644 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22645 optional.
22646 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22647 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22648 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22649 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22650 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22652 Likewise.
22653 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22654 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22655 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22656 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22657 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22658 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22660 as optional.
22661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22662 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22664 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22665 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22666 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22667 specify as optional.
22668 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22669 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22670 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22671 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22672 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22673 [XPG3] (NL_LANGMAX): Likewise.
22674 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22675 [POSIX || XPG3] (NL_NMAX): Likewise.
22676 [POSIX || XPG3] (NL_SETMAX): Likewise.
22677 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22678 [XPG3] (NZERO): Likewise.
22679 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22680 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22681 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22682 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22683 (REG_ERANGE): Expect.
22684 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22685 optional-constant.
22686 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22687 Use (void) in prototype.
22688 [POSIX] (*_t): Allow.
22689 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22690 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22691 (WRDE_BADVAL): Expect.
22692
5ba924e3
JM
22693 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22694 expect.
22695 [XPG3 || XPG4] (O_RSYNC): Likewise.
22696 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22697 Likewise.
22698 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22699 [XPG3 || XPG4] (sigqueue): Likewise.
22700 [XPG3 || XPG4] (sigtimedwait): Likewise.
22701 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22702 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22703 [XPG3 || XPG4] (vsnprintf): Likewise.
22704 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22705 Likewise.
22706 [XPG3 || XPG4] (blksize_t): Likewise.
22707 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22708 Likewise.
22709 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22710 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22711 [XPG3 || XPG4] (struct itimerspec): Likewise.
22712 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22713 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22714 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22715 [XPG3 || XPG4] (clockid_t): Likewise.
22716 [XPG3 || XPG4] (timer_t): Likewise.
22717 [XPG3 || XPG4] (clock_getres): Likewise.
22718 [XPG3 || XPG4] (clock_gettime): Likewise.
22719 [XPG3 || XPG4] (clock_settime): Likewise.
22720 [XPG3 || XPG4] (nanosleep): Likewise.
22721 [XPG3 || XPG4] (timer_create): Likewise.
22722 [XPG3 || XPG4] (timer_delete): Likewise.
22723 [XPG3 || XPG4] (timer_gettime): Likewise.
22724 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22725 [XPG3 || XPG4] (timer_settime): Likewise.
22726 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22727 [XPG3 || XPG4] (getlogin_r): Likewise.
22728 [XPG3 || XPG4] (pread): Likewise.
22729 [XPG3 || XPG4] (pthread_atfork): Likewise.
22730 [XPG3 || XPG4] (pwrite): Likewise.
22731
ee663277
JM
22732 [BZ #14835]
22733 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22734 <bits/siginfo.h>.
22735
942caa16
PT
227362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22737
e19af380
PT
22738 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22739 finalizing MALLSTREAM.
22740
942caa16
PT
22741 * sysdeps/mach/hurd/syncfs.c: New file.
22742
cfde9b46
SP
227432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22744
22745 [BZ #14719]
22746 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22747 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22749 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22750 (_nss_dns_gethostbyname4_r): Likewise.
22751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22752 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22753
f6da27e5
PH
227542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22755
22756 [BZ #13763]
22757 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22758
6665d4a2
SM
227592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22760
1f51ee92
SM
22761 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22762 * elf/cache.c (print_entry): Print ",AArch64" for
22763 FLAG_AARCH64_LIB64
22764
6665d4a2
SM
22765 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22766 * elf/cache.c (print_entry): Print ",hard-float" for
22767 FLAG_ARM_LIBHF.
22768
05b227bd
DM
227692012-11-18 David S. Miller <davem@davemloft.net>
22770
22771 With help from Joseph Myers.
22772 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22773 cutoff to 2**-13.
22774 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22775 cutoff to 2**-25.
22776 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22777 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22778 small.
22779 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22780 * math/libm-test.inc (y0_test): New tests.
22781 (y1_test): New tests.
22782 * sysdeps/i386/fpu/libm-test-ulps: Update.
22783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22785
786b0b67
AS
227862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22787
22788 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22789 64-bit targets.
22790 * configure: Regenerated.
22791
8e18b86d
DM
227922012-11-17 David S. Miller <davem@davemloft.net>
22793
22794 [BZ #14811]
22795 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22796 nonzero exponents with absolute value below 0x1p-128 to +/-
22797 0x1p-128.
22798
531f1ae0
JM
227992012-11-17 Joseph Myers <joseph@codesourcery.com>
22800
12df29e2
JM
22801 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22802
150dc1a0
JM
22803 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22804
531f1ae0
JM
22805 * posix/getconf-speclist.c: New file.
22806 * posix/posix-envs.def: Likewise.
22807 * posix/confstr.c (START_ENV_GROUP): New macro.
22808 (END_ENV_GROUP): Likewise.
22809 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22810 (KNOWN_PRESENT_ENV_STRING): Likewise.
22811 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22812 (UNKNOWN_ENVIRONMENT): Likewise.
22813 (confstr): Include posix-envs.def instead of handling
22814 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22815 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22816 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22817 (END_ENV_GROUP): Likewise.
22818 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22819 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22820 (UNKNOWN_ENVIRONMENT): Likewise.
22821 (__sysconf): Include posix-envs.def instead of handling associated
22822 cases directly here.
22823 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22824 preprocessing getconf-speclist.c rather than running getconf or
22825 generating empty file.
22826
a93f9cbc
PT
228272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22828
22829 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22830
d64d9f87
AL
228312012-11-16 Andrej Lajovic <natrij@gmail.com>
22832
22833 [BZ #14672]
22834 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22835
447885eb
DM
228362012-11-16 David S. Miller <davem@davemloft.net>
22837
22838 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22839 smaller than LDBL_EPSILON/2.0L, just return xm1.
22840
bcbf9830
L
228412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22842
22843 * elf/tst-array1.c (init): Set constructor priority to 1000.
22844 (fini): Set destructor priority to 1000.
22845 * elf/tst-array2dep.c: Likewise.
22846
2b766585
SP
228472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22848
22849 [BZ #11741]
22850 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22851 (_IO_new_file_xsputn): Also return EOF if none of the input
22852 data was written when overflow failed.
22853 * libio/iopadn.c (_IO_padn): Likewise.
22854 * libio/iowpadn.c (_IO_wpadn): Likewise.
22855 * stdio-common/tst-put-error.c: Add copyright notice.
22856 (do_test): Add case for printing padded string.
22857 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22858 _IO_padn returned error.
22859 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22860 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22861 return EOF.
22862
b1848fde
SP
228632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 * libio/libioP.h: Add comment note that the references to C++
22866 bits are now obsolete.
22867
2fd89785
MS
228682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22869
22870 * math/libm-test.inc (check_complex): Use asprintf.
22871
e3ea5409
JM
228722012-11-14 Joseph Myers <joseph@codesourcery.com>
22873
22874 * debug/pcprofiledump.c (print_version): Update copyright year.
22875 * malloc/memusagestat.c (print_version): Likewise.
22876
2e64d265
L
228772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 [BZ #14831]
22880 * elf/Makefile (tests): Add tst-audit8.
22881 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22882 ($(objpfx)tst-audit8.out): New target.
22883 (tst-audit8-ENV): New variable.
22884 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22885 audit if l_reloc_result is NULL.
22886 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22887 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22888 * elf/tst-audit8.c: New file.
22889
c485e4d2
MS
228902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22891
22892 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22893 * misc/Makefile (CFLAGS-select.c): Define.
22894 * posix/Makefile (CFLAGS-pause.c): Define.
22895
3a0d900a
DM
228962012-11-13 David S. Miller <davem@davemloft.net>
22897
22898 * crypt/Makefile: Move test targets after toplevel Rules
22899 inclusion. Grab any necessary sysdep routines when linking.
22900 * crypt/md5.c (md5_process_block): Remove define, we will always
22901 name it __md5_process_block.
22902 (md5_finish_ctx): Update md5_process_block call.
22903 (md5_stream): Likewise.
22904 (md5_process_bytes): Likewise.
22905 (md5_process_block): Rename to __md5_process_block and move to ...
22906 * crypt/md5-block.c: ... here.
22907 * crypt/sha256.c (sha256_process_block): Move to ...
22908 * crypt/sha256-block.c: ... here.
22909 * crypt/sha512.c (sha512_process_block): Move to ...
22910 * crypt/sha512-block.c: ... here.
22911 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22912 path.
22913 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22914 * sysdeps/sparc/sparc64/multiarch/Makefile
22915 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22916 crypt subdir.
22917 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22918 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22919 multiarch changes.
22920 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22921 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22922 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22923 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22924 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22925 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22926 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22927 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22929 file.
22930 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22932 file.
22933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22934
8ca89318
JM
229352012-11-13 Joseph Myers <joseph@codesourcery.com>
22936
e27d476a
JM
22937 * timezone/tzselect.ksh: Update from tzcode git revision
22938 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22939 * timezone/zdump.c: Likewise.
22940 * timezone/zic.c: Likewise.
22941 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22942 in TZVERSION setting, not $(PKGVERSION).
22943 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22944 REPORT_BUGS_TO settings.
22945
8ca89318
JM
22946 [BZ #14838]
22947 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22948 macro.
22949
47594329
MS
229502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22951
22952 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22953 detection to immediately after _FP_ROUND().
22954 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22955 bits are 0.
22956
640ac3f1
DM
229572012-11-11 David S. Miller <davem@davemloft.net>
22958
22959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22960 inttypes.h
22961 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22962 __close rather than their public counterparts.
22963
3d2577bb
JM
229642012-11-10 Joseph Myers <joseph@codesourcery.com>
22965
22966 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22967 file.
22968 [UNIX98] (sem_timedwait): Do not expect.
22969 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22970 [XPG4 || UNIX98] (sockatmark): Do not expect.
22971 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22972 (clock_getcpuclockid): Do not expect.
22973 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22974 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22975 Do not expect.
22976 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22977 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22978 [UNIX98] (vwscanf): Likewise.
22979 [UNIX98] (vswscanf): Likewise.
22980
fb1ae1ee
JM
229812012-11-09 Joseph Myers <joseph@codesourcery.com>
22982
9ec6f8bd
JM
22983 * timezone/version.h: Remove file.
22984 * timezone/README: Do not refer to version.h.
22985 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22986 $(objpfx)version.h.
22987 ($(objpfx)zdump.o): Likewise.
c3f81911 22988 ($(objpfx)version.h): New target.
9ec6f8bd 22989
0aa8f8a1
JM
22990 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22991 2012i.
22992 * timezone/README: Don't mention modification to tzselect.ksh.
22993 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22994 work on unmodified tzselect.ksh. Substitute version numbers in
22995 tzselect.ksh.
22996
4e87147f
JM
22997 * Makefile (format-me): Remove.
22998 (INSTALL): Adjust indentation. Use commands directly instead of
22999 using $(format-me).
23000
8b748aed
JM
23001 * aclocal.m4 (ACX_PKGVERSION): New macro.
23002 (ACX_BUGURL): Likewise.
23003 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23004 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23005 (REPORT_BUGS_TO): Likewise.
23006 * configure: Regenerated.
23007 * config.h.in (PKGVERSION): New macro.
23008 (REPORT_BUGS_TO): Likewise.
23009 * config.make.in (PKGVERSION): New variable.
23010 (PKGVERSION_TEXI): Likewise.
23011 (REPORT_BUGS_TO): Likewise.
23012 (REPORT_BUGS_TEXI): Likewise.
23013 * Makefile (format-me): Use -I$(common-objpfx)manual.
23014 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23015 ($(common-objpfx)manual/%): New target.
23016 (manual/%): Remove target.
23017 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23018 (print_version): Use PKGVERSION.
23019 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23020 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23021 and REPORT_BUGS_TO.
23022 ($(objpfx)xtrace): Likewise.
23023 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23024 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23025 (print_version): Use PKGVERSION.
23026 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23027 (do_version): Use PKGVERSION.
23028 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23029 REPORT_BUGS_TO.
23030 (common-ldd-rewrite): Likewise.
23031 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23032 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23033 (print_version): Use PKGVERSION.
23034 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23035 * elf/pldd.c (argp_program_bug_address): Remove variable.
23036 (more_help): New function.
23037 (argp): Use more_help.
23038 (print_version): Use PKGVERSION.
23039 * elf/sln.c (main): Use PKGVERSION.
23040 (usage): Use REPORT_BUGS_TO.
23041 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23042 (top level): Use PKGVERSION.
23043 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23044 (print_version): Use PKGVERSION.
23045 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23046 (print_version): Use PKGVERSION.
23047 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23048 (print_version): Use PKGVERSION.
23049 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23050 (print_version): Use PKGVERSION.
23051 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23052 (print_version): Use PKGVERSION.
23053 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23054 (print_version): Use PKGVERSION.
23055 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23056 and BUGURL.
23057 ($(objpfx)memusage): Likewise.
23058 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23059 (do_version): Use PKGVERSION.
23060 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23061 (print_version): Use PKGVERSION.
23062 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23063 ($PKGVERSION): New variable.
23064 ($REPORT_BUGS_TO): Likewise.
23065 (usage): Use $REPORT_BUGS_TO.
23066 (top level): Use $PKGVERSION.
23067 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23068 ($(objpfx)pkgvers.texi): New rule.
23069 ($(objpfx)stamp-pkgvers): Likewise.
23070 * manual/install.texi: Include pkgvers.texi.
23071 (--with-pkgversion): Document new configure option.
23072 (--with-bugurl): Likewise.
23073 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23074 than necessarily for this particular distribution. Use
23075 REPORT_BUGS_TO for where to report bugs.
23076 * INSTALL: Regenerated.
23077 * manual/libc.texinfo: Include pkgvers.texi.
23078 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23079 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23080 (print_version): Use PKGVERSION.
23081 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23082 (print_version): Use PKGVERSION.
23083 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23084 (print_version): Use PKGVERSION.
23085 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23086 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23087 macro.
23088 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23089 (print_version): Use PKGVERSION.
23090 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23091 (print_version): Use PKGVERSION.
23092 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23093 and PKGVERSION.
23094
92e4b6a9
JM
23095 * timezone/checktab.awk: Update from tzcode 2012i.
23096 * timezone/ialloc.c: Likewise.
23097 * timezone/private.h: Likewise.
23098 * timezone/scheck.c: Likewise.
23099 * timezone/tzfile.h: Likewise.
23100 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23101 (TZVERSION): Hardcode tzcode version number.
23102 * timezone/zdump.c: Update from tzcode 2012i.
23103 * timezone/zic.c: Likewise.
23104 * timezone/version.h: New file.
23105 * timezone/README: Describe version.h. Update upstream location.
23106
9bde902c
JM
23107 [BZ #14824]
23108 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23109 (mktemp): Enable declaration.
23110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23114 Likewise.
23115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23116 Likewise.
23117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23118 Likewise.
23119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23120 Likewise.
23121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23122 Likewise.
23123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23124 Likewise.
23125
fb1ae1ee
JM
23126 [BZ #14821]
23127 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23128 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23129 for copies of such integer values.
23130 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23131 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23132
2c1adbcb
AJ
231332012-11-09 Andreas Jaeger <aj@suse.de>
23134
23135 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23136 definitions and declarations that are provided by
23137 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23138
d0f8457e
AK
231392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23140
3a235abb 23141 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23142 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23143 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23144 definition.
23145
57241e26
MS
231462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23147
23148 * elf/elf.h: Update comment before AArch64 relocations.
23149
60e8270d
DM
231502012-11-07 David S. Miller <davem@davemloft.net>
23151
23152 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23153 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23154 (__start_context): Declare.
23155 (__makecontext_ret): Delete.
23156 (__makecontext): Hook up __start_context instead of
23157 __makecontext_ret.
23158 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23159 (sysdep_routines): Add __start_context when in stdlib.
23160
0fbb0fbc
JM
231612012-11-07 Joseph Myers <joseph@codesourcery.com>
23162
23163 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23164 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23165 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23166 hardcoded "nm".
23167 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23168 (READELF): New variable. Use it instead of hardcoded "readelf".
23169
eb48db7e
L
231702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23171
23172 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23173 * sysdeps/x86/Makefile: Here.
23174 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23175 * sysdeps/x86/tst-xmmymm.sh: This.
23176
05bcf62a
JM
231772012-11-07 Joseph Myers <joseph@codesourcery.com>
23178
c4b6cf53
JM
23179 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23180 expectations.
23181 [UNIX98] (pthread_barrier_t): Do not expect.
23182 [UNIX98] (pthread_barrierattr_t): Likewise.
23183 [UNIX98] (pthread_spinlock_t): Likewise.
23184 [UNIX98] (pthread_barrier_destroy): Likewise.
23185 [UNIX98] (pthread_barrier_init): Likewise.
23186 [UNIX98] (pthread_barrier_wait): Likewise.
23187 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23188 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23189 [UNIX98] (pthread_barrierattr_init): Likewise.
23190 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23191 [UNIX98] (pthread_getcpuclockid): Likewise.
23192 [UNIX98] (pthread_mutex_timedlock): Likewise.
23193 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23194 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23195 [UNIX98] (pthread_sigmask): Likewise.
23196 [UNIX98] (pthread_spin_destroy): Likewise.
23197 [UNIX98] (pthread_spin_init): Likewise.
23198 [UNIX98] (pthread_spin_lock): Likewise.
23199 [UNIX98] (pthread_spin_trylock): Likewise.
23200 [UNIX98] (pthread_spin_unlock): Likewise.
23201 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23202 Do not expect.
23203 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23205 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23206 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23207 [XPG3 || XPG4] (pthread_key_t): Likewise.
23208 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23209 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23210 [XPG3 || XPG4] (pthread_once_t): Likewise.
23211 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23212 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23214 [XPG3 || XPG4] (pthread_t): Likewise.
23215
cbe6e120
JM
23216 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23217 not expect.
23218 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23219
1b126443
JM
23220 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23221 Change function return type to int.
23222
b961a573
JM
23223 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23224 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23225 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23226 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23227 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23228 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23229 [!POSIX] (posix_madvise): Likewise.
23230 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23231 && !UNIX98].
23232 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23233 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23234 (mode_t): Likewise.
23235 (posix_mem_offset): Likewise.
23236 (posix_typed_mem_get_info): Likewise.
23237 (posix_typed_mem_open): Likewise.
23238
9e188909
JM
23239 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23240 Change condition to [XOPEN2K8].
23241
05bcf62a
JM
23242 * conform/conformtest.pl: Preprocess allow-header data with -x c
23243 instead of from stdin.
23244 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23245 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23246 [C99-based standards] (cerfc): Likewise.
23247 [C99-based standards] (cexp2): Likewise.
23248 [C99-based standards] (cexpm1): Likewise.
23249 [C99-based standards] (clog10): Likewise.
23250 [C99-based standards] (clog1p): Likewise.
23251 [C99-based standards] (clog2): Likewise.
23252 [C99-based standards] (clgamma): Likewise.
23253 [C99-based standards] (ctgamma): Likewise.
23254 [C99-based standards] (cerff): Likewise.
23255 [C99-based standards] (cerfcf): Likewise.
23256 [C99-based standards] (cexp2f): Likewise.
23257 [C99-based standards] (cexpm1f): Likewise.
23258 [C99-based standards] (clog10f): Likewise.
23259 [C99-based standards] (clog1pf): Likewise.
23260 [C99-based standards] (clog2f): Likewise.
23261 [C99-based standards] (clgammaf): Likewise.
23262 [C99-based standards] (ctgammaf): Likewise.
23263 [C99-based standards] (cerfl): Likewise.
23264 [C99-based standards] (cerfcl): Likewise.
23265 [C99-based standards] (cexp2l): Likewise.
23266 [C99-based standards] (cexpm1l): Likewise.
23267 [C99-based standards] (clog10l): Likewise.
23268 [C99-based standards] (clog1pl): Likewise.
23269 [C99-based standards] (clog2l): Likewise.
23270 [C99-based standards] (clgammal): Likewise.
23271 [C99-based standards] (ctgammal): Likewise.
23272 * conform/data/inttypes.h-data [C99-based standards]: Include
23273 stdint.h-data. Remove all expectations for stdint.h contents.
23274 [C99-based standards] (PRI*): Do not allow.
23275 [C99-based standards] (SCN*): Likewise.
23276 [C99-based standards] (*_t): Likewise.
23277 [C99-based-standards] (PRId8): Expect macro.
23278 [C99-based-standards] (PRIi8): Likewise.
23279 [C99-based-standards] (PRIo8): Likewise.
23280 [C99-based-standards] (PRIu8): Likewise.
23281 [C99-based-standards] (PRIx8): Likewise.
23282 [C99-based-standards] (PRIX8): Likewise.
23283 [C99-based-standards] (SCNd8): Likewise.
23284 [C99-based-standards] (SCNi8): Likewise.
23285 [C99-based-standards] (SCNo8): Likewise.
23286 [C99-based-standards] (SCNu8): Likewise.
23287 [C99-based-standards] (SCNx8): Likewise.
23288 [C99-based-standards] (PRIdLEAST8): Likewise.
23289 [C99-based-standards] (PRIiLEAST8): Likewise.
23290 [C99-based-standards] (PRIoLEAST8): Likewise.
23291 [C99-based-standards] (PRIuLEAST8): Likewise.
23292 [C99-based-standards] (PRIxLEAST8): Likewise.
23293 [C99-based-standards] (PRIXLEAST8): Likewise.
23294 [C99-based-standards] (SCNdLEAST8): Likewise.
23295 [C99-based-standards] (SCNiLEAST8): Likewise.
23296 [C99-based-standards] (SCNoLEAST8): Likewise.
23297 [C99-based-standards] (SCNuLEAST8): Likewise.
23298 [C99-based-standards] (SCNxLEAST8): Likewise.
23299 [C99-based-standards] (PRIdFAST8): Likewise.
23300 [C99-based-standards] (PRIiFAST8): Likewise.
23301 [C99-based-standards] (PRIoFAST8): Likewise.
23302 [C99-based-standards] (PRIuFAST8): Likewise.
23303 [C99-based-standards] (PRIxFAST8): Likewise.
23304 [C99-based-standards] (PRIXFAST8): Likewise.
23305 [C99-based-standards] (SCNdFAST8): Likewise.
23306 [C99-based-standards] (SCNiFAST8): Likewise.
23307 [C99-based-standards] (SCNoFAST8): Likewise.
23308 [C99-based-standards] (SCNuFAST8): Likewise.
23309 [C99-based-standards] (SCNxFAST8): Likewise.
23310 [C99-based-standards] (PRId16): Likewise.
23311 [C99-based-standards] (PRIi16): Likewise.
23312 [C99-based-standards] (PRIo16): Likewise.
23313 [C99-based-standards] (PRIu16): Likewise.
23314 [C99-based-standards] (PRIx16): Likewise.
23315 [C99-based-standards] (PRIX16): Likewise.
23316 [C99-based-standards] (SCNd16): Likewise.
23317 [C99-based-standards] (SCNi16): Likewise.
23318 [C99-based-standards] (SCNo16): Likewise.
23319 [C99-based-standards] (SCNu16): Likewise.
23320 [C99-based-standards] (SCNx16): Likewise.
23321 [C99-based-standards] (PRIdLEAST16): Likewise.
23322 [C99-based-standards] (PRIiLEAST16): Likewise.
23323 [C99-based-standards] (PRIoLEAST16): Likewise.
23324 [C99-based-standards] (PRIuLEAST16): Likewise.
23325 [C99-based-standards] (PRIxLEAST16): Likewise.
23326 [C99-based-standards] (PRIXLEAST16): Likewise.
23327 [C99-based-standards] (SCNdLEAST16): Likewise.
23328 [C99-based-standards] (SCNiLEAST16): Likewise.
23329 [C99-based-standards] (SCNoLEAST16): Likewise.
23330 [C99-based-standards] (SCNuLEAST16): Likewise.
23331 [C99-based-standards] (SCNxLEAST16): Likewise.
23332 [C99-based-standards] (PRIdFAST16): Likewise.
23333 [C99-based-standards] (PRIiFAST16): Likewise.
23334 [C99-based-standards] (PRIoFAST16): Likewise.
23335 [C99-based-standards] (PRIuFAST16): Likewise.
23336 [C99-based-standards] (PRIxFAST16): Likewise.
23337 [C99-based-standards] (PRIXFAST16): Likewise.
23338 [C99-based-standards] (SCNdFAST16): Likewise.
23339 [C99-based-standards] (SCNiFAST16): Likewise.
23340 [C99-based-standards] (SCNoFAST16): Likewise.
23341 [C99-based-standards] (SCNuFAST16): Likewise.
23342 [C99-based-standards] (SCNxFAST16): Likewise.
23343 [C99-based-standards] (PRId32): Likewise.
23344 [C99-based-standards] (PRIi32): Likewise.
23345 [C99-based-standards] (PRIo32): Likewise.
23346 [C99-based-standards] (PRIu32): Likewise.
23347 [C99-based-standards] (PRIx32): Likewise.
23348 [C99-based-standards] (PRIX32): Likewise.
23349 [C99-based-standards] (SCNd32): Likewise.
23350 [C99-based-standards] (SCNi32): Likewise.
23351 [C99-based-standards] (SCNo32): Likewise.
23352 [C99-based-standards] (SCNu32): Likewise.
23353 [C99-based-standards] (SCNx32): Likewise.
23354 [C99-based-standards] (PRIdLEAST32): Likewise.
23355 [C99-based-standards] (PRIiLEAST32): Likewise.
23356 [C99-based-standards] (PRIoLEAST32): Likewise.
23357 [C99-based-standards] (PRIuLEAST32): Likewise.
23358 [C99-based-standards] (PRIxLEAST32): Likewise.
23359 [C99-based-standards] (PRIXLEAST32): Likewise.
23360 [C99-based-standards] (SCNdLEAST32): Likewise.
23361 [C99-based-standards] (SCNiLEAST32): Likewise.
23362 [C99-based-standards] (SCNoLEAST32): Likewise.
23363 [C99-based-standards] (SCNuLEAST32): Likewise.
23364 [C99-based-standards] (SCNxLEAST32): Likewise.
23365 [C99-based-standards] (PRIdFAST32): Likewise.
23366 [C99-based-standards] (PRIiFAST32): Likewise.
23367 [C99-based-standards] (PRIoFAST32): Likewise.
23368 [C99-based-standards] (PRIuFAST32): Likewise.
23369 [C99-based-standards] (PRIxFAST32): Likewise.
23370 [C99-based-standards] (PRIXFAST32): Likewise.
23371 [C99-based-standards] (SCNdFAST32): Likewise.
23372 [C99-based-standards] (SCNiFAST32): Likewise.
23373 [C99-based-standards] (SCNoFAST32): Likewise.
23374 [C99-based-standards] (SCNuFAST32): Likewise.
23375 [C99-based-standards] (SCNxFAST32): Likewise.
23376 [C99-based-standards] (PRId64): Likewise.
23377 [C99-based-standards] (PRIi64): Likewise.
23378 [C99-based-standards] (PRIo64): Likewise.
23379 [C99-based-standards] (PRIu64): Likewise.
23380 [C99-based-standards] (PRIx64): Likewise.
23381 [C99-based-standards] (PRIX64): Likewise.
23382 [C99-based-standards] (SCNd64): Likewise.
23383 [C99-based-standards] (SCNi64): Likewise.
23384 [C99-based-standards] (SCNo64): Likewise.
23385 [C99-based-standards] (SCNu64): Likewise.
23386 [C99-based-standards] (SCNx64): Likewise.
23387 [C99-based-standards] (PRIdLEAST64): Likewise.
23388 [C99-based-standards] (PRIiLEAST64): Likewise.
23389 [C99-based-standards] (PRIoLEAST64): Likewise.
23390 [C99-based-standards] (PRIuLEAST64): Likewise.
23391 [C99-based-standards] (PRIxLEAST64): Likewise.
23392 [C99-based-standards] (PRIXLEAST64): Likewise.
23393 [C99-based-standards] (SCNdLEAST64): Likewise.
23394 [C99-based-standards] (SCNiLEAST64): Likewise.
23395 [C99-based-standards] (SCNoLEAST64): Likewise.
23396 [C99-based-standards] (SCNuLEAST64): Likewise.
23397 [C99-based-standards] (SCNxLEAST64): Likewise.
23398 [C99-based-standards] (PRIdFAST64): Likewise.
23399 [C99-based-standards] (PRIiFAST64): Likewise.
23400 [C99-based-standards] (PRIoFAST64): Likewise.
23401 [C99-based-standards] (PRIuFAST64): Likewise.
23402 [C99-based-standards] (PRIxFAST64): Likewise.
23403 [C99-based-standards] (PRIXFAST64): Likewise.
23404 [C99-based-standards] (SCNdFAST64): Likewise.
23405 [C99-based-standards] (SCNiFAST64): Likewise.
23406 [C99-based-standards] (SCNoFAST64): Likewise.
23407 [C99-based-standards] (SCNuFAST64): Likewise.
23408 [C99-based-standards] (SCNxFAST64): Likewise.
23409 [C99-based-standards] (PRIdMAX): Likewise.
23410 [C99-based-standards] (PRIiMAX): Likewise.
23411 [C99-based-standards] (PRIoMAX): Likewise.
23412 [C99-based-standards] (PRIuMAX): Likewise.
23413 [C99-based-standards] (PRIxMAX): Likewise.
23414 [C99-based-standards] (PRIXMAX): Likewise.
23415 [C99-based-standards] (SCNdMAX): Likewise.
23416 [C99-based-standards] (SCNiMAX): Likewise.
23417 [C99-based-standards] (SCNoMAX): Likewise.
23418 [C99-based-standards] (SCNuMAX): Likewise.
23419 [C99-based-standards] (SCNxMAX): Likewise.
23420 [C99-based-standards] (PRIdPTR): Likewise.
23421 [C99-based-standards] (PRIiPTR): Likewise.
23422 [C99-based-standards] (PRIoPTR): Likewise.
23423 [C99-based-standards] (PRIuPTR): Likewise.
23424 [C99-based-standards] (PRIxPTR): Likewise.
23425 [C99-based-standards] (PRIXPTR): Likewise.
23426 [C99-based-standards] (SCNdPTR): Likewise.
23427 [C99-based-standards] (SCNiPTR): Likewise.
23428 [C99-based-standards] (SCNoPTR): Likewise.
23429 [C99-based-standards] (SCNuPTR): Likewise.
23430 [C99-based-standards] (SCNxPTR): Likewise.
23431 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23432 allow.
23433 * conform/data/stdint.h-data: Update comments to clarify
23434 requirements.
23435 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23436 type.
23437 [C99-based standards] (INT8_MAX): Likewise.
23438 [C99-based standards] (INT16_MIN): Likewise.
23439 [C99-based standards] (INT16_MAX): Likewise.
23440 [C99-based standards] (INT32_MIN): Likewise.
23441 [C99-based standards] (INT32_MAX): Likewise.
23442 [C99-based standards] (INT64_MIN): Likewise.
23443 [C99-based standards] (INT64_MAX): Likewise.
23444 [C99-based standards] (UINT8_MAX): Likewise.
23445 [C99-based standards] (UINT16_MAX): Likewise.
23446 [C99-based standards] (UINT32_MAX): Likewise.
23447 [C99-based standards] (UINT64_MAX): Likewise.
23448 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23449 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23450 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23451 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23452 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23453 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23454 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23455 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23456 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23457 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23458 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23459 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23460 [C99-based standards] (INT_FAST8_MIN): Likewise.
23461 [C99-based standards] (INT_FAST8_MAX): Likewise.
23462 [C99-based standards] (INT_FAST16_MIN): Likewise.
23463 [C99-based standards] (INT_FAST16_MAX): Likewise.
23464 [C99-based standards] (INT_FAST32_MIN): Likewise.
23465 [C99-based standards] (INT_FAST32_MAX): Likewise.
23466 [C99-based standards] (INT_FAST64_MIN): Likewise.
23467 [C99-based standards] (INT_FAST64_MAX): Likewise.
23468 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23469 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23470 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23471 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23472 [C99-based standards] (INTPTR_MIN): Likewise.
23473 [C99-based standards] (INTPTR_MAX): Likewise.
23474 [C99-based standards] (UINTPTR_MAX): Likewise.
23475 [C99-based standards] (INTMAX_MIN): Likewise.
23476 [C99-based standards] (INTMAX_MAX): Likewise.
23477 [C99-based standards] (UINTMAX_MAX): Likewise.
23478 [C99-based standards] (PTRDIFF_MIN): Likewise.
23479 [C99-based standards] (PTRDIFF_MAX): Likewise.
23480 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23481 [C99-based standards] (SIZE_MAX): Likewise.
23482 [C99-based standards] (WCHAR_MAX): Likewise.
23483 [C99-based standards] (WINT_MAX): Likewise.
23484 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23485 constraint on value.
23486 [C99-based standards] (WCHAR_MIN): Likewise.
23487 [C99-based standards] (WINT_MIN): Likewise.
23488 [C99-based standards] (*_t): Allow.
23489 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23490 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23491 Include math.h-data and complex.h-data. Remove all expectations
23492 of math.h and complex.h contents.
23493 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23494 at end of line.
23495 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23496 (struct tm): Expect tag.
23497 [C99-based-standards] (wcstof): Expect function.
23498 [C99-based-standards] (wcstold): Likewise.
23499 [C99-based-standards] (wcstoll): Likewise.
23500 [C99-based-standards] (wcstoull): Likewise.
23501 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23502 macro-int-constant. Specify type.
23503 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23504 constraint on value.
23505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23506 Specify type.
23507 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23508 Specify value.
23509 [ISO C standards]: Do not allow headers.
23510 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23511 wcs[abcdefghijklmnopqrstuvwxyz]*.
23512 [ISO C standards] (*_t): Do not allow.
23513 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23514 Expect function.
23515 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23516 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23517 Specify type.
23518 [ISO C standards]: Do not allow headers.
23519 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23520 is[abcdefghijklmnopqrstuvwxyz]*.
23521 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23522 to[abcdefghijklmnopqrstuvwxyz]*.
23523 [ISO C standards] (*_t): Do not allow.
23524 * conform/data/stdalign.h-data: New file.
23525 * conform/data/stdbool.h-data: Likewise.
23526 * conform/data/stdnoreturn.h-data: Likewise.
23527
7514feb8
RM
235282012-11-07 Roland McGrath <roland@hack.frob.com>
23529
23530 [BZ #14815]
23531 * manual/filesys.texi (Directory Entries): Typo fix.
23532 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23533
19b2ecfc
MS
235342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23535
23536 * elf/elf.h (EM_AARCH64): New macro.
23537 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23538 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23539 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23540 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23541 (R_AARCH64_TLSDESC): Likewise.
23542 (NT_ARM_TLS): Likewise.
23543 (NT_ARM_HW_BREAK): Likewise.
23544 (NT_ARM_HW_WATCH): Likewise.
23545
60e235ee
JM
235462012-11-07 Joseph Myers <joseph@codesourcery.com>
23547
23548 [BZ #14811]
23549 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23550 (__ieee754_powl): Saturate nonzero exponents with absolute value
23551 below 0x1p-79 to +/- 0x1p-79.
23552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23553 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23554 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23555 nonzero exponents with absolute value below 0x1p-32 to +/-
23556 0x1p-32.
23557 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23558 (__ieee754_powl): Saturate nonzero exponents with absolute value
23559 below 0x1p-79 to +/- 0x1p-79.
23560 * math/libm-test.inc (pow_test): Add more tests.
23561
0ab234b7
AK
235622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23563
23564 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23565 _dl_s390_cap_flags with kernel. Increase string length.
23566 (_dl_s390_platforms): Add z196 and zEC12.
23567
45832f74
JM
235682012-11-07 Joseph Myers <joseph@codesourcery.com>
23569
23570 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23571 Change XOPEN21K to XOPEN2K.
23572
19218757
MK
235732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23574
23575 * string/memmove.c: Use memcpy when possible.
23576
c5f45721
AJ
235772012-11-06 Andreas Jaeger <aj@suse.de>
23578
23579 * po/eo.po: Update from translation team.
23580
82477c28
JM
235812012-11-06 Joseph Myers <joseph@codesourcery.com>
23582
23583 [BZ #14793]
23584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23585 exponent and small x and y exponents, scale x or y up. Increase
23586 by 2 the exponent used in scaling up.
23587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23589 * math/libm-test.inc (fma_test): Add more tests.
23590 (fma_test_towardzero): Likewise.
23591 (fma_test_downward): Likewise.
23592 (fma_test_upward): Likewise.
23593
99252c8c
JM
235942012-11-05 Joseph Myers <joseph@codesourcery.com>
23595
acfa885f
JM
23596 [BZ #14805]
23597 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23598 fenv_t *.
23599
99252c8c
JM
23600 [BZ #14801]
23601 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23602 namespace for names of struct fields.
23603 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23604 fenv_t fields.
23605 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23606 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23607
d6d98dea
ST
236082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23609
23610 [BZ #3665]
23611 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23612
e10bb107
TS
236132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23614
23615 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23616 PTR_DEMANGLE.
23617
23618 [BZ #5246]
23619 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23620 PTR_DEMANGLE.
23621
a0c2940d
JM
236222012-11-04 Joseph Myers <joseph@codesourcery.com>
23623
23624 [BZ #14797]
23625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23626 definitely overflow as x * y not x * y + z.
23627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23629 * math/libm-test.inc (fma_test): Add more tests.
23630 (fma_test_towardzero): Likewise.
23631 (fma_test_downward): Likewise.
23632 (fma_test_upward): Likewise.
23633
b830319d
TS
236342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23635
23636 [BZ #157]
23637
23638 * include/stub-tag.h: Remove file.
23639 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23640 '#include' of it.
23641 * manual/maint.texi (Porting): Don't reference it.
23642 * Makerules ($(objpfx)stubs): Likewise.
23643 * dirent/closedir.c: Don't include <stub-tag.h>.
23644 * dirent/dirfd.c: Likewise.
23645 * dirent/fdopendir.c: Likewise.
23646 * dirent/getdents.c: Likewise.
23647 * dirent/getdents64.c: Likewise.
23648 * dirent/opendir.c: Likewise.
23649 * dirent/readdir.c: Likewise.
23650 * dirent/readdir64.c: Likewise.
23651 * dirent/readdir64_r.c: Likewise.
23652 * dirent/readdir_r.c: Likewise.
23653 * dirent/rewinddir.c: Likewise.
23654 * dirent/seekdir.c: Likewise.
23655 * dirent/telldir.c: Likewise.
23656 * gmon/profil.c: Likewise.
23657 * grp/setgroups.c: Likewise.
23658 * inet/if_index.c: Likewise.
23659 * io/access.c: Likewise.
23660 * io/chdir.c: Likewise.
23661 * io/chmod.c: Likewise.
23662 * io/chown.c: Likewise.
23663 * io/close.c: Likewise.
23664 * io/dup.c: Likewise.
23665 * io/dup2.c: Likewise.
23666 * io/dup3.c: Likewise.
23667 * io/euidaccess.c: Likewise.
23668 * io/faccessat.c: Likewise.
23669 * io/fchdir.c: Likewise.
23670 * io/fchmod.c: Likewise.
23671 * io/fchmodat.c: Likewise.
23672 * io/fchown.c: Likewise.
23673 * io/fchownat.c: Likewise.
23674 * io/fcntl.c: Likewise.
23675 * io/flock.c: Likewise.
23676 * io/fstatfs.c: Likewise.
23677 * io/fstatfs64.c: Likewise.
23678 * io/fstatvfs.c: Likewise.
23679 * io/fstatvfs64.c: Likewise.
23680 * io/futimens.c: Likewise.
23681 * io/fxstat.c: Likewise.
23682 * io/fxstat64.c: Likewise.
23683 * io/fxstatat.c: Likewise.
23684 * io/fxstatat64.c: Likewise.
23685 * io/getcwd.c: Likewise.
23686 * io/isatty.c: Likewise.
23687 * io/lchmod.c: Likewise.
23688 * io/lchown.c: Likewise.
23689 * io/link.c: Likewise.
23690 * io/linkat.c: Likewise.
23691 * io/lseek.c: Likewise.
23692 * io/lseek64.c: Likewise.
23693 * io/lxstat64.c: Likewise.
23694 * io/mkdir.c: Likewise.
23695 * io/mkdirat.c: Likewise.
23696 * io/mkfifo.c: Likewise.
23697 * io/mkfifoat.c: Likewise.
23698 * io/open.c: Likewise.
23699 * io/open64.c: Likewise.
23700 * io/openat.c: Likewise.
23701 * io/openat64.c: Likewise.
23702 * io/pipe.c: Likewise.
23703 * io/pipe2.c: Likewise.
23704 * io/poll.c: Likewise.
23705 * io/posix_fadvise.c: Likewise.
23706 * io/posix_fadvise64.c: Likewise.
23707 * io/posix_fallocate.c: Likewise.
23708 * io/posix_fallocate64.c: Likewise.
23709 * io/read.c: Likewise.
23710 * io/readlink.c: Likewise.
23711 * io/readlinkat.c: Likewise.
23712 * io/rmdir.c: Likewise.
23713 * io/sendfile.c: Likewise.
23714 * io/sendfile64.c: Likewise.
23715 * io/statfs.c: Likewise.
23716 * io/statfs64.c: Likewise.
23717 * io/statvfs.c: Likewise.
23718 * io/statvfs64.c: Likewise.
23719 * io/symlink.c: Likewise.
23720 * io/symlinkat.c: Likewise.
23721 * io/ttyname.c: Likewise.
23722 * io/ttyname_r.c: Likewise.
23723 * io/umask.c: Likewise.
23724 * io/unlink.c: Likewise.
23725 * io/unlinkat.c: Likewise.
23726 * io/utime.c: Likewise.
23727 * io/utimensat.c: Likewise.
23728 * io/write.c: Likewise.
23729 * io/xmknod.c: Likewise.
23730 * io/xmknodat.c: Likewise.
23731 * io/xstat.c: Likewise.
23732 * io/xstat64.c: Likewise.
23733 * login/getpt.c: Likewise.
23734 * login/grantpt.c: Likewise.
23735 * login/unlockpt.c: Likewise.
23736 * math/e_acoshl.c: Likewise.
23737 * math/e_acosl.c: Likewise.
23738 * math/e_asinl.c: Likewise.
23739 * math/e_atan2l.c: Likewise.
23740 * math/e_atanhl.c: Likewise.
23741 * math/e_coshl.c: Likewise.
23742 * math/e_expl.c: Likewise.
23743 * math/e_fmodl.c: Likewise.
23744 * math/e_gammal_r.c: Likewise.
23745 * math/e_hypotl.c: Likewise.
23746 * math/e_j0l.c: Likewise.
23747 * math/e_j1l.c: Likewise.
23748 * math/e_jnl.c: Likewise.
23749 * math/e_lgammal_r.c: Likewise.
23750 * math/e_log10l.c: Likewise.
23751 * math/e_log2l.c: Likewise.
23752 * math/e_logl.c: Likewise.
23753 * math/e_powl.c: Likewise.
23754 * math/e_rem_pio2l.c: Likewise.
23755 * math/e_sinhl.c: Likewise.
23756 * math/e_sqrtl.c: Likewise.
23757 * math/fclrexcpt.c: Likewise.
23758 * math/fedisblxcpt.c: Likewise.
23759 * math/feenablxcpt.c: Likewise.
23760 * math/fegetenv.c: Likewise.
23761 * math/fegetexcept.c: Likewise.
23762 * math/fegetround.c: Likewise.
23763 * math/feholdexcpt.c: Likewise.
23764 * math/fesetenv.c: Likewise.
23765 * math/fesetround.c: Likewise.
23766 * math/feupdateenv.c: Likewise.
23767 * math/fgetexcptflg.c: Likewise.
23768 * math/fraiseexcpt.c: Likewise.
23769 * math/fsetexcptflg.c: Likewise.
23770 * math/ftestexcept.c: Likewise.
23771 * math/k_cosl.c: Likewise.
23772 * math/k_rem_pio2l.c: Likewise.
23773 * math/k_sinl.c: Likewise.
23774 * math/k_tanl.c: Likewise.
23775 * math/s_asinhl.c: Likewise.
23776 * math/s_atanl.c: Likewise.
23777 * math/s_cbrtl.c: Likewise.
23778 * math/s_erfl.c: Likewise.
23779 * math/s_expm1l.c: Likewise.
23780 * math/s_log1pl.c: Likewise.
23781 * math/s_tanhl.c: Likewise.
23782 * misc/acct.c: Likewise.
23783 * misc/brk.c: Likewise.
23784 * misc/chflags.c: Likewise.
23785 * misc/chroot.c: Likewise.
23786 * misc/fchflags.c: Likewise.
23787 * misc/fgetxattr.c: Likewise.
23788 * misc/flistxattr.c: Likewise.
23789 * misc/fremovexattr.c: Likewise.
23790 * misc/fsetxattr.c: Likewise.
23791 * misc/fsync.c: Likewise.
23792 * misc/ftruncate.c: Likewise.
23793 * misc/futimes.c: Likewise.
23794 * misc/futimesat.c: Likewise.
23795 * misc/getdomain.c: Likewise.
23796 * misc/getdtsz.c: Likewise.
23797 * misc/gethostid.c: Likewise.
23798 * misc/gethostname.c: Likewise.
23799 * misc/getloadavg.c: Likewise.
23800 * misc/getpagesize.c: Likewise.
23801 * misc/getsysstats.c: Likewise.
23802 * misc/getxattr.c: Likewise.
23803 * misc/gtty.c: Likewise.
23804 * misc/ioctl.c: Likewise.
23805 * misc/lgetxattr.c: Likewise.
23806 * misc/listxattr.c: Likewise.
23807 * misc/llistxattr.c: Likewise.
23808 * misc/lremovexattr.c: Likewise.
23809 * misc/lsetxattr.c: Likewise.
23810 * misc/lutimes.c: Likewise.
23811 * misc/madvise.c: Likewise.
23812 * misc/mincore.c: Likewise.
23813 * misc/mlock.c: Likewise.
23814 * misc/mlockall.c: Likewise.
23815 * misc/mmap.c: Likewise.
23816 * misc/mprotect.c: Likewise.
23817 * misc/msync.c: Likewise.
23818 * misc/munlock.c: Likewise.
23819 * misc/munlockall.c: Likewise.
23820 * misc/munmap.c: Likewise.
23821 * misc/preadv.c: Likewise.
23822 * misc/preadv64.c: Likewise.
23823 * misc/ptrace.c: Likewise.
23824 * misc/pwritev.c: Likewise.
23825 * misc/pwritev64.c: Likewise.
23826 * misc/readv.c: Likewise.
23827 * misc/reboot.c: Likewise.
23828 * misc/remap_file_pages.c: Likewise.
23829 * misc/removexattr.c: Likewise.
23830 * misc/revoke.c: Likewise.
23831 * misc/select.c: Likewise.
23832 * misc/setdomain.c: Likewise.
23833 * misc/setegid.c: Likewise.
23834 * misc/seteuid.c: Likewise.
23835 * misc/sethostid.c: Likewise.
23836 * misc/sethostname.c: Likewise.
23837 * misc/setregid.c: Likewise.
23838 * misc/setreuid.c: Likewise.
23839 * misc/setxattr.c: Likewise.
23840 * misc/sstk.c: Likewise.
23841 * misc/stty.c: Likewise.
23842 * misc/swapoff.c: Likewise.
23843 * misc/swapon.c: Likewise.
23844 * misc/sync.c: Likewise.
23845 * misc/syncfs.c: Likewise.
23846 * misc/syscall.c: Likewise.
23847 * misc/truncate.c: Likewise.
23848 * misc/ualarm.c: Likewise.
23849 * misc/usleep.c: Likewise.
23850 * misc/ustat.c: Likewise.
23851 * misc/utimes.c: Likewise.
23852 * misc/vhangup.c: Likewise.
23853 * misc/writev.c: Likewise.
23854 * posix/_exit.c: Likewise.
23855 * posix/alarm.c: Likewise.
23856 * posix/execve.c: Likewise.
23857 * posix/fexecve.c: Likewise.
23858 * posix/fork.c: Likewise.
23859 * posix/fpathconf.c: Likewise.
23860 * posix/getaddrinfo.c: Likewise.
23861 * posix/getegid.c: Likewise.
23862 * posix/geteuid.c: Likewise.
23863 * posix/getgid.c: Likewise.
23864 * posix/getgroups.c: Likewise.
23865 * posix/getlogin.c: Likewise.
23866 * posix/getlogin_r.c: Likewise.
23867 * posix/getpgid.c: Likewise.
23868 * posix/getpid.c: Likewise.
23869 * posix/getppid.c: Likewise.
23870 * posix/getresgid.c: Likewise.
23871 * posix/getresuid.c: Likewise.
23872 * posix/getsid.c: Likewise.
23873 * posix/getuid.c: Likewise.
23874 * posix/glob64.c: Likewise.
23875 * posix/nanosleep.c: Likewise.
23876 * posix/pathconf.c: Likewise.
23877 * posix/pause.c: Likewise.
23878 * posix/posix_madvise.c: Likewise.
23879 * posix/pread.c: Likewise.
23880 * posix/pread64.c: Likewise.
23881 * posix/pwrite.c: Likewise.
23882 * posix/pwrite64.c: Likewise.
23883 * posix/sched_getaffinity.c: Likewise.
23884 * posix/sched_getp.c: Likewise.
23885 * posix/sched_gets.c: Likewise.
23886 * posix/sched_primax.c: Likewise.
23887 * posix/sched_primin.c: Likewise.
23888 * posix/sched_rr_gi.c: Likewise.
23889 * posix/sched_setaffinity.c: Likewise.
23890 * posix/sched_setp.c: Likewise.
23891 * posix/sched_sets.c: Likewise.
23892 * posix/sched_yield.c: Likewise.
23893 * posix/setgid.c: Likewise.
23894 * posix/setlogin.c: Likewise.
23895 * posix/setpgid.c: Likewise.
23896 * posix/setresgid.c: Likewise.
23897 * posix/setresuid.c: Likewise.
23898 * posix/setsid.c: Likewise.
23899 * posix/setuid.c: Likewise.
23900 * posix/sleep.c: Likewise.
23901 * posix/spawni.c: Likewise.
23902 * posix/sysconf.c: Likewise.
23903 * posix/times.c: Likewise.
23904 * posix/wait.c: Likewise.
23905 * posix/wait3.c: Likewise.
23906 * posix/wait4.c: Likewise.
23907 * posix/waitpid.c: Likewise.
23908 * resolv/gai_sigqueue.c: Likewise.
23909 * resource/getpriority.c: Likewise.
23910 * resource/getrlimit.c: Likewise.
23911 * resource/getrusage.c: Likewise.
23912 * resource/nice.c: Likewise.
23913 * resource/setpriority.c: Likewise.
23914 * resource/setrlimit.c: Likewise.
23915 * resource/ulimit.c: Likewise.
23916 * rt/aio_cancel.c: Likewise.
23917 * rt/aio_fsync.c: Likewise.
23918 * rt/aio_read.c: Likewise.
23919 * rt/aio_sigqueue.c: Likewise.
23920 * rt/aio_suspend.c: Likewise.
23921 * rt/aio_write.c: Likewise.
23922 * rt/clock_getres.c: Likewise.
23923 * rt/clock_gettime.c: Likewise.
23924 * rt/clock_nanosleep.c: Likewise.
23925 * rt/clock_settime.c: Likewise.
23926 * rt/lio_listio.c: Likewise.
23927 * rt/mq_close.c: Likewise.
23928 * rt/mq_getattr.c: Likewise.
23929 * rt/mq_notify.c: Likewise.
23930 * rt/mq_open.c: Likewise.
23931 * rt/mq_receive.c: Likewise.
23932 * rt/mq_send.c: Likewise.
23933 * rt/mq_setattr.c: Likewise.
23934 * rt/mq_timedreceive.c: Likewise.
23935 * rt/mq_timedsend.c: Likewise.
23936 * rt/mq_unlink.c: Likewise.
23937 * rt/shm_open.c: Likewise.
23938 * rt/shm_unlink.c: Likewise.
23939 * rt/timer_create.c: Likewise.
23940 * rt/timer_delete.c: Likewise.
23941 * rt/timer_getoverr.c: Likewise.
23942 * rt/timer_gettime.c: Likewise.
23943 * rt/timer_settime.c: Likewise.
23944 * setjmp/__longjmp.c: Likewise.
23945 * setjmp/setjmp.c: Likewise.
23946 * signal/kill.c: Likewise.
23947 * signal/killpg.c: Likewise.
23948 * signal/raise.c: Likewise.
23949 * signal/sigaction.c: Likewise.
23950 * signal/sigaltstack.c: Likewise.
23951 * signal/sigblock.c: Likewise.
23952 * signal/sigignore.c: Likewise.
23953 * signal/sigintr.c: Likewise.
23954 * signal/signal.c: Likewise.
23955 * signal/sigpause.c: Likewise.
23956 * signal/sigpending.c: Likewise.
23957 * signal/sigqueue.c: Likewise.
23958 * signal/sigreturn.c: Likewise.
23959 * signal/sigset.c: Likewise.
23960 * signal/sigsetmask.c: Likewise.
23961 * signal/sigstack.c: Likewise.
23962 * signal/sigsuspend.c: Likewise.
23963 * signal/sigtimedwait.c: Likewise.
23964 * signal/sigvec.c: Likewise.
23965 * signal/sigwait.c: Likewise.
23966 * signal/sigwaitinfo.c: Likewise.
23967 * signal/sysv_signal.c: Likewise.
23968 * socket/accept.c: Likewise.
23969 * socket/accept4.c: Likewise.
23970 * socket/bind.c: Likewise.
23971 * socket/connect.c: Likewise.
23972 * socket/getpeername.c: Likewise.
23973 * socket/getsockname.c: Likewise.
23974 * socket/getsockopt.c: Likewise.
23975 * socket/isfdtype.c: Likewise.
23976 * socket/listen.c: Likewise.
23977 * socket/recv.c: Likewise.
23978 * socket/recvfrom.c: Likewise.
23979 * socket/recvmsg.c: Likewise.
23980 * socket/send.c: Likewise.
23981 * socket/sendmsg.c: Likewise.
23982 * socket/sendto.c: Likewise.
23983 * socket/setsockopt.c: Likewise.
23984 * socket/shutdown.c: Likewise.
23985 * socket/sockatmark.c: Likewise.
23986 * socket/socket.c: Likewise.
23987 * socket/socketpair.c: Likewise.
23988 * stdio-common/ctermid.c: Likewise.
23989 * stdio-common/cuserid.c: Likewise.
23990 * stdio-common/remove.c: Likewise.
23991 * stdio-common/rename.c: Likewise.
23992 * stdio-common/renameat.c: Likewise.
23993 * stdio-common/tempname.c: Likewise.
23994 * stdlib/getcontext.c: Likewise.
23995 * stdlib/makecontext.c: Likewise.
23996 * stdlib/setcontext.c: Likewise.
23997 * stdlib/swapcontext.c: Likewise.
23998 * stdlib/system.c: Likewise.
23999 * streams/fattach.c: Likewise.
24000 * streams/fdetach.c: Likewise.
24001 * streams/getmsg.c: Likewise.
24002 * streams/getpmsg.c: Likewise.
24003 * streams/putmsg.c: Likewise.
24004 * streams/putpmsg.c: Likewise.
24005 * sysdeps/unix/bsd/getpt.c: Likewise.
24006 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24007 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24008 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24010 Likewise.
24011 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24012 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24013 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24014 * sysvipc/msgctl.c: Likewise.
24015 * sysvipc/msgget.c: Likewise.
24016 * sysvipc/msgrcv.c: Likewise.
24017 * sysvipc/msgsnd.c: Likewise.
24018 * sysvipc/semctl.c: Likewise.
24019 * sysvipc/semget.c: Likewise.
24020 * sysvipc/semop.c: Likewise.
24021 * sysvipc/semtimedop.c: Likewise.
24022 * sysvipc/shmat.c: Likewise.
24023 * sysvipc/shmctl.c: Likewise.
24024 * sysvipc/shmdt.c: Likewise.
24025 * sysvipc/shmget.c: Likewise.
24026 * termios/tcdrain.c: Likewise.
24027 * termios/tcflow.c: Likewise.
24028 * termios/tcflush.c: Likewise.
24029 * termios/tcgetattr.c: Likewise.
24030 * termios/tcgetpgrp.c: Likewise.
24031 * termios/tcsendbrk.c: Likewise.
24032 * termios/tcsetattr.c: Likewise.
24033 * termios/tcsetpgrp.c: Likewise.
24034 * time/adjtime.c: Likewise.
24035 * time/clock.c: Likewise.
24036 * time/getitimer.c: Likewise.
24037 * time/gettimeofday.c: Likewise.
24038 * time/setitimer.c: Likewise.
24039 * time/settimeofday.c: Likewise.
24040 * time/stime.c: Likewise.
24041 * time/time.c: Likewise.
24042
240432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24044
a20492cf
PT
24045 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24046 /usr/old/bin.
24047
72e182e3
PT
24048 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24049 instead of spaces.
24050 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24051
fbeafede
JM
240522012-11-03 Joseph Myers <joseph@codesourcery.com>
24053
5b5b04d6
JM
24054 [BZ #14796]
24055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24056 FE_TONEAREST before applying Dekker multiplication and Knuth
24057 addition. Clear inexact exceptions and check for exact zero
24058 results afterwards.
24059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24060 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24061 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24062 * math/libm-test.inc (fma_test): Add more tests.
24063 (fma_test_towardzero): Likewise.
24064 (fma_test_downward): Likewise.
24065 (fma_test_upward): Likewise.
24066 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24067 function.
24068 (libc_fesetround): New macro.
24069 (libc_fesetroundf): Likewise.
24070 (libc_fesetroundl): Likewise.
24071 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24072 function.
24073 (libc_fesetround_387): Likewise.
24074 (libc_fesetroundf): New macro.
24075 (libc_fesetround): Likewise.
24076 (libc_fesetroundl): Likewise.
24077 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24078 function.
24079 (libc_fesetroundf): New macro.
24080 (libc_fesetround): Likewise.
24081 (libc_fesetroundl): Likewise.
24082 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24083 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24084 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24085 libm_hidden_ver.
24086 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24087 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24088 libm_hidden_def.
24089 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24090 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24091 libm_hidden_ver.
24092 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24093 libm_hidden_def.
24094
fbeafede
JM
24095 [BZ #3439]
24096 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24097 integer constant usable in #if and use that to give value to enum
24098 constant.
24099 (FE_DIVBYZERO): Likewise.
24100 (FE_UNDERFLOW): Likewise.
24101 (FE_OVERFLOW): Likewise.
24102 (FE_INVALID): Likewise.
24103 (FE_INVALID_SNAN): Likewise.
24104 (FE_INVALID_ISI): Likewise.
24105 (FE_INVALID_IDI): Likewise.
24106 (FE_INVALID_ZDZ): Likewise.
24107 (FE_INVALID_IMZ): Likewise.
24108 (FE_INVALID_COMPARE): Likewise.
24109 (FE_INVALID_SOFTWARE): Likewise.
24110 (FE_INVALID_SQRT): Likewise.
24111 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24112 (FE_TONEAREST): Likewise.
24113 (FE_TOWARDZERO): Likewise.
24114 (FE_UPWARD): Likewise.
24115 (FE_DOWNWARD): Likewise.
24116 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24117 (FE_DIVBYZERO): Likewise.
24118 (FE_OVERFLOW): Likewise.
24119 (FE_UNDERFLOW): Likewise.
24120 (FE_INEXACT): Likewise.
24121 (FE_TONEAREST): Likewise.
24122 (FE_DOWNWARD): Likewise.
24123 (FE_UPWARD): Likewise.
24124 (FE_TOWARDZERO): Likewise.
24125 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24126 (FE_UNDERFLOW): Likewise.
24127 (FE_OVERFLOW): Likewise.
24128 (FE_DIVBYZERO): Likewise.
24129 (FE_INVALID): Likewise.
24130 (FE_TONEAREST): Likewise.
24131 (FE_TOWARDZERO): Likewise.
24132 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24133 (FE_OVERFLOW): Likewise.
24134 (FE_UNDERFLOW): Likewise.
24135 (FE_DIVBYZERO): Likewise.
24136 (FE_INEXACT): Likewise.
24137 (FE_TONEAREST): Likewise.
24138 (FE_TOWARDZERO): Likewise.
24139 (FE_UPWARD): Likewise.
24140 (FE_DOWNWARD): Likewise.
24141 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24142 (FE_DIVBYZERO): Likewise.
24143 (FE_OVERFLOW): Likewise.
24144 (FE_UNDERFLOW): Likewise.
24145 (FE_INEXACT): Likewise.
24146 (FE_TONEAREST): Likewise.
24147 (FE_DOWNWARD): Likewise.
24148 (FE_UPWARD): Likewise.
24149 (FE_TOWARDZERO): Likewise.
24150
105ca950
CM
241512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24152
24153 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24154
a542b389
AS
241552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24156
24157 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24158 commands. Quote $PWD.
24159 (blacklist_exports): Don't use remove_newlines. Replace "declare
24160 -x" by "export".
24161 (remove_newlines): Remove.
24162
f62c8abc
L
241632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24166 * stdlib/stdlib.h (atof): Moved to ...
24167 * include/bits/stdlib-float.h: Here. New file.
24168 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24169 * stdlib/bits/stdlib-float.h: New file.
24170 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24171 -mno-sse -mno-mmx.
24172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24173 <xmmintrin.h>.
24174
0155d5b2
JM
241752012-11-02 Joseph Myers <joseph@codesourcery.com>
24176
a68d0680
JM
24177 * conform/conformtest.pl (@headers): Add fenv.h.
24178 * conform/data/fenv.h-data: New file.
24179 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24180 include of <math/fenv.h>.
24181
caf7f573
JM
24182 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24183 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24184 && !UNIX98]. Enables tests for XOPEN2K8.
24185 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24186 POSIX2008]: Likewise.
24187
6c073ad6
JM
24188 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24189 (struct rusage): Do not expect type or its members.
24190
0155d5b2
JM
24191 [BZ #3439]
24192 * math/math.h (FP_NAN): Define macro to integer constant usable in
24193 #if and use that to give value to enum constant.
24194 (FP_INFINITE): Likewise.
24195 (FP_ZERO): Likewise.
24196 (FP_SUBNORMAL): Likewise.
24197 (FP_NORMAL): Likewise.
24198
b5dcacb4
AS
241992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24200
24201 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24202 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24203 arguments.
24204
f7934be8
RM
242052012-11-02 Roland McGrath <roland@hack.frob.com>
24206
24207 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24208 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24209 autoconf-time if not.
24210 * configure.in: Remove AC_PREREQ.
24211
d7d08bde
TMQMF
242122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24213
24214 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24215 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24216 of the internal implementation.
24217
dcdae19a
JM
242182012-11-02 Joseph Myers <joseph@codesourcery.com>
24219
24220 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24221 except include of <misc/sys/syslog.h>.
24222
d6cffd3e
AS
242232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24224
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24226 function returns with a NULL context exit with zero.
24227
b3563932
TMQMF
242282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24229
24230 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24231
b288a93d
L
242322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24233
24234 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24235 (run_program_cmd): This.
24236 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24237 (tst_langinfo): New variable. Use it.
24238
a2421a68
SAS
242392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24240
24241 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24242 floating point opcodes.
24243
6f796e1b
TS
242442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24245
7402596b
TS
24246 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24247 variable.
24248
d0d4f868
TS
24249 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24250
6f796e1b
TS
24251 * sysdeps/mach/hurd/powerpc: Remove directory.
24252 * sysdeps/mach/powerpc: Likewise.
24253
4da224a2
AS
242542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24255
24256 * scripts/check-local-headers.sh: Ignore c++ headers.
24257
341dd673
TS
242582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24259
24260 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24261 __libc_cleanup_region_start argument.
24262
473611b2
JM
242632012-11-01 Joseph Myers <joseph@codesourcery.com>
24264
24265 [BZ #14784]
24266 [BZ #14785]
24267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24268 x * y using scaling, not as x * y + z.
24269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24271 * math/libm-test.inc (fma_test): Add more tests.
24272 (fma_test_towardzero): Likewise.
24273 (fma_test_downward): Likewise.
24274 (fma_test_upward): Likewise.
24275
4078da3d
TS
242762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24277
24278 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24279
903252aa
JM
242802012-10-31 Joseph Myers <joseph@codesourcery.com>
24281
24282 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24283 New variable.
24284
cbc818d0
TS
242852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24286
24287 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24288
5a03cb1e
AS
242892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24290
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24292 Fix sort order.
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24294 Likewise.
24295
90aff2ff
TMQMF
242962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24297
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24299 Fix the order of the list for glibc 2.17.
24300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24301 Likewise.
24302
1818fcb7
AS
243032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24304
24305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24306
ef82f4da
JM
243072012-10-31 Joseph Myers <joseph@codesourcery.com>
24308
16a0e2ec
JM
24309 [BZ #14610]
24310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24311 for low part of x being zero before using __atanl (y).
24312 * math/libm-test.inc (atan2_test): Add another test.
24313
0eb69512
JM
24314 * manual/install.texi (Configuring and compiling): Document
24315 general use of test-wrapper and test-wrapper-env.
24316 * INSTALL: Regenerated.
24317
ef82f4da
JM
24318 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24319 (__fma): Do not extract and scale down low bits on after-rounding
24320 systems when result rounded to normal precision would have normal
24321 exponent.
24322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24323 (__fmal): Do not extract and scale down low bits on after-rounding
24324 systems when result rounded to normal precision would have normal
24325 exponent.
24326 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24327 (__fmal): Do not extract and scale down low bits on after-rounding
24328 systems when result rounded to normal precision would have normal
24329 exponent.
24330 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24331 macro.
24332 (fma_test): Add more tests.
24333 (fma_test_towardzero): Likewise.
24334 (fma_test_downward): Likewise.
24335 (fma_test_upward): Likewise.
24336
954ef0d9
L
243372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 * sysdeps/i386/tininess.h: Renamed to ...
24340 * sysdeps/x86/tininess.h: This.
24341 * sysdeps/x86_64/tininess.h: Removed.
24342
df61ffb2
JM
243432012-10-30 Joseph Myers <joseph@codesourcery.com>
24344
24345 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24346 input. Use $(build-program-cmd).
24347 ($(objpfx)tst-array1-static.out): Likewise.
24348 ($(objpfx)tst-array2.out): Likewise.
24349 ($(objpfx)tst-array3.out): Likewise.
24350 ($(objpfx)tst-array4.out): Likewise.
24351 ($(objpfx)tst-array5.out): Likewise.
24352 ($(objpfx)tst-array5-static.out): Likewise.
24353
01767843
CM
243542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24355
47cc1490
CM
24356 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24357 if defined.
24358
01767843
CM
24359 * nss/nsswitch.h (nss_interface_function): Provide new
24360 macro for use with NSS functions.
24361 * grp/initgroups.c: Use new macro.
24362 * nss/getXXbyYY.c: Likewise.
24363 * nss/getXXbyYY_r.c: Likewise.
24364 * nss/getXXent.c: Likewise.
24365 * nss/getXXent_r.c: Likewise.
24366 * sysdeps/posix/getaddrinfo.c: Likewise.
24367
8321aa97
AJ
243682012-10-30 Andreas Jaeger <aj@suse.de>
24369
24370 * po/ru.po: Update Russion translation from translation project.
24371
2a27fd6d
JM
243722012-10-30 Joseph Myers <joseph@codesourcery.com>
24373
8627a232
JM
24374 [BZ #14152]
24375 [BZ #14783]
24376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24377 result and shift together with sticky bit instead of replicating
24378 round-to-nearest rounding.
24379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24381 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24382 missing underflow exceptions.
24383 (fma_test_towardzero): Add more tests.
24384 (fma_test_downward): Likewise.
24385 (fma_test_upward): Likewise.
24386
2a27fd6d
JM
24387 [BZ #14047]
24388 * sysdeps/generic/tininess.h: New file.
24389 * sysdeps/i386/tininess.h: Likewise.
24390 * sysdeps/sh/tininess.h: Likewise.
24391 * sysdeps/x86_64/tininess.h: Likewise.
24392 * stdlib/tst-strtod-underflow.c: Likewise.
24393 * stdlib/tst-tininess.c: Likewise.
24394 * stdlib/strtod_l.c: Include <tininess.h>.
24395 (round_and_return): Do not set errno for exact underflow cases.
24396 Force an underflow exception when setting errno for underflow.
24397 Determine underflow based on rounding to normal precision if
24398 TININESS_AFTER_ROUNDING.
24399 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24400 ERANGE for exact underflow cases.
24401 * stdlib/Makefile (tests): Add tst-tininess and
24402 tst-strtod-underflow.
24403 ($(objpfx)tst-tininess): Use $(link-libm).
24404 ($(objpfx)tst-strtod-underflow): Likewise.
24405
e7170363
AJ
244062012-10-30 Andreas Jaeger <aj@suse.de>
24407
e5088dc6
AJ
24408 [BZ#14767]
24409 * elf/Makefile (tests): Remove conditional for have-initfini-array
24410 since this is now always required and the variable does not exist
24411 anymore.
24412 (tests-static): Likewise.
24413 (modules-names): Likewise.
24414
e7170363 24415 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24416
24417 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24418 merged with constructor/destructor.
24419 (init_array): Likewise.
24420 * elf/tst-array2dep.c (fini_array): Likewise.
24421 (init_array): Likewise.
24422
60457d8a
MF
244232012-10-29 Mike Frysinger <vapier@gentoo.org>
24424
24425 * manual/message.texi: Delete @cartouche tags.
24426
8bece752
PT
244272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24428
94ce799f
PT
24429 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24430 EOPNOTSUPP.
24431 * sysdeps/mach/hurd/fsync.c: Likewise.
24432
8bece752
PT
24433 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24434 [_POSIX_REALTIME_SIGNALS]: Change condition to
24435 [_POSIX_REALTIME_SIGNALS > 0].
24436
86ebe6b1
AJ
244372012-10-27 Andreas Jaeger <aj@suse.de>
24438
24439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24440 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24442 [__WORDSIZE != 64]: Likewise.
24443
54399c08
L
244442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24445
24446 * iconvdata/tst-table.sh: Remove ${SHELL}.
24447 * iconvdata/tst-tables.sh: Likewise.
24448
e2211bed
DM
244492012-10-25 David S. Miller <davem@davemloft.net>
24450
24451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24452 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24453 of strtoull.
24454
f303f97c
DM
24455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24456 ifunc-impl-list.c
24457 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24458 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24459 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24460 file.
24461
1e9d84cd
RM
244622012-10-25 Roland McGrath <roland@hack.frob.com>
24463
24464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24465 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24466 __getdirentries.
24467
df381762
JM
244682012-10-25 Joseph Myers <joseph@codesourcery.com>
24469 Jim Blandy <jimb@codesourcery.com>
24470
24471 * scripts/cross-test-ssh.sh: New file.
24472 * manual/install.texi (Configuring and compiling): Document use of
24473 cross-test-ssh.sh.
24474 * INSTALL: Regenerated.
24475
bff64913
PT
244762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24477
24478 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24479 EOPNOTSUPP.
24480
25fe8932
JM
244812012-10-25 Joseph Myers <joseph@codesourcery.com>
24482
24483 * Makeconfig (run-program-prefix): Fix comment.
24484
cc1290d0
JM
244852012-10-24 Joseph Myers <joseph@codesourcery.com>
24486 Jim Blandy <jimb@codesourcery.com>
24487
24488 * Makeconfig (test-wrapper): New variable,
24489 (test-wrapper-env): Likewise.
24490 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24491 (run-built-tests): Define to yes.
24492 (run-program-prefix): Use $(test-wrapper).
24493 (built-program-cmd): Likewise.
24494 * Rules (make-test-out): Use $(test-wrapper-env) and
24495 $(host-built-program-cmd).
24496 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24497 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24498 tst-pathopt.sh.
24499 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24500 $(test-wrapper-env) to tst-rtld-load-self.sh.
24501 ($(objpfx)order2.out): Use $(test-wrapper).
24502 ($(objpfx)tst-initorder.out): Likewise.
24503 ($(objpfx)tst-initorder2.out): Likewise.
24504 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24505 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24506 (test_wrapper_env): New variable. Use it to run ld.so.
24507 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24508 Use it to run ld.so.
24509 (test_wrapper_env): Likewise.
24510 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24511 $(test-wrapper) to run-iconv-test.sh.
24512 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24513 (ICONV): Use $test_wrapper.
24514 * posix/Makefile ($(objpfx)globtest.out): Pass
24515 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24516 globtest.sh, not $(run-program-prefix).
24517 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24518 (test_wrapper): Likewise.
24519 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24520 set together with run_via_rtld_prefix.
24521 (run_program_prefix): Define in terms of test_wrapper and
24522 run_via_rtld_prefix.
24523
6e6249d0
RM
245242012-10-24 Roland McGrath <roland@hack.frob.com>
24525
24526 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24527 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24528 Targets removed.
24529
24530 [BZ #14743]
24531 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24532 Declare __clock_getres, __clock_gettime, __clock_settime,
24533 __clock_nanosleep, and __clock_getcpuclockid.
24534 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24535 Remove librt_hidden_def (clock_gettime).
24536 * sysdeps/unix/clock_gettime.c: Likewise.
24537 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24539 * rt/clock_getres.c: Define __clock_getres as an alias.
24540 * sysdeps/posix/clock_getres.c: Likewise.
24541 * rt/clock_settime.c: Define __clock_settime as an alias.
24542 * sysdeps/unix/clock_settime.c: Likewise.
24543 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24544 * sysdeps/unix/clock_nanosleep.c: Likewise.
24545 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24546 * rt/clock-compat.c: New file.
24547 * rt/Makefile (librt-routines): Add clock-compat and move
24548 $(clock-routines) to ...
24549 (routines): ... here, new variable.
24550 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24551 Don't add get_clockfreq here.
24552 * rt/Versions (libc: GLIBC_2.17): New version set.
24553 Add clock_* symbols here.
24554 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24555 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24556 (GLIBC_2.17): Add clock_* symbols.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24561 Likewise.
24562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24563 Likewise.
24564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24568 * NEWS: Mention the move.
24569
24570 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24571 Use __open, __read, __close rather than their public counterparts.
24572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24573 (__get_clockfreq_via_cpuinfo): Likewise.
24574 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24575 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24576
24577 * config.h.in (HAVE_IFUNC): New #undef.
24578 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24579 was successful.
24580 * configure: Regenerated.
24581
0cae3f4b
MF
245822012-10-24 Mike Frysinger <vapier@gentoo.org>
24583
24584 * configure.in: Move READELF check to start of file.
24585 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24586 libc_cv_asm_gnu_indirect_function in the process.
24587 * configure: Regenerated.
24588
8175a253
MF
245892012-10-24 Mike Frysinger <vapier@gentoo.org>
24590
24591 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24592 send the output to /dev/null.
24593 (libc_cv_cc_with_libunwind): Likewise.
24594 (libc_cv_as_noexecstack): Likewise.
24595 * configure: Regenerate.
24596
0708a7d1
JM
245972012-10-24 Joseph Myers <joseph@codesourcery.com>
24598
10b40d85
JM
24599 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24600
0708a7d1
JM
24601 * posix/globtest.sh (TMPDIR): Do not set.
24602 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24603 (testout): Likewise.
24604
9fddec1a
AJ
246052012-10-24 Andreas Jaeger <aj@suse.de>
24606
3a8db22f
AJ
24607 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24608 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24609 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24610 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24611 posix_fadvise64, posix_fallocate64.
24612
9fddec1a
AJ
24613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24614 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24615 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24616 Likewise.
24617 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24618 Likewise.
24619 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24620
24621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24622 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24623 <bits/fcntl-linux.h>.
24624 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24625
24626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24627 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24628 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24629 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24630 [__WORDSIZE != 64]: Likewise.
24631
ebfd1bbd
JM
246322012-10-23 Joseph Myers <joseph@codesourcery.com>
24633
03ac099f
JM
24634 * Makeconfig (run-built-tests): New variable.
24635 * Rules [$(cross-compiling) = yes]: Change condition to
24636 [$(run-built-tests) = no].
24637 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24638 to [$(run-built-tests) = yes].
24639 * elf/Makefile [$(cross-compiling) = no]: Likewise
24640 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24641 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24642 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24643 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24644 * io/Makefile [$(cross-compiling) = no]: Likewise.
24645 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24646 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24647 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24648 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24649 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24650 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24651 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24652 * string/Makefile [$(cross-compiling) = no]: Likewise.
24653
ebfd1bbd
JM
24654 * posix/Makefile ($(objpfx)globtest.out): Pass
24655 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24656 $(rtld-installed-name).
24657 * posix/globtest.sh (elf_objpfx): Remove variable.
24658 (rtld_installed_name): Likewise.
24659 (library_path): Likewise.
24660 (run_program_prefix): New variable. Use for running globtest
24661 binary.
24662
166bca24
JB
246632012-10-23 Jim Blandy <jimb@codesourcery.com>
24664 Joseph Myers <joseph@codesourcery.com>
24665
24666 * Makeconfig (host-built-program-cmd): New variable.
24667 * elf/Makefile (tst-stackguard1-ARGS): Use
24668 $(host-built-program-cmd).
24669 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24670 (tst-spawn-ARGS): Likewise.
24671 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24672
88866099
JM
246732012-10-23 Joseph Myers <joseph@codesourcery.com>
24674 Jim Blandy <jimb@codesourcery.com>
24675
24676 * Makeconfig (run-via-rtld-prefix): New variable.
24677 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24678 (built-program-cmd): Likewise.
24679
b4b4c296
AJ
246802012-10-22 Andreas Jaeger <aj@suse.de>
24681
24682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24683 __O_RSYNC if it exists, otherwise to O_SYNC.
24684
6fb54a22
JB
246852012-10-22 Jim Blandy <jimb@codesourcery.com>
24686 Joseph Myers <joseph@codesourcery.com>
24687
24688 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24689 /dev/null.
24690 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24691 from /dev/null
24692 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24693 /dev/null.
24694
481b90b9
AJ
246952012-10-22 Andreas Jaeger <aj@suse.de>
24696
2a0e2669
AJ
24697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24698 Define always.
24699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24700
76e38f9a
AJ
24701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24702 bits/fcntl-linux.h.
24703
7cd37b43
AJ
24704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24705 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24706
481b90b9
AJ
24707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24708 to __O_LARGEFILE.
24709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24710 to __O_LARGEFILE.
24711
aba75984
JB
247122012-10-21 Jim Blandy <jimb@codesourcery.com>
24713 Joseph Myers <joseph@codesourcery.com>
24714
24715 * config.make.in (NM): New variable.
24716
88d4247f
AJ
247172012-10-21 Andreas Jaeger <aj@suse.de>
24718
24719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24720 definitions and declarations that are provided by
24721 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24722
f2eed205
L
247232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24724
24725 [BZ #14683]
24726 * elf/Makefile (tests-static): Add tst-leaks1-static.
24727 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24728 ($(objpfx)tst-leaks1-static): New rule.
24729 ($(objpfx)tst-leaks1-static-mem): Likewise.
24730 (tst-leaks1-static-ENV): New macro.
24731 * elf/dl-open.c (dl_open_worker): Check the main application
24732 only if SHARED is defined.
24733 * elf/tst-leaks1-static.c: New file.
24734
335e6931
AJ
247352012-10-20 Andreas Jaeger <aj@suse.de>
24736
24737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24738 generic values for Linux.
24739 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24740 and declarations that are provided by <bits/fcntl-linux.h> and
24741 include <bits/fcntl-linux.h>.
24742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24744
ac5c94d3
RM
247452012-10-20 Roland McGrath <roland@hack.frob.com>
24746
24747 * io/fcntl.h: Move include of <bits/types.h> to the top and
24748 include it unconditionally.
24749
de54b33a
L
247502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24751
228cfb01
L
24752 * wcsmbs/Makefile (tests-ifunc): New variable.
24753 (tests): Add $(tests-ifunc).
24754 * wcsmbs/test-wcschr-ifunc.c: New file.
24755 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24756 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24757 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24758 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24759 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24760
69f07e5f
L
24761 * string/Makefile (tests-ifunc): New variable.
24762 (tests): Add $(tests-ifunc).
24763 * string/test-memccpy.c (TEST_NAME): New macro.
24764 * string/test-memchr.c (TEST_NAME): Likewise.
24765 * string/test-memcmp.c (TEST_NAME): Likewise.
24766 * string/test-memcpy.c (TEST_NAME): Likewise.
24767 * string/test-memmem.c (TEST_NAME): Likewise.
24768 * string/test-memmove.c (TEST_NAME): Likewise.
24769 * string/test-memset.c (TEST_NAME): Likewise.
24770 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24771 * string/test-stpcpy.c (TEST_NAME): Likewise.
24772 * string/test-stpncpy.c (TEST_NAME): Likewise.
24773 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24774 * string/test-strcasestr.c (TEST_NAME): Likewise.
24775 * string/test-strcat.c (TEST_NAME): Likewise.
24776 * string/test-strchr.c (TEST_NAME): Likewise.
24777 * string/test-strcmp.c(TEST_NAME): Likewise.
24778 * string/test-strcpy.c (TEST_NAME): Likewise.
24779 * string/test-strcspn.c (TEST_NAME): Likewise.
24780 * string/test-strlen.c (TEST_NAME): Likewise.
24781 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24782 * string/test-strncmp.c (TEST_NAME): Likewise.
24783 * string/test-strncpy.c (TEST_NAME): Likewise.
24784 * string/test-strnlen.c (TEST_NAME): Likewise.
24785 * string/test-strpbrk.c (TEST_NAME): Likewise.
24786 * string/test-strrchr.c (TEST_NAME): Likewise.
24787 * string/test-strspn.c (TEST_NAME): Likewise.
24788 * string/test-strstr.c (TEST_NAME): Likewise.
24789 * string/test-bcopy-ifunc.c: New file.
24790 * string/test-bzero-ifunc.c: Likewise.
24791 * string/test-memccpy-ifunc.c: Likewise.
24792 * string/test-memchr-ifunc.c: Likewise.
24793 * string/test-memcmp-ifunc.c: Likewise.
24794 * string/test-memcpy-ifunc.c: Likewise.
24795 * string/test-memmem-ifunc.c: Likewise.
24796 * string/test-memmove-ifunc.c: Likewise.
24797 * string/test-mempcpy-ifunc.c: Likewise.
24798 * string/test-memset-ifunc.c: Likewise.
24799 * string/test-rawmemchr-ifunc.c: Likewise.
24800 * string/test-stpcpy-ifunc.c: Likewise.
24801 * string/test-stpncpy-ifunc.c: Likewise.
24802 * string/test-strcasecmp-ifunc.c: Likewise.
24803 * string/test-strcasestr-ifunc.c: Likewise.
24804 * string/test-strcat-ifunc.c: Likewise.
24805 * string/test-strchr-ifunc.c: Likewise.
24806 * string/test-strchrnul-ifunc.c: Likewise.
24807 * string/test-strcmp-ifunc.c: Likewise.
24808 * string/test-strcpy-ifunc.c: Likewise.
24809 * string/test-strcspn-ifunc.c: Likewise.
24810 * string/test-strlen-ifunc.c: Likewise.
24811 * string/test-strncasecmp-ifunc.c: Likewise.
24812 * string/test-strncat-ifunc.c: Likewise.
24813 * string/test-strncmp-ifunc.c: Likewise.
24814 * string/test-strncpy-ifunc.c: Likewise.
24815 * string/test-strnlen-ifunc.c: Likewise.
24816 * string/test-strpbrk-ifunc.c: Likewise.
24817 * string/test-strrchr-ifunc.c: Likewise.
24818 * string/test-strspn-ifunc.c: Likewise.
24819 * string/test-strstr-ifunc.c: Likewise.
24820
de54b33a
L
24821 * debug/Makefile (tests-ifunc): New variable.
24822 (tests): Add $(tests-ifunc).
24823 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24824 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24825 * debug/test-stpcpy_chk-ifunc.c: New file.
24826 * debug/test-strcpy_chk-ifunc.c: Likewise.
24827
88481c16
SP
248282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24829
24830 [BZ #13601]
24831 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24832 header is not read in.
24833
135948bd
JM
248342012-10-19 Joseph Myers <joseph@codesourcery.com>
24835
89f1c388
JM
24836 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24837 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24838 directly. Pass built executable to script as
24839 $(built-program-cmd).
24840 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24841 $testprogram without using LD_LIBRARY_PATH and $ldso.
24842
e40a0d21
JM
24843 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24844 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24845 $(rtld-installed-name).
24846 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24847 (rtld_installed_name): Likewise.
24848 (library_path): Likewise.
24849 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24850 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24851 $(run-program-prefix) to tst-tables.sh.
24852 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24853 it to run tst-table-from and tst-table-to.
24854 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24855 Pass it to tst-table.sh.
24856 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24857 $(run-program-prefix) to tst-gettext.sh.
24858 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24859 tst-translit.sh.
24860 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24861 tst-gettext2.sh.
24862 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24863 to run tst-gettext.
24864 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24865 to run tst-gettext2.
24866 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24867 to run tst-translit.
24868 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24869 $(run-program-prefix) to tst-mtrace.sh.
24870 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24871 to run tst-mtrace.
24872 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24873 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24874 $(rtld-installed-name).
24875 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24876 (rtld_installed_name): Likewise.
24877 (run_program_prefix): New variable. Use it to run wordexp-test.
24878
728e272a
JM
24879 * Makeconfig (ARCH): Remove all definitions.
24880 (machine): Likewise.
24881 [ARCH]: Remove conditional code.
24882 [!objdir]: Give error.
24883 [!objdir] (objpfx): Remove.
24884 [!objdir] (common-objpfx): Likewise.
24885 [!objdir] (common-objdir): Likewise.
24886 * configure.in (config_makefile): Remove. Hardcode Makefile in
24887 AC_CONFIG_FILES call.
24888 * configure: Regenerated.
24889
d528cdcf
JM
24890 [BZ #13888]
24891 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24892 or TMPDIR.
24893 (testout): Likewise.
24894
135948bd
JM
24895 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24896 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24897 $(rtld-installed-name).
24898 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24899 (rtld_installed_name): Likwise.
24900 (runit): Remove function.
24901 (run_getconf): New variable, Use it for running getconf binary.
24902
38c78296
L
249032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24904
24905 [BZ #14716]
24906 * string/test-memmem.c (check_result): New function.
24907 (do_one_test): Use it.
24908 (check1): New function.
24909 (test_main): Use it.
24910
d077f65f
MT
249112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24912
24913 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24914
ced52c71
JM
249152012-10-18 Joseph Myers <joseph@codesourcery.com>
24916
24917 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24918 (_G_LSEEK64): Likewise.
24919 (_G_MMAP64): Likewise.
24920 (_G_FSTAT64): Likewise.
24921 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24922 (_G_LSEEK64): Likewise.
24923 (_G_MMAP64): Likewise.
24924 (_G_FSTAT64): Likewise.
24925 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24926 unconditional. Call __mmap64 directly.
24927 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24928 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24929 __lseek64 directly.
24930 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24931 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24932 __mmap64 directly.
24933 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24934 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24935 __lseek64 directly.
24936 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24937 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24938 __lseek64 directly.
24939 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24940 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24941 __lseek64 directly.
24942 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24943 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24944 __fxstat64 directly.
24945 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24946 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24947 unconditional.
24948 (freopen64) [!_G_OPEN64]: Remove conditional code.
24949 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24950 unconditional.
24951 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24952 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24953 unconditional.
24954 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24955 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24956 unconditional.
24957 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24958 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24959 unconditional.
24960 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24961 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24962 unconditional.
24963 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24964 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24965 unconditional.
24966 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24967 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24968 unconditional.
24969 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24970
b741de23
SP
249712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24972
24973 [BZ #12140]
24974 * manual/memory.texi (Malloc Tunable Parameters): Add note
24975 about free list pointers overwriting some perturb bytes.
24976 Wording suggested by Roland McGrath.
24977
f9b9d9c9
JM
249782012-10-17 Joseph Myers <joseph@codesourcery.com>
24979
24980 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24981 (lgamma_test): Likewise.
24982 (tgamma_test): Likewise.
24983
172a631a
FW
249842012-10-16 Florian Weimer <fweimer@redhat.com>
24985
24986 [BZ #14700]
24987 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24988 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24989
e9f37252
MK
249902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24991
24992 * NEWS: Mention BZ #14716.
24993 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24994 when removing AVAILABLE1_USES_J macro.
24995
d394eb74
L
249962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24997
24998 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24999 (__bswap_64): __uint64_t for unsigned 64-bit int.
25000
ca38dc17
AS
250012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25002
25003 * include/string.h (memmem): Declare libc hidden alias.
25004 * string/memmem.c (memmem): Define libc hidden alias.
25005 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25006 __read, __close instead of open, read, close.
25007
9a387d1f
L
250082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25009
ac49ecaf
L
25010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25011 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25012 global and hidden.
25013 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25014 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25015 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25016 Likewise.
25017 (__rawmemchr_sse2): Likewise.
25018 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25019 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25020 (__strchr_sse2): Likewise.
25021 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25022 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25023 (__strcasecmp_sse2): Likewise.
25024 (__strncasecmp_sse2): Likewise.
25025 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25026 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25027 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25028 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25029 (__strrchr_sse2): Likewise.
25030 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25031 ifunc-impl-list.c.
25032 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25033 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25034 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25035 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25036 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25037 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25038 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25039 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25040 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25041 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25042 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25043 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25044 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25045 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25046 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25047 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25048 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25049 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25050 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25051 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25052 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25053 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25054 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25055 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25056 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25057 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25058 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25059 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25060 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25061 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25062
b090e8ea
L
25063 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25064 global and hidden.
25065 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25066 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25067 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25068 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25069 Likewise.
25070 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25071 Likewise.
25072 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25073 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25074 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25075 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25076 ifunc-impl-list.c.
25077 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25078 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25080 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25081 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25111 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25115 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25117 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25118
11dd4af6
L
25119 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25120 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25121 * include/ifunc-impl-list.h: New file.
25122 * misc/ifunc-impl-list.c: Likewise.
25123 * misc/Makefile (routines): Add ifunc-impl-list.
25124 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25125 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25126 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25127 TEST_NAME]: New variables.
11dd4af6
L
25128 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25129 are defined.
25130 (test_init): Call __libc_ifunc_impl_list to initialize
25131 func_list if TEST_IFUNC and TEST_NAME are defined.
25132
9a387d1f
L
25133 * string/Makefile (strop-tests): Add bcopy and bzero.
25134 * string/test-bcopy.c: New file.
25135 * string/test-bzero.c: Likewise.
25136 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25137 defined.
25138 * string/test-memset.c: Support bzero test if TEST_BZERO is
25139 defined.
25140 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25141 __libc_memmove.
25142 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25143 __libc_memset.
25144 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25145 of memset.
25146
472371b9
JM
251472012-10-10 Joseph Myers <joseph@codesourcery.com>
25148
1e4a9536
JM
25149 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25150 * configure: Regenerated.
25151
d173d12e
JM
25152 * Makeconfig (+link-static-before-libc): Don't include
25153 $(link-static-libc).
25154
472371b9
JM
25155 * libio/libio.h (_IO_pos_t): Remove.
25156
89a3ad0b
AO
251572012-10-10 Alexandre Oliva <aoliva@redhat.com>
25158
25159 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25160 McGrath.
25161
e7451425
AO
251622012-10-10 Alexandre Oliva <aoliva@redhat.com>
25163
25164 * crypt/crypt-entry.c: Include fips-private.h.
25165 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25166 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25167 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25168 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25169
4ba74a35
AO
251702012-10-10 Alexandre Oliva <aoliva@redhat.com>
25171
25172 * crypt/crypt-private.h: Include stdbool.h.
25173 (_ufc_setup_salt_r): Return bool.
25174 * crypt/crypt-entry.c: Include errno.h.
25175 (__crypt_r): Return NULL with EINVAL for bad salt.
25176 * crypt/crypt_util.c (bad_for_salt): New.
25177 (_ufc_setup_salt_r): Check that salt is long enough and within
25178 the specified alphabet.
25179 * crypt/badsalttest.c: New file.
25180 * crypt/Makefile (tests): Add it.
25181 ($(objpfx)badsalttest): New.
25182
f96f1242
MK
251832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25184
25185 * NEWS: Add entry for BZ #14602.
25186
0e8e0c1c
JM
251872012-10-09 Joseph Myers <joseph@codesourcery.com>
25188
25189 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25190 type-generic.
25191 * math/libm-test.inc: Update comment listing what functions and
25192 macros are tested.
25193 (isgreater_test): New function.
25194 (isgreaterequal_test): Likewise.
25195 (isless_test): Likewise.
25196 (islessequal_test): Likewise.
25197 (islessgreater_test): Likewise.
25198 (isunordered_test): Likewise.
25199 (main): Call the new functions.
25200
273edc5e
RM
252012012-10-09 Roland McGrath <roland@hack.frob.com>
25202
b8493de0
RM
25203 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25204 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25205 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25206 * sysdeps/i386/configure: Regenerated.
25207 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25208 * sysdeps/mach/configure: Regenerated.
25209 * sysdeps/mach/hurd/configure: Regenerated.
25210 * sysdeps/powerpc/configure: Regenerated.
25211 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25212 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25213 * sysdeps/s390/s390-32/configure: Regenerated.
25214 * sysdeps/s390/s390-64/configure: Regenerated.
25215 * sysdeps/sh/configure: Regenerated.
25216 * sysdeps/sparc/configure: Regenerated.
25217 * sysdeps/unix/sysv/linux/configure: Regenerated.
25218 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25219 * sysdeps/x86_64/configure: Regenerated.
25220
273edc5e
RM
25221 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25222 defined. Don't check if MAP is NULL.
25223
c8450f70
JM
252242012-10-09 Joseph Myers <joseph@codesourcery.com>
25225
25226 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25227 (_G_stat64): Likewise.
25228 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25229 (_G_stat64): Likewise.
25230 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25231 instead of struct _G_stat64.
25232 * libio/fileops.c (mmap_remap_check): Likewise.
25233 (decide_maybe_mmap): Likewise.
25234 (_IO_new_file_seekoff): Likewise.
25235 (_IO_file_stat): Likewise.
25236 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25237 _G_off64_t.
25238 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25239 instead of struct _G_stat64.
25240 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25241
57e605ba
MK
252422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25243
25244 [BZ #14602]
25245 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25246 Replace with ...
25247 (CHECK_EOL): New macro.
25248 (two_way_short_needle): Check beginning of haystack for EOL. Use
25249 CHECK_EOL.
25250 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25251 Replace with CHECK_EOL.
25252 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25253 Replace with CHECK_EOL.
25254
ef1bb361
JM
252552012-10-08 Joseph Myers <joseph@codesourcery.com>
25256
25257 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25258 type-generic.
25259 * math/libm-test.inc: Update comment listing what functions and
25260 macros are tested.
25261 (finite_test): New function.
25262 (isinf_test): Likewise.
25263 (isnan_test): Likewise.
25264 (fpclassify_test): Test subnormal input.
25265 (isfinite_test): Likewise.
25266 (isnormal_test): Likewise.
25267 (main): Call the new functions.
25268
55f11534
JN
252692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25270
25271 [BZ #14660]
25272 * Makerules (%.dynsym): Force C locale when running
25273 $(OBJDUMP) --dynamic-syms.
25274
1ab29350
AS
252752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25276
25277 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25278 <stdint.h>.
25279
f1ecb7ef
DM
252802012-10-06 David S. Miller <davem@davemloft.net>
25281
25282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25283 upper 32-bits of the length value in %o2 since we use branch-on-register
25284 tests which consider the entire 64-bit register.
25285
5d41d91a
L
252862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 * string/test-strstr.c (check2): Add a test for page boundary.
25289
3baddb72
DM
252902012-10-05 David S. Miller <davem@davemloft.net>
25291
25292 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25294 file.
25295 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25296 sysdep_routines.
25297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25298 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25299 and bzero when HWCAP_SPARC_CRYPTO is present.
25300
9cee5585
L
253012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25302
d7e0dab9
L
25303 [BZ #14602]
25304 * string/test-strstr.c (check2): New function.
25305 (test_main): Call check2.
25306
03759f47
L
25307 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25308 and bug-strchr1.
25309 * string/bug-strcasestr1.c (do_test): Moved to ...
25310 * string/test-strcasestr.c (check1): Here. New function.
25311 (do_one_test): Break out result checking code into ...
25312 (check_result): This. New function.
25313 (do_one_test): Call check_result.
25314 (test_main): Call check1.
25315 * string/bug-strchr1.c (do_test): Moved to ...
25316 * string/test-strchr.c (check1): Here. New function.
25317 (do_one_test): Break out result checking code into ...
25318 (check_result): This. New function.
25319 (do_one_test): Call check_result.
25320 (test_main): Call check1.
25321 * string/bug-strstr1.c (main): Moved to ...
046f153e 25322 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25323 (do_one_test): Break out result checking code into ...
25324 (check_result): This. New function.
25325 (do_one_test): Call check_result.
25326 (test_main): Call check1.
25327 * string/bug-strcasestr1.c: Removed.
25328 * string/bug-strchr1.c: Likewise.
25329 * string/bug-strstr1.c: Likewise.
25330
53cea63e
L
25331 * elf/Makefile (dl-routines): Add hwcaps.
25332 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25333 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25334 (_dl_important_hwcaps): Moved to ...
25335 * elf/dl-hwcaps.c: Here. New file.
25336 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25337
9cee5585 25338 [BZ #14557]
bb859b06
L
25339 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25340 if IS_IN_rtld isn't defined.
25341
9cee5585
L
25342 * elf/dl-support.c (_dl_sysinfo_map): New.
25343 Include "get-dynamic-info.h" and "setup-vdso.h".
25344 (_dl_non_dynamic_init): Call setup_vdso.
25345 * elf/dynamic-link.h: Don't include <assert.h>.
25346 (elf_get_dynamic_info): Moved to ...
25347 * elf/get-dynamic-info.h: Here. New file.
25348 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25349 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25350 * elf/setup-vdso.h: Here. New file.
25351 * elf/rtld.c: Include "setup-vdso.h".
25352 (dl_main): Call setup_vdso.
25353
23c31b76
JM
253542012-10-05 Joseph Myers <joseph@codesourcery.com>
25355
28234b07
JM
25356 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25357 creal in comment listing functions tested. List finite, isinf,
25358 isnan, isless, islessequal, isgreater, isgreaterequal,
25359 islessgreater, isunordered, lgamma_r and pow10 as functions and
25360 macros not tested. Mention which functions not tested are aliases
25361 for other functions. Fix typo. Note that signs of NaNs are not
25362 tested.
25363
23c31b76
JM
25364 * scripts/config.guess: Update from config.git.
25365 * scripts/config.sub: Likewise.
25366
9043e228
RM
253672012-10-04 Roland McGrath <roland@hack.frob.com>
25368
25369 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25370 * misc/madvise.c (madvise): Renamed to __madvise.
25371 Make madvise a weak alias.
25372 * include/sys/mman.h: Declare __madvise.
25373 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25374 * sysdeps/unix/syscalls.list
25375 (madvise): Make __madvise the strong name, and madvise a weak alias.
25376 * sysdeps/unix/sysv/linux/syscalls.list
25377 (madvise, mmap): Remove redundant entries.
25378 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25379 * malloc/malloc.c (mtrim): Likewise.
25380 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25381
f57f8055
RM
253822012-10-03 Roland McGrath <roland@hack.frob.com>
25383
25384 * sysdeps/mach/hurd/dl-cache.c: File removed.
25385 * config.h.in (USE_LDCONFIG): New #undef.
25386 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25387 * configure: Regenerated.
25388 * elf/Makefile (dl-routines): Add dl-cache only under
25389 [$(use-ldconfig) = yes].
25390 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25391 cache on [USE_LDCONFIG].
25392 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25393 [USE_LDCONFIG].
25394 * elf/rtld.c (dl_main): Likewise.
25395
5bb0c10a
PT
253962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25397
25398 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25399 _SC_LEVEL4_CACHE_LINESIZE.
25400
010188c6
RM
254012012-10-03 Roland McGrath <roland@hack.frob.com>
25402
25403 * sysdeps/unix/bsd/confstr.h: File removed.
25404
b6c5ec07
AO
254052012-10-02 Alexandre Oliva <aoliva@redhat.com>
25406
25407 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25408 sys/sdt-config.h.
25409
408223d4
RM
254102012-10-02 Roland McGrath <roland@hack.frob.com>
25411
25412 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25413 Make 'mapoff' field ElfW(Off) rather than off_t.
25414
bb9510dc
DL
254152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25416
fc997c6e
DL
25417 * nscd/Makefile: Remove nscd-cflags and all its users.
25418 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25419 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25420
bb9510dc
DL
25421 [BZ #10631]
25422 * malloc.c (malloc_printerr): Clarify error message.
25423
05699367
L
254242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25425
25426 [BZ #14648]
25427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25428 Set bit_FMA_Usable if FMA is supported.
25429 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25430 macro.
25431 (bit_FMA4_Usable): Updated.
25432 (index_FMA_Usable): New macro.
25433 (CPUID_FMA): Likewise
25434 (HAS_FMA): Defined with bit_FMA_Usable.
25435
51367701
RM
254362012-10-01 Roland McGrath <roland@hack.frob.com>
25437
25438 * bits/types.h (__swblk_t): Type removed.
25439 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25440 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25442 (__SWBLK_T_TYPE): Likewise.
25443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25444 (__SWBLK_T_TYPE): Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25446 (__SWBLK_T_TYPE): Likewise.
25447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25448 (__SWBLK_T_TYPE): Likewise.
25449
4d57bf63 254502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25451 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25452
25453 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25454 (xdr_mapname): Use YPMAXMAP as maxsize.
25455 (xdr_peername): Use YPMAXPEER as maxsize.
25456 (xdr_keydat): Use YPAXRECORD as maxsize.
25457 (xdr_valdat): Use YPMAXRECORD as maxsize.
25458
93c65d43
RM
254592012-10-01 Roland McGrath <roland@hack.frob.com>
25460
497a03d6
RM
25461 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25462
93c65d43
RM
25463 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25464 * csu/init-first.c: ... here.
25465 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25466 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25467 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25469 * sysdeps/i386/init-first.c: File removed.
25470 * sysdeps/sh/init-first.c: File removed.
25471
bec749fd
JM
254722012-10-01 Joseph Myers <joseph@codesourcery.com>
25473
25474 [BZ #14645]
25475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25476 if x * y might underflow to zero and z is zero.
25477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25479 * math/libm-test.inc (min_subnorm_value): New variable.
25480 (fma_test): Add more tests.
25481 (fma_test_towardzero): Likewise.
25482 (fma_test_downward): Likewise
25483 (fma_test_upward): Likewise.
25484 (initialize): Set min_subnorm_value.
25485
8ec5b013
JM
254862012-09-29 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #14638]
25489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25490 0 + 0.
25491 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25492 mode for addition resulting in exact zero.
25493 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25495 exact 0 + 0.
25496 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25498 * math/libm-test.inc (fma_test): Add more tests.
25499 (fma_test_towardzero): New function.
25500 (fma_test_downward): Likewise.
25501 (fma_test_upward): Likewise.
25502 (main): Call the new functions.
25503
b1fa802e
DM
255042012-09-28 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25507
d3b9fd9e
RM
255082012-09-28 Roland McGrath <roland@hack.frob.com>
25509
ea4d37b3
RM
25510 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25511 instead of SIGALRM.
25512
ac51c949
RM
25513 * sysdeps/gnu/_G_config.h: Moved to ...
25514 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25515 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25516 * sysdeps/generic/_G_config.h: ... here.
25517
28c195f7
RM
25518 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25519
848917f9
RM
25520 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25521
6bacf05b
RM
25522 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25523 Conditionalize target on [libnss_test1.so-version].
25524
91363dbb
RM
25525 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25526
cc87f7d8
RM
25527 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25528 (elfobjdir): Move out of conditionals.
25529
b1c608fe
RM
25530 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25531 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25532 (__nss_lookup_function): Conditionalize label remove_from_tree on
25533 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25534
1d9a6d96
DM
255352012-09-28 David S. Miller <davem@davemloft.net>
25536
25537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25538 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25539 file.
25540 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25541 sysdep_routines.
25542 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25544 when HWCAP_SPARC_CRYPTO is present.
25545
72581615
PT
255462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25547
25548 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25549
715a900c
JL
255502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25551
25552 [BZ #6530]
25553 * stdio-common/vfprintf.c (process_string_arg): Revert
25554 2000-07-22 change.
25555
255562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25557
25558 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25559 for testcase.
25560 * stdio-common/tst-sprintf.c: Include <locale.h>
25561 (main): Test sprintf's handling of incomplete multibyte
25562 characters.
25563
9bac1d86
L
255642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25565
25566 * elf/dl-runtime.c (VERSYMIDX): Removed.
25567 * elf/dl-version.c (VERSYMIDX): Likewise.
25568 * elf/do-rel.h (VERSYMIDX): Likewise.
25569 (VALIDX): Likewise.
25570 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25571 * elf/rtld.c (VALIDX): Likewise.
25572 (ADDRIDX): Likewise.
9bac1d86
L
25573 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25574 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25575 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25576 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25577 (VALIDX): Likewise.
25578 (ADDRIDX): Likewise.
9bac1d86 25579
b31606c0
PT
255802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25581
25582 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25583
11541177
JL
255842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25585
25586 [BZ #11438]
25587 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25588 to global scope.
25589 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25590 addresses are in the same scope as 192.0.2/24.
25591 * posix/gai.conf: Document new scope table defaults.
25592
adb26fae
SP
255932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 [BZ #5298]
25596 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25597 for ftell. Compute offsets from write pointers instead.
25598 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25599
4573c6b0
SP
256002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25601
25602 [BZ #14543]
25603 * libio/Makefile (tests): New test case tst-fseek.
25604 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25605 combination works in wide mode.
25606 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25607 state when the external buffer state changes.
25608
aa9bbfe6
DM
256092012-09-27 David S. Miller <davem@davemloft.net>
25610
25611 [BZ #14376]
25612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25613 pass reloc->r_addend in as the 'high' argument to
25614 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25615
784421e7
DM
25616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25617
c39bc8b8
PT
256182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25619
25620 * rt/tst-aio2.c: Include <pthread.h>.
25621 * rt/tst-aio3.c: Likewise.
25622
1ccc2399
SE
256232012-09-27 Steve Ellcey <sellcey@mips.com>
25624
25625 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25626
31ed4153
L
256272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25628
25f5f885
L
25629 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25630 contents on [SHARED].
31ed4153 25631
b7bfe116
MP
256322012-09-26 Marek Polacek <polacek@redhat.com>
25633
25634 [BZ #14530]
25635 [BZ #13741]
25636 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25637 for C++ and GCC <4.3 as well as for non GCC compilers.
25638
43c4edba
MT
256392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25640
25641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25642
6a1bf82f
RM
256432012-09-25 Roland McGrath <roland@hack.frob.com>
25644
25645 * Makefile.in (all, install): Declare with .PHONY.
25646 Reported by Michael Hope <michael.hope@linaro.org>.
25647
8ad11b9a
TMQMF
256482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25649
25650 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25651 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25652 system header.
25653 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25654 Likewise.
25655 (sydep_routines): Add the new and the internal functions.
25656 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25657 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25659 (GLIBC_2.17): Add the new function.
25660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25661 (GLIBC_2.17): Likewise.
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25663 (GLIBC_2.17): Likewise.
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25665 (GLIBC_2.17): Likewise.
25666 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25667
7e2fca8d
AM
256682012-09-25 Alan Modra <amodra@gmail.com>
25669
25670 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25671 Add release barrier before setting once_control to say
25672 initialisation is done. Add hints on lwarx. Use macro in
25673 place of isync.
25674 (clear_once_control): Add release barrier.
25675
b87c4b24
JM
256762012-09-25 Joseph Myers <joseph@codesourcery.com>
25677
d032e0d2
JM
25678 [BZ #13629]
25679 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25680 specially.
25681 * math/s_clog10.c (__clog10): Likewise.
25682 * math/s_clog10f.c (__clog10f): Likewise.
25683 * math/s_clog10l.c (__clog10l): Likewise.
25684 * math/s_clogf.c (__clogf): Likewise.
25685 * math/s_clogl.c (__clogl): Likewise.
25686 * math/Makefile (libm-calls): Add x2y2m1.
25687 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25688 (__x2y2m1): Likewise.
25689 (__x2y2m1l): Likewise.
25690 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25691 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25694 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25695 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25696 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25697 * sysdeps/i386/fpu/libm-test-ulps: Update.
25698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25699
b87c4b24
JM
25700 [BZ #14621]
25701 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25702 int as type of variable DEPTH.
25703 (glob): Use size_t instead of int as type of variables NEWCOUNT
25704 and OLD_PATHC.
25705
6d3bf199
LD
257062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25707
22bf5c17
LD
25708 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25709 Add s_sincosf-sse2.
25710 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25711 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25712 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25713 macros for using routine as __sincosf_ia32.
25714 Use macro for function declaration and weak_alias.
25715 * sysdeps/i386/fpu/libm-test-ulps: Update.
25716
25717 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25719
25720 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25721 subnormal argument.
25722 * math/s_cexpf.c (__cexpf): Likewise.
25723 * math/s_csinf.c (__csinf): Likewise.
25724 * math/s_csinhf.c (__csinhf): Likewise.
25725 * math/s_ctanf.c (__ctanf): Likewise.
25726 * math/s_ctanhf.c (__ctanhf): Likewise.
25727 * math/s_ccosh.c (__ccoshf): Likewise.
25728 * math/s_cexp.c (__cexpl): Likewise.
25729 * math/s_csin.c (__csin): Likewise.
25730 * math/s_csinh.c (__csinh): Likewise.
25731 * math/s_ctan.c (__ctan): Likewise.
25732 * math/s_ctanh.c (ctanh): Likewise.
25733 * math/s_ccoshl.c (__ccoshl): Likewise.
25734 * math/s_cexpl.c (__cexpl): Likewise.
25735 * math/s_csinl.c (__csinl): Likewise.
25736 * math/s_csinhl.c (__csinhl): Likewise.
25737 * math/s_ctanl.c (__ctanl): Likewise.
25738 * math/s_ctanhl.c (__ctanhl): Likewise.
25739
203e5603
JM
257402012-09-25 Joseph Myers <joseph@codesourcery.com>
25741
25742 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25743 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25744 (_IO_off_t): Define to __off_t, not _G_off_t.
25745 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25746 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25747 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25748 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25749 type of __dummy and __dummy2 fields.
25750 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25751 (_G_ssize_t): Likewise.
25752 (_G_off_t): Likewise.
25753 (_G_pid_t): Likewise.
25754 (_G_uid_t): Likewise.
25755 (_G_wchar_t): Likewise.
25756 (_G_wint_t): Likewise.
25757 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25758 (_G_ssize_t): Likewise.
25759 (_G_off_t): Likewise.
25760 (_G_pid_t): Likewise.
25761 (_G_uid_t): Likewise.
25762 (_G_wchar_t): Likewise.
25763 (_G_wint_t): Likewise.
25764 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25765 (_G_ssize_t): Likewise.
25766 (_G_off_t): Likewise.
25767 (_G_pid_t): Likewise.
25768 (_G_uid_t): Likewise.
25769 (_G_wchar_t): Likewise.
25770 (_G_wint_t): Likewise.
25771
9fab36eb
SP
257722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25773
25774 * malloc/arena.c: Include malloc-sysdep.h.
25775 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25776 is sufficient to shrink the heap or an unmap is needed.
25777 * sysdeps/generic/malloc-sysdep.h: New file. Define
25778 new function check_may_shrink_heap.
25779 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25780 new function check_may_shrink_heap.
25781
2b4f00d1
SP
257822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
25784 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25785 comments.
25786
9a9028b1
DL
257872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25788
57c69bef
DL
25789 * catgets/test-gencat.sh: Add "set -e".
25790 * elf/tst-pathopt.sh: Likewise.
25791 * grp/tst_fgetgrent.sh: Likewise.
25792 * iconvdata/run-iconv-test.sh: Likewise.
25793 * intl/tst-gettext.sh: Likewise.
25794 * intl/tst-gettext2.sh: Likewise.
25795 * intl/tst-gettext4.sh: Likewise.
25796 * intl/tst-gettext6.sh: Likewise.
25797 * intl/tst-translit.sh: Likewise.
25798 * io/ftwtest-sh: Likewise.
25799 * libio/test-freopen.sh: Likewise.
25800 * malloc/tst-mtrace.sh: Likewise.
25801 * posix/globtest.sh: Likewise.
25802 * posix/tst-getconf.sh: Likewise.
25803 * posix/wordexp-tst.sh: Likewise.
25804 * stdio-common/tst-printf.sh: Likewise.
25805 * stdio-common/tst-unbputc.sh: Likewise.
25806 * stdlib/tst-fmtmsg.sh: Likewise.
25807 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25808 * catgets/Makefile: Do not specify -e option when running
25809 testsuite shell scripts.
25810 * elf/Makefile: Likewise.
25811 * grp/Makefile: Likewise.
25812 * iconvdata/Makefile: Likewise.
25813 * intl/Makefile: Likewise.
25814 * io/Makefile: Likewise.
25815 * libio/Makefile: Likewise.
25816 * malloc/Makefile: Likewise.
25817 * posix/Makefile: Likewise.
25818 * stdio-common/Makefile: Likewise.
25819 * stdlib/Makefile: Likewise.
25820 * sysdeps/x86_64/Makefile: Likewise.
25821
9a9028b1
DL
25822 * io/ftwtest-sh: Add copyright header.
25823 * posix/globtest.sh: Likewise.
25824 * posix/tst-getconf.sh: Likewise.
25825 * posix/wordexp-tst.sh: Likewise.
25826 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25827
ced6f16e
L
258282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25829
94b32c39
L
25830 [BZ #13679]
25831 * Makeconfig (+link): Defined as $(+link-static) if
25832 $(build-shared) isn't yes.
25833 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25834 isn't yes.
25835 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25836
189e935b
L
25837 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25838
ced6f16e
L
25839 [BZ #14562]
25840 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25841 new chunk size with MALLOC_ALIGN_MASK.
25842
a9f8e53a
JM
258432012-09-24 Joseph Myers <joseph@codesourcery.com>
25844
25845 [BZ #5044]
25846 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25847 <rounding-mode.h>.
25848 (__printf_fphex): Determine rounding using get_rounding_mode and
25849 round_away.
25850 * stdio-common/tst-printf-round.c (struct hex_test): New
25851 structure.
25852 (hex_tests): New variable.
25853 (test_hex_in_one_mode): New function.
25854 (do_test): Also run tests for hex float output.
25855
43153109
JM
258562012-09-21 Joseph Myers <joseph@codesourcery.com>
25857
25858 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25859 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25860 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25861 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25862 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25863 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25864 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25866
8a26625d
JM
258672012-09-20 Joseph Myers <joseph@codesourcery.com>
25868
25869 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25870 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25871 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25872 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25873
f3fd569c
DL
258742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25875
25876 [BZ #14579]
25877 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25878 mode only.
25879 * elf/tst-rtld-load-self.sh: New test.
25880 * elf/Makefile: Run it.
25881
63bbedd4
JM
258822012-09-18 Joseph Myers <joseph@codesourcery.com>
25883
25884 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25885 (tst-writev-ENV): Remove.
25886 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25887
626f8b6a
CM
258882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25889
25890 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25891
b7aaa4d6
JM
258922012-09-17 Joseph Myers <joseph@codesourcery.com>
25893
25894 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25895 unconditional.
25896 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25897 Likewise.
25898 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25899 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25900 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25901 Likewise.
25902
65513990
L
259032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25904
25905 [BZ #14587]
25906 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25907 * config.make.in (have-cpp-asm-debuginfo): Removed.
25908 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25909 * configure: Regenerated.
25910
784761be
JM
259112012-09-14 Joseph Myers <joseph@codesourcery.com>
25912
25913 [BZ #5044]
25914 * stdio-common/printf_fp.c: Include <stdbool.h> and
25915 <rounding-mode.h>.
25916 (___printf_fp): Determine rounding using get_rounding_mode and
25917 round_away.
25918 * stdio-common/tst-printf-round.c: New file.
25919 * stdio-common/Makefile (tests): Add tst-printf-round.
25920 (link-libm): New variable.
25921 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25922
9503345f
L
259232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25924
25925 [BZ #14576]
25926 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25927 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25928 Likewise.
25929 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25930 Likewise.
25931
ad35fc00
JM
259322012-09-13 Joseph Myers <joseph@codesourcery.com>
25933
25934 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25935 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25936 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25937 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25938
6c9b0f68
JM
259392012-09-12 Joseph Myers <joseph@codesourcery.com>
25940
25941 [BZ #14518]
25942 * include/rounding-mode.h: New file.
25943 * sysdeps/generic/get-rounding-mode.h: Likewise.
25944 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25945 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25946 (MAX_VALUE): New macro.
25947 (MIN_VALUE): Likewise.
25948 (overflow_value): New function.
25949 (underflow_value): Likewise.
25950 (round_and_return): Use overflow_value and underflow_value to
25951 determine return values in overflow and underflow cases. Use
25952 round_away to determine rounding depending on rounding mode.
25953 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25954 determine return values in overflow and underflow cases.
25955 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25956 (struct test_results): New structure.
25957 (struct test): Use struct test_results to store expected results
25958 for all rounding modes.
25959 (TEST): Include expected results for all rounding modes.
25960 (test_in_one_mode): New function.
25961 (do_test): Use test_in_one_mode to compute and check results.
25962 Check results for all rounding modes.
25963 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25964 $(link-libm).
25965
19fcedd5
AM
259662012-12-09 Allan McRae <allan@archlinux.org>
25967
1e9d84cd 25968 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25969
8bbfd2f1
JM
259702012-09-11 Joseph Myers <joseph@codesourcery.com>
25971
25972 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25973 (_G_int32_t): Likewise.
25974 (_G_uint16_t): Likewise.
25975 (_G_uint32_t): Likewise.
25976 (_G_HAVE_BOOL): Likewise.
25977 (_G_HAVE_ATEXIT): Likewise.
25978 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25979 (_G_HAVE_IO_FILE_OPEN): Likewise.
25980 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25981 (_G_int32_t): Likewise.
25982 (_G_uint16_t): Likewise.
25983 (_G_uint32_t): Likewise.
25984 (_G_HAVE_BOOL): Likewise.
25985 (_G_HAVE_ATEXIT): Likewise.
25986 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25987 (_G_HAVE_IO_FILE_OPEN): Likewise.
25988 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25989 (_G_int32_t): Likewise.
25990 (_G_uint16_t): Likewise.
25991 (_G_uint32_t): Likewise.
25992 (_G_HAVE_BOOL): Likewise.
25993 (_G_HAVE_ATEXIT): Likewise.
25994 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25995 (_G_HAVE_IO_FILE_OPEN): Likewise.
25996
b1dc5912
L
259972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25998
25999 * csu/libc-tls.c: Update copyright years.
26000
0e886ef9
JM
260012012-09-10 Joseph Myers <joseph@codesourcery.com>
26002
28361c5e
JM
26003 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26004 [!_G_USING_THUNKS]: Remove conditional code.
26005 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26006 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26007
0e886ef9
JM
26008 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26009 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26010 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26011 (_G_VTABLE_LABEL_PREFIX): Likewise.
26012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26013 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26015 (_G_VTABLE_LABEL_PREFIX): Likewise.
26016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26017 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26018 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26019 (_G_VTABLE_LABEL_PREFIX): Likewise.
26020 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26021
bcba7aa2
L
260222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26023
26024 * libio/Makefile: Include ../Makeconfig before tests.
26025 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26026 only if $(build-shared) is yes.
26027
06585ee8
L
26028 * iconv/gconv_db.c: Update copyright years.
26029
80ccd52c
LD
260302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26031
26032 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26033 unwind info if defined PIC. Fix special cases description.
26034 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26035
26036 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26037 DP_HI_MASK entry.
26038 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26039
691bc9c1
L
260402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26041
3d9b46b3
L
26042 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26043
de2139a9
L
26044 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26045 is NULL.
26046
5ca78dd0
L
26047 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26048 (LDLIBS-tst-chk4): This.
26049 (LDFLAGS-tst-chk5): Renamed to ...
26050 (LDLIBS-tst-chk5): This.
26051 (LDFLAGS-tst-chk6): Renamed to ...
26052 (LDLIBS-tst-chk6): This.
26053 (LDFLAGS-tst-lfschk4): Renamed to ...
26054 (LDLIBS-tst-lfschk4): This.
26055 (LDFLAGS-tst-lfschk5): Renamed to ...
26056 (LDLIBS-tst-lfschk5): This.
26057 (LDFLAGS-tst-lfschk6): Renamed to ...
26058 (LDLIBS-tst-lfschk6): This.
26059
691bc9c1
L
26060 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26061 on $(common-objpfx)soversions.mk.
26062
65cafb1c
JM
260632012-09-07 Joseph Myers <joseph@codesourcery.com>
26064
26065 [BZ #10014]
26066 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26067 example host name.
26068
c78ab094
SP
260692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26070
26071 * malloc/arena.c (arena_get_retry): New function that gets
26072 another arena for the caller to try its request on.
26073 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26074 current arena cannot fulfill the request.
26075 (__libc_memalign): Likewise.
26076 (__libc_memalign): Likewise.
26077 (__libc_pvalloc): Likewise.
26078 (__libc_calloc): Likewise.
26079
01f49f59
JT
260802012-09-05 John Tobey <john.tobey@gmail.com>
26081
26082 [BZ #13542]
26083 * manual/arith.texi (Operations on Complex): Fix description
26084 of carg branch cut.
26085
4c23fed5
JM
260862012-09-06 Joseph Myers <joseph@codesourcery.com>
26087
1d3c8572
JM
26088 [BZ #10014]
26089 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26090 host name.
26091
4c23fed5
JM
26092 [BZ #10038]
26093 * manual/memory.texi (Memory): Make order of menu items match
26094 order of sections.
26095
04570aaa
L
260962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26097
26098 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26099 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26100 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26101
b80af2f4
L
261022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26103
26104 * csu/libc-tls.c (static_dtv): Renamed to ...
26105 (_dl_static_dtv): This. Make it global.
26106 (_dl_initial_dtv): Removed.
26107 (__libc_setup_tls): Updated.
26108 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26109 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26110 DL_INITIAL_DTV.
26111
2abe9f15
PM
261122012-09-06 Petr Machata <pmachata@redhat.com>
26113
26114 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26115 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26116 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26117 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26118
0948c3af
L
261192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26120
26121 [BZ #14545]
26122 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26123 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26124 freeing dtv[-1].
26125
a5055ad1
L
261262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 [BZ #14544]
26129 * Makeconfig (link-static-before-libc): Replace $(+prector)
26130 with $(+prectorT).
26131 (link-static-after-libc): Replace $(+postctor) with
26132 $(+postctorT).
26133 (link-bounded): Replace $(+prector)/$(+postctor) with
26134 $(+prectorT)/$(+postctorT).
26135 (+prectorT): New macro.
26136 (+postctorT): Likewise.
26137
ed8c2ecd
JM
261382012-09-06 Joseph Myers <joseph@codesourcery.com>
26139
26140 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26141 (round_str): Handle values above the maximum for IBM long double
26142 as inexact.
26143 * stdlib/tst-strtod-round.c (tests): Regenerated.
26144
14c996c8
AK
261452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26146
26147 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26148 assembler flag.
26149 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26150 zarch_nohighgprs around the zarch optimized routines.
26151 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26152 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26153 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26154 for zarch.
26155
430d6ce6
DM
261562012-09-05 David S. Miller <davem@davemloft.net>
26157
26158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26159
57f41c40
AS
26160 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26161 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26162 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26163 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26164 entries.
26165
24d4e01b
AO
261662012-09-05 Alexandre Oliva <aoliva@redhat.com>
26167
26168 * malloc/arena.c: Fold copyright years.
26169 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26170
61d58174
AO
261712012-09-05 Alexandre Oliva <aoliva@redhat.com>
26172
26173 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26174
20196a5e
AO
261752012-09-05 Alexandre Oliva <aoliva@redhat.com>
26176
26177 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26178
5c447383
AO
261792012-09-05 Alexandre Oliva <aoliva@redhat.com>
26180
26181 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26182 change internal state upon failure.
26183
fad64255
AO
261842012-09-05 Alexandre Oliva <aoliva@redhat.com>
26185
26186 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26187 * malloc/memusage.c (mmap): Likewise.
26188 (mmap64, mremap): Likewise. Adjust name in comment.
26189
1ffb8c90
SP
261902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26191
26192 * libio/fileops.c: Fix typos in comments.
26193 * libio/oldfileops.c: Likewise.
26194 * libio/wfileops.c: Likewise.
26195
6ef9cc37
SP
261962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26197
26198 [BZ #1349]
26199 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26200 (tst-malloc-usable-ENV): Set environment for test case.
26201 * malloc/hooks.c (malloc_check_get_size): New function to get
26202 requested size.
26203 * malloc/malloc.c (musable): Use malloc_check_get_size.
26204 * malloc/tst-malloc-usable.c: New test case.
26205
4d038ae3
AS
262062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26207
26208 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26209
c4e85184
AM
262102012-09-05 Allan McRae <allan@archlinux.org>
26211
b9dafc56 26212 [BZ #13966]
c4e85184
AM
26213 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26214 determine header location.
26215 * configure: Regenerated.
26216
e1343020
AS
262172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26218
26219 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26220 float format.
26221 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26222 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26223 format.
e1343020
AS
26224 (test): Regenerate.
26225
0a9f1987
DM
262262012-09-04 David S. Miller <davem@davemloft.net>
26227
26228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26231
29237804
FW
262322012-09-04 Florian Weimer <fweimer@redhat.com>
26233
26234 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26235 failures.
26236
edb3cb88
FW
26237 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26238
60160d83
JM
262392012-09-04 Joseph Myers <joseph@codesourcery.com>
26240
26241 [BZ #9914]
26242 * libio/iogetdelim.c: Include <limits.h>.
26243 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26244 + len + 1 would overflow.
26245
bcd6c8dc
AJ
262462012-09-03 Andreas Jaeger <aj@suse.de>
26247
26248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26249 * sysdeps/i386/fpu/libm-test-ulps: Update.
26250
4ffffbd2
LD
262512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26252
26253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26254 Add s_sinf-sse2, s_conf-sse2.
26255
26256 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26257 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26258 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26259 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26260
26261 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26262 for using routine as __sinf_ia32.
26263 Use macro for function declaration and weak_alias.
26264 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26265 for using routine as __cosf_ia32.
26266 Use macro for function declaration and weak_alias.
26267
26268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26269 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26270
26271 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26272 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26274
26275 * math/libm-test.inc (cos_test): Add more test cases.
26276 (sin_test): Likewise.
26277 (sincos_test): Likewise.
26278
511fa286
AK
262792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26280
26281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26282 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26283 hidden.
26284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26285
5f30cfec
L
262862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26287
26288 [BZ #14538]
26289 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26290 first element of the GOT.
26291 (elf_machine_load_address): Return the difference between
26292 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26293
0786794f
AM
262942012-09-01 Allan McRae <allan@archlinux.org>
26295
5f30cfec
L
26296 [BZ #13412]
26297 * configure.in (AWK): Require gawk version 3.0 or later.
26298 * configure: Regenerated.
0786794f 26299
26889eac
JM
263002012-09-01 Joseph Myers <joseph@codesourcery.com>
26301
26302 * sysdeps/unix/sysv/linux/kernel-features.h
26303 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26305 [__NR_clock_getres]: Make code unconditional.
26306 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26307 (clock_getcpuclockid): Remove code left unreachable by removal of
26308 conditionals.
26309 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26310 code unconditional.
26311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26313 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26314 Make code unconditional.
26315 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26317 * sysdeps/unix/sysv/linux/clock_settime.c
26318 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26319 conditional code.
26320 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26322
d22e28b0
L
263232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26324
26325 [BZ #14476]
26326 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26327 scripts/test-installation.pl.
26328
26329 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26330 and $ld_so_version if it is set.
26331
050af9c4
SP
263322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26333
26334 [BZ #14516]
26335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26336 failure if reading from procfs failed.
26337 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26338
ad845c0b
JM
263392012-08-27 Joseph Myers <joseph@codesourcery.com>
26340
26341 * sysdeps/unix/sysv/linux/kernel-features.h
26342 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26343 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26344 Remove conditional code.
26345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26346 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26347 Remove conditional code.
26348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26349 * sysdeps/unix/sysv/linux/i386/fxstat.c
26350 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26352 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26353 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26355 * sysdeps/unix/sysv/linux/i386/lxstat.c
26356 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26358 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26359 Remove conditional code.
26360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26361 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26362 Remove conditional code.
26363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26364 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26365 <kernel-features.h>.
26366 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26367 Remove.
26368 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26369 Remove conditional code.
26370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26371 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26372 Remove conditional.
26373
5dbf56af
MF
263742012-08-27 Mike Frysinger <vapier@gentoo.org>
26375
26376 [BZ #5400]
26377 * NEWS: Add fixed bug number.
26378
d6e70f43
JM
263792012-08-27 Joseph Myers <joseph@codesourcery.com>
26380
7efb4737
JM
26381 [BZ #14519]
26382 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26383 underflowing exponent in case of negative sign.
26384 * stdlib/tst-strtod-round-data: Add more tests.
26385 * stdlib/tst-strtod-round.c (tests): Regenerated.
26386
af92131a
JM
26387 [BZ #3479]
26388 * stdlib/strtod_l.c (NDIG): Remove.
26389 (HEXNDIG): Likewise.
26390 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26391 smallest representable value.
26392 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26393 lie within an exact representation of 1/2 ulp of the result.
26394 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26395 unconditionally.
26396 (TENS_P9_IDX): Define unconditionally.
26397 (TENS_P9_SIZE): Likewise.
26398 (TENS_P10_IDX): Likewise.
26399 (TENS_P10_SIZE): Likewise.
26400 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26401 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26403 entries for 10^2^13 and 10^2^14.
26404 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26405 (TENS_P13_IDX): Define.
26406 (TENS_P13_SIZE): Likewise.
26407 (TENS_P14_IDX): Likewise.
26408 (TENS_P14_SIZE): Likewise.
26409 (_fpioconst_pow10): Change array size to
26410 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26411 unconditional.
26412 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26413 1024]: Add entries for 10^2^13 and 10^2^14.
26414 [LAST_POW10 > _LAST_POW10]: Remove #error.
26415 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26416 (_fpioconst_pow10): Change array size to
26417 FPIOCONST_POW10_ARRAY_SIZE.
26418 * stdlib/gen-fpioconst.c: New file.
26419 * stdlib/gen-tst-strtod-round.c: Likewise.
26420 * stdlib/tst-strtod-round-data: Likewise.
26421 * stdlib/tst-strtod-round.c: Likewise.
26422 * stdlib/Makefile (tests): Add tst-strtod-round.
26423
d6e70f43
JM
26424 [BZ #14459]
26425 * stdlib/strtod_l.c: Include <stdint.h>.
26426 (NDEBUG): Do not define.
26427 (round_and_return): Change EXPONENT parameter to type intmax_t.
26428 Rearrange calculations to avoid internal overflow possibilities.
26429 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26430 Rearrange calculations to avoid internal overflow possibilities.
26431 Assert that number fits inside MPNSIZE limbs.
26432 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26433 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26434 calculations and add assertions to avoid internal overflow
26435 possibilities. Add casts to avoid signed/unsigned operations.
26436 * stdlib/tst-strtod-overflow.c: New file.
26437 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26438
1f529f7d
MP
264392012-08-25 Marek Polacek <polacek@redhat.com>
26440
26441 * time/time.h: Fix some typos in comments.
26442
59a629f1
RM
264432012-08-23 Roland McGrath <roland@hack.frob.com>
26444
26445 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26446 * posix/tst-rfc3484-2.c: Likewise.
26447 * posix/tst-rfc3484-3.c: Likewise.
26448
d3bafbc9
SM
264492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26450
26451 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26452 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26453
4efcc022
JM
264542012-08-23 Joseph Myers <joseph@codesourcery.com>
26455
26456 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26457 #include of fxstatat64.c.
26458
3cc3ef96
RM
264592012-08-22 Roland McGrath <roland@hack.frob.com>
26460
f04e2132
RM
26461 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26462 * shadow/getspent_r.c: Likewise.
26463 * shadow/getspnam.c: Likewise.
26464 * shadow/getspnam_r.c: Likewise.
26465 * gshadow/getsgent.c: Likewise.
26466 * gshadow/getsgent_r.c: Likewise.
26467 * gshadow/getsgnam.c: Likewise.
26468 * gshadow/getsgnam_r.c: Likewise.
26469 * inet/getnetbyad.c: Likewise.
26470 * inet/getnetbyad_r.c: Likewise.
26471 * inet/getnetbynm.c: Likewise.
26472 * inet/getnetbynm_r.c: Likewise.
26473 * inet/getnetent.c: Likewise.
26474 * inet/getnetent_r.c: Likewise.
26475 * inet/getproto.c: Likewise.
26476 * inet/getproto_r.c: Likewise.
26477 * inet/getprtent.c: Likewise.
26478 * inet/getprtent_r.c: Likewise.
26479 * inet/getprtname.c: Likewise.
26480 * inet/getprtname_r.c: Likewise.
26481 * inet/getrpcbyname.c: Likewise.
26482 * inet/getrpcbyname_r.c: Likewise.
26483 * inet/getrpcbynumber.c: Likewise.
26484 * inet/getrpcbynumber_r.c: Likewise.
26485 * inet/getrpcent.c: Likewise.
26486 * inet/getrpcent_r.c: Likewise.
26487 * inet/getaliasent.c: Likewise.
26488 * inet/getaliasent_r.c: Likewise.
26489 * inet/getaliasname.c: Likewise.
26490 * inet/getaliasname_r.c: Likewise.
26491 * nscd/getgrgid_r.c: Likewise.
26492 * nscd/getgrnam_r.c: Likewise.
26493 * nscd/gethstbyad_r.c: Likewise.
26494 * nscd/gethstbynm3_r.c: Likewise.
26495 * nscd/getpwnam_r.c: Likewise.
26496 * nscd/getpwuid_r.c: Likewise.
26497 * nscd/getsrvbynm_r.c: Likewise.
26498 * nscd/getsrvbypt_r.c: Likewise.
26499 * nscd/gai.c: Likewise.
26500
c53d909c
RM
26501 * configure.in (build_nscd): New substituted variable, set
26502 by --disable-build-nscd and defaults to $use_nscd.
26503 * configure: Regenerated.
26504 * config.make.in (build-nscd): New substituted variable.
26505 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26506 Change conditional to require [$(build-nscd) = yes] as well.
26507 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26508
3cc3ef96
RM
26509 [BZ# 13696]
26510 * configure.in (use_nscd): New substituted variable, set by
26511 --disable-nscd. If enabled, define USE_NSCD.
26512 * configure: Regenerated.
26513 * config.h.in: Add USE_NSCD.
26514 * config.make.in (use-nscd): New substituted variable.
26515 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26516 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26517 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26518 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26519 (CFLAGS-getgrnam_r.c): Likewise.
26520 (CFLAGS-initgroups.c): Likewise.
26521 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26522 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26523 Variables removed.
26524 * inet/getnetgrent_r.c
26525 (nscd_setnetgrent): New function, broken out of ...
26526 (setnetgrent): ... here. Call it.
26527 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26528 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26529 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26530 * nscd/Makefile (routines, aux): Move definitions after include of
26531 Makeconfig. Conditionalize on [$(use-nscd) != no].
26532 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26533 Conditionalize on [USE_NSCD].
26534 (is_nscd, nscd_init_cb): Likewise.
26535 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26536 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26537 * nss/nss_db/db-init.c: Likewise.
26538 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26539 [USE_NSCD].
26540 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26541 (make_request): Use it.
26542 (cache_valid_p): New function.
26543 (__check_pf): Use it.
26544 * NEWS: Add item for --disable-nscd.
26545
07e51550
DL
265462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26547
26548 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26549 to support sed >= 4.2.1-20-ga9bf076.
26550 * configure: Regenerated.
26551
35a5b08b
RM
265522012-08-22 Roland McGrath <roland@hack.frob.com>
26553
26554 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26555 Conditionalize whole body on [IREL].
26556
8479f23a
JL
265572012-08-22 Jeff Law <law@redhat.com>
26558
26559 [BZ #14505]
26560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26561 if the family is PF_UNSPEC.
26562
48da0b21
MF
265632012-08-22 Mike Frysinger <vapier@gentoo.org>
26564
26565 * Makerules (lib-version): Rename from V.
26566 (install-lib-nosubdir): Change V to lib-version.
26567
15d0da8c
WS
265682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26569
26570 [BZ #14252]
26571 * powerpc32/power6/wcschr.c: New file.
26572 * powerpc32/power6/wcscpy.c: New file.
26573 * powerpc32/power6/wcsrchr.c: New file.
26574 * powerpc64/power6/wcschr.c: New file.
26575 * powerpc64/power6/wcscpy.c: New file.
26576 * powerpc64/power6/wcsrchr.c: New file.
26577
bcca0895
MK
265782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26579
26580 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26581 (two_way_short_needle): Use it.
5a4aaa33
RM
26582 * string/strstr.c (AVAILABLE1_USES_J): Define.
26583 * string/strcasestr.c: Likewise.
99677e57
MK
26584
26585 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26586 array references.
26587 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26588
400726de
MK
26589 [BZ #11607]
26590 * NEWS: Add an entry.
26591 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26592 define their defaults.
26593 (two_way_short_needle): Detect end-of-string on-the-fly.
26594 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26595 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26596 * string/bug-strcasestr1.c: New test.
26597 * string/Makefile: Run it.
26598
20a71f2c
MK
265992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26600
26601 [BZ #11607]
26602 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26603 the first character.
26604
21ad0558
RM
266052012-08-21 Roland McGrath <roland@hack.frob.com>
26606
26607 * csu/elf-init.c (__libc_csu_irel): Function removed.
26608 * csu/libc-start.c (apply_irel): New function.
26609 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26610
0e1d9911
JM
266112012-08-21 Joseph Myers <joseph@codesourcery.com>
26612
26613 * sysdeps/unix/sysv/linux/kernel-features.h
26614 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26615 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26616 <kernel-features.h>.
26617 [__NR_fadvise64_64]: Make code unconditional.
26618 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26619 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26620 !__NR_fadvise64_64)]: Likewise.
26621 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26622 !__NR_fadvise64_64))]: Likewise.
26623 [__NR_fadvise64]: Make code unconditional.
26624 [!__NR_fadvise64]: Remove conditional code.
26625 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26626 <kernel-features.h>.
26627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26628 unconditional.
26629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26630 conditional code.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26632 not include <kernel-features.h>.
26633 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26634 unconditional.
26635 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26636 conditional code.
26637 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26638 include <kernel-features.h>.
26639 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26640 unconditional.
26641 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26642 conditional code.
26643
14a50c9d
WS
266442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26645
26646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26647 slight instruction rearrangements per scrollpipe analysis.
26648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26649
c0f4faf0
RM
266502012-08-20 Roland McGrath <roland@hack.frob.com>
26651
696da859
RM
26652 * manual/syslog.texi (syslog; vsyslog, closelog):
26653 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26654 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26655
c0f4faf0
RM
26656 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26657 DSOCAPS to match condition on defining it.
26658
348363b2
JM
266592012-08-20 Joseph Myers <joseph@codesourcery.com>
26660
a35cbf28
JM
26661 * sysdeps/unix/sysv/linux/kernel-features.h
26662 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26664 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26665 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26667 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26668 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26670 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26671 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26672
445f7ecd
JM
26673 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26674 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26675
348363b2
JM
26676 * sysdeps/unix/sysv/linux/kernel-features.h
26677 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26678 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26679 unconditional.
26680 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26681 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26684 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26685 Make code unconditional.
26686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26687 (__mmap64) [!__NR_mmap2]: Likewise.
26688 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26691 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26692 [__NR_mmap2]: Make code unconditional.
26693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26694 (__mmap64) [!__NR_mmap2]: Likewise.
26695
bc5bc0e5
AK
266962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26697
26698 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26699
88d506de
AJ
267002012-08-18 Andreas Jaeger <aj@suse.de>
26701
26702 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26703
493387d2
MF
267042012-08-18 Mike Frysinger <vapier@gentoo.org>
26705
26706 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26707 * include/unistd.h (__have_sock_cloexec): Likewise.
26708 (__have_pipe2): Likewise.
26709 (__have_dup3): Likewise.
26710
a277af22
MF
267112012-08-18 Mike Frysinger <vapier@gentoo.org>
26712
26713 [BZ #9685]
26714 * include/unistd.h (__have_pipe2): Change define into an extern int.
26715 (__have_dup3): Likewise.
26716 * socket/have_sock_cloexec.c: Include fcntl.h.
26717 (__have_pipe2): New variable.
26718 (__have_dup3): Likewise.
26719
fdab8fd3
MF
267202012-08-17 Mike Frysinger <vapier@gentoo.org>
26721
26722 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26723
31035e80
MP
267242012-08-17 Marek Polacek <polacek@redhat.com>
26725
26726 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26727 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26728
3bd9e993
RM
267292012-08-17 Roland McGrath <roland@hack.frob.com>
26730
c91c505f
RM
26731 * configure.in: Add AC_SUBST for sysheaders.
26732 * configure: Regenerated.
26733 * config.make.in (sysheaders): New substituted variable.
26734
7c6f9d53
RM
26735 * sysdeps/unix/mkfifo.c: Moved ...
26736 * sysdeps/posix/mkfifo.c: ... here.
26737 * sysdeps/unix/mkfifoat.c: Moved ...
26738 * sysdeps/posix/mkfifoat.c: ... here.
26739
26740 * sysdeps/unix/utime.c: Moved ...
26741 * sysdeps/posix/utime.c: ... here.
26742
26743 * sysdeps/unix/time.c: Moved ...
26744 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26745 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26746 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26747
26748 * sysdeps/unix/nice.c: Moved ...
26749 * sysdeps/posix/nice.c: ... here.
26750
26751 * sysdeps/unix/alarm.c: Moved ...
26752 * sysdeps/posix/alarm.c: ... here.
26753
3bd9e993
RM
26754 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26755
d1f09384
JL
267562012-08-17 Jeff Law <law@redhat.com>
26757
26758 * intl/Makefile (codeset_mo): New variable.
26759 ($(codeset_mo)): New target.
26760 (tst-codeset.out): Depend on that. Remove explicit rule.
26761 (tst-gettext3.out, tst-gettext5.out): Likewise.
26762 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26763 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26764 * intl/tst-codeset.sh: Remove.
26765 * intl/tst-gettext3.sh: Likewise.
26766 * intl/tst-gettext5.sh: Likewise.
26767
2ae1ae5c
RM
267682012-08-17 Roland McGrath <roland@hack.frob.com>
26769
c31fdb83
RM
26770 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26771 * sysdeps/unix/syscalls.list: ... here.
26772
a0844057
RM
26773 * sysdeps/posix/getaddrinfo.c
26774 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26775 (gaiconf_init, gaiconf_reload): Use them.
26776 [!_STATBUF_ST_NSEC]
26777 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26778 Define using time_t rather than struct timespec.
26779
750c1f2a
RM
26780 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26781 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26782 Macros removed.
26783 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26784 [!NO_THREADS].
26785 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26786 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26787 Likewise.
26788
2ae1ae5c
RM
26789 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26790 __libc_cleanup_push argument.
26791
e66a42f5
RM
26792 * bits/param.h: New file.
26793 * misc/sys/param.h: New file.
26794 * include/sys/param.h: New file.
26795 * misc/Makefile (headers): Add bits/param.h.
26796 * sysdeps/generic/sys/param.h: File removed.
26797 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26798 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26799 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26800 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26801
b7c08a66
RM
26802 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26803 last change.
26804
b2e1c562
RM
26805 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26806 [_IO_MTSAFE_IO].
26807 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26808 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26809 New macros.
26810
c75ccd4c
RM
26811 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26812 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26813 rather than -D_IO_MTSAFE_IO conditionally.
26814 * stdio-common/Makefile (CPPFLAGS): Likewise.
26815 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26816 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26817 Use $(libio-mtsafe).
26818 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26819 of -D_IO_MTSAFE_IO.
26820 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26821 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26822 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26823 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26824 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26825 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26826 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26827 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26828 (CFLAGS-fread_u_chk.c): Likewise.
26829 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26830 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26831 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26832 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26833 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26834 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26835 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26836 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26837 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26838
26839 * libio/Makefile: Test [$(libc-reentrant) = yes]
26840 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26841
26842 * Makeconfig
26843 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26844 * sysdeps/pthread/configure: File removed.
26845 * sysdeps/pthread/Makeconfig: New file.
26846 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26847 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26848
d9195db8
GB
268492012-08-16 Gary Benson <gbenson@redhat.com>
26850
26851 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26852 unmapping the first object in a namespace.
26853
86466cd9
RM
268542012-08-16 Roland McGrath <roland@hack.frob.com>
26855
26856 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26857 (__internal_setnetgrent): ... this. Add internal_function to
26858 definition. Add libc_hidden_def.
26859 (setnetgrent): Update caller.
26860 (internal_endnetgrent): Renamed to ...
26861 (__internal_endnetgrent): ... this. Add internal_function to
26862 definition. Add libc_hidden_def.
26863 (endnetgrent): Update caller.
26864 (internal_getnetgrent_r): Renamed to ...
26865 (__internal_getnetgrent_r): ... this. Add internal_function to
26866 definition. Add libc_hidden_def.
26867 (__getnetgrent_r): Update caller.
26868 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26869
c3c8283c
JM
268702012-08-16 Joseph Myers <joseph@codesourcery.com>
26871
26872 * stdlib/longlong.h: Update from GCC.
26873
db1ee0a8
RM
268742012-08-16 Roland McGrath <roland@hack.frob.com>
26875
26876 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26877 on _QL, which is set by umul_ppmm but never used.
26878 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26879 variables, which are set by GMP macros but never used.
26880 * stdio-common/_itowa.c (_itowa): Likewise.
26881 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26882 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26883
30f69637
CD
268842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26885
26886 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26887 struct La_sh_regs is not constant.
26888 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26889 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26890 and struct La_sparc64_regs are not constant.
26891
93a78ac4
JM
268922012-08-16 Joseph Myers <joseph@codesourcery.com>
26893
26894 * sysdeps/unix/sysv/linux/kernel-features.h
26895 (__ASSUME_POSIX_TIMERS): Remove.
26896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26898 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26899 Make code unconditional.
26900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26901 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26902 Make code unconditional.
26903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26904 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26905 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26907 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26908 Make code unconditional.
26909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26910 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26911 (__libc_missing_posix_timers): Remove.
26912
dd924cd7
RM
269132012-08-15 Roland McGrath <roland@hack.frob.com>
26914
4b4f2771
RM
26915 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26916 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26917
601c888b
RM
26918 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26919
176790a7
RM
26920 * elf/dl-sym.c: Include <stdlib.h>.
26921
329bc018
RM
26922 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26923 constants, which avoids warnings in 32-bit builds.
26924
e04e272d
RM
26925 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26926 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26927
952bf94a
RM
26928 * misc/lseek.c: File moved to ...
26929 * io/lseek.c: ... here.
26930
7c99b50a
RM
26931 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26932
dd924cd7
RM
26933 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26934 shifting LEN more than 31 bits at once.
26935
b3f479a8
LD
269362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26937
26938 [BZ #14195]
8c4ae0d4
RM
26939 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26940 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26941 * string/test-strncasecmp.c (check1): Renamed to...
26942 (bz12205): ...this.
26943 (bz14195): Add new testcase for two empty input strings and N > 0.
26944 (test_main): Call new testcase, adapt for renamed function.
26945
9c55864e
AJ
269462012-08-15 Andreas Jaeger <aj@suse.de>
26947
26948 [BZ #14090]
26949 * crypt/md5test2.c: New test, based on test supplied by Serge
26950 Belyshev <belyshev@depni.sinp.msu.ru>.
26951 * crypt/Makefile (xtests): Add md5test-giant..
26952 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26953
02dcb6c5
PE
269542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26955
26956 [BZ #14090]
26957 * crypt/md5.c (md5_process_block): Don't assume the buffer
26958 length is less than 2**32.
26959 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26960 length is less than 2**64.
26961
a3f95dcc
RM
269622012-08-15 Roland McGrath <roland@hack.frob.com>
26963
be75d758
RM
26964 * string/str-two-way.h: Include <sys/param.h>.
26965 (MAX): Macro removed.
26966
7312ca90
RM
26967 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26968 Move #define and #undef of memmove to just before and after
26969 including <string.h>.
26970
9a0a5486
RM
26971 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26972 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26973 and after including <string.h>. Move declarations of
26974 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26975 to before #include "string/memmove.c".
26976
67cc348d
RM
26977 * include/dirent.h: Declare __getdirentries.
26978
a3f95dcc
RM
26979 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26980 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26981
ca98e171
MF
269822012-08-14 Mike Frysinger <vapier@gentoo.org>
26983
26984 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26985 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26986 * sysdeps/i386/configure: Regenerated.
26987 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26988 STABS_CURRENT_FILE, and STABS_FUN.
26989 (END): Remove call to STABS_FUN_END.
26990 (STABS_CURRENT_FILE1): Delete.
26991 (STABS_CURRENT_FILE): Likewise.
26992 (STABS_FUN): Likewise.
26993 (STABS_FUN_END): Likewise.
26994 (STABS_FUN2): Likewise.
26995 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26996 * sysdeps/x86_64/configure: Regenerated.
26997
5908bf46
RM
269982012-08-14 Roland McGrath <roland@hack.frob.com>
26999
27000 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27001 * elf/dl-lookup.c: Likewise.
5908bf46 27002
f2c05b9e
JM
270032012-08-14 Joseph Myers <joseph@codesourcery.com>
27004
27005 * sysdeps/unix/sysv/linux/kernel-features.h
27006 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27007 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27008 unconditionally.
27009 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27010 unconditionally.
27011 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27012 condition on __ASSUME_CLONE_THREAD_FLAGS.
27013
e11f5155
AJ
270142012-08-14 Andreas Jaeger <aj@suse.de>
27015
27016 * sysdeps/i386/fpu/libm-test-ulps: Update.
27017
51a9ba86
MK
270182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27019
2fdd4f78
AJ
27020 * include/atomic.h (atomic_exchange_and_add): Split into ...
27021 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27022 New atomic macros.
51a9ba86 27023
ba6cba9e
MT
270242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27025
27026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27027
42443a47
JL
270282012-08-13 Jeff Law <law@redhat.com>
27029
27030 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27031 null byte in the output string.
27032
121dce05
JM
270332012-08-10 Joseph Myers <joseph@codesourcery.com>
27034
27035 * sysdeps/unix/sysv/linux/kernel-features.h
27036 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27037 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27038 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27040 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27041 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27042 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27043
bf51f568
JL
270442012-08-09 Jeff Law <law@redhat.com>
27045
27046 [BZ #13939]
27047 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27048 When avoid_arena is set, don't retry in the that arena. Pick the
27049 next one, whatever it might be.
27050 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27051 (arena_lock): Pass in new parameter to arena_get2.
27052 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27053 arena_get2.
27054 (__libc_malloc): Unify retrying after main arena failure with
27055 __libc_memalign version.
27056 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27057
f85fa270
L
270582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27059
27060 [BZ #14166]
27061 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27062 to __redirect_strstr.
27063 (__strstr_sse42): Use typeof __redirect_strstr.
27064 (__strstr_ia32): Likewise.
27065 (__libc_strstr): New prototype.
27066 (strstr): Renamed to ...
27067 (__libc_strstr): This.
27068 (strstr): New strong alias of __libc_strstr.
27069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27070 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27071 __redirect_time.
27072 Include <time.h>.
27073 (__libc_time): New prototype.
27074 (time_ifunc): Replace time with __libc_time.
27075 (time): New strong alias and hidden definition of __libc_time.
27076 (__GI_time): Remove strong alias.
27077 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27078 Include <stddef.h>.
27079 (memmove): Redefined to __redirect_memmove.
27080 (__memmove_sse2): Use typeof __redirect_memmove.
27081 (__memmove_ssse3): Likewise.
27082 (__memmove_ssse3_back): Likewise.
27083 (__libc_memmove): New prototype.
27084 (memmove): Renamed to ...
27085 (__libc_memmove): This.
27086 (memmove): New strong alias of __libc_memmove.
27087
33b4a91e
MS
270882012-08-08 Mark Salter <msalter@redhat.com>
27089
27090 * elf/elf.h
27091 (R_MN10300_TLS_GD): Define.
27092 (R_MN10300_TLS_LD): Likewise.
27093 (R_MN10300_TLS_LDO): Likewise.
27094 (R_MN10300_TLS_GOTIE): Likewise.
27095 (R_MN10300_TLS_IE): Likewise.
27096 (R_MN10300_TLS_LE): Likewise.
27097 (R_MN10300_TLS_DTPMOD): Likewise.
27098 (R_MN10300_TLS_DTPOFF): Likewise.
27099 (R_MN10300_TLS_TPOFF): Likewise.
27100 (R_MN10300_SYM_DIFF): Likewise.
27101 (R_MN10300_ALIGN): Likewise.
27102 (R_MN10300_NUM): Update.
27103
b36137f1
JM
271042012-08-08 Joseph Myers <joseph@codesourcery.com>
27105
27106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27107 Remove.
27108
cdd915fd
RM
271092012-08-08 Roland McGrath <roland@hack.frob.com>
27110
a2433aac
RM
27111 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27112
cdd915fd
RM
27113 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27114 sysdeps/unix -> sysdeps/posix move.
27115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27116
bf9b740a
AM
271172012-08-07 Allan McRae <allan@archlinux.org>
27118
27119 [BZ #14303]
27120 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27121 (SUNOS_CPP): Likewise.
27122 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27123 not found.
27124 (open_input): Call CPP using execvp.
27125
93df14ee
JM
271262012-08-07 Joseph Myers <joseph@codesourcery.com>
27127
27128 * sysdeps/unix/sysv/linux/kernel-features.h
27129 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27130 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27131 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27132 (__ASSUME_WAITID_SYSCALL): Likewise.
27133 * sysdeps/unix/sysv/linux/dl-execstack.c
27134 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27135 code unconditional.
27136 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27137 conditional code.
27138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27139 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27140 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27141 code.
27142 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27143 unconditional.
27144 [__ASSUME_WAITID_SYSCALL]: Likewise.
27145 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27146
d34689de
RM
271472012-08-07 Roland McGrath <roland@hack.frob.com>
27148
a281decc
RM
27149 * sysdeps/unix/closedir.c: Renamed to ...
27150 * sysdeps/posix/closedir.c: ... here.
27151 * sysdeps/unix/dirfd.c: Renamed to ...
27152 * sysdeps/posix/dirfd.c: ... here.
27153 * sysdeps/unix/dirstream.h: Renamed to ...
27154 * sysdeps/posix/dirstream.h: ... here.
27155 * sysdeps/unix/fdopendir.c: Renamed to ...
27156 * sysdeps/posix/fdopendir.c: ... here.
27157 * sysdeps/unix/opendir.c: Renamed to ...
27158 * sysdeps/posix/opendir.c: ... here.
27159 * sysdeps/unix/readdir.c: Renamed to ...
27160 * sysdeps/posix/readdir.c: ... here.
27161 * sysdeps/unix/readdir_r.c: Renamed to ...
27162 * sysdeps/posix/readdir_r.c: ... here.
27163 * sysdeps/unix/rewinddir.c: Renamed to ...
27164 * sysdeps/posix/rewinddir.c: ... here.
27165 * sysdeps/unix/seekdir.c: Renamed to ...
27166 * sysdeps/posix/seekdir.c: ... here.
27167 * sysdeps/unix/telldir.c: Renamed to ...
27168 * sysdeps/posix/telldir.c: ... here.
27169 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27170 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27171 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27172 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27173
22895b47
RM
27174 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27175 * bits/fcntl.h: ... here.
27176
707a53b6
RM
27177 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27178 not 0.
27179 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27180 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27181 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27182 (struct flock): Move l_start, l_len to the beginning.
27183 Use __pid_t for l_pid.
27184 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27185 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27186 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27187 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27188 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27189 [__USE_LARGEFILE64] (struct flock64): New type.
27190 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27191
f0bd3e25
RM
27192 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27193 * bits/dirent.h: ... here.
27194
d34689de
RM
27195 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27196 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27197
6dad2c06
JM
271982012-08-07 Joseph Myers <joseph@codesourcery.com>
27199
27200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27201 Change from 2.6.0 to 2.6.16.
27202 * sysdeps/unix/sysv/linux/configure: Regenerated.
27203 * sysdeps/unix/sysv/linux/kernel-features.h
27204 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27205 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27206 version.
27207 (__ASSUME_UTIMES): Likewise.
27208 (__ASSUME_CLONE_STOPPED): Remove.
27209 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27210 architectures, not kernel version.
27211 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27212 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27213 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27214 (__ASSUME_WAITID_SYSCALL): Likewise.
27215 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27216 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27217 * README: State 2.6.16 as minimum Linux kernel version. Do not
27218 refer to older versions.
27219
03af9520
RM
272202012-08-06 Roland McGrath <roland@hack.frob.com>
27221
8e49df1d
RM
27222 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27223 Define alphasort64 as an alias.
27224 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27225 Define versionsort64 as an alias.
27226 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27227 Define scandir64 as an alias.
27228 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27229 Define scandirat64 as an alias.
27230 * dirent/alphasort64.c (alphasort64):
27231 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27232 * dirent/versionsort64.c: Likewise.
27233 * dirent/scandir64.c: Likewise.
27234 * dirent/scandirat64.c: Likewise.
27235 * sysdeps/wordsize-64/alphasort.c: File removed.
27236 * sysdeps/wordsize-64/alphasort64.c: File removed.
27237 * sysdeps/wordsize-64/scandir.c: File removed.
27238 * sysdeps/wordsize-64/scandir64.c: File removed.
27239 * sysdeps/wordsize-64/scandirat.c: File removed.
27240 * sysdeps/wordsize-64/scandirat64.c: File removed.
27241 * sysdeps/wordsize-64/versionsort.c: File removed.
27242 * sysdeps/wordsize-64/versionsort64.c: File removed.
27243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27251
27252 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27254 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27256 [defined __arch64__ || defined __sparcv9]
27257 (__INO_T_MATCHES_INO64_T): New macro.
27258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27259 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27260 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27261 * sysdeps/unix/sysv/linux/bits/dirent.h
27262 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27263 (_DIRENT_MATCHES_DIRENT64): New macro.
27264
03af9520
RM
27265 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27266 Define lockf64 as an alias.
27267 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27268 Define fseeko64 as an alias.
27269 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27270 Define ftello64 as an alias.
27271 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27272 Define _IO_fgetpos64 and fgetpos64 as aliases.
27273 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27274 Define _IO_fsetpos64 and fsetpos64 as aliases.
27275 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27276 Conditionalize body on this.
27277 * libio/fseeko64.c: Likewise.
27278 * libio/ftello64.c: Likewise.
27279 * libio/iofgetpos64.c: Likewise.
27280 * libio/iofsetpos64.c: Likewise.
27281 * sysdeps/wordsize-64/lockf.c: File removed.
27282 * sysdeps/wordsize-64/lockf64.c: File removed.
27283 * sysdeps/wordsize-64/fseeko.c: File removed.
27284 * sysdeps/wordsize-64/fseeko64.c: File removed.
27285 * sysdeps/wordsize-64/ftello.c: File removed.
27286 * sysdeps/wordsize-64/ftello64.c: File removed.
27287 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27288 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27289 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27290 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27291 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27292 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27299 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27301
27302 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27304 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27306 [defined __arch64__ || defined __sparcv9]
27307 (__OFF_T_MATCHES_OFF64_T): New macro.
27308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27309 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27311 (__OFF_T_MATCHES_OFF64_T): New macro.
27312
c5757acd
L
273132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27314
27315 * stdlib/secure-getenv.c (__secure_getenv): Replace
27316 GLIBC_2_16 with GLIBC_2_17.
27317
3a31811e
L
273182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27319
27320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27322
faa2bccb
DM
273232012-08-03 David S. Miller <davem@davemloft.net>
27324
27325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27326
85fe1997
JM
273272012-08-03 Joseph Myers <joseph@codesourcery.com>
27328
27329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27330 Remove.
27331 (__ASSUME_CORRECT_SI_PID): Likewise.
27332 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27333 (__ASSUME_TMPFS_NAME): Likewise.
27334 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27335 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27336 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27337 (HAVE_AUX_SECURE): Make definition unconditional.
27338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27339 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27340
4f75b7a0
RM
273412012-08-03 Roland McGrath <roland@hack.frob.com>
27342
27343 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27344 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27345 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27346 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27347 __eloop_threshold instead of SYMLOOP_MAX.
27348
27349 * sysdeps/generic/eloop-threshold.h: New file.
27350 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27351 of MAXSYMLINKS.
27352 * elf/chroot_canon.c (chroot_canon): Likewise.
27353
7aab07e4
JM
273542012-08-03 Joseph Myers <joseph@codesourcery.com>
27355
27356 [BZ #13717]
27357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27358 Change to 2.6.0 everywhere.
27359 * sysdeps/unix/sysv/linux/configure: Regenerated.
27360 * sysdeps/unix/sysv/linux/kernel-features.h
27361 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27362 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27363 kernel versions.
27364 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27365 (__ASSUME_FUTEX_REQUEUE): Remove.
27366 (__ASSUME_STATFS64): Define unconditionally.
27367 (__ASSUME_AT_SECURE): Likewise.
27368 (__ASSUME_CORRECT_SI_PID): Likewise.
27369 (__ASSUME_TGKILL): Define without depending on kernel version for
27370 i386.
27371 (__ASSUME_UTIMES): Likewise.
27372 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27373 kernel version.
27374 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27375 (__ASSUME_TMPFS_NAME): Likewise.
27376 * README: Update reference to Linux kernel versions.
27377
b67e9372
MP
273782012-08-02 Marek Polacek <polacek@redhat.com>
27379
1f529f7d 27380 [BZ# 14150]
b67e9372
MP
27381 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27382 libc_cv_asm_type_prefix with %.
27383 * configure: Regenerated.
d2441631
RM
27384 * include/libc-symbols.h: Remove comment about
27385 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27386 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27387 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27388 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27389 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27390 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27391 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27392 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27393 * elf/tst-unique2mod1.c: Likewise.
27394 * elf/tst-unique1mod2.c: Likewise.
27395 * elf/tst-unique1mod1.c: Likewise.
27396 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27397 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27398 Replace ASM_TYPE_DIRECTIVE with .type.
27399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27400 * sysdeps/i386/sysdep.h: Likewise.
27401 * sysdeps/x86_64/sysdep.h: Likewise.
27402 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27404 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27405 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27406 * sysdeps/powerpc/powerpc32/sysdep.h:
27407 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27408 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27409 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27410 * sysdeps/i386/fpu/e_powf.S: Likewise.
27411 * sysdeps/i386/fpu/e_expl.S: Likewise.
27412 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27413 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27414 * sysdeps/i386/fpu/e_pow.S: Likewise.
27415 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27417 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27418 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27419 * sysdeps/i386/fpu/e_log2.S: Likewise.
27420 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27422 * sysdeps/i386/fpu/e_powl.S: Likewise.
27423 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27424 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27425 * sysdeps/i386/fpu/e_logl.S: Likewise.
27426 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27431 * sysdeps/i386/fpu/e_log.S: Likewise.
27432 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27433 * sysdeps/i386/fpu/e_logf.S: Likewise.
27434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27436 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27437 * sysdeps/i386/fpu/e_log10.S: Likewise.
27438 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27440 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27441 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27444 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27445 * sysdeps/i386/i686/strtok.S: Likewise.
27446 * sysdeps/i386/i386-mcount.S: Likewise.
27447 * sysdeps/i386/strtok.S: Likewise.
27448 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27452 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27453 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27454 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27455 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27457 * sysdeps/x86_64/_mcount.S: Likewise.
27458 * sysdeps/x86_64/strtok.S: Likewise.
27459 * sysdeps/sh/_mcount.S: Likewise.
27460
2747bf9a
RM
274612012-08-01 Roland McGrath <roland@hack.frob.com>
27462
27463 * libio/iofopen.c: Include <fcntl.h>.
27464 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27465 (_IO_fopen64, fopen64): Define as aliases.
27466 * libio/iofopen64.c: Include <fcntl.h>.
27467 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27468 Conditionalize body on this.
27469 * sysdeps/wordsize-64/iofopen.c: File removed.
27470 * sysdeps/wordsize-64/iofopen64.c: File removed.
27471
3fb791b8
MP
274722012-08-01 Marek Polacek <polacek@redhat.com>
27473
27474 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27475 Use dlfcn directly instead of a variable.
27476 (binfmt-subdir): Do not define.
27477 (dlfcn): Likewise.
27478
a9f1039f
JM
274792012-08-01 Joseph Myers <joseph@codesourcery.com>
27480
23bddc06
JM
27481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27482 Remove all definitions.
27483 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27484 <kernel-features.h>.
27485 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27486 (miss_F_GETOWN_EX): Remove all definitions.
27487 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27488 macro definition.
27489 [!__ASSUME_FCNTL64]: Remove conditional code.
27490 [__ASSUME_FCNTL64]: Make code unconditional.
27491 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27492 <kernel-features.h>.
27493 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27494 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27495 (lockf64) [__NR_fcntl64]: Make code unconditional.
27496 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27497
a9f1039f
JM
27498 * sysdeps/unix/sysv/linux/kernel-features.h
27499 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27500 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27501 Make code unconditional.
27502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27505 [__NR_vfork]: Make code unconditional.
27506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27509 [__NR_vfork]: Make code unconditional.
27510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27512
09c0ee5f
RM
275132012-08-01 Roland McGrath <roland@hack.frob.com>
27514
48aec5b9
RM
27515 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27516 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27517
cd97c966
RM
27518 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27519 Define mkstemp64 as an alias.
3f55550c
RM
27520 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27521 Define mkstemps64 as an alias.
cd97c966
RM
27522 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27523 Define mkostemp64 as an alias.
b8625cfc
RM
27524 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27525 Define mkostemps64 as an alias.
cd97c966
RM
27526 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27527 Conditionalize body on this.
27528 * misc/mkostemp64.c: Likewise.
b8625cfc 27529 * misc/mkostemps64.c: Likewise.
3f55550c 27530 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27531 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27532 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27533 * sysdeps/wordsize-64/mkostemp.c: File removed.
27534 * sysdeps/wordsize-64/mkstemp.c: File removed.
27535 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27536 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27538 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27539
09c0ee5f
RM
27540 [BZ #14138]
27541 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27542 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27543 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27544 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27545
27546 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27547 compat_symbol macros from <shlib-compat.h> rather than the underlying
27548 default_symbol_version and symbol_version macros, so that DEFAULT
27549 lines in shlib-versions are respected.
27550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27551
7e66ee51
FW
275522012-08-01 Florian Weimer <fweimer@redhat.com>
27553
27554 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27555 Declare with warn_unused_result.
27556 (setgid, setregid, setegid, setresgid): Likewise.
27557 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27558 Likewise.
27559 * WUR-REPORT: Remove set*id functions.
27560
d2a54255
PT
275612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27562
27563 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27564
7ecdb005
RM
275652012-07-31 Roland McGrath <roland@hack.frob.com>
27566
b4180a5e 27567 [BZ #10191]
789bd351
RM
27568 * include/sys/socket.h (__libc_accept, __libc_accept4):
27569 Add attribute_hidden.
27570 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27571
40ce302d
RM
27572 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27573 use of PTR_MANGLE.
27574 * inet/getnetgrent_r.c (setup): Likewise.
27575
7ecdb005
RM
27576 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27577
e2eabb2c
DM
275782012-07-31 David S. Miller <davem@davemloft.net>
27579
27580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27581
d0419dbf
JM
275822012-07-31 Joseph Myers <joseph@codesourcery.com>
27583
27584 [BZ #13629]
27585 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27586 value between 1.0 and 2.0 and smaller part has absolute value less
27587 than 1.0.
27588 * math/s_clog10.c (__clog10): Likewise.
27589 * math/s_clog10f.c (__clog10f): Likewise.
27590 * math/s_clog10l.c (__clog10l): Likewise.
27591 * math/s_clogf.c (__clogf): Likewise.
27592 * math/s_clogl.c (__clogl): Likewise.
27593 * math/libm-test.inc (clog_test): Add more tests.
27594 (clog10_test): Likewise.
27595 * sysdeps/i386/fpu/libm-test-ulps: Update.
27596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27597
2bc13872
FW
275982012-07-31 Florian Weimer <fweimer@redhat.com>
27599
27600 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27601 Exit with zero in case no suitable GID is found, and write a
27602 message to standard error.
27603
bea9b193
RM
276042012-07-30 Roland McGrath <roland@hack.frob.com>
27605
27606 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27607 rather than to 1.
27608 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27609 (MAXPATHLEN): Removed.
27610 (NOGROUP, NODEV): New macros.
27611 (setbit, clrbit, isset, isclr): New macros.
27612 (howmany, roundup, powerof2): New macros.
27613 (DEV_BSIZE): New macro.
27614
27615 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27616 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27617
27618 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27619 definition on [!__NO_LONG_DOUBLE_MATH].
27620
27621 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27622 PTR_MANGLE and PTR_DEMANGLE.
27623
27624 * socket/accept4.c (accept4): Rename to __libc_accept4.
27625 Define accept4 as a weak alias.
27626
27627 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27628 on [_DIRENT_HAVE_D_TYPE].
27629 * io/ftw.c (ftw_dir): Likewise.
27630
27631 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27632
27633 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27634
27635 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27636 Use the BSD numbers rather than the arbitrary ones we had.
27637 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27638 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27639 (SIGXCPU, SIGXFSZ): New macros.
27640 (_NSIG): Now 32.
27641
27642 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27643 initializer on [_LIBC_REENTRANT].
27644
27645 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27646 definitions inside [_POSIX_MAPPED_FILES].
27647
27648 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27649
27650 * dirent/opendir.c: Include <fcntl.h>.
27651
27652 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27653 (__libc_getspecific): Likewise.
27654 (__libc_key_create): Likewise.
27655
27656 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27657 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27658 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27659 (tmpfile64): Define as alias.
27660 * sysdeps/wordsize-64/tmpfile.c: File removed.
27661 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27664
27665 * stdio-common/vfscanf.c: Include <stdbool.h>.
27666 * nss/makedb.c: Likewise.
27667 * stdio-common/_i18n_number.h: Likewise.
27668 * argp/argp-help.c: Likewise.
27669 * posix/wordexp.c: Likewise.
27670 * sysdeps/posix/spawni.c: Likewise.
27671 * nss/nss_files/files-initgroups.c: Likewise.
27672 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27673 * nss/nss_files/files-initgroups.c: Likewise.
27674 * nss/nss_db/db-netgrp.c: Likewise.
27675 * nss/nss_db/db-initgroups.c: Likewise.
27676 * io/fchmodat.c: Include <sys/stat.h>.
27677
27678 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27679 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27680
27681 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27682 [HAVE_MMAP].
27683
27684 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27685 Add multiple inclusion protection.
27686
e5abc686
DM
276872012-07-27 David S. Miller <davem@davemloft.net>
27688
27689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27690
815e6fa3
GB
276912012-07-27 Gary Benson <gbenson@redhat.com>
27692
27693 [BZ #14298]
27694 * elf/rtld.c: Include <stap-probe.h>.
27695 (dl_main): Added static probes "init_start" and "init_complete".
27696 * elf/dl-load.c: Include <stap-probe.h>.
27697 (lose): Take new parameter "nsid".
27698 Added static probe "map_failed".
27699 (_dl_map_object_from_fd): Pass namespace id to lose.
27700 Added static probe "map_start".
27701 (open_verify): Pass namespace id to lose.
27702 * elf/dl-open.c: Include <stap-probe.h>.
27703 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27704 and "reloc_complete".
27705 * elf/dl-close.c: Include <stap-probe.h>.
27706 (_dl_close_worker): Added static probes "unmap_start" and
27707 "unmap_complete".
27708 * elf/rtld-debugger-interface.txt: New file documenting the above.
27709
9f98c16c
RM
277102012-07-26 Roland McGrath <roland@hack.frob.com>
27711
27712 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27713 rather than a string variable.
27714 * sunrpc/rpc_main.c (h_output): Likewise.
27715 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27716
f3c22df3
PT
277172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27718
27719 * inet/check_native.c: New file.
27720
3129cfc6
JM
277212012-07-26 Joseph Myers <joseph@codesourcery.com>
27722
da865e95
JM
27723 [BZ #13629]
27724 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27725 if larger part has absolute value 1.0.
27726 * math/s_clog10.c (__clog10): Likewise.
27727 * math/s_clog10f.c (__clog10f): Likewise.
27728 * math/s_clog10l.c (__clog10l): Likewise.
27729 * math/s_clogf.c (__clogf): Likewise.
27730 * math/s_clogl.c (__clogl): Likewise.
27731 * math/libm-test.inc (clog_test): Add more tests.
27732 (clog10_test): Likewise.
27733 * sysdeps/i386/fpu/libm-test-ulps: Update.
27734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27735
3129cfc6
JM
27736 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27737 (pltexit): Likewise.
27738 (La_regs): Likewise.
27739 (La_retval): Likewise.
27740 (int_retval): Likewise.
27741 Update #error for removed macros to refer only to definitions in
27742 tst-audit.h.
27743 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27744 macro.
27745 (pltexit): Likewise.
27746 (La_regs): Likewise.
27747 (La_retval): Likewise.
27748 (int_retval): Likewise.
27749 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27750 macro.
27751 (pltexit): Likewise.
27752 (La_regs): Likewise.
27753 (La_retval): Likewise.
27754 (int_retval): Likewise.
27755 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27756 macro.
27757 (pltexit): Likewise.
27758 (La_regs): Likewise.
27759 (La_retval): Likewise.
27760 (int_retval): Likewise.
27761 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27762 macro.
27763 (pltexit): Likewise.
27764 (La_regs): Likewise.
27765 (La_retval): Likewise.
27766 (int_retval): Likewise.
27767 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27768 macro.
27769 (pltexit): Likewise.
27770 (La_regs): Likewise.
27771 (La_retval): Likewise.
27772 (int_retval): Likewise.
27773 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27774 macro.
27775 (pltexit): Likewise.
27776 (La_regs): Likewise.
27777 (La_retval): Likewise.
27778 (int_retval): Likewise.
27779 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27780 macro definitions in tst-audit.h.
27781 * sysdeps/i386/tst-audit.h: New file.
27782 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27783 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27784 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27785 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27786 * sysdeps/sh/tst-audit.h: Likewise.
27787 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27788 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27789 * sysdeps/x86_64/tst-audit.h: Likewise.
27790
bfc07087
AJ
277912012-07-26 Andreas Jaeger <aj@suse.de>
27792
b1b2aaf8
AJ
27793 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27794 ptrace.
27795
27796 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27797 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27798 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27799 PTRACE_O_MASK.
27800 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27801 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27802 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27803
bfc07087
AJ
27804 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27805 value.
27806
27807 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27808 _sigsys.
27809 (si_call_addr, si_syscall, si_arch): Define new macro.
27810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27811 _sigsys.
27812 (si_call_addr, si_syscall, si_arch): Define new marcro.
27813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27814 _sigsys.
27815 (si_call_addr, si_syscall, si_arch): Define new macro.
27816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27817 _sigsys.
27818 (si_call_addr, si_syscall, si_arch): Define new macro.
27819
89b4b02f
JM
278202012-07-25 Joseph Myers <joseph@codesourcery.com>
27821
27822 [BZ #13717]
27823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27824 Change to 2.4.21 where previously 2.4.1.
27825 * sysdeps/unix/sysv/linux/configure: Regenerated.
27826 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27827 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27828 Linux kernel version.
27829 (__ASSUME_STD_AUXV): Remove.
27830 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27831 kernel version.
27832 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27833 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27834 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27835 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27836 (__ASSUME_NETLINK_SUPPORT): Likewise.
27837 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27838 (__no_netlink_support): Remove conditional definition.
27839 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27840 Remove.
27841 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27842 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27844 (if_nameindex_ioctl): Remove.
27845 (if_nameindex_netlink): Do not handle __no_netlink_support.
27846 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27847 code.
27848 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27849 Remove conditional code.
27850 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27851 code.
27852 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27853 unconditional.
27854 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27855 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27856 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27857 Remove.
27858 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27859 [!__ASSUME_STD_AUXV]: Remove conditional code.
27860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27861 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27862 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27864 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27865 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27866 code.
27867 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27869 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27870 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27871 conditional code.
27872 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27874 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27875 code.
27876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27877 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27878 conditional code.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27880 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27881 code unconditional.
27882 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27883 conditional code.
27884 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27885 unconditional.
27886 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27887 conditional code.
27888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27889 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27890 unconditional.
27891 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27892 conditional code.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27894 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27895 code unconditional.
27896 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27897 conditional code.
27898 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27899 unconditional.
27900 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27901 conditional code.
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27903 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27904 code unconditional.
27905 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27906 conditional code.
27907 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27908 unconditional.
27909 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27910 conditional code.
27911
842a39cd
AS
279122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27913
27914 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27915 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27916 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27917 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27918 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27919 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27921 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27922 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27923 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27924 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27925 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27926 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27927 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27929 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27930 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27932 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27934 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27937
84b3fd84
FW
279382012-07-25 Florian Weimer <fweimer@redhat.com>
27939
27940 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27941 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27942 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27943 Introduce __libc_secure_getenv.
0c7936d5
FW
27944 * stdlib/Versions (2.17): Add secure_getenv
27945 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27946 * stdlib/secure-getenv.c: Rename __secure_getenv to
27947 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27948 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27949 * stdlib/tst-secure-getenv.c: New.
27950 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27951 * manual/startup.texi (Environment Access): Document
27952 secure_getenv.
84b3fd84
FW
27953 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27954 __libc_secure_getenv.
27955 * inet/ruserpass.c (ruserpass): Likewise.
27956 * malloc/mtrace.c (mtrace): Likewise.
27957 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27958 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27959 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27960 * sysdeps/posix/tempname.c: Likewise. Evaluate
27961 HAVE_SECURE_GETENV.
27962 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27963 __secure_getenv to __libc_secure_getenv.
84b3fd84 27964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27966 Likewise.
27967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27968 Likewise.
27969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27976
56e49b71
JM
279772012-07-25 Joseph Myers <joseph@codesourcery.com>
27978
27979 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27980 (struct La_i86_retval): Likewise.
27981 (struct La_x86_64_regs): Likewise.
27982 (struct La_x86_64_retval): Likewise.
27983 (struct La_x32_regs): Likewise.
27984 (struct La_x32_retval): Likewise.
27985 (struct La_ppc32_regs): Likewise.
27986 (struct La_ppc32_retval): Likewise.
27987 (struct La_ppc64_regs): Likewise.
27988 (struct La_ppc64_retval): Likewise.
27989 (struct La_sh_regs): Likewise.
27990 (struct La_sh_retval): Likewise.
27991 (struct La_s390_32_regs): Likewise.
27992 (struct La_s390_32_retval): Likewise.
27993 (struct La_s390_64_regs): Likewise.
27994 (struct La_s390_64_retval): Likewise.
27995 (struct La_sparc32_regs): Likewise.
27996 (struct La_sparc32_retval): Likewise.
27997 (struct La_sparc64_regs): Likewise.
27998 (struct La_sparc64_retval): Likewise.
27999 (struct audit_ifaces): Remove architecture-specific pltenter and
28000 pltexit members.
28001 * sysdeps/i386/ldsodefs.h: New file.
28002 * sysdeps/powerpc/ldsodefs.h: Likewise.
28003 * sysdeps/s390/ldsodefs.h: Likewise.
28004 * sysdeps/sh/ldsodefs.h: Likewise.
28005 * sysdeps/sparc/ldsodefs.h: Likewise.
28006 * sysdeps/x86_64/ldsodefs.h: Likewise.
28007
354691b7
MP
280082012-07-25 Marek Polacek <polacek@redhat.com>
28009
28010 [BZ #6808]
28011 * math/libm-test.inc (yn_test): Add another test.
28012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28013 to ERANGE when the result is +-Inf.
28014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28015 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28016 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28017 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28018
bf9e2071
JM
280192012-07-24 Joseph Myers <joseph@codesourcery.com>
28020
28021 * conform/data/time.h-data (NULL): Use macro-constant. Require
28022 equal to 0.
28023 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28024 clock_t.
28025 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28026
57633811
TS
280272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28028
28029 * configure.in <sysdeps resolving>: Correct printing
28030 Implies_before.
28031 * configure: Regenerate.
28032
c23c33b0
TS
280332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28034
28035 * math/w_ilogb.c: Include <limits.h>.
28036 * math/w_ilogbl.c: Likewise.
28037
b5982523
JM
280382012-07-20 Joseph Myers <joseph@codesourcery.com>
28039
28040 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28041 va_copy. Document allowing for unavailable va_copy only as
28042 pre-C99 compatibility.
28043 * manual/string.texi (Copying and Concatenation): Use va_copy
28044 instead of __va_copy in concat example.
28045
ac4ea442
PT
280462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28047
28048 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28049 (__sendto): Use create_address_port. Initialize APORT and deallocate
28050 it if not null.
28051
f98eafbd
PT
28052 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28053 with O_NOLINK passed to __file_name_lookup.
28054
898c7aab
PT
28055 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28056 with O_NOLINK passed to __file_name_lookup.
28057
0ced335a
PT
28058 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28059 negative N or less than NGIDS.
28060
b3404dbd
PT
28061 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28062 type to string_t. Set ERANGE as errno and return it if NAME is not big
28063 enough. Use memcpy instead of strncpy.
28064
0f48659e
JM
280652012-07-20 Joseph Myers <joseph@codesourcery.com>
28066
28067 * elf/Makefile (check-data): Remove.
28068 (localplt.data): New vpath directive.
28069 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28070 instead of $(check-data).
28071 * scripts/data/localplt-generic.data: Move to ...
28072 * sysdeps/generic/localplt.data: ... here.
28073 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28074 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28075 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28077 ... here.
28078 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28080 ... here.
28081 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28083 ... here.
28084 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28086 ... here.
28087 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28089 ... here.
28090 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28092 ... here.
28093
d37cbdaa
AZ
280942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28095
28096 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28097 PPC32 and PPC64 files.
28098 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28099 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28100
46f85fc2
AK
281012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28102
28103 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28104 __makecontext_ret to ...
28105 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28106 ... here and call exit if uc_link is NULL. New file.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28108 __makecontext_ret.S.
28109 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28110 __makecontext_ret to ...
28111 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28112 ... here and call exit if uc_link is NULL. New file.
28113 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28114 __makecontext_ret.S.
28115
08f43f9b
AK
281162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28117
28118 * elf/elf.h (R_390_IRELATIVE): New definition.
28119 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28120 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28121 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28122 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28123 (elf_machine_lazy_rel): Likewise.
28124 * sysdeps/s390/dl-irel.h: New file.
28125 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28126 * sysdeps/s390/s390-64/memset.S: New asm code.
28127 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28128 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28129 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28130 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28131 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28132 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28134 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28135 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28136 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28137 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28138 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28139 * sysdeps/s390/s390-32/memset.S: New asm code.
28140 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28141
3b05db33
MP
281422012-07-17 Marek Polacek <polacek@redhat.com>
28143
28144 [BZ #14349]
28145 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28146 * sysdeps/s390/s390-64/configure.in: Likewise.
28147 * sysdeps/sparc/configure.in: Likewise.
28148 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28149 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28150 * sysdeps/i386/configure.in: Likewise.
28151 * sysdeps/x86_64/configure.in: Likewise.
28152 * sysdeps/sh/configure.in: Likewise.
28153 * sysdeps/s390/s390-32/configure: Regenerated.
28154 * sysdeps/s390/s390-64/configure: Likewise.
28155 * sysdeps/x86_64/configure: Likewise.
28156 * sysdeps/sh/configure: Likewise.
28157 * sysdeps/powerpc/powerpc64/configure: Likewise.
28158 * sysdeps/powerpc/powerpc32/configure: Likewise.
28159 * sysdeps/sparc/configure: Likwise.
28160 * sysdeps/i386/configure: Likewise.
28161
a66877c6
MP
28162 * elf/dl-open.c: Comment fixes.
28163
cfc82fd8
JM
281642012-07-17 Joseph Myers <joseph@codesourcery.com>
28165
bd29910a
JM
28166 * Makefile [CXX] (check-data): Remove.
28167 [CXX] (c++-types.data): New vpath directive.
28168 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28169 vpath. Do not allow for C++ type data being missing.
28170 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28171 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28172 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28173 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28174 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28175 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28176 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28178 ... here.
28179 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28181 ... here.
28182 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28184 ... here.
28185 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28187 ... here.
28188 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28190 ... here.
28191 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28193 ... here.
28194 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28196 ... here.
28197 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28199
cfc82fd8
JM
28200 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28201 definitions to architecture-specific files.
28202 (TLS_IE): Likewise.
28203 (TLS_LD): Likewise.
28204 (TLS_GD): Likewise.
28205 * sysdeps/i386/tls-macros.h: New file.
28206 * sysdeps/powerpc/tls-macros.h: Likewise.
28207 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28208 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28209 * sysdeps/sh/tls-macros.h: Likewise.
28210 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28211 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28212 * sysdeps/x86_64/tls-macros.h: Likewise.
28213
f7db3170
TS
282142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28215
07cbfc23
TS
28216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28217 zero value for regular exit case.
28218
f7db3170
TS
28219 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28220 (__start_context): Preserve zero value for regular exit case.
28221
dc97c227
TS
282222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28223 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28224
28225 * manual/setjmp.texi (setcontext): Clarify normal process
28226 termination when uc_link is the null pointer.
28227 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28228 exit call.
28229
d0cd7d02
AS
282302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28231
28232 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28233 preprocessor. Test for each exception mask separately.
28234
dd318934
AJ
282352012-07-16 Andreas Jaeger <aj@suse.de>
28236
28237 * po/ru.po: Update from translation team.
28238
8048311a
JM
282392012-07-15 Joseph Myers <joseph@codesourcery.com>
28240
28241 * conform/data/string.h-data (NULL): Use macro-constant. Require
28242 equal to 0.
28243 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28244 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28245 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28246 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28248
b637d46e
AJ
282492012-07-13 Andreas Jaeger <aj@suse.de>
28250
28251 * po/fr.po: Update from translation team.
28252
541428fe
MP
282532012-07-12 Marek Polacek <polacek@redhat.com>
28254
28255 [BZ #14173]
28256 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28257 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28258 loop condition.
28259
ec332e94
JM
282602012-07-12 Joseph Myers <joseph@codesourcery.com>
28261
28262 [BZ #13717]
28263 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28264 Change to 2.4.1 where previously 2.4.0.
28265 * sysdeps/unix/sysv/linux/configure: Regenerated.
28266 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28267 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28268 version.
28269 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28270 (__ASSUME_AT_CLKTCK): Remove.
28271 (__ASSUME_AT_PAGESIZE): Likewise.
28272 (__ASSUME_AT_XID): Likewise.
28273 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28274 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28275 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28276 unconditionally.
28277 (HAVE_AUX_PAGESIZE): Likewise.
28278 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28279 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28280 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28281
7b6e99be
JB
282822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28283
28284 [BZ #14307]
28285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28286 the temporary buffer used to invoke __gethostbyname2_r,
28287 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28288 host_data / struct gaih_addrtuple.
28289 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28290 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28291 header file nss/nsswitch.h.
28292 * nss/nsswitch.h (global scope): Add definition of implementation
28293 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28294 resolv/nss_dns/dns-host.c).
28295
608404eb
AJ
282962012-07-11 Andreas Jaeger <aj@suse.de>
28297
28298 * po/fr.po: Update from translation team.
28299
71220aca
AJ
28300 * po/sv.po: Update from translation team
28301 * po/fr.po: Another update from translation team.
28302
28cfe843
AZ
283032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28304
28305 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28306 for subnormals or multiply small sinh result by itself.
28307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28309
6b90f981
DM
283102012-07-11 David S. Miller <davem@davemloft.net>
28311
28312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28313
c6825772
AS
283142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28315
28316 [BZ #14347]
28317 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28318 (INTERNAL_MARK): Shift it here.
28319
7b8e0d49
MP
283202012-07-10 Marek Polacek <polacek@redhat.com>
28321
28322 [BZ #14151]
28323 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28324 libc_cv_asm_global_directive with .globl.
28325 * configure: Regenerated.
28326 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28327 with .globl.
28328 * sysdeps/i386/configure: Regenerated.
28329 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28330 with .globl.
28331 * sysdeps/x86_64/configure: Regenerated.
28332 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28333 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28334 * elf/tst-unique2mod2.c: Likewise.
28335 * elf/tst-unique2mod1.c: Likewise.
28336 * elf/tst-unique1mod2.c: Likewise.
28337 * elf/tst-unique1mod1.c: Likewise.
28338 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28339 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28342 * sysdeps/mach/sysdep.h: Likewise.
28343 * sysdeps/i386/sysdep.h: Likewise.
28344 * sysdeps/i386/i386-mcount.S: Likewise.
28345 * sysdeps/x86_64/_mcount.S: Likewise.
28346 * sysdeps/x86_64/sysdep.h: Likewise.
28347 * sysdeps/sh/_mcount.S: Likewise.
28348 * sysdeps/sh/sysdep.h: Likewise.
28349 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28350 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28351 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28352 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28353 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28354 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28355 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28356 * locale/localeinfo.h: Likewise.
28357 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28358 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28359
6c55cda3
RM
283602012-07-09 Roland McGrath <roland@hack.frob.com>
28361
28362 [BZ #14336]
28363 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28364 system".
28365 * manual/message.texi (The Uniforum approach): Likewise.
28366 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28367 (glibc iconv Implementation): Likewise.
28368
638a572e
JM
283692012-07-09 Joseph Myers <joseph@codesourcery.com>
28370
28371 [BZ #14337]
28372 * math/s_clog.c (__clog): Avoid scaling a value down where that
28373 could result in underflow.
28374 * math/s_clog10.c (__clog10): Likewise.
28375 * math/s_clog10f.c (__clog10f): Likewise.
28376 * math/s_clog10l.c (__clog10l): Likewise.
28377 * math/s_clogf.c (__clogf): Likewise.
28378 * math/s_clogl.c (__clogl): Likewise.
28379 * math/libm-test.inc (clog_test): Add more tests.
28380 (clog10_test): Likewise.
28381 * sysdeps/i386/fpu/libm-test-ulps: Update.
28382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28383
261f4859
AS
283842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28385
0abaf3e4
AS
28386 [BZ #14283]
28387 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28388 by 7 not 8 to examine high bit of fractional part.
28389
261f4859
AS
28390 [BZ #14042]
28391 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28392 for call to __mcount_internal.
28393 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28394 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28395 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28396
f17ac40d
JM
283972012-07-06 Joseph Myers <joseph@codesourcery.com>
28398
9ad63c23
JM
28399 [BZ #14154]
28400 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28401 approximation for values within 0x1p-13f of an odd multiple of
28402 pi/4.
28403 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28404 exception. Add more tests.
28405 * sysdeps/i386/fpu/libm-test-ulps: Update.
28406
f17ac40d
JM
28407 [BZ #6778]
28408 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28409 inputs and return -1 for them. Do not check for +Inf in case not
28410 reachable for +Inf.
28411 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28412 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28413 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28414 and return -1 for them. Do not check for +Inf in case not
28415 reachable for +Inf.
28416 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28417 define.
28418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28419 and return -1 for them. Do not check for +Inf in case not
28420 reachable for +Inf.
28421 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28422 spurious underflow.
28423 * sysdeps/i386/fpu/libm-test-ulps: Update.
28424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28425
fb21f89b
MF
284262012-07-06 Mike Frysinger <vapier@gentoo.org>
28427
28428 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28429
cdfe2c5e
JM
284302012-07-05 Joseph Myers <joseph@codesourcery.com>
28431
28432 [BZ #14157]
28433 [BZ #14331]
28434 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28435 could result in spurious underflow. Scale down values above
28436 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28437 * math/s_csqrtf.c (__csqrtf): Likewise.
28438 * math/s_csqrtl.c (__csqrtl): Likewise.
28439 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28440 spurious underflow.
28441 * sysdeps/i386/fpu/libm-test-ulps: Update.
28442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443
70d35b67
AS
284442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28445
704bc459
AS
28446 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28447 xopen-msg.sed.
28448 * catgets/xopen-msg.awk: New file.
28449 * catgets/xopen-msg.sed: Removed.
28450
70d35b67
AS
28451 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28452 po2text.sed.
28453 * intl/po2test.awk: New file.
28454 * intl/po2test.sed: Removed.
28455
ca61cf32
JM
284562012-07-04 Joseph Myers <joseph@codesourcery.com>
28457
28458 [BZ #14328]
28459 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28460 or multiply small sinh result by itself.
28461 * math/s_ctanf.c (__ctanf): Likewise.
28462 * math/s_ctanh.c (__ctanh): Likewise.
28463 * math/s_ctanhf.c (__ctanhf): Likewise.
28464 * math/s_ctanhl.c (__ctanhl): Likewise.
28465 * math/s_ctanl.c (__ctanl): Likewise.
28466 * math/libm-test.inc (ctan_test_tonearest): New function.
28467 (ctan_test_towardzero): Likewise.
28468 (ctan_test_downward): Likewise.
28469 (ctan_test_upward): Likewise.
28470 (ctanh_test_tonearest): Likewise.
28471 (ctanh_test_towardzero): Likewise.
28472 (ctanh_test_downward): Likewise.
28473 (ctanh_test_upward): Likewise.
28474 (main): Call these new functions.
28475 * sysdeps/i386/fpu/libm-test-ulps: Update.
28476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28477
ca48a46a
MF
284782012-07-03 Mike Frysinger <vapier@gentoo.org>
28479
28480 * .gitignore: Delete /ports entry.
28481
9d63d37d
AJ
284822012-07-03 Andreas Jaeger <aj@suse.de>
28483
28484 * po/bg.po: Update from translation team.
28485 * po/cs.po: Likewise.
28486 * po/de.po: Likewise.
28487 * po/hr.po: Likewise.
28488 * po/nl.pl: Likewise.
28489 * po/pl.po: Likewise.
28490 * po/vi.po: Likewise.
28491
370ca3d2
JM
284922012-07-03 Joseph Myers <joseph@codesourcery.com>
28493
95f5a9a8
JM
28494 * Makeconfig [!+link] (+link-before-libc): New variable.
28495 [!+link] (+link-after-libc): Likewise.
28496 [!+link] (+link-tests): Likewise.
28497 [!+link] (+link): Define in terms of $(+link-before-libc) and
28498 $(+link-after-libc).
28499 [!+link-static] (+link-static-before-libc): New variable.
28500 [!+link-static] (+link-static-after-libc): Likewise.
28501 [!+link-static] (+link-static-tests): Likewise.
28502 [!+link-static] (+link-static): Define in terms of
28503 $(+link-static-before-libc) and $(+link-static-after-libc).
28504 [build-shared] (link-libc-before-gnulib): New variable.
28505 [build-shared] (link-libc-tests): Likewise.
28506 [build-shared] (link-libc): Define in terms of
28507 $(link-libc-before-gnulib).
28508 [!build-shared] (link-libc-tests): New variable.
28509 (link-libc-static-tests): New variable.
28510 [!gnulib] (gnulib-arch): New variable.
28511 [!gnulib] (gnulib-tests): Likewise.
28512 [!gnulib] (static-gnulib-arch): Likewise.
28513 [!gnulib] (static-gnulib-tests): Likewise.
28514 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28515 Define with "=" instead of ":=".
28516 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28517 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28518 * Rules (binaries-all-notests): New variable.
28519 (binaries-all-tests): Likewise.
28520 (binaries-static-notests): Likewise.
28521 (binaries-static-tests): Likewise.
28522 (binaries-all): Define using $(binaries-all-notests) and
28523 $(binaries-all-tests).
28524 (binaries-static): Define using $(binaries-static-notests) and
28525 $(binaries-static-tests).
28526 (binaries-shared-tests): New variable.
28527 (binaries-shared-notests): Likewise.
28528 (binaries-shared): Remove variable.
28529 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28530 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28531 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28532 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28533 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28534 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28535 * elf/Makefile (sln-modules): New variable.
28536 (extra-objs): Add $(sln-modules:=.o).
28537 (ldconfig-modules): Add static-stubs.
28538 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28539 * elf/static-stubs.c: New file.
28540
7a845b2c
JM
28541 [BZ #14283]
28542 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28543 by 7 not 8 to examine high bit of fractional part. Use volatile
28544 variables when splitting into final array of floats if
28545 __FLT_EVAL_METHOD__ != 0.
28546 * math/libm-test.inc (cos_test): Add another test.
28547 (sin_test): Likewise.
28548 * sysdeps/i386/fpu/libm-test-ulps: Update.
28549
e2283f38
JM
28550 [BZ #14273]
28551 * math/libm-test.inc (cosh_test): Add more tests.
28552
370ca3d2
JM
28553 * version.h (RELEASE): Set to "development".
28554 (VERSION): Set to "2.16.90".
28555
ee9247c3
CD
285562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28557
28558 * NEWS: Update copyright. Remove last-updated date.
28559 Mention math library bug fixes and timezone data changes.
28560 * README: Mention GNU/Hurd, x32, and HPPA support status.
28561
4648c381
TS
285622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28563
28564 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28565
aac78a43
AJ
285662012-06-27 Andreas Jaeger <aj@suse.de>
28567
28568 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28569
ed3dbfad
AJ
285702012-06-25 Andreas Jaeger <aj@suse.de>
28571
28572 * sysdeps/s390/fpu/libm-test-ulps: Update.
28573
4d0ee855
AS
285742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28575 Thomas Schwinge <thomas@codesourcery.com>
28576
28577 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28578 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28580 fanotify_mark.
28581
af1bce34
TS
285822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28583
a9fa33ba
TS
28584 * sysdeps/mach/start.c: Remove file.
28585 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28586 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28587 * sysdeps/sh/init-first.c: Likewise.
28588
58f902b8
TS
28589 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28590 registers for frame unwinding purposes, add CFI directives.
28591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28593 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28594 Likewise.
28595
1518f58b
TS
28596 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28597 __fortify_fail returning.
28598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28599
db9b5059
TS
28600 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28601 sysdeps/sh/____longjmp_chk.S.
28602 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28603 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28604 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28605 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28606
967705fe
TS
28607 * sysdeps/sh/abort-instr.h: New file.
28608 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28609 process in case exit returns.
28610
a9def8c4
TS
28611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28612 initialize the GOT register before use.
28613
2a649725
TS
28614 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28615 calculation of ARGC > 4.
28616
af1bce34
TS
28617 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28618 meaningful names to some local labels.
28619
d230f50a
KK
286202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28621 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28622
28623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28624 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28625 (__arch_compare_and_exchange_val_16_acq): Likewise.
28626 (__arch_compare_and_exchange_val_32_acq): Likewise.
28627 (atomic_exchange_and_add): Fix gUSA sequence.
28628 (atomic_add): Likewise.
28629 (atomic_add_negative): Likewise.
28630 (atomic_add_zero): Likewise.
28631 (atomic_bit_test_set): Likewise.
28632
0479b305
AS
286332012-06-22 Andreas Schwab <schwab@redhat.com>
28634
28635 [BZ #13579]
28636 * include/link.h (struct link_map): Add l_free_initfini.
28637 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28638 l_initfini.
28639 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28640 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28641 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28642 set.
28643
0e3933b9
CD
286442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28645
28646 * configure.in: Use AC_LANG_SOURCE.
28647 * configure: Regenerate.
28648
4248b1b1
RM
286492012-06-22 Roland McGrath <roland@hack.frob.com>
28650
28651 * configure.in (libc_cv_localstatedir): New substituted variable.
28652 * configure: Regenerated.
28653 * config.make.in (localstatedir): New variable, substituted from
28654 libc_cv_localstatedir.
28655 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28656 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28657 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28658 * sysdeps/gnu/configure: Regenerated.
28659
006dd861
JL
286602012-06-21 Jeff Law <law@redhat.com>
28661
28662 [BZ #14277]
28663 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28664 free. Simplify list management for _LIBC case.
28665
79662d42
JM
286662012-06-21 Joseph Myers <joseph@codesourcery.com>
28667
b7abb4bf
JM
28668 [BZ #14273]
28669 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28670 Clear sign bit of 64-bit integer value before comparing against
28671 overflow value.
28672
79662d42
JM
28673 * sysdeps/mach/configure: Regenerated.
28674
1f150908
L
286752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28676
28677 [BZ #14278]
28678 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28679
28363bbf
JL
286802012-06-21 Jeff Law <law@redhat.com>
28681
28682 [BZ #13882]
28683 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28684 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28686 * elf/dl-open.c (dl_open_worker): Likewise.
28687
09615db4
CD
286882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28689
28690 * scripts/list-sources.sh: Scan PORTS for translations.
28691 * po/libc.pot: Regenerated.
28692
2174c6dd
AJ
286932012-06-21 Andreas Jaeger <aj@suse.de>
28694
28695 [BZ #12194]
28696 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28697 warning.
28698 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28699 * bits/byteswap-16.h (__bswap_16): Likewise.
28700 * bits/byteswap.h (__bswap_constant_16): Likewise.
28701
3ee947b1
L
287022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28703
28704 [BZ #14117]
a2f34833
L
28705 * sysdeps/i386/fpu_control.h: Removed.
28706 * sysdeps/x86_64/fpu_control.h: Moved to ...
28707 * sysdeps/x86/fpu_control.h: Here.
28708
3ee947b1
L
28709 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28710 (_FPU_SETCW): Likewise.
28711
ed1825f8
L
287122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28713
25f1282a
L
28714 [BZ #14117]
28715 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28716 * sysdeps/x86/fpu/bits/mathinline.h: This.
28717 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28718
ed1825f8
L
28719 [BZ #14050]
28720 [BZ #14117]
28721 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28722 functions if __x86_64__ is defined.
28723
36d54b74
CLT
287242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28725
28726 * string/endian.h: Add !__ASSEMBLER__ condition for including
28727 conversion interfaces.
28728
10285c21
JM
287292012-06-15 Joseph Myers <joseph@codesourcery.com>
28730
28731 [BZ #14241]
28732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28733 of ABS(x) in calculating zero to negative powers other than odd
28734 integers.
28735 * math/libm-test.inc (pow_test): Add more tests.
28736
06c5abbd
AJ
287372012-06-15 Andreas Jaeger <aj@suse.de>
28738
28739 * manual/contrib.texi (Contributors): Update entry of Liubov
28740 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28741 Machado Filho.
28742
a3aeac40
CH
287432012-06-15 Cyril Hrubis <metan@ucw.cz>
28744
28745 * string/string.h: Add __wur to GNU version of strerror_r.
28746
49bdf4c1
L
287472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 [BZ #14229]
28750 * string/Makefile (tests): Add tst-strtok_r.
28751 * string/tst-strtok_r.c: New file.
28752 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28753 RAX_LP/RDX_LP on SAVE_PTR.
28754
834f9b8d
RM
287552012-06-14 Roland McGrath <roland@hack.frob.com>
28756
28757 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28758
75fa1921
JM
287592012-06-14 Joseph Myers <joseph@codesourcery.com>
28760
28761 * libm_test.inc (csqrt_test): Allow more spurious underflow
28762 exceptions.
28763 (j0_test): Likewise.
28764 (j1_test): Likewise.
28765 (y0_test): Likewise.
28766 (y1_test): Likewise.
28767
771766df
CD
287682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28769
28770 * po/Makefile (libc.pot): Use UTF-8 charset.
28771
ceb9e56b
PP
287722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28773
28774 [BZ #14210]
28775 Suppress sign-conversion warning from FD_SET.
28776 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28777 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28778 not unsigned long int.
28779 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28780
ddb28975
L
287812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28782
28783 [BZ #14050]
28784 [BZ #14117]
28785 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28786 __extern_always_inline instead of __extern_inline.
28787 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28788 (__signbit): Likewise.
28789 (__signbitl): Support C++ namespace.
28790 (lrintf): New inline function.
28791 (lrint): Likewise.
28792 (llrintf): Likewise.
28793 (llrint): Likewise.
28794 (fmaxf): Likewise.
28795 (fmax): Likewise.
28796 (fminf): Likewise.
28797 (fmin): Likewise.
28798 (rint): Likewise.
28799 (rintf): Likewise.
28800 (ceil): Likewise.
28801 (ceilf): Likewise.
28802 (floor): Likewise.
28803 (floorf): Likewise.
28804 (nearbyint): Likewise.
28805 (nearbyintf): Likewise.
28806
d7b4fb26
TS
288072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28808
28809 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28810 non-default versions.
28811
eb55f5c2
RM
288122012-06-11 Roland McGrath <roland@hack.frob.com>
28813
28814 [BZ #14218]
28815 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28816
366af02c
TS
288172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28818
99ff6e5c
TS
28819 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28820 (FE_UPWARD, FE_DOWNWARD): Don't define.
28821 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28822 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28823
366af02c
TS
28824 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28825 reading it.
28826 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28828
793ea851
KK
288292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28830
28831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28833 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28835
a728a38f
L
288362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28837
28838 [BZ #14117]
c08010c7
L
28839 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28840 * sysdeps/i386/fpu/Implies: New file.
28841 * sysdeps/x86_64/fpu/Implies: Likewise.
28842 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28843 * sysdeps/x86/fpu/bits/fenv.h: This.
28844
a728a38f
L
28845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28846 __SSE_MATH__.
28847
6e230d11
SP
288482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28849
28850 [BZ #14134]
28851 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28852 character 0xffff that matches the last element of the
28853 conversion table.
28854
1b671feb
AZ
288552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28856
28857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28858 fmodl commit.
28859
6043738b
AZ
288602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28861
28862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28863 values higher than 25.6283.
28864
34ae0b32
AZ
288652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28866
28867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28868 subnormal exponent extraction and add some __builtin_expect.
28869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28870 Fix for subnormal mantissa calculation.
28871
1214ec8f
MF
288722012-06-04 Mike Frysinger <vapier@gentoo.org>
28873
28874 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28875 cpu2 is -1 and errno is not ENOSYS.
28876
f3d1f93c
L
288772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28878
28879 [BZ #14117]
0e4a3cd7
L
28880 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28881 * sysdeps/x86/bits/string.h: This.
28882 * sysdeps/x86_64/bits/string.h: Removed.
28883
6704c645
L
28884 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28885 if not compiling for x86-64, but compiling for >= i486.
28886
48495318
L
28887 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28888 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28889
14adcbfc
L
28890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28891 New macro from Linux kernel 3.4.0.
28892 (FP_XSTATE_MAGIC2): Likewise.
28893 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28894 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28895 (struct _fpx_sw_bytes): New struct.
28896 (struct _xsave_hdr): Likewise.
28897 (struct _ymmh_state): Likewise.
28898 (struct _xstate): Likewise.
28899
68e408ab
L
28900 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28901 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28903 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28904 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28905 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28906
f3d1f93c
L
28907 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28908 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28909 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28910 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28911 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28912 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28913
d9dc34cd
TMQMF
289142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28915
28916 [BZ #13743]
28917 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28918 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28919 (sysdep_headers): Include sys/platform/ppc.h.
28920 * sysdeps/powerpc/test-gettimebase.c: Test for
28921 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28922 * manual/Makefile (appendices): Include platform.texi.
28923 * manual/contrib.texi (Contributors): Update @node pointers.
28924 * manual/maint.texi (Maintenance): Likewise.
28925 (Platform): New node.
28926 * manual/platform.texi: New file. Document the new features.
28927
4af3879c
SP
289282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28929 Jakub Jelinek <jakub@redhat.com>
28930
28931 [BZ #14188]
28932 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28933 where __builtin_expect is unavailable.
28934
2fd6ff13
DM
289352012-06-03 David S. Miller <davem@davemloft.net>
28936
28937 * stdlib/longlong.h: Updated from GCC.
28938
173f7220
AS
289392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28940
28941 [BZ #14042]
28942 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28943 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28944 __mcount_internal.
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28946 (GLIBC_2.16): Likewise.
28947
f34a1c6f
L
289482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28949
28950 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28951
88a4576f
JM
289522012-06-01 Joseph Myers <joseph@codesourcery.com>
28953
ea32bcdd
JM
28954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28955 (default-abi): New variable.
28956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28957 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28958 variable.
28959 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28960 Likewise.
28961 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28962 Likewise.
28963 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28964 Likewise.
28965
88a4576f
JM
28966 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28967 definition. Document in comment.
28968
402fe938
DM
289692012-06-01 David S. Miller <davem@davemloft.net>
28970
28971 * stdlib/longlong.h: Updated from GCC.
28972
3553723f
L
289732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28974
28975 [BZ #14117]
3bd872c4
L
28976 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28977 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28978 sys/debugreg.h sys/io.h here.
28979 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28980 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28981 sys/io.h.
28982 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28983 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28984 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28985 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28986 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28987 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28988
3553723f
L
28989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28990 Define only if __x86_64__ is defined.
28991
4842e4fe
JM
289922012-06-01 Joseph Myers <joseph@codesourcery.com>
28993
c5bfe3d5
JM
28994 [BZ #14048]
28995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28996 Use int64_t for variable i.
28997 * math/libm-test.inc (fmod_test): Add more tests.
28998
4842e4fe
JM
28999 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29000 z computation is not scheduled after fetestexcept.
29001 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29002 Use math_force_eval instead of asm to ensure calculation scheduled
29003 before exception test.
29004 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29005 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29006
efb73488
AJ
290072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29008
29009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29010 computation is not scheduled after fetestexcept.
29011
29bcce7c
L
290122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29013
29014 [BZ #14117]
29015 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29016 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29017
73a68f94
AZ
290182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29019
29020 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29022
67b6df78
L
290232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29024
edf2933a 29025 [BZ #14117]
ebc64a18
L
29026 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29027 <bits/wordsize.h>.
29028 (__WCHAR_MIN): Support __WORDSIZE == 64.
29029 (__WCHAR_MAX): Likewise.
29030
edf2933a
L
29031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29032 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29033
57c6cf40
L
29034 [BZ #14183]
29035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29036 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29037
67b6df78 29038 [BZ #14117]
8eb6281e
L
29039 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29041
aac639f4
L
29042 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29043 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29044
67b6df78
L
29045 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29046 Defined to 1 if __x86_64__ isn't defined.
29047 (_STAT_VER_LINUX_OLD): New.
29048 (st_atime): Remove duplicate.
29049 (st_mtime): Likewise.
29050 (st_ctime): Likewise.
29051
1c2cfe81
DM
290522012-05-31 David S. Miller <davem@davemloft.net>
29053
29054 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29055 entries.
29056
5be8418c
AS
290572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29058
e7725326
AS
29059 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29060 gen-libm-test.pl.
29061
5be8418c
AS
29062 [BZ #14132]
29063 * elf/dl-reloc.c: Include <_itoa.h>.
29064 (_dl_reloc_bad_type): Remove use of INTUSE.
29065 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29066 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29067 * stdio-common/psiginfo.c (psiginfo): Likewise.
29068 * stdio-common/psignal.c (psignal): Likewise.
29069 * string/strsignal.c (strsignal): Likewise.
29070 * include/signal.h (_sys_siglist): Declare hidden proto.
29071 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29072 INTVARDEF with libc_hidden_data_def.
29073 * stdio-common/itoa-udigits.c: Likewise.
29074 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29075 (_itoa_lower_digits_internal): Remove declaration.
29076 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29077 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29078 (_sys_sigabbrev_internal): Remove aliases.
29079 (_sys_siglist): Define hidden alias.
29080
507352f1
MT
290812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29082
29083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29084 bits/sysctl.h.
29085
42bbb1c3
L
290862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 [BZ #14117]
6bd784b6
L
29089 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29090 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29091
8bca20f0
L
29092 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29093 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29094 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29095 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29097 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29098
f9e890a9
L
29099 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29101 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29102
471101a1
L
29103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29104 with __addr.
29105 (insw): Likewise.
29106 (insl): Likewise.
29107 (outsb): Likewise.
29108 (outsw): Likewise.
29109 (outsl): Likewise.
29110
6451c862
L
29111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29113 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29114
a254b8c9
L
29115 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29116 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29118 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29119 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29120 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29121
b8dfdd92
L
29122 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29123 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29124
578cd270
L
29125 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29126 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29127
de662f5f
L
29128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29130 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29131
25653439
L
29132 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29133 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29134 to ...
29135 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29136
6bad24a0
L
29137 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29138 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29139 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29140
42bbb1c3
L
29141 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29142 for x86-64.
29143 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29144
2d10d547
JM
291452012-05-31 Joseph Myers <joseph@codesourcery.com>
29146
29147 * math/math.h (M_El): Use two more decimal places.
29148 (M_LOG2El): Likewise.
29149 (M_LOG10El): Likewise.
29150 (M_LN2l): Likewise.
29151 (M_LN10l): Likewise.
29152 (M_PIl): Likewise.
29153 (M_PI_2l): Likewise.
29154 (M_PI_4l): Likewise.
29155 (M_1_PIl): Likewise.
29156 (M_2_PIl): Likewise.
29157 (M_2_SQRTPIl): Likewise.
29158 (M_SQRT2l): Likewise.
29159 (M_SQRT1_2l): Likewise.
29160
f230c29b
DM
291612012-05-31 David S. Miller <davem@davemloft.net>
29162
29163 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29164 values between float registers.
29165 * sysdeps/sparc/sparc64/memset.S: Likewise.
29166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29167
fed806c3
MF
291682012-05-31 Mike Frysinger <vapier@gentoo.org>
29169
29170 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29171 -D_FORTIFY_SOURCE=1.
29172 (CPPFLAGS-tst-longjmp_chk.c): Define.
29173 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29174 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29175 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29176 CFLAGS-tst-wchar-h.c.
29177
30917259
MP
291782012-05-31 Marek Polacek <polacek@redhat.com>
29179
29180 [BZ #14132]
29181 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29182 __endmntent_internal): Remove declaration.
29183 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29184 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29185 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29186
1c58d5dc
DM
291872012-05-30 David S. Miller <davem@davemloft.net>
29188
29189 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29190 (___Q_simulate_exceptions): Use real FP ops rather than writing
29191 into the %fsr.
29192 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29193 Likewise.
29194
7dc00e0d
L
291952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29196
29197 [BZ #14117]
0bd53985
L
29198 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29199 * sysdeps/x86/bits/xtitypes.h: This.
29200
3a257e66
L
29201 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29202 * sysdeps/x86/bits/wordsize.h: This.
29203
62f62904
L
29204 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29205 * sysdeps/x86/bits/huge_vall.h: This.
29206
404fe9d9
L
29207 * sysdeps/i386/bits/select.h: Removed.
29208 * sysdeps/x86_64/bits/select.h: Renamed to ...
29209 * sysdeps/x86/bits/select.h: This.
29210
d48d0446
L
29211 * sysdeps/i386/bits/setjmp.h: Removed.
29212 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29213 * sysdeps/x86/bits/setjmp.h: This.
29214
7dc00e0d
L
29215 * sysdeps/i386/bits/mathdef.h: Removed.
29216 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29217 * sysdeps/x86/bits/mathdef.h: This.
29218
03277f8f
AS
292192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29220
29221 [BZ #14132]
29222 * include/sys/socket.h (__connect_internal)
29223 (__libc_sa_len_internal): Remove declaration.
29224 (__connect, __libc_sa_len): Declare hidden_proto.
29225 (SA_LEN): Remove use of INTUSE.
29226 * socket/connect.c: Add libc_hidden_def.
29227 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29228 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29229 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29230 alias.
29231 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29232 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29233 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29234 of adding _internal alias.
29235
13764867
L
292362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29237
29238 [BZ #14117]
6bd97696
L
29239 * sysdeps/i386/bits/link.h: Removed.
29240 * sysdeps/i386/bits/linkmap.h: Likewise.
29241 * sysdeps/x86_64/bits/link.h: Renamed to ...
29242 * sysdeps/x86/bits/link.h: This.
29243 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29244 * sysdeps/x86/bits/linkmap.h: This.
29245
f726f0bb
L
29246 * sysdeps/i386/bits/endian.h: Removed.
29247 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29248 * sysdeps/x86/bits/endian.h: This.
29249
13764867
L
29250 * sysdeps/i386/bits/byteswap.h: Removed.
29251 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29252 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29253 * sysdeps/x86/bits/byteswap.h: This.
29254 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29255 * sysdeps/x86/bits/byteswap-16.h: This.
29256 * sysdeps/i386/Implies: Add x86.
29257 * sysdeps/x86_64/Implies: Likewise.
29258
ae251b0b
DM
292592012-05-30 David S. Miller <davem@davemloft.net>
29260
29261 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29262 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29264 (FP_TRAPPING_EXCEPTIONS): Define.
29265 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29266 (FP_TRAPPING_EXCEPTIONS): Define.
29267 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29268 subnormals only when inexact has been signalled or underflow
29269 exceptions are enabled.
29270 (_FP_PACK_CANONICAL): Likewise.
29271
d5c90867
L
292722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29273
29274 [BZ #14183]
29275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29276 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29277
63f1549e
RH
292782012-05-30 Richard Henderson <rth@twiddle.net>
29279
8d8f2279
RH
29280 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29281 with #ifndef NOT_IN_libc.
29282
63f1549e
RH
29283 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29284 marked to avoid plt entry.
29285
0ab0291b
L
292862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29287
29288 [BZ #14112]
29289 * Makeconfig (default-abi): New macro.
29290 (abi-includes): Likewise.
29291 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29292 $(abi-$(default-abi)-lib-soname) for soname if defined.
29293 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29294 abi-variants.
29295 * Makefile (installed-stubs): Likewise.
29296 * include/stubs-biarch.h: Removed.
29297 * scripts/lib-names.awk: Only handle one library at a time.
29298 * scripts/soversions.awk: Remove WORDSIZE support.
29299 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29300 entries.
29301 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29302 Removed.
29303 (syscall-list-default-condition): Likewise.
29304 (syscall-list-default-condition): Likewise.
29305 (syscall-list-includes): Likewise.
29306 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29307 syscall-list-* with abi-*. Handle undefined abi-variants.
29308 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29309 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29310 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29311 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29312 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29313 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29314 Removed.
29315 (syscall-list-32-options): Likewise.
29316 (syscall-list-32-condition): Likewise.
29317 (syscall-list-64-options): Likewise.
29318 (syscall-list-64-condition): Likewise.
29319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29320 macro.
29321 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29322 Renamed to ...
29323 (abi-*): This.
29324 (abi-64-ld-soname): New macro.
29325 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29326 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29327 Renamed to ...
29328 (abi-*): This.
29329 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29330 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29331
4da0431d
JM
293322012-05-30 Joseph Myers <joseph@codesourcery.com>
29333
3a85279c
JM
29334 * sysdeps/unix/sysv/linux/kernel-features.h
29335 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29336 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29337 include <kernel-features.h>.
29338 [!__NR_ftruncate64]: Remove conditional code.
29339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29340 [__NR_ftruncate64]: Make code unconditional.
29341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29342 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29343 include <kernel-features.h>.
29344 [!__NR_ftruncate64]: Remove conditional code.
29345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29346 [__NR_ftruncate64]: Make code unconditional.
29347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29349 include <kernel-features.h>.
29350 [!__NR_ftruncate64]: Remove conditional code.
29351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29352 [__NR_ftruncate64]: Make code unconditional.
29353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29355 include <kernel-features.h>.
29356 [!__NR_ftruncate64]: Remove conditional code.
29357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29358 [__NR_ftruncate64]: Make code unconditional.
29359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29360
4da0431d
JM
29361 * configure.in (libc_cv_fpie): Weaken to a compile test using
29362 LIBC_TRY_CC_OPTION.
29363 * configure: Regenerated.
29364
11ef492c
AK
293652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29366
29367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29371 Refreshed.
29372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29378 Refreshed.
29379
d66ef399
DM
293802012-05-27 David S. Miller <davem@davemloft.net>
29381
29382 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29383 (___Q_zero): New.
29384 (__Q_simulate_exceptions): Return void. Change to simulate
29385 exceptions by writing into the %fsr.
29386 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29387 (__Qp_handle_exceptions): Likewise.
29388 (numbers): Delete.
29389 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29390 __Qp_handle_exceptions.
29391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29392 __Qp_handle_exceptions.
29393 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29394 as unused and give dummy FP_RND_NEAREST initializer.
29395 (FP_INHIBIT_RESULTS): Define.
29396 (___Q_simulate_exceptions): Update declaration.
29397 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29398 formatting.
29399 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29400 as unused and give dummy FP_RND_NEAREST initializer.
29401 (__Qp_handle_exceptions): Update declaration.
29402 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29403 formatting.
29404
04fb54b5
TS
294052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29406
29407 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29408 the temporary FPU control word.
29409 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29410 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29411 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29412 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29413 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29415 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29416 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29417 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29418 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29419 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29420
3f99608f
KK
294212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29422
29423 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29424 fields.
29425
65a4de4e
CLT
294262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29427
29428 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29429 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29430 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29431 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29432 Likewise.
29433 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29434 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29435 Likewise.
29436
15749d40
UD
294372012-05-27 Ulrich Drepper <drepper@gmail.com>
29438
29439 * po/h.po: Update from translation team.
29440
25dbcb27
AS
294412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29442
3d3f8e55
AS
29443 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29444
25dbcb27
AS
29445 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29446 handling of denormals.
29447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29448 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29449 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29450 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29454 Likewise.
29455
7ad47a80 294562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29457
29458 [BZ #14152]
29459 * math/libm-test.inc (fma_test): Don't always expect underflow
29460 exception.
29461
9c6ea9fa
SP
294622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29463
29464 [BZ #12416]
29465 * elf/tst-execstack.c: Include stackinfo.h.
29466 (do_test): Adjust test case to ensure that pthread_getattr_np
29467 behaviour remains the same after marking stack executable.
29468
a8239222
JM
294692012-05-25 Joseph Myers <joseph@codesourcery.com>
29470
29471 * sysdeps/unix/sysv/linux/kernel-features.h
29472 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29473 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29474 kernel-features.h.
29475 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29476 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29477 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29478 kernel-features.h.
29479 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29480 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29481
918b5606
L
294822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 * configure.in: Define the default includes to being none.
29485 * configure: Regenerated.
29486
3a097cc7
RM
294872012-05-25 Roland McGrath <roland@hack.frob.com>
29488
8422c9a5
RM
29489 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29490 * sysdeps/x86_64/setjmp.S: Likewise.
29491 * sysdeps/i386/bsd-setjmp.S: Likewise.
29492 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29493 * sysdeps/i386/setjmp.S: Likewise.
29494 * sysdeps/i386/__longjmp.S: Likewise.
29495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29496 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29497
3a097cc7
RM
29498 * include/stap-probe.h: New file.
29499 * configure.in: Handle --enable-systemtap.
29500 * configure: Regenerated.
29501 * config.h.in (USE_STAP_PROBE): New #undef.
29502 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29503 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29504 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29505
21708942
JM
295062012-05-25 Joseph Myers <joseph@codesourcery.com>
29507
29508 [BZ #13717]
29509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29510 to 2.4.0 where earlier.
29511 * sysdeps/unix/sysv/linux/configure: Regenerated.
29512 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
29521 [__ASSUME_32BITUIDS]: Make code unconditional.
29522 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29523 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29524 <kernel-features.h>.
29525 [__ASSUME_32BITUIDS]: Make code unconditional.
29526 [!__ASSUME_32BITUIDS]: Remove conditional code.
29527 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29528 <kernel-features.h>.
29529 [__ASSUME_32BITUIDS]: Make code unconditional.
29530 [!__ASSUME_32BITUIDS]: Remove conditional code.
29531 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29532 <kernel-features.h>.
29533 [__ASSUME_32BITUIDS]: Make code unconditional.
29534 [!__ASSUME_32BITUIDS]: Remove conditional code.
29535 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29536 <kernel-features.h>.
29537 [__ASSUME_32BITUIDS]: Make code unconditional.
29538 [!__ASSUME_32BITUIDS]: Remove conditional code.
29539 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29540 <kernel-features.h>.
29541 [__ASSUME_32BITUIDS]: Make code unconditional.
29542 [!__ASSUME_32BITUIDS]: Remove conditional code.
29543 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29544 <kernel-features.h>.
29545 [__ASSUME_32BITUIDS]: Make code unconditional.
29546 [!__ASSUME_32BITUIDS]: Remove conditional code.
29547 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29548 <kernel-features.h>.
29549 [__ASSUME_32BITUIDS]: Make code unconditional.
29550 [!__ASSUME_32BITUIDS]: Remove conditional code.
29551 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29552 <kernel-features.h>.
29553 [__ASSUME_32BITUIDS]: Make code unconditional.
29554 [!__ASSUME_32BITUIDS]: Remove conditional code.
29555 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29556 <kernel-features.h>.
29557 [__ASSUME_32BITUIDS]: Make code unconditional.
29558 [!__ASSUME_32BITUIDS]: Remove conditional code.
29559 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29560 <kernel-features.h>.
29561 [__ASSUME_32BITUIDS]: Make code unconditional.
29562 [!__ASSUME_32BITUIDS]: Remove conditional code.
29563 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29564 <kernel-features.h>.
29565 [__NR_setresgid] (__setresgid): Do not declare.
29566 [__ASSUME_32BITUIDS]: Make code unconditional.
29567 [!__ASSUME_32BITUIDS]: Remove conditional code.
29568 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29569 <kernel-features.h>.
29570 [__NR_setresuid] (__setresuid): Do not declare.
29571 [__ASSUME_32BITUIDS]: Make code unconditional.
29572 [!__ASSUME_32BITUIDS]: Remove conditional code.
29573 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29574 <kernel-features.h>.
29575 [__ASSUME_32BITUIDS]: Make code unconditional.
29576 [!__ASSUME_32BITUIDS]: Remove conditional code.
29577 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29578 <kernel-features.h>.
29579 [__ASSUME_32BITUIDS]: Make code unconditional.
29580 [!__ASSUME_32BITUIDS]: Remove conditional code.
29581 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29582 <kernel-features.h>.
29583 [__ASSUME_32BITUIDS]: Make code unconditional.
29584 [!__ASSUME_32BITUIDS]: Remove conditional code.
29585 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29586 <kernel-features.h>.
29587 [__ASSUME_32BITUIDS]: Make code unconditional.
29588 [!__ASSUME_32BITUIDS]: Remove conditional code.
29589 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29590 <kernel-features.h>.
29591 [__ASSUME_32BITUIDS]: Make code unconditional.
29592 [!__ASSUME_32BITUIDS]: Remove conditional code.
29593 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29594 <kernel-features.h>.
29595 [__ASSUME_32BITUIDS]: Make code unconditional.
29596 [!__ASSUME_32BITUIDS]: Remove conditional code.
29597 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29598 <kernel-features.h>.
29599 [__ASSUME_32BITUIDS]: Make code unconditional.
29600 [!__ASSUME_32BITUIDS]: Remove conditional code.
29601 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29602 <kernel-features.h>.
29603 [__ASSUME_32BITUIDS]: Make code unconditional.
29604 [!__ASSUME_32BITUIDS]: Remove conditional code.
29605 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29606 <kernel-features.h>.
29607 [__ASSUME_32BITUIDS]: Make code unconditional.
29608 [!__ASSUME_32BITUIDS]: Remove conditional code.
29609 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29610 <kernel-features.h>.
29611 [__ASSUME_32BITUIDS]: Make code unconditional.
29612 [!__ASSUME_32BITUIDS]: Remove conditional code.
29613 * sysdeps/unix/sysv/linux/kernel-features.h
29614 (__ASSUME_SETRESUID_SYSCALL): Remove.
29615 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29616 (__ASSUME_32BITUIDS): Likewise.
29617 (__ASSUME_LDT_WORKS): Likewise.
29618 (__ASSUME_O_DIRECTORY): Likewise.
29619 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29620 architecture but not kernel version.
29621 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29622 (__ASSUME_MMAP2_SYSCALL): Likewise.
29623 (__ASSUME_STAT64_SYSCALL): Likewise.
29624 (__ASSUME_IPC64): Likewise.
29625 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29626 <kernel-features.h>.
29627 [__ASSUME_32BITUIDS]: Make code unconditional.
29628 [!__ASSUME_32BITUIDS]: Remove conditional code.
29629 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29630 <kernel-features.h>.
29631 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29632 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29633 132096]: Remove conditional code.
29634 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29635 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29636 <kernel-features.h>.
29637 [__ASSUME_32BITUIDS]: Make code unconditional.
29638 [!__ASSUME_32BITUIDS]: Remove conditional code.
29639 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29640 <kernel-features.h>.
29641 [__ASSUME_32BITUIDS]: Make code unconditional.
29642 [!__ASSUME_32BITUIDS]: Remove conditional code.
29643 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29644 <kernel-features.h>.
29645 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29646 unconditional.
29647 (__setresgid): Do not declare.
29648 [__ASSUME_32BITUIDS]: Make code unconditional.
29649 [!__ASSUME_32BITUIDS]: Remove conditional code.
29650 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29651 <kernel-features.h>.
29652 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29653 unconditional.
29654 (__setresuid): Do not declare.
29655 [__ASSUME_32BITUIDS]: Make code unconditional.
29656 [!__ASSUME_32BITUIDS]: Remove conditional code.
29657 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29658 <kernel-features.h>.
29659 [__ASSUME_32BITUIDS]: Make code unconditional.
29660 [!__ASSUME_32BITUIDS]: Remove conditional code.
29661 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29662 <kernel-features.h>.
29663 [__ASSUME_32BITUIDS]: Make code unconditional.
29664 [!__ASSUME_32BITUIDS]: Remove conditional code.
29665
a386f1cc
RH
296662012-05-25 Richard Henderson <rth@twiddle.net>
29667
29668 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29669 dl_hwcap to ifunc resolver.
29670 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29671 elf_ifunc_invoke.
29672 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29673 dl_hwcap to ifunc resolver.
29674 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29675
b6550497
JM
296762012-05-24 Joseph Myers <joseph@codesourcery.com>
29677
29678 [BZ #14153]
29679 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29680 for |x| <= 2**-26, not 2**-57.
29681 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29682 exception.
29683
b0bc23a1
JL
296842012-05-24 Jeff Law <law@redhat.com>
29685
29686 * stdio-common/Makefile (tests): Add bug25.
29687 * stdio-common/bug25.c: New test.
29688
347c92e9
L
296892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29690
29691 [BZ #13576]
29692 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29693 multiple of MALLOC_ALIGNMENT in size.
29694 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29695
6bcc8b3f
JM
296962012-05-24 Joseph Myers <joseph@codesourcery.com>
29697
29698 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29699 Require >= 256.
29700 (FILENAME_MAX): Use macro-int-constant.
29701 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29702 (_IOFBF): Use macro-int-constant.
29703 (_IOLBF): Likewise.
29704 (_IONBF): Likewise.
29705 (SEEK_CUR): Likewise.
29706 (SEEK_END): Likewise.
29707 (SEEK_SET): Likewise.
29708 (TMP_MAX): Likewise.
29709 (EOF): Use macro-int-constant. Require < 0.
29710 (NULL): Use macro-constant. Require == 0.
29711 (stdin): Require type to be FILE *.
29712 (stdout): Likewise.
29713 (stderr): Likewise.
29714 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29715 macro-int-constant.
29716 (EXIT_SUCCESS): Likewise.
29717 (NULL): Use macro-constant. Require == 0.
29718 (RAND_MAX): Use macro-int-constant.
29719 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29720 [C99-based standards] (strtof): Require function.
29721 [C99-based standards] (strtold): Likewise.
29722 [C99-based standards] (strtoll): Likewise.
29723 [C99-based standards] (strtoull): Likewise.
29724 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29725 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29726 [ISO || ISO99 || ISO11] (math.h): Likewise.
29727 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29728 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29730
d18ea0c5
AS
297312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29732
29733 [BZ #14132]
56d25bb8
AS
29734 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29735 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29736 * intl/dgettext.c (DCGETTEXT): Likewise.
29737 * intl/gettext.c (DCGETTEXT): Likewise.
29738 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29739 * posix/regex_internal.h (gettext): Likewise.
29740 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29741 Remove declaration.
29742 * include/argz.h (__argz_count_internal)
29743 (__argz_stringify_internal): Remove declaration.
29744 (__argz_count, __argz_stringify): Declare hidden proto.
29745 * intl/dcgettext.c: Remove use of INTDEF.
29746 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29747 * string/argz-stringify.c: Likewise.
29748 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29749 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29750 Declare hidden proto.
d18ea0c5
AS
29751 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29752 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29753 Declare hidden proto.
29754 * include/stdio.h (__asprintf_internal): Don't declare.
29755 (__asprintf): Don't define as macro. Declare hidden proto.
29756 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29757 (__fsetlocking): Declare hidden proto.
29758 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29759 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29760 hidden proto.
29761 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29762 (_IO_setlinebuf): Remove use of INTUSE.
29763 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29764 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29765 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29766 Remove declaration.
29767 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29768 (_IO_do_flush): Remove use of INTUSE.
29769 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29770 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29771 (_IO_adjust_column, _IO_least_wmarker)
29772 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29773 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29774 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29775 (_IO_default_doallocate, _IO_wdefault_doallocate)
29776 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29777 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29778 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29779 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29780 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29781 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29782 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29783 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29784 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29785 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29786 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29787 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29788 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29789 proto.
29790 (_IO_flush_all_internal, _IO_adjust_column_internal)
29791 (_IO_default_uflow_internal, _IO_default_finish_internal)
29792 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29793 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29794 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29795 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29796 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29797 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29798 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29799 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29800 (_IO_file_close_internal, _IO_file_close_it_internal)
29801 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29802 (_IO_file_init_internal, _IO_file_attach_internal)
29803 (_IO_file_fopen_internal, _IO_file_read_internal)
29804 (_IO_file_sync_internal, _IO_file_seek_internal)
29805 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29806 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29807 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29808 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29809 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29810 (_IO_list_all_internal, _IO_link_in_internal)
29811 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29812 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29813 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29814 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29815 (_IO_do_write_internal, _IO_padn_internal)
29816 (_IO_getline_info_internal, _IO_getline_internal)
29817 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29818 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29819 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29820 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29821 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29822 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29823 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29824 with libc_hidden_ver, remove use of INTUSE.
29825 * libio/genops.c: Likewise.
29826 * libio/freopen.c: Likewise.
29827 * libio/freopen64.c: Likewise.
29828 * libio/iofclose.c: Likewise.
29829 * libio/iofdopen.c: Likewise.
29830 * libio/iofflush.c: Likewise.
29831 * libio/iofflush_u.c: Likewise.
29832 * libio/iofgets.c: Likewise.
29833 * libio/iofgets_u.c: Likewise.
29834 * libio/iofopen.c: Likewise.
29835 * libio/iofopncook.c: Likewise.
29836 * libio/iofread.c: Likewise.
29837 * libio/iofread_u.c: Likewise.
29838 * libio/ioftell.c: Likewise.
29839 * libio/iofwrite.c: Likewise.
29840 * libio/iogetline.c: Likewise.
29841 * libio/iogets.c: Likewise.
29842 * libio/iogetwline.c: Likewise.
29843 * libio/iopadn.c: Likewise.
29844 * libio/iopopen.c: Likewise.
29845 * libio/ioseekoff.c: Likewise.
29846 * libio/ioseekpos.c: Likewise.
29847 * libio/iosetbuffer.c: Likewise.
29848 * libio/iosetvbuf.c: Likewise.
29849 * libio/ioungetc.c: Likewise.
29850 * libio/ioungetwc.c: Likewise.
29851 * libio/iovdprintf.c: Likewise.
29852 * libio/iovsprintf.c: Likewise.
29853 * libio/iovsscanf.c: Likewise.
29854 * libio/memstream.c: Likewise.
29855 * libio/obprintf.c: Likewise.
29856 * libio/oldfileops.c: Likewise.
29857 * libio/oldiofclose.c: Likewise.
29858 * libio/oldiofdopen.c: Likewise.
29859 * libio/oldiofopen.c: Likewise.
29860 * libio/oldiopopen.c: Likewise.
29861 * libio/oldstdfiles.c: Likewise.
29862 * libio/putc.c: Likewise.
29863 * libio/setbuf.c: Likewise.
29864 * libio/setlinebuf.c: Likewise.
29865 * libio/stdfiles.c: Likewise.
29866 * libio/strops.c: Likewise.
29867 * libio/vasprintf.c: Likewise.
29868 * libio/vscanf.c: Likewise.
29869 * libio/vsnprintf.c: Likewise.
29870 * libio/vswprintf.c: Likewise.
29871 * libio/wfiledoalloc.c: Likewise.
29872 * libio/wfileops.c: Likewise.
29873 * libio/wgenops.c: Likewise.
29874 * libio/wmemstream.c: Likewise.
29875 * libio/wstrops.c: Likewise.
29876 * libio/__fpurge.c: Likewise.
29877 * libio/__fsetlocking.c: Likewise.
29878 * assert/assert.c: Likewise.
29879 * debug/fgets_chk.c: Likewise.
29880 * debug/fgets_u_chk.c: Likewise.
29881 * debug/fread_chk.c: Likewise.
29882 * debug/fread_u_chk.c: Likewise.
29883 * debug/gets_chk.c: Likewise.
29884 * debug/obprintf_chk.c: Likewise.
29885 * debug/vasprintf_chk.c: Likewise.
29886 * debug/vdprintf_chk.c: Likewise.
29887 * debug/vsnprintf_chk.c: Likewise.
29888 * debug/vsprintf_chk.c: Likewise.
29889 * malloc/mtrace.c: Likewise.
29890 * misc/error.c: Likewise.
29891 * misc/syslog.c: Likewise.
29892 * stdio-common/asprintf.c: Likewise.
29893 * stdio-common/fxprintf.c: Likewise.
29894 * stdio-common/getw.c: Likewise.
29895 * stdio-common/isoc99_fscanf.c: Likewise.
29896 * stdio-common/isoc99_scanf.c: Likewise.
29897 * stdio-common/isoc99_vfscanf.c: Likewise.
29898 * stdio-common/isoc99_vscanf.c: Likewise.
29899 * stdio-common/isoc99_vsscanf.c: Likewise.
29900 * stdio-common/printf-prs.c: Likewise.
29901 * stdio-common/printf_fp.c: Likewise.
29902 * stdio-common/printf_fphex.c: Likewise.
29903 * stdio-common/printf_size.c: Likewise.
29904 * stdio-common/putw.c: Likewise.
29905 * stdio-common/scanf.c: Likewise.
29906 * stdio-common/sprintf.c: Likewise.
29907 * stdio-common/tmpfile.c: Likewise.
29908 * stdio-common/vfprintf.c: Likewise.
29909 * stdio-common/vfscanf.c: Likewise.
29910 * stdlib/strfmon_l.c: Likewise.
29911 * sunrpc/openchild.c: Likewise.
29912 * sunrpc/xdr_stdio.c: Likewise.
29913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29914 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29915
d6c33fda
RM
299162012-05-24 Roland McGrath <roland@hack.frob.com>
29917
c1487492
RM
29918 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29919
29920 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29921 in the third column, to generate for the shared library an IFUNC
29922 that uses _dl_vdso_vsym.
29923 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29924 * Makeconfig (object-suffixes-noshared): New variable.
29925
29926 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29927 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29928 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29929 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29930
d6c33fda
RM
29931 [BZ #14132]
29932 * include/sys/time.h (__gettimeofday): Remove macro.
29933 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29934 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29935 Remove INTDEF.
29936 (__gettimeofday): Add libc_hidden_def.
29937 (gettimeofday): Add libc_hidden_weak.
29938 * sysdeps/mach/gettimeofday.c: Likewise.
29939 * sysdeps/posix/gettimeofday.c: Likewise.
29940 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29943 (__gettimeofday_internal): Remove strong_alias.
29944 (__gettimeofday): Add libc_hidden_def.
29945 (gettimeofday): Add libc_hidden_weak.
29946 * sysdeps/unix/syscalls.list (gettimeofday):
29947 Remove __gettimeofday_internal alias.
29948
b5a2bbe6
L
299492012-05-24 Daniel Jacobowitz <drow@false.org>
29950 H.J. Lu <hongjiu.lu@intel.com>
29951
29952 [BZ #12495]
29953 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29954 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29955 (largebin_index_32_big): New.
29956 (largebin_index): Use it for 16-byte alignment.
29957 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29958 correction with front_misalign.
29959
cfba4fda
L
299602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29961
7f907421
L
29962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29964 Likewise.
29965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29966 Likewise.
29967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29968 Likewise.
29969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29970 Likewise.
29971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29972 Likewise.
29973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29974 Likewise.
29975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29976 Likewise.
29977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29978 Likewise.
29979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29980 Likewise.
29981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29982 Likewise.
29983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29984 Likewise.
29985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29986 Likewise.
29987
cfba4fda
L
29988 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29989 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29990
80bad0cc
JM
299912012-05-24 Joseph Myers <joseph@codesourcery.com>
29992
7a25eb06
JM
29993 [BZ #10846]
29994 [BZ #14036]
29995 * math/libm-test.inc (exp_test): Add test from bug 14036.
29996 (pow_test): Add test from bug 10846.
29997
795405f9
JM
29998 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29999 and other flags.
30000 (special_function): Do not include flags in test name.
30001 (parse_args): Likewise.
30002 * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30005 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007
80bad0cc
JM
30008 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30009 exceptions.
30010 * math/libm-test.inc ("Philosophy"): Update comment about
30011 exception testing.
30012 (UNDERFLOW_EXCEPTION): New macro.
30013 (UNDERFLOW_EXCEPTION_OK): Likewise.
30014 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30015 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30016 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30017 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30018 (INVALID_EXCEPTION_OK): Update value.
30019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30020 (OVERFLOW_EXCEPTION_OK): Likewise.
30021 (IGNORE_ZERO_INF_SIGN): Likewise.
30022 (test_exceptions): Handle underflow exceptions.
30023 (acos_test): Update for underflow exception expectations.
30024 (cexp_test): Likewise.
30025 (clog_test): Likewise.
30026 (clog10_test): Likewise.
30027 (csqrt_test): Likewise.
30028 (ctan_test): Likewise.
30029 (ctanh_test): Likewise.
30030 (exp_test): Likewise.
30031 (exp10_test): Likewise.
30032 (exp2_test): Likewise.
30033 (expm1_test): Likewise.
30034 (fma_test): Likewise.
30035 (j0_test): Likewise.
30036 (jn_test): Likewise.
30037 (nexttoward_test): Likewise.
30038 (pow_test): Likewise.
30039 (scalbn_test): Likewise.
30040 (scalbln_test): Likewise.
30041 (tan_test): Likewise.
30042 (y1_test): Likewise.
30043 * sysdeps/i386/fpu/libm-test-ulps: Update.
30044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30045
9e0e3d0b
DM
300462012-05-23 David S. Miller <davem@davemloft.net>
30047
30048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30049 (__libc_sigaction): Remove unused local variables.
30050
ccd0a08f
L
300512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30052
30053 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30054
62bdf9a6
PE
300552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30056
f8591f80
PE
30057 mktime: avoid signed integer overflow
30058 * time/mktime.c (__mktime_internal): Do not mishandle the case
30059 where diff == INT_MIN.
30060
94c7d826
PE
30061 mktime: simplify computation of average
30062 * time/mktime.c (ranged_convert): Use new time_t_avg function
30063 instead of rolling our own (probably-slower) code.
30064
ce73d683
PE
30065 mktime: do not assume signed right shift propagates sign bit
30066 * time/mktime.c (isdst_differ): New static function.
30067 (__mktime_internal): No need to normalize tm_isdst now.
30068 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30069 tm_isdst values.
30070
72a22e59
PE
30071 mktime: merge another wrapv change from gnulib
30072 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30073 from some compilers.
30074
68605433
PE
30075 mktime: remove incorrect attempt at unusual arithmetics
30076 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30077 The code didn't really work on such machines anyway.
30078 (TYPE_MINIMUM): Assume two's complement.
30079 (twos_complement_arithmetic): Verify that long_int and time_t
30080 are two's complement (or unsigned, in the latter case).
30081
03cf7fe3
PE
30082 mktime: check signed shifts on long_int and time_t, too
30083 * time/mktime.c (SHR): Check that shifts work as desired
30084 on the types long_int and time_t too, as SHR is used on
30085 such types.
30086
f04dfbc2
PE
30087 mktime: do not assume 'long' is wide enough
30088 * time/mktime.c (verify): Move decl up.
30089 (long_int): New type.
30090 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30091 to remove assumption in the code that 'long' is wide enough to
30092 store year values. This assumption is not true on x32 and on
30093 some non-glibc platforms.
30094
62bdf9a6
PE
30095 mktime: merge wrapv change from gnulib
30096 * time/mktime.c (WRAPV): New macro.
30097 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30098 (guess_time_tm, __mktime_internal): Do not assume that signed
30099 integer overflow wraps around; modern compilers generate code
30100 where this assumption is no longer valid.
30101
5e292e4f
L
301022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30103
30104 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30105 Replace "jmp L(pseudo_end)" with "ret".
30106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30107 Likewise.
30108
8caf8c87
AJ
301092012-05-23 Andreas Jaeger <aj@suse.de>
30110
30111 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30112 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30113
1a09dc56
AJ
301142012-05-23 Andreas Jaeger <aj@suse.de>
30115 Maximilian Attems <max@stro.at>
30116
30117 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30118 New macros.
30119
1c87aba0
L
301202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30121
30122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30123 code so that pseudo_end is just ret and the stack pointer is
30124 correct also for static library in error case.
30125
40e45bd5
JM
301262012-05-23 Joseph Myers <joseph@codesourcery.com>
30127
c2670533
JM
30128 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30129 move to syscalls.list.
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30134
40e45bd5
JM
30135 * manual/install.texi (Running make install): Do not mention Linux
30136 kernel version for which pt_chown is not needed.
30137 (Linux): Do not mention problems with nscd with 2.0 kernels.
30138 * INSTALL: Regenerated.
30139
be08eda5
AJ
301402012-05-23 Andreas Jaeger <aj@suse.de>
30141
30142 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30143 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30144 macro.
30145 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30147 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30149 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30155 * sysdeps/unix/sysv/linux/bits/in.h
30156 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30157
a6a056bb
RM
301582012-05-22 Roland McGrath <roland@hack.frob.com>
30159
30160 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30161 (PREPARE_VERSION): Just use assert instead, it will be elided
30162 under [NDEBUG] anyway.
30163
c9009328
L
301642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30165
30166 * sysdeps/unix/sysv/linux/Makefile: Include
30167 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30168 (sysdep_routines): Remove sysctl.
c9009328
L
30169 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30170 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30171 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30173 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30174
73338355
AJ
301752012-05-22 Andreas Jaeger <aj@suse.de>
30176
30177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30178 that pseudo_end is just ret and the stack pointer is correct also
30179 for static library in error case.
30180
d44638b0
PP
301812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30182
30183 [BZ #14122]
30184 * nss/nsswitch.c (defconfig_entries): New variable.
30185 (__nss_database_lookup): Don't leak defconfig entries.
30186 (nss_parse_service_list): Don't leak on error paths.
30187 (free_database_entries): New function.
30188 (free_defconfig): New function.
30189 (free_mem): Move common code to free_database_entries.
30190
31a39bd8
L
301912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30192
da0331a8
L
30193 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30194 Add arch_prctl.
30195 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30196
31a39bd8
L
30197 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30198 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30200 New macro.
30201 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30202 (INTERNAL_SYSCALL_TYPES): Likewise.
30203 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30204 (LOAD_REGS_TYPES_[1-6]): Likewise.
30205 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30206 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30207
45470df3
AZ
302082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30209
30210 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30211 copysignl for GLIBC_2_0.
30212 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30213 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30215 logbl for GLIBC_2_0.
30216 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30217 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30218
98a61bcb
L
302192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30220
a4f6e481
L
30221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30223
f63d5db6
L
30224 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30225 Use "neg %eax".
30226
98a61bcb
L
30227 * time/mktime.c: Update copyright years.
30228
95770f14
PE
302292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30230
6226efbd
PE
30231 mktime: merge comment-quoting-style change from gnulib
30232 * time/mktime.c: Quote 'like this' in comments.
30233 The GNU coding standards suggest that we no longer quote `like this',
30234 as "`" and "'" are typically rendered asymmetrically nowadays.
30235 The typical gnulib style is to quote 'like this' when quoting
30236 code, and "like this" when quoting English.
30237
b99e4f78
PE
30238 * time/mktime.c (compile-command): Add "-I.".
30239
643e01e6
PE
30240 mktime: merge mktime-internal.h change from gnulib
30241 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30242
2554247d
PE
30243 mktime: merge time_r change from gnulib
30244 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30245
826dd0ab
PE
30246 mktime: merge DEBUG change from gnulib
30247 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30248 case system <time.h> has a #define.
30249
bd83aabe
PE
30250 mktime: merge <sys/types.h> change from gnulib
30251 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30252 since <time.t> is now guaranteed to define time_t.
30253
95770f14
PE
30254 mktime: merge HAVE_CONFIG_H change from gnulib
30255 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30256
5e1a27a9
L
302572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30258
0e44a77e
L
30259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30260 Use "neg %eax".
30261
5e1a27a9
L
30262 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30263 __rlim_t cast.
30264 (struct rusage): Use anonymous union to pad each field to
30265 __syscall_slong_t.
30266
46259bec
DM
302672012-05-21 David S. Miller <davem@davemloft.net>
30268
30269 * Makefules (o-iterator): Remove .s cases.
30270 (compile-command.s): Delete.
30271 (COMPILE.s): Delete.
30272 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30273
59f0c22e
JM
302742012-05-21 Joseph Myers <joseph@codesourcery.com>
30275
30276 * configure.in (libc_cv_predef_stack_protector): Only consider
30277 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30278 * configure: Regenerated.
30279
20c07380
L
302802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30281
bbb3154b
L
30282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30283 New macro. Use R*LP on int and pointer.
30284 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30285 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30286 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30287 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30288
20c07380
L
30289 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30290 [__WORDSIZE_TIME64_COMPAT32] instead of
30291 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30292 (struct utmp): Likewise.
30293 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30294 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30295 Renamed to ...
30296 (__WORDSIZE_TIME64_COMPAT32): This.
30297 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30298 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30299 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30300 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30301 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30302 (__WORDSIZE_TIME64_COMPAT32): New macro.
30303
d8d1017e
AJ
303042012-05-21 Andreas Jaeger <aj@suse.de>
30305
30306 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30307 only if [SHARED]. Add prototype for __wcschr_ia32.
30308
6c7fb145
RM
303092012-05-21 Roland McGrath <roland@hack.frob.com>
30310
30311 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30312 of %rbp unmolested in the jmp_buf while mangling the low bits.
30313 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30314 unmolested high bits of %rbp while demangling the low bits.
30315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30316
66274218
AJ
303172012-05-21 Andreas Jaeger <aj@suse.de>
30318
07c58f8f
AJ
30319 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30320 * sunrpc/svc_simple.c: Use it for registerrpc.
30321 * sunrpc/xcrypt.c: Use it for passwd2des.
30322
66274218
AJ
30323 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30324
61f65140
L
303252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30326
30327 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30328 Don't define if [__SYSCALL_WORDSIZE != 32].
30329 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30330 New macro.
30331
5fefb436
AJ
303322012-05-21 Bruno Haible <bruno@clisp.org>
30333 Andreas Jaeger <aj@suse.de>
30334
30335 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30336 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30337 inptr and inend for must_buffer_ch.
30338 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30339 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30340 * stdio-common/Makefile (tests): Remove bug15.
30341 (bug15-ENV): Remove macro.
30342 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30343 anymore.
30344
d8e272ab
AJ
303452012-05-19 Andreas Jaeger <aj@suse.de>
30346 Roland McGrath <roland@hack.frob.com>
30347
30348 * manual/contrib.texi: Completely rewritten. It contains now an
30349 alphabetical list of contributors and their contributions.
30350
4a56a162
RH
303512012-05-21 Richard Henderson <rth@twiddle.net>
30352
30353 * misc/getauxval.c (__getauxval): Use unsigned long int.
30354 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30355 (getauxval): Use unsigned long int.
30356
d024d23c
L
303572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30358
30359 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30360
cbc00a03
RM
303612012-05-21 Roland McGrath <roland@hack.frob.com>
30362
30363 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30364 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30365 __alignof__ (long double).
30366
478143fa
AZ
303672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30368
30369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30370
c7683a6d
RH
303712012-05-20 Richard Henderson <rth@twiddle.net>
30372
30373 * misc/getauxval.c: New file.
30374 * misc/sys/auxv.h: New file.
30375 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30376 (routines): Add getauxval.
30377 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30378 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30379 * elf/dl-sysdep.c (_dl_auxv): Remove.
30380 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30381 * elf/dl-support.c (_dl_auxv): New variable.
30382 (_dl_aux_init): Initialize it.
30383 * manual/startup.texi (Auxiliary Vector): New node.
30384 * sysdeps/generic/bits/hwcap.h: New file.
30385 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30386 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30387 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30388 * sysdeps/sparc/sysdep.h: ... here. Include it.
30389 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30392 Update.
c7683a6d
RH
30393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30401
a6f1845d
AZ
304022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30403
30404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30405
cbcbe830
DM
304062012-05-19 David S. Miller <davem@davemloft.net>
30407
30408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30409
e0b16cc2
JM
304102012-05-19 Joseph Myers <joseph@codesourcery.com>
30411
30412 [BZ #14123]
30413 * math/s_ccosh.c: Include <float.h>
30414 (__ccosh): Avoid internal overflow calculating sinh and cosh
30415 values before multiplying by sin and cos values.
30416 * math/s_ccoshf.c: Likewise.
30417 * math/s_ccoshl.c: Likewise.
30418 * math/s_csin.c: Likewise.
30419 * math/s_csinf.c: Likewise.
30420 * math/s_csinl.c: Likewise.
30421 * math/s_csinh.c: Likewise.
30422 * math/s_csinhf.c: Likewise.
30423 * math/s_csinhl.c: Likewise.
30424 * math/libm-test.inc (ccos_test): Add more tests.
30425 (ccosh_test): Likewise.
30426 (csin_test): Likewise.
30427 (csinh_test): Likewise.
30428 * sysdeps/i386/fpu/libm-test-ulps: Update.
30429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30430
6ad13e08
L
304312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30432
f66f0ce8
L
30433 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30434 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30435
6ad13e08
L
30436 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30437
b1d072a7
JM
304382012-05-19 Joseph Myers <joseph@codesourcery.com>
30439
30440 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30441 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30442 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30443 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30444 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30445 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30446 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30447 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30448 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30449 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30450 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30451 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30452 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30453 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30454 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30455 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30456 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30457 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30458 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30459 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30460 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30461 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30462 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30463 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30464 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30465 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30466 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30467 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30468 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30469 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30470 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30471
9eae47cb
AJ
304722012-05-18 Andreas Jaeger <aj@suse.de>
30473
30474 * csu/.gitignore: Delete.
30475
bb07f69f
L
304762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30479 (timex): Use __syscall_slong_t.
30480
e6bdb741
AJ
304812012-05-18 Andreas Jaeger <aj@suse.de>
30482 Carlos O'Donell <carlos_odonell@mentor.com>
30483
30484 * manual/install.texi (Configuring and compiling): Update
30485 description about files modified in the source directory.
d6c33fda 30486 * INSTALL: Regenerated.
e6bdb741 30487
1b74487e
L
304882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30489
30490 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30491 value. Use "or" to set return value to -1.
30492 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30493 negate return value.
30494
a88b64b9
TMQMF
304952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30496
57f41c40
AS
30497 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30498 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30499 failure if the compiler has Graphite support disabled.
30500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30501 Likewise.
57f41c40
AS
30502 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30503 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30504 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30505 Likewise.
30506
3707636e
L
305072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30508
610b8622
L
30509 * sysdeps/x86_64/x32/_itoa.h: New file.
30510
7cd195df
L
30511 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30512 getdents system call only if kernel and user dirents have the
30513 same d_ino and d_off.
30514
94b07d20
L
30515 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30516 LLONG_MAX != LONG_MAX.
30517 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30518 (_fitoa_word): Likewise.
30519
18298070
L
30520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30521 years.
30522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30523 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30524 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30525
553c7ea4
L
30526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30527 include <bits/wordsize.h>. Check __x86_64__ instead of
30528 __WORDSIZE.
30529 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30530 if __x86_64__ is defined. Use anonymous union on fpstate.
30531
3707636e
L
30532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30533 anonymous union.
30534
b53ef01a
AS
305352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30536
37fb1dc0
AS
30537 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30538 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30539 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30540 Refer to _rtld_local_ro instead of _rtld_global_ro.
30541 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30542 Likewise.
30543 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30544 Likewise.
30545 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30546 Likewise.
30547 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30548 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30549 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30550
b53ef01a
AS
30551 * sysdeps/powerpc/powerpc32/dl-machine.c
30552 (__elf_machine_runtime_setup) [PROF]: Don't reference
30553 _dl_prof_resolve.
30554
7a185db2
AJ
305552012-05-18 Andreas Jaeger <aj@suse.de>
30556
30557 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30558 function only available for GCCs before 3.4 since GCC 3.4
30559 introduced a builtin.
30560 (lrint): Likewise.
30561 (llrintf): Likewise.
30562 (llrint): Likewise.
30563 (fmaxf): Likewise.
30564 (fmax): Likewise.
30565 (fminf): Likewise.
30566 (fmin): Likewise.
30567 (rint): Likewise.
30568 (rintf): Likewise.
30569 (nearbyint): Likewise.
30570 (nearbyintf): Likewise.
30571 (ceil): Likewise.
30572 (ceilf): Likewise.
30573 (floor): Likewise.
30574 (floorf): Likewise.
30575
3e5aef87
L
305762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30577
428bd707
L
30578 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30579 on both fields and cast pointer to __syscall_ulong_t.
30580
3e5aef87
L
30581 * bits/types.h (__fsword_t): New type.
30582 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30583 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30585 (__FSWORD_T_TYPE): Likewise.
30586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30587 (__FSWORD_T_TYPE): Likewise.
30588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30589 (__FSWORD_T_TYPE): Likewise.
30590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30591 (__FSWORD_T_TYPE): Likewise.
30592 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30593 __SWORD_TYPE with __fsword_t.
30594 (statfs64): Likewise.
30595
1ba7c3dc
DM
305962012-05-17 David S. Miller <davem@davemloft.net>
30597
30598 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30599
59910343
AJ
306002012-05-17 Andreas Jaeger <aj@suse.de>
30601
30602 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30603 warning.
30604
2e4c1e9e
L
306052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30606
30607 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30608
de7f5ce7
AJ
306092012-05-17 Andreas Jaeger <aj@suse.de>
30610
30611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30612 when it is used.
30613
286abc3d
CM
306142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30615
30616 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30617
477cc68e
L
306182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30619
30620 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30621 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30622
1a0994f5
CD
306232012-05-17 Andreas Jaeger <aj@suse.de>
30624 Carlos O'Donell <carlos_odonell@mentor.com>
30625
30626 [BZ #14059]
30627 * sysdeps/x86_64/multiarch/init-arch.h
30628 (bit_YMM_Usable): Rename to...
30629 (bit_AVX_Usable): ... this.
30630 (bit_FMA4_Usable): New macro.
30631 (bit_XMM_state): New macro.
30632 (bit_YMM_state): New macro.
30633 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30634 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30635 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30636 (CPUID_OSXSAVE): New macro.
30637 (CPUID_AVX): New macro.
30638 (CPUID_FMA4): New macro.
30639 (index_YMM_Usable): Rename to...
30640 (index_AVX_Usable): ... this.
30641 (HAS_AVX): Use HAS_ARCH_FEATURE.
30642 (HAS_FMA4): Likewise.
30643 (HAS_YMM_USABLE): Remove.
30644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30645 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30646 are present.
30647 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30648 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30649 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30650 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30651 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30652
0af797de
CM
306532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30654
30655 * math/libm-test.c: Support platforms without multiple rounding modes.
30656 * math/bug-nextafter.c: Support platforms without FP exceptions.
30657 * math/bug-nexttoward.c: Likewise.
30658 * math/test-fenv.c: Likewise.
30659 * math/test-misc.c: Likewise.
30660 * stdlib/bug-getcontext.c: Likewise.
30661
e39745ff
AJ
306622012-05-17 Andreas Jaeger <aj@suse.de>
30663
30664 * manual/examples/search.c (critter_cmp): Change signature to
30665 avoid warnings.
30666 * manual/string.texi (Collation Functions): Likewise.
30667
48970aba
L
306682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30669
30670 * bits/types.h: Fold copyright years.
30671 * bits/typesizes.h: Likewise.
30672 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30676 * time/time.h: Likewise.
30677
bedee953
PP
306782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30679
30680 [BZ #208]
30681 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30682 in instead of returning them. Return void.
30683 (__libc_mallinfo): Accumulate over all arenas.
30684 (__malloc_stats): Adjust for change in int_mallinfo interface.
30685
61653dfb
RM
306862012-05-16 Roland McGrath <roland@hack.frob.com>
30687
30b99d79
RM
30688 [BZ #10375]
30689 * configure.in (NM): Add AC_CHECK_TOOL for it.
30690 (libc_extra_cflags): New substituted variable.
30691 Check for -fstack-protector being used implicitly.
30692 * configure: Regenerated.
30693 * config.make.in (config-extra-cflags): New variable,
30694 gets @libc_extra_cflags@.
30695 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30696
61653dfb
RM
30697 [BZ #10375]
30698 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30699 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30700 * configure: Regenerated.
30701 * config.make.in (CPPUNDEFS): New substituted variable.
30702 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30703 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30704 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30705
661768bb
L
307062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30707
30708 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30709 (mq_attr): Use __syscall_slong_t.
30710
d4261567
L
307112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30712
30713 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30714 Check __x86_64__ instead of __WORDSIZE.
30715 (_STAT_VER_LINUX): Likewise.
30716 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30717 __syscall_ulong_t and __syscall_slong_t.
30718 (stat64): Likewise.
30719
cf3ff365
L
307202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30721
30722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30723
76cf3e4d
L
307242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30725
30726 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30727
a637753a
L
307282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30729
30730 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30731 __syscall_ulong_t.
30732
d5e05119
L
30733 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30734 include <bits/wordsize.h>. Check __x86_64__ instead of
30735 __WORDSIZE.
30736 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30737 defined.
30738 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30739
f62ee380
L
30740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30741 include <bits/wordsize.h>. Check __x86_64__ instead of
30742 __WORDSIZE.
30743 (user_regs_struct): Use "__extension__ unsigned long long"
30744 instead of "unsigned long" if __x86_64__ is defined.
30745 (user): Likewise. Pad after pointer field if __ILP32__ is
30746 defined.
30747
4e124ced
JM
307482012-05-16 Joseph Myers <joseph@codesourcery.com>
30749
6a3951a0
JM
30750 * configure.in (makeinfo): Require version 4.5 or later. Allow
30751 versions 5 to 9.
30752 * configure: Regenerated.
30753 * manual/install.texi (texinfo): Increase version requirement to
30754 4.5 or later.
30755 * INSTALL: Regenerated.
30756
4e124ced
JM
30757 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30758
953ca31a
L
307592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30760
30761 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30762
617aca05
L
30763 * sysdeps/x86_64/x32/ffs.c: New file.
30764
5762f7ae
L
30765 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30766 __syscall_ulong_t.
30767 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30768 defined. Use __syscall_ulong_t.
30769 (shminfo): Use __syscall_ulong_t.
30770 (shm_info): Likewise.
30771
a26b6856
L
30772 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30773 __syscall_ulong_t.
30774
cb2b9ef7
L
30775 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30776 <bits/wordsize.h>.
30777 (msgqnum_t): Use __syscall_ulong_t.
30778 (msglen_t): Likewise.
30779 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30780 __syscall_ulong_t.
30781
34683bb0
L
30782 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30784
84a68786
L
30785 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30786
48baa5f1
L
30787 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30788 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30789
180be88b
L
30790 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30791 __syscall_slong_t.
30792
5e90c8ad
L
30793 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30794 include <bits/wordsize.h>. Check __x86_64__ instead of
30795 __WORDSIZE.
30796
23dfb58b
L
30797 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30798 "unsigned long long int" if __x86_64__ is defined.
30799 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30800
ce5d54b0
L
30801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30802 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30803 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30804
13dc9eac
L
30805 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30806 <stdint.h>.
30807 (GET_PC): Cast to uintptr_t first.
30808 (GET_FRAME): Likewise.
30809 (GET_STACK): Likewise.
30810
a7895d15
L
30811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30814 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30817 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30819 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30821 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30824 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30825 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30826 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30827 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30828 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30829 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30840
656416c9
AS
308412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30842
5bd66283
AS
30843 * Makerules (+depfiles): Also collect depfiles from .oS in
30844 $(extra-objs).
30845 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30846 .oS, $(libnldbl-routines)).
30847
656416c9
AS
30848 * Makerules (native-compile-mkdep-flags): Define.
30849 * sunrpc/Makefile (extra-objs): Add $(addprefix
30850 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30851 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30852 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30853 calling $(make-target-directory).
30854
a46f2169
L
308552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30856
30857 * bits/types.h (__snseconds_t): Removed.
30858 * time/time.h (struct timespec): Replace __snseconds_t with
30859 __syscall_slong_t.
30860 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30861 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30862 Likewise.
30863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30864 (__SNSECONDS_T_TYPE): Likewise.
30865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30866 (__SNSECONDS_T_TYPE): Likewise.
30867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30868 (__SNSECONDS_T_TYPE): Likewise.
30869
6af6528b
L
308702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30871
30872 * sysdeps/mach/hurd/bits/typesizes.h
30873 (__SYSCALL_SLONG_TYPE): New macro.
30874 (__SYSCALL_ULONG_TYPE): Likewise.
30875
de986b56
L
308762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30877
30878 * bits/types.h (__syscall_slong_t): New type.
30879 (__syscall_ulong_t): Likewise.
30880
30881 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30882 (__SYSCALL_ULONG_TYPE): Likewise.
30883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30884 (__SYSCALL_SLONG_TYPE): Likewise.
30885 (__SYSCALL_ULONG_TYPE): Likewise.
30886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30887 (__SYSCALL_SLONG_TYPE): Likewise.
30888 (__SYSCALL_ULONG_TYPE): Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30890 (__SYSCALL_SLONG_TYPE): Likewise.
30891 (__SYSCALL_ULONG_TYPE): Likewise.
30892
85736dc7
L
308932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30894
30895 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30896 Add sigaltstack-offsets.sym.
30897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30898 <sigaltstack-offsets.h>.
30899 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30900 longjmp_msg pointer.
30901 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30902 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30903 signal stack.
30904 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30905
cc03b296
JM
309062012-05-15 Joseph Myers <joseph@codesourcery.com>
30907
a9538892
JM
30908 * elf/stackguard-macros.h: Remove file.
30909 * sysdeps/generic/stackguard-macros.h: New file.
30910 * sysdeps/i386/stackguard-macros.h: Likewise.
30911 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30912 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30913 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30914 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30915 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30916 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30917 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30918 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30919 <elf/stackguard-macros.h>.
30920
cc03b296
JM
30921 [BZ #14109]
30922 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30923 __aligned__ in attribute.
30924 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30925 (gregset_t): Likewise.
30926
93171016
L
309272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30928
30929 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30930 * sysdeps/x86_64/64/Implies-after: Here. New file.
30931 * sysdeps/x86_64/x32/Implies-after: New file.
30932
d86813a0
L
309332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30934
30935 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30936 and access return value for _dl_profile_fixup. Use R10_LP to
30937 load frame size.
30938
2953ec75
L
309392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30942
3b550e9e
L
309432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30944
30945 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30946 * sysdeps/x86_64/x32/sysdep.h: New file.
30947
eda41706
L
309482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30949
30950 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30951 * sysdeps/x86_64/setjmp.S: Likewise.
30952
9ea01d93
AZ
309532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30954
30955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30957 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30958 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30959 remove unused global constant.
30960
02a91938
CM
309612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30962
30963 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30964 include of <not-cancel.h>.
30965
6540185f
RM
309662012-05-15 Roland McGrath <roland@hack.frob.com>
30967
30968 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30969
509072a0
AJ
309702012-05-15 Jeff Law <law@redhat.com>
30971 Andreas Jaeger <aj@suse.de>
30972
30973 [BZ #13594]
30974 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30975 out from...
30976 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30977 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30978 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30979 code changing __hst_map_handle.map.
30980
ba75122d
RM
309812012-05-15 Roland McGrath <roland@hack.frob.com>
30982
30983 * configure.in (sysnames): Look for Implies-before and Implies-after
30984 files.
30985 * configure: Regenerated.
30986
890d8bd8
L
309872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30988
30989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30990 8-byte data alignment with LP_SIZE alignment.
30991
f6ee6623
L
309922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30993
30994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30995 into R10_LP.
30996
ea2626f6
L
309972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31000
085f715e
L
310012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31002
31003 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31004 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31006 Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31008
be8498fc
L
310092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31010
31011 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31012 (stackinfo_sub_sp): Likewise.
31013
70bc83b9
L
310142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31017 RAX_LP.
31018
9bc0b730
L
310192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31022 into R*_LP.
31023
6d2850e7
L
310242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31025
31026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31027 sizes into R*_LP.
31028
3cb84561
L
310292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31032
54e2ed81
L
310332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31034
31035 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31036 into R11_LP and load __x86_64_shared_cache_size_half into
31037 R8_LP.
31038
8a17f349
L
310392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31042 R8_LP.
31043
777b1eea
AZ
310442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31045
31046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31047 logb for POWER7.
31048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31049 logbf for POWER7.
31050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31051 logbl for POWER7.
31052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31053 powerpc32/power7/fpu/s_logb.c via #include.
31054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31055 powerpc32/power7/fpu/s_logbf.c via #include.
31056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31057 powerpc32/power7/fpu/s_logbl.c via #include.
31058
d20d4ac2
JM
310592012-05-15 Joseph Myers <joseph@codesourcery.com>
31060
31061 * README.libm: Remove file.
31062
6cdef1ab
L
310632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31066 count for x32. Use R*_LP and omit operand-size suffix.
31067
0b254d8f
L
310682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31069
31070 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31071 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31072 * sysdeps/x86_64/x32/shlib-versions: New file.
31073
ceb809dc
RM
310742012-05-14 Roland McGrath <roland@hack.frob.com>
31075
31076 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31077 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31078 Use _dl_fatal_printf instead.
31079
37f1abd4
JM
310802012-05-14 Joseph Myers <joseph@codesourcery.com>
31081
31082 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31083 set if not set by the user. Do not allow for being unset.
31084 * sysdeps/unix/sysv/linux/configure: Regenerated.
31085
11de3a33
L
310862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31087
31088 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31089 the `q' suffix from lea and replace .quad with ASM_ADDR.
31090
e02f153a
L
310912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31092
31093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31094 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31095 instead of $17.
31096 (PTR_DEMANGLE): Likewise.
31097
520ae0fd
L
310982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31099
31100 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31101 (LP_OP): Likewise.
31102 (ASM_ADDR): Likewise.
31103 (RAX_LP): Likewise.
31104 (RBP_LP): Likewise.
31105 (RBX_LP): Likewise.
31106 (RCX_LP): Likewise.
31107 (RDI_LP): Likewise.
31108 (RSI_LP): Likewise.
31109 (RSP_LP): Likewise.
31110 (R8_LP): Likewise.
31111 (R9_LP): Likewise.
31112 (R10_LP): Likewise.
31113 (R10_LP): Likewise.
31114 (R11_LP): Likewise.
31115 (R12_LP): Likewise.
31116 (R13_LP): Likewise.
31117 (R14_LP): Likewise.
31118 (R15_LP): Likewise.
31119
b985be81
L
311202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31121
31122 * sysdeps/x86_64/x32/dl-machine.h: New file.
31123
6a4888ff
AJ
311242012-05-14 Andreas Jaeger <aj@suse.de>
31125
31126 * manual/Makefile (subdir): Remove export of subdir.
31127 (all): Remove target.
31128 (.PHONY): Remove all from list.
31129 (mkinstalldirs): Remove.
31130 (.PHONY): Remove installdirs from list.
31131 ($(inst_infodir)/libc.info): Use make-target-directory.
31132 (installdirs): Remove.
31133 (subdir_%): Remove.
31134 (glibc-targets): Remove.
31135 (lib): Remove.
31136 (stubs): Remove.
31137 ($(objpfx)stubs ../po/manual.pot): Remove.
31138 ($(objpfx)stamp%): Remove.
31139 (make-target-directory): Remove.
31140 (subdir_install): Remove.
31141 (routines): Remove.
31142 (aux): Remove.
31143 (sources): Remove.
31144 (objects): Remove.
31145 (headers): Remove.
31146
31147 [BZ #13750]
31148 * manual/.gitignore: Remove, it's not needed anymore.
31149 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31150 all files in it.
31151 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31152 directory.
31153 (texis): Renamed to $(objpfx)texis.
31154 (texis-path): New, contains path to generated files.
31155 (chapters.%): Use texis-path for complete path, add extra argument
31156 libc-texinfo.sh.
31157 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31158 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31159 (summary,texi, stamp-summary): Use complete path of
31160 files. Generate files in build dir.
31161 (dir-add.texi): Build in build dir.
31162 (libm-err.texi,stamp-libm-err): Likewise.
31163 (version.texi, stamp-version): Likewise.
31164 (.%c.texi): Likewise.
31165 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31166 (mostlyclean): Remove target.
31167 (realclean): Remove target.
31168 (generated): Add new variable with contents from mostlyclean and
31169 realclean, remove entries duplicated in common-mostlyclean, add
31170 stamp-libm-err and stamp-version.
31171 (generated-dirs): Add libc directory.
31172 ($(inst_infodir)/libc.info): Install files from build dir.
31173
31174 * manual/install.texi (Configuring and compiling): Adjust since
31175 the info files are not part of the tar ball anymore.
31176
7ac77294
AJ
311772012-05-14 Andreas Jaeger <aj@suse.de>
31178
31179 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31180 variable.
31181
ffb7875d
JM
311822012-05-14 Joseph Myers <joseph@codesourcery.com>
31183
31184 [BZ #13717]
31185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31186 to 2.2.0 where earlier.
31187 * sysdeps/unix/sysv/linux/configure: Regenerated.
31188 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31189 Remove conditional code.
31190 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31191 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31192 Remove conditional code.
31193 [!__NR_lchown]: Likewise.
31194 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31195 [__NR_lchown]: Likewise.
31196 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31197 comment referencing __ASSUME_LCHOWN_SYSCALL.
31198 * sysdeps/unix/sysv/linux/i386/sigaction.c
31199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31201 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31202 Remove conditional code.
31203 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31204 (__protocol_available): Remove #if 0 code.
31205 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31206 conditional code.
31207 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31208 * sysdeps/unix/sysv/linux/kernel-features.h
31209 (__ASSUME_GETCWD_SYSCALL): Don't define.
31210 (__ASSUME_REALTIME_SIGNALS): Likewise.
31211 (__ASSUME_PREAD_SYSCALL): Likewise.
31212 (__ASSUME_PWRITE_SYSCALL): Likewise.
31213 (__ASSUME_POLL_SYSCALL): Likewise.
31214 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31215 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31216 non-SPARC.
31217 (__ASSUME_SIOCGIFNAME): Don't define.
31218 (__ASSUME_MSG_NOSIGNAL): Likewise.
31219 (__ASSUME_SENDFILE): Define unconditionally.
31220 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31221 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31222 conditional code.
31223 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31224 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31225 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31226 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31227 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31228 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31229 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31254 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31255 Remove conditional code.
31256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31257 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31258 Remove conditional code.
31259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31260 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31261 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31262 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31263 Remove conditional code.
31264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31265 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31266 Remove conditional code.
31267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31268 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31269 Remove conditional code.
31270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31271 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31272 Remove conditional code.
31273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31274 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31275 Remove conditional code.
31276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31277 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31278 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31280 * sysdeps/unix/sysv/linux/sigaction.c
31281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31283 * sysdeps/unix/sysv/linux/sigpending.c
31284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31286 * sysdeps/unix/sysv/linux/sigprocmask.c
31287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31289 * sysdeps/unix/sysv/linux/sigsuspend.c
31290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31293 (__libc_missing_rt_sigs): Remove.
31294 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31295 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31296 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31297 Remove conditional code.
31298 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31299 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31300 return 1.
31301 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31302 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31303 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31304 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31305
1bfb7291
AJ
313062012-05-14 Andreas Jaeger <aj@suse.de>
31307
caae5a81
AJ
31308 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31309 it's not used in glibc.
31310 (__coshm1): Likewise.
31311 (__acosh1p): Likewise.
31312 (__sgn): Likewise.
31313
1bfb7291
AJ
31314 * manual/string.texi (Copying and Concatenation): Add missing
31315 variable in concat example.
31316 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31317
c044d724
L
313182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31319
144c5467 31320 [BZ #14103]
c044d724
L
31321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31322 __builtin_clzl with __builtin_clzll.
31323
2523c62b
L
313242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31325
31326 [BZ #14104]
31327 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31328 libc_freeres_ptr.
31329
d7bb4c42
LD
313302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31331
31332 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31333 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31334 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31335 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31336
9dc4e1fb
MF
313372012-05-14 Mike Frysinger <vapier@gentoo.org>
31338
31339 * NEWS: Update ia64 info.
31340
c7df0112
AS
313412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31342
31343 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31344 used as bcopy.
31345
dc70356c
TS
313462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31347
31348 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31349 * sysdeps/unix/syscalls.list (dup3): Likewise.
31350 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31351 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31352
9fb1a21f
L
313532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31356 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31357
4822a2a5
L
313582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31361 thread pointer.
31362 (TLS_IE): Use mov/add instead of movq/addq to load thread
31363 pointer.
31364 (TLS_GD_PREFIX): New.
31365 (TLS_GD): Use it.
31366
842b81d6
DM
313672012-05-11 David S. Miller <davem@davemloft.net>
31368
31369 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31370 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31371 (_FPU_SETCW): Likewise.
31372
1cf463cd
L
313732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31376 is 32-byte aligned.
31377
60cc4a18
AS
313782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31379
31380 [BZ #11837]
31381 * iconvdata/gb18030.c: Update tables.
31382 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31383 characters specially.
31384 (BODY for TO_LOOP): Add encoding of missing ranges.
31385
febb44a4
TS
313862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31387
31388 [BZ #13673]
31389 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31390 * sysdeps/mach/hurd/dup3.c: Likewise.
31391 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31392 * sysdeps/powerpc/memmove.c:: Likewise.
31393
0a10fb9e
L
313942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31395
31396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31397 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31398
df8a552f
L
313992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31400
31401 * elf/elf.h (R_X86_64_RELATIVE64): New.
31402 (R_X86_64_NUM): Updated.
31403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31404 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31405 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31406 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31407 tst-quad1pie tst-quad2pie
31408 (modules-names): Add tst-quadmod1 tst-quadmod2.
31409 ($(objpfx)tst-quad1): New dependency.
31410 ($(objpfx)tst-quad2): Likewise.
31411 ($(objpfx)tst-quad1pie): Likewise.
31412 ($(objpfx)tst-quad2pie): Likewise.
31413 * sysdeps/x86_64/tst-quad1.c: New file.
31414 * sysdeps/x86_64/tst-quad1pie.c: New file.
31415 * sysdeps/x86_64/tst-quad2.c: Likewise.
31416 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31417 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31418 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31419 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31420 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31421
f34d6f84
ST
314222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31423
f42d41d1
ST
31424 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31425 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31426 * streams/stropts.h (t_scalar_t): Define type.
31427
3c3571fc
ST
31428 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31429 (_PATH_PRESERVE): Set to "/var/lib".
31430 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31431
61f06bd3
ST
31432 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31433 instead of int.
31434
918d4d71
ST
31435 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31436 if __dir_mkfile succeeded.
31437
f34d6f84
ST
31438 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31439 checking for _hurd_dtablesize. Unlock it right after having
31440 finished _hurd_dtable allocation.
31441
10589b4a
TS
314422012-05-10 Thomas Schwinge <thomas@schwinge.name>
31443
674cdbc7
TS
31444 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31445 * sysdeps/mach/hurd/configure: Regenerated.
31446 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31447 special-casing to...
31448 * sysdeps/gnu/configure.in: ... this new file.
31449 * sysdeps/unix/sysv/linux/configure: Regenerated.
31450 * sysdeps/gnu/configure: New generated file.
31451
8e41b99f
TS
31452 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31453 for Linux: use nsec instead of usec, as well as:
31454 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31455 members of type struct timespec.
31456 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31457 New macros.
31458 (struct stat64): Likewise.
31459 (_STATBUF_ST_NSEC): New macro.
31460 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31461
10589b4a
TS
31462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31463 __strtoul_internal rather than strtoul.
31464
63643c85
PT
314652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31466
31467 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31468 and reject them.
31469
3faebe6a
ST
314702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31471
31472 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31473 which preserves existing values.
31474 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31475
c6474b07
PT
314762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31477
31478 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31479 TIMEOUT values. Return EINVAL for NFDS values either negative or
31480 greater than FD_SETSIZE.
31481
1043890b
ST
314822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31483
31484 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31485 allocated, call __vm_protect to finish enabling the existing space, and
31486 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31487 allocate the remainder.
31488
37ed8b9b
PT
314892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31490
31491 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31492 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31493
db653660
ST
314942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31495
37ed8b9b
PT
31496 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31497 sysdeps/mach/hurd/readlink.c.
b29d4053 31498
db653660
ST
31499 * posix/tst-sysconf.c (posix_options): Only use
31500 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31501 _POSIX_SYNCHRONIZED_IO when they are defined
31502 * sysdeps/mach/hurd/bits/posix_opt.h:
31503 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31504 (_XOPEN_REALTIME): Undefine macro.
31505 (_XOPEN_REALTIME_THREADS): Undefine macro.
31506 (_XOPEN_SHM): Undefine macro.
31507 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31508 macro to -1.
31509 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31510 macro to -1.
31511 (_POSIX_ASYNC_IO): Undefine macro.
31512 (_POSIX_PRIORITIZED_IO): Undefine macro.
31513 (_POSIX_SPIN_LOCKS): Define macro to -1.
31514
ee16e894
ST
31515 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31516 SA_NODEFER, SA_RESETHAND.
31517 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31518 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31519 F_DUPFD_CLOEXEC.
31520
6103ae3b
TS
315212012-05-10 Thomas Schwinge <thomas@schwinge.name>
31522
31523 * elf/Makefile (pldd-modules): Define unconditionally.
31524
80b4e5f3
TS
315252012-05-10 Thomas Schwinge <thomas@schwinge.name>
31526
31527 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31528
edadcbd6
ST
315292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31530
31531 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31532 Return ENOENT when name is empty.
31533 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31534
80694780
TS
315352012-05-10 Thomas Schwinge <thomas@schwinge.name>
31536
1792c087
TS
31537 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31538
80694780
TS
31539 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31540
6b645f0d
ST
315412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31542
80694780
TS
31543 Fix mlock in all cases except non-readable pages.
31544 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31545 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31546
6b645f0d
ST
31547 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31548 (__mkdir): When path is `/', just fail with EEXIST.
31549 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31550
e468f8a3
TS
315512012-05-10 Thomas Schwinge <thomas@schwinge.name>
31552
31553 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31554 <sys/uio.h> (for writev).
31555 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31556 and <sys/param.h> (for MIN).
31557
a4186cff
PT
315582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31559
31560 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31561 REQUESTED_TIME. Properly set the remaining time and return EINTR
31562 if interrupted.
31563
510bbf14
TS
315642012-05-10 Thomas Schwinge <thomas@schwinge.name>
31565
31566 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31567 Depend on against $(link-rpcuserlibs).
31568
5d5722e8
ST
315692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31570
a4186cff
PT
31571 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31572 (__libc_stack_end): Do not use attribute_relro.
31573 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31574 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31575 to libthread-provided value.
a4186cff
PT
31576 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31577 attribute_relro.
5d5722e8 31578
37233df9
TS
315792012-05-10 Thomas Schwinge <thomas@schwinge.name>
31580
be971a2b
TS
31581 [BZ #3748]
31582 * bits/libc-lock.h (__libc_once_get): New macro.
31583 * sysdeps/mach/bits/libc-lock.h: Likewise.
31584 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31585 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31586 instead of using implementation details.
31587
37233df9
TS
31588 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31589 * libio/freopen.c: Likewise.
31590 * libio/freopen64.c: Likewise.
31591 * misc/syslog.c: Likewise.
31592 * nscd/connections.c: Likewise.
31593 * nscd/netgroupcache.c: Likewise.
31594 * sysdeps/posix/getcwd.c: Likewise.
31595
38de94a5
RM
315962012-05-10 Roland McGrath <roland@hack.frob.com>
31597
31598 * math/w_ilogbf.c: Add #include <limits.h>.
31599
67530489
ST
316002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31601
a4186cff 31602 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31603 path instead of returning without unlocking.
31604
67530489
ST
31605 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31606 immediate-write ioctls.
31607 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31608
5aa3a74a
TS
316092012-05-10 Thomas Schwinge <thomas@schwinge.name>
31610
18bad2ae
TS
31611 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31612 __builtin_frame_address instead of making assumptions about the
31613 location of the return address relative to DATA. Force early load of
31614 the return address.
31615 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31616 __builtin_frame_address.
31617
5aa3a74a
TS
31618 dup3 for GNU Hurd.
31619 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31620 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31621 implement dup3 and do some further code clean-ups.
31622 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31623 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31624
ecd0de9a
ST
316252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31626
cd9fa985
ST
31627 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31628
a4186cff
PT
31629 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31630 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31631 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31632 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31633 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31634 d->port.lock.
802ca5a5 31635
a4186cff
PT
31636 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31637 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31638 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31639
bcf55240
TS
316402012-05-10 Thomas Schwinge <thomas@schwinge.name>
31641
6960eb42
TS
31642 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31643 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31644 definitions.
31645
eb43375f
TS
31646 accept4 for GNU Hurd.
31647 * include/sys/socket.h (__libc_accept4): New prototype.
31648 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31649 to implement __libc_accept4.
31650 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31651 __libc_accept4.
31652 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31653
bcf55240
TS
31654 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31655 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31656 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31657 signal-defines.sym.
31658
6178c55b
ST
316592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31660
a4186cff 31661 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31662
6f080c2f
TS
316632012-05-10 Thomas Schwinge <thomas@schwinge.name>
31664
31665 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31666 assertion on O_CLOEXEC flag.
31667 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31668 * hurd/intern-fd.c: Likewise.
31669 * hurd/port2fd.c: Likewise.
31670
bcfe3a54
ST
316712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31672
31673 [BZ #3906]
31674 * bits/in.h (IPV6_PKTINFO): Define new macro.
31675 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31676
89c9aa49
AZ
316772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31678
31679 [BZ #13954]
31680 [BZ #13955]
31681 [BZ #13956]
31682 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31684 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31685 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31687 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31688 * math/libm-test.inc (logb_test) : Additional logb tests.
31689
021db4be
AJ
316902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31691 Andreas Jaeger <aj@suse.de>
31692
31693 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31694 * configure: Regenerated.
31695 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31696 * config.make.in (link-obsolete-rpc): New substituted variable.
31697 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31698 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31699 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31700 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31701 so that libc.a contains the symbols.
31702 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31703 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31704 * sunrpc/auth_none.c: Likewise.
31705 * sunrpc/auth_unix.c: Likewise.
31706 * sunrpc/authdes_prot.c: Likewise.
31707 * sunrpc/authuxprot.c: Likewise.
31708 * sunrpc/clnt_gen.c: Likewise.
31709 * sunrpc/clnt_perr.c: Likewise.
31710 * sunrpc/clnt_raw.c: Likewise.
31711 * sunrpc/clnt_simp.c: Likewise.
31712 * sunrpc/clnt_tcp.c: Likewise.
31713 * sunrpc/clnt_udp.c: Likewise.
31714 * sunrpc/clnt_unix.c: Likewise.
31715 * sunrpc/des_crypt.c: Likewise.
31716 * sunrpc/des_soft.c: Likewise.
31717 * sunrpc/get_myaddr.c: Likewise.
31718 * sunrpc/key_call.c: Likewise.
31719 * sunrpc/key_prot.c: Likewise.
31720 * sunrpc/netname.c: Likewise.
31721 * sunrpc/pm_getmaps.c: Likewise.
31722 * sunrpc/pm_getport.c: Likewise.
31723 * sunrpc/pmap_clnt.c: Likewise.
31724 * sunrpc/pmap_prot.c: Likewise.
31725 * sunrpc/pmap_prot2.c: Likewise.
31726 * sunrpc/pmap_rmt.c: Likewise.
31727 * sunrpc/publickey.c: Likewise.
31728 * sunrpc/rpc_cmsg.c: Likewise.
31729 * sunrpc/rpc_common.c: Likewise.
31730 * sunrpc/rpc_dtable.c: Likewise.
31731 * sunrpc/rpc_prot.c: Likewise.
31732 * sunrpc/rpc_thread.c: Likewise.
31733 * sunrpc/rtime.c: Likewise.
31734 * sunrpc/svc.c: Likewise.
31735 * sunrpc/svc_auth.c: Likewise.
31736 * sunrpc/svc_raw.c: Likewise.
31737 * sunrpc/svc_run.c: Likewise.
31738 * sunrpc/svc_tcp.c: Likewise.
31739 * sunrpc/svc_udp.c: Likewise.
31740 * sunrpc/svc_unix.c: Likewise.
31741 * sunrpc/svcauth_des.c: Likewise.
31742 * sunrpc/xcrypt.c: Likewise.
31743 * sunrpc/xdr.c: Likewise.
31744 * sunrpc/xdr_array.c: Likewise.
31745 * sunrpc/xdr_float.c: Likewise.
31746 * sunrpc/xdr_intXX_t.c: Likewise.
31747 * sunrpc/xdr_mem.c: Likewise.
31748 * sunrpc/xdr_rec.c: Likewise.
31749 * sunrpc/xdr_ref.c: Likewise.
31750 * sunrpc/xdr_sizeof.c: Likewise.
31751 * sunrpc/xdr_stdio.c: Likewise.
31752
b5c086a2
RM
317532012-05-10 Roland McGrath <roland@hack.frob.com>
31754
31755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31756 change. Update copyright years.
31757
6d74dd09
JM
317582012-05-10 Joseph Myers <joseph@codesourcery.com>
31759
31760 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31761
28e72501
MK
317622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31763 Joseph Myers <joseph@codesourcery.com>
31764 Paul Pluzhnikov <ppluzhnikov@google.com>
31765
31766 [BZ #14012]
31767 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31768 requiring rpcgen.
31769 [cross-compiling] (extra-libs): Likewise.
31770 [cross-compiling] (extra-libs-others): Likewise.
31771 [cross-compiling] (librpcsvc-routines): Likewise.
31772 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31773 [cross-compiling] (omit-deps): Likewise.
31774 (sunrpc-CPPFLAGS): New variable.
31775 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31776 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31777 (cross-rpcgen-objs): New variable.
31778 (extra-objs): Append $(cross-rpcgen-objs).
31779 ($(cross-rpcgen-objs)): New rule.
31780 ($(objpfx)cross-rpcgen): Likewise.
31781 (rpcgen-cmd): Define to use $(built-program-file). Expand
31782 comment.
31783 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31784 ($(objpfx)x%.stmp): Likewise.
31785 * sunrpc/proto.h [IS_IN_build] (_): Define.
31786 [IS_IN_build] (_libc_intl_domainname): Likewise.
31787
c8c59454
L
317882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31791 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31792 and R_X86_64_TPOFF64.
31793
6f27cd16
JM
317942012-05-10 Joseph Myers <joseph@codesourcery.com>
31795
31796 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31797 sysdeps/unix/sysv/syscalls.list.
31798 (stime): Likewise.
31799 (utime): Likewise.
31800 * sysdeps/unix/sysv/syscalls.list: Remove file.
31801
02467e1c
PE
318022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31803
31804 [BZ #3440]
31805 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31806 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31807 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31808 (__LC_IDENTIFICATION): Make these macros useful in #if
31809 expressions, as required by C99.
31810
da392631
AS
318112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31812
31813 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31814 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31815 after this.
31816
8115f29b
L
318172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31818
31819 * stdlib/longlong.h: Updated from GCC.
31820
bdd74070
AJ
318212012-05-09 Andreas Jaeger <aj@suse.de>
31822
edfe0dbe
AJ
31823 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31824 default is first entry.
31825 (run_mode): Set type.
31826 (main): Remove informal message about syslog.
31827 (options): Fix typo.
31828
bcfe3a54
ST
31829 [BZ #14053]
31830 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31831 to asm.
bcfe3a54
ST
31832 (lrint): Likewise.
31833 (llrintf): Likewise.
31834 (llrint): Likewise.
31835 (rint): Likewise.
31836 (rintf): Likewise.
31837 (nearbyint): Likewise.
31838 (nearbyintf): Likewise.
bdd74070 31839
91d8d69e
AJ
318402012-05-09 Andreas Jaeger <aj@suse.de>
31841 Pedro Alves <palves@redhat.com>
31842
31843 * nscd/nscd.c (run_mode): Use enum.
31844 (main): Cleanup coding style issue.
31845
bb90b80b
AJ
318462012-05-09 Alexandre Oliva <aoliva@redhat.com>
31847 Andreas Jaeger <aj@suse.de>
31848
bcfe3a54
ST
31849 * nscd/nscd.c (go_background): Replaced with...
31850 (run_mode): ... this.
bb90b80b 31851 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31852 (options): Add -F --foreground.
31853 (main): Implement it.
31854 (parse_opt): Parse it.
bb90b80b 31855
1a4b75a1
AJ
318562012-05-09 Andreas Jaeger <aj@suse.de>
31857
31858 [BZ #14083]
31859 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31860 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31861 -Wconversion warning.
31862 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31863 Likewise.
31864
b1cc2472
JM
318652012-05-09 Joseph Myers <joseph@codesourcery.com>
31866
31867 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31868 == 0.
31869 (LC_ALL): Use macro-int-constant.
31870 (LC_COLLATE): Likewise.
31871 (LC_CTYPE): Likewise.
31872 (LC_MESSAGES): Likewise.
31873 (LC_MONETARY): Likewise.
31874 (LC_NUMERIC): Likewise.
31875 (LC_TIME): Likewise.
31876 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31877 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31879 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31880 Specify type.
31881 [C99-based standards] (float_t): Expect type.
31882 [C99-based standards] (double_t): Expect type.
31883 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31884 type.
31885 [C99-based standards] (HUGE_VALL): Likewise.
31886 [C99-based standards] (INFINITY): Likewise.
31887 [C99-based standards] (NAN): Likewise.
31888 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31889 [C99-based standards] (FP_NAN): Likewise.
31890 [C99-based standards] (FP_NORMAL): Likewise.
31891 [C99-based standards] (FP_SUBNORMAL): Likewise.
31892 [C99-based standards] (FP_ZERO): Likewise.
31893 [C99-based standards] (FP_FAST_FMA): Use
31894 optional-macro-int-constant. Specify type. Require == 1.
31895 [C99-based standards] (FP_FAST_FMAF): Likewise.
31896 [C99-based standards] (FP_FAST_FMAL): Likewise.
31897 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31898 [C99-based standards] (FP_ILOGBNAN): Likewise.
31899 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31900 Specify type.
31901 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31902 [C99-based standards] (math_errhandling): Specify type.
31903 [ISO99 || ISO11] (signgam): Do not allow.
31904 [non-C99-based standards] (copysignf): Do not allow.
31905 [non-C99-based standards] (exp2f): Likewise.
31906 [non-C99-based standards] (log2f): Likewise.
31907 [non-C99-based standards] (modff): Allow.
31908 [non-C99-based standards] (erff): Do not allow.
31909 [non-C99-based standards] (erfcf): Likewise.
31910 [non-C99-based standards] (gammaf): Likewise.
31911 [non-C99-based standards] (hypotf): Likewise.
31912 [non-C99-based standards] (j0f): Likewise.
31913 [non-C99-based standards] (j1f): Likewise.
31914 [non-C99-based standards] (jnf): Likewise.
31915 [non-C99-based standards] (lgammaf): Likewise.
31916 [non-C99-based standards] (tgammaf): Likewise.
31917 [non-C99-based standards] (y0f): Likewise.
31918 [non-C99-based standards] (y1f): Likewise.
31919 [non-C99-based standards] (ynf): Likewise.
31920 [non-C99-based standards] (isnanf): Likewise.
31921 [non-C99-based standards] (acoshf): Likewise.
31922 [non-C99-based standards] (asinhf): Likewise.
31923 [non-C99-based standards] (atanhf): Likewise.
31924 [non-C99-based standards] (cbrtf): Likewise.
31925 [non-C99-based standards] (expm1f): Likewise.
31926 [non-C99-based standards] (ilogbf): Likewise.
31927 [non-C99-based standards] (log1pf): Likewise.
31928 [non-C99-based standards] (logbf): Likewise.
31929 [non-C99-based standards] (nextafterf): Likewise.
31930 [non-C99-based standards] (remainderf): Likewise.
31931 [non-C99-based standards] (rintf): Likewise.
31932 [non-C99-based standards] (scalbf): Likewise.
31933 [non-C99-based standards] (copysignl): Likewise.
31934 [non-C99-based standards] (exp2l): Likewise.
31935 [non-C99-based standards] (log2l): Likewise.
31936 [non-C99-based standards] (modfl): Allow.
31937 [non-C99-based standards] (erfl): Do not allow.
31938 [non-C99-based standards] (erfcl): Likewise.
31939 [non-C99-based standards] (gammal): Likewise.
31940 [non-C99-based standards] (hypotl): Likewise.
31941 [non-C99-based standards] (j0l): Likewise.
31942 [non-C99-based standards] (j1l): Likewise.
31943 [non-C99-based standards] (jnl): Likewise.
31944 [non-C99-based standards] (lgammal): Likewise.
31945 [non-C99-based standards] (tgammal): Likewise.
31946 [non-C99-based standards] (y0l): Likewise.
31947 [non-C99-based standards] (y1l): Likewise.
31948 [non-C99-based standards] (ynl): Likewise.
31949 [non-C99-based standards] (isnanl): Likewise.
31950 [non-C99-based standards] (acoshl): Likewise.
31951 [non-C99-based standards] (asinhl): Likewise.
31952 [non-C99-based standards] (atanhl): Likewise.
31953 [non-C99-based standards] (cbrtl): Likewise.
31954 [non-C99-based standards] (expm1l): Likewise.
31955 [non-C99-based standards] (ilogbl): Likewise.
31956 [non-C99-based standards] (log1pl): Likewise.
31957 [non-C99-based standards] (logbl): Likewise.
31958 [non-C99-based standards] (nextafterl): Likewise.
31959 [non-C99-based standards] (remainderl): Likewise.
31960 [non-C99-based standards] (rintl): Likewise.
31961 [non-C99-based standards] (scalbl): Likewise.
31962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31963 [non-C99-based standards] (FP_*): Do not allow.
31964 [C99-based standards] (FP_*): Change to
31965 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31966 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31967 allow.
31968 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31969 (SIG_ERR): Likewise.
31970 [X/Open-based standards] (SIG_HOLD): Likewise.
31971 (SIG_IGN): Likewise.
31972 (SIGABRT): Use macro-int-constant. Specify type. Require
31973 positive value.
31974 (SIGFPE): Likewise.
31975 (SIGILL): Likewise.
31976 (SIGINT): Likewise.
31977 (SIGSEGV): Likewise.
31978 (SIGTER): Likewise.
31979 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31980 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31981 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31982 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31983 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31984 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31985 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31986 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31987 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31988 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31989 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31990 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31991 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31992 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31993 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31994 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31995 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31996 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31997 [X/Open-based standards] (SIGTRAP): Likewise.
31998 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31999 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32000 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32001 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32002 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32003 allow.
32004
b9f1922d
IW
320052012-05-08 Ian Wienand <ianw@vmware.com>
32006
32007 [BZ #14080]
32008 * time/tzset.c (__tzset_parse_tz): Update default rules for
32009 daylight time changes in the Energy Policy Act of 2005.
32010
1db86e88
AJ
320112012-05-09 Andreas Jaeger <aj@suse.de>
32012
32013 [BZ #13983]
32014 * elf/ldconfig.c (parse_conf): Change string to make clear that
32015 ldconfig only issued a warning if ld.so.conf does not exist.
32016
dee4a4e3
DM
320172012-05-08 David S. Miller <davem@davemloft.net>
32018
ee0db190
DM
32019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32020 movxtod instead of popping the value on the stack.
32021
dee4a4e3
DM
32022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32023
6a43ec98
CD
320242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32025
32026 * config.h.in: Add HAVE_ARM_PCS_VFP.
32027
05c2c961
RMG
320282012-05-08 Roland Mc Grath <roland@hack.frob.com>
32029
bcfe3a54
ST
32030 [BZ #13979]
32031 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32032 checking but the checks are disabled for any reason.
05c2c961 32033
4b30f61a
L
320342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32035
32036 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32037 and ELF64_R_TYPE with ELFW(R_TYPE).
32038
eee2bc67
JM
320392012-05-08 Joseph Myers <joseph@codesourcery.com>
32040
7ea5391a
JM
32041 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32042 (ulimit): Likewise.
32043
eee2bc67
JM
32044 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32045 (settimeofday): Likewise.
32046
abb66a67
MF
320472012-05-08 Mike Frysinger <vapier@gentoo.org>
32048
32049 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32050 a struct th_u2 inside the union, and move tu_block/tu_code into
32051 a new th_u3 union of tu_block/tu_code inside of that. Move
32052 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32053 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32054 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32055 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32056 (th_stuff): Change to th_u1.tu_stuff.
32057 (th_data): Define.
32058 (th_msg): Change to th_u1.th_u2.tu_data.
32059
7f18b530
DM
320602012-05-07 David S. Miller <davem@davemloft.net>
32061
05760585
DM
32062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32063
7f18b530
DM
32064 [BZ #14074]
32065 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32066 (SETUP_PIC_REG): Use it.
32067 (SETUP_PIC_REG_LEAF): Use it.
32068
495fd99f
JM
320692012-05-07 Joseph Myers <joseph@codesourcery.com>
32070
32071 [BZ #13885]
32072 [BZ #13923]
32073 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32074 USE_AS_EXPM1L.
32075 (EXPL_FINITE): Likewise.
32076 (FLDLOG): Likewise.
32077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32078 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32079 e_expl.S.
32080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32081 USE_AS_EXPM1L.
32082 (EXPL_FINITE): Likewise.
32083 (FLDLOG): Likewise.
32084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32085 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32086 e_expl.S.
32087 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32088 test of -max_value argument for long double.
32089 * sysdeps/i386/fpu/libm-test-ulps: Update.
32090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32091
6693d694
DM
320922012-05-06 David S. Miller <davem@davemloft.net>
32093
32094 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32095 quad soft-float symbols whose references which are compiler
32096 generated.
32097 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32098
6c23e11c
JM
320992012-05-06 Joseph Myers <joseph@codesourcery.com>
32100
d8b82cad
JM
32101 [BZ #13884]
32102 [BZ #13914]
32103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32104 USE_AS_EXP10L.
32105 (EXPL_FINITE): Likewise.
32106 (FLDLOG): Likewise.
32107 (c0): Likewise.
32108 (c1): Likewise.
32109 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32110 Adjust comments for base varying.
32111 (__expl_finite): Change alias to EXPL_FINITE.
32112 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32113 e_expl.S.
32114 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32115 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32116 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32117 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32118 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32119 USE_AS_EXP10L.
32120 (EXPL_FINITE): Likewise.
32121 (FLDLOG): Likewise.
32122 (c0): Likewise.
32123 (c1): Likewise.
32124 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32125 Adjust comments for base varying.
32126 (__expl_finite): Change alias to EXPL_FINITE.
32127 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32128 tests for bugs.
32129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32130
6c23e11c
JM
32131 [BZ #14064]
32132 * math/libm-test.inc (check_float_internal): Correct ulp
32133 calculation for subnormal expected results.
32134
29ba805c
AJ
321352012-05-06 Andreas Jaeger <aj@suse.de>
32136
32137 * Makeconfig (+math-flags): New, set to -frounding-math.
32138 (+cflags): Add +math-flags so that all of glibc gets compiled with
32139 it.
32140
32141 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32142
7b17aeda
JM
321432012-05-05 Joseph Myers <joseph@codesourcery.com>
32144
5779f134
JM
32145 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32146 Disable one test.
32147
41498f4d
JM
32148 [BZ #13787]
32149 [BZ #13922]
32150 [BZ #14036]
32151 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32152 (__ieee754_expl): Allow for and saturate large arguments.
32153 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32154 (u_threshold): Likewise.
32155 (__exp): Call __ieee754_exp before checking for overflow and
32156 underflow.
32157 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32158 (u_threshold): Likewise.
32159 (__expf): Call __ieee754_expf before checking for overflow and
32160 underflow.
32161 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32162 (u_threshold): Likewise.
32163 (__expl): Call __ieee754_expl before checking for overflow and
32164 underflow.
32165 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32166 (__ieee754_expl): Allow for and saturate large arguments.
32167 * math/libm-test.inc (exp_test): Add another test. Do not allow
32168 missing overflow exception on overflow.
32169 (expm1_test): Do not allow missing overflow exception on overflow.
32170
6698b8bf
JM
32171 * sysdeps/i386/fpu/e_expl.c: Move to ...
32172 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32173 rather than using inline asm.
32174 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32175 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32176 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32177
7b17aeda
JM
32178 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32179 (nice): Likewise.
32180 (poll): Likewise.
32181 (signal): Likewise.
32182 (time): Likewise.
32183 (times): Likewise.
32184
f7c85819
JM
321852012-05-04 Joseph Myers <joseph@codesourcery.com>
32186
32187 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32188 sysdeps/unix/common/syscalls.list.
32189 (fchmod): Likewise.
32190 (fchown): Likewise.
32191 (ftruncate): Likewise.
32192 (getrusage): Likewise.
32193 (gettimeofday): Likewise.
32194 (setpgid): Likewise.
32195 (setregid): Likewise.
32196 (setreuid): Likewise.
32197 (sigaction): Likewise.
32198 (truncate): Likewise.
32199 (vhangup): Likewise.
32200 * sysdeps/unix/common/syscalls.list: Remove file.
32201 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32202 * sysdeps/unix/sysv/linux/Implies: Likewise.
32203
336270d0
L
322042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32205
32206 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32208 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32209 Moved to ...
32210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32211 Here.
32212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32213 to ...
32214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32216 to ...
32217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32218 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32219 to ...
32220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32221 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32222 to ...
32223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32224 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32225 to ...
32226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32227 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32228 to ...
32229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32230 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32231 to ...
32232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32233 Here.
32234 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32235 to ...
32236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32237 Here.
32238 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32239 to ...
32240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32241 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32242 Moved to ...
32243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32244 Here.
32245 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32246 to ...
32247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32248
d128e450
JM
322492012-05-04 Joseph Myers <joseph@codesourcery.com>
32250
fa8ee516
JM
32251 * sysdeps/unix/common/bits/dirent.h: Remove file.
32252 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32253
d128e450
JM
32254 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32255 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32256 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32257 * sysdeps/unix/bsd/isatty.c: Likewise.
32258 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32259 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32260 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32261
ff8faaf0 322622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32263
62881be4 32264 [BZ #13563]
31dc8730
AZ
32265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32266 long double comparison inaccuracies.
32267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32269
6fef930c
AS
322702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32271
32272 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32274
8f203e6c
JM
322752012-05-04 Joseph Myers <joseph@codesourcery.com>
32276
32277 [BZ #14049]
32278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32279 nonzero digits before rounding a hex value.
32280 * stdlib/tst-strtod.c (tests): Add another test.
32281
5197d9c2
AK
322822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32283
32284 * sysdeps/s390/fpu/libm-test-ulps: Update.
32285
f0c1dedf
AJ
322862012-05-03 Andreas Jaeger <aj@suse.de>
32287
32288 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32289 does not get optimized out.
32290 (malloc_opt_barrier): New.
32291
a65ef2ae 322922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32293 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32294
2b942cb7 32295 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32296 intermediate file deletion.
2b942cb7 32297 (generated): Add .symlist files.
a65ef2ae 32298
54b71e02
JM
322992012-05-03 Joseph Myers <joseph@codesourcery.com>
32300
32301 [BZ #13775]
32302 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32303 Redirect under this condition.
32304 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32305 [__USE_GNU] (__dprintf_chk): Not under this condition.
32306 [__USE_GNU] (__vdprintf_chk): Likewise.
32307 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32308 under this condition.
32309 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32310 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32311 [__USE_XOPEN2K8] (vdprintf): Likewise.
32312 [__USE_GNU] (__dprintf_chk): Not under this condition.
32313 [__USE_GNU] (__vdprintf_chk): Likewise.
32314 [__USE_GNU] (dprintf): Likewise.
32315 [__USE_GNU] (vdprintf): Likewise.
32316
d3dfcc41
RM
323172012-05-03 Roland McGrath <roland@hack.frob.com>
32318
32319 * elf/Makefile (common-generated): Set this instead of generated for
32320 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32321 $(all-built-dso)-derived lists.
32322
7ac30cc5
AJ
323232012-05-03 Andreas Jaeger <aj@suse.de>
32324
0c51e550
AJ
32325 * sysdeps/i386/fpu/libm-test-ulps: Update.
32326
7ac30cc5
AJ
32327 * FAQ: Removed.
32328 * FAQ.in: Likewise.
32329 * scripts/gen-FAQ.pl: Likewise.
32330 * manual/install.texi (Installation): Point to online location of
32331 FAQ.
32332 * Makefile (files-for-dist): Remove FAQ.
32333 (FAQ): Remove.
32334
d4c2917f
AM
323352012-05-02 Allan McRae <allan@archlinux.org>
32336
32337 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32338 (LDFLAGS-reldepmod5.so): Likewise.
32339 (LDFLAGS-reldep6mod1.so): Likewise.
32340 (LDFLAGS-reldep6mod4.so): Likewise.
32341 (LDFLAGS-reldep8mod3.so): Likewise.
32342 (LDFLAGS-unload4mod1.so): Likewise.
32343 (LDFLAGS-unload4mod2.so): Likewise.
32344 (LDFLAGS-tst-initorder): Likewise.
32345 (LDFLAGS-tst-initordera2.so): Likewise.
32346 (LDFLAGS-tst-initordera3.so): Likewise.
32347 (LDFLAGS-tst-initordera4.so): Likewise.
32348 (LDFLAGS-tst-initorderb2.so): Likewise.
32349 (LDFLAGS-noload): Likewise.
32350 (LDFLAGS-next): Likewise.
32351 (LDFLAGS-order2mod1.so): Likewise.
32352 (LDFLAGS-order2mod2.so): Likewise.
32353 (LDFLAGS-tst-initorder2): Likewise.
32354 (LDFLAGS-tst-initorder2a.so): Likewise.
32355 (LDFLAGS-tst-initorder2b.so): Likewise.
32356 (LDFLAGS-tst-initorder2c.so): Likewise.
32357 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32358
d77f993f
DM
323592012-05-02 David S. Miller <davem@davemloft.net>
32360
32361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32362
171a70b4
PP
323632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32364
32365 [BZ #14055]
32366 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32367
0be196ad
AJ
323682012-05-02 Andreas Jaeger <aj@suse.de>
32369
32370 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32371 since we manipulate rounding mode.
32372 (CPPFLAGS-test-idouble.c): Likewise.
32373 (CPPFLAGS-test-ifloat.c): Likewise.
32374 (CFLAGS-test-ldouble.c): Likewise.
32375 (CFLAGS-test-double.c): Likewise.
32376 (CFLAGS-test-float.c): Likewise.
32377 (CFLAGS-test-misc.c): Likewise.
32378 (CFLAGS-test-test-fenv.c): Likewise.
32379
4f9d04aa
AZ
323802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32381
2b942cb7
RM
32382 [BZ #2550]
32383 [BZ #2570]
32384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32385 comparisons to determine direction to adjust input.
4f9d04aa 32386
82a79e7d
RM
323872012-05-01 Roland McGrath <roland@hack.frob.com>
32388
f5a01ca9
RM
32389 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32390 output to the target.
32391
90fe4186
RM
32392 * scripts/localplt.awk: New file.
32393 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32394 (check-localplt-CFLAGS): Variable removed.
32395 ($(all-built-dso:=.jmprel)): New static pattern rule.
32396 (generated): Add those targets.
32397 (localplt-built-dso): New variable.
32398 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32399
32400 * elf/check-localplt.c: File removed.
32401
82397ed6
RM
32402 * scripts/check-execstack.awk: New file.
32403 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32404 (check-execstack-CFLAGS): Variable removed.
32405 ($(objpfx)check-execstack.h): Target removed.
32406 ($(objpfx)execstack-default): New target.
32407 (generated): Add that instead of check-execstack.h.
32408 ($(all-built-dso:=.phdr)): New static pattern rule.
32409 (generated): Add those targets.
32410 * elf/check-execstack.c: File removed.
32411
82a79e7d
RM
32412 * scripts/check-textrel.awk: New file.
32413 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32414 (check-textrel-CFLAGS): Variable removed.
32415 (all-built-dso): Use := to define.o
32416 ($(all-built-dso:=.dyn)): New static pattern rule.
32417 (generated): Add those targets.
32418 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32419 * config.make.in (READELF): New substituted variable.
32420 * elf/check-textrel.c: File removed.
32421
62fde54f 324222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32423
615605c9
JM
32424 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32425 allow.
32426 * conform/data/ctype.h-data [C99-based standards] (isblank):
32427 Expect function.
32428 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32429 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32431 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32432 Specify type. Require positive value.
32433 (EILSEQ): Likewise.
32434 (ERANGE): Likewise.
32435 [ISO || POSIX] (EILSEQ): Do not expect.
32436 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32437 Specify type. Require positive value.
32438 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32439 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32440 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32441 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32442 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32443 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32444 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32445 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32446 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32447 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32448 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32449 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32450 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32451 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32453 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32454 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32455 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32456 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32457 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32460 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32477 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32478 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32479 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32481 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32482 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32483 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32484 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32485 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32486 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32490 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32491 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32492 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32493 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32494 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32498 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32499 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32504 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32505 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32512 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32513 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32514 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32515 Require >= 2.
32516 (FLT_ROUNDS): Expect as macro, not constant.
32517 (FLT_MANT_DIG): Use macro-int-constant.
32518 (DBL_MANT_DIG): Likewise.
32519 (LDBL_MANT_DIG): Likewise.
32520 (FLT_DIG): Likewise.
32521 (DBL_DIG): Likewise.
32522 (LDBL_DIG): Likewise.
32523 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32524 (DBL_MIN_EXP): Likewise.
32525 (LDBL_MIN_EXP): Likewise.
32526 (FLT_MAX_EXP): Use macro-int-constant.
32527 (DBL_MAX_EXP): Likewise.
32528 (LDBL_MAX_EXP): Likewise.
32529 (FLT_MAX_10_EXP): Likewise.
32530 (DBL_MAX_10_EXP): Likewise.
32531 (LDBL_MAX_10_EXP): Likewise.
32532 (FLT_MAX): Use macro-constant.
32533 (DBL_MAX): Likewise.
32534 (LDBL_MAX): Likewise.
32535 (FLT_EPSILON): Use macro-constant. Give upper bound.
32536 (DBL_EPSILON): Likewise.
32537 (LDBL_EPSILON): Likewise.
32538 (FLT_MIN): Likewise.
32539 (DBL_MIN): Likewise.
32540 (LDBL_MIN): Likewise.
32541 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32542 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32543 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32544 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32545 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32546 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32547 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32548 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32549 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32550 [ISO11] (FLT_TRUE_MIN): Likewise.
32551 [ISO11] (LDBL_TRUE_MIN): Likewise.
32552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32553 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32554 (SCHAR_MIN): Use macro-int-constant. Specify type.
32555 (SCHAR_MAX): Likewise.
32556 (UCHAR_MAX): Likewise.
32557 (CHAR_MIN): Likewise.
32558 (CHAR_MAX): Likewise.
32559 (MB_LEN_MAX): Use macro-int-constant.
32560 (SHRT_MIN): Use macro-int-constant. Specify type.
32561 (SHRT_MAX): Likewise.
32562 (USHRT_MAX): Likewise.
32563 (INT_MAX): Likewise.
32564 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32565 bound negative.
32566 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32567 bound with "U".
32568 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32569 bound with "L".
32570 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32571 bound negative. Suffix upper bound with "L".
32572 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32573 bound with "UL".
32574 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32575 Specify type.
32576 [C99-based standards] (LLONG_MAX): Likewise.
32577 [C99-based standards] (ULLONG_MAX): Likewise.
32578 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32579 == 0.
32580 [ISO11] (max_align_t): Require type.
32581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32582
c9140a62
JM
32583 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32584 from $CFLAGS, without defining away __attribute__ calls.
32585 (checknamespace): Use $CFLAGS_namespace.
32586
9af0bf29
JM
32587 * conform/conformtest.pl (@keywords): Only include C99 keywords
32588 for standards based on C99 or C11.
32589
343222a2
JM
32590 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32591 Disable tests.
32592 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32593 UNIX98]: Likewise.
32594
661f8cf0
JM
32595 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32596 usability of symbols in #if.
32597
ee74b9cb
JM
32598 * conform/conformtest.pl: If macro or constant types start
32599 "promoted:", expect the symbol to be of the following type
32600 promoted by the integer promotions.
62fde54f 32601
aafc49b3
JM
32602 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32603 in one place. Also handle "macro-constant".
32604
fefdf574
JM
32605 * conform/conformtest.pl: Only accept expected macro values with
32606 "==". Parse all "macro" lines in one place.
32607 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32608
f2d922fe
JM
32609 * conform/conformtest.pl: Handle braced types on "constant" lines
32610 instead of handling "typed-constant".
32611 * conform/data/signal.h-data: Use "constant" instead of
32612 "typed-constant".
32613
d22956c9
JM
32614 * conform/conformtest.pl: Handle "optional-" at start of lines in
32615 one place rather than duplicating several cases. Handle each
32616 format of "macro" line with initial "optional-".
32617
028e2e38
JM
32618 * conform/conformtest.pl: Only accept expected constant or
32619 optional-constant values with "==". Parse all "constant" lines in
32620 one place. Parse all "optional-constant" lines in one place.
32621 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32622 * conform/data/fmtmsg.h-data: Likewise.
32623 * conform/data/netinet/in.h-data: Likewise.
32624 * conform/data/tar.h-data: Likewise.
32625 * conform/data/limits.h-data: Use "==" form on "constant" and
32626 "optional-constant" lines.
32627
1b8f2850
JM
32628 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32629 Use -std=c99 for XOPEN2K.
32630 (@knownproblems): Remove.
32631 (newtoken): Don't check %isknown.
32632
a05a144b
JM
32633 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32634 Do not expect macro.
32635 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32647 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32648 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32665 [XPG3] (acosh): Likewise.
32666 [XPG3] (asinh): Likewise.
32667 [XPG3] (atanh): Likewise.
32668 [XPG3] (cbrt): Likewise.
32669 [XPG3] (expm1): Likewise.
32670 [XPG3] (ilogb): Likewise.
32671 [XPG3] (log1p): Likewise.
32672 [XPG3] (logb): Likewise.
32673 [XPG3] (nextafter): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32676 [XPG3] (remainder): Likewise.
32677 [XPG3] (rint): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32685 [UNIX98 || XOPEN2K] (scalb): Expect.
32686 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32687 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32758 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32788 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32789 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32790 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32791 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32792 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32793 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32794 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32795 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32796 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32797 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32798 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32799 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32800 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32801 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32804 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32805 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32808 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32809 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32810 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32813 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32814 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32815 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32823
73c5ebe3
JM
32824 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32825 _XOPEN_SOURCE_EXTENDED for XPG4.
32826
39c33b6c
JM
32827 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32828
62fde54f
JM
32829 * Makeconfig (localtime): Remove variable.
32830 (inst_localtime-file): Likewise.
32831
0741d64c
AS
328322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32833
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32835 Update.
32836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32837 Update.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32839 Update.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32841 Update.
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32843 Update.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32845 Update.
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32847 Update.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32849 Update.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32851 Update.
32852
7cb029ee
JM
328532012-05-01 Joseph Myers <joseph@codesourcery.com>
32854
32855 [BZ #2550]
32856 [BZ #2570]
32857 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32858 comparisons to determine direction to adjust input.
32859 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32860 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32862 Likewise.
32863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32864 Likewise.
32865 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32866 Likewise.
32867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32869 Likewise.
32870 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32871 Likewise.
32872 * math/libm-test.inc (nexttoward_test): Add more tests.
32873
412bd966
AS
328742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32875
32876 [BZ #14040]
32877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32878 in version GLIBC_2.1, not GLIBC_2.0.
32879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32880 Likewise.
32881
9568c0c2
JM
328822012-04-30 Joseph Myers <joseph@codesourcery.com>
32883
adfbc8ac
JM
32884 [BZ #13942]
32885 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32886 (1 - x) * (1 + x).
32887 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32888 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32889 * math/libm-test.inc (acos_test): Add more tests.
32890 (asin_test): Likewise.
32891 * sysdeps/i386/fpu/libm-test-ulps: Update.
32892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32893
5ba3cc69
JM
32894 [BZ #14034]
32895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32896 of square root.
32897 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32898 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32899 * math/libm-test.inc (acos_test_tonearest): New function.
32900 (acos_test_towardzero): Likewise.
32901 (acos_test_downward): Likewise.
32902 (acos_test_upward): Likewise.
32903 (asin_test_tonearest): Likewise.
32904 (asin_test_towardzero): Likewise.
32905 (asin_test_downward): Likewise.
32906 (asin_test_upward): Likewise.
32907 (main): Call the new functions.
32908 * sysdeps/i386/fpu/libm-test-ulps: Update.
32909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32910
9568c0c2
JM
32911 [BZ #13884]
32912 [BZ #13924]
32913 * math/e_exp10.c: Include <float.h>.
32914 (__ieee754_exp10): Handle underflow here rather than multiplying
32915 large negative argument by M_LN10.
32916 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32917 of __ieee754_expf.
32918 * math/e_exp10l.c: Include <float.h>.
32919 (__ieee754_exp10l): Handle underflow here rather than multiplying
32920 large negative argument by M_LN10l.
32921 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32922 spurious overflow exception on underflow.
32923
5ac3ea17
MP
329242012-04-29 Marek Polacek <polacek@redhat.com>
32925
32926 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32927 (__fortify_function): New macro.
32928 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32929 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32930 __extern_always_inline.
32931 * libio/bits/stdio2.h: Likewise.
32932 * libio/bits/stdio.h: Likewise.
32933 * string/string.h: Likewise.
32934 * string/bits/string3.h: Likewise.
32935 * include/stdio.h: Likewise.
32936 * stdlib/bits/stdlib.h: Likewise.
32937 * stdlib/stdlib.h: Likewise.
32938 * rt/bits/mqueue2.h: Likewise.
32939 * rt/mqueue.h: Likewise.
32940 * posix/bits/unistd.h: Likewise.
32941 * posix/unistd.h: Likewise.
32942 * io/bits/poll2.h: Likewise.
32943 * io/bits/fcntl2.h: Likewise.
32944 * io/fcntl.h: Likewise.
32945 * io/sys/poll.h: Likewise.
32946 * misc/bits/syslog.h: Likewise.
32947 * misc/bits/syslog-ldbl.h: Likewise.
32948 * misc/sys/syslog.h: Likewise.
32949 * socket/bits/socket2.h: Likewise.
32950 * socket/sys/socket.h: Likewise.
32951 * debug/tst-chk1.c: Likewise.
32952 * wcsmbs/bits/wchar2.h: Likewise.
32953 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32954 * wcsmbs/wchar.h: Likewise.
32955
ecf0ebfb
AJ
329562012-04-29 Andreas Jaeger <aj@suse.de>
32957
32958 * Makerules (tests): Remove enable-check-abi protection.
32959 (check-abi-warn): Remove.
32960 (check-abi-%): Remove check-abi-warn usage.
32961
32962 * configure.in: Remove check-abi configure option.
32963 * configure: Regenerated.
32964 * config.make.in (enable-check-abi): Remove.
32965
6d5c57fa
AS
329662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32967
24c5d07e 32968 [BZ #14033]
ded5180a
AS
32969 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32970 double functions to double *_finite functions.
32971
7e0d315d
AS
32972 [BZ #13941]
32973 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32974 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32975 LDBL_MIN_EXP.
32976 * stdio-common/Makefile (tests): Add tst-sprintf3.
32977 * stdio-common/tst-sprintf3.c: New file.
32978
6d5c57fa
AS
32979 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32980 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32981
0749ff8b
JM
329822012-04-28 Joseph Myers <joseph@codesourcery.com>
32983
32984 * conform/conformtest.pl: Remove duplicate typed-constant
32985 handling.
32986
8dbd5d7b
DM
329872012-04-28 David S. Miller <davem@davemloft.net>
32988
32989 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32990 (check-abi-%): Remove AWK script prerequisite and explicit
32991 abilist directory.
32992 (check-abi): Rewrite to just diff the symlist with the abilist.
32993 (config-tls, config-abi-config): Delete, no longer used.
32994 (update-abi-%): Remove AWK script and explicit abilist directory.
32995 (update-abi): Rewrite to simply compare and conditionally copy the
32996 symlist and the sysdep abilist file. Remove update-abi-config
32997 checks.
32998 * abilist/ld.abilist: Remove.
32999 * abilist/libBrokenLocale.abilist: Remove.
33000 * abilist/libanl.abilist: Remove.
33001 * abilist/libcrypt.abilist: Remove.
33002 * abilist/libdl.abilist: Remove.
33003 * abilist/librt.abilist: Remove.
33004 * abilist/libthread_db.abilist: Remove.
33005 * abilist/libutil.abilist: Remove.
33006 * scripts/extract-abilist.awk: Remove.
33007 * scripts/merge-abilist.awk: Remove.
33008 * sysdeps/generic/libcidn.abilist: New file.
33009 * sysdeps/generic/libnss_compat.abilist: New file.
33010 * sysdeps/generic/libnss_db.abilist: New file.
33011 * sysdeps/generic/libnss_dns.abilist: New file.
33012 * sysdeps/generic/libnss_files.abilist: New file.
33013 * sysdeps/generic/libnss_hesiod.abilist: New file.
33014 * sysdeps/generic/libnss_nis.abilist: New file.
33015 * sysdeps/generic/libnss_nisplus.abilist: New file.
33016 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33017 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33018 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33019 file.
33020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33021 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33022 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33023 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33024 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33025 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33026 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33027 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33028 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33029 file.
33030 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33031 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33032 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33033 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33034 file.
33035 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33036 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33037 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33038 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33039 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33041 file.
33042 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33043 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33044 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33045 file.
33046 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33048 New file.
33049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33050 New file.
33051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33052 New file.
33053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33054 New file.
33055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33056 New file.
33057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33058 New file.
33059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33060 New file.
33061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33062 New file.
33063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33064 New file.
33065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33066 New file.
33067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33068 New file.
33069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33070 New file.
33071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33072 New file.
33073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33074 file.
33075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33076 New file.
33077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33078 New file.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33080 file.
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33082 New file.
33083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33084 New file.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33086 file.
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33088 New file.
33089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33090 New file.
33091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33092 New file.
33093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33094 New file.
33095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33096 New file.
33097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33098 New file.
33099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33101 file.
33102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33103 New file.
33104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33105 file.
33106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33107 file.
33108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33109 file.
33110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33111 file.
33112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33113 file.
33114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33115 New file.
33116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33117 file.
33118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33119 file.
33120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33121 New file.
33122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33123 file.
33124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33126 file.
33127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33128 New file.
33129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33130 file.
33131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33132 file.
33133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33134 file.
33135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33136 file.
33137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33138 file.
33139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33140 New file.
33141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33142 file.
33143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33144 file.
33145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33146 New file.
33147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33148 file.
33149 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33150 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33151 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33152 file.
33153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33154 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33155 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33156 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33157 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33158 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33159 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33161 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33162 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33165 file.
33166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33167 New file.
33168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33169 file.
33170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33171 file.
33172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33173 file.
33174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33175 file.
33176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33177 file.
33178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33179 New file.
33180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33181 New file.
33182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33183 file.
33184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33185 New file.
33186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33187 file.
33188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33190 file.
33191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33192 New file.
33193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33194 file.
33195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33196 file.
33197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33198 file.
33199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33200 file.
33201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33202 file.
33203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33204 New file.
33205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33206 New file.
33207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33208 file.
33209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33210 New file.
33211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33212 file.
33213
41d73a1b
JM
332142012-04-28 Joseph Myers <joseph@codesourcery.com>
33215
33216 * conform/conformtest.pl: Fix typo in handling typed-constant from
33217 allow-header.
33218
28aeeda4
JM
332192012-04-27 Joseph Myers <joseph@codesourcery.com>
33220
adae8f5e
JM
33221 * README: Cut down references to pre-2.6 Linux kernels and
33222 Linuxthreads. Update lists of configurations in libc and ports
33223 and sort alphabetically. Say "or newer" with Linux kernel version
33224 requirements.
33225
28aeeda4
JM
33226 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33227
a462cb63
RA
332282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33229
33230 [BZ #887]
33231 * math/libm-test.inc (logb_test_downward): New test to expose
33232 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33233 rounding mode.
33234
6ad3493e
JM
332352012-04-27 Joseph Myers <joseph@codesourcery.com>
33236
33237 [BZ #14027]
33238 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33239 to be done.
33240 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33241 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33242
2ce4f015
JM
332432012-04-26 Joseph Myers <joseph@codesourcery.com>
33244
5aeb141a
JM
33245 * sysdeps/unix/i386/brk.S: Remove file.
33246 * sysdeps/unix/i386/dl-brk.S: Likewise.
33247 * sysdeps/unix/i386/pipe.S: Likewise.
33248 * sysdeps/unix/i386/sigreturn.S: Likewise.
33249 * sysdeps/unix/i386/syscall.S: Likewise.
33250 * sysdeps/unix/i386/vfork.S: Likewise.
33251 * sysdeps/unix/i386/wait.S: Likewise.
33252
7143acae
JM
33253 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33254 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33255
2ce4f015
JM
33256 * configure.in (arm*-none*): Do not allow without
33257 --enable-hacker-mode.
33258 (netbsd*): Remove case setting base_os.
33259 (386bsd*): Likewise.
33260 (freebsd*): Likewise.
33261 (bsdi*): Likewise.
33262 (osf*): Likewise.
33263 (sunos*): Likewise.
33264 (ultrix*): Likewise.
33265 (newsos*): Likewise.
33266 (dynix*): Likewise.
33267 (*bsd*): Likewise.
33268 (sysv*): Likewise.
33269 (isc*): Likewise.
33270 (esix*): Likewise.
33271 (sco*): Likewise.
33272 (minix*): Likewise.
33273 (irix4*): Likewise.
33274 (irix6*): Likewise.
33275 (solaris[2-9]*): Likewise.
33276 (none): Likewise.
33277 * configure: Regenerated.
33278
0ac229c8
AZ
332792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33280
33281 [BZ #11521]
33282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33283 overflow or cancellation in calculating denominator.
33284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33286 down expression to avoid unexpected rounding in newer GCCs.
33287 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33288
33f244f4
DM
332892012-04-26 David S. Miller <davem@davemloft.net>
33290
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33292 long-double compat symbols.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33306
cfa1f3e8
DM
333072012-04-25 David S. Miller <davem@davemloft.net>
33308
33309 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33310 HWCAP_* values only after the memory barriers have been defined.
33311 (atomic_full_barrier): Define.
33312 (atomic_read_barrier): Define.
33313 (atomic_write_barrier): Define.
33314
6e236b92
SP
333152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33316
33317 * shlib-versions: Add libgcc_s version information.
33318 * sysdeps/generic/libgcc_s.h: Remove.
33319 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33320 libgcc_s.h.
33321 * sysdeps/gnu/unwind-resume.c: Likewise.
33322 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33323
aab39a09
DM
333242012-04-25 David S. Miller <davem@davemloft.net>
33325
33326 * sysdeps/unix/sparc/brk.S: Delete.
33327 * sysdeps/unix/sparc/dl-brk.S: Delete.
33328 * sysdeps/unix/sparc/pipe.S: Delete.
33329 * sysdeps/unix/sparc/sysdep.S: Delete.
33330 * sysdeps/unix/sparc/sysdep.h: Delete.
33331 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33333 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33335 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33336 (JUMPTARGET): Remove.
33337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33338 sysdeps/unix/sparc/sysdep.h
33339 (ENTRY, END): Remove.
33340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33341
a3cc4f48
JM
333422012-04-25 Joseph Myers <joseph@codesourcery.com>
33343
2ed8cda2
JM
33344 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33345 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33346 -DIS_IN_build.
33347
35d76d59
JM
33348 * timezone/README: Update upstream location and email address for
33349 tzcode and tzdata.
33350 * timezone/zdump.c: Update from tzcode 2012b.
33351 * timezone/zic.c: Likewise.
33352
a3cc4f48
JM
33353 * configure.in (libc_cv_as_needed): Remove test.
33354 * configure: Regenerated.
33355 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33356 conditional definition.
33357 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33358 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33359 * config.make.in (have-as-needed): Remove variable.
33360
ceab42c3
SP
333612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33362 Paul Pluzhnikov <ppluzhnikov@google.com>
33363
33364 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33365 strings correctly.
33366
3ce2865f
CLT
333672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33368
33369 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33370 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33371 * sysdeps/sh/strlen.S: Likewise.
33372
f37e0d68
JM
333732012-04-24 Joseph Myers <joseph@codesourcery.com>
33374
ae186e9a
JM
33375 * sysdeps/unix/fork.S: Remove file.
33376 * sysdeps/unix/i386/fork.S: Likewise.
33377 * sysdeps/unix/sparc/fork.S: Likewise.
33378
b96914af
JM
33379 * sysdeps/unix/system.c: Remove file.
33380 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33381
f37e0d68
JM
33382 * sysdeps/unix/getegid.S: Remove file.
33383 * sysdeps/unix/geteuid.S: Likewise.
33384
87ef29ca
RM
333852012-04-24 Roland McGrath <roland@hack.frob.com>
33386
83bcd236
RM
33387 * scripts/check-localplt.awk: New file.
33388 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33389 of diff.
33390 * scripts/data/localplt-generic.data: Add a comment.
33391
87ef29ca
RM
33392 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33393 NODE when __dir_mkfile failed.
33394 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33395 Reported by Ludovic Courtès <ludo@gnu.org>.
33396
e5a6e567
AJ
333972012-04-24 Andreas Jaeger <aj@suse.de>
33398
33399 * Makerules (common-clean): Also remove gen-as-const-headers
33400 files.
33401
c1820385
JM
334022012-04-24 Joseph Myers <joseph@codesourcery.com>
33403
33404 * Makerules (native-compile): Do not change working directory for
33405 build. Use $(OUTPUT_OPTION) in command.
33406 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33407
94e02fc4
AZ
334082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33409
33410 [BZ #13886]
33411 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33412 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33413 * math/libm-test.inc (floor_test): Add more tests.
33414 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33415
3a533ca3
JM
334162012-04-24 Joseph Myers <joseph@codesourcery.com>
33417
940ab4b3
JM
33418 * sysdeps/unix/getdents.c: Remove file.
33419 * sysdeps/unix/sysv/getdents.c: Likewise.
33420 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33421
90e037bd
JM
33422 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33423 sysdeps/unix/mman/syscalls.list.
33424 (mmap): Likewise.
33425 (mprotect): Likewise.
33426 (msync): Likewise.
33427 (munmap): Likewise.
33428 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33429 * sysdeps/unix/mman/syscalls.list: Remove.
33430 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33431
3a533ca3
JM
33432 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33433 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33434 * configure: Regenerated.
33435 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33436 $(libgcc_s_suffix).
33437 * config.make.in (libgcc_s_suffix): Remove variable.
33438
1ad743de
JM
334392012-04-23 Joseph Myers <joseph@codesourcery.com>
33440
4ad451e2
JM
33441 * sysdeps/unix/sysv/gethostname.c: Move to ...
33442 * sysdeps/posix/gethostname.c: ... here.
33443
5e37ce39
JM
33444 * sysdeps/unix/execve.S: Remove file.
33445
1ad743de
JM
33446 * sysdeps/unix/_exit.S: Remove file.
33447
4e681b5b
AJ
334482012-04-23 Andreas Jaeger <aj@suse.de>
33449
33450 [BZ #13739]
33451 * manual/Makefile: Remove make dist support, there's no
33452 need for a stand-alone documentation tar ball.
33453 (TEXI2DVI): Define always, it's not in Makeconfig.
33454 (dist): Removed.
33455 (tar-it): Removed.
33456 (edition): Removed.
33457 (glibc-doc-$(edition).tar): Removed
33458 (%.Z): Removed.
33459 (%.gz): Removed.
33460 (%.uu): Removed.
33461 (ETAGS): Remove, it's in Makeconfig.
33462 (move-if-change): Remove, it's in Makeconfig.
33463
38686a03 334642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33465
33466 [BZ #13970]
33467 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33468 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33469 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33470 (strtod_l, strtof_l, strtold_l): Remove __wur.
33471 It is not necessarily an error to ignore strtol's return value.
33472 One can reliably look at the stored endptr to decide whether
33473 the number had valid syntax.
33474
7c0616fa
AJ
334752012-04-21 Andreas Jaeger <aj@suse.de>
33476
803cb6b7 33477 [BZ #13739]
7c0616fa
AJ
33478 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33479
b0fe253f
JM
334802012-04-21 Joseph Myers <joseph@codesourcery.com>
33481
33482 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33483 * sysdeps/unix/sysv/Versions: Remove file.
33484
8280f22d
MT
334852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33486
33487 [BZ #13927]
33488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33489
75ce411f 334902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33491
33492 [BZ #7064]
33493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33494 version from __vm86.
33495
097d59fa
JM
334962012-04-20 Joseph Myers <joseph@codesourcery.com>
33497
a90f3bcb
JM
33498 * sysdeps/unix/common/lxstat.c: Remove file.
33499 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33500
edc7ea78
JM
33501 * sysdeps/unix/sysv/Makefile: Remove file.
33502
cb78c221
JM
33503 * sysdeps/unix/sysv/direct.h: Remove file.
33504
efa6a45f
JM
33505 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33506 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33507 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33508 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33509 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33510 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33511 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33512
9c9f2d0c
JM
33513 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33514
4541c83b
JM
33515 * sysdeps/unix/xmknod.c: Remove file.
33516 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33517
f5d153a0
JM
33518 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33519
aa746595
JM
33520 * sysdeps/unix/sysv/i386/time.S: Remove file.
33521
cce5905e
JM
33522 * sysdeps/unix/fxstat.c: Remove file.
33523 * sysdeps/unix/xstat.c: Likewise.
33524 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33525
37fa3841
JM
33526 * sysdeps/unix/sysv/sigaction.c: Remove file.
33527
ff1962a3
JM
33528 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33529 (sysdep_headers): Remove variable.
33530 [termio.h not in sysdep_headers] (generated): Likewise.
33531 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33532 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33533 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33534 * sysdeps/unix/sysv/tcflow.c: Likewise.
33535 * sysdeps/unix/sysv/tcflush.c: Likewise.
33536 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33537 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33538 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33539 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33540 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33541
e7740d31
JM
33542 * sysdeps/unix/siglist.c: Remove file.
33543
ee06f18b
JM
33544 * sysdeps/unix/getppid.S: Remove file.
33545
097d59fa
JM
33546 * sysdeps/unix/mkdir.c: Remove file.
33547 * sysdeps/unix/rmdir.c: Likewise.
33548
ff3d51ec
AS
335492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33550
33551 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33552 ERR_MAX value.
33553 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33554 errlist-compat value.
33555
50f81fd7
DM
335562012-04-18 David S. Miller <davem@davemloft.net>
33557
33558 * sysdeps/generic/memcopy.h (reg_char): Delete.
33559 * debug/strcat_chk.c: Use char, not reg_char.
33560 * debug/strcpy_chk.c: Likewise.
33561 * debug/strncat_chk.c: Likewise.
33562 * debug/strncpy_chk.c: Likewise.
33563 * string/memchr.c: Likewise.
33564 * string/memrchr.c: Likewise.
33565 * string/rawmemchr.c: Likewise.
33566 * string/strcat.c: Likewise.
33567 * string/strchr.c: Likewise.
33568 * string/strchrnul.c: Likewise.
33569 * string/strcmp.c: Likewise.
33570 * string/strcpy.c: Likewise.
33571 * string/strncat.c: Likewise.
33572 * string/strncmp.c: Likewise.
33573 * string/strncpy.c: Likewise.
33574
8ff41c46
WS
335752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33576
33577 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33578 __builtin_memcopy is called when src and dest ranges are known to not
33579 overlap.
33580
6b652f46
WS
335812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33582
33583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33584 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33585 fwd_align_merge macro call.
33586 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33587 bwd_align_merge macro call.
33588 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33589
b282631e
WS
335902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33591
33592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33593 bwd_align_merge macros.
33594 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33595 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33597
95aa737c
DM
335982012-04-18 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33601
7a99a614
AJ
336022012-04-18 Andreas Jaeger <aj@suse.de>
33603
33604 [BZ# 6794]
33605 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33606 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33608
33609 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33610 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33612
33613 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33614 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33615 Adjust for changed ldbl-128 files.
33616
33617 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33618 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33620
e5270c23
DM
336212012-04-17 David S. Miller <davem@davemloft.net>
33622
33623 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33624
fb5e92c9
AS
336252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33626
33627 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33628 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33629 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33630 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33633
76da7265
AZ
336342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33635
33636 [BZ #6794]
33637 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33638 * math/libm-test.inc: Add ilogb errno and exception tests.
33639 * math/w_ilogb.c: New file: ilogb wrapper.
33640 * math/w_ilogbf.c: New file: ilogbf wrapper.
33641 * math/w_ilogbl.c: New file: ilogbl wrapper.
33642 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33643 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33644 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33645 exception being thrown with 0.0 as argument.
33646 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33647 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33648 exception being thrown with 0.0 as argument.
33649 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33650 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33651 exception being thrown with 0.0 as argument.
33652 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33653 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33654 exception being thrown with 0.0 as argument.
33655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33656 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33658 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33659 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33660 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33661 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33662 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33663 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33664
0396e69d
PB
336652012-04-17 Petr Baudis <pasky@ucw.cz>
33666
33667 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33668 with altivec.
33669
750b5926
MP
336702012-04-16 Marek Polacek <polacek@redhat.com>
33671
33672 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33673
751728a1
MP
336742012-04-16 Marek Polacek <polacek@redhat.com>
33675
33676 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33677 operands of fdivp instruction.
33678
34a27407
L
336792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33680
33681 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33682 * elf/tst-auditmod3b.c: Likewise.
33683 * elf/tst-auditmod4b.c: Likewise.
33684 * elf/tst-auditmod5b.c: Likewise.
33685 * elf/tst-auditmod6b.c: Likewise.
33686 * elf/tst-auditmod6c.c: Likewise.
33687 * elf/tst-auditmod7b.c: Likewise.
33688 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33689 * sysdeps/x86_64/preconfigure.in: Likewise.
33690 * sysdeps/x86_64/preconfigure: Regenerated.
33691
7e73e17d
L
336922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33693
33694 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33695 __ILP32__.
33696
c7a6ab72
AB
336972012-04-13 Antoine Balestrat <merkil33@gmail.com>
33698
33699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33700 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33701
a9e8e0e0
CL
337022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33703
33704 [BZ #13973]
33705 * locale/iso-639.def: Fix gl language name. Spotted by
33706 Yaron Shahrabani.
33707
ec98af7d
RM
337082012-04-12 Roland McGrath <roland@hack.frob.com>
33709
33710 [BZ #2074]
33711 * libio/libio.h (__io_write_fn): Update comment.
33712
247c3ede
PB
337132012-04-12 Petr Baudis <pasky@ucw.cz>
33714
33715 [BZ #2074]
33716 * stdio.texi (Hook Functions): The user provided writer function
33717 is not allowed to return -1.
33718
55939d6d
DM
337192012-04-11 David S. Miller <davem@davemloft.net>
33720
33721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33722
90020f5a
MF
337232012-04-11 Mike Frysinger <vapier@gentoo.org>
33724
33725 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33726 Add a leading slash to rtkaio.
33727
288f9098
JM
337282012-04-11 Jim Meyering <meyering@redhat.com>
33729
90020f5a
MF
33730 [BZ #11959]
33731 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33732 It is not necessarily an error to ignore fwrite's return
33733 value. One can reliably use ferror to test for errors after
33734 the fact.
288f9098 33735
4be2b570
L
337362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33737
33738 * bits/types.h (__snseconds_t): New type.
33739 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33740
33741 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33743 (__SNSECONDS_T_TYPE): Likewise.
33744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33745 (__SNSECONDS_T_TYPE): Likewise.
33746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33747 (__SNSECONDS_T_TYPE): Likewise.
33748
288f9098 337492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33750
33751 [BZ #2636]
33752 * manual/time.texi (Processor Time): Return type of times is
33753 elapsed real time since an arbitrary point in the past.
33754 (CPU Time): Move CLK_TCK from here...
33755 (Processor Time): ...to here. Correct description.
33756 * manual/conf.texi (Constants for Sysconf): Correct description of
33757 _SC_CLK_TCK.
33758
d7dd4413
DM
337592012-04-10 David S. Miller <davem@davemloft.net>
33760
33761 [BZ #13967]
33762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33763 where the is a gap between DT_REL(A) and DT_JMPREL.
33764
b46068fc
L
337652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33766
33767 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33768 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33769 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33770
73d65cc3
SP
337712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33772
33773 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33774 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33775 (dl_main): Handle --inhibit-cache.
33776 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33777 _dl_inhibit_cache.
33778 * elf/dl-load.c (_dl_map_object): Use it.
33779 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33780
bcc8d661
JM
337812012-04-09 Joseph Myers <joseph@codesourcery.com>
33782
8f9a2fae
JM
33783 [BZ #13872]
33784 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33785 (__ieee754_powl): Saturate large exponents rather than testing for
33786 overflow of y*log2(x).
33787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33788 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33789 exceptions.
33790
bcc8d661
JM
33791 [BZ #11521]
33792 * math/s_ctan.c: Include <float.h>.
33793 (__ctan): Avoid internal overflow or cancellation in calculating
33794 denominator.
33795 * math/s_ctanf.c: Likewise.
33796 * math/s_ctanl.c: Likewise.
33797 * math/s_ctanh.c: Likewise.
33798 * math/s_ctanhf.c: Likewise.
33799 * math/s_ctanhl.c: Likewise.
33800 * math/libm-test.inc (ctan_test): Add more tests.
33801 (ctanh_test): Likewise.
33802 * sysdeps/i386/fpu/libm-test-ulps: Update.
33803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33804
823fbbb4
AJ
338052012-04-09 Andreas Jaeger <aj@suse.de>
33806
03879793
AJ
33807 [BZ #6894]
33808 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33809 is an optional BSD extension.
33810
823fbbb4
AJ
33811 [BZ #10254]
33812 * manual/stdio.texi (Opening Streams): Document additional fopen
33813 parameters.
33814
8de131cb
RM
338152012-04-09 Roland McGrath <roland@hack.frob.com>
33816
33817 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33818 %eax without telling the compiler.
33819
c0ed9d7d
CD
338202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33821
33822 [BZ # 13963]
33823 * manual/install.texi: Use sourceware.org.
33824
c483f6b4
JM
338252012-04-09 Joseph Myers <joseph@codesourcery.com>
33826
d7dd9453
JM
33827 [BZ #13873]
33828 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33829 (__ieee754_pow): Generate overflow and underflow using huge*huge
33830 and tiny*tiny rather than just returning constant infinity or zero
33831 for large exponents.
33832 * math/libm-test.inc (pow_test): Require overflow exceptions for
33833 applicable cases of large exponents.
33834
c483f6b4
JM
33835 [BZ #706]
33836 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33837 (__ieee754_pow): Use iterative multiplication algorithm only for
33838 integer exponents with absolute value below 1024. Check for odd
33839 integer exponents when using algorithm for real exponents.
33840 * math/libm-test.inc (pow_test): Add more tests.
33841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33842
d2de7579
JM
338432012-04-08 Joseph Myers <joseph@codesourcery.com>
33844
33845 [BZ #13705]
33846 * math/libm-test.inc (exp_test): Do not allow overflow exception
33847 on underflow test.
33848
f77f1232
AJ
338492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33850
33851 [BZ #13705]
33852 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33853 instead of __kernel_standard_f.
33854
3884932b
MF
338552012-04-08 Mike Frysinger <vapier@gentoo.org>
33856
33857 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33858 * sysdeps/x86_64/memset_chk.S: Likewise.
33859
54472e9c
AJ
338602012-04-08 Andreas Jaeger <aj@suse.de>
33861
6ab0fbfc
AJ
33862 [BZ #10153]
33863 * manual/startup.texi (Environment Access): Describe return value
33864 for putenv and setenv.
33865
61efba8c
AJ
33866 [BZ #6895]
33867 * manual/filesys.texi (Directory Entries): Add description for
33868 DT_LNK.
33869
95c3f29a
AJ
33870 [BZ #6890]
33871 * manual/filesys.texi (Directory Entries): Clarify that it's file
33872 system not operating system in the description of DT_UNKNOWN.
33873
54472e9c
AJ
33874 [BZ #6578]
33875 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33876
624254b1
SC
338772012-04-08 Stephen Compall <s11@member.fsf.org>
33878
33879 [BZ #6649]
33880 * manual/llio.texi (Opening and Closing Files): Add cross
33881 reference to explain mode argument.
33882
1e4920e0
MF
338832012-04-07 Mike Frysinger <vapier@gentoo.org>
33884
33885 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33886 * sysdeps/x86_64/memset_chk.S: Likewise.
33887
5ed848f3
DM
338882012-04-07 David S. Miller <davem@davemloft.net>
33889
33890 * elf/elf.h (R_SPARC_WDISP10): Define.
33891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33892 R_SPARC_SIZE32.
33893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33894 R_SPARC_SIZE64 and R_SPARC_H34.
33895
96154cd8
CD
338962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33897
33898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33899 conditions and remove no longer applicable assertion.
33900
9904dc47
L
339012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33902
33903 * bits/byteswap.h: Include <features.h>.
33904 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33905 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33906
f8887d0a
L
339072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33908
33909 * bits/byteswap.h (__bswap_16): Removed.
33910 Include <bits/byteswap-16.h> to get __bswap_16.
33911 * sysdeps/i386/bits/byteswap.h: Likewise.
33912 * sysdeps/s390/bits/byteswap.h: Likewise.
33913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33914 * bits/byteswap-16.h: New file.
33915 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33916 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33917 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33918 * string/Makefile (headers): Add bits/byteswap-16.h.
33919
62470f60
PP
339202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33921
33922 [BZ #13895]
33923 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33924 extra indirection.
33925 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33926 * nss/tst-nss-static.c: New.
33927
4dad7bab
RM
339282012-04-06 Robert Millan <rmh@gnu.org>
33929
33930 [BZ #6486]
33931 * manual/llio.texi (File Position Primitive): lseek
33932 refers to WHENCE when it really means OFFSET.
33933
e9142a17
AJ
339342012-04-06 Andreas Jaeger <aj@suse.de>
33935
2c040eff
AJ
33936 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33937 strncmp declarations.
33938
e9142a17
AJ
33939 * abilist/libc.abilist: Add __poll and __ppoll.
33940
ff9f1c5f
DM
339412012-04-05 David S. Miller <davem@davemloft.net>
33942
dcd2ae90
DM
33943 * scripts/check-local-headers.sh: Accept a host triplet in the
33944 path matched by the exclude regexp.
33945
993eb054
DM
33946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33947 definition.
33948 * sysdeps/powerpc/powerpc32/dl-machine.h
33949 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33950 * sysdeps/s390/s390-32/dl-machine.h
33951 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33952 * sysdeps/sparc/sparc32/dl-machine.h
33953 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33954 * sysdeps/sparc/sparc64/dl-machine.h
33955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33956
ff9f1c5f
DM
33957 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33958 lazy binding.
48e2e132 33959 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33960 undefined symbol errors.
33961
48e2e132 33962 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33963 DT_NEEDED entries.
33964
e80d6f94
MM
339652012-04-05 Michael Matz <matz@suse.de>
33966
33967 [BZ #13592]
33968 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33969
349fa79f
AJ
339702012-04-05 Andreas Jaeger <aj@suse.de>
33971
33972 [BZ #13908]
33973 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33974 comment.
33975
f402708f
KK
339762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33977
33978 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33979 which ROUND is no valid rounding mode.
33980
2ecccfc9
KK
339812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33982
33983 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33984 read again.
33985 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33986
8a53f50f
KK
339872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33988
33989 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33990 an exception using FPU order intentionally.
33991
339922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33993
33994 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33995 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33996 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33997 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33998
d653abb7
SJ
339992012-04-05 Simon Josefsson <simon@josefsson.org>
34000
34001 [BZ #12340]
34002 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34003 EINVAL when BUFLEN is too smal.
34004
c3b1bf7d
TS
340052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34006
34007 [BZ #13553]
34008 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34009 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34010
b1aa60f3
AJ
340112012-04-03 Andreas Jaeger <aj@suse.de>
34012
c3b1bf7d 34013 [BZ #13938]
67f60a26
AJ
34014 * manual/setjmp.texi (System V contexts): Fix sentence.
34015
b1aa60f3
AJ
34016 [BZ #13926]
34017 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34018 New macro for this case.
34019 [!__GNUC__] (__bswap_64): New inline function for this case.
34020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34021 * bits/byteswap.h: Likewise.
34022 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34023 ull, guard with __GLIBC_HAVE_LONG_LONG.
34024
34025 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34026 __GLIBC_HAVE_LONG_LONG.
34027
34028 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34029 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34030
39c59c35
TMQMF
340312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34032
34033 [BZ #13691]
34034 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34035 inptr and inend, rather than using last_ch.
34036
135ffda8
DM
340372012-04-02 David S. Miller <davem@davemloft.net>
34038
34039 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34040 * stdio-common/printf-parse.h (read_int): Change return type to
34041 'int', return -1 on INT_MAX overflow.
34042 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34043 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34044 overflows INT_MAX. Check for overflow of in-format-string precision
34045 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34046 SIZE_MAX not INT_MAX for integer overflow test.
34047 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34048 skip the construct in the format string but do not record anything.
34049 * stdio-common/bug22.c: Adjust to test both width/prevision
34050 INT_MAX overflow as well as total length INT_MAX overflow. Check
34051 explicitly for proper errno values.
34052
228c019e
TS
340532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34054
302cadd3
TS
34055 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34056 CHAR_MAX.
34057 * string/test-strcmp.c [! WIDE]: Likewise.
34058 * time/tst-mktime2.c: Likewise for INT_MAX.
34059 * string/test-string.h: #include <sys/param.h> for MIN.
34060
228c019e
TS
34061 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34062 * sysdeps/i386/init-first.c (init): Likewise.
34063 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34064 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34065 * sysdeps/sh/init-first.c (init): Likewise.
34066
cfa633f5
UD
340672012-04-01 Ulrich Drepper <drepper@gmail.com>
34068
34069 * po/ru.po: Update from translation team.
d1635ef8 34070 * po/vi.po: Likewise.
cfa633f5 34071
6cd0a5ea
SP
340722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34073
34074 * resolv/nss_dns/dns-host.c: Merge copyright years.
34075
4b43400f
LD
340762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34077
34078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34079 Optimize memcpy with prefetch if
34080 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34081 src, dst pointers have unequal 16 byte alignments.
34082
48c41d04
SP
340832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34084
34085 [BZ #13928]
34086 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34087 from a CNAME entry and return the minimum ttl for the query.
34088 (gaih_getanswer_slice): Likewise.
34089
b8dc394d
JL
340902012-03-30 Jeff Law <law@redhat.com>
34091
34092 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34093 due to long keys.
34094 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34095 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34096
2f5a5ed0
JL
34097 * resolv/nss_dns/dns-host.c: Update copyright year.
34098
1d39e359
UD
340992012-03-30 Ulrich Drepper <drepper@gmail.com>
34100
c030f70c 34101 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34102 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34103
1d39e359
UD
34104 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34105 comments for sendmmsg.
34106
341072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34108
34109 [BZ #13691]
34110 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34111 with only 1 character between 0x0041 and 0x01b0.
34112 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34113 * wcsmbs/tst-mbsnrtowcs.c: New file.
34114
20fde227
DM
341152012-03-29 David S. Miller <davem@davemloft.net>
34116
34117 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34118 small copies by hand.
34119
984a4237
JL
341202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34121
34122 [BZ #13761]
57f41c40
AS
34123 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34124 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34125 group memberships.
984a4237 34126
18c9d62b
DM
341272012-03-28 David S. Miller <davem@davemloft.net>
34128
88d85d4f
DM
34129 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34130 that branches into memcpy.
34131 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34134 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34136 bits.
34137 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34138 implementation too.
34139 * sysdeps/sparc/mempcpy.S: New file.
34140
e5aa83e1
DM
34141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34142 the IFUNC routine in the libc case.
34143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34144
88570753
DM
34145 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34146 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34147 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34148 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34149 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34150 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34151 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34152 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34153
249d7567
DM
34154 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34155 loop to 256 bytes instead of 64 bytes and fix test signedness.
34156
18c9d62b
DM
34157 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34158 * sysdeps/sparc/sparc32/Makefile: rather than here...
34159 * sysdeps/sparc/sparc64/Makefile: and here.
34160
05f3d1f6
UD
341612012-03-28 Ulrich Drepper <drepper@gmail.com>
34162
34163 * malloc/mallocbug.c: Avoid warnings about unused variables.
34164
86ae07a8
JL
341652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34166
34167 [BZ #13760]
34168 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34169 in the right place. Discard and retry query if response is
34170 larger than input buffer size.
34171
41bf21a1
JM
341722012-03-28 Joseph Myers <joseph@codesourcery.com>
34173
d6270972
JM
34174 [BZ #369]
34175 [BZ #2678]
34176 [BZ #3866]
34177 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34178 x for large integer exponent.
34179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34181 sign of result as needed afterwards.
34182 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34183 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34184 result for underflowing pow the same as for overflow.
34185 (__kernel_standard_l): Handle powl overflow and underflow here
34186 rather than calling __kernel_standard.
34187 * math/libm-test.inc (pow_test): Add more tests.
34188
414fca03 34189 [BZ #3868]
41bf21a1
JM
34190 [BZ #13879]
34191 [BZ #13910]
34192 [BZ #13911]
34193 [BZ #13912]
34194 [BZ #13913]
34195 [BZ #13915]
34196 [BZ #13916]
34197 [BZ #13917]
34198 [BZ #13918]
34199 [BZ #13919]
34200 [BZ #13920]
34201 [BZ #13921]
34202 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34203 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34204 (__kernel_standard_l): New function.
34205 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34206 __kernel_standard.
34207 * math/w_acosl.c (__acosl): Likewise.
34208 * math/w_asinl.c (__asinl): Likewise.
34209 * math/w_atan2l.c (__atan2l): Likewise.
34210 * math/w_atanhl.c (__atanhl): Likewise.
34211 * math/w_coshl.c (__coshl): Likewise.
34212 * math/w_exp10l.c (__exp10l): Likewise.
34213 * math/w_exp2l.c (__exp2l): Likewise.
34214 * math/w_fmodl.c (__fmodl): Likewise.
34215 * math/w_hypotl.c (__hypotl): Likewise.
34216 * math/w_j0l.c (__j0l, __y0l): Likewise.
34217 * math/w_j1l.c (__j1l, __y1l): Likewise.
34218 * math/w_jnl.c (__jnl, __ynl): Likewise.
34219 * math/w_lgammal.c (__lgammal): Likewise.
34220 * math/w_log10l.c (__log10l): Likewise.
34221 * math/w_log2l.c (__log2l): Likewise.
34222 * math/w_logl.c (__logl): Likewise.
34223 * math/w_powl.c (__powl): Likewise.
34224 * math/w_remainderl.c (__remainderl): Likewise.
34225 * math/w_scalbl.c (sysv_scalbl): Likewise.
34226 * math/w_sinhl.c (__sinhl): Likewise.
34227 * math/w_sqrtl.c (__sqrtl): Likewise.
34228 * math/w_tgammal.c (__tgammal): Likewise.
34229 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34230 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34231 * math/libm-test.inc (acos_test): Add more tests.
34232 (acosh_test): Likewise.
34233 (asin_test): Likewise.
34234 (atanh_test): Likewise.
34235 (exp_test): Likewise.
34236 (exp10_test): Likewise.
34237 (exp2_test): Likewise.
34238 (expm1_test): Likewise.
34239 (lgamma_test): Likewise.
34240 (log_test): Likewise.
34241 (log10_test): Likewise.
34242 (log1p_test): Likewise.
34243 (log2_test): Likewise.
34244 (pow_test): Do not allow some spurious overflow exceptions.
34245 (sqrt_test): Add more tests.
34246 (tgamma_test): Likewise.
34247 (y0_test): Likewise.
34248 (y1_test): Likewise.
34249 (yn_test): Likewise.
34250
dd62fda6
AB
342512012-03-27 Anton Blanchard <anton@samba.org>
34252
34253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34254 MAP_HUGETLB.
34255 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34256 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34257 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34258
1e3cdfda
AJ
342592012-03-27 David S. Miller <davem@davemloft.net>
34260
b855ab85
DM
34261 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34262
1e3cdfda
AJ
34263 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34264 have-as-vis3 check.
34265
342662012-03-27 Andreas Jaeger <aj@suse.de>
34267
34268 * sysdeps/x86_64/elf/configure.in: Moved to ...
34269 * sysdeps/x86_64/configure.in: ... here.
34270 * sysdeps/x86_64/elf/start.S: Moved to ...
34271 * sysdeps/x86_64/start.S: ... here.
34272 * sysdeps/x86_64/elf/configure: Delete.
34273
34274 * sysdeps/x86_64/configure.in: Merge contents from
34275 sysdeps/i386/configure.in (without i686 check).
34276
34277 * sysdeps/i386/elf/Versions: Merge into ...
34278 * sysdeps/i386/Versions: ... this.
34279 * sysdeps/i386/elf/Versions: Delete file.
34280 * sysdeps/i386/elf/start.S: Moved to ...
34281 * sysdeps/i386/start.S: ...here.
34282 * sysdeps/i386/elf/configure.in: Merge into...
34283 * sysdeps/i386/configure.in: ...here.
34284 * sysdeps/i386/elf/configure.in: Delete file.
34285 * sysdeps/i386/elf/configure: Delete file.
34286
34287 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34288 * debug/backtracesyms.c: ... here.
34289 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34290 * debug/backtracesymsfd.c: ... here.
34291 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34292 * sysdeps/generic/ifunc-sel.h: ... here.
34293
34294 * sysdeps/unix/i386/start.c: Delete file.
34295 * sysdeps/unix/sparc/start.c: Delete file.
34296 * sysdeps/unix/start.c: Delete file.
34297
34298 * sysdeps/sh/elf/configure.in: Moved to ...
34299 * sysdeps/sh/configure.in: ... here.
34300 * sysdeps/sh/elf/start.S: Moved to ...
34301 * sysdeps/sh/start.S: ... here.
34302 * sysdeps/sh/elf/configure: Delete file.
34303
34304 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34305 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34306 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34307 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34308 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34309 * sysdeps/powerpc/powerpc64/start.S: here.
34310 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34311 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34312 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34313 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34314 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34315
34316 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34317 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34318 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34319 * sysdeps/powerpc/powerpc32/start.S: ... here.
34320 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34321 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34322 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34323
34324 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34325 * sysdeps/powerpc/ifunc-sel.h: ... here.
34326 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34327 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34328
34329 * sysdeps/sparc/elf/configure.in: Moved to ...
34330 * sysdeps/sparc/configure.in: ... here.
34331 * sysdeps/sparc/elf/configure: Delete file.
34332 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34333 * sysdeps/sparc/sparc32/start.S: ... here.
34334 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34335 * sysdeps/sparc/sparc64/start.S: ... here.
34336 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34337 * sysdeps/sparc/sparc32/Makefile: ... this.
34338 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34339 * sysdeps/sparc/sparc64/Makefile: ... this.
34340
34341 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34342 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34343 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34344 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34345 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34346 * sysdeps/s390/s390-32/setjmp.S: ... here.
34347 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34348 * sysdeps/s390/s390-32/configure.in: ... here.
34349 * sysdeps/s390/s390-32/elf/configure: Delete file.
34350 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34351 * sysdeps/s390/s390-32/start.S: ... here.
34352
34353 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34354 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34355 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34356 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34357 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34358 * sysdeps/s390/s390-64/setjmp.S: ... here.
34359 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34360 * sysdeps/s390/s390-64/configure.in: ... here
34361 * sysdeps/s390/s390-64/elf/configure: Delete file.
34362 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34363 * sysdeps/s390/s390-64/start.S: ... here.
34364 * sysdeps/s390/s390-64/elf/configure: Delete.
34365
34366 * configure.in: Remove support for elf directories in sysdeps.
34367
34368 * configure: Regenerated.
34369 * sysdeps/i386/configure: Regenerated.
34370 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34371 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34372 * sysdeps/s390/s390-32/configure: Regenerated.
34373 * sysdeps/s390/s390-64/configure: Regenerated.
34374 * sysdeps/sh/configure: Regenerated.
34375 * sysdeps/sparc/configure: Regenerated.
34376 * sysdeps/x86_64/configure: Regenerated.
34377
a3f61311
AS
343782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34379
c876e002
AS
34380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34381
a3f61311
AS
34382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34383 denormal result into account.
34384
ac4c54f0
RM
343852012-03-25 Roland McGrath <roland@hack.frob.com>
34386
34387 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34388 Reported by Allan McRae <allan@archlinux.org>.
34389
6a9b9c02
JL
343902012-03-23 Jeff Law <law@redhat.com>
34391
34392 * nss/getnssent.c (__nss_getent): Fix typo.
34393
4c42a0c1
DM
343942012-03-23 David S. Miller <davem@davemloft.net>
34395
34396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34397
1532c7ac
L
343982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34399
34400 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34401 to pad to uint64_t for each field.
34402 (dl_tls_index): Replace unsigned long with uint64_t.
34403
3ff42526
PP
344042012-03-23 Daniel Jacobowitz <dmj@google.com>
34405 Paul Pluzhnikov <ppluzhnikov@google.com>
34406
34407 [BZ #6528]
34408 * grp/Makefile (otherlibs): Don't set it.
34409 * inet/Makefile (otherlibs): Likewise.
34410 * login/Makefile (otherlibs): Likewise.
34411 * nscd/Makefile (otherlibs): Likewise.
34412 * posix/Makefile (otherlibs): Likewise.
34413 * pwd/Makefile (otherlibs): Likewise.
34414 * rt/Makefile (otherlibs): Likewise.
34415 * sunrpc/Makefile (otherlibs): Likewise.
34416 * nss/Makefile (otherlibs): Likewise.
34417 Add libnss_files to routines and static-only-routines.
34418 ($(objpfx)getent): Remove rule.
34419 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34420 static-only-routines.
34421
7c69cd14
JM
344222012-03-22 Joseph Myers <joseph@codesourcery.com>
34423
34424 [BZ #13892]
34425 * math/s_cexp.c: Include <float.h>.
34426 (__cexp): Handle exp result overflowing not necessarily
34427 overflowing both real and imaginary parts of result.
34428 * math/s_cexpf.c: Likewise.
34429 * math/s_cexpl.c: Likewise.
34430 * math/libm-test.inc (cexp_test): Add more tests.
34431 * sysdeps/i386/fpu/libm-test-ulps: Update.
34432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34433
81b035fe
L
344342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34435
34436 * include/link.h (ELFW): New macro.
34437 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34438 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34439
1da7940c
L
344402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34441
34442 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34443 with uint64_t.
34444
b749dbb9
L
344452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34446
34447 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34448 declaration.
34449 (struct La_x32_retval): Likewise.
34450
2ff87f3f
L
344512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34452
34453 * sysdeps/x86_64/preconfigure.in: New file.
34454 * sysdeps/x86_64/preconfigure: New generated file.
34455
c0df8e69
JM
344562012-03-22 Joseph Myers <joseph@codesourcery.com>
34457
48e44791
JM
34458 [BZ #13824]
34459 * math/e_exp2l.c: Include <float.h>.
34460 (__ieee754_exp2l): Handle overflow and underflow cases
34461 separately. Only pass fractional part of argument to
34462 __ieee754_expl.
34463 * math/libm-test.inc (exp2_test): Add more tests.
34464
c0df8e69
JM
34465 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34466 negating x to take absolute value.
34467 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34468 Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34470 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34471 Likewise.
34472 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34473 computing low part if x was negated.
34474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34475
c8e43ba7
L
344762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34477
34478 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34479 la_x32_gnu_pltexit.
34480 (pltexit): Cast int_retval to ptrdiff_t.
34481 * elf/tst-auditmod3b.c: Likewise.
34482 * elf/tst-auditmod4b.c: Likewise.
34483 * elf/tst-auditmod5b.c: Likewise.
34484 * elf/tst-auditmod6b.c: Likewise.
34485 * elf/tst-auditmod6c.c: Likewise.
34486 * elf/tst-auditmod7b.c: Likewise.
34487
34488 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34489 and x32_gnu_pltexit.
34490
34491 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34492 __ELF_NATIVE_CLASS.
34493 (La_x32_regs): New macro.
34494 (La_x32_retval): Likewise.
34495 (la_x32_gnu_pltenter): New function prototype.
34496 (la_x32_gnu_pltexit): Likewise.
34497
7998fa78
AS
344982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34499
dcb33988
AS
34500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34501 exponent.
34502
233fc563
AS
34503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34504
7998fa78
AS
34505 * configure.in (libc_cv_cc_nofma): Check for option to disable
34506 generation of FMA instructions.
34507 * configure: Regenerate.
34508 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34509 * sysdeps/ieee754/dbl-64/Makefile: New file.
34510 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34511 Remove brandred-fma4.
34512 (CFLAGS-brandred-fma4.c): Remove.
34513 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34514 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34515 define.
34516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34517 define.
34518
8e95c99a
L
345192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34520
34521 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34522 LLONG_MAX != LONG_MAX.
34523 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34524 (_fitoa_word): Likewise.
34525 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34526 LLONG_MAX != LONG_MAX.
34527 * stdio-common/_itowa.h: Include <_itoa.h>.
34528 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34529 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34530 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34531 only if not defined.
34532 (_ITOA_WORD_TYPE): Likewise.
34533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34534 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34535
6f4db457
DM
345362012-03-21 David S. Miller <davem@davemloft.net>
34537
34538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34539
7785fe5a
L
345402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34541
34542 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34543 of x86_64 when setting libc_cv_slibdir, libdir and
34544 libc_cv_localedir.
34545 * sysdeps/unix/sysv/linux/configure: Regenerated.
34546
4535cd55
JM
345472012-03-21 Joseph Myers <joseph@codesourcery.com>
34548
34549 * manual/lang.texi (Old Varargs): Remove section.
34550 (How Variadic): Update menu.
34551 (va_start): Do not mention varargs.h.
34552
17228132
TS
345532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34554 Joseph Myers <joseph@codesourcery.com>
34555
34556 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34557 link test.
34558 * configure: Regenerated.
34559
8149f976
TS
345602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34561
05f3d1f6
UD
34562 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34563 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34564 conformtest.pl
8149f976 34565
1a4ac776
JM
345662012-03-21 Joseph Myers <joseph@codesourcery.com>
34567
be22ce65
JM
34568 * NOTES: Remove.
34569 * Makefile (files-for-dist): Remove NOTES.
34570 (NOTES): Remove rule.
34571 * README: Don't refer to NOTES.
34572 * manual/creature.texi: Don't include macros.texi.
34573 * manual/intro.texi (creature.texi): Remove comment referring to
34574 NOTES.
34575
40b601fb
JM
34576 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34577 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34578 * configure: Regenerated.
34579 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34580 LIBC_TRY_CC_OPTION.
34581 (libc_cv_as_i686): Likewise.
34582 (libc_cv_cc_avx): Likewise.
34583 (libc_cv_cc_sse2avx): Likewise.
34584 (libc_cv_cc_fma4): Likewise.
34585 (libc_cv_cc_novzeroupper): Likewise.
34586 * sysdeps/i386/configure: Regenerated.
34587
1a4ac776
JM
34588 [BZ #13883]
34589 * sysdeps/i386/fpu/s_cexp.S: Remove.
34590 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34592 * math/libm-test.inc (cexp_test): Add more tests.
34593 * sysdeps/i386/fpu/libm-test-ulps: Update.
34594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34595
a458e7fe
AM
345962012-03-21 Allan McRae <allan@archlinux.org>
34597
34598 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34599
0cb7efc5
JM
346002012-03-21 Joseph Myers <joseph@codesourcery.com>
34601
34602 [BZ #13871]
34603 * math/w_exp2.c: Do not include <float.h>.
34604 (o_threshold, u_threshold): Remove.
34605 (__exp2): Calculate result before checking finiteness and calling
34606 __kernel_standard.
34607 * math/w_exp2f.c: Likewise.
34608 * math/w_exp2l.c: Likewise.
34609 * math/libm-test.inc (exp2_test): Require overflow exception for
34610 1e6 input.
2460d3aa
JM
34611
34612 [BZ #3866]
34613 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34614 range of signed 64-bit integers before using fistpll. Remove
34615 checks for whether integers fit in mantissa bits.
34616 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34617 the range of signed 32-bit integers before using fistpl. Remove
34618 checks for whether integers fit in mantissa bits.
34619 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34620 (__ieee754_powl): Test for y outside the range of signed 64-bit
34621 integers before using fistpll. Reduce 64-bit values to 63-bit
34622 ones as needed.
34623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34624 divide-by-zero is raised for zero to large negative powers.
34625 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34626 (__ieee754_powl): Test for y outside the range of signed 64-bit
34627 integers before using fistpll. Reduce 64-bit values to 63-bit
34628 ones as needed.
34629 * math/libm-test.inc (pow_test): Add more tests.
34630
eb96ffb0
L
346312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34632
34633 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34634 <stdio-common/_itoa.h>.
34635 * debug/segfault.c: Likewise.
34636 * elf/dl-cache.c: Likewise.
34637 * elf/dl-minimal.c: Likewise.
34638 * elf/dl-misc.c: Likewise.
34639 * elf/dl-sysdep.c: Likewise.
34640 * elf/dl-version.c: Likewise.
34641 * elf/rtld.c: Likewise.
34642 * hurd/hurdsock.c: Likewise.
34643 * hurd/lookup-retry.c: Likewise.
34644 * malloc/malloc.c: Likewise.
34645 * malloc/mtrace.c: Likewise.
34646 * nscd/nscd_getgr_r.c: Likewise.
34647 * nscd/nscd_getpw_r.c: Likewise.
34648 * nscd/nscd_getserv_r.c: Likewise.
34649 * posix/getopt_init.c: Likewise.
34650 * posix/wordexp.c: Likewise.
34651 * stdio-common/_itoa.c: Likewise.
34652 * stdio-common/printf_fphex.c: Likewise.
34653 * stdio-common/vfprintf.c: Likewise.
34654 * string/_strerror.c: Likewise.
34655 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34656 * sysdeps/i386/i686/hp-timing.h: Likewise.
34657 * sysdeps/mach/_strerror.c: Likewise.
34658 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34659 * sysdeps/mach/hurd/sethostid.c: Likewise.
34660 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34661 * sysdeps/mach/xpg-strerror.c: Likewise.
34662 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34664 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34665 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34666 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34667 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34668 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34669 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34670 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34671 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34672 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34673 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34674 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34675 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34676 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34677 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34678 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34679 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34680 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34681 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34682 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34683
34684 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34685
34686 * stdio-common/_itoa.h: Moved to ...
34687 * sysdeps/generic/_itoa.h: Here.
34688
34689 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34690
34691 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34692 instead of "_itoa.h" and "_itowa.h".
34693 * stdio-common/vfprintf.: Likewise.
34694
d1af992d
L
346952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34696
34697 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34698 <bits/wordsize.h>.
34699 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34700 (__signbit): Likwise.
34701 (llrintf): Likwise.
34702 (llrint): Likwise.
34703
114883e0
L
347042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34705
34706 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34707 __WORDSIZE != 64.
34708
c135cc1b
JM
347092012-03-20 Joseph Myers <joseph@codesourcery.com>
34710
34711 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34712 OVERFLOW_EXCEPTION_OK.
34713 * math/libm-test.inc ("Philosophy"): Update comment about
34714 exception testing.
34715 (OVERFLOW_EXCEPTION): Define.
34716 (OVERFLOW_EXCEPTION_OK): Likewise.
34717 (INVALID_EXCEPTION_OK): Renumber.
34718 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34719 (IGNORE_ZERO_INF_SIGN): Likewise.
34720 (test_exceptions): Handle FE_OVERFLOW.
34721 (exp10_test): Expect overflow exceptions.
34722 (exp2_test): Likewise.
34723 (expm1_test): Likewise.
34724 (nextafter_test): Likewise.
34725 (pow_test): Likewise.
34726 (scalbn_test): Likewise.
34727 (scalbln_test): Likewise.
34728
95443d88
L
347292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34730
34731 * sysdeps/x86_64/bits/atomic.h
34732 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34733 64bit integer.
34734 (atomic_exchange_acq): Likewise.
34735 (__arch_exchange_and_add_body): Likewise.
34736 (__arch_add_body): Likewise.
34737 (atomic_add_negative): Likewise.
34738 (atomic_add_zero): Likewise.
34739
490df6c4
L
347402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34741
c2722551 34742 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34743 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34744
5e52b189
L
347452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34746
34747 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34748 Check __x86_64__ instead of __WORDSIZE.
34749
a9879d4c
L
347502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34753
5df98260
DM
347542012-03-19 David S. Miller <davem@davemloft.net>
34755
e1497744
DM
34756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34757
5df98260
DM
34758 * sysdeps/sparc/fpu/fenv_private.h: New file.
34759 * sysdeps/sparc/fpu/math_private.h: Use it.
34760 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34761 Remove.
57f41c40 34762 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34763 (libc_feholdexcept_setroundl): Remove.
34764 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34765 Remove.
34766 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34767 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34768
b4c35121
L
347692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34770
34771 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34772 int64_t instead of long int.
34773 (INSERT_WORDS64): Likwise.
34774
56965fd7
L
347752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34776
34777 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34778 _Unwind_GetCFA return to _Unwind_Ptr first.
34779
83d1aec8
JM
347802012-03-19 Joseph Myers <joseph@codesourcery.com>
34781
1897ad44
JM
34782 [BZ #13629]
34783 * math/s_clog.c: Include <float.h>.
34784 (__clog): Scale large or subnormal inputs.
34785 * math/s_clogf.c: Likewise.
34786 * math/s_clogl.c: Likewise.
34787 * math/s_clog10.c: Include <float.h>.
34788 (M_LOG10_2): Define.
34789 (__clog10): Scale large or subnormal inputs.
34790 * math/s_clog10f.c: Likewise.
34791 * math/s_clog10l.c: Likewise.
34792 * math/libm-test.inc (clog_test): Add more tests.
34793 (clog10_test): Likewise.
34794 * sysdeps/i386/fpu/libm-test-ulps: Update.
34795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34796
7726d6a9
JM
34797 [BZ #11451]
34798 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34799 x and y.
34800 * math/libm-test.inc (atan2_test): Add another test.
34801
83d1aec8
JM
34802 * Makerules (common-objdir-compile): Remove.
34803 * sysdeps/unix/Makefile (config-generated): Do not add
34804 $(unix-generated) to variable.
34805 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34806 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34807 Remove rule.
34808 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34809 Likewise.
34810 [generic bits/local_lim.h] (before-compile): Do not append to
34811 variable.
34812 [generic bits/local_lim.h] (common-generated): Likewise.
34813 [generic sys/param.h] (before-compile): Do not append to variable.
34814 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34815 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34816 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34817 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34818 include.
34819 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34820 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34821 [generic sys/param.h] ($(addprefix
34822 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34823 [generic sys/param.h] (common-generated): Do not append to
34824 variable.
34825 [generic sys/param.h] (sysdep_headers): Likewise.
34826 [generic bits/errno.h] (before-compile): Do not append to
34827 variable.
34828 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34829 rule.
34830 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34831 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34832 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34833 [generic bits/errno.h] (common-generated): Do not append to
34834 variable.
34835 [generic bits/ioctls.h] (before-compile): Do not append to
34836 variable.
34837 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34838 rule.
34839 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34840 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34841 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34842 rule.
34843 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34844 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34845 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34846 [generic bits/ioctls.h] (common-generated): Do not append to
34847 variable.
34848 [generic sys/syscall.h] (syscall.h): Remove variable.
34849 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34850 rule.
34851 [generic sys/syscall.h] (before-compile): Do not append to
34852 variable.
34853 [generic sys/syscall.h] (common-generated): Likewise.
34854 * sysdeps/unix/errnos-tmpl.c: Remove file.
34855 * sysdeps/unix/errnos.awk: Likewise.
34856 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34857 * sysdeps/unix/ioctls.awk: Likewise.
34858 * sysdeps/unix/mk-local_lim.c: Likewise.
34859 * sysdeps/unix/snarf-ioctls: Likewise.
34860
4851a949
RH
348612012-03-19 Richard Henderson <rth@twiddle.net>
34862
bd37f2ee
RH
34863 * sysdeps/i386/fpu/fenv_private.h: New file.
34864 * sysdeps/i386/fpu/math_private.h: Use it.
34865 (math_opt_barrier, math_force_eval): Remove.
34866 (libc_feholdexcept_setround_53bit): Remove.
34867 (libc_feupdateenv_53bit): Remove.
34868 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34869 (math_opt_barrier, math_force_eval): Remove.
34870 (libc_feholdexcept): Remove.
34871 (libc_feholdexcept_setround): Remove.
34872 (libc_fetestexcept, libc_fesetenv): Remove.
34873 (libc_feupdateenv_test): Remove.
34874 (libc_feupdateenv, libc_feholdsetround): Remove.
34875 (libc_feresetround): Remove.
34876
d0adc922
RH
34877 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34878 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34879
0fe0f1f8
RH
34880 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34881 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34882 (libc_feupdateenv_testl): New.
34883 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34884 (libc_feupdateenv_testf): New.
34885 (libc_feupdateenv): Use libc_feupdateenv_test.
34886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34888
eb92c487
RH
34889 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34890 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34891 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34892 (libc_feresetround_noex): New.
34893 (libc_feresetround_noexf): New.
34894 (libc_feresetround_noexl): New.
34895 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34896 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34897 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34899 SET_RESTORE_ROUND.
34900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34902 (__cos): Likewise.
34903 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34904 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34905 SET_RESTORE_ROUND_NOEX.
34906 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34907 SET_RESTORE_ROUND_NOEXF.
34908 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34909 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34910 (libc_feholdsetroundf): New.
34911 (libc_feresetround, libc_feresetroundf): New.
34912
7d2e8012
RH
34913 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34914 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34915 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34916
b4dabbb4
RH
34917 * sysdeps/generic/math_private.h: Include <fenv.h>.
34918 (default_libc_feholdexcept): New.
34919 (default_libc_feholdexcept_setround): New.
34920 (default_libc_fesetenv, default_libc_feupdateenv): New.
34921 (libc_feholdexcept): Only define if undefined.
34922 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34923 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34924 (libc_feholdexcept_setroundl): Likewise.
34925 (libc_feholdexcept_setround_53bit): Likewise.
34926 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34927 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34928 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34929 (libc_feupdateenv_53bit): Likewise.
34930 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34931 (libc_feholdexcept): Convert from macro to inline function.
34932 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34933 (libc_fesetenv, libc_feupdateenv): Likewise.
34934
4851a949
RH
34935 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34936 not previously defined.
34937 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34938 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34939 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34940 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34941 * sysdeps/ieee754/flt-32/math_private.h: New file.
34942 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34943 math_private.h below SET_FLOAT_WORD.
34944 (__isnan, __isinf_ns, __finite): Remove.
34945 (__isnanf, __isinf_nsf, __finitef): Remove.
34946
e79d442e
AS
349472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34948
34949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34950
90b80344
DM
349512012-03-17 David S. Miller <davem@davemloft.net>
34952
34953 [BZ #6471]
34954 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34955 for 2.16.
34956
edc21804
DM
349572012-03-16 David S. Miller <davem@davemloft.net>
34958
77e927af
DM
34959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34960 warnings.
34961
374976dd
DM
34962 [BZ #6471]
34963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34964 properly.
34965 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34966 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34967 sysdep_routines when subdir is sysvipc.
34968 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34969 __getshmlba helper.
34970
edc21804
DM
34971 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34972
473c3ef3
L
349732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34974
34975 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34976 [__LP64__].
34977
eb0f39b6
L
349782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34981 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34982 (__lround): Renamed to ...
34983 (__llround): This. Replace long int with long long int.
34984 Define lround functions as aliases of llround functions.
34985 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34986
6b6cd74b
L
349872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34988
34989 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34990 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34991 adresses to uintptr_t. Replace "long int" and "unsigned long
34992 int" with "greg_t" on va_arg.
34993
f1a77b01
L
349942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34995
34996 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34997 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34998
34999 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35000 Move e_machine check before EI_CLASS check. Handle x32
35001 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35002 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35003 SKIP_EM_IA_64 and include
35004 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35005
35006 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35007 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35008 (add_system_dir): New macro.
35009
35010 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35011 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35012
11b90b9f
JM
350132012-03-16 Joseph Myers <joseph@codesourcery.com>
35014
c36e1d23
JM
35015 [BZ #2551]
35016 [BZ #2552]
35017 [BZ #2553]
35018 [BZ #2554]
35019 [BZ #2562]
35020 [BZ #2563]
35021 [BZ #2565]
35022 [BZ #2566]
35023 [BZ #2576]
35024 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35025 (y0): Likewise.
35026 * math/w_j0f.c (j0f): Likewise.
35027 (y0f): Likewise.
35028 * math/w_j0l.c (__j0l): Likewise.
35029 (__y0l): Likewise.
35030 * math/w_j1.c (j1): Likewise.
35031 (y1): Likewise.
35032 * math/w_j1f.c (j1f): Likewise.
35033 (y1f): Likewise.
35034 * math/w_j1l.c (__j1l): Likewise.
35035 (__y1l): Likewise.
35036 * math/w_jn.c (jn): Likewise.
35037 (yn): Likewise.
35038 * math/w_jnf.c (jnf): Likewise.
35039 (ynf): Likewise.
35040 * math/w_jnl.c (__jnl): Likewise.
35041 (__ynl): Likewise.
35042 * math/libm-test.inc (j0_test): Add more tests.
35043 (j1_test): Likewise.
35044 (jn_test): Likewise. Add trailing semicolon to existing test.
35045 (y0_test): Likewise.
35046 (y1_test): Likewise.
35047 * sysdeps/i386/fpu/libm-test-ulps: Update.
35048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35049
11b90b9f
JM
35050 [BZ #13851]
35051 [BZ #13854]
35052 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35053 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35054 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35055 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35056 (__tanl): Set errno for infinite argument.
35057 * sysdeps/i386/fpu/mptan.c: Remove.
35058 * sysdeps/i386/fpu/s_tan.S: Likewise.
35059 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35060 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35061 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35062 * math/libm-test.inc (tan_test): Add more tests and enable more
35063 tests for double and long double.
35064 * sysdeps/i386/fpu/libm-test-ulps: Update.
35065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35066
6a1bd2a1
JK
350672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35068
35069 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35070 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35071
10a803e0
RM
350722012-03-16 Roland McGrath <roland@hack.frob.com>
35073
35074 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35075 * configure.in: Use it for both main tree and add-ons.
35076 * configure: Regenerated.
35077
f196c7f7
L
350782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35079
35080 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35081
8848d99d
JM
350822012-03-16 Joseph Myers <joseph@codesourcery.com>
35083
96cbe7f4
JM
35084 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35085 in comment.
35086
8848d99d
JM
35087 [BZ #13851]
35088 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35089 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35093 infinite argument.
35094 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35096 != 0 for prec == 2.
35097 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35098 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35099 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35100 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35101 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35102 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35103 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35104 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35105 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35106 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35107 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35108 * math/libm-test.inc (cos_test): Add more tests and enable more
35109 tests for long double.
35110 (sin_test): Likewise.
35111 (sincos_test): Likewise.
35112 * sysdeps/i386/fpu/libm-test-ulps: Update.
35113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35114
dd7f4703
DM
351152012-03-16 David S. Miller <davem@davemloft.net>
35116
35117 * sysdeps/sparc/fpu/math_private.h: New file.
35118
006f1daa
DM
351192012-03-15 David S. Miller <davem@davemloft.net>
35120
c0c83bc8
DM
35121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35122 file.
e6a62e18 35123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35125 file.
e6a62e18
DM
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35132 sysdep routines.
35133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35134
88cb87d9
DM
35135 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35136 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35137
006f1daa 35138 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35140 sparc-ifunc.h
006f1daa 35141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35143 Likewise.
35144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35145 Likewise.
006f1daa
DM
35146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35150 Likewise.
006f1daa
DM
35151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35156 Likewise.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35158 Likewise.
006f1daa
DM
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35183
11e0098e
AS
351842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35185
35186 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35187 scaling.
35188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35189
e85b09d0
AJ
351902012-03-15 Andreas Jaeger <aj@suse.de>
35191
35192 [BZ #13852]
35193 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35194 ieee754/flt-32 implementation for sin, cos and sincos.
35195 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35196 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35197 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35198 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35199 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35200 ieee754/flt-32 implementation for tan.
35201
35202 * math/libm-test.inc (cos_test): Enable some large input tests for
35203 float as well
35204 (sin_test): Likewise.
35205 (sincos_test): Likewise.
35206 (tan_test): Add tests for large input.
35207
35208 * sysdeps/i386/fpu/libm-test-ulps: Update.
35209
81c64153
AJ
352102012-03-15 Andreas Jaeger <aj@suse.de>
35211
35212 [BZ #13658]
35213 * math/libm-test.inc (cos_test): Add more test cases.
35214 (sin_test): Likewise.
35215 (sincos_test): Likewise.
35216
7bbfa5c6
AJ
352172012-03-15 Andreas Jaeger <aj@suse.de>
35218
35219 [BZ #13837]
35220 * math/libm-test.inc (cos_test): Add a test case for large input
35221 value.
35222 (sin_test): Likewise.
35223 (sincos_test): Likewise.
35224
57f41c40
AS
352252012-03-15 Andreas Jaeger <aj@suse.de>
35226 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35227
35228 [BZ #13658]
0671f479 35229 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35230 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35231 * sysdeps/i386/fpu/branred.c: Likewise.
35232 * sysdeps/i386/fpu/dosincos.c: Likewise.
35233 * sysdeps/i386/fpu/mpa.c: Likewise.
35234 * sysdeps/i386/fpu/s_cos.S: Likewise.
35235 * sysdeps/i386/fpu/s_sin.S: Likewise.
35236 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35237 * sysdeps/i386/fpu/sincos32.c: Likewise.
35238
35239 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35240 Define.
35241 (libc_feupdateenv_53bit): Define.
35242 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35243 Define.
35244 (libc_feupdateenv_53bit): Define.
35245
35246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35247 53 bit (without extend i386 double precision).
35248
35249 * math/libm-test.inc (sincos_test): Add tests for large input.
35250 (sin): Likewise.
35251 (cos): Likewise.
35252
35253 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35254
9cad04ea
AS
352552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35256
35257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35258
f7062b9a
DM
352592012-03-15 David S. Miller <davem@davemloft.net>
35260
35261 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35262 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35263 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35264 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35277 file.
f7062b9a 35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35280 file.
f7062b9a 35281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35283 file.
f7062b9a 35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35286 file.
f7062b9a
DM
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35289 fmin/fmax sysdep routines.
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35291
7bd951ff
DM
352922012-03-14 David S. Miller <davem@davemloft.net>
35293
559398ab
DM
35294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35323 routines.
35324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35325 file.
559398ab 35326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35328 file.
559398ab 35329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35331 file.
559398ab 35332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35334 file.
559398ab 35335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35337 file.
559398ab 35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35340 file.
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35342 file.
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35344 file.
35345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35346 file.
35347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35348 New file.
35349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35350 file.
35351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35352 file.
559398ab 35353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35355 file.
559398ab 35356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35358 file.
559398ab 35359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35361 file.
559398ab 35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35364 VIS3 routines.
559398ab
DM
35365
35366 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35367 New file.
35368
5a1c1e32
DM
35369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35370
eae47a36
DM
35371 * sysdeps/sparc/configure.in: New file.
35372 * sysdeps/sparc/configure: Generate.
35373 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35374 * configure: Regenerate.
35375 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35376 * config.make.in (have-as-vis3): New.
35377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35378 available use -Av9d instead of -Av9a.
35379 * sysdeps/sparc/sparc64/Makefile: Likewise.
35380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35382 New file.
35383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35384 file.
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35386 New file.
35387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35388 file.
eae47a36
DM
35389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35394
c0c83bc8
DM
35395 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35396 fzeros/fnegs to load 0x80000000 into a float register instead of
35397 using the stack.
7bd951ff
DM
35398 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35399
bd951ccb
JM
354002012-03-14 Joseph Myers <joseph@codesourcery.com>
35401
35402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35403 bits/syscall.h.
35404 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35405 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35406 ($(inst_includedir)/bits/syscall.h): Remove rule.
35407 ($(objpfx)bits/syscall.d): Include instead of
35408 $(objpfx)syscall-list.d.
35409 (generated): Change syscall-list.h and syscall-list.d to
35410 bits/syscall.h and bits/syscall.d.
35411
bb4e6db2
RM
354122012-03-14 Roland McGrath <roland@hack.frob.com>
35413
35414 [BZ #13846]
35415 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35416
aa4a2ae1
JM
354172012-03-14 Joseph Myers <joseph@codesourcery.com>
35418
e456826d
JM
35419 [BZ #13841]
35420 * math/s_csqrt.c: Include <float.h>.
35421 (__csqrt): Scale large or subnormal inputs.
35422 * math/s_csqrtf.c: Likewise.
35423 * math/s_csqrtl.c: Likewise.
35424 * math/libm-test.inc (csqrt_test): Add more tests.
35425 * sysdeps/i386/fpu/libm-test-ulps: Update.
35426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35427
aa4a2ae1
JM
35428 [BZ #13840]
35429 * math/libm-test.inc (hypot_test): Add more tests.
35430
7c10fd35
DM
354312012-03-13 David S. Miller <davem@davemloft.net>
35432
35433 [BZ #13840]
35434 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35435 double-precision for the calculation instead of scaling.
35436
f453b98b
JM
354372012-03-13 Joseph Myers <joseph@codesourcery.com>
35438
35439 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35440 manipulate bits before adding and subtracting TWO52[sx].
35441 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35443 Likewise.
35444 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35445
09a3453f
DM
354462012-03-13 David S. Miller <davem@davemloft.net>
35447
8e59da90
DM
35448 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35449 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35451 rtld-global-offsets.h
35452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35453
2a8ab7f2
DM
35454 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35455 large parameters.
35456
10f62770
DM
35457 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35458
5f0bdb18
DM
35459 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35460 'err' in the ifdef scope in which it is actually used.
35461
09a3453f
DM
35462 * nss/nss_db/db-init.c: Include string.h
35463
b4b2eb5e
DM
354642012-03-12 David S. Miller <davem@davemloft.net>
35465
98bb2f1c
DM
35466 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35467 masking out of the most significant byte of random value used.
35468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35469 Fix coding style in previous change.
35470
b4b2eb5e
DM
35471 * sysdeps/unix/sysv/linux/kernel-features.h
35472 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35473 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35474 expression.
35475 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35476 later.
35477
6e226b09
DM
354782012-03-11 David S. Miller <davem@davemloft.net>
35479
a1bcbd40
DM
35480 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35481 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35483 for 'resultvar' otherwise things get truncated on 64-bit.
35484
cb9d6174
DM
35485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35486 Fix masking out of the most significant byte of random value used.
35487
6e226b09
DM
35488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35489
058c132d
AS
354902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35491
35492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35493
2d2cd515
DM
354942012-03-09 David S. Miller <davem@davemloft.net>
35495
35496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35497 variables with appropriate CPP guards.
57f41c40
AS
35498 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35499 from the frame pointer, not the stack pointer. Correct layout
35500 comments. Fix test on resulting framesize and the management of
35501 the outregs buffer for pltexit. Preserve floating point return
35502 values across _dl_call_pltexit call.
2d2cd515
DM
35503 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35504 framesize and the management of the outregs buffer for pltexit.
35505 Preserve floating point return values across _dl_call_pltexit
35506 call.
57f41c40
AS
35507 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35508 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35509 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35510 (print_exit): Fix format string for return register value.
35511
9a07f9d0
JM
355122012-03-10 Joseph Myers <joseph@codesourcery.com>
35513
35514 * sunrpc/Makefile (others): Add rpcgen.
35515 ($(objpfx)rpcgen): Remove special build rule and dependency on
35516 libc.
35517 * sunrpc/rpcgen.c: New file.
35518
547b5e30
PE
355192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35520
c524201a
PE
35521 [BZ #13673]
35522 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35523 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35524 * sysdeps/i386/crti.S: Likewise.
35525 * sysdeps/i386/crtn.S: Likewise.
35526 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35527 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35528 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35529 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35530 * sysdeps/sh/crti.S: Likewise.
35531 * sysdeps/sh/crtn.S: Likewise.
35532 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35533
7b6235f2
PE
35534 [BZ #13673]
35535 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35536 with URL.
35537 * locale/programs/locfile-kw.gperf: Likewise.
35538 * locale/programs/charmap-kw.h: Regenerated.
35539 * locale/programs/locfile-kw.h: Likewise.
35540
547b5e30
PE
35541 [BZ #13673]
35542 * intl/plural.y: Replace FSF snail mail address with URL.
35543 * intl/plural.c: Regenerated.
35544
5f0a5dae
RH
355452012-03-09 Richard Henderson <rth@twiddle.net>
35546
35547 * include/math_private.h: Remove file.
35548 * math/math_private.h: Move file ...
35549 * sysdeps/generic/math_private.h: ... here.
35550
b8c03620
RH
35551 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35552 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35553 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35554
4e234f5d 35555 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35556 and <math_private.h>.
35557 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35558 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35559 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35560 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35561 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35581 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35589 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35590 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35591 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35592 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35594 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35595 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35597 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35611 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35612 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35613 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35614 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35615 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35616 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35617 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35618 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35620 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35621 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35622 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35623 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35624 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35625 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35627 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35628 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35629 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35630 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35631 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35636 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35637 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35638 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35645 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35646 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35647 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35648 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35649 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35650 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35651 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35652 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35657 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35658 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35659 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35660 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35662 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35667 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35674 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35676 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35677 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35679 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35695 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35696 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35698 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35700 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35701 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35702 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35703 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35706 * sysdeps/ieee754/k_standard.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35805 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35810 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35811 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35826 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35827 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35829 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35834 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35839 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35855 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35856 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35857 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35867 * sysdeps/ieee754/s_lib_version.c: Likewise.
35868 * sysdeps/ieee754/s_matherr.c: Likewise.
35869 * sysdeps/ieee754/s_signgam.c: Likewise.
35870 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35871 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35872 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35873 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35874 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35875 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35876 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35877 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35878 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35879 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35880 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35881 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35882 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35883 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35884 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35885 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35891
1991fa03
JM
358922012-03-09 Joseph Myers <joseph@codesourcery.com>
35893
35894 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35895 * sunrpc/rpc_main.c: Likewise.
35896 * sunrpc/rpc_svcout.c: Likewise.
35897
60d6f5a6
DM
358982012-03-09 David S. Miller <davem@davemloft.net>
35899
35900 * include/math_private.h: New file.
35901
4962050e
JM
359022012-03-09 Joseph Myers <joseph@codesourcery.com>
35903
02a6f887
JM
35904 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35905 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35906 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35907 from <bits/socket_type.h>.
35908 (enum __socket_type): Don't define here.
35909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35911 bits/socket_type.h.
35912
c6e013c1
JM
35913 [BZ #13566]
35914 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35915 checking __USE_GNU.
35916
4962050e
JM
35917 * Makerules ($(inst_includedir)/%.h): New rule.
35918 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35919 (install-others): Remove variable setting.
35920 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35921
38842f45
RH
359222012-03-08 Richard Henderson <rth@twiddle.net>
35923
67bb6da6
RH
35924 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35925 from macro to inline function; merge with the
35926 !__LIBC_INTERNAL_MATH_INLINES version.
35927 (__ieee754_sqrtf): Likewise.
35928
15194b4b
RH
35929 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35930 to inline function.
35931 (__rintf, __floor, __floorf): Likewise.
35932
64e21ede
RH
35933 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35934 macro to inline function.
35935 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35936
38842f45
RH
35937 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35938 not <math/math_private.h>.
35939
c64bf5fe
DM
359402012-03-08 David S. Miller <davem@davemloft.net>
35941
35942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35943 copyright year.
35944 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35945
82d86f28
TS
359462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35947
35948 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35949 normalization.
35950 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35951 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35952
aea5d727
UD
359532012-03-08 Ulrich Drepper <drepper@gmail.com>
35954
35955 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35956 be defined individually, they must be defined as a block. Define
35957 S for printing a string instead of hidint the different by using a
35958 macro for adding the 'l'.
35959 * stdio-common/tst-fphex-wide.c: Adjust.
35960
70bca0a3
MP
359612012-03-07 Marek Polacek <polacek@redhat.com>
35962
35963 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35964
65b81130
MP
359652012-03-08 Marek Polacek <polacek@redhat.com>
35966
35967 [BZ #13806]
35968 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35969 * stdio-common/tst-fphex.c: Define a few macros to make the
35970 test reusable. Use them.
35971 * stdio-common/tst-fphex-wide.c: New file.
35972
07037eeb
JM
359732012-03-08 Joseph Myers <joseph@codesourcery.com>
35974
a7a93d50
JM
35975 [BZ #6911]
35976 * manual/macros.texi (gnusystems): New macro.
35977 (nongnusystems): Likewise.
35978 (gnulinuxhurdsystems): Likewise.
35979 (gnuhurdsystems): Likewise..
35980 (gnulinuxsystems): Likewise.
35981 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35982 variants of the GNU system, not "GNU system".
35983 * manual/conf.texi: Likewise.
35984 * manual/errno.texi: Likewise. Update example of errno macro
35985 expansion.
35986 * manual/filesys.texi: Likewise.
35987 (getumask): Document as specific to GNU/Hurd.
35988 * manual/install.texi: Likewise. Reword some references to
35989 GNU/Linux.
35990 * manual/intro.texi: Likewise.
35991 * manual/io.texi: Likewise.
35992 (File Name Portability): Detail which constraints are inapplicable
35993 to all GNU systems and which are only inapplicable to GNU/Hurd.
35994 * manual/job.texi: Likewise.
35995 * manual/llio.texi: Likewise.
35996 (O_NOCTTY): Document as present on GNU/Linux.
35997 * manual/maint.texi: Likewise.
35998 * manual/memory.texi: Likewise.
35999 * manual/pattern.texi: Likewise.
36000 * manual/pipe.texi: Likewise.
36001 * manual/process.texi: Likewise.
36002 * manual/resource.texi: Likewise.
36003 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36004 child on GNU/Hurd.
36005 * manual/setjmp.texi: Likewise.
36006 * manual/signal.texi: Likewise.
36007 * manual/startup.texi: Likewise.
36008 * manual/stdio.texi: Likewise.
36009 * manual/terminal.texi: Likewise.
36010 (ONLCR): Document as POSIX.
36011 (OXTABS): Document availability on GNU/Linux as XTABS.
36012 (ONOEOT): Document availability separately from other bits.
36013 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36014 * manual/time.texi: Likewise.
36015 * manual/users.texi: Likewise.
36016 * INSTALL: Regenerated.
36017 * sysdeps/gnu/errlist.c: Regenerated.
36018
07037eeb
JM
36019 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36020 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36021 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36022 puts.
36023 * configure: Regenerated.
36024
d1d3431a
JM
360252012-03-07 Joseph Myers <joseph@codesourcery.com>
36026
af6a1e37
JM
36027 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36028 default includes instead of AC_HEADER_CHECK.
36029 * sysdeps/i386/configure: Regenerated.
36030
d1d3431a
JM
36031 [BZ #10716]
36032 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36033 * math/s_cacoshf.c (__cacoshf): Likewise.
36034 * math/s_cacoshl.c (__cacoshl): Likewise.
36035 * math/s_casinh.c (__casinh): Set signs of result from argument.
36036 * math/s_casinhf.c (__casinhf): Likewise.
36037 * math/s_casinhl.c (__casinhl): Likewise.
36038 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36039 (casinh_test): Add more tests.
36040 * sysdeps/i386/fpu/libm-test-ulps: Update.
36041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36042
482ff4da
UD
360432012-03-07 Ulrich Drepper <drepper@gmail.com>
36044
872fda05
UD
36045 * po/zh_TW.po: Update from translation team.
36046
a4300c7a
UD
36047 * login/Makefile (distribute): Remove variable.
36048 * catgets/Makefile: Likewise.
36049 * mach/Makefile: Likewise.
36050 * malloc/Makefile: Likewise.
36051 * misc/Makefile: Likewise.
36052 * iconv/Makefile: Likewise.
36053 * nscd/Makefile: Likewise.
36054 * hurd/Makefile: Likewise.
36055 * manual/Makefile: Likewise.
36056 * locale/Makefile: Likewise.
36057 * intl/Makefile: Likewise.
36058 * conform/Makefile: Likewise.
36059 * nss/Makefile: Likewise.
36060 * time/Makefile: Likewise.
36061 * soft-fp/Makefile: Likewise.
36062 * dirent/Makefile: Likewise.
36063 * gmon/Makefile: Likewise.
36064 * po/Makefile: Likewise.
36065 * rt/Makefile: Likewise.
36066 * socket/Makefile: Likewise.
36067 * math/Makefile: Likewise.
36068 * signal/Makefile: Likewise.
36069 * debug/Makefile: Likewise.
36070 * elf/Makefile: Likewise.
36071 * timezone/Makefile: Likewise.
36072 * stdlib/Makefile: Likewise.
36073 * iconvdata/Makefile: Likewise.
36074 * sunrpc/Makefile: Likewise.
36075 * io/Makefile: Likewise.
36076 * argp/Makefile: Likewise.
36077 * inet/Makefile: Likewise.
36078 * hesiod/Makefile: Likewise.
36079 * grp/Makefile: Likewise.
36080 * csu/Makefile: Likewise.
36081 * wctype/Makefile: Likewise.
36082 * crypt/Makefile: Likewise.
36083 * libio/Makefile: Likewise.
36084 * string/Makefile: Likewise.
36085 * nis/Makefile: Likewise.
36086 * resolv/Makefile: Likewise.
36087 * stdio-common/Makefile: Likewise.
36088 * wcsmbs/Makefile: Likewise.
36089 * dlfcn/Makefile: Likewise.
36090 * posix/Makefile: Likewise.
36091
3b7c4e74 36092 [BZ #6959]
482ff4da
UD
36093 * timezone/Makefile: Don't install timezone files, just the programs
36094 and scripts.
36095
f72ed77d
UD
360962012-03-06 Ulrich Drepper <drepper@gmail.com>
36097
a000466f
UD
36098 * nss/databases.def: Add missing gshadow entry.
36099
f72ed77d
UD
36100 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36101
a53b7a4e
MP
361022012-03-06 Marek Polacek <polacek@redhat.com>
36103
36104 [BZ #13726]
36105 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36106 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36107 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36108 * stdio-common/tst-long-dbl-fphex.c: New file.
36109
e9258400
DM
361102012-03-06 David S. Miller <davem@davemloft.net>
36111
36112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36113 (set_obp_int): New function.
36114 (get_obp_int): New function.
36115 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36116 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36117 Avoid unused variable warnings on 'val' and use builtin_expect.
36118 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36119 __builtin_expect.
e9258400
DM
36120 (INLINE_CLONE_SYSCALL): Likewise.
36121
3bd2c723
DM
361222012-03-05 David S. Miller <davem@davemloft.net>
36123
36124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36125
bbb78d03
AS
361262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36127
884c5db4
AS
36128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36129
bbb78d03
AS
36130 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36131 only for |x| >= 40.
36132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36133
1c9f702a 361342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36135
36136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36137 Replace gettimeofday with __vdso_gettimeofday.
36138
7be16f82
RM
36139 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36140 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36141 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36142
36143 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36144 time with __vdso_time.
36145
ed58a00f
JM
361462012-03-05 Joseph Myers <joseph@codesourcery.com>
36147
36148 * manual/lang.texi (size_t): Note types to which size_t may be
36149 equivalent with the GNU C Library, but do not describe when
36150 differences between them are significant.
36151
30ee4ced
AJ
361522012-03-05 Andreas Jaeger <aj@suse.de>
36153
36154 * sysdeps/i386/fpu/libm-test-ulps: Update.
36155
b7cd39e8
JM
361562012-03-05 Joseph Myers <joseph@codesourcery.com>
36157
36158 [BZ #3976]
36159 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36160 (__ieee754_pow): Save and restore rounding mode and use
36161 round-to-nearest for main computations.
36162 * math/libm-test.inc (pow_test_tonearest): New function.
36163 (pow_test_towardzero): Likewise.
36164 (pow_test_downward): Likewise.
36165 (pow_test_upward): Likewise.
36166 (main): Call the new functions.
36167 * sysdeps/i386/fpu/libm-test-ulps: Update.
36168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36169
36170 [BZ #3976]
36171 * math/libm-test.inc (cosh_test_tonearest): New function.
36172 (cosh_test_towardzero): Likewise.
36173 (cosh_test_downward): Likewise.
36174 (cosh_test_upward): Likewise.
36175 (sinh_test_tonearest): Likewise.
36176 (sinh_test_towardzero): Likewise.
36177 (sinh_test_downward): Likewise.
36178 (sinh_test_upward): Likewise.
36179 (main): Call the new functions.
36180 * sysdeps/i386/fpu/libm-test-ulps: Update.
36181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36182
6c6a98c9
TV
361832012-03-05 Tom de Vries <tom@codesourcery.com>
36184
36185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36186 default stack guard is set in last bytes.
36187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36188
21bb2d2e 361892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36190
21bb2d2e 36191 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36192
21bb2d2e
AJ
36193 [BZ #13656]
36194 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36195 possibly allocate from heap instead of stack.
36196 * stdio-common/bug-vfprintf-nargs.c: New file.
36197 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36198
c6922934
AS
361992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36200
36201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36202
bc957d53
MP
362032012-03-03 Marek Polacek <polacek@redhat.com>
36204
36205 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36206 * math/math_private.h: Likewise.
36207 * stdlib/tst-strtod.c: Likewise.
36208 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36209 * sysdeps/x86_64/bits/atomic.h: Likewise.
36210
6358490d
DM
362112012-03-02 David S. Miller <davem@davemloft.net>
36212
36213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36217 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36218 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36219 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36220 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36221
01ae168d
RM
362222012-03-02 Roland McGrath <roland@hack.frob.com>
36223
d9a17c07
RM
36224 [BZ #13792]
36225 * manual/examples/README: New file, says the example source files
36226 can be used under GPL>=2.
36227 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36228 line containing just "*/".
36229 * manual/examples/add.c: Add copyright header (GPL>=2).
36230 * manual/examples/argp-ex1.c: Likewise.
36231 * manual/examples/argp-ex2.c: Likewise.
36232 * manual/examples/argp-ex3.c: Likewise.
36233 * manual/examples/argp-ex4.c: Likewise.
36234 * manual/examples/atexit.c: Likewise.
36235 * manual/examples/db.c: Likewise.
36236 * manual/examples/dir.c: Likewise.
36237 * manual/examples/dir2.c: Likewise.
36238 * manual/examples/execinfo.c: Likewise.
36239 * manual/examples/filecli.c: Likewise.
36240 * manual/examples/filesrv.c: Likewise.
36241 * manual/examples/fmtmsgexpl.c: Likewise.
36242 * manual/examples/genpass.c: Likewise.
36243 * manual/examples/inetcli.c: Likewise.
36244 * manual/examples/inetsrv.c: Likewise.
36245 * manual/examples/isockad.c: Likewise.
36246 * manual/examples/longopt.c: Likewise.
36247 * manual/examples/memopen.c: Likewise.
36248 * manual/examples/memstrm.c: Likewise.
36249 * manual/examples/mkfsock.c: Likewise.
36250 * manual/examples/mkisock.c: Likewise.
36251 * manual/examples/mygetpass.c: Likewise.
36252 * manual/examples/pipe.c: Likewise.
36253 * manual/examples/popen.c: Likewise.
36254 * manual/examples/rprintf.c: Likewise.
36255 * manual/examples/search.c: Likewise.
36256 * manual/examples/select.c: Likewise.
36257 * manual/examples/setjmp.c: Likewise.
36258 * manual/examples/sigh1.c: Likewise.
36259 * manual/examples/sigusr.c: Likewise.
36260 * manual/examples/stpcpy.c: Likewise.
36261 * manual/examples/strdupa.c: Likewise.
36262 * manual/examples/strftim.c: Likewise.
36263 * manual/examples/strncat.c: Likewise.
36264 * manual/examples/subopt.c: Likewise.
36265 * manual/examples/swapcontext.c: Likewise.
36266 * manual/examples/termios.c: Likewise.
36267 * manual/examples/testopt.c: Likewise.
36268 * manual/examples/testpass.c: Likewise.
36269 * manual/examples/timeval_subtract.c: Likewise.
36270
01ae168d
RM
36271 [BZ #13792]
36272 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36273 function to ...
36274 * manual/timeval_subtract.c.texi: ... here, new file.
36275
49efa33d
DM
362762012-03-02 David S. Miller <davem@davemloft.net>
36277
36278 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36279
28afd92d
JM
362802012-03-02 Joseph Myers <joseph@codesourcery.com>
36281
804360ed
JM
36282 [BZ #3976]
36283 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36284 (__sin): Save and restore rounding mode and use round-to-nearest
36285 for all computations.
36286 (__cos): Save and restore rounding mode and use round-to-nearest
36287 for all computations.
36288 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36289 <fenv.h>.
36290 (tan): Save and restore rounding mode and use round-to-nearest for
36291 all computations.
36292 * math/libm-test.inc (cos_test_tonearest): New function.
36293 (cos_test_towardzero): Likewise.
36294 (cos_test_downward): Likewise.
36295 (cos_test_upward): Likewise.
36296 (sin_test_tonearest): Likewise.
36297 (sin_test_towardzero): Likewise.
36298 (sin_test_downward): Likewise.
36299 (sin_test_upward): Likewise.
36300 (tan_test_tonearest): Likewise.
36301 (tan_test_towardzero): Likewise.
36302 (tan_test_downward): Likewise.
36303 (tan_test_upward): Likewise.
36304 (main): Call the new functions.
36305 * sysdeps/i386/fpu/libm-test-ulps: Update.
36306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36307
a6d06d7b
JM
36308 [BZ #10135]
36309 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36310 small n, then large n, before computing and testing k+n.
36311 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36313 Likewise.
36314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36315 Likewise.
36316 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36317 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36318 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36319 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36324 * math/libm-test.inc (scalbn_test): Add more tests.
36325 (scalbln_test): Likewise.
36326
07e12bb3
JM
36327 * manual/filesys.texi (mode_t): Describe constraints on size and
36328 signedness, not exact equivalence to a particular type.
36329 (ino_t): Likewise.
36330 (ino64_t): Likewise.
36331 (dev_t): Likewise.
36332 (nlink_t): Likewise.
36333 (blkcnt_t): Likewise.
36334 (blkcnt64_t): Likewise.
36335 * manual/llio.texi (off_t): Likewise.
36336
28afd92d
JM
36337 [BZ #3976]
36338 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36339 (__ieee754_exp): Save and restore rounding mode and use
36340 round-to-nearest for all computations.
36341 * math/libm-test.inc (exp_test_tonearest): New function.
36342 (exp_test_towardzero): Likewise.
36343 (exp_test_downward): Likewise.
36344 (exp_test_upward): Likewise.
36345 (main): Call the new functions.
36346 * sysdeps/i386/fpu/libm-test-ulps: Update.
36347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36348
b1eeb65d
CD
363492012-03-01 Chris Demetriou <cgd@google.com>
36350
36351 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36352 have predictable order.
36353
53362a4b
DM
363542012-03-01 David S. Miller <davem@davemloft.net>
36355
3c969083
DM
36356 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36357
759707de
DM
36358 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36359 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36360 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36361 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36362
dfdb8ff2
DM
36363 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36364 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36365 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36367 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36368 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36369 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36370 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36371 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36372
ead89f96
DM
36373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36374
7f66bd07
DM
36375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36376 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36377 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36378
53362a4b
DM
36379 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36380 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36381 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36382 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36383 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36386 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36387 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36388 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36389 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36390 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36392 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36393 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36395 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36396 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36397 * sysdeps/sparc/elf/configure: Regenerated.
36398
7b1902cb
JM
363992012-03-01 Joseph Myers <joseph@codesourcery.com>
36400
bec039bc
JM
36401 * configure.in (AS, LD): Require binutils 2.20 or later.
36402 * configure: Regenerated.
36403 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36404 as required minimum version.
36405 * INSTALL: Regenerated.
36406
7b1902cb
JM
36407 [BZ #2541]
36408 [BZ #4108]
36409 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36410 before squaring exponent.
36411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36412 bottom long double and 27 bits of top long double before squaring
36413 exponent.
36414 * math/libm-test.inc (erfc_test): Add more tests.
36415 * sysdeps/i386/fpu/libm-test-ulps: Update.
36416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36418
f775c276
KT
364192012-03-01 Kai Tietz <ktietz@redhat.com>
36420
36421 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36422 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36423 containing bit-fields.
36424 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36425 * soft-fp/single.h (_FP_UNION_S): Likewise.
36426 * soft-fp/double.h (_FP_UNION_D): Likewise.
36427
5b8a4d4a
JM
364282012-02-29 Joseph Myers <joseph@codesourcery.com>
36429
0bab47b6
JM
36430 [BZ #13786]
36431 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36432 not include ../strcmp.S.
36433 [USE_AS_STRNCASECMP_L]: Likewise.
36434 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36435 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36436 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36437 (__strncasecmp_l_ia32): Define as alias to
36438 __strncasecmp_l_nonascii.
36439
0fcad3e2
JM
36440 [BZ #5794]
36441 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36442 * sysdeps/i386/fpu/libm-test-ulps: Update.
36443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36444
5b8a4d4a
JM
36445 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36447
8fdceb2e
JL
364482012-02-29 Jeff Law <law@redhat.com>
36449
36450 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36451 out of bounds read.
36452
1f393a11
MP
364532012-02-29 Marek Polacek <polacek@redhat.com>
36454
36455 [BZ #13706]
36456 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36457 * elf/Makefile: Add rules to run tst-unused-dep.out.
36458
8847f037
DM
364592012-02-28 David S. Miller <davem@davemloft.net>
36460
36461 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36462 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36465 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36466 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36467
169d7f11
JM
364682012-02-29 Joseph Myers <joseph@codesourcery.com>
36469
36470 * math/libm-test.inc (llround_test): Move one test from
36471 lround_test. Use TEST_f_L in moved test.
36472 (lround_test): Move misplaced test to llround_test. Add testcase
36473 from bug 2561.
36474
39adf059
UD
364752012-02-28 Ulrich Drepper <drepper@gmail.com>
36476
36477 * sysdeps/x86_64/fpu/e_expf.S: New file.
36478 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36479
71b5d1c5
SB
364802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36481
36482 [BZ #13637]
36483 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36484 of remain_len that may cause incomplete multi-byte character and
36485 false match.
36486 * posix/bug-regex33.c: New file.
36487 * posix/Makefile (tests): Add bug-regex33.
36488
1f77f049
JM
364892012-02-28 Joseph Myers <joseph@codesourcery.com>
36490
36491 * manual/macros.texi: New file.
36492 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36493 * manual/libc.texinfo: Include macros.texi.
36494 * manual/creatute.texi: Likewise.
36495 * manual/install.texi: Likewise.
36496 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36497 @glibcadj{} in references to the GNU C Library.
36498 * manual/charset.texi: Likewise.
36499 * manual/conf.texi: Likewise.
36500 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36501 when not using those macros.
36502 * manual/creature.texi: Likewise.
36503 * manual/crypt.texi: Likewise.
36504 * manual/errno.texi: Likewise.
36505 * manual/filesys.texi: Likewise.
36506 * manual/header.texi: Likewise.
36507 * manual/install.texi: Likewise.
36508 * manual/intro.texi: Likewise.
36509 * manual/io.texi: Likewise.
36510 * manual/job.texi: Likewise.
36511 * manual/lang.texi: Likewise.
36512 * manual/libc.texiinfo: Likewise.
36513 * manual/llio.texi: Likewise.
36514 * manual/locale.texi: Likewise.
36515 * manual/maint.texi: Likewise.
36516 * manual/math.texi: Likewise.
36517 * manual/memory.texi: Likewise.
36518 * manual/message.texi: Likewise.
36519 * manual/nss.texi: Likewise.
36520 * manual/pattern.texi: Likewise.
36521 * manual/process.texi: Likewise.
36522 * manual/resource.texi: Likewise.
36523 * manual/search.texi: Likewise.
36524 * manual/setjmp.texi: Likewise.
36525 * manual/signal.texi: Likewise.
36526 * manual/socket.texi: Likewise.
36527 * manual/startup.texi: Likewise.
36528 * manual/stdio.texi: Likewise.
36529 * manual/string.texi: Likewise.
36530 * manual/sysinfo.texi: Likewise.
36531 * manual/syslog.texi: Likewise.
36532 * manual/terminal.texi: Likewise.
36533 * manual/time.texi: Likewise.
36534 * manual/users.texi: Likewise.
36535 * INSTALL: Regenerated.
36536 * NOTES: Regenerated.
d40c5d54 36537 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36538
450bf206
AS
365392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36540
36541 * include/dirent.h: Include <dirstream.h> before
36542 <dirent/dirent.h>.
36543
741a235b
DM
365442012-02-28 David S. Miller <davem@davemloft.net>
36545
36546 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36547 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36548 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36549 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36550
d6b5aa58
DM
365512012-02-27 David S. Miller <davem@davemloft.net>
36552
1aff59a3
DM
36553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36555 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36556 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36557
d6b5aa58
DM
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36559 frame pointer instead of stack pointer relative arg slot.
36560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36563
433f48bf
CD
365642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36565
36566 [BZ #3992]
36567 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36568
d674b76d
DM
365692012-02-27 David S. Miller <davem@davemloft.net>
36570
36571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36575 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36576 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36577 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36578 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36579
0e7727f7
JM
365802012-02-27 Joseph Myers <joseph@codesourcery.com>
36581
36582 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36583 later. Allow versions 5-9.
43be4ca2 36584 * configure: Regenerated.
0e7727f7
JM
36585 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36586 required minimum version and 4.6 as recommended version. Do not
36587 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36588 * INSTALL: Regenerated.
0e7727f7 36589
a78bc654
DM
365902012-02-27 David S. Miller <davem@davemloft.net>
36591
428d5830
DM
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36596 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36597 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36598 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36599 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36600
a78bc654
DM
36601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36602 manipulate bits before adding and subtracting TWO112[sx].
36603 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36604
4579f81c
RM
366052012-02-27 Roland McGrath <roland@hack.frob.com>
36606
36c8acb4
RM
36607 [BZ #13775]
36608 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36609 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36610 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36611 being in POSIX, because they are in 1003.1-2008.
36612
84ad622b
RM
36613 * rt/tst-aio.c: Include <fcntl.h>.
36614 * rt/tst-aio7.c: Likewise.
36615 * rt/tst-aio64.c: Likewise.
36616
4579f81c
RM
36617 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36618
abd923db
JM
366192012-02-27 Joseph Myers <joseph@codesourcery.com>
36620
36621 * manual/install.texi (--with-headers): Describe headers as
36622 interface headers, not private headers.
36623 (Specific advice for GNU/Linux systems): Describe use of headers
36624 from "make headers_install", not private headers from older
36625 kernels.
43be4ca2 36626 * INSTALL: Regenerated.
abd923db
JM
36627 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36628 Change to 2.6.19.
36629 * sysdeps/unix/sysv/linux/configure: Regenerated.
36630
6664049b
JM
36631 * manual/llio.texi (fclean): Remove documentation.
36632
bb8b6697
JM
36633 * manual/Makefile (libc-texi-generated): New variable. Include
36634 version.texi.
36635 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36636 $(libc-texi-generated), not duplicated list of files.
36637 (version.texi, stamp-version): New rules.
36638 (realclean): Remove $(libc-texi-generated), not individual files
36639 from that list. Do not remove dir-add.texinfo.
36640 * manual/libc.texinfo: Comment out uses of edition numbers and
36641 references to printed manual. Remove last-updated dates.
36642 (EDITION): Comment out.
36643 (ISBN): Likewise.
36644 (VERSION, UPDATED): Remove.
36645 (version.texi): Include.
36646
12e5c3b9
AS
366472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36648
36649 * sysdeps/posix/spawni.c: Include <signal.h>.
36650 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36651 * sysdeps/pthread/aio_fsync.c: Likewise.
36652
4efeffc1 366532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36654
ba63ba08
UD
36655 * conform/Makefile (tests): Run only when not cross-compiling and
36656 when fast-check is not defined.
36657
d94a4670
UD
36658 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36659 * conform/data/limits.h-data: Fixes for POSIX2008.
36660 * conform/run-conformtest.sh: Run all tests.
36661 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36662 headers.
36663 * include/bits/dlfcn.h: Likewise.
36664 * include/langinfo.h: Likewise.
36665 * include/monetary.h: Likewise.
36666 * include/sys/poll.h: Likewise.
36667
36668 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36669 for __USE_GNU.
36670 * posix/spawn.h: Define __need_sigset_t.
36671 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36672 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36673 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36674 to get sigevent_t only.
36675 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36676 only for __USE_GNU.
36677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36678 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36679 process_vm_writev only for __USE_GNU.
36680 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36681
36682 * conform/Makefile: For now ignore errors from run-conformtest.
36683 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36684 POSIX to avoid namespace pollution. Don't prepend headers.
36685 * conform/data/aio.h-data: Fixes for POSIX testing.
36686 * conform/data/fcntl.h-data: Likewise.
36687 * conform/data/glob.h-data: Likewise.
36688 * conform/data/grp.h-data: Likewise.
36689 * conform/data/pthread.h-data: Likewise.
36690 * conform/data/pwd.h-data: Likewise.
36691 * conform/data/signal.h-data: Likewise.
36692 * conform/data/spawn.h-data: Likewise.
36693 * conform/data/stdio.h-data: Likewise.
36694 * conform/data/stdlib.h-data: Likewise.
36695 * conform/data/stropts.h-data: Likewise.
36696 * conform/data/sys/mman.h-data: Likewise.
36697 * conform/data/sys/stat.h-data: Likewise.
36698 * conform/data/sys/types.h-data: Likewise.
36699 * conform/data/sys/wait.h-data: Likewise.
36700 * conform/data/time.h-data: Likewise.
36701 * conform/data/unistd.h-data: Likewise.
36702 * conform/data/utime.h-data: Likewise.
36703
36704 * io/sys/stat.h: fchmod was always in POSIX.
36705 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36706 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36707 * rt/aio.h: Define __need_timespec before including <time.h>.
36708 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36709 struct. Add forward declaration of pthread_attr_t and use it in
36710 sigevent.
36711 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36713 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36714 always remove CLK_TCK definition.
36715
c20105c3
AS
367162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36717
36718 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36719
7a270350
UD
367202012-02-25 Ulrich Drepper <drepper@gmail.com>
36721
31341567
UD
36722 * conform/run-conformtest.sh: New file.
36723 * conform/Makefile: Run run-conformtest for tests.
36724 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36725 support.
36726
36727 * conform/data/uchar.h-data: New file.
36728 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36729 * conform/data/arpa/inet.h-data: Likewise.
36730 * conform/data/assert.h-data: Likewise.
36731 * conform/data/complex.h-data: Likewise.
36732 * conform/data/cpio.h-data: Likewise.
36733 * conform/data/ctype.h-data: Likewise.
36734 * conform/data/dirent.h-data: Likewise.
36735 * conform/data/dlfcn.h-data: Likewise.
36736 * conform/data/errno.h-data: Likewise.
36737 * conform/data/fcntl.h-data: Likewise.
36738 * conform/data/float.h-data: Likewise.
36739 * conform/data/fmtmsg.h-data: Likewise.
36740 * conform/data/fnmatch.h-data: Likewise.
36741 * conform/data/ftw.h-data: Likewise.
36742 * conform/data/glob.h-data: Likewise.
36743 * conform/data/grp.h-data: Likewise.
36744 * conform/data/iconv.h-data: Likewise.
36745 * conform/data/inttypes.h-data: Likewise.
36746 * conform/data/langinfo.h-data: Likewise.
36747 * conform/data/libgen.h-data: Likewise.
36748 * conform/data/limits.h-data: Likewise.
36749 * conform/data/locale.h-data: Likewise.
36750 * conform/data/math.h-data: Likewise.
36751 * conform/data/monetary.h-data: Likewise.
36752 * conform/data/mqueue.h-data: Likewise.
36753 * conform/data/ndbm.h-data: Likewise.
36754 * conform/data/net/if.h-data: Likewise.
36755 * conform/data/netdb.h-data: Likewise.
36756 * conform/data/netinet/in.h-data: Likewise.
36757 * conform/data/nl_types.h-data: Likewise.
36758 * conform/data/poll.h-data: Likewise.
36759 * conform/data/pthread.h-data: Likewise.
36760 * conform/data/pwd.h-data: Likewise.
36761 * conform/data/regex.h-data: Likewise.
36762 * conform/data/sched.h-data: Likewise.
36763 * conform/data/search.h-data: Likewise.
36764 * conform/data/semaphore.h-data: Likewise.
36765 * conform/data/setjmp.h-data: Likewise.
36766 * conform/data/signal.h-data: Likewise.
36767 * conform/data/spawn.h-data: Likewise.
36768 * conform/data/stdarg.h-data: Likewise.
36769 * conform/data/stdio.h-data: Likewise.
36770 * conform/data/stdlib.h-data: Likewise.
36771 * conform/data/string.h-data: Likewise.
36772 * conform/data/strings.h-data: Likewise.
36773 * conform/data/stropts.h-data: Likewise.
36774 * conform/data/sys/ipc.h-data: Likewise.
36775 * conform/data/sys/mman.h-data: Likewise.
36776 * conform/data/sys/msg.h-data: Likewise.
36777 * conform/data/sys/resource.h-data: Likewise.
36778 * conform/data/sys/select.h-data: Likewise.
36779 * conform/data/sys/sem.h-data: Likewise.
36780 * conform/data/sys/shm.h-data: Likewise.
36781 * conform/data/sys/socket.h-data: Likewise.
36782 * conform/data/sys/stat.h-data: Likewise.
36783 * conform/data/sys/statvfs.h-data: Likewise.
36784 * conform/data/sys/time.h-data: Likewise.
36785 * conform/data/sys/timeb.h-data: Likewise.
36786 * conform/data/sys/times.h-data: Likewise.
36787 * conform/data/sys/types.h-data: Likewise.
36788 * conform/data/sys/uio.h-data: Likewise.
36789 * conform/data/sys/un.h-data: Likewise.
36790 * conform/data/sys/utsname.h-data: Likewise.
36791 * conform/data/sys/wait.h-data: Likewise.
36792 * conform/data/syslog.h-data: Likewise.
36793 * conform/data/tar.h-data: Likewise.
36794 * conform/data/termios.h-data: Likewise.
36795 * conform/data/utime.h-data: Likewise.
36796 * conform/data/utmpx.h-data: Likewise.
36797 * conform/data/varargs.h-data: Likewise.
36798 * conform/data/wchar.h-data: Likewise.
36799 * conform/data/wctype.h-data: Likewise.
36800 * conform/data/wordexp.h-data: Likewise.
36801
36802 * include/stropts.h: New file.
36803 * include/uchar.h: New file.
36804 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36805 * include/assert.h: Likewise.
36806 * include/ctype.h: Likewise.
36807 * include/dirent.h: Likewise.
36808 * include/dlfcn.h: Likewise.
36809 * include/fcntl.h: Likewise.
36810 * include/fnmatch.h: Likewise.
36811 * include/glob.h: Likewise.
36812 * include/grp.h: Likewise.
36813 * include/libio.h: Likewise.
36814 * include/locale.h: Likewise.
36815 * include/math.h: Likewise.
36816 * include/net/if.h: Likewise.
36817 * include/netdb.h: Likewise.
36818 * include/netinet/in.h: Likewise.
36819 * include/pthread.h: Likewise.
36820 * include/pwd.h: Likewise.
36821 * include/regex.h: Likewise.
36822 * include/sched.h: Likewise.
36823 * include/search.h: Likewise.
36824 * include/setjmp.h: Likewise.
36825 * include/signal.h: Likewise.
36826 * include/stdio.h: Likewise.
36827 * include/stdlib.h: Likewise.
36828 * include/string.h: Likewise.
36829 * include/sys/cdefs.h: Likewise.
36830 * include/sys/mman.h: Likewise.
36831 * include/sys/msg.h: Likewise.
36832 * include/sys/resource.h: Likewise.
36833 * include/sys/select.h: Likewise.
36834 * include/sys/socket.h: Likewise.
36835 * include/sys/stat.h: Likewise.
36836 * include/sys/statvfs.h: Likewise.
36837 * include/sys/time.h: Likewise.
36838 * include/sys/times.h: Likewise.
36839 * include/sys/uio.h: Likewise.
36840 * include/sys/utsname.h: Likewise.
36841 * include/sys/wait.h: Likewise.
36842 * include/termios.h: Likewise.
36843 * include/time.h: Likewise.
36844 * include/ulimit.h: Likewise.
36845 * include/unistd.h: Likewise.
36846 * include/utime.h: Likewise.
36847 * include/wchar.h: Likewise.
36848 * include/wctype.h: Likewise.
36849 * include/wordexp.h: Likewise.
36850
36851 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36852
7a270350
UD
36853 * time/time.h: TIME_UTC must be a macro.
36854 Make timespec_get available for ISO C11 only as well.
36855
7724defc
UD
368562012-02-24 Ulrich Drepper <drepper@gmail.com>
36857
36858 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36859 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36860
6b1d1d46
JM
368612012-02-24 Joseph Myers <joseph@codesourcery.com>
36862
36863 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36864
0f8bbd69
JM
368652012-02-24 Joseph Myers <joseph@codesourcery.com>
36866
36867 * manual/texinfo.tex: Update to version 2012-01-19.16.
36868
66ab80bc
JM
368692012-02-24 Joseph Myers <joseph@codesourcery.com>
36870
36871 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36872
74981cc5
RM
368732012-02-24 Roland McGrath <roland@hack.frob.com>
36874
ee968201
RM
36875 [BZ #13738]
36876 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36877 * manual/fdl-1.3.texi: New file.
36878 * manual/fdl-1.1.texi: File removed.
36879
74981cc5
RM
36880 [BZ #13738]
36881 * manual/libc.texinfo (FDL_VERSION): New @set.
36882 Use it for mention of FDL in cover text.
36883 (Documentation License): Use it in @include file name.
36884
7bb764bc
JM
368852012-02-22 Joseph Myers <joseph@codesourcery.com>
36886 Roland McGrath <roland@hack.frob.com>
36887
36888 [BZ #5461]
57f41c40
AS
36889 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36890 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36891 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36892 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36893 name.
36894 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36895
6cbeae47
JM
368962012-02-22 Joseph Myers <joseph@codesourcery.com>
36897
36898 [BZ #2547]
36899 [BZ #11365]
36900 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36901 manipulate bits before adding and subtracting TWO23[sx].
36902 * math/libm-test.inc (nearbyint_test): Add more tests.
36903
fe45ce09
JM
369042012-02-22 Joseph Myers <joseph@codesourcery.com>
36905
36906 [BZ #2548]
36907 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36908 bits before adding and subtracting TWO23[sx].
36909 * math/libm-test.inc (rint_test): Add more tests.
36910 (rint_test_tonearest): Likewise.
36911 (rint_test_towardzero): Likewise.
36912 (rint_test_downward): Likewise.
36913 (rint_test_upward: Likewise.
36914
ff3b3d82
JM
369152012-02-22 Joseph Myers <joseph@codesourcery.com>
36916
36917 [BZ #10110]
36918 * include/stdc-predef.h: New file. Extracted from features.h.
36919 * include/features.h: Include stdc-predef.h.
36920 * Makefile (headers): Add stdc-predef.h.
36921 * CONFORMANCE (Compiler limitations): Update.
36922
ef0aab35
JM
369232012-02-22 Joseph Myers <joseph@codesourcery.com>
36924
36925 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36926
58639409
DM
369272012-02-21 David S. Miller <davem@davemloft.net>
36928
36929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36931
c0e70b25
DM
369322012-02-20 David S. Miller <davem@davemloft.net>
36933
36934 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36935 using a normal save/restore sequence, rather than allocating a
36936 dummy stack frame just to store a frame pointer and restore.
36937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36938
fb06851d
JM
369392012-02-21 Joseph Myers <joseph@codesourcery.com>
36940
36941 * manual/install.texi: Fix stray word in line-wrapped comment.
36942
7a8b71c3
DM
369432012-02-20 David S. Miller <davem@davemloft.net>
36944
d510c123
DM
36945 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36946 both binutils and gcc support GOTDATA.
36947
0722d7c2
DM
36948 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36949 "rd %pc" in the PIC register setup sequences.
36950
3d2b3019
DM
36951 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36952 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36953 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36954 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36955 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36957 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36958 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36960 (SYSCALL_ERROR_HANDLER): Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36964 (SYSCALL_ERROR_HANDLER): Likewise.
36965
c80098a9
DM
36966 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36967 (HAVE_GCC_GOTDATA): New.
36968 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36969 relocation support in both binutils and gcc.
36970 * sysdeps/sparc/elf/configure: Regenerate.
36971
3a2545a0
DM
36972 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36973 * sysdeps/sparc/sparc32/elf/configure: Delete.
36974 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36975 * sysdeps/sparc/sparc64/elf/configure: Delete.
36976 * sysdeps/sparc/elf/configure.in: New file.
36977 * sysdeps/sparc/elf/configure: Generate.
36978
7a8b71c3
DM
36979 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36980 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36981 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36982 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36983 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36984
f1e86fca
JM
369852012-02-21 Joseph Myers <joseph@codesourcery.com>
36986
36987 * manual/install.texi: Do not mention specific glibc version
36988 numbers.
36989 * manual/libc.texinfo (VERSION, UPDATED): Update.
36990 (@copying): Use @copyright{} and range of years.
36991
0e7dfaef
JM
369922012-02-21 Joseph Myers <joseph@codesourcery.com>
36993
36994 [BZ #13695]
36995 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36996 [crti.S not in sysdirs] (generated): Do not append.
36997 [crti.S not in sysdirs] (omit-deps): Likewise.
36998 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36999 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37000 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37001 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37002 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37003 Likewise.
37004 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37005 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37006 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37007 * csu/defs.awk: Remove file.
37008 * sysdeps/generic/initfini.c: Likewise.
37009 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37010 variable.
37011 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37012 Likewise.
37013
599af3ca
JM
370142012-02-20 Joseph Myers <joseph@codesourcery.com>
37015
37016 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37017 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37018 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37019 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37020 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37021 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37022 <bits/epoll.h>.
37023 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37024 (__EPOLL_PACKED): Define to empty if not defined by
37025 <bits/epoll.h>.
37026 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37028 bits/epoll.h.
37029
0e499750
JM
370302012-02-20 Joseph Myers <joseph@codesourcery.com>
37031
37032 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37033 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37034 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37035 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37036 <bits/timerfd.h>.
37037 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37039 bits/timerfd.h.
37040
5ad91f6e
JM
370412012-02-20 Joseph Myers <joseph@codesourcery.com>
37042
37043 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37044 in C locale.
37045 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37046 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37047 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37049
06b99b02
AJ
370502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37051
37052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37054
7638c0fd
AS
370552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37056
37057 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37058 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37059 defined.
37060 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37061 Likewise.
37062 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37063 entry for 2.16.
37064
92221550
AJ
370652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37066
37067 * math/w_acos.c: Use non-signaling floating-point comparisons.
37068 * math/w_acosf.c: Likewise.
37069 * math/w_acosh.c: Likewise.
37070 * math/w_acoshf.c: Likewise.
37071 * math/w_acoshl.c: Likewise.
37072 * math/w_acosl.c: Likewise.
37073 * math/w_asin.c: Likewise.
37074 * math/w_asinf.c: Likewise.
37075 * math/w_asinl.c: Likewise.
37076 * math/w_atanh.c: Likewise.
37077 * math/w_atanhf.c: Likewise.
37078 * math/w_atanhl.c: Likewise.
37079 * math/w_exp2.c: Likewise.
37080 * math/w_exp2f.c: Likewise.
37081 * math/w_exp2l.c: Likewise.
37082 * math/w_j0.c: Likewise.
37083 * math/w_j0f.c: Likewise.
37084 * math/w_j0l.c: Likewise.
37085 * math/w_j1.c: Likewise.
37086 * math/w_j1f.c: Likewise.
37087 * math/w_j1l.c: Likewise.
37088 * math/w_jn.c: Likewise.
37089 * math/w_jnf.c: Likewise.
37090 * math/w_log.c: Likewise.
37091 * math/w_log10.c: Likewise.
37092 * math/w_log10f.c: Likewise.
37093 * math/w_log10l.c: Likewise.
37094 * math/w_log2.c: Likewise.
37095 * math/w_log2f.c: Likewise.
37096 * math/w_log2l.c: Likewise.
37097 * math/w_logf.c: Likewise.
37098 * math/w_logl.c: Likewise.
37099 * math/w_sqrt.c: Likewise.
37100 * math/w_sqrtf.c: Likewise.
37101 * math/w_sqrtl.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37105 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37106 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37107
ebaf36eb
JM
371082012-02-19 Joseph Myers <joseph@codesourcery.com>
37109
37110 [BZ #9739]
37111 * manual/string.texi (strnlen): Use correct parameter name in
37112 equivalent expression.
37113
71c254a6
JM
371142012-02-19 Joseph Myers <joseph@codesourcery.com>
37115
37116 [BZ #11174]
37117 * manual/users.texi (seteuid): Consistently use neweuid for
37118 argument name.
37119
16d2c631
JM
371202012-02-19 Joseph Myers <joseph@codesourcery.com>
37121
37122 [BZ #13704]
37123 * manual/nss.texi (Services in the NSS configuration): Correct
37124 list of services in example configuration file.
37125
cd837b09
NB
371262012-02-19 Nick Bowler <nbowler@draconx.ca>
37127
37128 [BZ #11322]
37129 * manual/arith.texi: Remove statements about negative zero
37130 behaving identically to zero.
37131
02c4bbad
JM
371322012-02-18 Joseph Myers <joseph@codesourcery.com>
37133
37134 [BZ #5993]
37135 * manual/install.texi: Do not document upgrading from libc5.
37136
366842e7
JM
371372012-02-18 Joseph Myers <joseph@codesourcery.com>
37138
37139 [BZ #4596]
37140 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37141
dd54084d
DM
371422012-02-18 David S. Miller <davem@davemloft.net>
37143
37144 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37145 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37146 %o7 across the call.
37147 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37148 instead.
37149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37150 SETUP_PIC_REG_LEAF.
37151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37152 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37153 * sysdeps/sparc/crtn.S: Likewise.
37154
2bcc53a3
UD
371552012-02-17 Ulrich Drepper <drepper@gmail.com>
37156
37157 * aout/Makefile: Remove.
37158
09c093b5
RK
371592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37160
37161 [BZ #13058]
37162 * manual/examples/argp-ex1.c (main): Format definition in GNU
37163 style.
37164 * manual/examples/argp-ex2.c (main): Likewise.
37165 * manual/examples/argp-ex3.c (main): Likewise.
37166 * manual/examples/argp-ex4.c (main): Likewise.
37167 * manual/examples/longopt.c (main): Use new-style prototype
37168 definition.
37169 * manual/examples/strncat.c (main): Specify return type and use
37170 (void) for arguments.
37171 * manual/examples/subopt.c (main): Use char **argv argument.
37172
2ee633a2
JM
371732012-02-17 Joseph Myers <joseph@codesourcery.com>
37174
37175 [BZ #5077]
37176 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37177 rounding modes.
37178
0520adde
FB
371792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37180
37181 [BZ #6907]
37182 * manual/string.texi (strchr): Change when strchrnul is
37183 recommended.
37184
3f4081cd
DGM
371852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37186
37187 [BZ #174]
37188 * manual/locale.texi (setlocale): Document LOCPATH.
37189
d1b10e78
JM
371902012-02-17 Joseph Myers <joseph@codesourcery.com>
37191
37192 [BZ #10210]
37193 * manual/process.texi (execle): Move @dots{} before last argument.
37194
79c6869c
PB
371952012-02-17 Paul Bolle <pebolle@tiscali.nl>
37196
37197 [BZ #12047]
37198 * manual/charset.texi (Generic Charset Conversion): Fix typo
37199 (LC_TYPE -> LC_CTYPE).
37200
cc6e48bc
NB
372012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37202
37203 [BZ #5805]
37204 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37205 (scalbnf): Likewise.
37206 (scalbnl): Likewise.
37207 (scalbln): Likewise.
37208 (scalblnf): Likewise.
37209 (scalblnl): Likewise.
37210 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37211 (vwarnx): Likewise.
37212 (verr): Likewise.
37213 (verrx): Likewise.
37214 * manual/filesys.texi (telldir): Use braces around return type.
37215 * manual/llio.texi (mmap): Add space after comma.
37216 (mmap64): Likewise.
37217 * manual/math.texi (jn): Use @var{} on parameter names.
37218 (jnf): Likewise.
37219 (jnl): Likewise.
37220 (yn): Likewise.
37221 (ynf): Likewise.
37222 (ynl): Likewise.
37223 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37224 line.
37225 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37226 "...".
37227 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37228 (sched_get_priority_max): Likewise.
37229 * manual/signal.texi (sigvec): Add space after comma.
37230 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37231 names.
37232 (if_indextoname): Likewise.
37233 (if_freenameindex): Likewise.
37234 (sendto): Use ',' instead of '.' in prototype.
37235 * manual/startup.texi (syscall): Use @dots{} instead of literal
37236 "...".
37237 * manual/stdio.texi (__fpending): Separate initial words of
37238 paragraph from @deftypefun line.
37239 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37240 "...".
37241 (vsyslog): Use @var{} on parameter names.
37242 * manual/terminal.texi (stty): Use @var{} on parameter names.
37243 * manual/users.texi (getutmp): Use @var{} on parameter names.
37244 (getutmpx): Likewise.
37245
5b23062f
JM
372462012-02-17 Joseph Myers <joseph@codesourcery.com>
37247
37248 [BZ #6884]
37249 * manual/stdio.texi (fopen): Fix typos in description of
37250 ",ccs=STRING".
37251
8dee4833
AJ
372522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37253
37254 [BZ #4026]
37255 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37256 get clock_id definition.
37257
9078ce93
TS
372582012-02-17 Thomas Schwinge <thomas@schwinge.name>
37259
37260 [BZ #4822]
37261 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37262 (madvise): Cast every argument to void on its own.
37263
3835c55f
JM
372642012-02-17 Joseph Myers <joseph@codesourcery.com>
37265
37266 [BZ #9902]
37267 * manual/startup.texi (Exit Status): Fix typo.
37268
35c47e37
JM
372692012-02-17 Joseph Myers <joseph@codesourcery.com>
37270
37271 [BZ #10140]
37272 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37273 * manual/examples/argp-ex2.c: Likewise.
37274 * manual/examples/argp-ex3.c: Likewise.
37275
e3b69ca7
RH
372762012-02-16 Richard Henderson <rth@redhat.com>
37277
37278 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37279 * sysdeps/s390/s390-32/initfini.c: Remove.
37280 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37281 * sysdeps/s390/s390-64/initfini.c: Remove.
37282
df83af67
KK
372832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37284
37285 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37286 compiler output for sysdeps/generic/initfini.c.
37287 * sysdeps/sh/elf/initfini.c: Remove file.
37288
f63f3380
DM
372892012-02-16 David S. Miller <davem@davemloft.net>
37290
fb59b3a4
DM
37291 [BZ #11494]
37292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37293
f63f3380
DM
37294 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37295 * sysdeps/sparc/crti.S: New file.
37296 * sysdeps/sparc/crtn.S: New file.
37297 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37298 * sysdeps/sparc/sparc64/Makefile: Likewise.
37299
df6a4a4a
MF
373002012-02-15 Mike Frysinger <vapier@gentoo.org>
37301
6dd8f3dc 37302 [BZ #3335]
df6a4a4a
MF
37303 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37304
1cac7236
RM
373052012-02-15 Roland McGrath <roland@hack.frob.com>
37306
d2c736f8
RM
37307 [BZ #4822]
37308 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37309
1cac7236
RM
37310 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37311 (write, read, close): Likewise.
37312 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37313
8e475601
JM
373142012-02-15 Joseph Myers <joseph@codesourcery.com>
37315
37316 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37317 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37318 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37319 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37320 <bits/signalfd.h>.
37321 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37323 bits/signalfd.h.
37324
ed656b40
MP
373252012-02-14 Marek Polacek <polacek@redhat.com>
37326
37327 * sysdeps/x86_64/crti.S: New file.
37328 * sysdeps/x86_64/crtn.S: New file.
37329 * sysdeps/x86_64/elf/initfini.c: Remove file.
37330
2a979d3a
JM
373312012-02-13 Joseph Myers <joseph@codesourcery.com>
37332
37333 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37334 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37335 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37336 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37337 <bits/inotify.h>.
37338 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37340 bits/inotify.h.
37341
2a418ac3
JM
373422012-02-13 Joseph Myers <joseph@codesourcery.com>
37343
37344 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37345 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37346 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37347 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37348 <bits/eventfd.h>.
37349 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37351 bits/eventfd.h.
37352
fb779be7
TS
373532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37354
e19e83c5
RM
37355 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37356 __feraiseexcept instead of feraiseexcept.
7c35ffed 37357
fb779be7
TS
37358 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37359 nanosleep invocations.
37360 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37361 strings, and add error checking for a nanosleep invocations.
37362
59ba27a6
PE
373632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37364
37365 Replace FSF snail mail address with URLs, as per GNU coding standards.
37366 Most of the snail mail addresses were wrong anyway, and omitting
37367 them makes the source code easier to maintain. Almost all of the
37368 changes are to license notices and to locale LC_IDENTIFICATION
37369 addresses, except for this one:
37370 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37371 not its snail mail address.
37372
57b957eb
RH
373732012-02-09 Richard Henderson <rth@twiddle.net>
37374
af850b1c
RH
37375 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37376 of kernel-features.h.
37377
57b957eb
RH
37378 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37379
6b73181a
MP
373802012-02-08 Marek Polacek <polacek@redhat.com>
37381
37382 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37383 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37384 * sysdeps/gnu/_G_config.h: Likewise.
37385 * sysdeps/generic/_G_config.h: Likewise.
37386
26ecc33a
AS
373872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37388
6c6dbc63
AS
37389 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37390 tests.
37391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37392
e216c012
AS
37393 * sysdeps/powerpc/powerpc32/crti.S: New file.
37394 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37395 * sysdeps/powerpc/powerpc64/crti.S: New file.
37396 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37397
26ecc33a
AS
37398 * Makeconfig (have-initfini): Don't set.
37399 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37400 * configure.in (nopic_initfini): Don't substitute.
37401 * config.h.in (HAVE_INITFINI): Don't #undef.
37402 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37403 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37404
3add8e13
JM
374052012-02-08 Joseph Myers <joseph@codesourcery.com>
37406
37407 Support crti.S and crtn.S provided directly by architectures.
37408 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37409 [crti.S in sysdirs] (omit-deps): Likewise.
37410 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37411 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37412 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37413 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37414 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37415 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37416 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37417 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37418 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37419 compiler output for sysdeps/generic/initfini.c.
37420 * sysdeps/i386/elf/Makefile: Remove file.
37421 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37422
a22f12b4
MP
374232012-02-07 Marek Polacek <polacek@redhat.com>
37424
37425 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37426 * sysdeps/gnu/_G_config.h: Likewise.
37427 * sysdeps/mach/hurd/_G_config.h: Likewise.
37428
148cf100
MP
374292012-02-07 Marek Polacek <polacek@redhat.com>
37430
37431 * math/Makefile (tests): Add tst-CMPLX2.
37432 * math/tst-CMPLX2.c: New file.
37433
cfdc0dd7
AS
374342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37435
84ba42c4
AS
37436 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37437
cfdc0dd7
AS
37438 * math/libm-test.inc (jn_test): Add missing L suffix.
37439
622c86f4
MP
374402012-02-06 Marek Polacek <polacek@redhat.com>
37441
37442 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37443 * sysdeps/i386/fpu/e_powf.S: Likewise.
37444 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37445 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37446 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37447 * sysdeps/i386/fpu/e_pow.S: Likewise.
37448 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37449 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37450 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37451 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37452 * sysdeps/i386/fpu/e_log2.S: Likewise.
37453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37454 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37455 * sysdeps/i386/fpu/e_powl.S: Likewise.
37456 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37457 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37458 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37459 * sysdeps/i386/fpu/e_logl.S: Likewise.
37460 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37461 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37462 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37463 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37464 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37465 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37466 * sysdeps/i386/fpu/e_log.S: Likewise.
37467 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37469 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37470 * sysdeps/i386/fpu/e_logf.S: Likewise.
37471 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37472 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37473 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37474 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37475 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37476 * sysdeps/i386/fpu/e_log10.S: Likewise.
37477 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37478 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37479 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37480 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37481 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37482 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37483 * sysdeps/i386/asm-syntax.h: Likewise.
37484 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37485 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37487 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37488 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37493 * sysdeps/powerpc/sysdep.h: Likewise.
37494 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37495 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37496
d4a54ac6
JM
374972012-02-06 Joseph Myers <joseph@codesourcery.com>
37498
37499 [BZ #411]
37500 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37501
314054ea
JM
375022012-02-06 Joseph Myers <joseph@codesourcery.com>
37503
37504 * sysdeps/i386/sysdep.h: Include <features.h>.
37505 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37506 version.
37507
d8e0ca50
JM
375082012-02-05 Joseph Myers <joseph@codesourcery.com>
37509
37510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37511 Define.
37512 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37513 LOAD_PIC_REG_STR.
37514
b1da7dd9
JM
375152012-02-03 Joseph Myers <joseph@codesourcery.com>
37516
37517 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37518 (SETUP_PIC_REG): Use GET_PC_THUNK.
37519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37520 macro.
37521
9a1d9254
JM
375222012-02-03 Joseph Myers <joseph@codesourcery.com>
37523
37524 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37525 for non-PIC compilation.
37526 (SETUP_PIC_REG): Add .p2align directive.
37527 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37528 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37529 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37530 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37531 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37532 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37533 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37536 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37537 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37538 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37541 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37557 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37568
65dc3b75
JM
375692012-02-03 Joseph Myers <joseph@codesourcery.com>
37570
37571 * math/tst-CMPLX.c: Include <stdio.h>.
37572
d55bf177
JM
375732012-01-31 Joseph Myers <joseph@codesourcery.com>
37574
37575 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37576 float.
37577 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37578 * sysdeps/sparc/bits/mathdef.h: Likewise.
37579
69db4f8f
MP
375802012-01-31 Marek Polacek <polacek@redhat.com>
37581
37582 * libio/libio.h: Don't define _PARAMS.
37583 * locale/programs/config.h: Don't define PARAMS.
37584 * stdlib/strtol_l.c: Likewise.
37585 (__strtol_l): Remove PARAMS from the prototype.
37586
41b81892
UD
375872012-01-31 Ulrich Drepper <drepper@gmail.com>
37588
3b49edc0
UD
37589 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37590 names. Just use the correct names. Remove unnecessary wrapper
37591 functions.
37592 * malloc/arena.c: Likewise.
37593 * malloc/hooks.c: Likewise.
37594
41b81892
UD
37595 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37596 ARENA_TEST says not to. Simplify test for creation of a new arena.
37597 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37598
27a25b6e
UD
375992012-01-30 Ulrich Drepper <drepper@gmail.com>
37600
37601 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37602 into tail calls.
37603 (update_get_addr): New function.
37604 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37605 GET_ADDR_MODULE parameter.
37606
c8a89e7d
JM
376072012-01-30 Joseph Myers <joseph@codesourcery.com>
37608
37609 * crypt/cert.c: Remove __STDC__ conditionals.
37610 * crypt/crypt-entry.c: Likewise.
37611 * crypt/crypt_util.c: Likewise.
37612 * libio/filedoalloc.c: Likewise.
37613 * libio/fileops.c: Likewise.
37614 * libio/genops.c: Likewise.
37615 * libio/iofclose.c: Likewise.
37616 * libio/iofdopen.c: Likewise.
37617 * libio/iofopen.c: Likewise.
37618 * libio/iofopen64.c: Likewise.
37619 * libio/iogetdelim.c: Likewise.
37620 * libio/iopopen.c: Likewise.
37621 * libio/obprintf.c: Likewise.
37622 * libio/oldfileops.c: Likewise.
37623 * libio/oldiofclose.c: Likewise.
37624 * libio/oldiofdopen.c: Likewise.
37625 * libio/oldiofopen.c: Likewise.
37626 * libio/oldiopopen.c: Likewise.
37627 * libio/wfiledoalloc.c: Likewise.
37628 * libio/wgenops.c: Likewise.
37629 * locale/programs/xmalloc.c: Likewise.
37630 * misc/syslog.c: Likewise.
37631 * stdio-common/xbug.c: Likewise.
37632 * string/memchr.c: Likewise.
37633 * string/memcmp.c: Likewise.
37634 * string/memrchr.c: Likewise.
37635 * string/rawmemchr.c: Likewise.
37636 * sysdeps/posix/getcwd.c: Likewise.
37637 * time/strftime_l.c: Likewise.
37638
3b100462
JM
376392012-01-30 Joseph Myers <joseph@codesourcery.com>
37640
37641 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37642 * config.make.in (config-cflags-sse2avx): Define.
37643 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37644 Fix typo.
37645
607998af
CM
376462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37647
37648 * scripts/config.guess: Update from upstream config git repository.
37649 * scripts/config.sub: Likewise.
37650
3601428f
CM
376512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37652
3ac8b282
CM
37653 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37654 (EM_NUM): Update.
37655 (R_TILEPRO_*, R_TILEGX_*): New macros.
37656
e034841e
CM
37657 * scripts/firstversions.awk: Fix bug in version range handling.
37658
540d7568
CM
37659 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37660
3601428f
CM
37661 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37662
463de862
CM
37663 * include/sys/epoll.h: New file.
37664 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37665 libc_hidden_def.
37666
73139a76
UD
376672012-01-28 Ulrich Drepper <drepper@gmail.com>
37668
96bc5b45
UD
37669 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37670 Avoid unnecessary __WORDSIZE == 64 test.
37671 (fmaxf): Use VEX format if possible.
37672 (fmax): Likewise.
37673 (fminf): Likewise.
37674 (fmin): Likewise.
37675
56f6f6a2
UD
37676 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37677 * math/math_private.h: Remove libc_fegetround* and
37678 libc_fesetround*.
37679 * sysdeps/i386/configure.in: Check for -msse2avx.
37680 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37681 also if SSE2AVX is defined.
37682 Remove libc_fegetround* and libc_fesetround*.
37683 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37684 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37686 of HAS_YMM_USABLE.
37687 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37688 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37690 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37691 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37692
73139a76
UD
37693 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37694
d73f93a4
AZ
376952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37696
37697 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37698 size is not set.
37699 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37700
6ee65ed6
UD
377012012-01-27 Ulrich Drepper <drepper@gmail.com>
37702
37703 [BZ #13618]
37704 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37705 relocation.
37706 * Makeconfig (libm): Define.
37707 * elf/Makefile: Add rules to build and run tst-relsort1.
37708 * elf/tst-relsort1.c: New file.
37709 * elf/tst-relsort1mod1.c: New file.
37710 * elf/tst-relsort1mod2.c: New file.
37711
8db21882
JM
377122012-01-27 Joseph Myers <joseph@codesourcery.com>
37713
37714 * math/s_ldexp.c: Remove __STDC__ conditionals.
37715 * math/s_ldexpf.c: Likewise.
37716 * math/s_ldexpl.c: Likewise.
37717 * math/s_nextafter.c: Likewise.
37718 * math/s_nexttowardf.c: Likewise.
37719 * math/s_significand.c: Likewise.
37720 * math/s_significandf.c: Likewise.
37721 * math/s_significandl.c: Likewise.
37722 * math/w_jnl.c: Likewise.
37723 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37724 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37725 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37726 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37727 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37742 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37743 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37744 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37745 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37746 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37747 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37749 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37750 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37751 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37752 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37753 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37755 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37756 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37757 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37758 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37760 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37763 * sysdeps/ieee754/k_standard.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37825 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37843 * sysdeps/ieee754/s_matherr.c: Likewise.
37844 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37845 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37848
965a54a4
JM
378492012-01-26 Joseph Myers <joseph@codesourcery.com>
37850
37851 * crypt/md5.h: Remove __STDC__ conditionals.
37852 * libio/libioP.h: Likewise.
37853 * locale/programs/config.h: Likewise.
37854 * sysdeps/generic/sysdep.h: Likewise.
37855 * sysdeps/i386/asm-syntax.h: Likewise.
37856 * sysdeps/s390/asm-syntax.h: Likewise.
37857 * sysdeps/unix/sysdep.h: Likewise.
37858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37860
7071ad79
JM
378612012-01-26 Joseph Myers <joseph@codesourcery.com>
37862
37863 * libio/libio.h: Remove __STDC__ conditionals.
37864 * malloc/obstack.h: Likewise.
37865 * math/complex.h: Likewise.
37866 * math/math.h: Likewise.
37867 * sysdeps/generic/_G_config.h: Likewise.
37868 * sysdeps/gnu/_G_config.h: Likewise.
37869 * sysdeps/mach/hurd/_G_config.h: Likewise.
37870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37871 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37872 * sysdeps/sparc/bits/mathdef.h: Likewise.
37873
afc5ed09
UD
378742012-01-26 Ulrich Drepper <drepper@gmail.com>
37875
37876 [BZ #13583]
37877 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37878 Clean up HAS_* macros.
afc5ed09 37879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37880 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37881 possible.
37882 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37883 HAS_AVX.
37884 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37885 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37886 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37887 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37888 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37889
bdb6de1d
JM
378902012-01-25 Joseph Myers <joseph@codesourcery.com>
37891
37892 * elf/tst-unique3.cc (gets): Remove declaration.
37893 * elf/tst-unique3lib.cc (gets): Likewise.
37894 * elf/tst-unique3lib2.cc (gets): Likewise.
37895 * elf/tst-unique4.cc (gets): Likewise.
37896
b15549e6
UD
378972012-01-24 Ulrich Drepper <drepper@gmail.com>
37898
37899 * include/stdio.h: Add C++ protection. Add gets declarations and
37900 definitions.
37901 * debug/tst-chk1.c: Don't declare gets here.
37902 * stdio-common/tst-gets.c: Likewise.
37903
a037381f
JM
379042012-01-24 Joseph Myers <joseph@codesourcery.com>
37905
37906 * posix/glob: Remove directory.
37907
f1d4aa75
JM
379082012-01-24 Joseph Myers <joseph@codesourcery.com>
37909
37910 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37911
81c0c964
PT
379122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37913
37914 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37915 of the non-standard EPFNOSUPPORT.
37916
0ea698ae
ST
379172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37918
37919 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37920 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37921 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37922
d220b117
UD
379232012-01-21 Ulrich Drepper <drepper@gmail.com>
37924
37925 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37926
3e1aa84e
UD
379272012-01-20 Ulrich Drepper <drepper@gmail.com>
37928
37929 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37930 transient errors.
37931 * nscd/grpcache.c (cache_addgr): Likewise.
37932 * nscd/hstcache.c (cache_addhst): Likewise.
37933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37934 * nscd/pwdcache.c (cache_addpw): Likewise.
37935 * nscd/servicescache.c (cache_addserv): Likewise.
37936
400aa020
UD
379372012-01-16 Ulrich Drepper <drepper@gmail.com>
37938
d77e7869
UD
37939 * malloc/malloc.c: Various cleanups.
37940 * malloc/hooks.c: Likewise.
37941
400aa020
UD
37942 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37943 * stdlib/bug-fmtmsg1.c: New file.
37944
37945 * stdlib/fmtmsg.c (init): Add missing unlock.
37946 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37947
e0a309cf
MP
379482012-01-12 Marek Polacek <polacek@redhat.com>
37949
37950 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37951 and _GNU_SOURCE.
37952
929d11c7
WS
379532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37954
37955 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37956 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37957 macro to ensure uniqueness of label name.
37958 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37959 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37960
41d0e869
UD
379612012-01-11 Ulrich Drepper <drepper@gmail.com>
37962
0cc5ed3b
UD
37963 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37964
41d0e869
UD
37965 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37966 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37969
a47a831a
UD
379702012-01-10 Ulrich Drepper <drepper@gmail.com>
37971
daa891c0
UD
37972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37973
37974 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37975 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37976 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37977
e58ef0f2
UD
37978 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37979
a47a831a 37980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37981 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37984
37985 * math/bits/math-finite.h: Add ldexp support.
37986
a0bfc9c7
MP
379872012-01-10 Marek Polacek <polacek@redhat.com>
37988
37989 * locale/programs/localedef.h (show_archive_content): Add noreturn
37990 attribute.
37991
d6e97a1d
UD
379922012-01-09 Ulrich Drepper <drepper@gmail.com>
37993
37994 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37995
d5835c26
UD
379962012-01-08 Ulrich Drepper <drepper@gmail.com>
37997
e5f484c6
UD
37998 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37999
d5835c26
UD
38000 * io/Makefile (headers): Add bits/poll2.h.
38001
d1f741e9
WS
380022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38003
38004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38005 typo #include statement.
38006
ec09c1c4
UD
380072012-01-08 Ulrich Drepper <drepper@gmail.com>
38008
38009 * include/sys/cdefs.h: Define __attribute_alloc_size.
38010 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38011 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38012 * elf/pldd.c: Likewise.
38013 * iconv/iconv_charmap.c: Likewise.
38014 * iconv/iconvconfig.c: Likewise.
38015 * iconv/strtab.c: Likewise.
38016 * locale/programs/locale.c: Likewise.
38017 * locale/programs/localedef.h: Likewise.
38018 * locale/programs/simple-hash.c: Likewise.
38019 * nscd/nscd.h: Likewise.
38020 * nss/makedb.c: Likewise.
38021 * sysdeps/generic/ldconfig.h: Likewise.
38022 * locale/programs/localedef.c: Remove xmalloc prototype.
38023 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38024
20b38e03
PP
380252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38026
38027 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38028 appropriate.
38029
a0da5fe1
UD
380302012-01-08 Ulrich Drepper <drepper@gmail.com>
38031
1d5a644a 38032 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38033 * math/tst-CMPLX.c: New file.
1d5a644a 38034
8784a6db
UD
38035 * math/complex.h (CMPLXL): Fix typo.
38036
d9a216c0
UD
38037 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38038 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38039 GLIBC_2.16.
38040 * debug/tst-chk1.c: Add poll and ppoll tests.
38041 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38042 * include/sys/poll.h: Add hidden proto for ppoll.
38043 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38044 * sysdeps/mach/hurd/ppoll.c: Likewise.
38045 * io/ppoll.c: Likewise.
38046 * debug/poll_chk.c: New file.
38047 * debug/ppoll_chk.c: New file.
38048 * include/bits/poll2.h: New file.
38049 * io/bits/poll2.h: New file.
38050
ac097f5c
UD
38051 [BZ #1350]
38052 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38053
2119dcfa
UD
38054 * configure.in: static is always set to yes. Remove.
38055 * config.make.in: Don't set build-static.
38056 * Makeconfig: Remove use of build-static.
38057 * dlfcn/Makefile: Likewise.
38058 * elf/Makefile: Likewise.
38059 * math/Makefile: Likewise.
38060 * misc/Makefile: Likewise.
38061 * nptl/Makefile: Likewise.
38062 * sysdeps/mach/hurd/Makefile: Likewise.
38063
121766a9
UD
38064 * configure.in: PWD_P is not used anymore.
38065 * config.make.in: Remove PWD_P entry.
38066
51a1d39c 38067 * configure.in: Remove last remnants of RANLIB.
8720d066 38068 No need to check for signed size_t anymore.
215f4bdc
UD
38069 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38070 and IA-64.
3857022a 38071 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38072 * aclocal.m4: Likewise.
38073
d3ed7225
UD
38074 * wcsmbs/mbrtoc16.c: Implement using towc function.
38075 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38076 * wcsmbs/wcsmbsload.c: Likewise.
38077 * iconv/gconv_simple.c: Likewise.
38078 * iconv/gconv_int.h: Likewise.
38079 * iconv/gconv_builtin.h: Likewise.
38080 * iconv/iconv_prog.c: Remove CHAR16 handling.
38081
38082 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38083
38084 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38085
a0da5fe1
UD
38086 * configure.in: Remove --with-elf and --enable-bounded options.
38087 Dont set base_machine for ia64. More non-ELF conditions removed.
38088 Remove testing and setting of leading underscore information.
38089 * config.make.in (build-bounded): Set to no.
38090 * config.h.in: Remove NO_UNDERSCORES entry.
38091 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38092 them.
38093 * csu/start.c: Remove !NO_UNDERSCORE code.
38094 * locale/localeinfo.h: Likewise.
38095 * sysdeps/generic/machine-gmon.h: Likewise.
38096 * sysdeps/generic/sysdep.h: Likewise.
38097 * sysdeps/i386/sysdep.h: Likewise.
38098 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38099 * sysdeps/mach/sysdep.h: Likewise.
38100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38102 * sysdeps/sh/sysdep.h: Likewise.
38103 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38104 * sysdeps/unix/i386/sysdep.S: Likewise.
38105 * sysdeps/unix/sparc/start.c: Likewise.
38106 * sysdeps/unix/sparc/sysdep.S: Likewise.
38107 * sysdeps/unix/sparc/sysdep.h: Likewise.
38108 * sysdeps/unix/start.c: Likewise.
38109 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38110 * sysdeps/x86_64/sysdep.h: Likewise.
38111
df78418a
UD
381122012-01-07 Ulrich Drepper <drepper@gmail.com>
38113
a784e502
UD
38114 [BZ #13553]
38115 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38116 for non-gcc.
38117 * argp/argp-fmtstream.h: Use const instead __const.
38118 * argp/argp.h: Likewise.
38119 * assert/assert.h: Likewise.
38120 * bits/fenv.h: Likewise.
38121 * bits/sched.h: Likewise.
38122 * bits/sigset.h: Likewise.
38123 * bits/sigthread.h: Likewise.
38124 * catgets/nl_types.h: Likewise.
38125 * conform/data/pthread.h-data: Likewise.
38126 * crypt/crypt-private.h: Likewise.
38127 * crypt/crypt.h: Likewise.
38128 * crypt/crypt_util.c: Likewise.
38129 * ctype/ctype.h: Likewise.
38130 * debug/execinfo.h: Likewise.
38131 * debug/mbsnrtowcs_chk.c: Likewise.
38132 * debug/mbsrtowcs_chk.c: Likewise.
38133 * debug/wcsnrtombs_chk.c: Likewise.
38134 * debug/wcsrtombs_chk.c: Likewise.
38135 * debug/wcstombs_chk.c: Likewise.
38136 * dirent/dirent.h: Likewise.
38137 * dlfcn/dlfcn.h: Likewise.
38138 * elf/neededtest4.c: Likewise.
38139 * grp/grp.h: Likewise.
38140 * gshadow/gshadow.h: Likewise.
38141 * iconv/gconv.h: Likewise.
38142 * iconv/gconv_int.h: Likewise.
38143 * iconv/gconv_simple.c: Likewise.
38144 * iconv/iconv.h: Likewise.
38145 * iconv/loop.c: Likewise.
38146 * iconv/skeleton.c: Likewise.
38147 * include/aio.h: Likewise.
38148 * include/aliases.h: Likewise.
38149 * include/argz.h: Likewise.
38150 * include/arpa/inet.h: Likewise.
38151 * include/assert.h: Likewise.
38152 * include/dirent.h: Likewise.
38153 * include/dlfcn.h: Likewise.
38154 * include/execinfo.h: Likewise.
38155 * include/fcntl.h: Likewise.
38156 * include/fenv.h: Likewise.
38157 * include/glob.h: Likewise.
38158 * include/grp.h: Likewise.
38159 * include/libintl.h: Likewise.
38160 * include/mntent.h: Likewise.
38161 * include/netdb.h: Likewise.
38162 * include/pwd.h: Likewise.
38163 * include/rpc/netdb.h: Likewise.
38164 * include/sched.h: Likewise.
38165 * include/search.h: Likewise.
38166 * include/shadow.h: Likewise.
38167 * include/signal.h: Likewise.
38168 * include/stdio.h: Likewise.
38169 * include/stdlib.h: Likewise.
38170 * include/string.h: Likewise.
38171 * include/sys/socket.h: Likewise.
38172 * include/sys/stat.h: Likewise.
38173 * include/sys/statfs.h: Likewise.
38174 * include/sys/statvfs.h: Likewise.
38175 * include/sys/syslog.h: Likewise.
38176 * include/sys/time.h: Likewise.
38177 * include/sys/uio.h: Likewise.
38178 * include/time.h: Likewise.
38179 * include/unistd.h: Likewise.
38180 * include/utmp.h: Likewise.
38181 * include/wchar.h: Likewise.
38182 * include/wctype.h: Likewise.
38183 * inet/aliases.h: Likewise.
38184 * inet/arpa/inet.h: Likewise.
38185 * inet/netinet/ether.h: Likewise.
38186 * inet/netinet/in.h: Likewise.
38187 * intl/libintl.h: Likewise.
38188 * io/bits/fcntl2.h: Likewise.
38189 * io/fcntl.h: Likewise.
38190 * io/ftw.h: Likewise.
38191 * io/sys/poll.h: Likewise.
38192 * io/sys/stat.h: Likewise.
38193 * io/sys/statfs.h: Likewise.
38194 * io/sys/statvfs.h: Likewise.
38195 * io/utime.h: Likewise.
38196 * libio/bits/stdio.h: Likewise.
38197 * libio/bits/stdio2.h: Likewise.
38198 * libio/libio.h: Likewise.
38199 * libio/libioP.h: Likewise.
38200 * libio/stdio.h: Likewise.
38201 * locale/lc-ctype.c: Likewise.
38202 * locale/locale.h: Likewise.
38203 * login/utmp.h: Likewise.
38204 * malloc/arena.c: Likewise.
38205 * malloc/malloc.c: Likewise.
38206 * malloc/malloc.h: Likewise.
38207 * malloc/mcheck.c: Likewise.
38208 * malloc/mtrace.c: Likewise.
38209 * math/bits/mathcalls.h: Likewise.
38210 * math/fenv.h: Likewise.
38211 * math/math_private.h: Likewise.
38212 * misc/bits/error.h: Likewise.
38213 * misc/bits/syslog.h: Likewise.
38214 * misc/err.h: Likewise.
38215 * misc/error.h: Likewise.
38216 * misc/fstab.h: Likewise.
38217 * misc/mntent.h: Likewise.
38218 * misc/regexp.h: Likewise.
38219 * misc/search.h: Likewise.
38220 * misc/sgtty.h: Likewise.
38221 * misc/sys/mman.h: Likewise.
38222 * misc/sys/syslog.h: Likewise.
38223 * misc/sys/uio.h: Likewise.
38224 * misc/sys/xattr.h: Likewise.
38225 * misc/ttyent.h: Likewise.
38226 * nis/rpcsvc/ypclnt.h: Likewise.
38227 * nss/nss.h: Likewise.
38228 * posix/bits/unistd.h: Likewise.
38229 * posix/fnmatch.h: Likewise.
38230 * posix/glob.h: Likewise.
38231 * posix/sched.h: Likewise.
38232 * posix/spawn.h: Likewise.
38233 * posix/sys/wait.h: Likewise.
38234 * posix/unistd.h: Likewise.
38235 * posix/wordexp.h: Likewise.
38236 * pwd/pwd.h: Likewise.
38237 * resolv/netdb.h: Likewise.
38238 * resource/sys/resource.h: Likewise.
38239 * rt/aio.h: Likewise.
38240 * rt/bits/mqueue2.h: Likewise.
38241 * rt/mqueue.h: Likewise.
38242 * shadow/shadow.h: Likewise.
38243 * signal/signal.h: Likewise.
38244 * socket/send.c: Likewise.
38245 * socket/sendto.c: Likewise.
38246 * socket/sys/socket.h: Likewise.
38247 * stdio-common/printf.h: Likewise.
38248 * stdlib/bits/stdlib.h: Likewise.
38249 * stdlib/fmtmsg.h: Likewise.
38250 * stdlib/monetary.h: Likewise.
38251 * stdlib/stdlib.h: Likewise.
38252 * stdlib/ucontext.h: Likewise.
38253 * streams/stropts.h: Likewise.
38254 * string/argz.h: Likewise.
38255 * string/bits/string2.h: Likewise.
38256 * string/string.h: Likewise.
38257 * string/strings.h: Likewise.
38258 * sunrpc/rpc/auth.h: Likewise.
38259 * sunrpc/rpc/auth_des.h: Likewise.
38260 * sunrpc/rpc/clnt.h: Likewise.
38261 * sunrpc/rpc/netdb.h: Likewise.
38262 * sunrpc/rpc/pmap_clnt.h: Likewise.
38263 * sunrpc/rpc/xdr.h: Likewise.
38264 * sysdeps/generic/inttypes.h: Likewise.
38265 * sysdeps/generic/net/if.h: Likewise.
38266 * sysdeps/generic/sys/swap.h: Likewise.
38267 * sysdeps/gnu/net/if.h: Likewise.
38268 * sysdeps/gnu/utmpx.h: Likewise.
38269 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38270 * sysdeps/i386/i486/bits/string.h: Likewise.
38271 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38272 * sysdeps/s390/bits/string.h: Likewise.
38273 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38274 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38275 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38276 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38277 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38278 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38279 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38280 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38281 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38282 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38283 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38284 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38285 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38286 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38287 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38288 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38289 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38291 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38294 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38295 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38296 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38297 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38298 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38299 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38301 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38303 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38304 * sysvipc/sys/ipc.h: Likewise.
38305 * sysvipc/sys/msg.h: Likewise.
38306 * sysvipc/sys/sem.h: Likewise.
38307 * sysvipc/sys/shm.h: Likewise.
38308 * termios/termios.h: Likewise.
38309 * time/sys/time.h: Likewise.
38310 * time/time.h: Likewise.
38311 * wcsmbs/bits/wchar2.h: Likewise.
38312 * wcsmbs/uchar.h: Likewise.
38313 * wcsmbs/wchar.h: Likewise.
38314 * wctype/wctype.h: Likewise.
38315
0269750c
UD
38316 [BZ #13551]
38317 * Makeconfig: Remove all but ELF support including AIX support.
38318 * Makerules: Likewise.
38319 * config.h.in: Likewise.
38320 * config.make.in: Likewise.
38321 * configure: Likewise.
38322 * configure.in: Likewise.
38323 * csu/Makefile: Likewise.
38324 * csu/version.c: Likewise.
38325 * debug/Makefile: Likewise.
38326 * dlfcn/Makefile: Likewise.
38327 * elf/Makefile: Likewise.
38328 * extra-lib.mk: Likewise.
38329 * iconv/Makefile: Likewise.
38330 * include/libc-symbols.h: Likewise.
38331 * include/shlib-compat.h: Likewise.
38332 * resolv/Makefile: Likewise.
38333 * resolv/res_libc.c: Likewise.
38334 * rt/Makefile: Likewise.
38335 * sysdeps/i386/asm-syntax.h: Likewise.
38336 * sysdeps/i386/sysdep.h: Likewise.
38337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38338 * sysdeps/mach/sysdep.h: Likewise.
38339 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38340 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38341 * sysdeps/s390/asm-syntax.h: Likewise.
38342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38344 * sysdeps/sh/sysdep.h: Likewise.
38345 * sysdeps/unix/sparc/sysdep.h: Likewise.
38346 * sysdeps/wordsize-32/divdi3.c: Likewise.
38347 * sysdeps/x86_64/sysdep.h: Likewise.
38348
00bbd29b
UD
38349 * argp/Versions: Remove _argp_unlock_xxx.
38350
38351 [BZ #13559]
38352 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38353 * abilist/libBrokenLocale.abilist: Likewise.
38354 * abilist/libanl.abilist: Likewise.
38355 * abilist/libc.abilist: Likewise.
38356 * abilist/libcrypt.abilist: Likewise.
38357 * abilist/libdl.abilist: Likewise.
38358 * abilist/libm.abilist: Likewise.
38359 * abilist/libnsl.abilist: Likewise.
38360 * abilist/libpthread.abilist: Likewise.
38361 * abilist/libresolv.abilist: Likewise.
38362 * abilist/librt.abilist: Likewise.
38363 * abilist/libthread_db.abilist: Likewise.
38364 * abilist/libutil.abilist: Likewise.
38365 * abilist/libnss_db.abilist: New file.
38366
38367 * scripts/abilist.awk: Add support for indirect functions.
38368
a2693a0e
UD
38369 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38370
3f05895f
UD
38371 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38372
ecb6fb48
UD
38373 * shlib-versions: Remove entries for ports architectures.
38374
664f8cb9
UD
38375 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38376 files in ports.
38377 * elf/stackguard-macros.h: Remove support for IA-64.
38378 * elf/tst-auditmod1.c: Likewise.
38379 * sysdeps/generic/ldsodefs.h: Likewise.
38380
7ae81d88
UD
38381 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38382 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38383 configure files.
38384
bdeba135
UD
38385 [BZ #13552]
38386 * configure.in: Remove --enable-omitfp support.
38387 * FAQ.in: Adjust.
38388 * config.make.in: Likewise.
38389 * Makeconfig: Likewise.
38390 * manual/install.texi: Likewise.
38391
d75a0a62
UD
38392 In case anyone cares, the IA-64 architecture could move to ports.
38393 * sysdeps/ia64/*: Removed.
38394 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38395 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38396
dcc9756b
UD
38397 [BZ #13555]
38398 * configure.in: Remove entries for unsupported architectures.
38399
d3761ebc 38400 [BZ #13533]
9954432e
UD
38401 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38402 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38403 routines.
38404 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38405 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38406 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38407 fall back to using wcrtomb.
38408 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38409 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38410 renaming.
38411 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38412 * wcsmbs/tst-c16c32-1.c: New file.
38413
38414 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38415 local variable.
38416
c3a87236
UD
38417 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38418
28926a1b
UD
38419 * elf/tst-unique3.cc: Add explicit declaration of gets.
38420 * elf/tst-unique3lib.cc: Likewise.
38421 * elf/tst-unique3lib2.cc: Likewise.
38422 * elf/tst-unique4.cc: Likewise.
38423
df78418a
UD
38424 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38425
8ecd6b2a
JM
384262012-01-06 Joseph Myers <joseph@codesourcery.com>
38427
38428 [BZ #13566]
38429 * assert/assert.h (static_assert): Don't define for C++.
38430 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38431 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38432
9f115170
UD
384332012-01-03 Ulrich Drepper <drepper@gmail.com>
38434
5e0d0300
UD
38435 * iconv/loop.c (single loop): Fix assertion in storing of
38436 remaining bytes.
38437
9f115170
UD
38438 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38439
81fb02b0
UD
384402012-01-01 Ulrich Drepper <drepper@gmail.com>
38441
38442 * posix/getconf.c: Update copyright year.
38443 * nss/getent.c: Likewise.
a316c1f6 38444 * nss/makedb.c: Likewise.
81fb02b0
UD
38445 * iconv/iconvconfig.c: Likewise.
38446 * iconv/iconv_prog.c: Likewise.
38447 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38448 * elf/pldd.c: Likewise.
38449 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38450 * catgets/gencat.c: Likewise.
38451 * csu/version.c: Likewise.
38452 * elf/ldd.bash.in: Likewise.
38453 * elf/sprof.c (print_version): Likewise.
38454 * locale/programs/locale.c: Likewise.
38455 * locale/programs/localedef.c: Likewise.
a316c1f6 38456 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38457 * nscd/nscd.c (print_version): Likewise.
38458 * debug/xtrace.sh: Likewise.
38459 * malloc/memusage.sh: Likewise.
38460 * malloc/mtrace.pl: Likewise.
38461 * debug/catchsegv.sh: Likewise.
38462
2ba92745
JJ
384632011-12-30 Jakub Jelinek <jakub@redhat.com>
38464
38465 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38466 pure attribute.
38467
dadebdae
UD
384682011-12-24 Ulrich Drepper <drepper@gmail.com>
38469
d3761ebc 38470 [BZ #13533]
db6af3eb
UD
38471 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38472 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38473 transformations.
38474 * iconv/gconv_int.h: Likewise.
38475 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38476 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38477 from libc for GLIBC_2.16.
38478 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38479 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38480 * wcsmbs/uchar.h: Really define mbstate_t.
38481 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38482 * wcsmbs/c16rtomb.c: New file.
38483 * wcsmbs/mbrtoc16.c: New file.
38484 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38485 for C/POSIX locale.
38486 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38487 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38488
dadebdae
UD
38489 * wcsmbs/wchar.h: Add missing __restrict.
38490
67371b56
UD
384912011-12-23 Ulrich Drepper <drepper@gmail.com>
38492
74033a25
UD
38493 [BZ #13532]
38494 * time/Makefile (routines): Add timespec_get.
38495 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38496 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38497 timespec for ISO C11.
38498 * time/timespec_get.c: New file.
38499 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38500 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38501
380d7e87
UD
38502 [BZ #13531]
38503 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38504 * stdlib/stdlib.h: Declare aligned_alloc.
38505 * Versions.def: Add GLIBC_2.16 for libc.
38506 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38507
4e9e7a35
UD
38508 [BZ 13527]
38509 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38510 ISO C11.
38511
380d7e87 38512 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38513 code.
38514
03a71829
UD
38515 [BZ #13528]
38516 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38517
839e283e
UD
38518 [BZ #13529]
38519 * assert/assert.h (static_assert): Define.
38520
ce5294e2 38521 * version.h: Update for 2.16 development version.
90fa7312 38522
8d44e150 38523 [BZ #13526]
d7809905
UD
38524 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38525 _ISOC11_SOURCE.
38526
c0da14cd
UD
38527 * version.h (RELEASE): Bump for 2.15 release.
38528 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38529
530a3249
MP
38530 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38531 Patch by Marek Polacek <mpolacek@redhat.com>.
38532
67371b56
UD
38533 * bits/byteswap.h: Protect long long constants with __extension__.
38534 * sysdeps/i386/bits/byteswap.h: Likewise.
38535 * sysdeps/ia64/bits/byteswap.h: Likewise.
38536 * sysdeps/s390/bits/byteswap.h: Likewise.
38537 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38538
15db4de1
LD
385392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38540
38541 [BZ #13540]
bbe315ea
LD
38542 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38543 destination buffer.
15db4de1
LD
38544 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38545
2b2596b1
MP
385462011-12-23 Marek Polacek <polacek@redhat.com>
38547
38548 * elf/dl-addr.c (determine_info): Add inline keyword.
38549 * elf/tst-auditmod4b.c (check_avx): Likewise.
38550 * elf/tst-auditmod6b.c (check_avx): Likewise.
38551 * elf/tst-auditmod6c.c (check_avx): Likewise.
38552 * elf/tst-auditmod7b.c (check_avx): Likewise.
38553
70c6c246
UD
385542011-12-23 Ulrich Drepper <drepper@gmail.com>
38555
38556 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38557 !__SSE_MATH__.
38558
c044cf14
LD
385592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38560
15db4de1 38561 [BZ #13540]
c044cf14
LD
38562 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38563 processing for last bytes.
38564
6b13d9d9
BH
385652011-08-06 Bruno Haible <bruno@clisp.org>
38566
d455f537
BH
38567 [BZ #13061]
38568 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38569 U+0385, not to U+1FEE.
38570
6b13d9d9
BH
38571 [BZ #13062]
38572 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38573 entry for U+00A5 U+0301.
38574
db910efd
UD
385752011-12-22 Ulrich Drepper <drepper@gmail.com>
38576
27deeafc
UD
38577 [BZ #13166]
38578 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38579 buffer for the output is too small.
38580
aed9d171
UD
38581 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38582 optimization.
38583
db910efd
UD
38584 [BZ #13185]
38585 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38586 SSE flags if possible.
38587
2bd779ae
LD
385882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38589
e7f9dac3 38590 [BZ #13540]
2bd779ae
LD
38591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38592 processing for last bytes.
38593
154bfc16
JM
385942011-12-22 Joseph Myers <joseph@codesourcery.com>
38595
38596 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38597 (syscall-list-default-options, syscall-list-default-condition)
38598 (syscall-list-includes): Define.
38599 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38600 list of ABIs and options and #if conditions for each ABI. Do not
38601 handle common syscalls between ABIs specially.
38602 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38603 Remove.
38604 (syscall-list-variants, syscall-list-32bit-options)
38605 (syscall-list-32bit-condition, syscall-list-64bit-options)
38606 (syscall-list-64bit-condition): Define.
38607 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38608 (syscall-list-variants, syscall-list-32bit-options)
38609 (syscall-list-32bit-condition, syscall-list-64bit-options)
38610 (syscall-list-64bit-condition): Define.
38611 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38612 Remove.
38613 (syscall-list-variants, syscall-list-32bit-options)
38614 (syscall-list-32bit-condition, syscall-list-64bit-options)
38615 (syscall-list-64bit-condition): Define.
38616 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38617 Remove.
38618 (syscall-list-variants, syscall-list-32bit-options)
38619 (syscall-list-32bit-condition, syscall-list-64bit-options)
38620 (syscall-list-64bit-condition): Define.
38621
21eaf3a5
UD
386222011-12-22 Ulrich Drepper <drepper@gmail.com>
38623
16c6f992
UD
38624 * locale/iso-639.def: Add brx entry.
38625
41043168
UD
38626 [BZ #13328]
38627 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38628 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38629
21eaf3a5
UD
38630 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38631 __feraiseexcept_renamed.
38632
e3a851a2
UD
386332011-12-21 Ulrich Drepper <drepper@gmail.com>
38634
4920765e
UD
38635 [BZ #13538]
38636 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38637 EPOLLET with unsigned values.
38638 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38639 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38640
e3a851a2
UD
38641 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38642 to large cancellation.
38643 * math/s_cacoshf.c: Likewise.
38644 * math/s_cacoshl.c: Likewise.
38645
b27e24b8
RK
386462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38647
38648 [BZ #13305]
aebefeee 38649 [BZ #12786]
b27e24b8
RK
38650 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38651 * math/s_cacoshf.c: Likewise.
38652 * math/s_cacoshl.c: Likewise.
38653
ee190f67
UD
386542011-12-21 Ulrich Drepper <drepper@gmail.com>
38655
38656 [BZ #13439]
38657 * iconv/gconv.h: Define __GCONV_SWAP.
38658 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38659 * iconvdata/utf-16.c: Likewise.
38660 * iconvdata/utf-32.c: Likewise.
38661
707f25df
AS
386622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38663
38664 [BZ #13524]
38665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38666 numerator after shifting it by one limb.
38667
d2daaa1e
RÁE
386682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38669
38670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38671 under [__USE_EXTERN_INLINES].
38672
a4647e72
UD
386732011-12-17 Ulrich Drepper <drepper@gmail.com>
38674
38675 [BZ #13446]
38676 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38677
f0b264f1
AZ
386782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38679
38680 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38681 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38682 optimized code.
38683 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38684 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38685 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38686 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38687 for strncasecmp/strncasecmp_l compilation.
38688 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38689 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38690
8ef4f244
MP
386912011-12-08 Marek Polacek <mpolacek@redhat.com>
38692
38693 [BZ #13484]
38694 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38695 of __asm__.
38696
97ac2654
UD
386972011-12-17 Ulrich Drepper <drepper@gmail.com>
38698
38699 [BZ #13506]
38700 * time/tzfile.c (__tzfile_read): Check values from file header.
38701
91d2a845
WS
387022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38703
38704 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38705 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38706 * powerpc/powerpc32/dl-start.S: Likewise.
38707 * powerpc/powerpc32/elf/start.S: Likewise.
38708 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38709 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38710 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38711 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38712 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38713 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38714 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38715 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38716 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38717 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38718 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38719 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38720 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38721 * powerpc/powerpc32/memset.S: Likewise.
38722 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38723 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38724 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38725 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38726 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38727 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38728 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38729 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38730 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38731 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38732 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38733 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38734 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38735
a1267ba1
AZ
387362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38737
38738 * math/libm-test.inc: Added more nearbyint tests.
38739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38743
ad8ac1bd
RL
387442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38745
38746 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38747 FD_CLOEXEC.
38748
1d3e4b61
UD
387492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38750
38751 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38752 Add wcscpy-ssse3 wcscpy-c.
38753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38754 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38755 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38756 * sysdeps/x86_64/wcschr.S: New file.
38757 * sysdeps/x86_64/wcsrchr.S: New file.
38758 * string/test-strcmp.c: Remove checking of wcscmp function for
38759 wrong alignments.
38760 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38761 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38762 wcsrchr-sse2 wcsrchr-c.
38763 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38764 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38765 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38766 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38767 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38768 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38769 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38770 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38771 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38772 * wcsmbc/wcschr.c (WCSCHR): New macro.
38773
5b330a2d
UD
387742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38775
38776 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38777 * wcsmbs/test-wcsrchr.c: New file.
38778 * string/test-strrchr.c: Add wcsrchr support.
38779 (WIDE): New macro.
38780 * wcsmbs/test-wcscpy.c: New file.
38781 * string/test-strcpy.c: Add wcscpy support.
38782 (WIDE): New macro.
26428b7c 38783
f039c043
UD
387842011-12-10 Ulrich Drepper <drepper@gmail.com>
38785
38786 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38787 the inner loop.
38788
850fb039
AS
387892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38790
38791 [BZ #13472]
38792 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38793
4efbd5cb
UD
387942011-12-04 Ulrich Drepper <drepper@gmail.com>
38795
52ff5dd0 38796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38797 Minor optimizations.
52ff5dd0 38798
4efbd5cb
UD
38799 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38800 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38801 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38802
8a426e12
UD
388032011-12-03 Ulrich Drepper <drepper@gmail.com>
38804
aff2453d
UD
38805 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38806 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38807 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38808 for gcc to avoid warnings.
38809 * inet/Makefile (tests): Add tst-checks.
38810 * inet/tst-checks.c: New file.
38811
38812 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38813 warning.
38814
38815 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38816 __wmemcmp_sse2.
38817
38818 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38819 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38820
8a426e12
UD
38821 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38822
9bea3473
UD
388232011-12-02 Ulrich Drepper <drepper@gmail.com>
38824
3a965496
UD
38825 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38826 problem.
38827
9bea3473
UD
38828 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38829
f101631b
UD
388302011-11-29 Joseph Myers <joseph@codesourcery.com>
38831
38832 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38833 conditional on GCC version.
38834 (__arch_compare_and_exchange_val_8_acq)
38835 (__arch_compare_and_exchange_val_16_acq)
38836 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38837 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38838 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38839
a98275aa
UD
388402011-12-02 Joseph Myers <joseph@codesourcery.com>
38841
38842 * sysdeps/sh/backtrace.c: New file.
38843
d4cc29a2
AS
388442011-12-02 Andreas Schwab <schwab@redhat.com>
38845
38846 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38847 parenthesis.
38848
6257af2d
AS
388492011-12-01 Andreas Schwab <schwab@redhat.com>
38850
38851 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38852 falling back to utime.
38853
b5f44c1a
AS
388542011-11-30 Andreas Schwab <schwab@redhat.com>
38855
38856 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38857 expectations for float.
38858
f3a6cc0a
AS
388592011-11-29 Andreas Schwab <schwab@redhat.com>
38860
38861 * locale/weight.h (findidx): Add parameter len.
38862 * locale/weightwc.h (findidx): Likewise.
38863 * posix/fnmatch_loop.c (FCT): Adjust caller.
38864 * posix/regcomp.c (build_equiv_class): Likewise.
38865 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38866 * posix/regexec.c (check_node_accept_bytes): Likewise.
38867 * string/strcoll_l.c (STRCOLL): Likewise.
38868 * string/strxfrm_l.c (STRXFRM): Likewise.
38869
9d65ea3a
UD
388702011-11-17 Ulrich Drepper <drepper@gmail.com>
38871
38872 * Makefile.in: Remove CVSOPT handling.
38873 * configure.in: Remove use of AC_REVISION.
38874 * iconvdata/Makefile (distribute): No need to filter out CVS.
38875 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38876 handling.
38877
5583a086
AS
388782011-11-16 Andreas Schwab <schwab@redhat.com>
38879
38880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38881 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38882 [USE_AS_STRNCASECMP_L]: Likewise.
38883 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38884 NO_TLS_DIRECT_SEG_REFS.
38885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38886 Fix argument offsets for non-PIC.
38887 [USE_AS_STRNCASECMP_L]: Likewise.
38888 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38889 NO_TLS_DIRECT_SEG_REFS.
38890
d62a8200
UD
388912011-11-15 Ulrich Drepper <drepper@gmail.com>
38892
9d65ea3a 38893 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38894 O_CLOEXEC.
38895 * locale/loadlocale.c (_nl_load_locale): Likewise.
38896
09f93bd3
AS
388972011-11-15 Andreas Schwab <schwab@redhat.com>
38898
446514f9
AS
38899 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38900 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38901 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38902 (SYSCALL_GETTIME): Set errno on error.
38903
09f93bd3
AS
38904 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38905 count references to noai6ai_cached.
38906
312be3f9
UD
389072011-11-15 Ulrich Drepper <drepper@gmail.com>
38908
38909 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38910
38911 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38912 FD_CLOEXEC for /proc/self/maps.
38913
38914 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38915 FD_CLOEXEC for /proc/meminfo.
38916
38917 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38918 gai.conf.
38919
38920 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38921 FD_CLOEXEC for given file.
38922
38923 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38924
38925 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38926 FD_CLOEXEC for /etc/hosts.
38927 (_gethtent): Likewise.
38928
38929 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38930
38931 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38932 cancellation and set FD_CLOEXEC for /etc/netgroup.
38933
38934 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38935 reading /etc/publickey.
38936
38937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38938 allow cancellation when reading /etc/group.
38939
38940 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38941 cancellation.
38942 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38943
38944 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38945 when using data file.
38946
38947 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38948
38949 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38950 (write_nis_obj): Use "c" and "e" in fopen.
38951
38952 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38953
38954 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38955
38956 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38957
38958 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38959
38960 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38961 locale.alias.
38962
38963 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38964
38965 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38966
38967 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38968
38969 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38970 file parsing and set FD_CLOEXEC.
38971
82af0fa8
UD
389722011-11-14 Ulrich Drepper <drepper@gmail.com>
38973
38974 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38975
a5fb313c
AS
389762011-11-14 Andreas Schwab <schwab@redhat.com>
38977
38978 * malloc/arena.c (arena_get2): Don't call reused_arena when
38979 _int_new_arena failed.
38980
6abf3465
UD
389812011-11-14 Ulrich Drepper <drepper@gmail.com>
38982
38983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38984 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38985 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38987 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38989 to compile strcasecmp and strncasecmp.
38990 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38991 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38992
38993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38994
76e3966e
UD
389952011-11-13 Ulrich Drepper <drepper@gmail.com>
38996
38997 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38998 locale-defines.sym to gen-as-const-headers.
38999 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39000 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39002 to compile strcasecmp and strncasecmp.
39003 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39004 strcasecmp_l and strncasecmp_l.
39005 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39006 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39007 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39008 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39009 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39010 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39011 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39012 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39013 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39014 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39015 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39016
ab26144e
UD
390172011-11-12 Ulrich Drepper <drepper@gmail.com>
39018
7edb22ef
UD
39019 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39020 result of SYSDEP_GETTIME_CPU to retval.
39021 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39022 parameter list to macro. Remove trailing semicolon. Adjust users.
39023
9694fc44
UD
39024 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39025 variable.
39026
8ad89ef8
UD
39027 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39028 mantissa words.
39029 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39030
0c822ef9
UD
39031 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39032 from unused variable.
39033
874e0564
UD
39034 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39035 DWARF definitions.
39036 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39037 for assembling.
39038
3a2edc79
UD
39039 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39040 over namespaces.
39041
f3c2577f
UD
39042 * sunrpc/rpc_prot.c (rejected): Fix case value.
39043
294ce126
UD
39044 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39045 unsigned long long int to avoid warnings in shift.
39046
5e2b63c6
UD
39047 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39048 of use of trans.
39049 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39050 variable tmp.
39051
e7f4b08e
UD
39052 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39053 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39054 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39055
ab26144e
UD
39056 * nis/nis_table.c (nis_list): Use variable of correct type for
39057 result of __follow_path call.
39058
8a6d5255
AZ
390592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39060
39061 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39062 of math functions ceil, trunc, floor, round, and sqrt, when
39063 avaliable on the platform.
39064 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39065 name clash.
39066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39067 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39068 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39069
aaddc98c
MP
390702011-10-30 Marek Polacek <mpolacek@redhat.com>
39071
39072 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39073 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39074
95b7042b
RM
390752011-11-11 Roland McGrath <roland@hack.frob.com>
39076
39077 * include/unistd.h: Fix __readlink return type.
39078 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39079
57769839
UD
390802011-11-11 Ulrich Drepper <drepper@gmail.com>
39081
39082 * stdlib/ucontext.h: Undo last change for makecontext.
39083
edc5984d
AS
390842011-11-11 Andreas Schwab <schwab@redhat.com>
39085
98591e58
AS
39086 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39087
edc5984d
AS
39088 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39089 * setjmp/setjmp.h: Mark functions as non-leaf.
39090 * setjmp/bits/setjmp2.h: Likewise.
39091 * stdlib/ucontext.h: Likewise.
39092
77cdc054
AS
390932011-11-10 Andreas Schwab <schwab@redhat.com>
39094
39095 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39096 (reused_arena): Don't check arena limit.
39097 (arena_get2): Atomically check arena limit.
39098
fe72eebd
UD
390992011-11-08 Ulrich Drepper <drepper@gmail.com>
39100
5f078c32
UD
39101 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39102 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39103
fe72eebd
UD
39104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39105 instructions.
39106
ae1bc2fa
AS
391072011-11-07 Andreas Schwab <schwab@redhat.com>
39108
7583a88d
AS
39109 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39110 handler when locking.
39111
ae1bc2fa
AS
39112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39113 Fix size of allocated buffer.
39114
10fb0bfa
AS
391152011-11-04 Andreas Schwab <schwab@redhat.com>
39116
998832a4
AS
39117 [BZ #10103]
39118 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39119 declarations for long double functions.
39120 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39121
10fb0bfa
AS
39122 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39123
3d7ba52b
AS
391242011-11-03 Andreas Schwab <schwab@redhat.com>
39125
a9ae54a1
AS
39126 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39127 installed.
39128
3d7ba52b
AS
39129 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39130 is disabled.
39131
bc8db248
ST
391322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39133
39134 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39135
45b96dd6
AS
391362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39137
647776f6
AS
39138 * include/alloca.h (stackinfo_alloca_round): Define.
39139 (extend_alloca): Use it.
39140 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39141 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39142 here.
39143
d91a8b93
AS
39144 * scripts/check-local-headers.sh: Ignore libaudit.h.
39145
45b96dd6
AS
39146 * nscd/Makefile (extra-objs): Make recursively expanded.
39147
432d41ce
UD
391482011-11-01 Ulrich Drepper <drepper@gmail.com>
39149
34372fc6
UD
39150 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39151 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39152
fadb59f8
UD
39153 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39154 * posix/tst-rfc3484-2.c: Likewise.
39155 * posix/tst-rfc3484-3.c: Likewise.
39156
78239589
UD
39157 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39158 process_vm_writev.
39159 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39160 process_vm_writev.
39161 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39162 process_vm_writev from libc using GLIBC_2.15 version.
39163
432d41ce
UD
39164 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39165
02f9c6cf
PP
391662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39167
39168 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39169 stack usage.
39170
3a2c0242
UD
391712011-10-31 Ulrich Drepper <drepper@gmail.com>
39172
f4ec4833
UD
39173 [BZ #13367]
39174 * nss/getent.c (initgroups_keys): Show error message in case no group
39175 names are given.
39176
3a2c0242
UD
39177 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39178 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39179 __bump_nl_timestamp.
39180 * nscd/connections (nscd_init): When host database is served open
39181 netlink socket and request notification about configuration changes.
39182 (main_loop_poll): Track netlink file descriptor and bump timestamp
39183 in case data becomes available.
39184 (main_loop_epoll): Likewise.
39185 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39186 (database_pers_head): Add extra_data fileds.
39187 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39188 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39189 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39190 Adjust caller.
39191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39192 in6ai data, call __free_in6ai.
39193 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39194 Add -DHAVE_NETLINK.
39195 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39196 interface information. Reuse previous data if netlink timestamp
39197 is not changed.
39198 (__bump_nl_timestamp): New function.
39199 (__free_in6ai): New function.
39200
636064eb
UD
392012011-10-30 Ulrich Drepper <drepper@gmail.com>
39202
39203 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39204 close_not_cancel_no_status here.
39205 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39206
9beb2334
UD
392072011-10-29 Ulrich Drepper <drepper@gmail.com>
39208
6ef76f3b
UD
39209 [BZ #13276]
39210 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39211 return value.
39212
0ffc4f3e 39213 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39214 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39215 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39216
cb95113e
UD
392172011-07-03 Andreas Jaeger <aj@suse.de>
39218
39219 [BZ #10709]
39220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39221 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39222 * math/libm-test.inc (sin_test): Add test case.
39223
a1b560ff
UD
392242011-10-29 Ulrich Drepper <drepper@gmail.com>
39225
c9aaface
UD
39226 [BZ #13337]
39227 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39228 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39229
d272e7f1
UD
39230 * elf/chroot_canon.c (chroot_canon): Cleanups.
39231
1bc33071
UD
39232 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39233
1760874d
TJ
39234 [BZ #13335]
39235 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39237
51d91b18
UD
39238 * string/test-strchr.c: Make usable for strchrnul testing.
39239 * string/test-strchrnul.c: New file.
39240 * string/Makefile (strop-tests): Add strchrnul.
39241
a1b560ff 39242 * po/it.po: Update from translation team.
b611fb81 39243 * po/es.po: Likewise.
a1b560ff 39244
a5b81e1f
UD
392452011-10-28 Ulrich Drepper <drepper@gmail.com>
39246
fd52bc6d
UD
39247 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39248 the three constants needed as parameters. Drop the others.
39249 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39250 __m128i_strloadu_tolower.
52e4b9eb
UD
39251 Create and initialize variable zero and use it in all the places
39252 where _mm_setzero_si128 was used.
fd52bc6d 39253
a5b81e1f
UD
39254 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39255 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39256 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39257 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39258 anymore.
39259 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39260 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39261 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39262 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39263 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39264 __mpranred, __mptan.
39265 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39266 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39267 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39268 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39269 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39270 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39273 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39274
b4343346
AS
392752011-10-28 Andreas Schwab <schwab@redhat.com>
39276
0c92d8a8
AS
39277 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39278 redefine if SHARED.
39279 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39280
b4343346
AS
39281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39282 wide char related routines to wcsmbs subdir.
39283
3871f58f
AS
392842011-10-27 Andreas Schwab <schwab@redhat.com>
39285
39286 [BZ #13344]
39287 * misc/sys/cdefs.h (__THROWNL): Define.
39288 * posix/unistd.h: Use __THREADNL instead of __THREAD
39289 for memory synchronization functions.
39290
94d44d9f
RM
392912011-10-26 Roland McGrath <roland@hack.frob.com>
39292
21b64b15 39293 [BZ #13349]
94d44d9f
RM
39294 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39295 doesn't exist.
39296 * manual/stdio.texi (Obstack Streams): Node removed.
39297
f6ce9294
AS
392982011-10-26 Andreas Schwab <schwab@redhat.com>
39299
80479147
AS
39300 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39303
f6ce9294
AS
39304 * math/math_private.h (math_force_eval): Allow non-addressable
39305 arguments.
39306 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39307
618280a1
UD
393082011-10-25 Ulrich Drepper <drepper@gmail.com>
39309
e0016b11
UD
39310 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39311 file is not needed.
39312
39313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39316 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39317 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39318 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39319 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39320 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39321 Add AVX variants.
39322 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39323 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39324 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39325 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39326 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39327 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39328 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39329 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39330 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39331 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39338 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39340 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39341
39342 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39343 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39344
618280a1
UD
39345 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39346 place. Use VEX encoding when compiling for AVX.
39347
37822576
AS
393482011-10-25 Andreas Schwab <schwab@redhat.com>
39349
1f1e1947
AS
39350 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39351 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39352
37822576
AS
39353 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39354
31ea014d
UD
393552011-10-25 Ulrich Drepper <drepper@gmail.com>
39356
d7826aa1 39357 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39358 useless if() expression.
d7826aa1
UD
39359 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39364 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39369 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39370 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39371 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39373 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39374 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39376 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39377 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39378
31ea014d
UD
39379 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39380
16437fec
AS
393812011-10-25 Andreas Schwab <schwab@redhat.com>
39382
39383 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39384 condition.
39385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39386
31d3cc00
UD
393872011-10-25 Ulrich Drepper <drepper@gmail.com>
39388
39389 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39390 .text section. Avoid duplicate constants.
39391 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39401 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39403 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39406 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39408 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39414 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39415 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39416 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39417 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39418 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39420 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39422 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39424 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39425 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39427 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39429 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39430 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39431 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39433 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39435 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39436
58985aa9
UD
394372011-10-24 Ulrich Drepper <drepper@gmail.com>
39438
202c9deb
UD
39439 * sysdeps/x86_64/dla.h: Move to ...
39440 * sysdeps/x86_64/fpu/dla.h: ...here.
39441 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39442 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39443
af968f62
UD
39444 * config.make.in: Add have-mfma4 entry.
39445 * configure.in: Substitute libc_cv_cc_fma4.
39446 * math/Makefile (dbl-only-routines): Add sincostab.
39447 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39448 Use __sincostab not sincos.
39449 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39450 name is a macro.
39451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39455 using __copysign.
39456 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39457 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39458 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39459 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39460 and __inv.
39461 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39462 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39463 __copysign.
39464 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39465 define aliases when function name is a macro.
39466 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39467 sysdeps/ieee754/dbl-64/sincos.tbl.
39468 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39469 fma4-enabled routines.
39470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39471 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39472 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39473 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39474 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39475 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39477 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39479 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39480 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39482 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39483 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39484 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39485 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39486 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39487 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39488 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39489 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39490 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39491 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39492 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39494 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39495 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39497 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39499 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39500
58985aa9
UD
39501 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39502 rename.
39503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39511
a201fbcf
AS
395122011-10-24 Andreas Schwab <schwab@redhat.com>
39513
39514 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39515
fc2ee42a
LD
395162011-10-23 Ulrich Drepper <drepper@gmail.com>
39517
bb3129bd
UD
39518 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39519
0275fff8
UD
39520 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39521 prediction.
39522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39523
2fa2ae85
UD
39524 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39525 Remove unused variable magic_bits.
39526 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39527
fc2ee42a
LD
39528 * string/strnlen.c: Define and use STRNLEN macro.
39529 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39530 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39532 * wcsmbs/wcslen.c: Define and use WCSLEN.
39533 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39534 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39535 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39536 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39537 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39538 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39539 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39540
ce7dd29f
LD
395412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39542
39543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39544 strnlen-sse2-no-bsf.
39545 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39547 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39548 Add strnlen support.
39549 (USE_AS_STRNLEN): New macro.
39550 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39552 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39553 * sysdeps/x86_64/wcslen.S: New file.
39554
979c70a3
MZ
395552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39556
39557 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39558 XMM-moves are used for copying on small sizes.
39559
2d09f82f
LD
395602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39561
39562 * wcsmbs/Makefile (strop-tests): Add wcschr.
39563 * wcsmbs/test-wcschr.c: New file.
39564 * string/test-strchr.c: Update.
39565 Add wcschr support.
39566 (WIDE): New macro.
39567
619fccca
LD
395682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39569
2d09f82f 39570 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39571 * wcsmbs/test-wcslen.c: New file.
39572 * string/test-strlen.c: Update.
39573 Add wcslen support.
39574 (WIDE): New macro.
39575
09f699ea
UD
395762011-10-23 Ulrich Drepper <drepper@gmail.com>
39577
39578 * po/it.po: Update from translation team.
39579
95584d3b
LD
395802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39581
39582 * sysdeps/x86_64/wcscmp.S: Update.
39583 Fix wrong comparison semantics.
39584 wcscmp shall use signed comparison not unsigned.
39585 Don't use substraction to avoid overflow bug.
39586 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39587 * wcsmbc/wcscmp.c: Likewise.
39588 * string/test-strcmp.c: Likewise.
39589 Add new tests to check cases with negative values.
39590
c8b3296b
UD
395912011-10-23 Ulrich Drepper <drepper@gmail.com>
39592
39593 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39594 * sysdeps/x86_64/dla.h: ...here. New file.
39595 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39604
246ad57a
AS
396052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39606
39607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39608 __ynl_finite aliases.
39609
a1a87169
UD
396102011-10-22 Ulrich Drepper <drepper@gmail.com>
39611
0d355eb7
UD
39612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39613
a1a87169
UD
39614 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39615 define DLA_FMA.
39616 [DLA_FMA] (EMULV): Use DLA_FMA.
39617 [DLA_FMA] (MUL12): Use EMULV.
39618 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39619 that are not needed.
39620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39627
ee2aafe0
AS
396282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39629
39630 * math/s_nan.c: Undef __nan.
39631 * math/s_nanf.c: Undef __nanf.
39632 * math/s_nanl.c: Undef __nanl.
39633 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39634 "math_private.h".
39635
bc62c2fb
UD
396362011-10-22 Ulrich Drepper <drepper@gmail.com>
39637
77425c63
UD
39638 * math/s_catan.c: Add branch predictions.
39639 * math/s_catanf.c: Likewise.
39640 * math/s_catanh.c: Likewise.
39641 * math/s_catanhf.c: Likewise.
39642 * math/s_catanhl.c: Likewise.
39643 * math/s_catanl.c: Likewise.
39644 * math/s_cexp.c: Likewise.
39645 * math/s_cexpf.c: Likewise.
39646 * math/s_cexpl.c: Likewise.
39647 * math/s_clog.c: Likewise.
39648 * math/s_clog10.c: Likewise.
39649 * math/s_clog10f.c: Likewise.
39650 * math/s_clog10l.c: Likewise.
39651 * math/s_clogf.c: Likewise.
39652 * math/s_clogl.c: Likewise.
39653 * math/s_csqrt.c: Likewise.
39654 * math/s_csqrtf.c: Likewise.
39655 * math/s_csqrtl.c: Likewise.
39656 * math/s_ctanf.c: Likewise.
39657 * math/s_ctanh.c: Likewise.
39658 * math/s_ctanhf.c: Likewise.
39659 * math/s_ctanhl.c: Likewise.
39660 * math/s_ctanl.c: Likewise.
39661
bc62c2fb
UD
39662 * math/math_private.h: Define __nan, __nanf, __nanl.
39663 * math/s_cacosh.c: Include <math_private.h>.
39664 * math/s_cacoshl.c: Likewise.
39665 * math/s_casinh.c: Likewise.
39666 * math/s_casinhf.c: Likewise.
39667 * math/s_casinhl.c: Likewise.
39668 * math/s_ccos.c: Rely entire on ccosh.
39669 * math/s_ccosf.c: Rely entire on ccoshf.
39670 * math/s_ccosl.c: Rely entirely on ccoshl.
39671 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39672 Remove tests for FE_INVALID.
39673 * math/s_ccoshf.c: Likewise.
39674 * math/s_ccoshl.c: Likewise.
39675 * math/s_csin.c: Likewise.
39676 * math/s_csinf.c: Likewise.
39677 * math/s_csinh.c Likewise.
39678 * math/s_csinhf.c: Likewise.
39679 * math/s_csinhl.c: Likewise.
39680 * math/s_csinl.c: Likewise.
39681 * math/s_ctan.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39683 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39685
8ec250a4
UD
396862011-10-21 Ulrich Drepper <drepper@gmail.com>
39687
c196fed8
UD
39688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39689 compilation problems.
39690
8ec250a4
UD
39691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39692 __builtin_expect.
39693
8d4f46c6
UD
396942011-10-20 Ulrich Drepper <drepper@gmail.com>
39695
ed72b654
UD
39696 * sysdeps/i386/configure.in: Test for -mfma4 option.
39697 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39698 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39699 COMMON_CPUID_INDEX_80000001.
39700 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39701 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39702 use it if FMA3 is not supported.
39703 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39704
8d4f46c6
UD
39705 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39706 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39707
d45c60c2
AS
397082011-10-20 Andreas Schwab <schwab@redhat.com>
39709
39710 [BZ #12892]
39711 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39712 it would create a cycle with a link time dependency.
39713
d9a4d2ab
UD
397142011-10-19 Ulrich Drepper <drepper@gmail.com>
39715
855d1560
UD
39716 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39717 instruction.
39718 * string/Makefile (strop-tests): Add rawmemchr.
39719 * string/test-rawmemchr.c: New file.
39720
d9a4d2ab
UD
39721 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39723 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39724 when compiling str{,n}casecmp and when AVX is available. Hook up
39725 new optimized code in initializers.
39726
8f3b1ffe
AS
397272011-10-19 Andreas Schwab <schwab@redhat.com>
39728
39729 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39730 __feraiseexcept instead of feraiseexcept.
39731
d38f1dba
UD
397322011-10-18 Ulrich Drepper <drepper@gmail.com>
39733
d9a8d0ab
UD
39734 * math/math_private.h: Define defaults for libc_fetestexcept and
39735 libc_feupdateenv.
39736 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39737 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39738 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39739 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39740 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39741 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39742 libc_fetestexcept and libc_feupdateenv.
39743
4855e3dd
UD
39744 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39745 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39746 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39747 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39748 libc_feholdexcept_setround.
39749
581d30e3
UD
39750 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39751 Add s_nearbyint-c and s_nearbyintf-c.
39752 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39753 nearbyintf inlines.
39754 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39755 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39756 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39757 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39758
d38f1dba
UD
39759 * math/math_private.h: Define defaults for libc_fegetround,
39760 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39761 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39762 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39764 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39765 standard functions.
39766 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39767 Remove comments and hacks for old compiler versions.
39768 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39769 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39770 libc_feholdexceptl.
39771
caa6c9d8
AS
397722011-10-18 Andreas Schwab <schwab@redhat.com>
39773
39774 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39775 (__feraiseexcept_renamed): Add __NTH.
39776 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39777 namespace violations.
39778
97c066e6
UD
397792011-10-17 Ulrich Drepper <drepper@gmail.com>
39780
99ce7b04
UD
39781 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39782
1004d182
UD
39783 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39784
228a984d
UD
39785 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39786 recently added interfaces.
39787 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39788
c8553a6a
UD
39789 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39790 about macro parameter expansion.
39791
ed22dcf6
UD
39792 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39793 __NO_MATH_INLINES is defined. Cleanups.
39794
39795 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39796 and __floorf is target has SSE4.1.
39797 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39798 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39799 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39800 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39801
b171c137
UD
39802 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39803 name.
39804 (floorf): Likewise.
39805
97c066e6
UD
39806 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39807
629f62ef
AS
398082011-10-17 Andreas Schwab <schwab@redhat.com>
39809
49a43d80
AS
39810 * misc/sys/cdefs.h: Fix last change.
39811
629f62ef
AS
39812 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39813 database lookup.
39814
e453f6cd
UD
398152011-10-16 Ulrich Drepper <drepper@gmail.com>
39816
aa78043a
UD
39817 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39818
ad0f5cad
UD
39819 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39822 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39826 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39827 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39828 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39829 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39830 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39831 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39832 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39833 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39834 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39835 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39836 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39837 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39838 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39839 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39840 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39841
39842 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39843 ceil, ceilf, floor, floorf.
39844
39845 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39846 Perform IRELATIVE relocations last.
39847
e453f6cd
UD
39848 * elf/do-rel.h: Add another parameter nrelative, replacing the
39849 local variable with the same name. Change name of the function
39850 to end in Rel or Rela (uppercase).
39851 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39852 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39853 elf_dynamic_do_##reloc function.
39854
fd5bdc09
UD
398552011-10-15 Ulrich Drepper <drepper@gmail.com>
39856
79b195b5
UD
39857 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39858 is sufficient, at least on modern CPUs.
39859
d4a28569
UD
39860 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39861
b61099b5
UD
39862 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39864
bcf01e6d
UD
39865 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39866 __expl_finite.
39867 * math/bits/math-finite.h: Add entries for exp.
39868 * math/e_expl.c: Add __*_finite alias.
39869 * sysdeps/i386/fpu/e_exp.S: Likewise.
39870 * sysdeps/i386/fpu/e_expf.S: Likewise.
39871 * sysdeps/i386/fpu/e_expl.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39873 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39877 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39879
ba1a0d59
UD
39880 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39881 is sufficient, at least on modern CPUs.
39882
fd5bdc09
UD
39883 * ctype/ctype-info.c (__ctype_init): Define.
39884 * include/ctype.h (__ctype_init): Declare.
39885 (__ctype_b_loc): The variable is always initialized.
39886 (__ctype_toupper_loc): Likewise.
39887 (__ctype_tolower_loc): Likewise.
39888 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39889 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39890
7872cfb0
AS
398912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39892
b468825a
AS
39893 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39894
7872cfb0
AS
39895 * configure.in: Also look in $cxxmachine/include for C++ system
39896 headers.
39897
be13f7bf
LD
398982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39899
39900 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39901 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39902 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39903 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39904 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39905 (USE_AS_WMEMCMP): New macro.
39906 Fixing indents.
39907 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39908 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39909 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39910 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39912 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39913 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39914 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39915 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39916 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39917 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39918 (USE_AS_WMEMCMP): New macro.
39919 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39920 * sysdeps/string/test-memcmp.c: Update.
39921 Fix simple_wmemcmp.
39922 Add new tests.
39923 * wcsmbs/wmemcmp.c: Update.
39924 (WMEMCMP): New macro.
39925 Fix overflow bug.
39926
556a2007
AJ
399272011-10-12 Andreas Jaeger <aj@suse.de>
39928
39929 [BZ #13268]
39930 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39931
538faaa7
UD
399322011-10-15 Ulrich Drepper <drepper@gmail.com>
39933
ab6737ff
UD
39934 * libio/iofwide.c (do_length): Avoid warning.
39935
538faaa7
UD
39936 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39937
396a21b1
UD
399382011-10-14 Ulrich Drepper <drepper@gmail.com>
39939
cdf2901f
UD
39940 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39941
38ad40ce
UD
39942 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39943 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39944 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39945 * sysdeps/i386/i686/fpu/e_log.S: New file.
39946 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39947 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39948
396a21b1
UD
39949 * ctype/ctype.h: Add support for inlined isXXX functions when
39950 compiling C++ code.
39951
6b1f68c9
AS
399522011-10-14 Andreas Schwab <schwab@redhat.com>
39953
349290c0
AS
39954 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39955
6b1f68c9
AS
39956 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39957
f2282d42
RM
399582011-10-13 Roland McGrath <roland@hack.frob.com>
39959
39960 [BZ #13291]
39961 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39962
5298ffa8
AS
399632011-10-13 Andreas Schwab <schwab@redhat.com>
39964
714fad23
AS
39965 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39966 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39967 feraiseexcept.
39968
81dcc7fb
AS
39969 * sysdeps/x86_64/memrchr.S: Check for zero size.
39970
5298ffa8
AS
39971 * string/stratcliff.c: Add memrchr tests.
39972
951fbcec
LD
399732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39974
39975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39976 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39977 rawmemchr-sse2 rawmemchr-sse2-bsf.
39978 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39979 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39980 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39981 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39982 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39983 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39984 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39985 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39986 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39987 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39988 * string/memrchr.c (MEMRCHR): New macro.
39989
0ac5ae23
UD
399902011-10-12 Ulrich Drepper <drepper@gmail.com>
39991
39992 Add integration with gcc's -ffinite-math-only and optimize wrapper
39993 functions in libm.
39994 * Versions.def: Define GLIBC_2.15 version for libm.
39995 * math/Makefile (headers): Add bits/math-finite.h.
39996 * math/bits/math-finite.h: New file.
39997 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39998 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39999 * math/e_acoshl.c: Add __*_finite alias.
40000 * math/e_acosl.c: Likewise.
40001 * math/e_asinl.c: Likewise.
40002 * math/e_atan2l.c: Likewise.
40003 * math/e_atanhl.c: Likewise.
40004 * math/e_coshl.c: Likewise.
40005 * math/e_exp10.c: Likewise.
40006 * math/e_exp10f.c: Likewise.
40007 * math/e_exp10l.c: Likewise.
40008 * math/e_exp2l.c: Likewise.
40009 * math/e_fmodl.c: Likewise.
40010 * math/e_gammal_r.c: Likewise.
40011 * math/e_hypotl.c: Likewise.
40012 * math/e_j0l.c: Likewise.
40013 * math/e_j1l.c: Likewise.
40014 * math/e_jnl.c: Likewise.
40015 * math/e_lgammal_r.c: Likewise.
40016 * math/e_log10l.c: Likewise.
40017 * math/e_log2l.c: Likewise.
40018 * math/e_logl.c: Likewise.
40019 * math/e_powl.c: Likewise.
40020 * math/e_sinhl.c: Likewise.
40021 * math/e_sqrtl.c: Likewise.
40022 * math/e_scalb.c: Completely rewritten and optimized.
40023 * math/e_scalbf.c: Likewise.
40024 * math/e_scalbl.c: Likewise.
40025 * math/w_acos.c: Likewise.
40026 * math/w_acosf.c: Likewise.
40027 * math/w_acosl.c: Likewise.
40028 * math/w_acosh.c: Likewise.
40029 * math/w_acoshf.c: Likewise.
40030 * math/w_acoshl.c: Likewise.
40031 * math/w_asin.c: Likewise.
40032 * math/w_asinf.c: Likewise.
40033 * math/w_asinl.c: Likewise.
40034 * math/w_atan2.c: Likewise.
40035 * math/w_atan2f.c: Likewise.
40036 * math/w_atan2l.c: Likewise.
40037 * math/w_atanh.c: Likewise.
40038 * math/w_atanhf.c: Likewise.
40039 * math/w_atanhl.c: Likewise.
40040 * math/w_exp10.c: Likewise.
40041 * math/w_exp10f.c: Likewise.
40042 * math/w_exp10l.c: Likewise.
40043 * math/w_fmod.c: Likewise.
40044 * math/w_fmodf.c: Likewise.
40045 * math/w_fmodl.c: Likewise.
40046 * math/w_j0.c: Likewise.
40047 * math/w_j0f.c: Likewise.
40048 * math/w_j0l.c: Likewise.
40049 * math/w_j1.c: Likewise.
40050 * math/w_j1f.c: Likewise.
40051 * math/w_j1l.c: Likewise.
40052 * math/w_jn.c: Likewise.
40053 * math/w_jnf.c: Likewise.
40054 * math/w_log.c: Likewise.
40055 * math/w_logf.c: Likewise.
40056 * math/w_logl.c: Likewise.
40057 * math/w_log10.c: Likewise.
40058 * math/w_log10f.c: Likewise.
40059 * math/w_log10l.c: Likewise.
40060 * math/w_log2.c: Likewise.
40061 * math/w_log2f.c: Likewise.
40062 * math/w_log2l.c: Likewise.
40063 * math/w_pow.c: Likewise.
40064 * math/w_powf.c: Likewise.
40065 * math/w_powl.c: Likewise.
40066 * math/w_remainder.c: Likewise.
40067 * math/w_remainderf.c: Likewise.
40068 * math/w_remainderl.c: Likewise.
40069 * math/w_scalb.c: Likewise.
40070 * math/w_scalbf.c: Likewise.
40071 * math/w_scalbl.c: Likewise.
40072 * math/w_sqrt.c: Likewise.
40073 * math/w_sqrtf.c: Likewise.
40074 * math/w_sqrtl.c: Likewise.
40075 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40076 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40077 used.
40078 * math/math_private.h: Declare __kernel_standard_f.
40079 * math/w_cosh.c: Remove cruft and optimize a bit.
40080 * math/w_coshf.c: Likewise.
40081 * math/w_coshl.c: Likewise.
40082 * math/w_exp2.c: Likewise.
40083 * math/w_exp2f.c: Likewise.
40084 * math/w_exp2l.c: Likewise.
40085 * math/w_hypot.c: Likewise.
40086 * math/w_hypotf.c: Likewise.
40087 * math/w_hypotl.c: Likewise.
40088 * math/w_lgamma.c: Likewise.
40089 * math/w_lgamma_r.c: Likewise.
40090 * math/w_lgammaf.c: Likewise.
40091 * math/w_lgammaf_r.c: Likewise.
40092 * math/w_lgammal.c: Likewise.
40093 * math/w_lgammal_r.c: Likewise.
40094 * math/w_sinh.c: Likewise.
40095 * math/w_sinhf.c: Likewise.
40096 * math/w_sinhl.c: Likewise.
40097 * math/w_tgamma.c: Likewise.
40098 * math/w_tgammaf.c: Likewise.
40099 * math/w_tgammal.c: Likewise.
40100 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40102 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40103 Minor optimizations. Pretty printing. Remove cruft.
40104 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40108 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40109 * sysdeps/i386/fpu/e_asin.S: Likewise.
40110 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40111 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40112 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40113 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40114 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40115 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40116 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40117 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40118 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40119 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40120 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40121 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40122 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40123 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40124 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40125 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40126 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40127 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40128 * sysdeps/i386/fpu/e_log.S: Likewise.
40129 * sysdeps/i386/fpu/e_log10.S: Likewise.
40130 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40131 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40132 * sysdeps/i386/fpu/e_log2.S: Likewise.
40133 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40134 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40135 * sysdeps/i386/fpu/e_logf.S: Likewise.
40136 * sysdeps/i386/fpu/e_logl.S: Likewise.
40137 * sysdeps/i386/fpu/e_pow.S: Likewise.
40138 * sysdeps/i386/fpu/e_powf.S: Likewise.
40139 * sysdeps/i386/fpu/e_powl.S: Likewise.
40140 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40141 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40142 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40143 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40144 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40145 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40146 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40147 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40148 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40170 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40173 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40174 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40175 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40176 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40177 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40178 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40179 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40180 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40181 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40182 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40183 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40184 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40185 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40186 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40187 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40188 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40189 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40190 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40229 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40240 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40242 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40246 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40247 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40248 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40249 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40250 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40251 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40252 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40253 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40254 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40255 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40256 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40257 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40259 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40260 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40261 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40262 (__isnanf): Likewise.
40263 (__isinf_ns): Likewise.
40264 (__isinf_nsf): Likewise.
40265 (__finite): Likewise.
40266 (__finitef): Likewise.
40267 (__ieee754_sqrt): Define as macro.
40268 (__ieee754_sqrtf): Define as macro.
40269 (__ieee754_sqrtl): Define as macro.
40270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40271 inlined copy.
40272 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40273 __FINITE_MATH_ONLY__ consistent.
40274 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40275
12cc2fcd
AS
402762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40277
a843a204
AS
40278 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40279 of rawmemchr.
40280
12cc2fcd
AS
40281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40282
c853acd5
UD
402832011-10-09 Ulrich Drepper <drepper@gmail.com>
40284
40285 * po/ja.po: Update from translation team.
40286
c658d255
RM
402872011-10-08 Roland McGrath <roland@hack.frob.com>
40288
110946e4
RM
40289 * locale/programs/locarchive.c (prepare_address_space): New function.
40290 (create_archive, enlarge_archive, open_archive): Use it.
40291
50604220
RM
40292 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40293 inside [SHARED], where it is used.
40294
c658d255
RM
40295 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40296
40297 * nss/getent.c (netgroup_keys): Remove unused variable.
40298 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40299
6a621eb7
UD
403002011-10-08 Ulrich Drepper <drepper@gmail.com>
40301
7edb55ce
UD
40302 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40303 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40305 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40306 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40307 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40308 * math/Makefile (libm-calls): Add s_isinf_ns.
40309 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40310 * math/multc3.c: Likewise.
40311 * math/s_casin.c: Likewise.
40312 * math/s_casinf.c: Likewise.
40313 * math/s_casinl.c: Likewise.
40314 * math/s_ccos.c: Likewise.
40315 * math/s_ccosf.c: Likewise.
40316 * math/s_ccosl.c: Likewise.
40317 * math/s_ctan.c: Likewise.
40318 * math/s_ctanf.c: Likewise.
40319 * math/s_ctanh.c: Likewise.
40320 * math/s_ctanhf.c: Likewise.
40321 * math/s_ctanhl.c: Likewise.
40322 * math/s_ctanl.c: Likewise.
40323 * math/w_fmod.c: Likewise.
40324 * math/w_fmodf.c: Likewise.
40325 * math/w_fmodl.c: Likewise.
40326 * math/w_remainder.c: Likewise.
40327 * math/w_remainderf.c: Likewise.
40328 * math/w_remainderl.c: Likewise.
40329 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40330 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40331 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40333 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40334 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40335 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40336 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40337
187da0ae
UD
40338 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40339 of the number.
40340 * stdio-common/printf_fphex.c: Likewise.
40341 * stdio-common/printf_size.c: Likewise.
40342
9277c064
UD
40343 * math/e_exp10.c: Include math_private.h using <...> not "...".
40344 * math/e_exp10f.c: Likewise.
40345 * math/e_exp10l.c: Likewise.
40346 * math/e_exp2l.c: Likewise.
40347 * math/e_j0l.c: Likewise.
40348 * math/e_j1l.c: Likewise.
40349 * math/e_jnl.c: Likewise.
40350 * math/e_lgammal_r.c: Likewise.
40351 * math/e_rem_pio2l.c: Likewise.
40352 * math/e_scalb.c: Likewise.
40353 * math/e_scalbf.c: Likewise.
40354 * math/e_scalbl.c: Likewise.
40355 * math/k_cosl.c: Likewise.
40356 * math/k_sinl.c: Likewise.
40357 * math/k_tanl.c: Likewise.
40358 * math/s_cacoshf.c: Likewise.
40359 * math/s_catan.c: Likewise.
40360 * math/s_catanf.c: Likewise.
40361 * math/s_catanh.c: Likewise.
40362 * math/s_catanhf.c: Likewise.
40363 * math/s_catanhl.c: Likewise.
40364 * math/s_catanl.c: Likewise.
40365 * math/s_ccosh.c: Likewise.
40366 * math/s_ccoshf.c: Likewise.
40367 * math/s_ccoshl.c: Likewise.
40368 * math/s_cexp.c: Likewise.
40369 * math/s_cexpf.c: Likewise.
40370 * math/s_cexpl.c: Likewise.
40371 * math/s_clog.c: Likewise.
40372 * math/s_clog10.c: Likewise.
40373 * math/s_clog10f.c: Likewise.
40374 * math/s_clog10l.c: Likewise.
40375 * math/s_clogf.c: Likewise.
40376 * math/s_clogl.c: Likewise.
40377 * math/s_csin.c: Likewise.
40378 * math/s_csinf.c: Likewise.
40379 * math/s_csinh.c: Likewise.
40380 * math/s_csinhf.c: Likewise.
40381 * math/s_csinhl.c: Likewise.
40382 * math/s_csinl.c: Likewise.
40383 * math/s_csqrt.c: Likewise.
40384 * math/s_csqrtf.c: Likewise.
40385 * math/s_csqrtl.c: Likewise.
40386 * math/s_ctan.c: Likewise.
40387 * math/s_ctanf.c: Likewise.
40388 * math/s_ctanh.c: Likewise.
40389 * math/s_ctanhf.c: Likewise.
40390 * math/s_ctanhl.c: Likewise.
40391 * math/s_ctanl.c: Likewise.
40392 * math/s_ldexp.c: Likewise.
40393 * math/s_ldexpf.c: Likewise.
40394 * math/s_ldexpl.c: Likewise.
40395 * math/s_significand.c: Likewise.
40396 * math/s_significandf.c: Likewise.
40397 * math/s_significandl.c: Likewise.
40398 * math/w_acos.c: Likewise.
40399 * math/w_acosf.c: Likewise.
40400 * math/w_acosh.c: Likewise.
40401 * math/w_acoshf.c: Likewise.
40402 * math/w_acoshl.c: Likewise.
40403 * math/w_acosl.c: Likewise.
40404 * math/w_asin.c: Likewise.
40405 * math/w_asinf.c: Likewise.
40406 * math/w_asinl.c: Likewise.
40407 * math/w_atan2.c: Likewise.
40408 * math/w_atan2f.c: Likewise.
40409 * math/w_atan2l.c: Likewise.
40410 * math/w_atanh.c: Likewise.
40411 * math/w_atanhf.c: Likewise.
40412 * math/w_atanhl.c: Likewise.
40413 * math/w_cosh.c: Likewise.
40414 * math/w_coshf.c: Likewise.
40415 * math/w_coshl.c: Likewise.
40416 * math/w_dremf.c: Likewise.
40417 * math/w_exp10.c: Likewise.
40418 * math/w_exp10f.c: Likewise.
40419 * math/w_exp10l.c: Likewise.
40420 * math/w_exp2.c: Likewise.
40421 * math/w_exp2f.c: Likewise.
40422 * math/w_fmod.c: Likewise.
40423 * math/w_fmodf.c: Likewise.
40424 * math/w_fmodl.c: Likewise.
40425 * math/w_hypot.c: Likewise.
40426 * math/w_hypotf.c: Likewise.
40427 * math/w_hypotl.c: Likewise.
40428 * math/w_j0.c: Likewise.
40429 * math/w_j0f.c: Likewise.
40430 * math/w_j0l.c: Likewise.
40431 * math/w_j1.c: Likewise.
40432 * math/w_j1f.c: Likewise.
40433 * math/w_j1l.c: Likewise.
40434 * math/w_jn.c: Likewise.
40435 * math/w_jnf.c: Likewise.
40436 * math/w_jnl.c: Likewise.
40437 * math/w_lgamma.c: Likewise.
40438 * math/w_lgamma_r.c: Likewise.
40439 * math/w_lgammaf.c: Likewise.
40440 * math/w_lgammaf_r.c: Likewise.
40441 * math/w_lgammal.c: Likewise.
40442 * math/w_lgammal_r.c: Likewise.
40443 * math/w_log.c: Likewise.
40444 * math/w_log10.c: Likewise.
40445 * math/w_log10f.c: Likewise.
40446 * math/w_log10l.c: Likewise.
40447 * math/w_log2.c: Likewise.
40448 * math/w_log2f.c: Likewise.
40449 * math/w_log2l.c: Likewise.
40450 * math/w_logf.c: Likewise.
40451 * math/w_logl.c: Likewise.
40452 * math/w_pow.c: Likewise.
40453 * math/w_powf.c: Likewise.
40454 * math/w_powl.c: Likewise.
40455 * math/w_remainder.c: Likewise.
40456 * math/w_remainderf.c: Likewise.
40457 * math/w_remainderl.c: Likewise.
40458 * math/w_scalb.c: Likewise.
40459 * math/w_scalbf.c: Likewise.
40460 * math/w_scalbl.c: Likewise.
40461 * math/w_sinh.c: Likewise.
40462 * math/w_sinhf.c: Likewise.
40463 * math/w_sinhl.c: Likewise.
40464 * math/w_sqrt.c: Likewise.
40465 * math/w_sqrtf.c: Likewise.
40466 * math/w_sqrtl.c: Likewise.
40467 * math/w_tgamma.c: Likewise.
40468 * math/w_tgammaf.c: Likewise.
40469 * math/w_tgammal.c: Likewise.
40470
6a621eb7
UD
40471 * po/ja.po: Update from translation team.
40472
bf582445
AJ
404732011-09-29 Andreas Jaeger <aj@suse.de>
40474
f9efbf3a
AJ
40475 [BZ #13179]
40476 * sunrpc/netname.c (netname2host): Fix logic.
40477
bf582445
AJ
40478 [BZ #6779]
40479 [BZ #6783]
40480 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40481 correctly.
40482 * math/w_remainder.c (__remainder): Likewise.
40483 * math/w_remainderf.c (__remainderf): Likewise.
40484 * math/libm-test.inc (remainder_test): Add test cases.
40485
48693bea
AK
404862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40487
40488 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40489 sdiv_qrnnd.
40490
42622229
LD
404912011-10-07 Ulrich Drepper <drepper@gmail.com>
40492
40493 * string/test-memcmp.c: Avoid unncessary #defines.
40494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40495
093ecf92
LD
404962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40497
40498 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40499 Use new sse2 version for core i3 - i7 as it's faster
40500 than sse42 version.
40501 (bit_Prefer_PMINUB_for_stringop): New.
40502 * sysdeps/x86_64/rawmemchr.S: Update.
40503 Replace with faster SSE2 version.
40504 * sysdeps/x86_64/memrchr.S: New file.
40505 * sysdeps/x86_64/memchr.S: Update.
40506 Replace with faster SSE2 version.
40507
fde56e5c
MP
405082011-09-12 Marek Polacek <mpolacek@redhat.com>
40509
40510 * elf/dl-load.c (lose): Add cast to avoid warning.
40511
21fd49a9
UD
405122011-10-07 Ulrich Drepper <drepper@gmail.com>
40513
5a06e643
UD
40514 * po/ca.po: Update from translation team.
40515
684ae515
UD
40516 * inet/getnetgrent_r.c: Hook up nscd.
40517 * nscd/Makefile (routines): Add nscd_netgroup.
40518 (nscd-modules): Add netgroupcache.
40519 (CFLAGS-netgroupcache.c): Define.
40520 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40521 (cache_search): Add const to second parameter.
40522 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40523 INNETGR.
40524 (dbs): Add netgrdb entry.
40525 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40526 (verify_persistent_db): Handle netgrdb.
40527 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40528 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40529 GETFDNETGR.
40530 (netgroup_response_header): Define.
40531 (innetgroup_response_header): Define.
40532 (datahead): Add netgroup_response_header and innetgroup_response_header
40533 elements.
40534 * nscd/nscd.conf: Add entries for netgroup cache.
40535 * nscd/nscd.h (dbtype): Add netgrdb.
40536 (_PATH_NSCD_NETGROUP_DB): Define.
40537 (netgroup_iov_disabled): Declare.
40538 (xmalloc, xcalloc, xrealloc): Move declarations here.
40539 (cache_search): Adjust prototype.
40540 Add netgroup-related prototypes.
40541 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40542 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40543 (__nscd_innetgr): Declare.
40544 * nscd/selinux.c (perms): Use access_vector_t as element type and
40545 add netgroup-related initializers.
40546 * nscd/netgroupcache.c: New file.
40547 * nscd/nscd_netgroup.c: New file.
40548 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40549 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40550 For four parameters use innetgr.
40551 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40552 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40553 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40554 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40555
21fd49a9
UD
40556 * nscd/connections.c (register_traced_file): Don't register file
40557 for disabled databases.
40558
054c0457
UD
405592011-10-06 Ulrich Drepper <drepper@gmail.com>
40560
32b63198
UD
40561 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40562
054c0457
UD
40563 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40564 from tree and freeing node.
40565
64031225
JO
405662011-09-25 Jiri Olsa <jolsa@redhat.com>
40567
40568 * nss/nsswitch.c (__nss_database_lookup): Handle
40569 nss_parse_service_list out of memory case.
40570
0490345c
JO
405712011-09-15 Jiri Olsa <jolsa@redhat.com>
40572
40573 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40574 out of memory case.
40575
3a62d00d
AS
405762011-10-04 Andreas Schwab <schwab@redhat.com>
40577
40578 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40579 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40580 pass it down.
40581 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40582 elf_machine_rela, elf_machine_lazy_rel.
40583 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40584 (ELF_DYNAMIC_DO_REL): Likewise.
40585 (ELF_DYNAMIC_DO_RELA): Likewise.
40586 (ELF_DYNAMIC_RELOCATE): Likewise.
40587 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40588 to ELF_DYNAMIC_DO_REL.
40589 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40590 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40591 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40592 elf_machine_rela.
40593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40594 skip_ifunc, don't call ifunc function if non-zero.
40595 (elf_machine_rela): Likewise.
40596 (elf_machine_lazy_rel): Likewise.
40597 (elf_machine_lazy_rela): Likewise.
40598 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40599 (elf_machine_lazy_rel): Likewise.
40600 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40601 Likewise.
40602 (elf_machine_lazy_rel): Likewise.
40603 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40604 Likewise.
40605 (elf_machine_lazy_rel): Likewise.
40606 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40607 (elf_machine_lazy_rel): Likewise.
40608 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40609 (elf_machine_lazy_rel): Likewise.
40610 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40611 (elf_machine_lazy_rel): Likewise.
40612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40613 (elf_machine_lazy_rel): Likewise.
40614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40615 (elf_machine_lazy_rel): Likewise.
40616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40617 (elf_machine_lazy_rel): Likewise.
40618
68577918
UD
406192011-09-28 Ulrich Drepper <drepper@gmail.com>
40620
40621 * nss/nss_files/files-init.c (_nss_files_init): Use static
40622 initialization for all the *_traced_file variables.
40623
68822d74
AS
406242011-09-28 Andreas Schwab <schwab@redhat.com>
40625
40626 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40627
2056100b
RM
406282011-09-27 Roland McGrath <roland@hack.frob.com>
40629
40630 [BZ #13226]
40631 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40632
32c76b63
AS
406332011-09-27 Andreas Schwab <schwab@redhat.com>
40634
40635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40636 Reread the line before reparsing it.
40637
bf972c9d
AS
406382011-09-26 Andreas Schwab <schwab@redhat.com>
40639
40640 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40641
e057a1b5
JM
406422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40643 Maxim Kuvyrkov <maxim@codesourcery.com>
40644 Joseph Myers <joseph@codesourcery.com>
40645
40646 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40647 if needed for __stack_chk_guard.
40648
bc7e1c36
RM
406492011-09-19 Roland McGrath <roland@hack.frob.com>
40650
ecb1482f
RM
40651 * sysdeps/posix/spawni.c (script_execute): Always define it.
40652 It will be optimized away if unused.
40653 (maybe_script_execute): New function.
40654 (__spawni): Call it.
40655
bc7e1c36
RM
40656 * Makerules: Don't include tls.make.
40657 (config-tls): Always set to thread.
40658 * tls.make.c: File removed.
40659
1c3b002b
MF
406602011-09-19 Mike Frysinger <vapier@gentoo.org>
40661
40662 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40663 * config.make.in (CPPFLAGS-config): New substituted variable.
40664
2840865d
UD
406652011-09-15 Ulrich Drepper <drepper@gmail.com>
40666
88738eb6
UD
40667 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40668
cbf645a6 40669 [BZ #13192]
2840865d
UD
40670 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40671 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40672
b402e91a
RM
406732011-09-15 Roland McGrath <roland@hack.frob.com>
40674
40675 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40676 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40678 (CALL_FAIL): Likewise.
40679 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40680 (CALL_FAIL): Macro removed.
40681 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40682
4c1a1f71
UD
406832011-09-15 Ulrich Drepper <drepper@gmail.com>
40684
40685 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40686 for __FINITE_MATH_ONLY__ == 1.
40687
edc121be
AS
406882011-09-15 Andreas Schwab <schwab@redhat.com>
40689
40690 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40691 __ieee754_sqrt instead of sqrt.
40692 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40693 __ieee754_sqrtf instead of sqrtf.
40694 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40695 __floorf instead of floorf.
40696 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40697 __floorf, __truncf instead of floorf, truncf.
40698
cd205654
UD
406992011-09-14 Ulrich Drepper <drepper@gmail.com>
40700
ee4d0315
UD
40701 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40702
cd205654
UD
40703 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40704 __extern_always_inline.
40705 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40706 32-bit.
40707
48b67d71
AS
407082011-09-14 Andreas Schwab <schwab@redhat.com>
40709
40710 * elf/rtld.c (dl_main): Also relocate in dependency order when
40711 doing symbol dependency testing.
40712
1ae12c75
AS
407132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40714
40715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40716 Always define `refsym'.
40717
995a80df
AS
407182011-09-13 Andreas Schwab <schwab@redhat.com>
40719
e529793b
AS
40720 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40721 (__FD_ELT): Renamed from __FDELT.
40722 * misc/bits/select2.h (__FD_ELT): Likewise.
40723 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40724 __FD_MASK instead of __FDELT, __FDMASK.
40725 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40726 Likewise.
40727 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40728 Likewise.
40729
52d4fef8
AS
40730 * elf/Makefile (gen-ldd): Fix pattern.
40731
995a80df
AS
40732 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40733 (init_tls): Likewise.
40734
8682f8b0
UD
407352011-09-12 Ulrich Drepper <drepper@gmail.com>
40736
40737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40738
de82006d
AS
407392011-09-12 Andreas Schwab <schwab@redhat.com>
40740
a7c8e6a1
AS
40741 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40742 `struct cmsghdr *' instead of `void *'.
40743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40744 Likewise.
40745
0f31fe77
AS
407462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40747
40748 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40749 if non-absolute.
40750 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40751 ldd_rewrite_script.
0f31fe77 40752
32b4c839
UD
407532011-09-11 Ulrich Drepper <drepper@gmail.com>
40754
83cd1420
UD
40755 * configure.in: Remove --with-tls option.
40756 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40757 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40758 out in case it is missing.
40759 * sysdeps/ia64/elf/configure.in: Likewise.
40760 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40761 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40762 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40763 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40764 * sysdeps/sh/elf/configure.in: Likewise.
40765 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40766 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40767 * sysdeps/x86_64/elf/configure.in: Likewise.
40768 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40769 * sysdeps/mach/hurd/tls.h: Likewise.
40770
633f745d
UD
40771 [BZ #13067]
40772 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40773
f318beb8
UD
40774 [BZ #13090]
40775 * configure.in: Fix use of AC_INIT.
40776
32b4c839
UD
40777 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40778
3ce1f295
UD
407792011-09-10 Ulrich Drepper <drepper@gmail.com>
40780
bb016596
UD
40781 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40782 __set_errno.
8e58439c
UD
40783 * malloc/hooks.c: Likewise.
40784
aebae053 40785 [BZ #11929]
02d46fc4
UD
40786 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40787 variables statically.
40788 (narenas): Initialize.
40789 (list_lock): Initialize.
bb016596
UD
40790 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40791 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40792 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40793 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40794 Add initializers to main_arena and mp_.
40795 (malloc_state): Remove pagesize member. Change all users to use
40796 GLRO(dl_pagesize).
40797
40798 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40799 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40800 is always initialized.
40801
22a89187
UD
40802 * malloc/malloc.c: Removed unused configurations and dead code.
40803 * malloc/arena.c: Likewise.
40804 * malloc/hooks.c: Likewise.
02d46fc4 40805 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40806
d063d164
UD
40807 * include/tls.h: Removed. USE___THREAD must always be defined.
40808 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40809 * elf/dl-libc.c: Likewise.
40810 * elf/dl-tsd.c: Likewise.
40811 * include/errno.h: Likewise.
40812 * include/netdb.h: Likewise.
40813 * include/resolv.h: Likewise.
40814 * inet/herrno-loc.c: Likewise.
40815 * inet/herrno.c: Likewise.
40816 * malloc/arena.c: Likewise.
40817 * malloc/hooks.c: Likewise.
40818 * malloc/malloc.c: Likewise.
40819 * resolv/res-state.c: Likewise.
40820 * resolv/res_libc.c: Likewise.
40821 * sysdeps/i386/dl-machine.h: Likewise.
40822 * sysdeps/ia64/dl-machine.h: Likewise.
40823 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40824 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40825 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40826 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40827 * sysdeps/sh/dl-machine.h: Likewise.
40828 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40829 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40830 * sysdeps/unix/i386/sysdep.S: Likewise.
40831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40832 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40837 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40841 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40842 * sysdeps/x86_64/dl-machine.h: Likewise.
40843 * tls.make.c: Likewise.
40844
3ce1f295
UD
40845 * configure.in: Remove --with-__thread option. Make tests for
40846 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40847 tls_model attribute fail if no support is available. Remove
40848 USE_IN_LIBIO.
40849 * Makeconfig: Adjust for dropped configure option. All features are
40850 now mandatory.
40851 * Makerules: Likewise.
40852 * Versions.def: Likewise.
40853 * argp/argp-fmtstream.c: Likewise.
40854 * argp/argp-fmtstream.h: Likewise.
40855 * argp/argp-help.c: Likewise.
40856 * assert/assert.c: Likewise.
40857 * config.h.in: Likewise.
40858 * config.make.in: Likewise.
40859 * configure: Likewise.
40860 * configure.in: Likewise.
40861 * csu/Versions: Likewise.
40862 * csu/init.c: Likewise.
40863 * elf/tst-audit2.c: Likewise.
40864 * elf/tst-tls10.c: Likewise.
40865 * elf/tst-tls10.h: Likewise.
40866 * elf/tst-tls11.c: Likewise.
40867 * elf/tst-tls12.c: Likewise.
40868 * elf/tst-tls14.c: Likewise.
40869 * elf/tst-tlsmod11.c: Likewise.
40870 * elf/tst-tlsmod12.c: Likewise.
40871 * elf/tst-tlsmod13.c: Likewise.
40872 * elf/tst-tlsmod13a.c: Likewise.
40873 * elf/tst-tlsmod14a.c: Likewise.
40874 * elf/tst-tlsmod15b.c: Likewise.
40875 * elf/tst-tlsmod16a.c: Likewise.
40876 * elf/tst-tlsmod16b.c: Likewise.
40877 * elf/tst-tlsmod7.c: Likewise.
40878 * elf/tst-tlsmod8.c: Likewise.
40879 * elf/tst-tlsmod9.c: Likewise.
40880 * gmon/gmon.c: Likewise.
40881 * grp/fgetgrent_r.c: Likewise.
40882 * grp/putgrent.c: Likewise.
40883 * hurd/fopenport.c: Likewise.
40884 * include/libc-symbols.h: Likewise.
40885 * include/tls.h: Likewise.
40886 * intl/gettextP.h: Likewise.
40887 * intl/loadinfo.h: Likewise.
40888 * locale/global-locale.c: Likewise.
40889 * locale/localeinfo.h: Likewise.
40890 * mach/devstream.c: Likewise.
40891 * malloc/arena.c: Likewise.
40892 * malloc/set-freeres.c: Likewise.
40893 * misc/err.c: Likewise.
40894 * misc/getttyent.c: Likewise.
40895 * misc/mntent_r.c: Likewise.
40896 * posix/getopt.c: Likewise.
40897 * posix/wordexp.c: Likewise.
40898 * pwd/fgetpwent_r.c: Likewise.
40899 * resolv/Versions: Likewise.
40900 * resolv/res_hconf.c: Likewise.
40901 * shadow/fgetspent_r.c: Likewise.
40902 * shadow/putspent.c: Likewise.
40903 * stdio-common/printf_fphex.c: Likewise.
40904 * stdio-common/tmpfile.c: Likewise.
40905 * stdlib/abort.c: Likewise.
40906 * stdlib/fmtmsg.c: Likewise.
40907 * sunrpc/auth_unix.c: Likewise.
40908 * sunrpc/clnt_perr.c: Likewise.
40909 * sunrpc/clnt_tcp.c: Likewise.
40910 * sunrpc/clnt_udp.c: Likewise.
40911 * sunrpc/clnt_unix.c: Likewise.
40912 * sunrpc/openchild.c: Likewise.
40913 * sunrpc/svc_simple.c: Likewise.
40914 * sunrpc/svc_tcp.c: Likewise.
40915 * sunrpc/svc_udp.c: Likewise.
40916 * sunrpc/svc_unix.c: Likewise.
40917 * sunrpc/xdr.c: Likewise.
40918 * sunrpc/xdr_array.c: Likewise.
40919 * sunrpc/xdr_rec.c: Likewise.
40920 * sunrpc/xdr_ref.c: Likewise.
40921 * sunrpc/xdr_stdio.c: Likewise.
40922
1248c1c4
PB
409232011-09-09 Ulrich Drepper <drepper@gmail.com>
40924
40925 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40926
409272011-07-03 Andreas Jaeger <aj@suse.de>
40928
40929 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40930 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40931 regenerate with gen-libm-tests.pl.
40932
409332010-05-12 Petr Baudis <pasky@suse.cz>
40934
40935 [BZ #11589]
40936 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40937 around j0() zero points by switching to j1().
40938 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40942
f22e1074
UD
409432011-09-09 Ulrich Drepper <drepper@gmail.com>
40944
f19009c1
UD
40945 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40946 instead of 0.
40947 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40948 instead of 0.
f19009c1
UD
40949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40950 Patch in part by Pavel Roskin <proski@gnu.org>.
40951
3f8cc204
UD
40952 [BZ #13138]
40953 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40954 realloc.
40955 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40956 Free memory block if necessary.
40957
f22e1074
UD
40958 [BZ #12847]
40959 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40960 be NULL. Don't lock in this case.
40961
0a2349f9
RM
409622011-09-09 Roland McGrath <roland@hack.frob.com>
40963
40964 * elf/elf.h (ELFOSABI_GNU): New macro.
40965 (ELFOSABI_LINUX): Define to that.
40966
f3cdd467
DZ
409672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40968
40969 * string/strncat.c (strncat): Undef the symbol in case it has been
40970 defined in bits/string.h.
40971
74718d13
UD
409722011-09-09 Ulrich Drepper <drepper@gmail.com>
40973
633e9e0f
UD
40974 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40975
0a2349f9 40976 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40977 link map.
40978
f9924780
AJ
409792011-08-17 Andreas Jaeger <aj@suse.de>
40980
40981 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40982
7f5517aa
PP
409832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40984 Ian Lance Taylor <iant@google.com>
40985
40986 * math/libm-test.inc (lround_test): New testcase.
40987 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40988
762011fe
UD
409892011-09-08 Ulrich Drepper <drepper@gmail.com>
40990
92963737
UD
40991 * Makefile: Remove support for automatic cvs check-ins.
40992 * Makerules: Likewise.
40993 * config.make.in: Likewise.
40994 * configure.in: Likewise.
40995 * intl/Makefile: Likewise.
40996 * locale/Makefile: Likewise.
40997 * po/Makefile: Likewise.
40998 * posix/Makefile: Likewise.
40999 * sysdeps/gnu/Makefile: Likewise.
41000 * sysdeps/mach/hurd/Makefile: Likewise.
41001 * sysdeps/sparc/sparc32/Makefile: Likewise.
41002
b0727fd8
JS
41003 [BZ #13118]
41004 * posix/Makefile (bug-regex32-ENV): Define.
41005 Patch by John Stanley <jpsinthemix@verizon.net>.
41006
a0f33f99
UD
41007 * misc/Makefile (headers): Add bits/select2.h.
41008 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41009 * misc/bits/select2.h: New file.
41010 * include/bits/select2.h: New file.
41011 * debug/Makefile (routines): Add fdelt_chk.
41012 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41013 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41014 FD_ISSET.
41015 * debug/fdelt_chk.c: New file.
41016
762011fe
UD
41017 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41018 * wcsmbs/test-wmemcmp.c: Likewise.
41019 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41020 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41021
410222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41023
41024 * string/Makefile (strop-tests): Add memcmp.
41025 * string/test-wmemcmp.c: New file.
41026 * string/test-memcmp.c: Add wmemcmp support.
41027
7f513ec8
RM
410282011-09-08 Roland McGrath <roland@hack.frob.com>
41029
0442afb4
RM
41030 [BZ #13153]
41031 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41032 2011-07-19 change.
41033
7f513ec8
RM
41034 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41035 garbage value in a __mach_port_mod_refs call in the cases of the
41036 task-self and thread-self ports.
41037
a12b2239
ST
410382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41039
41040 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41041
610f9ab4
AS
410422011-09-08 Andreas Schwab <schwab@redhat.com>
41043
7f513ec8 41044 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41045
48882a1a
LD
410462011-09-07 Ulrich Drepper <drepper@gmail.com>
41047
b49865be
UD
41048 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41049
fdc86bc9
UD
41050 * elf/dl-libc.c (dlerror_run): Pass back error code from
41051 dl_catch_error.
41052
c966526a
UD
41053 [BZ #13123]
41054 * elf/dl-load.c (lose): Free l_origin if it is valid.
41055
48882a1a
LD
41056 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41057 names.
41058 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41059 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41060 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41061 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41062 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41063 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41064
77a2a8b4
AZ
410652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41066
41067 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41068 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41069 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41070 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41071 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41072 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41073 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41074 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41075 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41076 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41077
24f579d8
AM
410782011-08-15 Alan Modra <amodra@gmail.com>
41079
41080 [BZ #13092]
41081 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41082 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41083 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41084 ppc_mcount to static-only-routines.
41085 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41086 __mcount_internal.
41087 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41088 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41089
3d4837df
UD
410902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41091
41092 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41093 for finite and infinity parameters.
41094
22700377
WS
410952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41096
41097 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41098 and add nop instructions for throughput optimization.
41099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41100
5025581e
WS
411012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41102
41103 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41104 aligned copy for power7 with vector-scalar instructions.
41105 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41106
08a300c9
L
411072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41108
41109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41110 AVX check.
41111
59178ef9
AS
411122011-09-07 Andreas Schwab <schwab@redhat.com>
41113
41114 [BZ #13144]
41115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41116 last change.
41117
e38ba7ab
UD
411182011-09-07 Ulrich Drepper <drepper@gmail.com>
41119
41120 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41121 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41122 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41123 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41124 clock_gettime.
41125
d53a73ac
UD
411262011-09-06 Ulrich Drepper <drepper@gmail.com>
41127
fc8bffcc
UD
41128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41129 Forgot to demangle the pointer.
41130
ceaa0c5d
UD
41131 * sysdeps/i386/sysdep.h: Define atom_text_section.
41132 * sysdeps/x86_64/sysdep.h: Likewise.
41133 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41134 section with atom_text_section.
41135 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41136 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41137 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41140
a77d3c17
UD
41141 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41142 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41143 already be defined. Change to take two parameters and don't assign
41144 result to variable. Adjust all users.
41145 Define INTERNAL_GETTIME if not already defined.
41146 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41147 call.
41148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41149 HAVE_CLOCK_GETTIME_VSYSCALL.
41150 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41151
d53a73ac
UD
41152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41153 gettimeofday vsyscall, just use time.
41154
a8f84144
AS
411552011-09-06 Andreas Schwab <schwab@redhat.com>
41156
41157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41158 <errno.h>.
41159
ef606249
UD
411602011-09-06 Ulrich Drepper <drepper@gmail.com>
41161
41162 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41163 syscall on x86-64.
41164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41165 syscall.
41166 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41167 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41168 syscall if possible.
41169
6585cb60
UD
411702011-09-05 Ulrich Drepper <drepper@gmail.com>
41171
41172 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41173 e_ident. Don't pass to find_mapsXX.
41174 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41175
a5f524e4
LD
411762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41177
41178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41179 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41180 * sysdeps/x86_64/multiarch/strchr.S: Update.
41181 Check bit_slow_BSF bit.
41182 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41183 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41184 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41185
554881ef
UD
411862011-09-05 Ulrich Drepper <drepper@gmail.com>
41187
d96de963
UD
41188 [BZ #13134]
41189 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41190 before glibc 2.15.
41191 (tryshell): Define.
41192 (__spawni): Change last parameter to be flag. Test
41193 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41194 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41195 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41196 * posix/spawni.c: Likewise.
41197 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41198 * posix/spawnp.c: Likewise. Change normal version to use
41199 SPAWN_XFLAGS_USE_PATH.
41200 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41201 SPAWN_XFLAGS_TRY_SHELL.
41202
d48e5868
UD
41203 [BZ #13150]
41204 * posix/glob.h: Remove gcc 1.x support.
41205
554881ef
UD
41206 [BZ #13068]
41207 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41208
693fb948
LD
412092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41210
41211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41212 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41213 strrchr-sse2-bsf
41214 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41215 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41216 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41217 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41218 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41219 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41220
1b48c537
UD
412212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41222
49d42c37
UD
41223 * sysdeps/x86_64/wcscmp.S: New file.
41224
1b48c537
UD
41225 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41226 wcscmp-c wcscmp-sse2
41227 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41228 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41229 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41230 * wcsmbs/wcscmp.c: Allow renaming.
41231
15c95c5d
DM
412322011-09-05 David S. Miller <davem@davemloft.net>
41233
41234 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41235 stack slot, rather than the struct return pointer slot.
41236 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41237 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41239 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41240
2f0ad8f3
UD
412412011-09-05 Ulrich Drepper <drepper@gmail.com>
41242
d88ae418
UD
41243 * po/ja.po: Update from translation team.
41244
2f0ad8f3
UD
41245 [BZ #13144]
41246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41247 kernel in 64-bit binaries.
41248
5f4318d1
DM
412492011-09-01 David S. Miller <davem@davemloft.net>
41250
41251 * elf/elf.h (HWCAP_SPARC_*): Move to..
41252 * sysdeps/sparc/sysdep.h: this new file and add new values.
41253 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41254 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41255 _DL_HWCAP_COUNT to 24.
41256 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41257 entries.
41258 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41259 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41260 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41262 instead of magic constants.
41263 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41264
3ba57516
DM
412652011-08-31 David S. Miller <davem@davemloft.net>
41266
41267 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41269 Reimplement to do errno handling inline.
41270 (SYSCALL_ERROR_HANDLER): New macro.
41271 (__SYSCALL_STRING): Do not do errno handling in asm.
41272 (__CLONE_SYSCALL_STRING): Delete.
41273 (__INTERNAL_SYSCALL_STRING): Delete.
41274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41275 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41276 (PSEUDO): Reimplement to do errno handling inline.
41277 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41278 (SYSCALL_ERROR_HANDLER): New macro.
41279 (__SYSCALL_STRING): Do not do errno handling in asm.
41280 (__CLONE_SYSCALL_STRING): Delete.
41281 (__INTERNAL_SYSCALL_STRING): Delete.
41282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41283 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41284 i386.
41285 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41286 (inline_syscall*): Add 'err' argument.
41287 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41288 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41289 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41290 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41291
41292 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41293 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41294
2bc17433
AS
412952011-08-30 Andreas Schwab <schwab@redhat.com>
41296
41297 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41298
fbeb5f4d
JO
412992011-08-29 Jiri Olsa <jolsa@redhat.com>
41300
41301 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41302 directive.
41303
ad69cc26
DM
413042011-08-24 David S. Miller <davem@davemloft.net>
41305
41306 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41307
39dd69df
AS
413082011-08-24 Andreas Schwab <schwab@redhat.com>
41309
41310 * elf/Makefile: Add rules to build and run unload8 test.
41311 * elf/unload8.c: New file.
41312 * elf/unload8mod1.c: New file.
41313 * elf/unload8mod1x.c: New file.
41314 * elf/unload8mod2.c: New file.
41315 * elf/unload8mod3.c: New file.
41316
41317 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41318 it wasn't used.
41319
2c0b250a
DM
413202011-08-23 David S. Miller <davem@davemloft.net>
41321
41322 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41323 subtract stack bias.
41324 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41325 %sp not %fp in calculations.
41326 (_JMPBUF_UNWINDS_ADJ): Likewise.
41327
22044b48
DM
41328 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41329 (aio_suspend): Call it to force an exception region around the
41330 AIO_MISC_WAIT() invocation.
41331
2cae4995
AS
413322011-08-23 Andreas Schwab <schwab@redhat.com>
41333
41334 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41335 backslash.
41336
873a772e
AJ
413372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41338
41339 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41340 protection macro.
41341 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41342 and <dl-machine.h>.
41343 (Elf64_FuncDesc): Remove.
41344
25ad0df1
DM
413452011-08-22 David S. Miller <davem@davemloft.net>
41346
41347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41348 sigaltstack check, add missing cfi directives.
41349 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41350 missing cfi directives, and sigaltstack handling.
41351
e888bcbe
AS
413522011-08-16 Andreas Schwab <schwab@redhat.com>
41353
41354 [BZ #11724]
41355 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41356 object is seen twice.
41357 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41358
41359 * elf/Makefile (distribute): Add tst-initorder2.c.
41360 (tests): Add tst-initorder2.
41361 (modules-names): Add tst-initorder2a tst-initorder2b
41362 tst-initorder2c tst-initorder2d. Add rules to build them.
41363 ($(objpfx)tst-initorder2.out): New rule.
41364 * elf/tst-initorder2.c: New file.
41365 * elf/tst-initorder2.exp: New file.
41366
87162f46
AS
413672011-08-22 Andreas Schwab <schwab@redhat.com>
41368
70538b7f
AS
41369 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41370
f55ffe58
AS
41371 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41372 dependencies back to end of function.
41373
87162f46
AS
41374 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41375 $(elfobjdir)/ld.so.
41376
91b392a4
UD
413772011-08-21 Ulrich Drepper <drepper@gmail.com>
41378
41379 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41380 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41382 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41383 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41384 of __vdso_gettimeofday.
41385 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41386 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41387 attribute_hidden.
41388 (_libc_vdso_platform_setup): Remove initialization of
41389 __vdso_gettimeofday and __vdso_time.
41390
5c43483f
UD
413912011-08-20 Ulrich Drepper <drepper@gmail.com>
41392
775a77e7
UD
41393 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41394 and fgetc_unlocked.
41395 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41396 getc_unlocked.
89f447ed 41397
49c74ba9
UD
41398 * elf/dl-open.c (add_to_global): Report additions to the global scope
41399 for LD_DEBUG=scopes.
41400 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41401 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41402
5c43483f
UD
41403 [BZ #13114]
41404 * stdio-common/Makefile (tests): Add bug24.
41405 * stdio-common/bug24.c: New file.
41406
a101b025
AJ
414072011-08-19 Andreas Jaeger <aj@suse.de>
41408
41409 [BZ #13114]
41410 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41411 non-existant file when using close-on-exec mode.
41412
c88f1766
UD
414132011-08-20 Ulrich Drepper <drepper@gmail.com>
41414
0276a718
UD
41415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41416 the very first instruction.
41417
c88f1766
UD
41418 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41419 the CFI state in the end.
41420 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41421 inclusion of dl-trampoline.h.
41422 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41423
51ccffa0
AS
414242011-08-19 Andreas Schwab <schwab@redhat.com>
41425
94d7165f
AS
41426 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41427 expectations for long double.
41428
51ccffa0
AS
41429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41430 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41431
fd708658 414322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41433
41434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41435 artificual limit depends upon the system page size.
41436
44f0a71e
UD
414372011-08-17 Ulrich Drepper <drepper@gmail.com>
41438
41439 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41440 * resolv/Makefile: Define CFLAGS-libresolv.
41441
8de79a24
AS
414422011-08-17 Andreas Schwab <schwab@redhat.com>
41443
41444 * nss/makedb.c (compute_tables): Make variables used in nested
41445 function static.
41446
27724598
UD
414472011-08-17 Ulrich Drepper <drepper@gmail.com>
41448
c5305d88
UD
41449 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41450 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41451 if buffer was too small.
41452
27724598
UD
41453 * elf/pldd.c (main): Attach to all threads in the process.
41454 Rewrite /proc handling to use *at functions.
41455
076fe015
UD
414562011-08-16 Ulrich Drepper <drepper@gmail.com>
41457
174baab3
UD
41458 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41459 specifies first scope to show.
41460 (dl_open_worker): Update callers. Move printing scope of new
41461 object to before the relocation.
44f0a71e 41462 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41463 * sysdeps/generic/ldsodefs.h: Update declaration.
41464
076fe015
UD
41465 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41466 string for the scope number.
41467
a60df2c3
UD
414682011-08-14 Ulrich Drepper <drepper@gmail.com>
41469
41470 * nscd/servicescache.c (cache_addserv): Make sure written is always
41471 initialized.
41472
5e4287d1
RM
414732011-08-14 Roland McGrath <roland@hack.frob.com>
41474
85ae0589
RM
41475 * sysdeps/i386/i486/bits/atomic.h
41476 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41477 statement expression, so as to suppress "set but not used" warning.
41478 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41479
69f63097
RM
41480 * string/strncat.c (STRNCAT): Use prototype definition.
41481
675456ef
RM
41482 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41483 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41484 -Iprograms here.
41485 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41486 (localedef-modules): Add localedef.
41487 (locale-modules): Add locale.
41488
5e4287d1
RM
41489 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41490 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41491 to avoid a warning.
41492
9c96ff23
DM
414932011-08-14 David S. Miller <davem@davemloft.net>
41494
41495 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41496 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41497
f9ddf089
UD
414982011-08-13 Ulrich Drepper <drepper@gmail.com>
41499
44f0a71e 41500 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41501 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41502 * elf/rtld.c (dl_main): Set l_name of vDSO.
41503 Call _dl_show_scope when DL_DEBUG_SCOPES.
41504 (process_dl_debug): Recognize scopes flag and also set it for all.
41505 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41506 Declare _dl_show_scope.
41507
1dc27704
UD
41508 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41509 (do_dlopen): Pass caller_dlopen to dl_open.
41510 (__libc_dlopen_mode): Initialize caller_dlopen.
41511
f9ddf089
UD
41512 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41513 of libc. Make tolower call locale-independent. Optimize a bit by
41514 using isdigit instead of isalnum.
41515 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41516
9ac533d3
UD
415172011-08-12 Ulrich Drepper <drepper@gmail.com>
41518
41519 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41520 was a dependency or dynamically loaded.
41521
89edf2e9
UD
415222011-08-11 Ulrich Drepper <drepper@gmail.com>
41523
8e999d29
UD
41524 * intl/l10nflist.c: Allow architecture-specific pop function.
41525 * sysdeps/x86_64/l10nflist.c: New file.
41526
89edf2e9
UD
41527 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41528 classification.
41529
14d96785
AS
415302011-08-10 Andreas Schwab <schwab@redhat.com>
41531
41532 * include/dirent.h: Add libc_hidden_proto for scandirat and
41533 scandirat64. Don't declare __scandirat64.
41534 * dirent/scandirat.c: Add libc_hidden_def.
41535 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41536 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41537
6761ac04
DM
415382011-08-10 David S. Miller <davem@davemloft.net>
41539
41540 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41541 enum.
41542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41544 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41545
c55fbd1e
UD
415462011-08-09 Ulrich Drepper <drepper@gmail.com>
41547
41548 * Versions.def [libc]: Add GLIBC_2.15.
41549 * dirent/Makefile (routines): Add scandirat and scandirat64.
41550 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41551 GLIBC_2.15.
41552 * dirent/dirent.h: Declare scandirat and scandirat64.
41553 * dirent/scandirat.c: New file.
41554 * dirent/scandirat64.c: New file.
41555 * sysdeps/wordsize-64/scandirat.c: New file.
41556 * sysdeps/wordsize-64/scandirat64.c: New file.
41557 * dirent/opendir.c: Define opendirat.
41558 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41559 using scandirat.
41560 * dirent/scandir64.c: Adjust for scandir.c change.
41561 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41562 __scandirat64, and __scandir_cancel_handler.
41563 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41564 additional parameter and use openat instead of open (outside of ld.so).
41565 Add new __opendir as wrapper around __opendirat.
41566 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41567 here without requiring old scandirat implementation.
41568
879165f2
UD
415692011-08-08 Ulrich Drepper <drepper@gmail.com>
41570
41571 * dirent/scandir.c (cancel_handler): Renamed to
41572 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41573 defined. Adjust users.
41574 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41575 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41576
cb7e923b
UD
415772011-08-04 Ulrich Drepper <drepper@gmail.com>
41578
16292edd
UD
41579 * string/test-string.h (IMPL): Use __STRING to expand name and then
41580 stringify it.
41581
cb7e923b
UD
41582 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41583 of cleanups.
41584
cff82933
LD
415852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41586
41587 * string/Makefile: Update.
41588 (strop-tests): Append strncat.
41589 * string/test-wcscmp.c: New file.
41590 New comprehensive test for wcscmp.
41591 * string/test-strcmp.c: Update.
41592 (WIDE): New define.
41593
9be9bfcc
AS
415942011-07-22 Andreas Schwab <schwab@redhat.com>
41595
41596 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41597 line.
41598
2e96f1c7
AS
415992011-07-26 Andreas Schwab <schwab@redhat.com>
41600
41601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41602 encoding to ACE if AI_IDN.
41603
85188888
JJ
416042011-08-01 Jakub Jelinek <jakub@redhat.com>
41605
41606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41607 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41608
5fa16e9b
LD
416092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41610
41611 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41612 Fix overflow bug in strncat.
41613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41614
41615 * string/test-strncat.c: Update.
41616 Add new tests for checking overflow bugs.
41617
416182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41619
41620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41621 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41622 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41623 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41624 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41625 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41626 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41627 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41628 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41629
41630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41631 (USE_AS_STRCAT): Define.
41632 Add strcat and strncat support.
41633 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41634
8c1a459f
AS
416352011-07-25 Andreas Schwab <schwab@redhat.com>
41636
41637 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41638 __n bigger than INT_MAX+1.
41639 (__strncmp_g): Likewise.
41640
bba33c28
UD
416412011-07-23 Ulrich Drepper <drepper@gmail.com>
41642
798be72d
UD
41643 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41644 * libio/stido.h: Likewise.
41645
8accd4dc
UD
41646 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41647 (AF_NFC): Define.
41648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41649 (AF_NFC): Define.
41650
cbff0d96
UD
41651 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41653 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41654 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41656
9191c04a
UD
41657 [BZ #13021]
41658 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41659 installed.
41660
bba33c28
UD
41661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41662 typo.
41663 (_dl_x86_64_save_sse): Likewise.
41664
90f139dd
UD
416652011-07-22 Ulrich Drepper <drepper@gmail.com>
41666
1aae088a
UD
41667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41668 OSXSAVE.
41669 (_dl_x86_64_save_sse): Likewise.
41670
8e2045f5
UD
41671 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41672
90f139dd
UD
41673 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41674
1d002f25
AS
416752011-07-21 Andreas Schwab <schwab@redhat.com>
41676
41677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41678 change.
41679 (_dl_x86_64_save_sse): Use correct AVX check.
41680
21137f89
UD
416812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41682
41683 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41684 bug in strncpy/strncat.
41685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41686
a65c0b7a
UD
416872011-07-21 Ulrich Drepper <drepper@gmail.com>
41688
41689 * string/tester.c (test_strcat): Add tests for different alignments
41690 of source and destination.
41691 (test_strncat): Likewise.
41692
6986b98a
UD
416932011-07-20 Ulrich Drepper <drepper@gmail.com>
41694
90bb2039
UD
41695 [BZ #12852]
41696 * posix/glob.c (glob): Check passed in values before using them in
41697 expressions to avoid some overflows.
41698 (glob_in_dir): Likewise.
41699
5644ef54
UD
41700 [BZ #13007]
41701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41702 check for AVX enablement so that we don't crash with old kernels and
41703 new hardware.
41704 * elf/tst-audit4.c: Add same checks here.
41705 * elf/tst-audit6.c: Likewise.
41706
41707 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41708
bfc9dc9b
AS
417092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41710
41711 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41712
702e64bb
UD
417132011-07-20 Ulrich Drepper <drepper@gmail.com>
41714
41715 * po/cs.po: Update from translation team.
41716 * po/bg.po: Likewise.
41717
295e904f
MP
417182011-07-12 Marek Polacek <mpolacek@redhat.com>
41719
41720 * misc/sys/cdefs.h: Add support for const attribute.
41721 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41722 to gnu_dev_{major,minor,makedev} functions.
41723
3ff94596
MP
417242011-07-20 Marek Polacek <mpolacek@redhat.com>
41725
41726 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41727
28b59fca
AS
417282011-07-20 Andreas Schwab <schwab@redhat.com>
41729
41730 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41731 strlen results.
41732
19df733e
AK
417332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41734
41735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41736 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41737 register in order to avoid conflicts with the soft frame pointer
41738 being held in r11 when necessary.
41739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41740 (INTERNAL_VSYSCALL_NCS): Likewise.
41741
c8835729
MP
417422011-07-14 Marek Polacek <mpolacek@redhat.com>
41743
41744 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41745 * elf/dl-fini.c (_dl_fini): Adjust caller.
41746 * elf/dl-close.c (_dl_close_worker): Likewise.
41747 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41748
b902330c
MP
417492011-07-15 Marek Polacek <mpolacek@redhat.com>
41750
8991e135
MP
41751 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41752 "aux_cache->nlibs < 0".
41753
b902330c
MP
41754 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41755 in the reload-count case.
41756
99710781
LD
417572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41758
41759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41760 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41761 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41762 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41763 * sysdeps/x86_64/multiarch/strcat.S: New file.
41764 * sysdeps/x86_64/multiarch/strncat.S: New file.
41765 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41766 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41767 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41768 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41770 (USE_AS_STRCAT): Define.
41771 Add strcat and strncat support.
41772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41774 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41775 * string/strncat.c: Update.
41776 (USE_AS_STRNCAT): Define.
41777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41778 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41779 and i7.
41780 * sysdeps/x86_64/multiarch/init-arch.h
41781 (bit_Prefer_PMINUB_for_stringop): New.
41782 (index_Prefer_PMINUB_for_stringop): Likewise.
41783 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41784 bit_Prefer_PMINUB_for_stringop.
41785
7dc6bd90
UD
417862011-07-19 Ulrich Drepper <drepper@gmail.com>
41787
41788 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41789 buffer64.
41790 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41791 of casting of buffer.
41792 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41793 buffer32 and buffer64.
41794 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41795 writes instead of casting of buffer.
41796 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41797 buffer32.
41798 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41799 casting of buffer.
41800
e0e72284
AS
418012011-07-19 Andreas Schwab <schwab@redhat.com>
41802
41803 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41804
feb1eb0b
UD
418052011-07-19 Ulrich Drepper <drepper@gmail.com>
41806
41807 * nscd/nscd.c (termination_handler): Don't do anything for a database
41808 if it has not yet been initialized.
41809
298711ff
UD
418102011-07-18 Ulrich Drepper <drepper@gmail.com>
41811
41812 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41813
418142011-07-15 Marek Polacek <mpolacek@redhat.com>
41815
41816 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41817
f9d68389
UD
418182011-07-18 Ulrich Drepper <drepper@gmail.com>
41819
41820 * po/nl.po: Update from translation team.
41821 * po/sv.po: Likewise.
41822
db290cf5
RM
418232011-07-16 Roland McGrath <roland@hack.frob.com>
41824
41825 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41826 now disallowed by GCC.
5c550700 41827
fd5e21c7
RM
41828 * configure.in (use-default-link): Default to yes if a test -shared
41829 link meets our qualifications.
41830 * configure: Regenerated.
41831
5c550700
RM
41832 * config.make.in (output-format): New variable.
41833 * configure.in: Check for ld --print-output-format support.
41834 * configure: Regenerated.
41835 * Makerules ($(common-objpfx)format.lds)
41836 [$(output-format) != unknown]: Just use $(output-format),
41837 instead of the linker-script munging.
41838
9fa2c032
RM
418392011-07-14 Roland McGrath <roland@hack.frob.com>
41840
a6928d51
RM
41841 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41842 of $(common-objpfx)shlib.lds.
41843 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41844
661607b3
RM
41845 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41846 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41847
9fa2c032
RM
41848 * configure.in (-z relro check): Adjust test code to add a large
41849 writable data section after it.
41850 * configure: Regenerated.
41851
defe9061
RM
418522011-07-11 Roland McGrath <roland@hack.frob.com>
41853
41854 * configure.in (-z relro check): Fix test code to make the variable
41855 truly const.
41856 * configure: Regenerated.
41857
319b9ad4
UD
418582011-07-11 Ulrich Drepper <drepper@gmail.com>
41859
41860 * nscd/nscd.h (struct traced_file): Define.
41861 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41862 elements. Add traced_files.
41863 (inotify_fd): Declare.
41864 (register_traced_file): Declare.
41865 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41866 (inotify_fd): Export.
41867 (resolv_conf_descr): Remove.
41868 (nscd_init): Move inotify descriptor creation to main.
41869 Don't register files for notification here.
41870 (register_traced_file): New function.
41871 (invalidate_cache): Don't use reset_res to determine whether to call
41872 res_init, go through the list of registered files.
41873 (main_loop_poll): The inotify descriptors are now stored in the
41874 structures for the traced files.
41875 (main_loop_epoll): Likewise
41876 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41877 to __nss_disable_nscd.
41878 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41879 for a database anymore. Check the records for all the registered
41880 files instead.
41881 * nss/Makefile (libnss_files-routines): Add files-init.
41882 (libnss_db-routines): Add db-init.
41883 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41884 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41885 * nss/nss_db/db-init.c: New file.
41886 * nss/nss_files/files-init.c: New file.
41887 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41888 __nss_lookup_function.
41889 (__nss_lookup_function): Call nss_load_library.
41890 (nss_load_all_libraries): New function.
41891 (__nss_disable_nscd): Take parameter with callback function for files
41892 to register. Set is_nscd. Load all the DSOs for the NSS modules
41893 used for the cached services.
41894 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41895 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41896 options for features to all the files in nscd.
41897
41898 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41899
23bee3e8
RM
419002011-07-10 Roland McGrath <roland@hack.frob.com>
41901
41902 * csu/elf-init.c (__libc_csu_init): Comment typo.
41903
46a5b7f0
UD
419042011-07-09 Ulrich Drepper <drepper@gmail.com>
41905
41906 * po/pl.po: Update from translation team.
41907 * po/ja.po: Likewise.
41908 * po/ru.po: Likewise.
41909 * po/ko.po: Likewise.
41910 * po/fr.po: Likewise.
41911
d30cf5bb
RM
419122011-07-09 Roland McGrath <roland@hack.frob.com>
41913
113ddea4
RM
41914 * configure.in (.ctors/.dtors header and trailer check):
41915 Use an empirical test on a built program.
41916 * configure: Regenerated.
41917
574920b4
RM
41918 * configure.in (-z relro check): Use an empirical test on a built DSO.
41919 Detect, but do not require, on ia64.
41920 * configure: Regenerated.
41921
d30cf5bb
RM
41922 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41923 Update tests that use readelf to use $READELF instead.
41924 * configure: Regenerated.
41925
8538fdb3
UD
419262011-07-08 Ulrich Drepper <drepper@gmail.com>
41927
41928 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41929 if the result is not used.
41930
04d08991
AJ
419312011-07-05 Andreas Jaeger <aj@suse.de>
41932
41933 [BZ#9696]
41934 * stdlib/tst-strtod.c: Add testcase.
41935
de283087
AD
419362011-07-07 Ulrich Drepper <drepper@gmail.com>
41937
4e5f31c8 41938 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41939 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41940 The latter has a higher limit. Take additional parameter to pass to
41941 the new function.
41942 (__pathconf): Pass file to __statfs_link_max.
41943 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41944 __statfs_link_max.
41945 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41946 __statfs_link_max.
41947
de283087
AD
41948 [BZ #12868]
41949 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41950 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41951 Handle Lustre.
41952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41953 (__statfs_filesize_max): Likewise.
41954 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41955
c75fa153
AJ
419562011-07-05 Andreas Jaeger <aj@suse.de>
41957
41958 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41959
1a544854
UD
419602011-07-06 Marek Polacek <mpolacek@redhat.com>
41961
41962 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41963 `status' variable.
41964 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41965 Likewise.
41966
6f0eec67
UD
419672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41968
41969 * Makefile (strop-tests): Add strncat.
41970 * string/test-strncat.c: New file.
41971
aae30307
UD
419722011-06-30 Marek Polacek <mpolacek@redhat.com>
41973
41974 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41975
c0cfb5eb
UD
419762011-06-21 Andreas Jaeger <aj@suse.de>
41977
41978 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41979 Copy rule from iconvdata/Makefile.
41980
01636b21
UD
419812011-07-06 Ulrich Drepper <drepper@gmail.com>
41982
41983 [BZ #12922]
41984 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41985 but no long options are defined, just return 'W'.
41986
9895c8bc
UD
419872011-06-22 Marek Polacek <mpolacek@redhat.com>
41988
41989 [BZ #9696]
41990 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41991
5d4cf042
UD
419922011-07-06 Ulrich Drepper <drepper@gmail.com>
41993
41994 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41995 netgroups to read.
960e5535 41996 (innetgr): Likewise.
5d4cf042 41997
751eb97e
RM
419982011-07-05 Roland McGrath <roland@hack.frob.com>
41999
42000 * config.make.in (install_root): Default to $(DESTDIR).
42001
f15f1e45
UD
420022011-07-05 Ulrich Drepper <drepper@gmail.com>
42003
42004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42005
4e34ac6a
RM
420062011-07-02 Roland McGrath <roland@hack.frob.com>
42007
5e9b6af4
RM
42008 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42009
84f9ea0f
RM
42010 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42011 containing directory rather than embedding absolute directory names.
42012
ea5ee9f7
RM
42013 * scripts/check-local-headers.sh: Rewritten using awk.
42014 Match by word, not by line. Print error messages for matches.
42015 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42016
1b74661a
RM
42017 * Makerules [shlib-lds-flags empty]:
42018 ($(common-objpfx)libc_pic.opts): New target.
42019 ($(common-objpfx)libc_pic.os.clean): New target.
42020 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42021
42022 * config.make.in (OBJCOPY): New variable.
42023 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42024 * configure: Regenerated.
42025
f781ef40
RM
42026 * config.make.in (use-default-link): New variable.
42027 * configure.in (use_default_link): Grok --with-default-link to set it.
42028 * configure: Regenerated.
42029 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42030 (shlib-lds, shlib-lds-flags): Define to empty.
42031
2d4fa81e
RM
42032 * Makerules (shlib-lds): New variable.
42033 (shlib-lds-flags): New variable.
42034 (build-shlib, build-moduile, build-module-asneeded): Use it.
42035 ($(common-objpfx)libc.so): Use $(shlib-lds).
42036 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42037 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42038
31fffa6b
RM
42039 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42040 DT_FLAGS/DT_FLAGS_1 with zero flags.
42041
4e34ac6a
RM
42042 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42043 linker script munging.
42044
fcfc776b
UD
420452011-07-02 Ulrich Drepper <drepper@gmail.com>
42046
42047 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42048 as 128-bit value.
42049 * crypt/sha512.c (sha512_process_block): Perform total addition using
42050 128-bit if possible.
42051 (__sha512_finish_ctx): Likewise.
42052 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42053 as 64-bit value.
42054 * crypt/sha256.c (SWAP64): Define.
42055 (sha256_process_block): Perform total addition using 64-bit if
42056 possible.
42057 (__sha256_finish_ctx): Likewise.
42058
99231d9a
UD
420592011-07-01 Ulrich Drepper <drepper@gmail.com>
42060
42061 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42063 * nscd/hstcache.c (cache_addhst): Likewise.
42064 * nscd/grpcache.c (cache_addgr): Likewise.
42065 * nscd/aicache.c (addhstaiX): Likewise
42066 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42067
445b4a53
TK
420682011-07-01 Thorsten Kukuk <kukuk@suse.de>
42069
42070 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42072 * nscd/hstcache.c (cache_addhst): Likewise.
42073 * nscd/grpcache.c (cache_addgr): Likewise.
42074 * nscd/aicache.c (addhstaiX): Likewise
42075
6d4d8e8e
AS
420762011-07-01 Andreas Schwab <schwab@redhat.com>
42077
42078 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42079 domain only when needed.
42080
89f654c5
AS
420812011-06-30 Andreas Schwab <schwab@redhat.com>
42082
42083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42084 is always restored.
42085
cf3b23ff
UD
420862011-06-29 Ulrich Drepper <drepper@gmail.com>
42087
42088 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42089 are re-adding the entry.
42090 * nscd/servicescache.c (cache_addserv): Likewise.
42091
751626f9
AJ
420922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42093
42094 * sysdeps/generic/dl-irel.h: fix protection against multiple
42095 inclusions.
42096 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42097
9113ea1f
UD
420982011-06-28 Ulrich Drepper <drepper@gmail.com>
42099
5c0b8d90
UD
42100 [BZ #12935]
42101 * malloc/memusage.sh: Fix quoting in message.
42102 * debug/xtrace.sh: Likewise.
42103
9113ea1f
UD
42104 * configure.in: Remove support for --experimental-malloc option, make
42105 it the default.
42106 * config.make.in: Likewise.
42107 * malloc/Makefile: Likewise.
42108
a4172181
AS
421092011-06-27 Andreas Schwab <schwab@redhat.com>
42110
42111 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42112 two-byte characters.
42113
78a7eee7
RM
421142011-06-27 Roland McGrath <roland@hack.frob.com>
42115
62bede13
RM
42116 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42117 AC_CACHE_CHECK invocation.
42118 * configure: Regenerated.
42119
78a7eee7
RM
42120 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42121
5ce33a62
UD
421222011-06-27 Ulrich Drepper <drepper@gmail.com>
42123
034807a9
UD
42124 [BZ #12350]
42125 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42126 bit from old_res_options.
42127
4902da17
UD
42128 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42129
5ce33a62
UD
42130 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42131 value type for setfct.
42132
c2344f56
L
421332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42134
42135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42136 __gettimeofday instead of gettimeofday.
42137
68468076
UD
421382011-06-26 Ulrich Drepper <drepper@gmail.com>
42139
42140 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42141
acb0d739
L
421422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42143
42144 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42145
42146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42147 info.
42148
8912479f
L
421492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42150
42151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42152 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42153 strcpy-sse2-unaligned strncpy-sse2-unaligned
42154 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42155 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42156 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42157 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42158 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42159 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42160 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42161 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42162 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42163 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42164 (STRCPY): Support SSE2 and SSSE3 versions.
42165
d5495a11
UD
421662011-06-24 Ulrich Drepper <drepper@gmail.com>
42167
42168 [BZ #12874]
42169 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42170 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42171 kernels which artificially limit size of requests.
42172
0b1cbaae
L
421732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42174
42175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42176 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42177 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42178 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42179 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42180 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42181 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42182 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42183 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42185 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42186 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42187 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42188 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42189 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42191 Enable unaligned load optimization for Intel Core i3, i5 and i7
42192 processors.
42193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42194 Define.
42195 (index_Fast_Unaligned_Load): Define.
42196 (HAS_FAST_UNALIGNED_LOAD): Define.
42197
07f494a0
MP
421982011-06-23 Marek Polacek <mpolacek@redhat.com>
42199
42200 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42201
fa3fc0fe
UD
422022011-06-22 Ulrich Drepper <drepper@gmail.com>
42203
42204 [BZ #12907]
42205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42206 until it is clear that the information is realy needed.
42207 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42208
e12df166
AS
422092011-06-22 Andreas Schwab <schwab@redhat.com>
42210
42211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42212
852eb34d
UD
422132011-06-22 Ulrich Drepper <drepper@gmail.com>
42214
84e2a551
UD
42215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42216 /sys/devices/system/cpu/online if it is usable.
42217
852eb34d
UD
42218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42219 reading the information from the /proc filesystem to once a second.
42220
6e502e19
UD
422212011-06-21 Andreas Jaeger <aj@suse.de>
42222
42223 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42224 NULL after inclusion of kernel headers.
42225
75d39ff2
UD
422262011-06-21 Ulrich Drepper <drepper@gmail.com>
42227
51f9aa6a
UD
42228 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42229 calls to internal_setent.
42230
c0244a9d
UD
42231 [BZ #12885]
42232 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42233 addresses using gethostbyname4_r ignore IPv4 addresses.
42234
c5e3c2ae
UD
42235 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42236 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42237
75d39ff2
UD
42238 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42239
42675c6f
DM
422402011-06-20 David S. Miller <davem@davemloft.net>
42241
42242 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42243 inclusions.
42244 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42245
42246 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42247 (elf_irel): Use it.
42248 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42249 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42250 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42251 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42252 * sysdeps/x86_64/dl-irel.h: Likewise.
42253
42254 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42255 * elf/dl-sym.c: Likewise.
42256
57912a71
UD
422572011-06-15 Ulrich Drepper <drepper@gmail.com>
42258
42259 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42260 need to dereference resplen2.
42261
ee22793d
AS
422622011-06-14 Andreas Schwab <schwab@redhat.com>
42263
42264 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42265
a9e836b0
UD
422662011-06-15 Ulrich Drepper <drepper@gmail.com>
42267
77fb9117
UD
42268 * Makeconfig: Define vardbdir and inst_vardbdir.
42269 * nss/Makefile: Add rules to install db-Makefile.
42270
40c1b22c
UD
42271 * nss/nss_db/db-XXX.c: Cleanup.
42272
9f2da732
UD
42273 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42274 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42275 GLIBC_PRIVATE.
42276 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42277 * nss/makedb.c: Implement -g option to specify that value strings
42278 are generated and should not be added to table iterated over for
42279 get*ent calls.
42280 * nss/nss_db/db-initgroups.c: New file.
42281
82e9a1f7
UD
42282 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42283 interface.
42284
c41af17e
UD
42285 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42286 (internal_getgrouplist): Adjust to name change.
42287 Update use_initgroups_entry if this is not the first call.
42288 * nss/databases.def: Add initgroups entry.
42289
a9e836b0
UD
42290 * nss/makedb.c (compute_tables): Check result of multiple hash table
42291 sizes to minimize maximum chain length.
42292
2666d441
UD
422932011-06-14 Ulrich Drepper <drepper@gmail.com>
42294
42295 * Versions.def: Add entry for libnss_db.
42296 * shlib-versions: Likewise.
42297 * nss/Makefile: Add rules to build libnss_db.
42298 * nss/Versions: Add libnss_db information. Organize libnss_files
42299 entries better.
42300 * nss/db-Makefile: Add gshadow support. Change rules for the new
42301 makedb progra. Some minor improvements to generate smaller files.
42302 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42303 here from...
42304 * nss/makedb.c: ...here.
42305 Improve database format to be smaller and require less memory at
42306 runtime.
42307 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42308 db anymore.
42309 * nss/nss_db/db-netgrp.c: Likewise.
42310 * nss/nss_db/db-open.c: Likewise.
42311 * nss/nss_files/flies-XXX.x: Adjust comments.
42312 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42313 * nss/nss_files/files-grp.c: Likewise.
42314 * nss/nss_files/files-hosts.c: Likewise.
42315 * nss/nss_files/files-network.c: Likewise.
42316 * nss/nss_files/files-proto.c: Likewise.
42317 * nss/nss_files/files-pwd.c: Likewise.
42318 * nss/nss_files/files-rpc.c: Likewise.
42319 * nss/nss_files/files-service.c: Likewise.
42320 * nss/nss_files/files-sgrp.c: Likewise.
42321 * nss/nss_files/files-spwd.c: Likewise.
42322 * nss/nss_db/db-alias.c: Removed.
42323 * nss/nss_db/dummy-db.h: Removed.
42324
9ee76b5a
UD
423252011-06-02 Ulrich Drepper <drepper@gmail.com>
42326
42327 * nss/makedb.c: Rewritten to not use database library.
42328 * nss/Makefile: Update to build new makedb program.
42329
c71ca1f8
AJ
423302011-06-14 Andreas Jaeger <aj@suse.de>
42331
42332 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42333 memset declaration.
42334
3154bfb8
UD
423352011-06-10 Andreas Schwab <schwab@redhat.com>
42336
42337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42338 tmpbuf.
42339
b350afab
RM
423402011-06-10 Roland McGrath <roland@hack.frob.com>
42341
decd4e50
RM
42342 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42343 * elf/Makefile ($(objpfx)ld.so): Likewise.
42344
5615eaf2
RM
42345 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42346 Don't list ld.so twice in dependencies.
42347
42348 * posix/bug-regex31.c: Include <stdlib.h>.
42349
42350 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42351
42352 * nis/nss_compat/compat-spwd.c
42353 (getspent_next_nss_netgr): Remove unused variable.
42354 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42355
42356 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42357 nonmembers" output to use the right array.
42358
42359 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42360
42361 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42362
42363 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42364 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42365 * catgets/gencat.c (read_input_file): Likewise.
42366 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42367
42368 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42369 variable definition inside #if's controlling its use.
42370
42371 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42372
42373 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42374
42375 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42376
42377 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42378 unreachable code.
42379
42380 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42381
b68e08db
RM
42382 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42383 * configure: Regenerated.
42384
b350afab
RM
42385 * Makerules: Revert last change.
42386 * elf/Makefile: Likewise.
42387
28368601
RM
423882011-06-09 Roland McGrath <roland@hack.frob.com>
42389
42390 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42391 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42392 (reloc-link): Likewise.
42393
11988f8f
UD
423942011-06-09 Ulrich Drepper <drepper@gmail.com>
42395
42396 * elf/Makefile: Add rules to build pldd.
42397 * elf/pldd.c: New file.
42398 * elf/pldd-xx.c: New file.
42399
e80fab37
UD
424002011-06-07 Ulrich Drepper <drepper@gmail.com>
42401
42402 * version.h: Update for 2.15 development version.
42403
9b849836
DM
424042011-06-07 David S. Miller <davem@davemloft.net>
42405
42406 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42407 ifuncs.
42408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42409 elf_machine_lazy_rel): Likewise.
42410 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42411 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42412 elf_machine_lazy_rel): Likewise.
42413 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42414 dl_hwcap via passed in argument.
42415 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42416 Likewise.
42417
5a31b283
AK
424182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42419
42420 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42421
069e52f8
RM
424222011-06-06 Roland McGrath <roland@hack.frob.com>
42423
42424 [BZ #12849]
42425 * manual/fdl-1.1.texi: New file, verbatim from:
42426 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42427 * manual/lgpl-2.1.texi: New file, verbatim from:
42428 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42429 * manual/Makefile (licenses): New variable, list those new file names.
42430 (texis): Use it.
42431 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42432
42433 * manual/fdl.texi: File removed.
42434 * manual/lesser.texi: File removed.
42435 * manual/libc.texinfo (Copying, Documentation License):
42436 Use new @include file names, put @appendix directive before @include.
42437
f16846a5
JJ
424382011-06-04 Jakub Jelinek <jakub@redhat.com>
42439
42440 [BZ #12841]
42441 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42442 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42443 (mq_open): Add __NTH.
42444
3d29045b
L
424452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42446
42447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42448 Assume Intel Core i3/i5/i7 processor if AVX is available.
42449
8c297311
UD
424502011-05-31 Ulrich Drepper <drepper@gmail.com>
42451
42452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42453 typo.
42454
c8fc0c91
UD
424552011-05-31 Andreas Schwab <schwab@redhat.com>
42456
42457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42458 memory. Use alloca_account. Fix memory leak when retrying.
42459
5b27a807
UD
424602011-05-31 Ulrich Drepper <drepper@gmail.com>
42461
356f8bc6
UD
42462 * version.h (RELEASE): Bump for 2.14 release.
42463 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42464
5b27a807
UD
42465 * config.make.in (RANLIB): Remove entry.
42466
01f16ab0
UD
424672011-05-30 Ulrich Drepper <drepper@gmail.com>
42468
41fce8bd
UD
42469 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42470 (libc.pot): Work around missing support for .ksh extension in xgettext.
42471
4769ae77
UD
42472 [BZ #12684]
42473 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42474 if both request failed.
42475 (send_dg): In case of server errors clear resplen or *resplen2.
42476
6b1e7d19
UD
42477 [BZ #12454]
42478 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42479 when there are multiple maps.
42480 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42481 (_dl_fini): Remove test here.
42482
01f16ab0
UD
42483 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42484
b1ebd700
UD
424852011-05-29 Ulrich Drepper <drepper@gmail.com>
42486
7ae22829
UD
42487 [BZ #12350]
42488 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42489 bit from old_res_options.
42490 (gaih_inet): Likewise.
42491
553149f6 42492 [BZ #11099]
18a84741 42493 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42494 as signed.
42495
652ffab1
UD
42496 * resolv/res_init.c (res_setoptions): Make the code more compact.
42497
16985fd0
UD
42498 [BZ #11558]
42499 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42500 set RES_USEVC.
42501
0464f746
UD
42502 [BZ #11634]
42503 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42504
7d17596c
UD
42505 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42506
cf6bbbd7
UD
42507 [BZ #11781]
42508 * malloc/malloc.h: Declare malloc hook variables as volatile.
42509
13f1ab36
UD
42510 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42511 in last patch.
42512
b1ebd700
UD
42513 [BZ #11799]
42514 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42515 raise in the comment.
80e2212d
UD
42516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42517 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42518 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42519
ce67228d
UD
425202011-05-28 Ulrich Drepper <drepper@gmail.com>
42521
8887a920
UD
42522 [BZ #12811]
42523 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42524 grow the buffers more if it already has to be sufficient.
42525 (build_wcs_upper_buffer): Likewise.
42526 * posix/regexec.c (check_matching): Likewise.
42527 (clean_state_log_if_needed): Likewise.
42528 (extend_buffers): Don't enlarge buffers beyond size of the input
42529 buffer.
42530 Patches mostly by Emil Wojak <emil@wojak.eu>.
42531 * posix/bug-regex32.c: New file.
42532 * posix/Makefile (tests): Add bug-regex32.
42533
4f031072
UD
42534 * locale/findlocale.c (_nl_find_locale): Return right away if
42535 _nl_explode_name failed.
42536 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42537
d0478f0c
UD
42538 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42539
de81b246
UD
42540 * debug/xtrace.sh: Unify messages.
42541 * malloc/memusage.sh: Likewise.
42542
c738465a
UD
42543 [BZ #12813]
42544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42545 time symbol from vDSO. Substitute with vsyscall if not available.
42546 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42547 __vdso_time.
42548
f1f929d7
UD
42549 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42550 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42551 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42552 Add sendmmsg and internal_sendmmsg.
42553 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42554 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42555 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42556
ce67228d
UD
42557 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42558 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42559 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42560
e57420c6
UD
425612011-05-27 Ulrich Drepper <drepper@gmail.com>
42562
a8509ca5
UD
42563 [BZ #12813]
42564 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42565 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42566 available.
42567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42568 __vdso_getcpu.
42569
e57420c6
UD
42570 [BZ #12814]
42571 * iconvdata/Makefile (tests): Add bug-iconv9.
42572 * iconvdata/bug-iconv9.c: New file.
42573
4d07db15
AS
425742011-05-27 Andreas Schwab <schwab@redhat.com>
42575
42576 [BZ #12814]
42577 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42578
ea486f69
JJ
425792011-05-25 Jakub Jelinek <jakub@redhat.com>
42580
42581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42582 (struct user_regs_struct): Change intcs field back to cs.
42583
6f038433
UD
425842011-05-25 Ulrich Drepper <drepper@gmail.com>
42585
42586 * po/ja.po: Update from translation team.
42587
67f86a25
UD
425882011-05-23 Ulrich Drepper <drepper@gmail.com>
42589
42590 [BZ #12795]
42591 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42592 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42593
def7fbd6
AS
425942011-05-20 Andreas Schwab <schwab@redhat.com>
42595
42596 * stdlib/longlong.h: Update from GCC.
42597
f50ef8f1
AS
425982011-05-23 Andreas Schwab <schwab@redhat.com>
42599
42600 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42601 parameter name.
42602 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42603 Add parameter name.
42604 (__sysconf): Pass it down.
42605
de7ce8f1
UD
426062011-05-22 Ulrich Drepper <drepper@gmail.com>
42607
f2962a71
UD
42608 [BZ #12671]
42609 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42610 some situations.
42611 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42612 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42613 add in in __libc_use_alloca calls. Adjust callers.
42614 (glob): Use malloc in some situations.
42615
de7ce8f1
UD
42616 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42617 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42618 pltexit.
42619
aec84f53
UD
426202011-05-21 Ulrich Drepper <drepper@gmail.com>
42621
05bb4a68
UD
42622 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42623 and CLOCK_BOOTTIME_ALARM.
42624
7ea72f99
UD
42625 [BZ #12782]
42626 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42627 is returned.
42628
7e4afad5
UD
42629 * string/_strerror.c (__strerror_r): Print negative errors as signed
42630 numbers.
42631
8e211fec
UD
42632 [BZ #12777]
42633 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42634 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42635 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42636
f7d82dc9
UD
42637 * configure.in: Fix typo in redirection and correct removal of test
42638 files in two cases.
42639
cc9e536d
UD
42640 [BZ #12788]
42641 * locale/setlocale.c (new_composite_name): Fix test to check for
42642 identical name of all categories.
42643
aec84f53
UD
42644 [BZ #12792]
42645 * libio/filedoalloc.c (local_isatty): New function.
42646 (_IO_file_doallocate): Use local_isatty.
42647 * stdio-common/perror.c (perror): In case a new stream is used
42648 forward the stream error.
42649 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42650 error flag.
42651
78e64fdc
RT
426522011-05-20 Ulrich Drepper <drepper@gmail.com>
42653
34a9094f
UD
42654 [BZ #11869]
42655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42656 alloca.
42657 * include/alloca.h (extend_alloca_account): Define.
42658
78e64fdc
RT
42659 [BZ #11857]
42660 * posix/regex.h: Fix comments with documentation of user-accessible
42661 fields after compilation and describe correct free'ing of pattern
42662 after re_compile_pattern.
42663 Patch by Reuben Thomas <rrt@sc3d.org>.
42664
457bddfc
RA
426652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42666
42667 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42668 and -mno-altivec to prevent the compiler from using Altivec and/or
42669 VSX instructions when the corresponding registers are not available.
42670
a4527b51
AS
426712011-05-19 Andreas Schwab <schwab@redhat.com>
42672
42673 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42674
ed690b2f
UD
426752011-05-19 Ulrich Drepper <drepper@gmail.com>
42676
42677 * libio/freopen.c (freopen): Use __dup2, not dup2.
42678 * libio/freopen64.c (freopen64): Likewise.
42679
8db73634
L
426802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 [BZ #12775]
42683 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42684 * math/Makefile (tests): Add test-powl.
42685 (CFLAGS-test-powl.c): Define.
42686 * math/test-powl.c: New file.
42687
0a197a9d
L
426882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42689
42690 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42691
ee30c380
UD
426922011-05-17 Ulrich Drepper <drepper@gmail.com>
42693
42694 [BZ #11837]
42695 * iconvdata/gb18030.c: Update to GB18020-2005.
42696
6ce75379
UD
426972011-05-16 Ulrich Drepper <drepper@gmail.com>
42698
a4b89fd8
AR
42699 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42700 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42701 Patch by Aharon Robbins <arnold@skeeve.com>.
42702
ea389b12
UD
42703 [BZ #11892]
42704 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42705 on the stack.
42706
68a3f91f
UD
42707 [BZ #11895]
42708 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42709 through underflows.
42710
15cc7dd1
UD
42711 [BZ #12766]
42712 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42713 point to strings before performing equality test for error_one_per_line
42714 mode.
42715
f3799213
UD
42716 [BZ #11697]
42717 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42718
d79a9c94
UD
42719 [BZ #11820]
42720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42721 (struct user_fpregs_struct): Avoid __uint*_t types.
42722
56e5eb46
UD
42723 [BZ #6420]
42724 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42725 symbol info. Use it instead of calling _dl_addr locally.
42726 (lock_and_info): New function.
42727 (tr_freehook): Call lock_and_info and pass symbol info as additional
42728 parameter to tr_where.
42729 (tr_mallochook): Likewise.
42730 (tr_reallochook): Likewise.
42731 (tr_memalignhook): Likewise.
42732
6ce75379
UD
42733 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42734 used and couldn't be at all thread-safe.
42735
f8a3b5bf
UD
427362011-05-15 Ulrich Drepper <drepper@gmail.com>
42737
94b7cc37
UD
42738 * libio/freopen.c (freopen): Don't close old file descriptor
42739 before the new one is opened. Instead dup the new file descriptor
42740 to the old one after the new stream is created.
42741 * libio/freopen64.c (freopen64): Likewise.
42742 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42743 * libio/fileops.c (_IO_new_file_close_it): Handle new
42744 _IO_FLAGS2_NOCLOSE flag.
42745 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42746 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42747 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42748 _IO_FLAGS2_NOCLOSE flag.
42749 * include/unistd.h: Add hidden_proto for dup3.
42750 Define __have_dup3.
42751 * io/dup3.c: Define hidden symbol.
42752 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42753
bd25564e
UD
42754 [BZ #7101]
42755 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42756 when an incomplete long option is used.
42757 * posix/tst-getopt_long1.c: New file.
42758 * posix/Makefile (tests): Add tst-getopt_long1.
42759
c84cfef4
UD
42760 [BZ #10138]
42761 * scripts/config.guess: Update from autoconf-2.68.
42762 * scripts/config.sub: Likewise.
42763
3b85df27
UD
42764 [BZ #10157]
42765 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42766 tests into ...
42767 (has_cpuclock): ...this. New function.
42768 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42769 macro here based on has_cpuclock code.
42770
15a856b1
UD
42771 [BZ #10149]
42772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42773 First byte (not low byte) is now always NUL.
42774 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42775
05f399e6
UD
42776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42777 Use non-cancelable interfaces.
42778
10a52685 42779 [BZ #9809]
94ecc67d
UD
42780 * locale/iso-639.def: Add entry for Sorani.
42781
f8a3b5bf
UD
42782 [BZ #11901]
42783 * include/stdlib.h: Move include protection to the right place.
42784 Define abort_msg_s. Declare __abort_msg with it.
42785 * stdlib/abort.c (__abort_msg): Adjust type.
42786 * assert/assert.c (__assert_fail_base): New function. Majority
42787 of code from __assert_fail. Allocate memory for __abort_msg with
42788 mmap.
42789 (__assert_fail): Now call __assert_fail_base.
42790 * assert/assert-perr.c: Remove bulk of implementation. Use
42791 __assert_fail_base.
42792 * include/assert.hL Declare __assert_fail_base.
42793 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42794 mmap.
42795 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42796
1af4e298
UD
427972011-05-14 Ulrich Drepper <drepper@gmail.com>
42798
f8a3b5bf 42799 [BZ #11952]
d26dfc60
MG
42800 [BZ #12453]
42801 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42802 until all modules are registered in the DTV.
42803 * elf/Makefile: Add rules to build and run tst-tls19.
42804 * elf/tst-tls19.c: New file.
42805 * elf/tst-tls19mod1.c: New file.
42806 * elf/tst-tls19mod2.c: New file.
42807 * elf/tst-tls19mod3.c: New file.
42808 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42809
2fc54d6f
UD
42810 [BZ #12083]
42811 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42812 correctly.
42813
98d76b46
UD
42814 [BZ #12601]
42815 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42816 two-byte sequence errors.
42817 * iconvdata/Makefile (tests): Add bug-iconv8.
42818 * iconvdata/bug-iconv8.c: New file.
42819
da3c19ef
UD
42820 [BZ #12626]
42821 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42822 buf2 definition.
42823
ca408c15
UD
42824 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42825
d6f67f7d
UD
42826 [BZ #12432]
42827 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42828 (dummy_getcfa): New function.
42829 (init): Get _Unwind_GetCFA address, use dummy if not found.
42830 (backtrace_helper): In recursion check, also check whether CFA changes.
42831 (__backtrace): Completely initialize arg.
42832
1af4e298 42833 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42834 storing incomplete byte sequence in state object. Avoid testing for
42835 guaranteed too small input if we know there is enough data available.
1af4e298 42836
da62f81b
AS
428372011-05-11 Andreas Schwab <schwab@redhat.com>
42838
42839 * Makeconfig (+link-pie): Indent.
42840 * Rules (binaries-pie): Define if $(have-fpie) and
42841 $(build-shared).
42842 (binaries-shared): Also filter out $(binaries-pie).
42843 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42844 * nscd/Makefile (others-pie): Add nscd.
42845 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42846 ($(objpfx)nscd): Remove command override.
42847 * login/Makefile (others-pie): Add pt_chown.
42848 ($(objpfx)pt_chown): Remove command override.
42849 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42850 remove command overrides.
42851
fcabc0f8
UD
428522011-05-13 Ulrich Drepper <drepper@gmail.com>
42853
20030ae6
UD
42854 * libio/tst_putwc.c: Fix error messages.
42855
fcabc0f8
UD
42856 [BZ #12724]
42857 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42858 currently writing and seek to current position when not.
42859 * libio/Makefile (tests): Add bug-fclose1.
42860 * libio/bug-fclose1.c: New file.
42861
320a5dc0
PB
428622011-05-12 Ulrich Drepper <drepper@gmail.com>
42863
42864 [BZ #12511]
42865 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42866 don't set DF_1_NODELETE here.
42867 (do_lookup_x): When entering new entry test for copy relocation
42868 and if necessary set DF_1_NODELETE flag.
42869 * elf/tst-unique4.cc: New file.
42870 * elf/tst-unique4.h: New file.
42871 * elf/tst-unique4lib.cc: New file.
42872 * elf/Makefile: Add rules to build and run tst-unique4.
42873 Patch by Piotr Bury <pbury@goahead.com>.
42874
22836f52
UD
428752011-05-11 Ulrich Drepper <drepper@gmail.com>
42876
f574184a
UD
42877 [BZ #12052]
42878 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42879
e1fb097f
UD
42880 [BZ #12625]
42881 * misc/mntent_r.c (addmntent): Flush the stream after the output
42882
22836f52
UD
42883 [BZ #12393]
42884 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42885 (is_trusted_path_normalize): Skip initial colon. Append slash
42886 to empty buffer. Duplicate is_trusted_path code but allow
42887 constructed patch to be prefix.
42888 (is_dst): Allow $ORIGIN followed by /.
42889 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42890 Correct testing of result of is_trusted_path_normalize
42891 (decompose_rpath): Fix warning.
42892
7b3b0b2a
UD
428932011-05-10 Ulrich Drepper <drepper@gmail.com>
42894
42895 [BZ #11257]
42896 * grp/initgroups.c (internal_getgrouplist): When we found the service
42897 list through the initgroups entry in nsswitch.conf do not always
42898 continue on a successful lookup. Don't always use the
eac80ce2 42899 __nss_group_database value if it is set.
7b3b0b2a
UD
42900 * nss/nsswitch.conf (initgroups): Change action for successful db
42901 lookup to continue for compatibility.
42902
2a81eaa5
UD
429032011-05-09 Ulrich Drepper <drepper@gmail.com>
42904
be97a69e
UD
42905 [BZ #11532]
42906 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42907 and CP774 modules.
42908 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42909 and CP774 modules.
42910 * iconvdata/tst-tables.sh: Likewise.
42911 * iconvdata/cp770.c: New file.
42912 * iconvdata/cp771.c: New file.
42913 * iconvdata/cp772.c: New file.
42914 * iconvdata/cp773.c: New file.
42915 * iconvdata/cp774.c: New file.
42916 * iconvdata/testdata/CP770: New file.
42917 * iconvdata/testdata/CP770..UTF8: New file.
42918 * iconvdata/testdata/CP771: New file.
42919 * iconvdata/testdata/CP771..UTF8: New file.
42920 * iconvdata/testdata/CP772: New file.
42921 * iconvdata/testdata/CP772..UTF8: New file.
42922 * iconvdata/testdata/CP773: New file.
42923 * iconvdata/testdata/CP773..UTF8: New file.
42924 * iconvdata/testdata/CP774: New file.
42925 * iconvdata/testdata/CP774..UTF8: New file.
42926
42927 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42928 END CHARMAP line.
42929 * iconvdata/gen-8bit-gap.sh: Likewise.
42930 * iconvdata/gen-8bit.sh: Likewise.
42931
c1e9e399
UD
42932 * locale/iso-639.def: Add ary entry.
42933
24c55fb3 42934 [BZ #11258]
96b4b1b0
UD
42935 * locale/C-translit.h.in: Add U20A1 transliteration.
42936
bdc2f971
KB
42937 [BZ #12178]
42938 * locale/iso-639.def: Add wae entry.
42939 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42940
2952b117
UD
42941 [BZ #12545]
42942 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42943 for n.
42944
2a81eaa5
UD
42945 [BZ #12711]
42946 * locale/C-translit.h.in: Add entry for U20B9.
42947 Patch by pravin.d.s@gmail.com.
42948
28377d1b
UD
429492011-05-08 Ulrich Drepper <drepper@gmail.com>
42950
7fb90fb8
UD
42951 [BZ #12713]
42952 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42953 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42954 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42955 in rtld. Use *stat64.
7fb90fb8 42956 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42957 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42958 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42959 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42960 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42961 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42962 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42963 __fstatat64 macros.
7fb90fb8
UD
42964 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42965 * dirent/rewinddir.c: Add libc_hidden_def.
42966 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42967 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42968
28377d1b
UD
42969 * include/dirent.h (__alloc_dir): Add flags parameter.
42970 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42971 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42972 __alloc_dir.
42973 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42974 from fdopendir if O_CLOEXEC is already set.
42975
66bdbaa4
AM
429762011-03-15 Alan Modra <amodra@gmail.com>
42977
42978 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42979 l_tls_firstbyte_offset non-zero. Save padding offset in
42980 l_tls_firstbyte_offset for later use.
42981 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42982 freeing static tls block.
42983
95721191
JN
429842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42985
42986 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42987 where #ifdef was intended. The intent is to prevent ARG_MAX from
42988 being defined by the kernel headers.
42989
f87dfb1f
UD
429902011-05-07 Ulrich Drepper <drepper@gmail.com>
42991
42992 [BZ #12734]
42993 * resolv/resolv.h: Define RES_NOTLDQUERY.
42994 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42995 no-tld-query and set RES_NOTLDQUERY.
42996 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42997 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42998 modern BIND to search name as TLD unless forbidden.
42999
47c3cd7a
UD
430002011-05-07 Petr Baudis <pasky@suse.cz>
43001 Ulrich Drepper <drepper@gmail.com>
43002
43003 [BZ #12393]
43004 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43005 (is_trusted_path): ...to here.
c1e9ea35 43006 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43007 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43008 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43009
8a35c912
PP
430102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43011
43012 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43013 __BEGIN/__END_DECLS.
43014
acd41f47
UD
430152011-05-06 Ulrich Drepper <drepper@gmail.com>
43016
43017 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43018 NSS_STATUS_NOTFOUND if no record was found.
43019
597df647
AS
430202011-05-05 Andreas Schwab <schwab@redhat.com>
43021
43022 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43023 (headers-not-in-tirpc): Remove rpc/netdb.h
43024 * resolv/netdb.h: Revert last change.
43025
b9af1301
PP
430262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43027
43028 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43029 circular dependency between libgcc.a and libc.a.
43030
4e34d5f5
AS
430312011-05-05 Andreas Schwab <schwab@redhat.com>
43032
43033 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43034 * nis/Makefile: Don't install rpcsvc/*.
43035 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43036 instead of <rpc/types.h>.
43037 (MAXHOSTNAMELEN): Define.
43038
00ee369c
AS
430392011-05-03 Andreas Schwab <schwab@redhat.com>
43040
43041 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43042
0b592a30
MB
430432011-04-28 Maciej Babinski <mbabinski@google.com>
43044
43045 [BZ #12714]
43046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43047 gethostbyname4_r when IPv6 results are possible.
43048
6e04cbbe
UD
430492011-05-02 Ulrich Drepper <drepper@gmail.com>
43050
43051 [BZ #12723]
43052 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43053 _PC_PIPE_BUF handling.
43054
e4ecafe0
BH
430552011-04-30 Bruno Haible <bruno@clisp.org>
43056
43057 [BZ #12717]
43058 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43059 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43060 to 'int'.
43061 * inet/getnameinfo.c (getnameinfo): Likewise.
43062
125ee683
UD
430632011-04-29 Ulrich Drepper <drepper@gmail.com>
43064
43065 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43066 to groups setting in database lookup.
43067 * nss/nsswitch.conf: Add initgroups entry.
43068
b722481a
EB
430692011-04-22 Ulrich Drepper <drepper@gmail.com>
43070
43071 [BZ #12685]
43072 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43073 mode string.
43074 Patch by Eric Blake <eblake@redhat.com>.
43075
4df46dbd
L
430762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43077
43078 * sunrpc/Makefile (need-export-routines): Add svc_run.
43079 (routines): Remove svc_run.
43080 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43081 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43082 * sunrpc/svc_run.c (svc_run): Likewise.
43083 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43084
e84142d2
UD
430852011-04-21 Ulrich Drepper <drepper@gmail.com>
43086
43087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43088 problem in reallocation in last patch.
43089
877175d8
UD
430902011-04-20 Ulrich Drepper <drepper@gmail.com>
43091
43092 * sunrpc/Makefile: Move inclusion of Rules.
43093
ab8eed78
UD
430942011-04-19 Ulrich Drepper <drepper@gmail.com>
43095
43096 * nss/nss_files/files-initgroups.c: New file.
43097 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43098 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43099 _nss_files_initgroups_dyn.
43100
e3d8f584
RS
431012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43102
43103 * elf/elf.h (R_ARM_IRELATIVE): Define.
43104
af190f45
UD
431052011-04-19 Ulrich Drepper <drepper@gmail.com>
43106
43107 * po/ru.po: Update from translation team.
43108
53cf59ef
UD
431092011-04-17 Ulrich Drepper <drepper@gmail.com>
43110
43111 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43112 dependencies.
43113
4c559bcd
MF
431142011-02-06 Mike Frysinger <vapier@gentoo.org>
43115
43116 [BZ #12653]
43117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43118 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43119 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43122
4420675c
AS
431232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43124
43125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43126 differing bytes.
43127 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43130
75ea32ab
UD
431312011-04-17 Ulrich Drepper <drepper@gmail.com>
43132
43133 [BZ #12420]
43134 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43135 storing it.
43136 * stdlib/bug-getcontext.c: New file.
43137 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43138
27390476
AK
431392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43140
43141 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43142 instructions into .machine "z9-109".
43143 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43144 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43145
10442705
AK
431462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43147
43148 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43149 between environment variables and auxiliary vector.
43150
7b57bfe5
UD
431512011-04-16 Ulrich Drepper <drepper@gmail.com>
43152
43153 * Makefile: Add rules to build linkobj/libc.so.
43154 * include/libc-symbols.h: Define libc_hidden_nolink.
43155 * include/rpc/auth.h: Mark functions which are to be hidden.
43156 * include/rpc/auth_des.h: Likewise.
43157 * include/rpc/auth_unix.h: Likewise.
43158 * include/rpc/clnt.h: Likewise.
43159 * include/rpc/des_crypt.h: Likewise.
43160 * include/rpc/key_prot.h: Likewise.
43161 * include/rpc/pmap_clnt.h: Likewise.
43162 * include/rpc/pmap_prot.h: Likewise.
43163 * include/rpc/pmap_rmt.h: Likewise.
43164 * include/rpc/rpc_msg.h: Likewise.
43165 * include/rpc/svc.h: Likewise.
43166 * include/rpc/svc_auth.h: Likewise.
43167 * include/rpc/xdr.h: Likewise.
43168 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43169 * nss/Makefile: Likewise.
43170 * sunrpc/Makefile: Don't install headers. Build library with normal
43171 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43172 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43173 for the compat linking library. Remove use of INTDEF/INTUSE.
43174 * sunrpc/auth_none.c: Likewise.
43175 * sunrpc/auth_unix.c: Likewise.
43176 * sunrpc/authdes_prot.c: Likewise.
43177 * sunrpc/authuxprot.c: Likewise.
43178 * sunrpc/clnt_gen.c: Likewise.
43179 * sunrpc/clnt_perr.c: Likewise.
43180 * sunrpc/clnt_raw.c: Likewise.
43181 * sunrpc/clnt_simp.c: Likewise.
43182 * sunrpc/clnt_tcp.c: Likewise.
43183 * sunrpc/clnt_udp.c: Likewise.
43184 * sunrpc/clnt_unix.c: Likewise.
43185 * sunrpc/des_crypt.c: Likewise.
43186 * sunrpc/des_soft.c: Likewise.
43187 * sunrpc/get_myaddr.c: Likewise.
43188 * sunrpc/key_call.c: Likewise.
43189 * sunrpc/key_prot.c: Likewise.
43190 * sunrpc/netname.c: Likewise.
43191 * sunrpc/pm_getmaps.c: Likewise.
43192 * sunrpc/pm_getport.c: Likewise.
43193 * sunrpc/pmap_clnt.c: Likewise.
43194 * sunrpc/pmap_prot.c: Likewise.
43195 * sunrpc/pmap_prot2.c: Likewise.
43196 * sunrpc/pmap_rmt.c: Likewise.
43197 * sunrpc/publickey.c: Likewise.
43198 * sunrpc/rpc_cmsg.c: Likewise.
43199 * sunrpc/rpc_common.c: Likewise.
43200 * sunrpc/rpc_dtable.c: Likewise.
43201 * sunrpc/rpc_prot.c: Likewise.
43202 * sunrpc/rpc_thread.c: Likewise.
43203 * sunrpc/rtime.c: Likewise.
43204 * sunrpc/svc.c: Likewise.
43205 * sunrpc/svc_auth.c: Likewise.
43206 * sunrpc/svc_authux.c: Likewise.
43207 * sunrpc/svc_raw.c: Likewise.
43208 * sunrpc/svc_run.c: Likewise.
43209 * sunrpc/svc_simple.c: Likewise.
43210 * sunrpc/svc_tcp.c: Likewise.
43211 * sunrpc/svc_udp.c: Likewise.
43212 * sunrpc/svc_unix.c: Likewise.
43213 * sunrpc/svcauth_des.c: Likewise.
43214 * sunrpc/xcrypt.c: Likewise.
43215 * sunrpc/xdr.c: Likewise.
43216 * sunrpc/xdr_array.c: Likewise.
43217 * sunrpc/xdr_float.c: Likewise.
43218 * sunrpc/xdr_intXX_t.c: Likewise.
43219 * sunrpc/xdr_mem.c: Likewise.
43220 * sunrpc/xdr_rec.c: Likewise.
43221 * sunrpc/xdr_ref.c: Likewise.
43222 * sunrpc/xdr_sizeof.c: Likewise.
43223 * sunrpc/xdr_stdio.c: Likewise.
43224
e6c61494
UD
432252011-04-10 Ulrich Drepper <drepper@gmail.com>
43226
43227 [BZ #12650]
43228 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43229 * sysdeps/ia64/dl-tls.h: Likewise.
43230 * sysdeps/powerpc/dl-tls.h: Likewise.
43231 * sysdeps/s390/dl-tls.h: Likewise.
43232 * sysdeps/sh/dl-tls.h: Likewise.
43233 * sysdeps/sparc/dl-tls.h: Likewise.
43234 * sysdeps/x86_64/dl-tls.h: Likewise.
43235 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43236
34fe483e
AS
432372011-03-14 Andreas Schwab <schwab@redhat.com>
43238
43239 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43240 rpath element also skip the following colon.
43241 (expand_dynamic_string_token): Add is_path parameter and pass
43242 down to DL_DST_REQUIRED and _dl_dst_substitute.
43243 (decompose_rpath): Call expand_dynamic_string_token with
43244 non-zero is_path. Ignore empty rpaths.
43245 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43246 with zero is_path.
43247
f12a32e6
AS
432482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43249
43250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43251 Make cancelable.
43252
38a7d692
UD
432532011-04-09 Ulrich Drepper <drepper@gmail.com>
43254
43255 [BZ #12655]
43256 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43257 Patch by Filipe David Manana <fdmanana@apache.org>.
43258
e451d22b
AS
432592011-04-07 Andreas Schwab <schwab@redhat.com>
43260
43261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43262 Maintain aligned stack.
43263 (CHECK_RSP): Remove unused macro.
43264
dedc7c7b
UD
432652011-04-03 Ulrich Drepper <drepper@gmail.com>
43266
43267 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43268 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43269
94521213
UD
432702011-04-02 Ulrich Drepper <drepper@gmail.com>
43271
43272 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43273
8cb700c0 43274 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43275
0354e355
L
432762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43277
43278 [BZ #12518]
43279 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43280 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43281 * sysdeps/x86_64/memmove.c: New file.
43282 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43283 (memcpy): Renamed to ...
43284 (__new_memcpy): This.
43285 (memcpy): Provide GLIBC_2_14 memcpy.
43286 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43287 (memcpy): Provide GLIBC_2_2_5 memcpy.
43288
8593482f
UD
432892011-04-01 Ulrich Drepper <drepper@gmail.com>
43290
43291 [BZ #12631]
43292 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43293
81a5726b
AS
432942011-03-30 Andreas Schwab <schwab@redhat.com>
43295
43296 * misc/syncfs.c: New file.
43297 * misc/Makefile (routines): Add syncfs.
43298 * posix/unistd.h: Declare syncfs.
43299 * sysdeps/unix/syscalls.list: Add syncfs.
43300
00e5419f
AS
433012011-04-01 Andreas Schwab <schwab@redhat.com>
43302
43303 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43304 open_by_handle_at.
43305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43310 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43312
748876bf
UD
433132011-04-01 Ulrich Drepper <drepper@gmail.com>
43314
658e451d
UD
43315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43317 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43322
748876bf
UD
43323 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43324 sync_file_range.c with -fexceptions.
43325 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43326 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43327 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43328 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43329 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43330 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43332 sync_file_range as cancellation point
43333 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43334 now a wrapper around __call_sync_file_range with cancellation handling.
43335 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43336 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43337 function name to __call_sync_file_range.
43338 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43339 Add call_sync_file_range.
748876bf 43340
6e63d5e1
AS
433412011-04-01 Andreas Schwab <schwab@redhat.com>
43342
43343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43344 bits/timex.h.
6e63d5e1 43345
46998f74
UD
433462011-04-01 Ulrich Drepper <drepper@gmail.com>
43347
4c1423ed
UD
43348 * iconv/iconv.h: Fix typo in comment.
43349 * io/fcntl.h: Likewise.
43350 * libio/stdio.h: Likewise.
43351 * posix/spawn.h: Likewise.
43352 * posix/unistd.h: Likewise.
43353 * stdlib/stdlib.h: Likewise.
43354 * time/time.h: Likewise.
43355 * wcsmbs/wchar.h: Likewise.
43356
158648c0
UD
43357 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43358 open_by_handle): Add.
43359 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43360 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43361 Augment a few comments.
43362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43364 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43366 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43367 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43368 open_by_handle.
43369
46998f74
UD
43370 * io/fcntl.h (AT_EMPTY_PATH): Define.
43371
83fe108b
UD
433722011-03-30 Ulrich Drepper <drepper@gmail.com>
43373
43374 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43375 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43376 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43377 to...
43378 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43379 * Versions.def: Add GLIBC_2.14.
43380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43381 Export.
83fe108b 43382
bb242059
UD
433832011-03-22 Ulrich Drepper <drepper@gmail.com>
43384
43385 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43386 round counter.
43387 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43388
c97a1282
L
433892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43390
43391 [BZ #12597]
43392 * string/test-strncmp.c (do_page_test): New function.
43393 (check2): Likewise.
43394 (test_main): Call check2.
43395 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43396
2a115601
UD
433972011-03-20 Ulrich Drepper <drepper@gmail.com>
43398
43399 [BZ #12587]
43400 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43401 Handle cache information in CPU leaf 4.
43402 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43403
8126d904
UD
434042011-03-18 Ulrich Drepper <drepper@gmail.com>
43405
042c49c6 43406 [BZ #12583]
8126d904
UD
43407 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43408 character representation.
43409 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43410
ccfe366e
RA
434112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43412
43413 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43414 END(__isnan) to END(__isnanf) to match function entry point/label
43415 EALIGN(__isnanf,...).
43416
c6e13027
JJ
434172011-03-10 Jakub Jelinek <jakub@redhat.com>
43418
43419 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43420
33f85a3f
UD
434212011-03-10 Ulrich Drepper <drepper@gmail.com>
43422
028478fa
UD
43423 [BZ #12510]
43424 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43425 copy from the symbol referenced in the relocation to initialize the
43426 used variable.
43427 Patch by Piotr Bury <pbury@goahead.com>.
43428 * elf/Makefile: Add rules to build and tst-unique3.
43429 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43430 * elf/tst-unique3.cc: New file.
43431 * elf/tst-unique3.h: New file.
43432 * elf/tst-unique3lib.cc: New file.
43433 * elf/tst-unique3lib2.cc: New file.
43434
33f85a3f
UD
43435 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43436
03592fc7
MF
434372011-03-10 Mike Frysinger <vapier@gentoo.org>
43438
43439 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43440 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43441 to _start.
03592fc7 43442
6a5ee102
UD
434432011-03-06 Ulrich Drepper <drepper@gmail.com>
43444
43445 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43446 to-be-loaded object along a path to loader is ld.so.
43447
7e4ba49c
HJ
434482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43449 Ulrich Drepper <drepper@gmail.com>
43450
43451 * sysdeps/x86_64/memset.S: After aligning destination, code
43452 branches to different locations depending on the value of
43453 misalignment, when multiarch is enabled. Fix this.
43454
434552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43456
43457 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43458 Set _x86_64_preferred_memory_instruction for AMD processsors.
43459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43460 Set bit_Prefer_SSE_for_memop for AMD processors.
43461
13a804de
UD
434622011-03-04 Ulrich Drepper <drepper@gmail.com>
43463
43464 * libio/fmemopen.c (fmemopen): Optimize a bit.
43465
9d25c392
AS
434662011-03-03 Andreas Schwab <schwab@redhat.com>
43467
43468 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43469
a5543c6a
RM
434702011-03-03 Roland McGrath <roland@redhat.com>
43471
43472 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43473
012d35f7
DM
434742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43475
7e4ba49c 43476 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43477 __bzero_ultra1 instead of __memset_ultra1.
43478
4bff6e01
AS
434792011-02-23 Andreas Schwab <schwab@redhat.com>
43480 Ulrich Drepper <drepper@gmail.com>
43481
43482 [BZ #12509]
43483 * include/link.h (struct link_map): Add l_orig_initfini.
43484 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43485 returning unsuccessfully.
43486 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43487 close of a file loaded at startup, restore the original l_initfini
43488 list.
43489 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43490 list, store the pointer.
43491 * elf/Makefile ($(objpfx)noload-mem): New rule.
43492 (noload-ENV): Define.
43493 (tests): Add $(objpfx)noload-mem.
43494 * elf/noload.c: Include <memcheck.h>.
43495 (main): Call mtrace. Close all opened handles.
43496
f2092faf
AS
434972011-02-17 Andreas Schwab <schwab@redhat.com>
43498
43499 [BZ #12454]
43500 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43501 dependencies are missing.
43502
6c8a2e88
ST
435032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43504
f2092faf 43505 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43506 Hurd needs munmap.
43507 * sysdeps/mach/hurd/ifreq.h: New file.
43508
84a42118
PB
435092011-01-27 Petr Baudis <pasky@suse.cz>
43510 Ulrich Drepper <drepper@gmail.com>
43511
071f805e 43512 [BZ 12445]#
84a42118
PB
43513 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43514 to extend_alloca().
43515 * stdio-common/bug23.c: New file.
43516 * stdio-common/Makefile (tests): Add bug23.
43517
e23fe25b
AS
435182010-09-28 Andreas Schwab <schwab@redhat.com>
43519 Ulrich Drepper <drepper@gmail.com>
43520
43521 [BZ #12489]
43522 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43523 before performing relro protection. At old place add assertion
43524 to make sure nothing changed.
43525
d3f02e10
NS
435262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43527 Glauber de Oliveira Costa <glommer@gmail.com>
43528
43529 * elf/elf.h: Add new ARM TLS relocs.
43530
d55fd7a5
RA
435312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43532
43533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43534 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43535 cast from r3.
43536 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43537 'tests' variable.
43538 * sysdeps/wordsize-64/tst-writev.c: New file.
43539
2206397e
RA
435402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43541
43542 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43543 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43544 insns in _dl_start to prevent a TOC reference before relocs are
43545 resolved.
43546
e9433893
UD
435472011-02-15 Ulrich Drepper <drepper@gmail.com>
43548
43549 [BZ #12469]
43550 * Makeconfig: Remove RANLIB definition.
43551 * Makerules: Don't use RANLIB.
43552 * aclocal.m4: Remove ranlib test.
43553 * configure.in: No need to check for ranlib.
43554 * elf/rtld-Rules: Don't use RANLIB.
43555
f75286c6
ST
435562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43557
8e31c82d
ST
43558 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43559 protection macro.
43560 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43561 inclusion protection macro.
43562
f75286c6
ST
43563 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43564 SIGRTMIN and SIGRTMAX and print information in that case only when
43565 SIGRTMIN is defined.
43566
c1d0e639
JJ
435672011-02-11 Jakub Jelinek <jakub@redhat.com>
43568
43569 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43570 arginfo fn returning -1.
43571
43572 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43573 and thousands string is zero terminated.
43574
edf9294e
AS
435752011-02-03 Andreas Schwab <schwab@redhat.com>
43576
43577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43578 sysdeps/unix/sysv/linux/bits/socket.h.
43579
2b7e92df
ST
435802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43581
edf9294e
AS
43582 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43583 (__CPU_COUNT): Remove old macros.
43584 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43585 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43586 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43587 (__sched_cpualloc, __sched_cpufree): Add declarations.
43588
a4c7ea7b
UD
435892011-02-05 Ulrich Drepper <drepper@gmail.com>
43590
43591 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43592 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43593 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43594 (readdhstai): Return value of addhstaiX call.
43595 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43596 (addgrbyX): Return value returned by cache_addgr.
43597 (readdgrbyname): Return value returned by addgrbyX.
43598 (readdgrbygid): Likewise.
43599 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43600 (addpwbyX): Return value returned by cache_addpw.
43601 (readdpwbyname): Return value returned by addhstbyX.
43602 (readdpwbyuid): Likewise.
43603 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43604 (addservbyX): Return value returned by cache_addserv.
43605 (readdservbyname): Return value returned by addservbyX:
43606 (readdservbyport): Likewise.
43607 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43608 (addhstbyX): Return value returned by cache_addhst.
43609 (readdhstbyname): Return value returned by addhstbyX.
43610 (readdhstbyaddr): Likewise.
43611 (readdhstbynamev6): Likewise.
43612 (readdhstbyaddrv6): Likewise.
43613 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43614 (readdinitgroups): Return value returned by addinitgroupsX.
43615 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43616 (prune_cache): Keep track of timeout value of re-added entries.
43617 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43618 * nscd/nscd.h: Adjust prototypes of readd* functions.
43619
a0bf67cc
RM
436202011-02-04 Roland McGrath <roland@redhat.com>
43621
43622 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43623 (nis_stats): Likewise.
43624 * nis/nis_modify.c (nis_modify): Likewise.
43625 * nis/nis_remove.c (nis_remove): Likewise.
43626 * nis/nis_add.c (nis_add): Likewise.
43627
43628 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43629
43630 * posix/fnmatch_loop.c: Add some consts.
43631
43632 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43633
435b95eb
L
436342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43635
43636 [BZ #12460]
43637 * config.make.in (config-cflags-novzeroupper): Define.
43638 * configure.in: Substitute libc_cv_cc_novzeroupper.
43639 * elf/Makefile (AVX-CFLAGS): Define.
43640 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43641 (CFLAGS-tst-auditmod4a.c): Likewise.
43642 (CFLAGS-tst-auditmod4b.c): Likewise.
43643 (CFLAGS-tst-auditmod6b.c): Likewise.
43644 (CFLAGS-tst-auditmod6c.c): Likewise.
43645 (CFLAGS-tst-auditmod7b.c): Likewise.
43646 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43647
8517b15e
UD
436482011-02-02 Ulrich Drepper <drepper@gmail.com>
43649
43650 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43651 function to the callback.
43652 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43653
10a656fe
AS
436542011-02-02 Andreas Schwab <schwab@redhat.com>
43655
43656 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43657 of errno.
43658
968dad0a
UD
436592011-01-19 Ulrich Drepper <drepper@gmail.com>
43660
9f94d2ea 43661 [BZ #11724]
968dad0a
UD
43662 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43663 of constructors.
43664 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43665 of destructors.
43666 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43667
43668 [BZ #11724]
43669 * elf/Makefile: Add rules to build and run new test.
43670 * elf/tst-initorder.c: New file.
43671 * elf/tst-initorder.exp: New file.
43672 * elf/tst-initordera1.c: New file.
43673 * elf/tst-initordera2.c: New file.
43674 * elf/tst-initordera3.c: New file.
43675 * elf/tst-initordera4.c: New file.
43676 * elf/tst-initorderb1.c: New file.
43677 * elf/tst-initorderb2.c: New file.
43678 * elf/tst-order-a1.c: New file.
43679 * elf/tst-order-a2.c: New file.
43680 * elf/tst-order-a3.c: New file.
43681 * elf/tst-order-a4.c: New file.
43682 * elf/tst-order-b1.c: New file.
43683 * elf/tst-order-b2.c: New file.
43684 * elf/tst-order-main.c: New file.
43685 New test case by George Gensure <werkt0@gmail.com>.
43686
86e92359
UD
436872010-10-01 Andreas Schwab <schwab@redhat.com>
43688
43689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43690 decoding ACE if AI_CANONIDN.
43691
5d5732b0
UD
436922011-01-18 Ulrich Drepper <drepper@gmail.com>
43693
43694 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43695
a77e8cbc
UD
436962011-01-17 Ulrich Drepper <drepper@gmail.com>
43697
6392473f
UD
43698 * version.h (RELEASE): Bump for 2.13 release.
43699 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43700
620a0529
UD
43701 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43702
18ba70a5
UD
43703 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43704 MADV_NOHUGEPAGE.
32465c3e
UD
43705 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43706 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43710 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43711
c0dafcf1
UD
43712 * posix/getconf.c: Update copyright year.
43713 * catgets/gencat.c: Likewise.
43714 * csu/version.c: Likewise.
43715 * debug/catchsegv.sh: Likewise.
43716 * debug/xtrace.sh: Likewise.
43717 * elf/ldconfig.c: Likewise.
43718 * elf/ldd.bash.in: Likewise.
43719 * elf/sprof.c (print_version): Likewise.
43720 * iconv/iconv_prog.c: Likewise.
43721 * iconv/iconvconfig.c: Likewise.
43722 * locale/programs/locale.c: Likewise.
43723 * locale/programs/localedef.c: Likewise.
43724 * malloc/memusage.sh: Likewise.
43725 * malloc/mtrace.pl: Likewise.
43726 * nscd/nscd.c (print_version): Likewise.
43727 * nss/getent.c: Likewise.
43728
a77e8cbc
UD
43729 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43730 PF_CAIF, and PF_ALG.
43731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43732
77e8bddf
AS
437332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43734
1f20b93a
AS
43735 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43736 (modules-names): Use them.
43737 (ifunc-test-modules, ifunc-pie-tests): Define.
43738 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43739 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43740 (test-extras): Likewise.
43741 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43742 $(compile-command.c).
43743 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43744 (all-built-dso): Define.
43745 (check-textrel.out, check-execstack.out): Depend on it.
43746
77e8bddf
AS
43747 * configure.in: Don't override --enable-multi-arch.
43748
bc425b33
UD
437492011-01-15 Ulrich Drepper <drepper@gmail.com>
43750
43751 [BZ #6812]
43752 * nscd/hstcache.c (tryagain): Define.
43753 (cache_addhst): Return tryagain not notfound for temporary errors.
43754 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43755 failed.
43756
794c3ad3
UD
437572011-01-14 Ulrich Drepper <drepper@gmail.com>
43758
70181fdd
UD
43759 [BZ #10563]
43760 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43761 to make the syscall.
43762 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43763
794c3ad3
UD
43764 [BZ #12378]
43765 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43766 and fall back to matching as normal character if the string ends before
43767 the matching ']' is found. This is what POSIX requires.
43768 * posix/testfnm.c: Adjust test result.
43769 * posix/globtest.sh: Adjust test result. Add new test.
43770 * posix/tst-fnmatch.input: Likewise.
43771 * posix/tst-fnmatch2.c: Add new test.
43772
68dc9497
AS
437732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43774
43775 * elf/Makefile (check-execstack): Revert last change. Depend on
43776 check-execstack.h.
43777 (check-execstack.h): New target.
43778 (generated): Add check-execstack.h.
43779 * elf/check-execstack.c: Include "check-execstack.h".
43780 (main): Revert last change.
43781 (handle_file): Return zero if GNU_STACK is absent and
43782 DEFAULT_STACK_PERMS doesn't include PF_X.
43783
451f001b
UD
437842011-01-13 Ulrich Drepper <drepper@gmail.com>
43785
cfa28e56
UD
43786 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43787 in child fails because the descriptor is already closed.
8cf8ce17
UD
43788 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43789 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43790 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43791
1086d70d
UD
43792 [BZ #12397]
43793 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43794 syscall.
43795
451f001b
UD
43796 [BZ #10484]
43797 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43798 temporary buffer used to handle multi lookups locally.
a85b5cb4 43799 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43800
08769175
UD
438012011-01-12 Ulrich Drepper <drepper@gmail.com>
43802
43803 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43804 loader is ld.so.
43805
5e49c52e
UD
438062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43807
43808 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43809 alignment for SSE2.
43810
60522a5f
UD
438112011-01-12 Ulrich Drepper <drepper@gmail.com>
43812
43813 [BZ #12394]
43814 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43815 characters. When rounding increased number of integer digits recompute
43816 number of groups.
43817 * stdio-common/tst-grouping.c: New file.
43818 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43819
f257bbd7
UD
438202011-01-09 Ulrich Drepper <drepper@gmail.com>
43821
43822 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43823 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43824
43825 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43826 void.
43827 * bits/select.h: Likewise.
43828
fa9c15cb
UD
438292011-01-08 Ulrich Drepper <drepper@gmail.com>
43830
43831 * po/ja.po: Update from translation team.
43832
16c2895f
DM
438332011-01-04 David S. Miller <davem@sunset.davemloft.net>
43834
43835 [BZ #11155]
43836 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43837 implementation just like for lxstat, fxstatat, et al.
43838
2543fef2
JM
438392010-12-27 Jim Meyering <meyering@redhat.com>
43840
43841 [BZ #12348]
43842 * posix/regexec.c (build_trtable): Return failure indication upon
43843 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43844
98727dbe
UD
438452010-12-25 Ulrich Drepper <drepper@gmail.com>
43846
5bd6dc5c
UD
43847 [BZ #12201]
43848 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43849 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43851 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43852
97983464
UD
43853 [BZ #12207]
43854 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43855
98727dbe
UD
43856 [BZ #12204]
43857 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43858 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43859
4a531bb0
L
438602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43861
43862 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43863 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43864 script has SORT_BY_INIT_PRIORITY.
43865 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43866 NO_CTORS_DTORS_SECTIONS is defined.
43867 * elf/soinit.c: Likewise.
43868 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43869 NO_CTORS_DTORS_SECTIONS is defined.
43870 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43871 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43872 * sysdeps/sh/init-first.c: Likewise.
43873 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43874
07eb4b71
UD
438752010-12-24 Ulrich Drepper <drepper@gmail.com>
43876
43877 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43878 always use the slow path.
43879
30950a5f
RA
438802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43881
43882 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43883 similar rule which adds the sysdep directories to the header search in
43884 order to pick up the correct platform stackinfo.h.
43885 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43886 perform test if it is, otherwise return successfully without testing.
43887 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43888 DEFAULT_STACK_PERMS define in stackinfo.h.
43889 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43890 defined in stackinfo.h.
43891 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43892 DEFAULT_STACK_PERMS defined in stackinfo.h.
43893 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43894 * sysdeps/ia64/stackinfo.h: Likewise.
43895 * sysdeps/s390/stackinfo.h: Likewise.
43896 * sysdeps/sh/stackinfo.h: Likewise.
43897 * sysdeps/sparc/stackinfo.h: Likewise.
43898 * sysdeps/x86_64/stackinfo.h: Likewise.
43899 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43900 PF_X for powerpc64. Retain PF_X for powerpc32.
43901
db753e2c
UD
439022010-12-19 Ulrich Drepper <drepper@gmail.com>
43903
14b697f7
UD
43904 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43905 accurately.
db753e2c
UD
43906 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43907 GETDENTS_64BIT_ALIGNED.
43908
28300719
UD
439092010-12-14 Ulrich Drepper <dreper@gmail.com>
43910
14b697f7 43911 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43912
4f197237
AS
439132010-12-10 Andreas Schwab <schwab@redhat.com>
43914
dbb0472f
AS
43915 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43916 _GNU_SOURCE.
43917
4f197237
AS
43918 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43919 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43920 Remove __restrict.
43921 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43922 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43923
fb88ac72
UD
439242010-12-09 Ulrich Drepper <drepper@gmail.com>
43925
43926 [BZ #11655]
43927 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43928 are initialized.
43929
42acbb92
JJ
439302010-12-09 Jakub Jelinek <jakub@redhat.com>
43931
43932 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43933
c038d98d
UD
439342010-12-03 Ulrich Drepper <drepper@gmail.com>
43935
43936 * po/it.po: Update from translation team.
43937
3a4a2499
L
439382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43939
43940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43941 unused codes.
43942
1e24cf6e
UD
439432010-11-30 Ulrich Drepper <drepper@gmail.com>
43944
43945 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43946
a7690819
AS
439472010-11-24 Andreas Schwab <schwab@redhat.com>
43948
43949 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43950 specially.
43951 (gaih_getanswer_slice): Likewise.
43952
3bf8d1b1
JJ
439532010-10-20 Jakub Jelinek <jakub@redhat.com>
43954
43955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43956
6db52fbb
PB
439572010-05-31 Petr Baudis <pasky@suse.cz>
43958
43959 [BZ #11149]
43960 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43961 silently even in the chroot mode.
43962
eaca7569
UD
439632010-11-22 Ulrich Drepper <drepper@gmail.com>
43964
43965 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43966 last patch a bit. Pretty printing
43967
3056dcdb
UD
439682010-05-31 Petr Baudis <pasky@suse.cz>
43969
43970 [BZ #10085]
43971 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43972 initialization of skip_initgroups_dyn.
43973
cf7c9078
UD
439742010-11-19 Ulrich Drepper <drepper@gmail.com>
43975
43976 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43977 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43978
a1fb5e3e
UD
439792010-11-16 Ulrich Drepper <drepper@gmail.com>
43980
43981 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43982
3540d66b
AS
439832010-11-11 Andreas Schwab <schwab@redhat.com>
43984
43985 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43986 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43987 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43988 ($(objpfx)tst-fnmatch-mem): New rule.
43989 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43990 * posix/tst-fnmatch.c (main): Call mtrace.
43991
13b69574
L
439922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43993
43994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43995 Support Intel processor model 6 and model 0x2c.
43996
da93d214
LM
439972010-11-10 Luis Machado <luisgpm@br.ibm.com>
43998
43999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44000 signed comparison.
44001
8ca52c6e
L
440022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44003
44004 [BZ #12205]
44005 * string/test-strncasecmp.c (check_result): New function.
44006 (do_one_test): Use it.
44007 (check1): New function.
44008 (test_main): Use it.
44009 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44010 Support strcasecmp and strncasecmp.
44011
69da074d
UD
440122010-11-08 Ulrich Drepper <drepper@gmail.com>
44013
44014 [BZ #12194]
44015 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44017
ff02d528
L
440182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44019
44020 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44021 IFUNC support.
44022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44023 memset-x86-64.
44024 * sysdeps/x86_64/multiarch/bzero.S: New file.
44025 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44026 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44027 * sysdeps/x86_64/multiarch/memset.S: New file.
44028 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44030 Set bit_Prefer_SSE_for_memop for Intel processors.
44031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44032 Define.
44033 (index_Prefer_SSE_for_memop): Define.
44034 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44035
344d0b54
LM
440362010-11-04 Luis Machado <luisgpm@br.ibm.com>
44037
44038 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44039 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44040
c0dde15b
UD
440412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44042
44043 [BZ #12191]
44044 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44045 (__x86_64_raw_data_cache_size_half): Likewise.
44046 (__x86_64_raw_shared_cache_size): Likewise.
44047 (__x86_64_raw_shared_cache_size_half): Likewise.
44048
44049 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44050 (__x86_64_raw_data_cache_size_half): Likewise.
44051 (__x86_64_raw_shared_cache_size): Likewise.
44052 (__x86_64_raw_shared_cache_size_half): Likewise.
44053 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44054 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44055 and __x86_64_raw_shared_cache_size_half. Round
44056 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44057 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44058 to multiple of 256 bytes.
44059
0e516e0e
MS
440602010-11-03 Ulrich Drepper <drepper@gmail.com>
44061
44062 [BZ #12167]
44063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44064 of inacessible symlinks. Verify result of symlink before returning it.
44065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44066 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44067
0e012e87
ER
440682010-10-28 Erich Ritz <erichritz@gmail.com>
44069
44070 * math/math.h (isinf): Fix typo in comment.
44071
de0ff7bc
UD
440722010-11-01 Ulrich Drepper <drepper@gmail.com>
44073
44074 * po/da.po: Update from translation team.
44075
fa41c84d
UD
440762010-10-26 Ulrich Drepper <drepper@gmail.com>
44077
44078 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44079 is added to the list.
44080
f0967738
AK
440812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44082 Ulrich Drepper <drepper@gmail.com>
44083
44084 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44085 the global list here. Move code to...
44086 (_dl_add_to_namespace_list): ...here. New function.
44087 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44088 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44089 * elf/dl-load.c (lose): Don't remove the element from the list.
44090 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44091 (_dl_map_object): Likewise.
44092
440932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44094
44095 [BZ #12159]
44096 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44097 into all bytes of SSE register.
44098 Patch by Richard Li <richardpku@gmail.com>.
44099
f0967738 441002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44101
44102 [BZ #12140]
44103 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44104 perturbing.
44105
d0b9e94f
MB
441062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44107
44108 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44109 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44111 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44113 submachine.
44114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44115
8e9f92e9
AS
441162010-10-22 Andreas Schwab <schwab@redhat.com>
44117
44118 * include/dlfcn.h (__RTLD_SECURE): Define.
44119 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44120 mode & __RTLD_SECURE instead.
44121 (open_path): Rename preloaded parameter to secure.
44122 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44123 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44124 * elf/dl-deps.c (openaux): Likewise.
44125 * elf/rtld.c (struct map_args): Remove is_preloaded.
44126 (map_doit): Don't use it.
44127 (dl_main): Likewise.
44128 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44129 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44130
bc96fbda
AS
441312010-09-09 Andreas Schwab <schwab@redhat.com>
44132
44133 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44134 (sysd-rules-targets): Remove duplicates.
44135 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44136 rtld-%.$o dependency.
44137
22cd1c9b
AS
441382010-10-18 Andreas Schwab <schwab@redhat.com>
44139
44140 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44141 _dl_map_object do it.
44142
18edac48
UD
441432010-10-19 Ulrich Drepper <drepper@gmail.com>
44144
44145 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44146 fast fma builtins, define the macros in the C99 standard.
44147 (FP_FAST_FMAF): Likewise.
44148 (FP_FAST_FMAL): Likewise.
44149 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44150
44151 * bits/mathdef.h: Update copyright year.
44152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44153
d2050124
MM
441542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44155
44156 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44157 builtins, define the macros in the C99 standard.
44158 (FP_FAST_FMAF): Likewise.
44159 (FP_FAST_FMAL): Likewise.
44160 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44161 multiply/add.
44162 (FP_FAST_FMAF): Likewise.
44163
475facd1
JJ
441642010-10-15 Jakub Jelinek <jakub@redhat.com>
44165
44166 [BZ #3268]
44167 * math/libm-test.inc (fma_test): Some new testcases.
44168 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44170 y and infinite z. Do multiplication by C already in long double.
44171 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44173 y and infinite z. Do bitwise or of inexact bit into u.d.
44174 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44175 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44176 * sysdeps/i386/fpu/s_fma.S: Removed.
44177 * sysdeps/i386/fpu/s_fmal.S: Removed.
44178
7c08a05c
JJ
441792010-10-16 Jakub Jelinek <jakub@redhat.com>
44180
44181 [BZ #3268]
44182 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44184 computation is not scheduled after fetestexcept. Fix value
44185 of minimum denormal long double.
44186
f3f7372d
JJ
441872010-10-14 Jakub Jelinek <jakub@redhat.com>
44188
44189 [BZ #3268]
44190 * math/libm-test.inc (fma_test): Add some more tests.
44191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44192 correctly.
44193
14d43591
AS
441942010-10-15 Andreas Schwab <schwab@redhat.com>
44195
44196 * scripts/data/localplt-s390-linux-gnu.data: New file.
44197 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44198
5e908464
JJ
441992010-10-13 Jakub Jelinek <jakub@redhat.com>
44200
44201 [BZ #3268]
44202 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44203 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44204 instead of dbl-64.
44205 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44206 inlines.
44207 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44209 if one of x and y is very large and the other is subnormal.
44210 * sysdeps/s390/fpu/s_fmaf.c: New file.
44211 * sysdeps/s390/fpu/s_fma.c: New file.
44212 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44213 * sysdeps/powerpc/fpu/s_fma.S: New file.
44214 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44215 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44216 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44217
442182010-10-12 Jakub Jelinek <jakub@redhat.com>
44219
44220 [BZ #3268]
44221 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44222 fma tests.
44223 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44224 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44225 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44226 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44227 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44228 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44229 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44230
b833d51f
UD
442312010-10-12 Ulrich Drepper <drepper@redhat.com>
44232
44233 [BZ #12078]
44234 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44235 * posix/bug-regex31.input: Add test case.
44236
1751705d
UD
442372010-10-11 Ulrich Drepper <drepper@gmail.com>
44238
e9b9cbf5
UD
44239 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44240 * posix/bug-regex31.input: New file.
44241
44242 [BZ #12078]
44243 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44244 (parse_sub_exp): Fix last change, use postorder.
44245
ef06edbe
UD
44246 * posix/bug-regex31.c: New file.
44247 * posix/Makefile: Add rules to build and run bug-regex31.
44248
a129c80d
UD
44249 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44250
44251 [BZ #12078]
44252 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44253
b76b818e
UD
44254 [BZ #12108]
44255 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44256 to have entries in sys_siglist.
44257
1751705d
UD
44258 [BZ #12093]
44259 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44260 be NULL.
44261
9ff8d36f
JJ
442622010-10-07 Jakub Jelinek <jakub@redhat.com>
44263
44264 [BZ #3268]
44265 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44266 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44267 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44268 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44269 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44270 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44271 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44272 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44273 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44274 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44275 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44276 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44277 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44278 * math/ftestexcept.c (fetestexcept): Likewise.
44279 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44280 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44281 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44282 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44283 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44284 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44285 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44286
af325969
UD
442872010-10-11 Ulrich Drepper <drepper@gmail.com>
44288
c579b202 44289 [BZ #12107]
af325969
UD
44290 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44291 newline.
44292
67a67b95
UD
442932010-10-06 Ulrich Drepper <drepper@gmail.com>
44294
44295 * string/bug-strstr1.c: New file.
44296 * string/Makefile: Add rules to build and run bug-strstr1.
44297
5fb308bc
EB
442982010-10-05 Eric Blake <eblake@redhat.com>
44299
44300 [BZ #12092]
44301 * string/str-two-way.h (two_way_long_needle): Always clear memory
44302 when skipping input due to the shift table.
44303
45db99c7
UD
443042010-10-03 Ulrich Drepper <drepper@gmail.com>
44305
3b111893
UD
44306 [BZ #12005]
44307 * malloc/mcheck.c: Handle large requests.
44308
45db99c7
UD
44309 [BZ #12077]
44310 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44311 for strncmp and strncasecmp.
44312 * string/stratcliff.c: Add tests for strcmp and strncmp.
44313 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44314
cf7a1eb8
NI
443152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44316
44317 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44318 __set_fpscr.
44319
6484ba5e
AJ
443202010-09-30 Andreas Jaeger <aj@suse.de>
44321
44322 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44323 (CGROUP_SUPER_MAGIC): Define.
44324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44325 Handle btrfs and cgroup file systems.
44326 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44327 Likewise.
44328
91c42559
LM
443292010-09-27 Luis Machado <luisgpm@br.ibm.com>
44330
44331 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44332 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44333
87a97932
AK
443342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44335
44336 [BZ #12067]
44337 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44338 trying to locate the ELF header.
44339
c21cc9bc
AS
443402010-09-27 Andreas Schwab <schwab@redhat.com>
44341
44342 [BZ #11611]
44343 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44344 Mask out sign-bit copies when constructing f_fsid.
44345
315970f6
PB
443462010-09-24 Petr Baudis <pasky@suse.cz>
44347
44348 * debug/stack_chk_fail_local.c: Add missing licence exception.
44349 * debug/warning-nop.c: Likewise.
44350
1ac7a2c7
JM
443512010-09-15 Joseph Myers <joseph@codesourcery.com>
44352
44353 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44354 implementing getdents64 using getdents syscall, set d_type if
44355 __ASSUME_GETDENTS32_D_TYPE.
44356
56801c50
AS
443572010-09-16 Andreas Schwab <schwab@redhat.com>
44358
44359 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44360 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44361
dda51327
UD
443622010-09-21 Ulrich Drepper <drepper@redhat.com>
44363
44364 [BZ #12037]
44365 * posix/unistd.h: Undo change of feature selection for ftruncate from
44366 2010-01-11.
44367
8ffcee4a
UD
443682010-09-20 Ulrich Drepper <drepper@redhat.com>
44369
a545ecd9 44370 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44371 detection.
44372
e24f0a8b
AS
443732010-09-20 Andreas Schwab <schwab@redhat.com>
44374
44375 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44376 fanotify_mark.
44377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44378
7291c56f
AS
443792010-09-14 Andreas Schwab <schwab@redhat.com>
44380
44381 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44382 variables after CHECK_SP call.
44383 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44384
bc5fb037
AS
443852010-09-13 Andreas Schwab <schwab@redhat.com>
44386 Ulrich Drepper <drepper@redhat.com>
44387
44388 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44389 re-relocationg ld.so.
44390 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44391 _dl_init_paths call.
44392 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44393 here anymore.
44394
e66e7419
UD
443952010-09-14 Ulrich Drepper <drepper@redhat.com>
44396
44397 * resolv/res_init.c (__res_vinit): Count the default server we added.
44398
c044aa75
CLT
443992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44400 Ulrich Drepper <drepper@redhat.com>
44401
44402 [BZ #11968]
44403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44404 (____longjmp_chk): Use %ebx for saving value across system call.
44405 Add unwind info.
44406
32cf4069
AS
444072010-09-06 Andreas Schwab <schwab@redhat.com>
44408
44409 * manual/Makefile: Don't mix pattern rules with normal rules.
44410
817328ee
AS
444112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44412
44413 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44414 operation.
44415 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44416 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44417 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44418 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44419 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44420 Likewise.
44421
29fddf61
UD
444222010-09-04 Ulrich Drepper <drepper@redhat.com>
44423
44424 [BZ #11979]
44425 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44426 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44427
0959ffc9
UD
444282010-09-02 Ulrich Drepper <drepper@redhat.com>
44429
44430 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44431 * sysdeps/x86_64/addmul_1.S: Likewise.
44432 * sysdeps/x86_64/lshift.S: Likewise.
44433 * sysdeps/x86_64/mul_1.S: Likewise.
44434 * sysdeps/x86_64/rshift.S: Likewise.
44435 * sysdeps/x86_64/sub_n.S: Likewise.
44436 * sysdeps/x86_64/submul_1.S: Likewise.
44437
ece29840
ST
444382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44439
0959ffc9
UD
44440 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44441 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44442 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44443 * bits/sched.h [__need_schedparam]
ece29840 44444 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44445 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44446 (__defined_schedparam): Define to 1.
ece29840
ST
44447 (__sched_param): New structure, identical to sched_param.
44448 (__need_schedparam): Undefine.
44449
e53a31fe
MF
444502010-08-31 Mike Frysinger <vapier@gentoo.org>
44451
fdc0c10d
MF
44452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44453 (epoll_create1): Declare.
44454
e53a31fe
MF
44455 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44456
a726d796
AS
444572010-08-31 Andreas Schwab <schwab@redhat.com>
44458
44459 [BZ #7066]
44460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44461 shifting retval into place.
44462
2f3e3dc7
UD
444632010-09-01 Ulrich Drepper <drepper@redhat.com>
44464
f2933da9
UD
44465 * nis/rpcsvc/nis.h: Update copyright notice.
44466 * nis/rpcsvc/nis.x: Likewise.
44467 * nis/rpcsvc/nis_callback.h: Likewise.
44468 * nis/rpcsvc/nis_callback.x: Likewise.
44469 * nis/rpcsvc/nis_object.x: Likewise.
44470 * nis/rpcsvc/nis_tags.h: Likewise.
44471 * nis/rpcsvc/yp.h: Likewise.
44472 * nis/rpcsvc/yp.x: Likewise.
44473 * nis/rpcsvc/ypupd.h: Likewise.
44474 * nis/yp_xdr.c: Likewise.
44475 * nis/ypupdate_xdr.c: Likewise.
44476
2f3e3dc7
UD
44477 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44478 mainly the body of pmap_getport. Add parameters to specify timeouts.
44479 (pmap_getport): Use __libc_rpc_getport.
44480 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44481 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44482 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44483
f3dcc2f9
AS
444842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44485
44486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44487 fanotify_mark.
44488
6d34eb5b
RM
444892010-08-27 Roland McGrath <roland@redhat.com>
44490
44491 * sysdeps/i386/i686/multiarch/Makefile
44492 (CFLAGS-varshift.c): New variable.
44493
9ea3de11
UD
444942010-08-27 Ulrich Drepper <drepper@redhat.com>
44495
c96d23fc
UD
44496 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44497 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44498
9ea3de11
UD
44499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44500
44501 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44502
623aac7f
L
445032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44504
44505 * sysdeps/x86_64/strlen.S: Unroll the loop.
44506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44507 strlen-sse2 strlen-sse2-bsf.
44508 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44509 __strlen_no_bsf if bit_Slow_BSF is set.
44510 (__strlen_sse42): Removed.
44511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44512 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44513
8b2b7715
RM
445142010-08-25 Roland McGrath <roland@redhat.com>
44515
44516 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44517 * sysdeps/x86_64/multiarch/varshift.c: New file.
44518 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44519 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44520 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44521 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44522
e73015f2
L
445232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44524
44525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44526 strlen-sse2 strlen-sse2-bsf.
44527 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44528 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44529 (__strlen_sse2): Removed.
44530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44533 bit_Slow_BSF for Atom.
44534 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44535 (index_Slow_BSF): Define.
44536 (HAS_SLOW_BSF): Define.
44537
df24a73e
UD
445382010-08-25 Ulrich Drepper <drepper@redhat.com>
44539
44540 [BZ #10851]
44541 * resolv/res_init.c (__res_vinit): When no server address at all
44542 is given default to loopback.
44543
f2ac4868
RM
445442010-08-24 Roland McGrath <roland@redhat.com>
44545
09055553
RM
44546 * configure.in: Remove config-name.h generation.
44547 * configure: Regenerated.
44548 * config-name.in: File removed.
44549 * scripts/config-uname.sh: New file.
44550 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44551 ($(objdir)config-name.h): New target.
44552
f2ac4868
RM
44553 * sunrpc/rpc_parse.h: Avoid nested comment.
44554
73f27d5e
RH
445552010-08-24 Richard Henderson <rth@redhat.com>
44556 Ulrich Drepper <drepper@redhat.com>
44557 H.J. Lu <hongjiu.lu@intel.com>
44558
44559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44561 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44562 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44563 _mm_alignr_epi8 with _mm_loadu_si128.
44564 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44565 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44566 (__m128i_shift_right): Removed.
44567 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44568 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44569 * sysdeps/x86_64/multiarch/varshift.h: New file.
44570 * sysdeps/x86_64/multiarch/varshift.S: New file.
44571
84b9230c
MF
445722010-08-21 Mike Frysinger <vapier@gentoo.org>
44573
44574 * configure.in: Move assembler checks to before sysdep dir checking.
44575
9bbd0ddc
PB
445762010-08-20 Petr Baudis <pasky@suse.cz>
44577
44578 * LICENSES: Sync the sunrpc license.
44579
9da4bb31
UD
445802010-08-19 Ulrich Drepper <drepper@redhat.com>
44581
a7ab6ec8
UD
44582 * sunrpc/auth_des.c: Update copyright notice once again.
44583 * sunrpc/auth_none.c: Likewise.
44584 * sunrpc/auth_unix.c: Likewise.
44585 * sunrpc/authdes_prot.c: Likewise.
44586 * sunrpc/authuxprot.c: Likewise.
44587 * sunrpc/bindrsvprt.c: Likewise.
44588 * sunrpc/clnt_gen.c: Likewise.
44589 * sunrpc/clnt_perr.c: Likewise.
44590 * sunrpc/clnt_raw.c: Likewise.
44591 * sunrpc/clnt_simp.c: Likewise.
44592 * sunrpc/clnt_tcp.c: Likewise.
44593 * sunrpc/clnt_udp.c: Likewise.
44594 * sunrpc/clnt_unix.c: Likewise.
44595 * sunrpc/des_crypt.c: Likewise.
44596 * sunrpc/des_soft.c: Likewise.
44597 * sunrpc/get_myaddr.c: Likewise.
44598 * sunrpc/getrpcport.c: Likewise.
44599 * sunrpc/key_call.c: Likewise.
44600 * sunrpc/key_prot.c: Likewise.
44601 * sunrpc/openchild.c: Likewise.
44602 * sunrpc/pm_getmaps.c: Likewise.
44603 * sunrpc/pm_getport.c: Likewise.
44604 * sunrpc/pmap_clnt.c: Likewise.
44605 * sunrpc/pmap_prot.c: Likewise.
44606 * sunrpc/pmap_prot2.c: Likewise.
44607 * sunrpc/pmap_rmt.c: Likewise.
44608 * sunrpc/rpc/auth.h: Likewise.
44609 * sunrpc/rpc/auth_unix.h: Likewise.
44610 * sunrpc/rpc/clnt.h: Likewise.
44611 * sunrpc/rpc/des_crypt.h: Likewise.
44612 * sunrpc/rpc/key_prot.h: Likewise.
44613 * sunrpc/rpc/netdb.h: Likewise.
44614 * sunrpc/rpc/pmap_clnt.h: Likewise.
44615 * sunrpc/rpc/pmap_prot.h: Likewise.
44616 * sunrpc/rpc/pmap_rmt.h: Likewise.
44617 * sunrpc/rpc/rpc.h: Likewise.
44618 * sunrpc/rpc/rpc_des.h: Likewise.
44619 * sunrpc/rpc/rpc_msg.h: Likewise.
44620 * sunrpc/rpc/svc.h: Likewise.
44621 * sunrpc/rpc/svc_auth.h: Likewise.
44622 * sunrpc/rpc/types.h: Likewise.
44623 * sunrpc/rpc/xdr.h: Likewise.
44624 * sunrpc/rpc_clntout.c: Likewise.
44625 * sunrpc/rpc_cmsg.c: Likewise.
44626 * sunrpc/rpc_common.c: Likewise.
44627 * sunrpc/rpc_cout.c: Likewise.
44628 * sunrpc/rpc_dtable.c: Likewise.
44629 * sunrpc/rpc_hout.c: Likewise.
44630 * sunrpc/rpc_main.c: Likewise.
44631 * sunrpc/rpc_parse.c: Likewise.
44632 * sunrpc/rpc_parse.h: Likewise.
44633 * sunrpc/rpc_prot.c: Likewise.
44634 * sunrpc/rpc_sample.c: Likewise.
44635 * sunrpc/rpc_scan.c: Likewise.
44636 * sunrpc/rpc_scan.h: Likewise.
44637 * sunrpc/rpc_svcout.c: Likewise.
44638 * sunrpc/rpc_tblout.c: Likewise.
44639 * sunrpc/rpc_util.c: Likewise.
44640 * sunrpc/rpc_util.h: Likewise.
44641 * sunrpc/rpcinfo.c: Likewise.
44642 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44643 * sunrpc/rpcsvc/key_prot.x: Likewise.
44644 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44645 * sunrpc/rpcsvc/mount.x: Likewise.
44646 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44647 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44648 * sunrpc/rpcsvc/rex.x: Likewise.
44649 * sunrpc/rpcsvc/rstat.x: Likewise.
44650 * sunrpc/rpcsvc/rusers.x: Likewise.
44651 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44652 * sunrpc/rpcsvc/spray.x: Likewise.
44653 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44654 * sunrpc/rtime.c: Likewise.
44655 * sunrpc/svc.c: Likewise.
44656 * sunrpc/svc_auth.c: Likewise.
44657 * sunrpc/svc_authux.c: Likewise.
44658 * sunrpc/svc_raw.c: Likewise.
44659 * sunrpc/svc_run.c: Likewise.
44660 * sunrpc/svc_simple.c: Likewise.
44661 * sunrpc/svc_tcp.c: Likewise.
44662 * sunrpc/svc_udp.c: Likewise.
44663 * sunrpc/svc_unix.c: Likewise.
44664 * sunrpc/svcauth_des.c: Likewise.
44665 * sunrpc/xcrypt.c: Likewise.
44666 * sunrpc/xdr.c: Likewise.
44667 * sunrpc/xdr_array.c: Likewise.
44668 * sunrpc/xdr_float.c: Likewise.
44669 * sunrpc/xdr_mem.c: Likewise.
44670 * sunrpc/xdr_rec.c: Likewise.
44671 * sunrpc/xdr_ref.c: Likewise.
44672 * sunrpc/xdr_sizeof.c: Likewise.
44673 * sunrpc/xdr_stdio.c: Likewise.
44674
9da4bb31
UD
44675 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44676 handling.
44677
bdaa77bc
AS
446782010-08-19 Andreas Schwab <schwab@redhat.com>
44679
44680 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44681
fe2f79db
LM
446822010-08-19 Luis Machado <luisgpm@br.ibm.com>
44683
44684 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44685 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44686 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44687 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44688 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44689 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44690 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44691 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44694 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44695 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44696 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44697 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44698
b9b42ee0
AB
446992010-07-26 Anton Blanchard <anton@samba.org>
44700
44701 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44702 * malloc/arena.c (heap_trim): Likewise.
44703
1c06ba31
UD
447042010-08-16 Ulrich Drepper <drepper@redhat.com>
44705
44706 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44707 here. Not...
44708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44709 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44710
f8392f40
L
447112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44712
44713 * sysdeps/i386/elf/Makefile: New file.
44714
3162f12e
AS
447152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44716
44717 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44718 from fanotify_init.
44719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44721
28c90b2c
UD
447222010-08-15 Ulrich Drepper <drepper@redhat.com>
44723
44724 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44725 of strncasecmp_l.
1feccb6c 44726 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44727
ca6bb004
UD
447282010-08-14 Ulrich Drepper <drepper@redhat.com>
44729
e9f82e0d
UD
44730 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44731 strncase_l-nonascii.
44732 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44733 Add strncase_l-ssse3.
44734 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44735 * sysdeps/x86_64/strcmp.S: Likewise.
44736 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44737 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44738 * sysdeps/x86_64/strncase.S: New file.
44739 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44740 * sysdeps/x86_64/strncase_l.S: New file.
44741 * string/Makefile (strop-tests): Add strncasecmp.
44742 * string/test-strncasecmp.c: New file.
44743
44744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44745 warning.
44746
ca6bb004
UD
44747 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44748 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44749
052fa7b3
AS
447502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44751
44752 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44753
962dba78
UD
447542010-08-12 Ulrich Drepper <drepper@redhat.com>
44755
44756 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44758 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44759
bebff237
AM
447602010-05-01 Alan Modra <amodra@gmail.com>
44761
44762 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44763 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44764 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44765 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44766 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44767 tidying. Don't tail-call __sigjmp_save for static lib.
44768 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44769 save location.
44770 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44771 (CALL_MCOUNT): Add eh info, and nop after bl.
44772 (TAIL_CALL_SYSCALL_ERROR): New macro.
44773 (PSEUDO_RET): Use it.
44774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44775 Correct save location of integer regs and cr.
44776 (_dl_profile_resolve): Correct cr save location. Delete nops
44777 after bl when SHARED. Reduce cfi size a little by better
44778 placement of cfi directives.
44779 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44780 make a stack frame. Instead use parm save area as a temp.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44782 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44784 Don't make a stack frame for parent, use parm save area.
44785 Increase child stack frame to 112 bytes. Don't save unused reg,
44786 and adjust reg usage. Set up cfi on error recovery and
44787 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44789 (__makecontext): Add dummy nop after jump to exit.
44790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44791 Use correct parm save area and cr save, reduce stack frame.
44792 Correct cfi for possible PSEUDO_RET frame setup.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44794 Branch to local label emitted by PSEUDO_RET rather than
44795 __syscall_error.
44796
02637374
AS
447972010-08-12 Andreas Schwab <schwab@redhat.com>
44798
44799 [BZ #11904]
44800 * locale/programs/locale.c (print_assignment): New function.
44801 (show_locale_vars): Use it.
44802
c3e2f19b
UD
448032010-08-11 Ulrich Drepper <drepper@redhat.com>
44804
3cdaa6ad
UD
44805 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44806 field.
44807 (struct statfs64): Likewise.
44808 (_STATFS_F_FLAGS): Define.
44809 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44811 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44812 (ST_VALID): Define locally.
44813 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44814 __statvfs_getflags, use the provided value.
44815 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44816 __ASSUME_STATFS_F_FLAGS.
44817
754f7da3
UD
44818 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44819
10b3bedc
UD
44820 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44821 Add sys/fanotify.h.
44822 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44823 fanotify_mask for GLIBC_2.13.
44824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44825 fanotify_init and fanotify_mark.
44826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44827 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44828
c08fb0d7
UD
44829 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44830 Add prlimit.
44831 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44832 prlimit64 for GLIBC_2.13.
44833 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44834 prlimit64.
44835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44836 syscall.
44837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44838 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44839 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44840 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44842 add prlimit alias.
44843 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44844
15bac72b
UD
44845 [BZ #11903]
44846 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44847 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44848
c3e2f19b
UD
44849 * nss/Makefile: Add rules to build and run tst-nss-test1.
44850 * shlib-versions: Add entry for libnss_test1.
44851 * nss/nss_test1.c: New file.
44852 * nss/tst-nss-test1.c: New file.
44853
44854 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44855 (__nss_configure_lookup): Set appropriate entry in
44856 __nss_configure_lookup to true.
44857 * nss/nsswitch.h: Define enum with indeces of databases in
44858 databases and __nss_database_custom arrays. Declare
44859 __nss_database_custom.
44860 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44861 to avoid using nscd when custom rules are installed.
44862 * nss/getXXbyYY_r.c: Likewise.
44863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44864
44865 * nss/nss_files/files-parse.c: Whitespace fixes.
44866
f15ce4d8
UD
448672010-08-09 Ulrich Drepper <drepper@redhat.com>
44868
44869 [BZ #11883]
44870 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44871 * posix/fnmatch_loop.c: Likewise.
44872
d22e4cc9
AK
448732010-07-17 Andi Kleen <ak@linux.intel.com>
44874
44875 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44876 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44877 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44878 * Versions.def [GLIBC_2.13]: Add.
44879
805bc17d
UD
448802010-08-06 Ulrich Drepper <drepper@redhat.com>
44881
44882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44883 Also fail if tpwd after pwuid call is NULL.
44884
5a42321d
ST
448852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44886
44887 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44888 when converting to ms.
44889
fd3ebeda
ST
448902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44891
44892 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44893 EOPNOTSUPP errors with ENOTTY.
44894 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44895 EOPNOTSUPP errors with ENOTTY.
44896
73507d3a
UD
448972010-07-31 Ulrich Drepper <drepper@redhat.com>
44898
44899 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44900 Add strcasecmp_l-ssse3.
44901 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44902 strcasecmp.
44903 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44904 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44905 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44906
fe36dd02
UD
449072010-07-30 Ulrich Drepper <drepper@redhat.com>
44908
66f6765a
UD
44909 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44910
42e08a54
UD
44911 * string/Makefile (strop-tests): Add strcasecmp.
44912 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44913 strcasecmp_l-nonascii.
44914 (gen-as-const-headers): Add locale-defines.sym.
44915 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44916 * sysdeps/x86_64/strcasecmp.S: New file.
44917 * sysdeps/x86_64/strcasecmp_l.S: New file.
44918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44919 * sysdeps/x86_64/locale-defines.sym: New file.
44920 * string/test-strcasecmp.c: New file.
44921
fe36dd02
UD
44922 * string/test-strcasestr.c: Test both ends of the range of characters.
44923 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44924
48cbc0d6
RM
449252010-07-29 Roland McGrath <roland@redhat.com>
44926
76e6d6bc 44927 [BZ #11856]
48cbc0d6
RM
44928 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44929
880113d9
UD
449302010-07-27 Ulrich Drepper <drepper@redhat.com>
44931
44932 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44933 for ld.so.
44934
deb9cabb
AS
449352010-07-27 Andreas Schwab <schwab@redhat.com>
44936
44937 * manual/memory.texi (Malloc Tunable Parameters): Document
44938 M_PERTURB.
44939
1c7570ff
RM
449402010-07-26 Roland McGrath <roland@redhat.com>
44941
44942 [BZ #11840]
44943 * configure.in (-fgnu89-inline check): Set and substitute
44944 gnu89_inline, not libc_cv_gnu89_inline.
44945 * configure: Regenerated.
44946 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44947
24fb0f88
UD
449482010-07-26 Ulrich Drepper <drepper@redhat.com>
44949
44950 * string/test-strnlen.c: New file.
44951 * string/Makefile (strop-tests): Add strnlen.
44952 * string/tester.c (test_strnlen): Add a few more test cases.
44953 * string/tst-strlen.c: Better error reporting.
44954
44955 * sysdeps/x86_64/strnlen.S: New file.
44956
8e96b93a
UD
449572010-07-24 Ulrich Drepper <drepper@redhat.com>
44958
44959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44960 lower-latency instructions.
44961
dbc676d4
UD
449622010-07-23 Ulrich Drepper <drepper@redhat.com>
44963
44964 * string/test-strcasestr.c: New file.
44965 * string/test-strstr.c: New file.
44966 * string/Makefile (strop-tests): Add strstr and strcasestr.
44967 * string/str-two-way.h: Don't undefine MAX.
44968 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44969
f6a31e0e
AS
449702010-07-21 Andreas Schwab <schwab@redhat.com>
44971
44972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44973 strcasestr-nonascii.
44974 (CFLAGS-strcasestr-nonascii.c): Define.
44975 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44976 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44977 Remove unused attribute.
44978
5dbc3b6c
RM
449792010-07-20 Roland McGrath <roland@redhat.com>
44980
44981 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44982 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44983 ld.so.cache was broken. With it, there is no way to disable dsocaps
44984 like LD_HWCAP_MASK can disable hwcaps.
44985
23d101d8
EPM
449862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44987
44988 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44989
cc9f2e47
UD
449902010-07-16 Ulrich Drepper <drepper@redhat.com>
44991
44992 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44993 call in strcasestr.
44994 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44995 __strcasestr_sse42_nonascii.
44996 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44997 strcasestr-nonascii.c.
44998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44999
77c1b069
LM
450002010-06-15 Luis Machado <luisgpm@br.ibm.com>
45001
45002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45003 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45004 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45005 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45006
440566c3
UD
450072010-07-09 Ulrich Drepper <drepper@redhat.com>
45008
45009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45010 fcntl.
45011
5be9d05d
AS
450122010-07-06 Andreas Schwab <schwab@redhat.com>
45013
c30b7ee2 45014 [BZ #11577]
5be9d05d
AS
45015 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45016 dl_signal_cerror.
45017
8a492a67
UD
450182010-07-06 Ulrich Drepper <drepper@redhat.com>
45019
45020 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45021 _PC_PIPE_BUF using F_GETPIPE_SZ.
45022
713df3d5
RM
450232010-07-05 Roland McGrath <roland@redhat.com>
45024
45025 * manual/arith.texi (Rounding Functions): Fix rint description
45026 implicit in round description.
45027
702e8f14
UD
450282010-07-02 Ulrich Drepper <drepper@redhat.com>
45029
45030 * elf/Makefile: Fix linking for a few tests to make recent linker
45031 happy.
45032
52ed8be9
AS
450332010-06-30 Andreas Schwab <schwab@redhat.com>
45034
45035 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45036 $(common-objpfx)libc_nonshared.a.
45037
f47c9a11
LM
450382010-06-21 Luis Machado <luisgpm@br.ibm.com>
45039
45040 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45041 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45042 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45043 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45044 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45045 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45046 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45047 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45062 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45063 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45064 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45065 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45066 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45067 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45068 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45069 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45070 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45071 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45072 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45073 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45088
6fb8cbcb
L
450892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45090
45091 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45092 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45093 * string/memmove.c (memmove): Renamed to ...
45094 (MEMMOVE): ...this. Default to memmove.
45095 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45096 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45097 (END_CHK): Define.
45098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45099 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45100 mempcpy-ssse3-back memmove-ssse3-back.
45101 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45103 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45104 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45105 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45106 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45107 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45108 * sysdeps/x86_64/multiarch/memmove.c: New file.
45109 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45110 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45111 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45112 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45113 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45115 Define.
45116 (index_Fast_Copy_Backward): Define.
45117 (HAS_ARCH_FEATURE): Define.
45118 (HAS_FAST_REP_STRING): Define.
45119 (HAS_FAST_COPY_BACKWARD): Define.
45120
4e733bac 451212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45122
45123 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45124 Restore proper fallback handling.
45125
63c4ed22
UD
451262010-06-19 Ulrich Drepper <drepper@redhat.com>
45127
ac2b484c
UD
45128 [BZ #11701]
45129 * posix/group_member.c (__group_member): Correct checking loop.
45130
63c4ed22
UD
45131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45132 OOM in getpwuid_r correctly. Return error number when the caller
45133 should return, otherwise -1.
45134 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45135 call returning > 0 value.
45136 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45137
765ade4b
AS
451382010-06-07 Andreas Schwab <schwab@redhat.com>
45139
45140 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45141 libc_nonshared.a from targets in modules-names.
45142
80da2e09
KS
451432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45144
45145 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45146 requires it.
45147
158db122
LM
451482010-06-10 Luis Machado <luisgpm@br.ibm.com>
45149
45150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45151 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45152 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45153 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45154
caa78cf8
AS
451552010-06-02 Andreas Schwab <schwab@redhat.com>
45156
45157 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45158
b2ef2c01
UD
451592010-06-14 Ulrich Drepper <drepper@redhat.com>
45160
45161 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45162 and F_GETPIPE_SZ.
45163 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45168 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45169
fbd643b6
RM
451702010-06-14 Roland McGrath <roland@redhat.com>
45171
45172 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45173
f32f2869
JJ
451742010-06-07 Jakub Jelinek <jakub@redhat.com>
45175
45176 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45177 __REDIRECT followed by __THROW.
45178 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45179 * posix/getopt.h (getopt): Likewise.
45180
2a50c078
EPM
451812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45182
45183 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45184 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45185 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45186 in AT_FLAGS.
45187 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45188 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45189
eb5ad2eb
LM
451902010-05-28 Luis Machado <luisgpm@br.ibm.com>
45191
45192 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45193
3c88fe1e
L
451942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45195
45196 [BZ #11640]
45197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45198 Properly check family and model.
45199
d2f73151
TY
452002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45201
45202 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45203
ebd2e13d
LM
452042010-05-24 Luis Machado <luisgpm@br.ibm.com>
45205
45206 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45207
b32b8b45
UD
452082010-05-21 Ulrich Drepper <drepper@redhat.com>
45209
45210 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45211 symbol reference.
45212
9acbe24d
AS
452132010-05-19 Andreas Schwab <schwab@redhat.com>
45214
45215 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45216 symbol reference.
45217
f0ccf6ea
AS
452182010-05-21 Andreas Schwab <schwab@redhat.com>
45219
3d04ff3a
AS
45220 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45221 and internal_recvmmsg.
45222 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45223 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45225 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45226
f0ccf6ea
AS
45227 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45228 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45229 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45230
5b08ac57
AS
452312010-05-20 Andreas Schwab <schwab@redhat.com>
45232
45233 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45234
4828935d
LM
452352010-05-17 Luis Machado <luisgpm@br.ibm.com>
45236
45237 POWER7 optimizations.
45238 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45239 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45240
373d545e
UD
452412010-05-19 Ulrich Drepper <drepper@redhat.com>
45242
45243 * version.h: Update for 2.13 development version.
45244
21a2b1ae
AS
452452010-05-12 Andrew Stubbs <ams@codesourcery.com>
45246
45247 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45248 exceptions. Return 0.
45249
3f7dcb2b
RM
452502010-05-07 Roland McGrath <roland@redhat.com>
45251
45252 * elf/ldconfig.c (main): Add a const.
45253
5f24d53a 452542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45255
a160f8d8
UD
45256 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45257 (args_options): Add no-idn option.
45258 (ahosts_keys_int): Add idn_flags to ai_flags.
45259 (parse_option): Handle 'i' option to clear idn_flags.
45260
5f24d53a
UD
45261 * malloc/malloc.c (_int_free): Possible race in the most recently
45262 added check. Only act on the data if no current modification
45263 happened.
265bb1ce
UD
45264
45265See ChangeLog.17 for earlier changes.